@flarehr/superhero-bank-details 0.1.1201 → 0.1.1204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{"use strict";var e,n,t,r,o,i,u={},s=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(e,n){for(var t in n)e[t]=n[t];return e}function a(e){var n=e.parentNode;n&&n.removeChild(e)}function f(n,t,r){var o,i,u,s={};for(u in t)"key"==u?o=t[u]:"ref"==u?i=t[u]:s[u]=t[u];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===s[u]&&(s[u]=n.defaultProps[u]);return h(n,s,o,i,null)}function h(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++t:u};return null==u&&null!=n.vnode&&n.vnode(s),s}function d(e){return e.children}function _(e,n){this.props=e,this.context=n}function p(e,n){if(null==n)return e.__?p(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?p(e):null}function m(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 m(e)}}function g(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!w.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=r.length;)e=r.sort((function(e,n){return e.__v.__b-n.__v.__b})),r=[],e.some((function(e){var n,t,r,o,i,u;e.__d&&(i=(o=(n=e).__v).__e,(u=n.__P)&&(t=[],(r=c({},o)).__v=o.__v+1,T(u,o,r,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,t,null==i?p(o):i,o.__h),I(t,o),o.__e!=i&&m(o)))}))}function y(e,n,t,r,o,i,l,c,a,f){var _,m,g,w,y,b,S,E=r&&r.__k||s,x=E.length;for(t.__k=[],_=0;_<n.length;_++)if(null!=(w=t.__k[_]=null==(w=n[_])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(d,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,w.ref?w.ref:null,w.__v):w)){if(w.__=t,w.__b=t.__b+1,null===(g=E[_])||g&&w.key==g.key&&w.type===g.type)E[_]=void 0;else for(m=0;m<x;m++){if((g=E[m])&&w.key==g.key&&w.type===g.type){E[m]=void 0;break}g=null}T(e,w,g=g||u,o,i,l,c,a,f),y=w.__e,(m=w.ref)&&g.ref!=m&&(S||(S=[]),g.ref&&S.push(g.ref,null,w),S.push(m,w.__c||y,w)),null!=y?(null==b&&(b=y),"function"==typeof w.type&&w.__k===g.__k?w.__d=a=v(w,a,e):a=C(e,w,g,E,y,a),"function"==typeof t.type&&(t.__d=a)):a&&g.__e==a&&a.parentNode!=e&&(a=p(g))}for(t.__e=b,_=x;_--;)null!=E[_]&&N(E[_],E[_]);if(S)for(_=0;_<S.length;_++)M(S[_],S[++_],S[++_])}function v(e,n,t){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,n="function"==typeof r.type?v(r,n,t):C(t,r,r,o,r.__e,n));return n}function b(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){b(e,n)})):n.push(e)),n}function C(e,n,t,r,o,i){var u,s,l;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==t||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+=1)if(s==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function S(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||l.test(n)?t:t+"px"}function E(e,n,t,r,o){var i;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||S(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||S(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])i=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+i]=t,t?r||e.addEventListener(n,i?k:x,i):e.removeEventListener(n,i?k:x,i);else if("dangerouslySetInnerHTML"!==n){if(o)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&&-1==n.indexOf("-")?e.removeAttribute(n):e.setAttribute(n,t))}}function x(e){this.l[e.type+!1](n.event?n.event(e):e)}function k(e){this.l[e.type+!0](n.event?n.event(e):e)}function T(e,t,r,o,i,u,s,l,a){var f,h,p,m,g,w,v,b,C,S,E,x,k,T,I,M=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(a=r.__h,l=t.__e=r.__e,t.__h=null,u=[l]),(f=n.__b)&&f(t);try{e:if("function"==typeof M){if(b=t.props,C=(f=M.contextType)&&o[f.__c],S=f?C?C.props.value:f.__:o,r.__c?v=(h=t.__c=r.__c).__=h.__E:("prototype"in M&&M.prototype.render?t.__c=h=new M(b,S):(t.__c=h=new _(b,S),h.constructor=M,h.render=A),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=S,h.__n=o,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=M.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=c({},h.__s)),c(h.__s,M.getDerivedStateFromProps(b,h.__s))),m=h.props,g=h.state,p)null==M.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==M.getDerivedStateFromProps&&b!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,S),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,S)||t.__v===r.__v){for(h.props=b,h.state=h.__s,t.__v!==r.__v&&(h.__d=!1),h.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<h._sb.length;E++)h.__h.push(h._sb[E]);h._sb=[],h.__h.length&&s.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,S),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(m,g,w)}))}if(h.context=S,h.props=b,h.__v=t,h.__P=e,x=n.__r,k=0,"prototype"in M&&M.prototype.render){for(h.state=h.__s,h.__d=!1,x&&x(t),f=h.render(h.props,h.state,h.context),T=0;T<h._sb.length;T++)h.__h.push(h._sb[T]);h._sb=[]}else do{h.__d=!1,x&&x(t),f=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++k<25);h.state=h.__s,null!=h.getChildContext&&(o=c(c({},o),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(m,g)),I=null!=f&&f.type===d&&null==f.key?f.props.children:f,y(e,Array.isArray(I)?I:[I],t,r,o,i,u,s,l,a),h.base=t.__e,t.__h=null,h.__h.length&&s.push(h),v&&(h.__E=h.__=null),h.__e=!1}else null==u&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=O(r.__e,t,r,o,i,u,s,a);(f=n.diffed)&&f(t)}catch(e){t.__v=null,(a||null!=u)&&(t.__e=l,t.__h=!!a,u[u.indexOf(l)]=null),n.__e(e,t,r)}}function I(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function O(n,t,r,o,i,s,l,c){var f,h,d,_=r.props,m=t.props,g=t.type,w=0;if("svg"===g&&(i=!0),null!=s)for(;w<s.length;w++)if((f=s[w])&&"setAttribute"in f==!!g&&(g?f.localName===g:3===f.nodeType)){n=f,s[w]=null;break}if(null==n){if(null===g)return document.createTextNode(m);n=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),s=null,c=!1}if(null===g)_===m||c&&n.data===m||(n.data=m);else{if(s=s&&e.call(n.childNodes),h=(_=r.props||u).dangerouslySetInnerHTML,d=m.dangerouslySetInnerHTML,!c){if(null!=s)for(_={},w=0;w<n.attributes.length;w++)_[n.attributes[w].name]=n.attributes[w].value;(d||h)&&(d&&(h&&d.__html==h.__html||d.__html===n.innerHTML)||(n.innerHTML=d&&d.__html||""))}if(function(e,n,t,r,o){var i;for(i in t)"children"===i||"key"===i||i in n||E(e,i,null,t[i],r);for(i in n)o&&"function"!=typeof n[i]||"children"===i||"key"===i||"value"===i||"checked"===i||t[i]===n[i]||E(e,i,n[i],t[i],r)}(n,m,_,i,c),d)t.__k=[];else if(w=t.props.children,y(n,Array.isArray(w)?w:[w],t,r,o,i&&"foreignObject"!==g,s,l,s?s[0]:r.__k&&p(r,0),c),null!=s)for(w=s.length;w--;)null!=s[w]&&a(s[w]);c||("value"in m&&void 0!==(w=m.value)&&(w!==n.value||"progress"===g&&!w||"option"===g&&w!==_.value)&&E(n,"value",w,_.value,!1),"checked"in m&&void 0!==(w=m.checked)&&w!==n.checked&&E(n,"checked",w,_.checked,!1))}return n}function M(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function N(e,t,r){var o,i;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||M(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&N(o[i],t,r||"function"!=typeof e.type);r||null==e.__e||a(e.__e),e.__=e.__e=e.__d=void 0}function A(e,n,t){return this.constructor(e,t)}function R(t,r,o){var i,s,l;n.__&&n.__(t,r),s=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],T(r,t=(!i&&o||r).__k=f(d,null,[t]),s||u,u,void 0!==r.ownerSVGElement,!i&&o?[o]:s?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:s?s.__e:r.firstChild,i),I(l,t)}function D(e,n){R(e,n,D)}function P(n,t,r){var o,i,u,s=c({},n.props);for(u in t)"key"==u?o=t[u]:"ref"==u?i=t[u]:s[u]=t[u];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),h(n.type,s,o||n.key,i||n.ref,null)}e=s.slice,n={__e:function(e,n,t,r){for(var o,i,u;n=n.__;)if((o=n.__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(n){e=n}throw e}},t=0,_.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof e&&(e=e(c({},t),this.props)),e&&c(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),g(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),g(this))},_.prototype.render=d,r=[],w.__r=0,i=0;var G,U,F,$,H=0,j=[],B=[],L=n.__b,V=n.__r,q=n.diffed,W=n.__c,z=n.unmount;function J(e,t){n.__h&&n.__h(U,e,H||t),H=0;var r=U.__H||(U.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:B}),r.__[e]}function Z(e){return H=1,Y(ue,e)}function Y(e,n,t){var r=J(G++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):ue(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){U.u=!0;var o=U.shouldComponentUpdate;U.shouldComponentUpdate=function(e,n,t){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,n,t);var u=!1;return i.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!o||o.call(this,e,n,t))}}return r.__N||r.__}function X(e,t){var r=J(G++,3);!n.__s&&ie(r.__H,t)&&(r.__=e,r.i=t,U.__H.__h.push(r))}function K(e,t){var r=J(G++,4);!n.__s&&ie(r.__H,t)&&(r.__=e,r.i=t,U.__h.push(r))}function Q(e,n){var t=J(G++,7);return ie(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function ee(){for(var e;e=j.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){U=null,L&&L(e)},n.__r=function(e){V&&V(e),G=0;var n=(U=e.__c).__H;n&&(F===U?(n.__h=[],U.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=B,e.__N=e.i=void 0}))):(n.__h.forEach(re),n.__h.forEach(oe),n.__h=[])),F=U},n.diffed=function(e){q&&q(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==j.push(t)&&$===n.requestAnimationFrame||(($=n.requestAnimationFrame)||te)(ee)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==B&&(e.__=e.__V),e.i=void 0,e.__V=B}))),F=U=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),W&&W(e,t)},n.unmount=function(e){z&&z(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),r.__H=void 0,t&&n.__e(t,r.__v))};var ne="function"==typeof requestAnimationFrame;function te(e){var n,t=function(){clearTimeout(r),ne&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);ne&&(n=requestAnimationFrame(t))}function re(e){var n=U,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),U=n}function oe(e){var n=U;e.__c=e.__(),U=n}function ie(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function ue(e,n){return"function"==typeof n?n(e):n}function se(e,n){for(var t in n)e[t]=n[t];return e}function le(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 ce(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}function ae(e){this.props=e}(ae.prototype=new _).isPureReactComponent=!0,ae.prototype.shouldComponentUpdate=function(e,n){return le(this.props,e)||le(this.state,n)};var fe=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),fe&&fe(e)};var he="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,n){return null==e?null:b(b(e).map(n))},_e={map:de,forEach:de,count:function(e){return e?b(e).length:0},only:function(e){var n=b(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:b},pe=n.__e;n.__e=function(e,n,t,r){if(e.then)for(var o,i=n;i=i.__;)if((o=i.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);pe(e,n,t,r)};var me=n.unmount;function ge(e,n,t){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=se({},e)).__c&&(e.__c.__P===t&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ge(e,n,t)}))),e}function we(e,n,t){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return we(e,n,t)})),e.__c&&e.__c.__P===n&&(e.__e&&t.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=t)),e}function ye(){this.__u=0,this.t=null,this.__b=null}function ve(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function be(){this.u=null,this.o=null}n.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),me&&me(e)},(ye.prototype=new _).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=ve(r.__v),i=!1,u=function(){i||(i=!0,t.__R=null,o?o(s):s())};t.__R=u;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=we(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},l=!0===n.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},ye.prototype.componentWillUnmount=function(){this.t=[]},ye.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]=ge(this.__b,t,r.__O=r.__P)}this.__b=null}var o=n.__a&&f(d,null,e.fallback);return o&&(o.__h=null),[f(d,null,n.__a?null:e.children),o]};var Ce=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 Se(e){return this.getChildContext=function(){return e.context},e.children}function Ee(e){var n=this,t=e.i;n.componentWillUnmount=function(){R(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)}}),R(f(Se,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(be.prototype=new _).__a=function(e){var n=this,t=ve(n.__v),r=n.o.get(e);return r[0]++,function(o){var i=function(){n.props.revealOrder?(r.push(o),Ce(n,e,r)):o()};t?t(i):i()}},be.prototype.render=function(e){this.u=null,this.o=new Map;var n=b(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},be.prototype.componentDidUpdate=be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Ce(e,t,n)}))};var xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ke=/^(?: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]/,Te="undefined"!=typeof document,Ie=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};_.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(_.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Oe=n.event;function Me(){}function Ne(){return this.cancelBubble}function Ae(){return this.defaultPrevented}n.event=function(e){return Oe&&(e=Oe(e)),e.persist=Me,e.isPropagationStopped=Ne,e.isDefaultPrevented=Ae,e.nativeEvent=e};var Re,De={configurable:!0,get:function(){return this.class}},Pe=n.vnode;n.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var o=-1===n.indexOf("-");for(var i in r={},t){var u=t[i];Te&&"children"===i&&"noscript"===n||"value"===i&&"defaultValue"in t&&null==u||("defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===u?u="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+n)&&!Ie(t.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&&ke.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"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=b(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=b(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,t.class!=t.className&&(De.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",De))}e.$$typeof=xe,Pe&&Pe(e)};var Ge=n.__r;n.__r=function(e){Ge&&Ge(e),Re=e.__c};var Ue={ReactCurrentDispatcher:{current:{readContext:function(e){return Re.__n[e.__c].props.value}}}};function Fe(e){return!!e&&e.$$typeof===xe}function $e(e){e()}var He={useState:Z,useId:function(){var e=J(G++,11);if(!e.__){for(var n=U.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__},useReducer:Y,useEffect:X,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,$e]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,n){var t=n(),r=Z({h:{__:t,v:n}}),o=r[0].h,i=r[1];return K((function(){o.__=t,o.v=n,ce(o.__,n())||i({h:o})}),[e,t,n]),X((function(){return ce(o.__,o.v())||i({h:o}),e((function(){ce(o.__,o.v())||i({h:o})}))}),[e]),t},startTransition:$e,useRef:function(e){return H=5,Q((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){H=6,K((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))},useMemo:Q,useCallback:function(e,n){return H=8,Q((function(){return e}),n)},useContext:function(e){var n=U.context[e.__c],t=J(G++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(U)),n.props.value):e.__},useDebugValue:function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)},version:"17.0.2",Children:_e,render:function(e,n,t){return null==n.__k&&(n.textContent=""),R(e,n),"function"==typeof t&&t(),e?e.__c:null},hydrate:function(e,n,t){return D(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(R(null,e),!0)},createPortal:function(e,n){var t=f(Ee,{__v:e,i:n});return t.containerInfo=n,t},createElement:f,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(g)},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 f.bind(null,e)},cloneElement:function(e){return Fe(e)?P.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:d,isValidElement:Fe,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:_,PureComponent:ae,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:le(this.props,e)}function r(n){return this.shouldComponentUpdate=t,f(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n){var t=se({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=he,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:d,Suspense:ye,SuspenseList:be,lazy:function(e){var n,t,r;function o(o){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return f(t,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ue};const je=He,Be=f;function Le(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ve(e){return null!=e&&"function"==typeof e.GetHashCode}function qe(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function We(e,n){var t,r;return(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===(null===(r=Object.getPrototypeOf(n))||void 0===r?void 0:r.constructor)}class ze{constructor(e){this.en=e}GetEnumerator(){return this.en}[Symbol.iterator](){return this}next(){const e=this.en["System.Collections.IEnumerator.MoveNext"]();return{done:!e,value:e?this.en["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}class Je{constructor(e){this.iter=e,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ze(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new Je(e[Symbol.iterator]())}function Ye(e){return{[Symbol.iterator](){return this},next(){const n=e["System.Collections.IEnumerator.MoveNext"]();return{done:!n,value:n?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}}class Xe{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ke(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function Qe(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function en(e,n){return(e=e<0&&null!=n&&10!==n?4294967295+e+1:e).toString(n)}class nn{static id(e){return nn.idMap.has(e)||nn.idMap.set(e,++nn.count),nn.idMap.get(e)}}function tn(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function rn(e){return 2654435761*e|0}function on(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function un(e){var n;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return rn(e);case"string":return tn(e);default:if(Ve(e))return e.GetHashCode();if(Le(e))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=un(e[r]);return on(t)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object){const n=Object.values(e).map((e=>un(e)));return on(n)}return rn(nn.id(e))}}function sn(e){return function(e){return Ve(e)?e.GetHashCode():function(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return rn(e);case"string":return tn(e);default:return rn(nn.id(e))}}(e)}(e)}function ln(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 cn(e,n){return ln(e,n,an)}function an(e,n){var t;return e===n||(null==e?null==n:null!=n&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(n):Le(e)?Le(n)&&cn(e,n):"object"==typeof e&&(e instanceof Date?n instanceof Date&&0===fn(e,n):(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.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 o=0;o<t.length;o++)if(t[o]!==r[o]||!an(e[t[o]],n[r[o]]))return!1;return!0}(e,n))))}function fn(e,n){let t,r;return"offset"in e&&"offset"in n?(t=e.getTime(),r=n.getTime()):(t=e.getTime()+Qe(e),r=n.getTime()+Qe(n)),t===r?0:t<r?-1:1}function hn(e,n){return e===n?0:e<n?-1:1}function dn(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,o=0;r<e.length;r++)if(o=t(e[r],n[r]),0!==o)return o;return 0}(e,n,_n)}function _n(e,n){var t;return e===n?0:null==e?null==n?0:-1:null==n?1:function(e){return null!=e&&"function"==typeof e.CompareTo}(e)?e.CompareTo(n):Le(e)?Le(n)?dn(e,n):-1:"object"!=typeof e?e<n?-1:1:e instanceof Date?n instanceof Date?fn(e,n):-1:(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.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 o=0,i=0;o<t.length;o++){const u=t[o];if(u!==r[o])return u<r[o]?-1:1;if(i=_n(e[u],n[u]),0!==i)return i}return 0}(e,n):-1}function pn(e){const n={};for(const t of e)n[t[0]]=t[1];return n}nn.idMap=new WeakMap,nn.count=0;const mn=Symbol("curried");function gn(e,n){if(null==n||n.length>1)return n;const t=(...t)=>{let r=n;for(let n=0;n<e;n++)r=r(t[n]);return r};return t[mn]=n,t}function wn(e){const n=e<0,t=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+Ke(~~(e/36e5),2)+":"+Ke(t,2)}function yn(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 vn(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const o=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?o%100:o;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 i=t?e.getUTCHours():e.getHours();r=i>12?i%12:i;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:Ke(r,n.length)}))}function bn(e,n,t){return null!=e.offset?function(e,n){var t,r,o;const i=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+wn(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return vn(i,n,!0);switch(n){case"D":case"d":return yn(i,"first");case"T":case"t":return yn(i,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+wn(n)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const t=1===e.kind;if("string"!=typeof n)return t?e.toUTCString():e.toLocaleString();if(1!==n.length)return vn(e,n,t);switch(n){case"D":case"d":return t?yn(e,"first"):e.toLocaleDateString();case"T":case"t":return t?yn(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 Ke(e.getFullYear(),4)+"-"+Ke(e.getMonth()+1,2)+"-"+Ke(e.getDate(),2)+"T"+Ke(e.getHours(),2)+":"+Ke(e.getMinutes(),2)+":"+Ke(e.getSeconds(),2)+"."+Ke(e.getMilliseconds(),3)+(n?wn(-6e4*e.getTimezoneOffset()):"")}}(e,t);default:throw new Error("Unrecognized Date print format")}}(e,n)}function Cn(e,n){const t=new Date(e);return t.kind=0|(null==n?0:n),t}function Sn(e){function n(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||n(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let t=new Date(e),r=null;if(isNaN(t.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,n=0;if(null!=o[2]){const e=o[2].split(":");n=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(n+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const n=new Date;e=new Date(n.getUTCFullYear()+"/"+(n.getUTCMonth()+1)+"/"+n.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,n-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const n=new Date;e=new Date(n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate())}t=new Date(e.getTime()+1e3*n),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}else n();isNaN(t.getTime())&&n()}return[t,r]}function En(e,n){try{return n.contents=function(e,n=!1){const[t,r]=Sn(e),o=null!=r?n&&"Z"===r?1:2:0;return Cn(t.getTime(),o)}(e),!0}catch(e){return!1}}const xn=Symbol("numeric");function kn(e){return"number"==typeof e||(null==e?void 0:e[xn])}function Tn(e,n){return"number"==typeof e?e*n:e[xn]().multiply(n)}function In(e,n){return"number"==typeof e?e.toFixed(n):e[xn]().toFixed(n)}function On(e,n){return"number"==typeof e?e.toPrecision(n):e[xn]().toPrecision(n)}function Mn(e,n){return"number"==typeof e?e.toExponential(n):e[xn]().toExponential(n)}function Nn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[xn]().toHex()}function An(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rn(e,n,t=0){if(null==n)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=t;const r=[];let o,i=-1;for(;null!=(o=e.exec(n));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Dn(e,n=0){var t,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let n=0,t="[";for(const r of e){if(0===n)t+=Dn(r);else{if(100===n){t+="; ...";break}t+="; "+Dn(r)}n++}return t+"]"}(e);{const o=null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor;return o===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+Dn(t,n+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class Pn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,n){if(0===n.length)return e;{let t,r=!0;return 1===n.length?(t=Dn(n[0]),r=t.indexOf(" ")>=0):t=n.map((e=>Dn(e))).join(", "),e+(r?" (":" ")+t+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>un(e)));return e.splice(0,0,rn(this.tag)),on(e)}Equals(e){return this===e||!!We(this,e)&&this.tag===e.tag&&cn(this.fields,e.fields)}CompareTo(e){return this===e?0:We(this,e)?this.tag===e.tag?dn(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Gn{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+" = "+Dn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>un(e)));return on(n)}(this)}Equals(e){return function(e,n){if(e===n)return!0;if(We(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++)if(!an(e[t[r]],n[t[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,n){if(e===n)return 0;if(We(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++){const o=_n(e[t[r]],n[t[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class Un{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 Fn{constructor(e){this.message=e}}function $n(e){return function(e){return e instanceof Fn||e instanceof Error}(e)?e:new Error(String(e))}const Hn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,jn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Bn(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}function Ln(e){return{input:e,cont:(n=e,e=>{Hn.lastIndex=0;const t=[],r=[];let o=0,i=Hn.exec(n);for(;i;){const e=i.index+(i[1]||"").length;t.push(n.substring(o,e).replace(/%%/g,"%")),r.push(i),o=Hn.lastIndex,Hn.lastIndex-=1,i=Hn.exec(n)}return 0===t.length?e(n.replace(/%%/g,"%")):(t.push(n.substring(o).replace(/%%/g,"%")),Jn(e,t,r))})};var n}function Vn(e,n){return"string"==typeof n?e(n):n.cont(e)}function qn(e){return Vn((e=>e),e)}function Wn(e){return Vn((e=>{throw new Error(e)}),e)}function zn(e,n,t,r,o){let i="";if(n=n||"",o=o||"",kn(e))switch("x"!==o.toLowerCase()&&(Bn(e,0)?(e=Tn(e,-1),i="-"):n.indexOf(" ")>=0?i=" ":n.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=In(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?On(e,r):On(e);break;case"e":case"E":e=null!=r?Mn(e,r):Mn(e);break;case"x":e=Nn(e);break;case"X":e=Nn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bn(e):Dn(e);if(t="number"==typeof t?t:parseInt(t,10),isNaN(t))e=i+e;else{const r=n.indexOf("0")>=0,o=n.indexOf("-")>=0,u=o||!r?" ":"0";e="0"===u?i+(e=Yn(e,t-i.length,u,o)):Yn(i+e,t,u,o)}return e}function Jn(e,n,t,r="",o=-1){return(...i)=>{let u=r;const s=n.slice(),l=t.slice();for(const e of i){const[,,n,t,r,i]=l[0];let c=t;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+=zn(e,n,c,r,i),s.splice(0,1),l.splice(0,1)}return 0===l.length?(u+=s[0],e(u)):Jn(e,s,l,u,o)}}function Zn(e,n){return Array.isArray(n)?n.join(e):Array.from(n).join(e)}function Yn(e,n,t,r){t=t||" ",n-=e.length;for(let o=0;o<n;o++)e=r?e+t:t+e;return e}function Xn(e,n,t){return Yn(e,n,t)}function Kn(e,n,t,r){if(r="number"==typeof r?r:0,(t="number"==typeof t?t:void 0)&&t<0)throw new Error("Count cannot be less than zero");if(0===t)return[];const o=1==(1&r),i=2==(2&r);n=(n=n||[]).filter((e=>e)).map(An),n=n.length>0?n:["\\s"];const u=[],s=new RegExp(n.join("|"),"g");let l=!0,c=0;do{const n=s.exec(e);if(null===n){const n=i?e.substring(c).trim():e.substring(c);(!o||n.length>0)&&u.push(n),l=!1}else{const r=i?e.substring(c,n.index).trim():e.substring(c,n.index);(!o||r.length>0)&&(null!=t&&u.length+1===t?(u.push(i?e.substring(c).trim():e.substring(c)),l=!1):u.push(r)),c=s.lastIndex}}while(l);return u}const Qn="Collection was empty.";class et{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return un(this.value)}Equals(e){return null!=e&&an(this.value,e instanceof et?e.value:e)}CompareTo(e){return null==e?1:_n(this.value,e instanceof et?e.value:e)}}function nt(e){return null==e||e instanceof et?new et(e):e}function tt(e){if(null==e)throw new Error("Option has no value");return e instanceof et?e.value:e}function rt(e,n){return null!=e?tt(e):n}function ot(e,n,t,r){const o=0|n;return e.fill(r,o,o+t)}function it(e,n,t){const r=0|n.length,o=function(e,n){return"function"==typeof e?new e(n):new Array(n)}(t,r);for(let t=0;t<=r-1;t++)o[t]=e(n[t]);return o}function ut(e,n,t){return t.reduce(e,n)}function st(e,n,t,r){return function(e,n,t,r){let o=r;n.length!==t.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|n.length;for(let r=1;r<=i;r++)o=e(0,n[i-r],t[i-r],o);return o}(((n,t,r,o)=>e(t,r,o)),n,t,r)}class lt extends Gn{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+Zn("; ",this)+"]"}Equals(e){return this===e||((e,n)=>{e:for(;;){const t=e,r=n,o=t.tail,i=r.tail;if(null!=o){if(null!=i){const u=o,s=i;if(an(t.head,r.head)){e=u,n=s;continue e}return!1}return!1}return null==i}})(this,e)}GetHashCode(){return 0|((e,n,t)=>{for(;;){const r=e,o=n,i=t,u=i.tail;if(null==u)return 0|o;{const s=u;if(r>18)return 0|o;e=r+1,n=(o<<1)+un(i.head)+631*r,t=s}}})(0,0,this)}toJSON(){return Array.from(this)}CompareTo(e){return 0|((e,n)=>{e:for(;;){const t=e,r=n,o=t.tail,i=r.tail;if(null!=o){if(null!=i){const u=o,s=i,l=0|_n(t.head,r.head);if(0===l){e=u,n=s;continue e}return 0|l}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new ct(this)}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ze(this)}}class ct{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,n=e.it.tail;if(null!=n){const t=n;return e.current=e.it.head,e.it=t,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function at(){return new lt(null,void 0)}function ft(e,n){return new lt(e,n)}function ht(e){return null==e.tail}function dt(e){if(null!=e.tail)return e.head;throw new Error(Qn+"\\nParameter name: list")}function _t(e){const n=e.tail;if(null!=n)return n;throw new Error(Qn+"\\nParameter name: list")}function pt(){return at()}function mt(e,n){return ft(e,n)}function gt(e){return ft(e,at())}function wt(e){return ht(e)}function yt(e){return dt(e)}function vt(e){return _t(e)}function bt(e){const n=0|function(e){return 0|((e,n)=>{for(;;){const t=e,r=n.tail;if(null==r)return 0|t;e=t+1,n=r}})(0,e)}(e),t=ot(new Array(n),0,n,null);return((e,n)=>{for(;;){const r=e,o=n;if(ht(o))break;t[r]=dt(o),e=r+1,n=_t(o)}})(0,e),t}function Ct(e,n,t){let r=n,o=t;for(;!ht(o);)r=e(r,dt(o)),o=_t(o);return r}function St(e){return Ct(((e,n)=>ft(n,e)),at(),e)}function Et(e,n){let t=n;for(let n=e.length-1;n>=0;n--)t=ft(e[n],t);return t}function xt(e){return Et(e,at())}function kt(e,n){return Ct(((e,n)=>ft(n,e)),n,St(e))}class Tt{constructor(e,n,t,r){this.declaringType=e,this.tag=n,this.name=t,this.fields=r}}class It{constructor(e,n,t,r,o,i,u){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=o,this.cases=i,this.enumCases=u}toString(){return Ft(this)}GetHashCode(){return Mt(this)}Equals(e){return Nt(this,e)}}function Ot(e){return null!=e.generics?e.generics:[]}function Mt(e){return on([tn(e.fullname),...Ot(e).map(Mt)])}function Nt(e,n){return""===e.fullname?""===n.fullname&&ln(Jt(e),Jt(n),(([e,n],[t,r])=>e===t&&Nt(n,r))):e.fullname===n.fullname&&ln(Ot(e),Ot(n),Nt)}function At(...e){return new It("",void 0,void 0,void 0,(()=>e))}const Rt=new It("System.Object"),Dt=(new It("Microsoft.FSharp.Core.Unit"),new It("System.Char"),new It("System.String")),Pt=new It("System.Boolean"),Gt=(new It("System.SByte"),new It("System.Byte"),new It("System.Int16"),new It("System.UInt16"),new It("System.Int32"));function Ut(e){if(Array.isArray(e))return e[0];if(e instanceof It){const n=Ht(e);if(null!=n)return Ut(n)+"[]";{const n=e.fullname.lastIndexOf(".");return-1===n?e.fullname:e.fullname.substr(n+1)}}return e.name}function Ft(e){const n=Ht(e);return null!=n?Ft(n)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Ft(e))).join(",")+"]"}function $t(e){return null!=Ht(e)}function Ht(e){var n;return"[]"===e.fullname&&1===(null===(n=e.generics)||void 0===n?void 0:n.length)?e.generics[0]:void 0}function jt(e){return null!=e.generics&&e.generics.length>0}function Bt(e){return null!=e.enumCases&&e.enumCases.length>0}function Lt(e){return null==e.generics?e:new It(e.fullname,e.generics.map((()=>Rt)))}function Vt(e){var n;return null===(n=e.generics)||void 0===n?void 0:n[0]}function qt(e){if(Bt(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Wt(e,n){const t=parseInt(n,10);return function(e,n){if(null!=e.enumCases){if("string"==typeof n){for(const t of e.enumCases)if(t[0]===n)return t;throw new Error(`'${n}' was not found in ${e.fullname}`)}for(const t of e.enumCases)if(t[1]===n)return t;return["",n]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(t)?n:t)[1]}function zt(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Jt(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Zt(e){if(Kt(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Yt(e){return e instanceof It?null!=e.cases:e instanceof Pn}function Xt(e){return e instanceof It?null!=e.fields:e instanceof Gn}function Kt(e){return e.fullname.startsWith("System.Tuple")}function Qt(e){return null==e.fields?[]:e.fields}function er(e,n){const t=(e.fields||[]).length;if(n.length!==t)throw new Error(`Expected an array of length ${t} but got ${n.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,n):{}}new It("System.UInt32"),new It("System.Int64"),new It("System.UInt64"),new It("System.Numerics.BigInteger"),new It("System.IntPtr"),new It("System.UIntPtr"),new It("System.Single"),new It("System.Double"),new It("System.Decimal");class nr extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Ok","Error"]}}function tr(e,n){return 0===n.tag?new nr(0,[e(n.fields[0])]):new nr(1,[n.fields[0]])}class rr extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class or extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class ir{constructor(){this.cache=new Map([])}}function ur(){return new ir}function sr(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function lr(e,n){switch(e.tag){case 2:return function(e,n,t,r,o=0){if("string"==typeof e){const t=e;e=function(e,n=0){if(0!=(-284&n))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let t="gu";return t+=1&n?"i":"",t+=2&n?"m":"",t+=16&n?"s":"",new RegExp(e,t)}(n,null!=r?r:0),n=t,r=void 0}if("function"==typeof t)return r=null==r?-1:r,n.substring(0,o)+n.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const n=[],o=arguments.length,i="string"!=typeof arguments[o-1];let u=i?o-3:o-2;for(let e=0;e<u;e++)n.push(arguments[e]);n.index=arguments[u++],n.input=arguments[u++],i&&(n.groups=arguments[u]),e=t(n)}return e}));if(t=t.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const u=n.substring(o),s=Rn(e,u),l=Rn.length>r?(i=s[r-1],u.substring(0,i.index+i[0].length)):u;return n.substring(0,o)+l.replace(e,t)+n.substring(o+l.length)}return n.replace(e,t)}(sr(n),"[A-Z]","_$0").toLowerCase();case 0:return n;default:return sr(n)}}ur(),ur();const cr=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,ar=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,fr=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function hr(e,n){try{return n.contents=function(e){function n(e){return e.replace(ar,"$1-$2-$3-$4-$5")}const t=e.trim().toLowerCase();if(cr.test(t))return function(e,...n){if(0===n.length)return e.trim();const t="["+An(n.join(""))+"]+";return e.replace(new RegExp("^"+t),"").replace(new RegExp(t+"$"),"")}(t,"{","}","(",")");if(ar.test(t))return n(t);if(fr.test(t))return n(t.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}var dr;function _r(e,n){switch(n){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function pr(e,n,t,r,o){try{return o.contents=function(e,n,t,r,o){const i=function(e,n,t){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;t=t||function(e,n){if(n&dr.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,n);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(t);if(!i.test(o))return function(e,n){const[,t,r,o]=e;return{sign:t||"",prefix:r||"",digits:o,radix:n}}(r,t)}return null}(e,n,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[n,o]=_r(!0,r);!t&&10!==i.radix&&e>=n&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=_r(t,r);if(e>=u&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}(e,n,t,r),!0}catch(e){return!1}}function mr(e,n){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(n);const t=new Date(e);return t.offset=null!=n?n:-6e4*(new Date).getTimezoneOffset(),t}function gr(e,n){try{return n.contents=function(e){const[n,t]=Sn(e),r=null==t?-6e4*n.getTimezoneOffset():"Z"===t?0:6e4*t;return mr(n.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(dr||(dr={}));var wr=null;try{wr=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(s){}function yr(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function vr(e){return!0===(e&&e.__isLong__)}yr.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},yr.prototype.Equals=function(e){return zr(this,e)},yr.prototype.CompareTo=function(e){return Xr(this,e)},yr.prototype.toString=function(e){return Lr(this,e)},yr.prototype.toJSON=function(){return Lr(this)},yr.prototype[xn]=function(){const e=this;return{multiply:n=>no(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 Lr(e.unsigned?e:function(e,n,t){return t?function(e,n){return new yr(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 yr(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}}},yr.prototype.__isLong__,Object.defineProperty(yr.prototype,"__isLong__",{value:!0});var br={},Cr={};function Sr(e,n){var t,r,o;return n?(o=0<=(e>>>=0)&&e<256)&&(r=Cr[e])?r:(t=xr(e,(0|e)<0?-1:0,!0),o&&(Cr[e]=t),t):(o=-128<=(e|=0)&&e<128)&&(r=br[e])?r:(t=xr(e,e<0?-1:0,!1),o&&(br[e]=t),t)}function Er(e,n){if(isNaN(e))return n?Dr:Rr;if(n){if(e<0)return Dr;if(e>=Mr)return $r}else{if(e<=-Nr)return Hr;if(e+1>=Nr)return Fr}return e<0?Kr(Er(-e,n)):xr(e%Or|0,e/Or|0,n)}function xr(e,n,t){return new yr(e,n,t)}var kr=Math.pow;function Tr(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Rr;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 Kr(Tr(e.substring(1),n,t));for(var o=Er(kr(t,8)),i=Rr,u=0;u<e.length;u+=8){var s=Math.min(8,e.length-u),l=parseInt(e.substring(u,u+s),t);i=Qr(s<8?no(i,Er(kr(t,s))):i=no(i,o),Er(l))}return i.unsigned=n,i}function Ir(e,n){return"number"==typeof e?Er(e,n):"string"==typeof e?Tr(e,n):xr(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Or=4294967296,Mr=Or*Or,Nr=Mr/2,Ar=Sr(1<<24),Rr=Sr(0),Dr=Sr(0,!0),Pr=Sr(1),Gr=Sr(1,!0),Ur=Sr(-1),Fr=xr(-1,2147483647,!1),$r=xr(-1,-1,!0),Hr=xr(0,-2147483648,!1);function jr(e){return e.unsigned?e.low>>>0:e.low}function Br(e){return e.unsigned?(e.high>>>0)*Or+(e.low>>>0):e.high*Or+(e.low>>>0)}function Lr(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(Vr(e))return"0";if(qr(e)){if(zr(e,Hr)){var t=Er(n),r=to(e,t),o=eo(no(r,t),e);return Lr(r,n)+jr(o).toString(n)}return"-"+Lr(Kr(e),n)}for(var i=Er(kr(n,6),e.unsigned),u=e,s="";;){var l=to(u,i),c=(jr(eo(u,no(l,i)))>>>0).toString(n);if(Vr(u=l))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function Vr(e){return 0===e.high&&0===e.low}function qr(e){return!e.unsigned&&e.high<0}function Wr(e){return 1==(1&e.low)}function zr(e,n){return vr(n)||(n=Ir(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function Jr(e,n){return Xr(e,n)<0}function Zr(e,n){return Xr(e,n)>0}function Yr(e,n){return Xr(e,n)>=0}function Xr(e,n){if(vr(n)||(n=Ir(n)),zr(e,n))return 0;var t=qr(e),r=qr(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:qr(eo(e,n))?-1:1}function Kr(e){return!e.unsigned&&zr(e,Hr)?Hr:Qr(function(e){return xr(~e.low,~e.high,e.unsigned)}(e),Pr)}function Qr(e,n){vr(n)||(n=Ir(n));var t=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=0,a=0,f=0,h=0;return f+=(h+=i+(65535&n.low))>>>16,a+=(f+=o+l)>>>16,c+=(a+=r+s)>>>16,c+=t+u,xr((f&=65535)<<16|(h&=65535),(c&=65535)<<16|(a&=65535),e.unsigned)}function eo(e,n){return vr(n)||(n=Ir(n)),Qr(e,Kr(n))}function no(e,n){if(Vr(e))return e.unsigned?Dr:Rr;if(vr(n)||(n=Ir(n)),wr)return xr(wr.mul(e.low,e.high,n.low,n.high),wr.get_high(),e.unsigned);if(Vr(n))return e.unsigned?Dr:Rr;if(zr(e,Hr))return Wr(n)?Hr:Rr;if(zr(n,Hr))return Wr(e)?Hr:Rr;if(qr(e))return qr(n)?no(Kr(e),Kr(n)):Kr(no(Kr(e),n));if(qr(n))return Kr(no(e,Kr(n)));if(Jr(e,Ar)&&Jr(n,Ar))return Er(Br(e)*Br(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=65535&n.low,a=0,f=0,h=0,d=0;return h+=(d+=i*c)>>>16,f+=(h+=o*c)>>>16,h&=65535,f+=(h+=i*l)>>>16,a+=(f+=r*c)>>>16,f&=65535,a+=(f+=o*l)>>>16,f&=65535,a+=(f+=i*s)>>>16,a+=t*c+r*l+o*s+i*u,xr((h&=65535)<<16|(d&=65535),(a&=65535)<<16|(f&=65535),e.unsigned)}function to(e,n){if(vr(n)||(n=Ir(n)),Vr(n))throw Error("division by zero");var t,r,o;if(wr)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?xr((e.unsigned?wr.div_u:wr.div_s)(e.low,e.high,n.low,n.high),wr.get_high(),e.unsigned):e;if(Vr(e))return e.unsigned?Dr:Rr;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:xr(e.low,e.high,!0)}(n)),Zr(n,e))return Dr;if(Zr(n,function(e,n){if(vr(n)&&(n=jr(n)),0==(n&=63))return e;var t=e.high;return n<32?xr(e.low>>>n|t<<32-n,t>>>n,e.unsigned):xr(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return Gr;o=Dr}else{if(zr(e,Hr))return zr(n,Pr)||zr(n,Ur)?Hr:zr(n,Hr)?Pr:zr(t=function(e,n){return vr(n)&&(n=jr(n)),0==(n&=63)?e:n<32?xr(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):xr(0,e.low<<n-32,e.unsigned)}(to(function(e,n){return vr(n)&&(n=jr(n)),0==(n&=63)?e:n<32?xr(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):xr(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Rr)?qr(n)?Pr:Ur:o=Qr(t,to(r=eo(e,no(n,t)),n));if(zr(n,Hr))return e.unsigned?Dr:Rr;if(qr(e))return qr(n)?to(Kr(e),Kr(n)):Kr(to(Kr(e),n));if(qr(n))return Kr(to(e,Kr(n)));o=Rr}for(r=e;Yr(r,n);){t=Math.max(1,Math.floor(Br(r)/Br(n)));for(var i=Math.ceil(Math.log(t)/Math.LN2),u=i<=48?1:kr(2,i-48),s=Er(t),l=no(s,n);qr(l)||Zr(l,r);)l=no(s=Er(t-=u,e.unsigned),n);Vr(s)&&(s=Pr),o=Qr(o,s),r=eo(r,l)}return o}const ro=to,oo=Br;function io(e){return e<0?Math.ceil(e):Math.floor(e)}function uo(e=0,n=0,t=0,r=0,o=0){switch(arguments.length){case 1:return so(arguments[0]);case 3:e=0,n=arguments[0],t=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*n+6e4*t+1e3*r+o}function so(e){return oo(ro(e,1e4))}function lo(e,n){try{return n.contents=function(e){const n=e.search("\\."),t=e.search("\\:");if(-1===n&&-1===t){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return uo(n,0,0,0,0)}if(t>0){const n=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=n&&null!=n[4]&&null!=n[5]){let t=0,r=0,o=0;const i=null!=n[1]&&"-"===n[1]?-1:1,u=+n[4],s=+n[5];if(null!=n[3]&&(t=+n[3]),null!=n[7]&&(o=+n[7]),null!=n[8])switch(n[8].length){case 1:r=100*+n[8];break;case 2:r=10*+n[8];break;case 3:r=+n[8];break;case 4:r=+n[8]/10;break;case 5:r=+n[8]/100;break;case 6:r=+n[8]/1e3;break;case 7:r=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*uo(t,u,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class co{constructor(e){this.f=e}toString(){let e=0,n="seq [";const t=Ze(this);try{for(;e<4&&t["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=Dn(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{qe(t)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class ao{constructor(e,n,t){this.current=e,this.next=n,this.dispose=t}"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 fo(e,n,t){let r,o=!1,i=nt(e());const u=()=>{if(null!=i){const e=tt(i);try{t(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return function(e,n,t){return new ao(e,n,t)}((()=>(o||function(){throw new Error("Enumeration has not started. Call MoveNext.")}(),null!=r?tt(r):function(){throw new Error("Enumeration already finished.")}())),(()=>{if(o||(o=!0),null!=i){const e=tt(i);let t;try{t=n(e)}catch(e){throw s(),e}return null!=t?(r=t,!0):(s(),!1)}return!1}),u)}function ho(e){return function(e){return new co(e)}(e)}function _o(e){return n="source",null==e&&function(e){throw new Error(e)}(n),Ze(e);var n}function po(e,n,t){const r=_o(n);try{let n=!1;for(;!n&&r["System.Collections.IEnumerator.MoveNext"]();)n=t.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{qe(r)}}function mo(e,n,t){const r=_o(t);try{let t=n;for(;r["System.Collections.IEnumerator.MoveNext"]();)t=e(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{qe(r)}}function go(e,n){mo(((n,t)=>{e(t)}),void 0,n)}function wo(e,n){return t=()=>_o(n),r=n=>n["System.Collections.IEnumerator.MoveNext"]()?nt(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{qe(e)},ho((()=>fo(t,r,o)));var t,r,o}function yo(e,n){return t=()=>_o(n),r=(n,t)=>t["System.Collections.IEnumerator.MoveNext"]()?nt(e(n,t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{qe(e)},ho((()=>{let e=-1;return fo(t,(n=>(e=e+1|0,r(e,n))),o)}));var t,r,o}class vo{constructor(e,n){this.cleanup=e,this.res=n}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}class bo{constructor(e,n){this.k=e,this.v=n}}function Co(e,n){return new bo(e,n)}function So(e){return e.k}function Eo(e){return e.v}class xo extends bo{constructor(e,n,t,r,o){super(e,n),this.left=t,this.right=r,this.h=0|o}}function ko(e,n,t,r,o){return new xo(e,n,t,r,o)}function To(e){return e.left}function Io(e){return e.right}function Oo(e){return e.h}function Mo(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof xo){e=Mo(t+1,To(r)),n=Io(r);continue e}return t+1|0}return 0|t}}function No(e){return Mo(0,e)}function Ao(e,n,t,r){let o,i;o=null!=e?e instanceof xo?Oo(e):1:0,i=null!=r?r instanceof xo?Oo(r):1:0;const u=0|(o<i?i:o);return 0===u?Co(n,t):ko(n,t,e,r,u+1)}function Ro(e,n,t,r){let o,i,u,s,l,c;if(l=null!=e?e instanceof xo?Oo(e):1:0,c=null!=r?r instanceof xo?Oo(r):1:0,c>l+2){const u=tt(r);if(u instanceof xo){if(o=To(u),(null!=o?(i=o,i instanceof xo?Oo(i):1):0)>l+1){const r=tt(To(u));if(r instanceof xo)return Ao(Ao(e,n,t,To(r)),So(r),Eo(r),Ao(Io(r),So(u),Eo(u),Io(u)));throw new Error("internal error: Map.rebalance")}return Ao(Ao(e,n,t,To(u)),So(u),Eo(u),Io(u))}throw new Error("internal error: Map.rebalance")}if(l>c+2){const o=tt(e);if(o instanceof xo){if(u=Io(o),(null!=u?(s=u,s instanceof xo?Oo(s):1):0)>c+1){const e=tt(Io(o));if(e instanceof xo)return Ao(Ao(To(o),So(o),Eo(o),To(e)),So(e),Eo(e),Ao(Io(e),n,t,r));throw new Error("internal error: Map.rebalance")}return Ao(To(o),So(o),Eo(o),Ao(Io(o),n,t,r))}throw new Error("internal error: Map.rebalance")}return Ao(e,n,t,r)}function Do(e,n,t,r){if(null!=r){const o=r,i=0|e.Compare(n,So(o));return o instanceof xo?i<0?Ro(Do(e,n,t,To(o)),So(o),Eo(o),Io(o)):0===i?ko(n,t,To(o),Io(o),Oo(o)):Ro(To(o),So(o),Eo(o),Do(e,n,t,Io(o))):i<0?ko(n,t,void 0,r,2):0===i?Co(n,t):ko(n,t,r,void 0,2)}return Co(n,t)}function Po(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,So(i));if(0===u)return nt(Eo(i));if(i instanceof xo){e=r,n=o,t=u<0?To(i):Io(i);continue e}return}return}}function Go(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof xo){Go(t,To(r)),t(So(r),Eo(r)),e=t,n=Io(r);continue e}t(So(r),Eo(r))}break}}function Uo(e,n){Go(e,n)}function Fo(e,n){if(null!=n){const t=n;if(t instanceof xo){const n=Fo(e,To(t)),r=e(So(t),Eo(t)),o=Fo(e,Io(t));return ko(So(t),r,n,o,Oo(t))}return Co(So(t),e(So(t),Eo(t)))}}function $o(e,n){return Fo(e,n)}function Ho(e,n){if(Le(n))return function(e,n){let t;for(let r=0;r<=n.length-1;r++){const o=n[r];t=Do(e,o[0],o[1],t)}return t}(e,n);if(n instanceof lt)return function(e,n){return Ct(((n,t)=>Do(e,t[0],t[1],n)),void 0,n)}(e,n);{const t=Ze(n);try{return function(e,n,t){for(;;){const r=e,o=n,i=t;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,n=Do(r,u[0],u[1],o),t=i}}}(e,void 0,t)}finally{qe(t)}}}class jo extends Gn{constructor(e,n){super(),this.stack=e,this.started=n}}function Bo(e){e:for(;;){const n=e;if(wt(n))return pt();{const t=vt(n),r=yt(n);if(null!=r){const o=r;if(o instanceof xo){e=Et([To(o),Co(So(o),Eo(o)),Io(o)],t);continue e}return n}e=t;continue e}}}function Lo(e){return new jo(Bo(gt(e)),!1)}function Vo(e){if(e.started){const n=e.stack;if(wt(n))return function(){throw new Error("enumeration already finished")}();if(null!=yt(n)){const e=yt(n);if(e instanceof xo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[So(e),Eo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function qo(e){let n=Lo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Vo(n),"System.Collections.IEnumerator.get_Current":()=>Vo(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(wt(n))return!1;if(null!=yt(n)){if(yt(n)instanceof xo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Bo(vt(n)),!wt(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!wt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Lo(e)},Dispose(){}}}class Wo{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=Ze(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=0|n(t,un(e[0])),t=0|n(t,un(e[1]))}}finally{qe(r)}return 0|t}(this)}Equals(e){if(!(e instanceof Wo))return!1;{const n=Ze(this);try{const t=Ze(e);try{const e=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===t["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),o=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!an(r[0],o[0])||!an(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{qe(t)}}finally{qe(n)}}}toString(){return"map ["+Zn("; ",wo((e=>function(e,...n){return"object"==typeof e&&n.length>0&&(e=n[0],n.shift()),e.replace(jn,((e,t,r,o,i,u)=>{if(t<0||t>=n.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=n[t];if(kn(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=In(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?On(s,i):On(s);break;case"e":case"E":s=null!=i?Mn(s,i):Mn(s);break;case"p":case"P":i=null!=i?i:2,s=In(Tn(s,100),i)+" %";break;case"d":case"D":s=null!=i?Xn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?Xn(Nn(s),i,"0"):Nn(s),"X"===o&&(s=s.toUpperCase());break;default:if(u){let e="";s=u.replace(/([0#,]+)(\.[0#]+)?/,((n,t,r)=>{Bn(s,0)&&(s=Tn(s,-1),e="-"),r=null==r?"":r.substring(1),s=In(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=Xn(o,t.replace(/,/g,"").replace(/^#+/,"").length,"0");const u=r.replace(/#+$/,"").length;if(u>i.length?i=function(e,n,t){return Yn(e,n,"0",!0)}(i,u):u<i.length&&(i=i.substring(0,u)+i.substring(u).replace(/0+$/,"")),t.indexOf(",")>0){const e=o.length%3,n=Math.floor(o.length/3);let t=e>0?o.substr(0,e)+(n>0?",":""):"";for(let r=0;r<n;r++)t+=o.substr(e+3*r,3)+(r<n-1?",":"");o=t}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?bn(s,u||o):Dn(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=Yn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){return Array.from(this)}GetEnumerator(){return qo(this.tree)}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return qo(this.tree)}CompareTo(e){const n=this;if(e instanceof Wo)return 0|function(e,n,t){const r=_o(n);try{const n=_o(t);try{let t=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=n["System.Collections.IEnumerator.MoveNext"]();for(;0===t&&o&&i;)t=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),n["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===t&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=n["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==t?t:o?1:i?-1:0)}finally{qe(n)}}finally{qe(r)}}(((e,t)=>{const r=0|n.comparer.Compare(e[0],t[0]);return 0|(0!==r?r:_n(e[1],t[1]))}),n,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Yo(this,e[0])&&an(Jo(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,n){!function(e,n,t){let r=t;Uo(((e,t)=>{n[r]=[e,t],r=r+1|0}),e)}(this.tree,e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Zo(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Zo(this)}get size(){return 0|Zo(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return wo((e=>[e[0],e[1]]),this)}get(e){return Jo(this,e)}has(e){return Yo(this,e)}keys(){return wo((e=>e[0]),this)}set(e,n){throw new Error("Map cannot be mutated")}values(){return wo((e=>e[1]),this)}forEach(e,n){const t=this;go((n=>{e(n[1],n[0],t)}),t)}}function zo(e,n){return new Wo(e,n)}function Jo(e,n){return function(e,n,t){const r=Po(e,n,t);if(null==r)throw new Error;return tt(r)}(e.comparer,n,e.tree)}function Zo(e){return No(e.tree)}function Yo(e,n){return function(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,So(i));if(i instanceof xo){if(u<0){e=r,n=o,t=To(i);continue e}if(0===u)return!0;e=r,n=o,t=Io(i);continue e}return 0===u}return!1}}(e.comparer,n,e.tree)}function Xo(e,n,t){return function(e,n,t){return zo(e.comparer,Do(e.comparer,n,t,e.tree))}(t,e,n)}function Ko(e,n){return function(e,n){return Po(e.comparer,n,e.tree)}(n,e)}function Qo(e,n){return function(e,n){return zo(e.comparer,$o(n,e.tree))}(n,e)}function ei(e){return function(e){return zo(e,void 0)}(e)}class ni{constructor(e){this.k=e}}function ti(e){return new ni(e)}function ri(e){return e.k}class oi extends ni{constructor(e,n,t,r){super(e),this.left=n,this.right=t,this.h=0|r}}function ii(e,n,t,r){return new oi(e,n,t,r)}function ui(e){return e.left}function si(e){return e.right}function li(e){return e.h}function ci(e,n){e:for(;;){const t=n;if(null!=e){const r=e;if(r instanceof oi){e=ui(r),n=ci(si(r),t+1);continue e}return t+1|0}return 0|t}}function ai(e){return ci(e,0)}function fi(e,n,t){let r,o;r=null!=e?e instanceof oi?li(e):1:0,o=null!=t?t instanceof oi?li(t):1:0;const i=0|(r<o?o:r);return 0===i?ti(n):ii(n,e,t,i+1)}function hi(e,n,t){let r,o,i,u,s,l;if(s=null!=e?e instanceof oi?li(e):1:0,l=null!=t?t instanceof oi?li(t):1:0,l>s+2){const i=tt(t);if(i instanceof oi){if(r=ui(i),(null!=r?(o=r,o instanceof oi?li(o):1):0)>s+1){const t=tt(ui(i));if(t instanceof oi)return fi(fi(e,n,ui(t)),ri(t),fi(si(t),ri(i),si(i)));throw new Error("internal error: Set.rebalance")}return fi(fi(e,n,ui(i)),ri(i),si(i))}throw new Error("internal error: Set.rebalance")}if(s>l+2){const r=tt(e);if(r instanceof oi){if(i=si(r),(null!=i?(u=i,u instanceof oi?li(u):1):0)>l+1){const e=tt(si(r));if(e instanceof oi)return fi(fi(ui(r),ri(r),ui(e)),ri(e),fi(si(e),n,t));throw new Error("internal error: Set.rebalance")}return fi(ui(r),ri(r),fi(si(r),n,t))}throw new Error("internal error: Set.rebalance")}return fi(e,n,t)}function di(e,n,t){if(null!=t){const r=t,o=0|e.Compare(n,ri(r));if(r instanceof oi)return o<0?hi(di(e,n,ui(r)),ri(r),si(r)):0===o?t:hi(ui(r),ri(r),di(e,n,si(r)));{const o=0|e.Compare(n,ri(r));return o<0?ii(n,void 0,t,2):0===o?t:ii(n,t,void 0,2)}}return ti(n)}function _i(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,ri(i));if(i instanceof oi){if(u<0){e=r,n=o,t=ui(i);continue e}if(0===u)return!0;e=r,n=o,t=si(i);continue e}return 0===u}return!1}}function pi(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof oi){pi(t,ui(r)),t(ri(r)),e=t,n=si(r);continue e}t(ri(r))}break}}class mi extends Gn{constructor(e,n){super(),this.stack=e,this.started=n}}function gi(e){e:for(;;){const n=e;if(wt(n))return pt();{const t=yt(n),r=vt(n);if(null!=t){const o=t;if(o instanceof oi){e=Et([ui(o),ti(ri(o)),si(o)],r);continue e}return n}e=r;continue e}}}function wi(e){return new mi(gi(gt(e)),!1)}function yi(e){if(e.started){const n=e.stack;if(wt(n))return function(){throw new Error("Enumeration already started")}();if(null!=yt(n))return ri(yt(n));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function vi(e){let n=wi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>yi(n),"System.Collections.IEnumerator.get_Current":()=>yi(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(wt(n))return!1;if(null!=yt(n)){if(yt(n)instanceof oi)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=gi(vt(n)),!wt(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!wt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=wi(e)},Dispose(){}}}function bi(e,n,t){return null==n?null==t?0:-1:null==t?1:0|function(e,n,t){e:for(;;){const r=e,o=n,i=t;if(wt(o))return wt(i)?0:-1;if(wt(i))return 1;if(null!=yt(i))if(null!=yt(o)){const u=yt(o),s=yt(i);if(u instanceof oi)if(null==ui(u)){if(!(s instanceof oi)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(si(u),vt(o)),t=mt(void 0,vt(i));continue e}if(null==ui(s)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(si(u),vt(o)),t=mt(si(s),vt(i));continue e}{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(s instanceof oi)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=vt(o),t=vt(i);continue e}if(null==ui(s)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(void 0,vt(o)),t=mt(si(s),vt(i));continue e}{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,l,c,a;switch(yt(i),wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==yt(o)){e=r,n=vt(o),t=vt(i);continue e}{let u,s,l,c,a;switch(yt(o),wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,gt(n),gt(t))}function Ci(e,n,t){let r=t;pi((e=>{n[r]=e,r=r+1|0}),e)}function Si(e,n){if(Le(n))return function(e,n){return ut(((n,t)=>di(e,t,n)),void 0,n)}(e,n);if(n instanceof lt)return function(e,n){return Ct(((n,t)=>di(e,t,n)),void 0,n)}(e,n);{const t=Ze(n);try{return function(e,n,t){for(;;){const r=e,o=n,i=t;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,n=di(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),t=i}}(e,void 0,t)}finally{qe(t)}}}class Ei{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=Ze(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)t=0|n(t,un(r["System.Collections.Generic.IEnumerator`1.get_Current"]()))}finally{qe(r)}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof Ei&&0===bi(xi(this),ki(this),ki(e))}toString(){return"set ["+Zn("; ",wo((e=>Dn(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|bi(xi(this),ki(this),ki(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return _i(xi(this),e,ki(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,n){Ci(ki(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Ti(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Ti(this)}GetEnumerator(){return vi(ki(this))}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return vi(ki(this))}get size(){return 0|Ti(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,n){return _i(xi(e),n,ki(e))}(this,e)}keys(){return wo((e=>e),this)}values(){return wo((e=>e),this)}entries(){return wo((e=>[e,e]),this)}forEach(e,n){const t=this;go((n=>{e(n,n,t)}),t)}}function xi(e){return e.comparer}function ki(e){return e.tree}function Ti(e){return ai(ki(e))}function Ii(e,n,t){try{return"Expecting "+e+" but instead got:"+(t?"\n":" ")+JSON.stringify(n,null,4)}catch(n){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(t?"\n":" ")}}function Oi(e,n){const t=2===n.tag?Ii(n.fields[0],n.fields[1],!0):1===n.tag?Ii(n.fields[0],n.fields[1],!1)+"\nReason: "+n.fields[2]:3===n.tag?Ii(n.fields[0],n.fields[1],!0):4===n.tag?Ii(n.fields[0],n.fields[1],!0)+"\nNode `"+n.fields[2]+"` is unkown.":5===n.tag?"Expecting "+n.fields[0]+".\n"+JSON.stringify(n.fields[1],null,4):7===n.tag?"The following errors were found:\n\n"+Zn("\n\n",n.fields[0]):6===n.tag?"The following `failure` occurred with the decoder: "+n.fields[0]:Ii(n.fields[0],n.fields[1],!1);return 7===n.tag?t:"Error at: `"+e+"`\n"+t}function Mi(e,n,t){const r=n(e,t);if(1===r.tag){const e=r.fields[0];return new nr(1,[Oi(e[0],e[1])])}return new nr(0,[r.fields[0]])}function Ni(e,n){try{return Mi("$",e,JSON.parse(n))}catch(e){if(e instanceof SyntaxError)return new nr(1,["Given an invalid JSON: "+e.message]);throw e}}const Ai=e=>n=>{const t="a sbyte",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new nr(0,[(e+128&255)-128]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,8,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Ri=e=>n=>{const t="a byte",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new nr(0,[255&e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,8,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Di=e=>n=>{const t="an int16",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new nr(0,[(e+32768&65535)-32768]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,16,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Pi=e=>n=>{const t="an uint16",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new nr(0,[65535&e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,16,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Gi=e=>n=>{const t="an int",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new nr(0,[~~e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,32,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Ui=e=>n=>{const t="an uint32",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new nr(0,[e>>>0]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,32,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])};function Fi(e,n,t,r){let o;const i=t+".["+en(e)+"]";if(Array.isArray(r)){const t=r;return e<t.length?n(i,t[e]):new nr(1,[[i,new rr(5,["a longer array. Need index `"+en(e)+"` but there are only `"+(o=t.length,en(o)+"` entries"),r])]])}return new nr(1,[[i,new rr(0,["an array",r])]])}function $i(e,n,t){if(Array.isArray(t)){let r=-1;return tr(St,ut(((t,o)=>{if(r=r+1|0,0===t.tag){const i=e(n+".["+en(r)+"]",o);return 0===i.tag?new nr(0,[mt(i.fields[0],t.fields[0])]):new nr(1,[i.fields[0]])}return t}),new nr(0,[pt()]),t))}return new nr(1,[[n,new rr(0,["a list",t])]])}function Hi(e,n,t){if(Array.isArray(t)){let r=-1;const o=t;return ut(((t,o)=>{if(r=r+1|0,0===t.tag){const i=t.fields[0],u=e(n+".["+en(r)+"]",o);return 0===u.tag?(i[r]=u.fields[0],new nr(0,[i])):new nr(1,[u.fields[0]])}return t}),new nr(0,[ot(new Array(o.length),0,o.length,null)]),o)}return new nr(1,[[n,new rr(0,["an array",t])]])}function ji(e,n,t,r){const o=n(t,r);return 0===o.tag?e(o.fields[0],t,r):new nr(1,[o.fields[0]])}function Bi(e,n){let t;const r=e;return t=e=>n=>Fi(0,r,e,n),e=>r=>ji(gn(3,(e=>{let t;const r=n;return t=e=>n=>Fi(1,r,e,n),n=>r=>ji(((n,t,r)=>new nr(0,[[e,n]])),gn(2,t),n,r)})),gn(2,t),e,r)}function Li(e){return zo(n={Compare:_n},Ho(n,e));var n}function Vi(e){return function(e,n){return new Ei(e,n)}(n={Compare:_n},Si(n,e));var n}function qi(e,n,t,r){let o,i;return n.length!==r.length?new nr(1,[[t,new rr(6,[(o=0|r.length,i=0|n.length,qn(Ln("Expected %i %s but got %i"))(i)(e)(o))])]]):st(((e,n,r)=>0===r.tag?tr((e=>mt(e,r.fields[0])),n(t)(e)):r),r,n,new nr(0,[pt()]))}function Wi(e,n,t,r,o,i){const u=function(e,n){return n.find((e=>Ut(e)===r))}(0,zt(t));if(null!=u){const t=u;return 0===i.length?new nr(0,[er(t,[])]):tr((e=>er(t,bt(e))),qi("union fields",it((t=>Ji(e,n,!1,t[1])),Qt(t),null),o,i))}return new nr(1,[[o,new rr(6,["Cannot find case "+r+" in "+Ft(t)])]])}function zi(e,n,t,r){let o;const i=new Un(null),u=Xo(Ft(r),i,e);let s;if(Xt(r)){const e=it((e=>[lr(n,Ut(e)),Ji(u,n,!1,e[1])]),Jt(r),null);s=n=>t=>tr((e=>function(e,n){const t=Jt(e);if(t.length!==n.length)throw new Error(`Expected an array of length ${t.length} but got ${n.length}`);return null!=e.construct?new e.construct(...n):t.reduce(((e,[t,r],o)=>(e[t]=n[o],e)),{})}(r,bt(e))),function(e,n,t){return null===t||Object.getPrototypeOf(t||!1)!==Object.prototype?new nr(1,[[n,new rr(0,["an object",t])]]):function(e,r,o){return r.reduceRight(((e,r)=>((e,r)=>{const o=e[0];return 0===r.tag?tr((e=>mt(e,r.fields[0])),e[1](n+"."+o)(t[o])):r})(r,e)),o)}(0,e,new nr(0,[pt()]))}(e,n,t))}else if(Yt(r))s=e=>t=>{if("string"==typeof t)return Wi(u,n,r,t,e,[]);if(Array.isArray(t)){const o=t;return Wi(u,n,r,o[0],e,o.slice(1,o.length))}return new nr(1,[[e,new rr(0,["a string or array",t])]])};else{if(!t)throw new Error((o=Ft(r),qn(Ln("Cannot generate auto decoder for %s. Please pass an extra decoder."))(o)));s=e=>n=>new nr(1,[[e,new rr(2,["an extra coder for "+Ft(r),n])]])}return i.contents=s,s}function Ji(e,n,t,r){let o,i,u;const s=Ft(r),l=Ko(s,e);if(null==l){if($t(r)){const t=Ji(e,n,!1,Ht(r));return e=>n=>Hi(gn(2,t),e,n)}if(Bt(r)){const e=Ft(Vt(r));if("System.SByte"===e)return e=>n=>{const t=r,o=e,i=n,u=Ai(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}};if("System.Byte"===e)return e=>n=>{const t=r,o=e,i=n,u=Ri(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}};if("System.Int16"===e)return e=>n=>{const t=r,o=e,i=n,u=Di(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,(s=e,(s=s<0&&null!=l&&10!==l?65535+s+1:s).toString(l)))]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}var s,l};if("System.UInt16"===e)return e=>n=>{const t=r,o=e,i=n,u=Pi(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}};if("System.Int32"===e)return e=>n=>{const t=r,o=e,i=n,u=Gi(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,en(e))]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}};if("System.UInt32"===e)return e=>n=>{const t=r,o=e,i=n,u=Ui(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[Ft(t),i,"Unkown value provided for the enum"])]])}};{const e=Ft(r),n=Wn(Ln("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>n(e)}}if(jt(r)){if(Kt(r)){const t=it((t=>Ji(e,n,!1,t)),Zt(r),null);return e=>n=>Array.isArray(n)?tr((e=>bt(e)),qi("tuple elements",t,e,n)):new nr(1,[[e,new rr(0,["an array",n])]])}{const s=Ft(Lt(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=Ji(e,n,!0,Ot(r)[0]),e=>n=>{return t=gn(2,o),r=e,null==(i=n)?new nr(0,[void 0]):tr(nt,t(r,i));var t,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=Ji(e,n,!1,Ot(r)[0]),e=>n=>$i(gn(2,i),e,n);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const t=Ji(e,n,!1,Ot(r)[0]),o=Ji(e,n,!1,Ot(r)[1]);let i;const s=xt([e=>n=>function(e,n,t,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new nr(1,[[t,new rr(0,["an object",r])]]):mo(((o,i)=>{if(0===o.tag){const u=e(t,i);if(0===u.tag){const e=n(t+"."+i,r[i]);return 0===e.tag?new nr(0,[mt([u.fields[0],e.fields[0]],o.fields[0])]):new nr(1,[e.fields[0]])}return new nr(1,[u.fields[0]])}return o}),new nr(0,[pt()]),Object.keys(r))}(gn(2,t),gn(2,o),e,n),(u=Bi(gn(2,t),gn(2,o)),e=>n=>$i(gn(2,u),e,n))]);return i=e=>n=>{return t=e,r=n,((e,n)=>{e:for(;;){const o=e,i=n;if(wt(o))return new nr(1,[[t,new rr(7,[i])]]);{const u=Mi(t,gn(2,yt(o)),r);if(1===u.tag){e=vt(o),n=kt(i,gt(u.fields[0]));continue e}return new nr(0,[u.fields[0]])}}})(s,pt());var t,r},e=>n=>function(e,n,t,r){const o=n(t,r);return 1===o.tag?new nr(1,[o.fields[0]]):new nr(0,[e(o.fields[0])])}(Li,gn(2,i),e,n)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const t=Ji(e,n,!1,Ot(r)[0]);return e=>n=>{const r=Hi(gn(2,t),e,n);return 0===r.tag?new nr(0,[Vi(r.fields[0])]):new nr(1,[r.fields[0]])}}return zi(e,n,t,r)}}return"System.Boolean"===s?e=>n=>{return t=e,"boolean"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a boolean",r])]]);var t,r}:"Microsoft.FSharp.Core.Unit"===s?e=>n=>{return t=e,null==(r=n)?new nr(0,[void 0]):new nr(1,[[t,new rr(0,["null",r])]]);var t,r}:"System.String"===s?e=>n=>{return t=e,"string"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a string",r])]]);var t,r}:"System.SByte"===s?Ai:"System.Byte"===s?Ri:"System.Int16"===s?Di:"System.UInt16"===s?Pi:"System.Int32"===s?Gi:"System.UInt32"===s?Ui:"System.Double"===s?e=>n=>{return t=e,"number"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a float",r])]]);var t,r}:"System.Single"===s?e=>n=>{return t=e,"number"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a float32",r])]]);var t,r}:"System.DateTime"===s?e=>n=>function(e,n){if("string"==typeof n){let r,o=Cn(-621355968e5,0);return r=[En(n,new Un((()=>o),(e=>{o=e}))),o],r[0]?new nr(0,[(t=r[1],1===t.kind?t:Cn(t.getTime(),1))]):new nr(1,[[e,new rr(0,["a datetime",n])]])}var t;return new nr(1,[[e,new rr(0,["a datetime",n])]])}(e,n):"System.DateTimeOffset"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r=mr(-621355968e5,0);return t=[gr(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a datetimeoffset",n])]])}return new nr(1,[[e,new rr(0,["a datetime",n])]])}(e,n):"System.TimeSpan"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r=0;return t=[lo(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a timespan",n])]])}return new nr(1,[[e,new rr(0,["a timespan",n])]])}(e,n):"System.Guid"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r="00000000-0000-0000-0000-000000000000";return t=[hr(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a guid",n])]])}return new nr(1,[[e,new rr(0,["a guid",n])]])}(e,n):"System.Object"===s?e=>e=>new nr(0,[e]):zi(e,n,t,r)}{const e=l;return n=>t=>e.contents(n)(t)}}function Zi(e,n,t){const r=rt(n,new or(0,[]));return Ji(function(e){return null!=e?Qo(((e,n)=>new Un(n[1])),e.Coders):ei({Compare:hn})}(t),r,!1,e)}class Yi extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["AccessRole"]}}function Xi(e){return new Yi(0,[e])}function Ki(e){return function(e,n,t){return null!=function(e,n){return((n,t)=>{for(;;){const r=n,o=t;if(ht(o))return;if(e(dt(o)))return r;n=r+1,t=_t(o)}})(0,n)}((n=>t.Equals(e,n)),n)}(new Yi(0,["BankDetails.Access"]),e,{Equals:an,GetHashCode:sn})?nt(void 0):void 0}class Qi extends Gn{constructor(e,n){super(),this.UserName=e,this.Roles=n}}class eu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Inherited","Default","Specific"]}}class nu extends Gn{constructor(e,n,t){super(),this.MaxAccounts=0|e,this.ConfigOwnership=n,this.AllowPercentageSplit=t}}const tu=(e,n)=>{X((()=>{const n=e();return()=>{n.Dispose()}}),n)};function ru(e){return{Dispose(){e()}}}function ou(e){return je.useRef(e)}function iu(e){const n=ou(e),t=function(e,t){const r=rt([],[]);return je.useCallback((e=>n.current(e)),r)}();var r,o;return r=()=>{n.current=e},o=e=>(r(),ru((()=>{}))),K((()=>{const e=o();return()=>{e.Dispose()}})),t}function uu(e){return je.useState(e)}class su{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)}}}Dispose(){}}class lu extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,lu.prototype)}}class cu{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>cu.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function au(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new lu);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError($n(e))}}));else try{e(n)}catch(e){n.onError($n(e))}}}const fu=new class{Bind(e,n){return function(e,n){return au((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError($n(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 au((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 au((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return au((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 au((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError($n(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 au((e=>e.onSuccess(void 0)))}};function hu(e){}const du=new su;function _u(e,n){return function(e,n){return function(e,n,t,r,o){"function"!=typeof n&&(o=n,n=void 0);const i=new cu;e({onSuccess:n||hu,onError:t||hu,onCancel:r||hu,cancelToken:o||du,trampoline:i})}(e,n)}(e,n)}class pu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function mu(e,n){const t=ou(function(e){const n=new su(!1);return n}());return tu((()=>ru((()=>{t.current.cancel()}))),[]),iu((r=>{var o,i;null!=(i=t.current)&&i.isCancelled||_u((o=r,fu.Delay((()=>fu.TryWith(fu.Delay((()=>(n(new pu(1,[])),fu.Bind(e(o),(e=>(n(new pu(2,[e])),fu.Zero())))))),(e=>(n(new pu(3,[e])),fu.Zero())))))),t.current)}))}function gu(e,n){return new nr(0,[n])}new class{constructor(){}};function wu(e){const n=gu();return fu.Return(n)}function yu(e,n){return fu.Delay(n)}new class{constructor(){}};class vu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class bu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Header"]}}class Cu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Su extends Gn{constructor(e,n,t,r,o,i,u,s){super(),this.url=e,this.method=n,this.headers=t,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=u,this.content=s}}class Eu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class xu extends Gn{constructor(e,n,t,r,o){super(),this.statusCode=0|e,this.responseText=n,this.responseType=t,this.responseHeaders=r,this.content=o}}const ku=new Su("",new vu(0,[]),pt(),!1,void 0,void 0,void 0,new Cu(0,[]));function Tu(e,n){return"string"!=typeof(t=n)||0===t.length?[n]:Kn(n,[e],null,0);var t}function Iu(e){return new Su(e,ku.method,ku.headers,ku.withCredentials,ku.overridenMimeType,ku.overridenResponseType,ku.timeout,ku.content)}function Ou(e,n){return new Su(n.url,e,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function Mu(e){return function(e){return au((n=>e([n.onSuccess,n.onError,n.onCancel])))}((n=>{const t=new XMLHttpRequest;t.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),t.onreadystatechange=()=>{let e,r,o,i,u,s;var l,c;4===t.readyState&&n[0]((r=t.responseType,e=""===r||"text"===r?t.responseText:"",o=0|t.status,i=t.responseType,s=t.responseType,u=""===s||"text"===s?new Eu(0,[t.responseText]):new Eu("arraybuffer"===s?2:"blob"===s?1:3,[t.response]),new xu(o,e,i,(l=function(e,n,t){const r=[];for(let t=0;t<=n.length-1;t++){const o=e(n[t]);if(null!=o){const e=tt(o);r.push(e)}}return an(null,null)?r:it((e=>e),r,null)}((e=>{const n=xt(Tu(":",e));return wt(n)?void 0:[yt(n).toLocaleLowerCase(),Zn(":",vt(n)).trim()]}),Tu("\r\n",t.getAllResponseHeaders())),zo(c={Compare:hn},Ho(c,l))),u)))};const r=Ze(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t.setRequestHeader(e.fields[0],e.fields[1])}}finally{qe(r)}t.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(null==o);else{const e=o;t.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?t.responseType="blob":2===i.tag?t.responseType="arraybuffer":t.responseType="text");const u=e.timeout;if(null==u);else{const e=0|u;t.timeout=0|e}const s=e.content;0===e.method.tag?t.send(nt(void 0)):1===s.tag||3===s.tag||2===s.tag?t.send(nt(s.fields[0])):t.send(nt(void 0))}))}function Nu(e){return e}function Au(e){return Array.from(e)}function Ru(e){return bn(e,"O")}function Du(e){return function(e,n="c",t){if(-1===["c","g","G"].indexOf(n))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return io(e/864e5)}(e)),o=Math.abs(function(e){return io(e%864e5/36e5)}(e)),i=Math.abs(function(e){return io(e%36e5/6e4)}(e)),u=Math.abs(function(e){return io(e%6e4/1e3)}(e)),s=Math.abs(function(e){return io(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==n&&"g"!==n?"c"===n?r+".":r+":":""}${"g"===n?o:Ke(o,2)}:${Ke(i,2)}:${Ke(u,2)}${0!==s||"c"!==n&&"g"!==n?"g"===n?"."+Ke(s,3):"."+function(e,n,t){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(e)}function Pu(){return null}function Gu(e){return bn(e,"O")}function Uu(e,n){return JSON.stringify(n,gn(2,null),nt(e))}function Fu(e,n,t,r){let o;const i=new Un(null),u=Xo(Ft(r),i,e);let s;if(Xt(r)){const e=it((e=>{const r=lr(n,Ut(e)),o=$u(u,n,t,e[1]);return n=>i=>{const u=function(e,n){return e[n[0]]}(n,e);return(!t||t&&null!=u)&&(i[r]=o(u)),i}}),Jt(r),null);s=n=>mo(((e,t)=>t(n)(e)),{},e)}else{if(!Yt(r))throw new Error((o=Ft(r),qn(Ln("Cannot generate auto encoder for %s. Please pass an extra encoder."))(o)));s=e=>{const o=function(e,n){const t=zt(n)[e.tag];if(null==t)throw new Error(`Cannot find case ${e.name} in union type`);return[t,e.fields]}(e,r),i=o[0],s=o[1],l=0|s.length;if(0===l)return Ut(i);{const e=0|l,r=Qt(i),o=ot(new Array(e+1),0,e+1,null);o[0]=Ut(i);for(let i=1;i<=e;i++){const e=$u(u,n,t,r[i-1][1]);o[i]=e(s[i-1])}return o}}}return i.contents=s,s}function $u(e,n,t,r){const o=Ft(r),i=Ko(o,e);if(null==i){if($t(r)){const o=$u(e,n,t,Ht(r));return e=>Au(wo(o,e))}if(Bt(r)){const e=Ft(Vt(r));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Ft(r);return Wn(Ln("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e)}}if(jt(r)){if(Kt(r)){const o=it((r=>$u(e,n,t,r)),Zt(r),null);return e=>Au(yo(((e,n)=>o[e](n)),e))}{const o=Ft(Lt(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Xe((()=>{return o=$u(e,n,t,Ot(r)[0]),e=>{return function(e,n){return null!=e?tt(e):null}(null!=(n=e)?nt(o(tt(n))):void 0);var n};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=$u(e,n,t,Ot(r)[0]);return e=>Au(wo(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Ot(r)[0],i=$u(e,n,t,Ot(r)[1]);if("System.String"===Ft(o)||"System.Guid"===Ft(o))return e=>mo(((e,n)=>{const t=n;return e[t[0]]=i(t[1]),e}),{},e);{let r;const u=$u(e,n,t,o);return r=u,e=>Au(wo((e=>{const n=e;return[r(n[0]),i(n[1])]}),e))}}return Fu(e,n,t,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Pu:"System.String"===o?e=>e:"System.SByte"===o?e=>e:"System.Byte"===o?e=>e:"System.Int16"===o?e=>e:"System.UInt16"===o?e=>e:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?Gu:"System.DateTimeOffset"===o?Ru:"System.TimeSpan"===o?Du:"System.Guid"===o?Nu:"System.Object"===o?e=>e:Fu(e,n,t,r)}{const e=i;return n=>e.contents(n)}}function Hu(e,n,t,r){const o=rt(n,new or(0,[])),i=rt(r,!0);return $u(function(e){return null!=e?Qo(((e,n)=>new Un(n[0])),e.Coders):ei({Compare:hn})}(t),o,i,e)}function ju(e){return`${e}/bank-details/admin`}function Bu(e,n){return yu(0,(()=>{const t=(r=function(e){return new bu(0,["Authorization",e])}(qn(Ln("Bearer %s"))(e)),new Su((o=n).url,o.method,kt(o.headers,gt(r)),o.withCredentials,o.overridenMimeType,o.overridenResponseType,o.timeout,o.content));var r,o;let i;const u=Mu(t);return i=fu.Bind(u,(e=>fu.Return(new nr(0,[e])))),fu.Delay((()=>fu.Bind(i,(e=>{let n,r;const o=e;return 1===o.tag?fu.Return(new nr(1,[o.fields[0]])):fu.ReturnFrom((n=o.fields[0],429===n.statusCode||n.statusCode>=500?(r=Mu(t),fu.Bind(r,(e=>fu.Return(new nr(0,[e]))))):function(e,n){const t=gu(0,n);return fu.Return(t)}(0,n)))}))))}))}function Lu(){return(Lu=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function Vu(e){this.getChildContext=function(){return e.context};var n=e.children,t=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n.indexOf(t=i[r])>=0||(o[t]=e[t]);return o}(e,["context","children"]);return P(n,t)}function qu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=f(Vu,Lu({},this._props,{context:e.detail.context}),function e(n,t){if(3===n.nodeType)return n.data;if(1!==n.nodeType)return null;var r=[],o={},i=0,u=n.attributes,s=n.childNodes;for(i=u.length;i--;)"slot"!==u[i].name&&(o[u[i].name]=u[i].value,o[Wu(u[i].name)]=u[i].value);for(i=s.length;i--;){var l=e(s[i],null),c=s[i].slot;c?o[c]=f(Zu,{name:c},l):r[i]=l}var a=t?f(Zu,null,r):r;return f(t||n.nodeName.toLowerCase(),o,a)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?D:R)(this._vdom,this._root)}function Wu(e){return e.replace(/-(\w)/g,(function(e,n){return n?n.toUpperCase():""}))}function zu(e,n,t){if(this._vdom){var r={};r[e]=t=null==t?void 0:t,r[Wu(e)]=t,this._vdom=P(this._vdom,r),R(this._vdom,this._root)}}function Ju(){R(this._vdom=null,this._root)}function Zu(e,n){var t=this;return f("slot",Lu({},e,{ref:function(e){e?(t.ref=e,t._listener||(t._listener=function(e){e.stopPropagation(),e.detail.context=n},e.addEventListener("_preact",t._listener))):t.ref.removeEventListener("_preact",t._listener)}}))}function Yu(e){let n;return Be("div",pn(xt([["className","py-10"],(n=[Be("label",{className:"inline-flex text-sm font-medium text-gray-900 mr-5",for:"max-accounts",children:`Max Accounts ${t=e.configOwnership,2===t.tag?"":`(${t})`}: `}),Be("input",{className:"inline-flex",id:"max-accounts",type:"number",max:3,value:e.selected,onChange:n=>{const t=n.target.valueAsNumber;null==t||Number.isNaN(t)||e.handleMaxAccountChanged(function(e,n=0){const t=Math.pow(10,n),r=+(n?e*t:e).toFixed(8),o=Math.floor(r),i=r-o,u=i>.5-1e-8&&i<.5+1e-8?o%2==0?o:o+1:Math.round(r);return n?u/t:u}(t))}})],["children",je.Children.toArray(Array.from(n))])])));var t}function Xu(e){let n;const t=e.msg;return Be("div",pn(xt([["className","text-sm font-medium text-gray-900 my-5"],(n=[Be("span",{children:[t]})],["children",je.Children.toArray(Array.from(n))])])))}function Ku(e){let n;const t=function(e){let n;const t=Kn(null==e?"":e,["."],null,0);if(null==t||3!==t.length)n=new nr(1,["Failed to identify the user"]);else{let e;const o=t[1];e=atob(o),n=Ni(gn(2,Zi(At(["Name",Dt],["Roles",(r=Dt,new It("[]",[r]))]),new or(1,[]),void 0)),e)}var r;if(1===n.tag)return new Qi(void 0,pt());{const e=n.fields[0];return new Qi(e.Name,function(e,n){const t=at(),r=Ct(((n,t)=>{const r=new lt(e(t),void 0);return n.tail=r,r}),t,n),o=at();return r.tail=o,_t(t)}(Xi,xt(e.Roles)))}}(e.accessToken),r=uu(new nu(0,new eu(1,[]),!1)),o=r[1],i=r[0],u=uu(new pu(0,[])),s=u[1],l=u[0],c=e=>{o(new nu(e,i.ConfigOwnership,i.AllowPercentageSplit))},a=()=>yu(0,(()=>{const n=(t=e.backendUrl,r=e.accessToken,u=e.partnerId,s=e.accountId,yu(0,(()=>{const e=Bu(r,Ou(new vu(0,[]),Iu((n=ju(t),null==s?`${n}/partners/${u}/config`:`${n}/partners/${u}/accounts/${tt(s)}/config`))));var n;return fu.Delay((()=>fu.Bind(e,(e=>{let n,t;const r=e;return 1===r.tag?fu.Return(new nr(1,[r.fields[0]])):fu.ReturnFrom((n=r.fields[0],200===n.statusCode?(t=Ni(gn(2,Zi(new It("Types.Model",[],nu,void 0,(()=>[["MaxAccounts",Gt],["ConfigOwnership",function(e,n,t,r){const o=new It("Types.ConfigOwnership",[],t,void 0,void 0,(()=>{const e=t.prototype.cases();return[[],[],[]].map(((n,t)=>new Tt(o,t,e[t],n)))}));return o}(0,0,eu)],["AllowPercentageSplit",Pt]])),new or(1,[]),void 0)),n.responseText),fu.Return(t)):fu.Return(new nr(1,[n.responseText]))))}))))})));var t,r,u,s;return fu.Delay((()=>fu.Bind(n,(e=>{let n;const t=e;return 1===t.tag?fu.Return(new nr(1,[t.fields[0]])):fu.ReturnFrom((n=t.fields[0],o(new nu(n.MaxAccounts,n.ConfigOwnership,i.AllowPercentageSplit)),wu()))}))))})),h=mu(a,s),d=mu((()=>yu(0,(()=>{const n=(t=e.backendUrl,r=e.accessToken,o=e.partnerId,u=e.accountId,s=i.MaxAccounts,l=i.AllowPercentageSplit,yu(0,(()=>{let e;const n=(i=ju(t),null==u?`${i}/partners/${o}/config`:`${i}/partners/${o}/accounts/${u}/config`);var i;const c=Bu(r,Ou(new vu(2,[]),(a=new Cu(1,[(e={AllowPercentageSplit:l,MaxAccounts:s},Uu(0,Hu(At(["AllowPercentageSplit",Pt],["MaxAccounts",Gt]),new or(1,[]),void 0,void 0)(e)))]),f=Iu(n),new Su(f.url,f.method,f.headers,f.withCredentials,f.overridenMimeType,f.overridenResponseType,f.timeout,a))));var a,f;return fu.Delay((()=>fu.Bind(c,(e=>{let n;const t=e;return 1===t.tag?fu.Return(new nr(1,[t.fields[0]])):fu.ReturnFrom((n=t.fields[0],200===n.statusCode?fu.Return(new nr(0,[void 0])):fu.Return(new nr(1,[n.responseText]))))}))))})));var t,r,o,u,s,l;return fu.Delay((()=>fu.Bind(n,(e=>{let n;const t=e;return 1===t.tag?fu.Return(new nr(1,[t.fields[0]])):fu.ReturnFrom((n=a(),fu.Bind(n,(e=>{const n=tr((()=>{}),e);return fu.Return(n)}))))}))))}))),s),_=mu((()=>yu(0,(()=>{const n=(t=e.backendUrl,r=e.accessToken,o=e.partnerId,i=e.accountId,yu(0,(()=>{const e=Bu(r,Ou(new vu(4,[]),Iu((n=ju(t),null==i?`${n}/partners/${o}/config`:`${n}/partners/${o}/accounts/${tt(i)}/config`))));var n;return fu.Delay((()=>fu.Bind(e,(e=>{let n;const t=e;return 1===t.tag?fu.Return(new nr(1,[t.fields[0]])):fu.ReturnFrom((n=t.fields[0],200===n.statusCode?fu.Return(new nr(0,[void 0])):fu.Return(new nr(1,[n.responseText]))))}))))})));var t,r,o,i;return fu.Delay((()=>fu.Bind(n,(e=>{let n;const t=e;return 1===t.tag?fu.Return(new nr(1,[t.fields[0]])):fu.ReturnFrom((n=a(),fu.Bind(n,(e=>{const n=tr((()=>{}),e);return fu.Return(n)}))))}))))}))),s);let p,m,g,w;switch(function(e,n){tu((n=>(e(),ru((()=>{})))),[])}(h),2===l.tag?1===l.fields[0].tag?(m=0,g=l.fields[0].fields[0]):m=2:3===l.tag?(m=1,w=l.fields[0]):m=2,m){case 0:p=f(Xu,{msg:g});break;case 1:p=f(Xu,{msg:Dn(w)});break;case 2:p=null}if(null!=Ki(t.Roles)){const e=xt([f(Yu,{configOwnership:i.ConfigOwnership,handleMaxAccountChanged:c,selected:i.MaxAccounts}),Be("div",pn(gt((n=[Be("button",{className:"inline-flex items-center rounded border border-transparent bg-indigo-600 px-2.5 py-1.5 mr-5 text-xs font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none",type:"button",children:"Update",onClick:e=>{d()}}),Be("button",{className:"inline-flex items-center rounded border border-transparent bg-red-600 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none",type:"button",children:"Reset",onClick:e=>{_()}}),p],["children",je.Children.toArray(Array.from(n))]))))]);return Be("div",{children:je.Children.toArray(Array.from(e))})}return f(Xu,{msg:"You do not have the appropriate permissions to view this information"})}new xu(0,"","",ei({Compare:hn}),new Eu(0,[""])),function(e,n,t,r){function o(){var n=Reflect.construct(HTMLElement,[],o);return n._vdomComponent=e,n._root=n,n}(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=qu,o.prototype.attributeChangedCallback=zu,o.prototype.disconnectedCallback=Ju,t=t||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=t,t.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(n){this._vdom?this.attributeChangedCallback(e,null,n):(this._props||(this._props={}),this._props[e]=n,this.connectedCallback());var t=typeof n;null!=n&&"string"!==t&&"boolean"!==t&&"number"!==t||this.setAttribute(e,n)}})})),customElements.define("superhero-bank-details",o)}((e=>f(Ku,e)))})();
1
+ (()=>{"use strict";var e,n,t,r,o,i,u={},s=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(e,n){for(var t in n)e[t]=n[t];return e}function a(e){var n=e.parentNode;n&&n.removeChild(e)}function f(n,t,r){var o,i,u,s={};for(u in t)"key"==u?o=t[u]:"ref"==u?i=t[u]:s[u]=t[u];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===s[u]&&(s[u]=n.defaultProps[u]);return h(n,s,o,i,null)}function h(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++t:u};return null==u&&null!=n.vnode&&n.vnode(s),s}function d(e){return e.children}function _(e,n){this.props=e,this.context=n}function p(e,n){if(null==n)return e.__?p(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?p(e):null}function m(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 m(e)}}function g(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!w.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=r.length;)e=r.sort((function(e,n){return e.__v.__b-n.__v.__b})),r=[],e.some((function(e){var n,t,r,o,i,u;e.__d&&(i=(o=(n=e).__v).__e,(u=n.__P)&&(t=[],(r=c({},o)).__v=o.__v+1,T(u,o,r,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,t,null==i?p(o):i,o.__h),I(t,o),o.__e!=i&&m(o)))}))}function y(e,n,t,r,o,i,l,c,a,f){var _,m,g,w,y,b,S,E=r&&r.__k||s,x=E.length;for(t.__k=[],_=0;_<n.length;_++)if(null!=(w=t.__k[_]=null==(w=n[_])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(d,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,w.ref?w.ref:null,w.__v):w)){if(w.__=t,w.__b=t.__b+1,null===(g=E[_])||g&&w.key==g.key&&w.type===g.type)E[_]=void 0;else for(m=0;m<x;m++){if((g=E[m])&&w.key==g.key&&w.type===g.type){E[m]=void 0;break}g=null}T(e,w,g=g||u,o,i,l,c,a,f),y=w.__e,(m=w.ref)&&g.ref!=m&&(S||(S=[]),g.ref&&S.push(g.ref,null,w),S.push(m,w.__c||y,w)),null!=y?(null==b&&(b=y),"function"==typeof w.type&&w.__k===g.__k?w.__d=a=v(w,a,e):a=C(e,w,g,E,y,a),"function"==typeof t.type&&(t.__d=a)):a&&g.__e==a&&a.parentNode!=e&&(a=p(g))}for(t.__e=b,_=x;_--;)null!=E[_]&&N(E[_],E[_]);if(S)for(_=0;_<S.length;_++)M(S[_],S[++_],S[++_])}function v(e,n,t){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,n="function"==typeof r.type?v(r,n,t):C(t,r,r,o,r.__e,n));return n}function b(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){b(e,n)})):n.push(e)),n}function C(e,n,t,r,o,i){var u,s,l;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==t||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+=1)if(s==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function S(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||l.test(n)?t:t+"px"}function E(e,n,t,r,o){var i;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||S(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||S(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])i=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+i]=t,t?r||e.addEventListener(n,i?k:x,i):e.removeEventListener(n,i?k:x,i);else if("dangerouslySetInnerHTML"!==n){if(o)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&&-1==n.indexOf("-")?e.removeAttribute(n):e.setAttribute(n,t))}}function x(e){this.l[e.type+!1](n.event?n.event(e):e)}function k(e){this.l[e.type+!0](n.event?n.event(e):e)}function T(e,t,r,o,i,u,s,l,a){var f,h,p,m,g,w,v,b,C,S,E,x,k,T,I,M=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(a=r.__h,l=t.__e=r.__e,t.__h=null,u=[l]),(f=n.__b)&&f(t);try{e:if("function"==typeof M){if(b=t.props,C=(f=M.contextType)&&o[f.__c],S=f?C?C.props.value:f.__:o,r.__c?v=(h=t.__c=r.__c).__=h.__E:("prototype"in M&&M.prototype.render?t.__c=h=new M(b,S):(t.__c=h=new _(b,S),h.constructor=M,h.render=A),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=S,h.__n=o,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=M.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=c({},h.__s)),c(h.__s,M.getDerivedStateFromProps(b,h.__s))),m=h.props,g=h.state,p)null==M.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==M.getDerivedStateFromProps&&b!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,S),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,S)||t.__v===r.__v){for(h.props=b,h.state=h.__s,t.__v!==r.__v&&(h.__d=!1),h.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<h._sb.length;E++)h.__h.push(h._sb[E]);h._sb=[],h.__h.length&&s.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,S),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(m,g,w)}))}if(h.context=S,h.props=b,h.__v=t,h.__P=e,x=n.__r,k=0,"prototype"in M&&M.prototype.render){for(h.state=h.__s,h.__d=!1,x&&x(t),f=h.render(h.props,h.state,h.context),T=0;T<h._sb.length;T++)h.__h.push(h._sb[T]);h._sb=[]}else do{h.__d=!1,x&&x(t),f=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++k<25);h.state=h.__s,null!=h.getChildContext&&(o=c(c({},o),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(m,g)),I=null!=f&&f.type===d&&null==f.key?f.props.children:f,y(e,Array.isArray(I)?I:[I],t,r,o,i,u,s,l,a),h.base=t.__e,t.__h=null,h.__h.length&&s.push(h),v&&(h.__E=h.__=null),h.__e=!1}else null==u&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=O(r.__e,t,r,o,i,u,s,a);(f=n.diffed)&&f(t)}catch(e){t.__v=null,(a||null!=u)&&(t.__e=l,t.__h=!!a,u[u.indexOf(l)]=null),n.__e(e,t,r)}}function I(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function O(n,t,r,o,i,s,l,c){var f,h,d,_=r.props,m=t.props,g=t.type,w=0;if("svg"===g&&(i=!0),null!=s)for(;w<s.length;w++)if((f=s[w])&&"setAttribute"in f==!!g&&(g?f.localName===g:3===f.nodeType)){n=f,s[w]=null;break}if(null==n){if(null===g)return document.createTextNode(m);n=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),s=null,c=!1}if(null===g)_===m||c&&n.data===m||(n.data=m);else{if(s=s&&e.call(n.childNodes),h=(_=r.props||u).dangerouslySetInnerHTML,d=m.dangerouslySetInnerHTML,!c){if(null!=s)for(_={},w=0;w<n.attributes.length;w++)_[n.attributes[w].name]=n.attributes[w].value;(d||h)&&(d&&(h&&d.__html==h.__html||d.__html===n.innerHTML)||(n.innerHTML=d&&d.__html||""))}if(function(e,n,t,r,o){var i;for(i in t)"children"===i||"key"===i||i in n||E(e,i,null,t[i],r);for(i in n)o&&"function"!=typeof n[i]||"children"===i||"key"===i||"value"===i||"checked"===i||t[i]===n[i]||E(e,i,n[i],t[i],r)}(n,m,_,i,c),d)t.__k=[];else if(w=t.props.children,y(n,Array.isArray(w)?w:[w],t,r,o,i&&"foreignObject"!==g,s,l,s?s[0]:r.__k&&p(r,0),c),null!=s)for(w=s.length;w--;)null!=s[w]&&a(s[w]);c||("value"in m&&void 0!==(w=m.value)&&(w!==n.value||"progress"===g&&!w||"option"===g&&w!==_.value)&&E(n,"value",w,_.value,!1),"checked"in m&&void 0!==(w=m.checked)&&w!==n.checked&&E(n,"checked",w,_.checked,!1))}return n}function M(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function N(e,t,r){var o,i;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||M(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&N(o[i],t,r||"function"!=typeof e.type);r||null==e.__e||a(e.__e),e.__=e.__e=e.__d=void 0}function A(e,n,t){return this.constructor(e,t)}function D(t,r,o){var i,s,l;n.__&&n.__(t,r),s=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],T(r,t=(!i&&o||r).__k=f(d,null,[t]),s||u,u,void 0!==r.ownerSVGElement,!i&&o?[o]:s?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:s?s.__e:r.firstChild,i),I(l,t)}function R(e,n){D(e,n,R)}function P(n,t,r){var o,i,u,s=c({},n.props);for(u in t)"key"==u?o=t[u]:"ref"==u?i=t[u]:s[u]=t[u];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),h(n.type,s,o||n.key,i||n.ref,null)}e=s.slice,n={__e:function(e,n,t,r){for(var o,i,u;n=n.__;)if((o=n.__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(n){e=n}throw e}},t=0,_.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof e&&(e=e(c({},t),this.props)),e&&c(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),g(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),g(this))},_.prototype.render=d,r=[],w.__r=0,i=0;var G,U,$,H,F=0,j=[],B=[],L=n.__b,V=n.__r,q=n.diffed,W=n.__c,z=n.unmount;function J(e,t){n.__h&&n.__h(U,e,F||t),F=0;var r=U.__H||(U.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:B}),r.__[e]}function Z(e){return F=1,Y(ue,e)}function Y(e,n,t){var r=J(G++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):ue(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){U.u=!0;var o=U.shouldComponentUpdate;U.shouldComponentUpdate=function(e,n,t){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,n,t);var u=!1;return i.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!o||o.call(this,e,n,t))}}return r.__N||r.__}function X(e,t){var r=J(G++,3);!n.__s&&ie(r.__H,t)&&(r.__=e,r.i=t,U.__H.__h.push(r))}function K(e,t){var r=J(G++,4);!n.__s&&ie(r.__H,t)&&(r.__=e,r.i=t,U.__h.push(r))}function Q(e,n){var t=J(G++,7);return ie(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function ee(){for(var e;e=j.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){U=null,L&&L(e)},n.__r=function(e){V&&V(e),G=0;var n=(U=e.__c).__H;n&&($===U?(n.__h=[],U.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=B,e.__N=e.i=void 0}))):(n.__h.forEach(re),n.__h.forEach(oe),n.__h=[])),$=U},n.diffed=function(e){q&&q(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==j.push(t)&&H===n.requestAnimationFrame||((H=n.requestAnimationFrame)||te)(ee)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==B&&(e.__=e.__V),e.i=void 0,e.__V=B}))),$=U=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),W&&W(e,t)},n.unmount=function(e){z&&z(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),r.__H=void 0,t&&n.__e(t,r.__v))};var ne="function"==typeof requestAnimationFrame;function te(e){var n,t=function(){clearTimeout(r),ne&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);ne&&(n=requestAnimationFrame(t))}function re(e){var n=U,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),U=n}function oe(e){var n=U;e.__c=e.__(),U=n}function ie(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function ue(e,n){return"function"==typeof n?n(e):n}function se(e,n){for(var t in n)e[t]=n[t];return e}function le(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 ce(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}function ae(e){this.props=e}(ae.prototype=new _).isPureReactComponent=!0,ae.prototype.shouldComponentUpdate=function(e,n){return le(this.props,e)||le(this.state,n)};var fe=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),fe&&fe(e)};var he="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,n){return null==e?null:b(b(e).map(n))},_e={map:de,forEach:de,count:function(e){return e?b(e).length:0},only:function(e){var n=b(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:b},pe=n.__e;n.__e=function(e,n,t,r){if(e.then)for(var o,i=n;i=i.__;)if((o=i.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);pe(e,n,t,r)};var me=n.unmount;function ge(e,n,t){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=se({},e)).__c&&(e.__c.__P===t&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ge(e,n,t)}))),e}function we(e,n,t){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return we(e,n,t)})),e.__c&&e.__c.__P===n&&(e.__e&&t.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=t)),e}function ye(){this.__u=0,this.t=null,this.__b=null}function ve(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function be(){this.u=null,this.o=null}n.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),me&&me(e)},(ye.prototype=new _).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=ve(r.__v),i=!1,u=function(){i||(i=!0,t.__R=null,o?o(s):s())};t.__R=u;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=we(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},l=!0===n.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},ye.prototype.componentWillUnmount=function(){this.t=[]},ye.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]=ge(this.__b,t,r.__O=r.__P)}this.__b=null}var o=n.__a&&f(d,null,e.fallback);return o&&(o.__h=null),[f(d,null,n.__a?null:e.children),o]};var Ce=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 Se(e){return this.getChildContext=function(){return e.context},e.children}function Ee(e){var n=this,t=e.i;n.componentWillUnmount=function(){D(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)}}),D(f(Se,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(be.prototype=new _).__a=function(e){var n=this,t=ve(n.__v),r=n.o.get(e);return r[0]++,function(o){var i=function(){n.props.revealOrder?(r.push(o),Ce(n,e,r)):o()};t?t(i):i()}},be.prototype.render=function(e){this.u=null,this.o=new Map;var n=b(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},be.prototype.componentDidUpdate=be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Ce(e,t,n)}))};var xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ke=/^(?: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]/,Te="undefined"!=typeof document,Ie=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};_.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(_.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Oe=n.event;function Me(){}function Ne(){return this.cancelBubble}function Ae(){return this.defaultPrevented}n.event=function(e){return Oe&&(e=Oe(e)),e.persist=Me,e.isPropagationStopped=Ne,e.isDefaultPrevented=Ae,e.nativeEvent=e};var De,Re={configurable:!0,get:function(){return this.class}},Pe=n.vnode;n.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var o=-1===n.indexOf("-");for(var i in r={},t){var u=t[i];Te&&"children"===i&&"noscript"===n||"value"===i&&"defaultValue"in t&&null==u||("defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===u?u="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+n)&&!Ie(t.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&&ke.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"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=b(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=b(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,t.class!=t.className&&(Re.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Re))}e.$$typeof=xe,Pe&&Pe(e)};var Ge=n.__r;n.__r=function(e){Ge&&Ge(e),De=e.__c};var Ue={ReactCurrentDispatcher:{current:{readContext:function(e){return De.__n[e.__c].props.value}}}};function $e(e){return!!e&&e.$$typeof===xe}function He(e){e()}var Fe={useState:Z,useId:function(){var e=J(G++,11);if(!e.__){for(var n=U.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__},useReducer:Y,useEffect:X,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,He]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,n){var t=n(),r=Z({h:{__:t,v:n}}),o=r[0].h,i=r[1];return K((function(){o.__=t,o.v=n,ce(o.__,n())||i({h:o})}),[e,t,n]),X((function(){return ce(o.__,o.v())||i({h:o}),e((function(){ce(o.__,o.v())||i({h:o})}))}),[e]),t},startTransition:He,useRef:function(e){return F=5,Q((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){F=6,K((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))},useMemo:Q,useCallback:function(e,n){return F=8,Q((function(){return e}),n)},useContext:function(e){var n=U.context[e.__c],t=J(G++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(U)),n.props.value):e.__},useDebugValue:function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)},version:"17.0.2",Children:_e,render:function(e,n,t){return null==n.__k&&(n.textContent=""),D(e,n),"function"==typeof t&&t(),e?e.__c:null},hydrate:function(e,n,t){return R(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,n){var t=f(Ee,{__v:e,i:n});return t.containerInfo=n,t},createElement:f,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(g)},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 f.bind(null,e)},cloneElement:function(e){return $e(e)?P.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:d,isValidElement:$e,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:_,PureComponent:ae,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:le(this.props,e)}function r(n){return this.shouldComponentUpdate=t,f(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n){var t=se({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=he,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:d,Suspense:ye,SuspenseList:be,lazy:function(e){var n,t,r;function o(o){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return f(t,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ue};const je=Fe,Be=f;function Le(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ve(e){return null!=e&&"function"==typeof e.GetHashCode}function qe(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function We(e,n){var t,r;return(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===(null===(r=Object.getPrototypeOf(n))||void 0===r?void 0:r.constructor)}class ze{constructor(e){this.en=e}GetEnumerator(){return this.en}[Symbol.iterator](){return this}next(){const e=this.en["System.Collections.IEnumerator.MoveNext"]();return{done:!e,value:e?this.en["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}class Je{constructor(e){this.iter=e,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ze(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new Je(e[Symbol.iterator]())}function Ye(e){return{[Symbol.iterator](){return this},next(){const n=e["System.Collections.IEnumerator.MoveNext"]();return{done:!n,value:n?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}}class Xe{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ke(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function Qe(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function en(e,n){return(e=e<0&&null!=n&&10!==n?4294967295+e+1:e).toString(n)}class nn{static id(e){return nn.idMap.has(e)||nn.idMap.set(e,++nn.count),nn.idMap.get(e)}}function tn(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function rn(e){return 2654435761*e|0}function on(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function un(e){var n;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return rn(e);case"string":return tn(e);default:if(Ve(e))return e.GetHashCode();if(Le(e))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=un(e[r]);return on(t)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object){const n=Object.values(e).map((e=>un(e)));return on(n)}return rn(nn.id(e))}}function sn(e){return function(e){return Ve(e)?e.GetHashCode():function(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return rn(e);case"string":return tn(e);default:return rn(nn.id(e))}}(e)}(e)}function ln(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 cn(e,n){return ln(e,n,an)}function an(e,n){var t;return e===n||(null==e?null==n:null!=n&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(n):Le(e)?Le(n)&&cn(e,n):"object"==typeof e&&(e instanceof Date?n instanceof Date&&0===fn(e,n):(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.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 o=0;o<t.length;o++)if(t[o]!==r[o]||!an(e[t[o]],n[r[o]]))return!1;return!0}(e,n))))}function fn(e,n){let t,r;return"offset"in e&&"offset"in n?(t=e.getTime(),r=n.getTime()):(t=e.getTime()+Qe(e),r=n.getTime()+Qe(n)),t===r?0:t<r?-1:1}function hn(e,n){return e===n?0:e<n?-1:1}function dn(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,o=0;r<e.length;r++)if(o=t(e[r],n[r]),0!==o)return o;return 0}(e,n,_n)}function _n(e,n){var t;return e===n?0:null==e?null==n?0:-1:null==n?1:function(e){return null!=e&&"function"==typeof e.CompareTo}(e)?e.CompareTo(n):Le(e)?Le(n)?dn(e,n):-1:"object"!=typeof e?e<n?-1:1:e instanceof Date?n instanceof Date?fn(e,n):-1:(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.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 o=0,i=0;o<t.length;o++){const u=t[o];if(u!==r[o])return u<r[o]?-1:1;if(i=_n(e[u],n[u]),0!==i)return i}return 0}(e,n):-1}function pn(e){const n={};for(const t of e)n[t[0]]=t[1];return n}nn.idMap=new WeakMap,nn.count=0;const mn=Symbol("curried");function gn(e,n){if(null==n||n.length>1)return n;const t=(...t)=>{let r=n;for(let n=0;n<e;n++)r=r(t[n]);return r};return t[mn]=n,t}function wn(e){const n=e<0,t=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+Ke(~~(e/36e5),2)+":"+Ke(t,2)}function yn(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 vn(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const o=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?o%100:o;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 i=t?e.getUTCHours():e.getHours();r=i>12?i%12:i;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:Ke(r,n.length)}))}function bn(e,n,t){return null!=e.offset?function(e,n){var t,r,o;const i=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+wn(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return vn(i,n,!0);switch(n){case"D":case"d":return yn(i,"first");case"T":case"t":return yn(i,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+wn(n)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const t=1===e.kind;if("string"!=typeof n)return t?e.toUTCString():e.toLocaleString();if(1!==n.length)return vn(e,n,t);switch(n){case"D":case"d":return t?yn(e,"first"):e.toLocaleDateString();case"T":case"t":return t?yn(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 Ke(e.getFullYear(),4)+"-"+Ke(e.getMonth()+1,2)+"-"+Ke(e.getDate(),2)+"T"+Ke(e.getHours(),2)+":"+Ke(e.getMinutes(),2)+":"+Ke(e.getSeconds(),2)+"."+Ke(e.getMilliseconds(),3)+(n?wn(-6e4*e.getTimezoneOffset()):"")}}(e,t);default:throw new Error("Unrecognized Date print format")}}(e,n)}function Cn(e,n){const t=new Date(e);return t.kind=0|(null==n?0:n),t}function Sn(e){function n(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||n(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let t=new Date(e),r=null;if(isNaN(t.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,n=0;if(null!=o[2]){const e=o[2].split(":");n=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(n+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const n=new Date;e=new Date(n.getUTCFullYear()+"/"+(n.getUTCMonth()+1)+"/"+n.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,n-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const n=new Date;e=new Date(n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate())}t=new Date(e.getTime()+1e3*n),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}else n();isNaN(t.getTime())&&n()}return[t,r]}function En(e,n){try{return n.contents=function(e,n=!1){const[t,r]=Sn(e),o=null!=r?n&&"Z"===r?1:2:0;return Cn(t.getTime(),o)}(e),!0}catch(e){return!1}}const xn=Symbol("numeric");function kn(e){return"number"==typeof e||(null==e?void 0:e[xn])}function Tn(e,n){return"number"==typeof e?e*n:e[xn]().multiply(n)}function In(e,n){return"number"==typeof e?e.toFixed(n):e[xn]().toFixed(n)}function On(e,n){return"number"==typeof e?e.toPrecision(n):e[xn]().toPrecision(n)}function Mn(e,n){return"number"==typeof e?e.toExponential(n):e[xn]().toExponential(n)}function Nn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[xn]().toHex()}function An(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Dn(e,n,t=0){if(null==n)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=t;const r=[];let o,i=-1;for(;null!=(o=e.exec(n));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Rn(e,n=0){var t,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let n=0,t="[";for(const r of e){if(0===n)t+=Rn(r);else{if(100===n){t+="; ...";break}t+="; "+Rn(r)}n++}return t+"]"}(e);{const o=null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor;return o===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+Rn(t,n+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class Pn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,n){if(0===n.length)return e;{let t,r=!0;return 1===n.length?(t=Rn(n[0]),r=t.indexOf(" ")>=0):t=n.map((e=>Rn(e))).join(", "),e+(r?" (":" ")+t+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>un(e)));return e.splice(0,0,rn(this.tag)),on(e)}Equals(e){return this===e||!!We(this,e)&&this.tag===e.tag&&cn(this.fields,e.fields)}CompareTo(e){return this===e?0:We(this,e)?this.tag===e.tag?dn(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Gn{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+" = "+Rn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>un(e)));return on(n)}(this)}Equals(e){return function(e,n){if(e===n)return!0;if(We(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++)if(!an(e[t[r]],n[t[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,n){if(e===n)return 0;if(We(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++){const o=_n(e[t[r]],n[t[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class Un{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 $n{constructor(e){this.message=e}}function Hn(e){return function(e){return e instanceof $n||e instanceof Error}(e)?e:new Error(String(e))}const Fn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,jn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Bn(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}function Ln(e){return{input:e,cont:(n=e,e=>{Fn.lastIndex=0;const t=[],r=[];let o=0,i=Fn.exec(n);for(;i;){const e=i.index+(i[1]||"").length;t.push(n.substring(o,e).replace(/%%/g,"%")),r.push(i),o=Fn.lastIndex,Fn.lastIndex-=1,i=Fn.exec(n)}return 0===t.length?e(n.replace(/%%/g,"%")):(t.push(n.substring(o).replace(/%%/g,"%")),Jn(e,t,r))})};var n}function Vn(e,n){return"string"==typeof n?e(n):n.cont(e)}function qn(e){return Vn((e=>e),e)}function Wn(e){return Vn((e=>{throw new Error(e)}),e)}function zn(e,n,t,r,o){let i="";if(n=n||"",o=o||"",kn(e))switch("x"!==o.toLowerCase()&&(Bn(e,0)?(e=Tn(e,-1),i="-"):n.indexOf(" ")>=0?i=" ":n.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=In(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?On(e,r):On(e);break;case"e":case"E":e=null!=r?Mn(e,r):Mn(e);break;case"x":e=Nn(e);break;case"X":e=Nn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bn(e):Rn(e);if(t="number"==typeof t?t:parseInt(t,10),isNaN(t))e=i+e;else{const r=n.indexOf("0")>=0,o=n.indexOf("-")>=0,u=o||!r?" ":"0";e="0"===u?i+(e=Yn(e,t-i.length,u,o)):Yn(i+e,t,u,o)}return e}function Jn(e,n,t,r="",o=-1){return(...i)=>{let u=r;const s=n.slice(),l=t.slice();for(const e of i){const[,,n,t,r,i]=l[0];let c=t;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+=zn(e,n,c,r,i),s.splice(0,1),l.splice(0,1)}return 0===l.length?(u+=s[0],e(u)):Jn(e,s,l,u,o)}}function Zn(e,n){return Array.isArray(n)?n.join(e):Array.from(n).join(e)}function Yn(e,n,t,r){t=t||" ",n-=e.length;for(let o=0;o<n;o++)e=r?e+t:t+e;return e}function Xn(e,n,t){return Yn(e,n,t)}function Kn(e,n,t,r){if(r="number"==typeof r?r:0,(t="number"==typeof t?t:void 0)&&t<0)throw new Error("Count cannot be less than zero");if(0===t)return[];const o=1==(1&r),i=2==(2&r);n=(n=n||[]).filter((e=>e)).map(An),n=n.length>0?n:["\\s"];const u=[],s=new RegExp(n.join("|"),"g");let l=!0,c=0;do{const n=s.exec(e);if(null===n){const n=i?e.substring(c).trim():e.substring(c);(!o||n.length>0)&&u.push(n),l=!1}else{const r=i?e.substring(c,n.index).trim():e.substring(c,n.index);(!o||r.length>0)&&(null!=t&&u.length+1===t?(u.push(i?e.substring(c).trim():e.substring(c)),l=!1):u.push(r)),c=s.lastIndex}}while(l);return u}const Qn="Collection was empty.";class et{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return un(this.value)}Equals(e){return null!=e&&an(this.value,e instanceof et?e.value:e)}CompareTo(e){return null==e?1:_n(this.value,e instanceof et?e.value:e)}}function nt(e){return null==e||e instanceof et?new et(e):e}function tt(e){if(null==e)throw new Error("Option has no value");return e instanceof et?e.value:e}function rt(e,n){return null!=e?tt(e):n}function ot(e,n,t,r){const o=0|n;return e.fill(r,o,o+t)}function it(e,n,t){const r=0|n.length,o=function(e,n){return"function"==typeof e?new e(n):new Array(n)}(t,r);for(let t=0;t<=r-1;t++)o[t]=e(n[t]);return o}function ut(e,n,t){return t.reduce(e,n)}function st(e,n,t,r){return function(e,n,t,r){let o=r;n.length!==t.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|n.length;for(let r=1;r<=i;r++)o=e(0,n[i-r],t[i-r],o);return o}(((n,t,r,o)=>e(t,r,o)),n,t,r)}class lt extends Gn{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+Zn("; ",this)+"]"}Equals(e){return this===e||((e,n)=>{e:for(;;){const t=e,r=n,o=t.tail,i=r.tail;if(null!=o){if(null!=i){const u=o,s=i;if(an(t.head,r.head)){e=u,n=s;continue e}return!1}return!1}return null==i}})(this,e)}GetHashCode(){return 0|((e,n,t)=>{for(;;){const r=e,o=n,i=t,u=i.tail;if(null==u)return 0|o;{const s=u;if(r>18)return 0|o;e=r+1,n=(o<<1)+un(i.head)+631*r,t=s}}})(0,0,this)}toJSON(){return Array.from(this)}CompareTo(e){return 0|((e,n)=>{e:for(;;){const t=e,r=n,o=t.tail,i=r.tail;if(null!=o){if(null!=i){const u=o,s=i,l=0|_n(t.head,r.head);if(0===l){e=u,n=s;continue e}return 0|l}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new ct(this)}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ze(this)}}class ct{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,n=e.it.tail;if(null!=n){const t=n;return e.current=e.it.head,e.it=t,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function at(){return new lt(null,void 0)}function ft(e,n){return new lt(e,n)}function ht(e){return null==e.tail}function dt(e){if(null!=e.tail)return e.head;throw new Error(Qn+"\\nParameter name: list")}function _t(e){const n=e.tail;if(null!=n)return n;throw new Error(Qn+"\\nParameter name: list")}function pt(){return at()}function mt(e,n){return ft(e,n)}function gt(e){return ft(e,at())}function wt(e){return ht(e)}function yt(e){return dt(e)}function vt(e){return _t(e)}function bt(e){const n=0|function(e){return 0|((e,n)=>{for(;;){const t=e,r=n.tail;if(null==r)return 0|t;e=t+1,n=r}})(0,e)}(e),t=ot(new Array(n),0,n,null);return((e,n)=>{for(;;){const r=e,o=n;if(ht(o))break;t[r]=dt(o),e=r+1,n=_t(o)}})(0,e),t}function Ct(e,n,t){let r=n,o=t;for(;!ht(o);)r=e(r,dt(o)),o=_t(o);return r}function St(e){return Ct(((e,n)=>ft(n,e)),at(),e)}function Et(e,n){let t=n;for(let n=e.length-1;n>=0;n--)t=ft(e[n],t);return t}function xt(e){return Et(e,at())}function kt(e,n){return Ct(((e,n)=>ft(n,e)),n,St(e))}class Tt{constructor(e,n,t,r){this.declaringType=e,this.tag=n,this.name=t,this.fields=r}}class It{constructor(e,n,t,r,o,i,u){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=o,this.cases=i,this.enumCases=u}toString(){return $t(this)}GetHashCode(){return Mt(this)}Equals(e){return Nt(this,e)}}function Ot(e){return null!=e.generics?e.generics:[]}function Mt(e){return on([tn(e.fullname),...Ot(e).map(Mt)])}function Nt(e,n){return""===e.fullname?""===n.fullname&&ln(Jt(e),Jt(n),(([e,n],[t,r])=>e===t&&Nt(n,r))):e.fullname===n.fullname&&ln(Ot(e),Ot(n),Nt)}function At(...e){return new It("",void 0,void 0,void 0,(()=>e))}const Dt=new It("System.Object"),Rt=(new It("Microsoft.FSharp.Core.Unit"),new It("System.Char"),new It("System.String")),Pt=new It("System.Boolean"),Gt=(new It("System.SByte"),new It("System.Byte"),new It("System.Int16"),new It("System.UInt16"),new It("System.Int32"));function Ut(e){if(Array.isArray(e))return e[0];if(e instanceof It){const n=Ft(e);if(null!=n)return Ut(n)+"[]";{const n=e.fullname.lastIndexOf(".");return-1===n?e.fullname:e.fullname.substr(n+1)}}return e.name}function $t(e){const n=Ft(e);return null!=n?$t(n)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>$t(e))).join(",")+"]"}function Ht(e){return null!=Ft(e)}function Ft(e){var n;return"[]"===e.fullname&&1===(null===(n=e.generics)||void 0===n?void 0:n.length)?e.generics[0]:void 0}function jt(e){return null!=e.generics&&e.generics.length>0}function Bt(e){return null!=e.enumCases&&e.enumCases.length>0}function Lt(e){return null==e.generics?e:new It(e.fullname,e.generics.map((()=>Dt)))}function Vt(e){var n;return null===(n=e.generics)||void 0===n?void 0:n[0]}function qt(e){if(Bt(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Wt(e,n){const t=parseInt(n,10);return function(e,n){if(null!=e.enumCases){if("string"==typeof n){for(const t of e.enumCases)if(t[0]===n)return t;throw new Error(`'${n}' was not found in ${e.fullname}`)}for(const t of e.enumCases)if(t[1]===n)return t;return["",n]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(t)?n:t)[1]}function zt(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Jt(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Zt(e){if(Kt(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Yt(e){return e instanceof It?null!=e.cases:e instanceof Pn}function Xt(e){return e instanceof It?null!=e.fields:e instanceof Gn}function Kt(e){return e.fullname.startsWith("System.Tuple")}function Qt(e){return null==e.fields?[]:e.fields}function er(e,n){const t=(e.fields||[]).length;if(n.length!==t)throw new Error(`Expected an array of length ${t} but got ${n.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,n):{}}new It("System.UInt32"),new It("System.Int64"),new It("System.UInt64"),new It("System.Numerics.BigInteger"),new It("System.IntPtr"),new It("System.UIntPtr"),new It("System.Single"),new It("System.Double"),new It("System.Decimal");class nr extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Ok","Error"]}}function tr(e,n){return 0===n.tag?new nr(0,[e(n.fields[0])]):new nr(1,[n.fields[0]])}class rr extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class or extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class ir{constructor(){this.cache=new Map([])}}function ur(){return new ir}function sr(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function lr(e,n){switch(e.tag){case 2:return function(e,n,t,r,o=0){if("string"==typeof e){const t=e;e=function(e,n=0){if(0!=(-284&n))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let t="gu";return t+=1&n?"i":"",t+=2&n?"m":"",t+=16&n?"s":"",new RegExp(e,t)}(n,null!=r?r:0),n=t,r=void 0}if("function"==typeof t)return r=null==r?-1:r,n.substring(0,o)+n.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const n=[],o=arguments.length,i="string"!=typeof arguments[o-1];let u=i?o-3:o-2;for(let e=0;e<u;e++)n.push(arguments[e]);n.index=arguments[u++],n.input=arguments[u++],i&&(n.groups=arguments[u]),e=t(n)}return e}));if(t=t.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const u=n.substring(o),s=Dn(e,u),l=Dn.length>r?(i=s[r-1],u.substring(0,i.index+i[0].length)):u;return n.substring(0,o)+l.replace(e,t)+n.substring(o+l.length)}return n.replace(e,t)}(sr(n),"[A-Z]","_$0").toLowerCase();case 0:return n;default:return sr(n)}}ur(),ur();const cr=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,ar=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,fr=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function hr(e,n){try{return n.contents=function(e){function n(e){return e.replace(ar,"$1-$2-$3-$4-$5")}const t=e.trim().toLowerCase();if(cr.test(t))return function(e,...n){if(0===n.length)return e.trim();const t="["+An(n.join(""))+"]+";return e.replace(new RegExp("^"+t),"").replace(new RegExp(t+"$"),"")}(t,"{","}","(",")");if(ar.test(t))return n(t);if(fr.test(t))return n(t.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}var dr;function _r(e,n){switch(n){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function pr(e,n,t,r,o){try{return o.contents=function(e,n,t,r,o){const i=function(e,n,t){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;t=t||function(e,n){if(n&dr.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,n);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(t);if(!i.test(o))return function(e,n){const[,t,r,o]=e;return{sign:t||"",prefix:r||"",digits:o,radix:n}}(r,t)}return null}(e,n,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[n,o]=_r(!0,r);!t&&10!==i.radix&&e>=n&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=_r(t,r);if(e>=u&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}(e,n,t,r),!0}catch(e){return!1}}function mr(e,n){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(n);const t=new Date(e);return t.offset=null!=n?n:-6e4*(new Date).getTimezoneOffset(),t}function gr(e,n){try{return n.contents=function(e){const[n,t]=Sn(e),r=null==t?-6e4*n.getTimezoneOffset():"Z"===t?0:6e4*t;return mr(n.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(dr||(dr={}));var wr=null;try{wr=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(s){}function yr(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function vr(e){return!0===(e&&e.__isLong__)}yr.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},yr.prototype.Equals=function(e){return zr(this,e)},yr.prototype.CompareTo=function(e){return Xr(this,e)},yr.prototype.toString=function(e){return Lr(this,e)},yr.prototype.toJSON=function(){return Lr(this)},yr.prototype[xn]=function(){const e=this;return{multiply:n=>no(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 Lr(e.unsigned?e:function(e,n,t){return t?function(e,n){return new yr(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 yr(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}}},yr.prototype.__isLong__,Object.defineProperty(yr.prototype,"__isLong__",{value:!0});var br={},Cr={};function Sr(e,n){var t,r,o;return n?(o=0<=(e>>>=0)&&e<256)&&(r=Cr[e])?r:(t=xr(e,(0|e)<0?-1:0,!0),o&&(Cr[e]=t),t):(o=-128<=(e|=0)&&e<128)&&(r=br[e])?r:(t=xr(e,e<0?-1:0,!1),o&&(br[e]=t),t)}function Er(e,n){if(isNaN(e))return n?Rr:Dr;if(n){if(e<0)return Rr;if(e>=Mr)return Hr}else{if(e<=-Nr)return Fr;if(e+1>=Nr)return $r}return e<0?Kr(Er(-e,n)):xr(e%Or|0,e/Or|0,n)}function xr(e,n,t){return new yr(e,n,t)}var kr=Math.pow;function Tr(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Dr;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 Kr(Tr(e.substring(1),n,t));for(var o=Er(kr(t,8)),i=Dr,u=0;u<e.length;u+=8){var s=Math.min(8,e.length-u),l=parseInt(e.substring(u,u+s),t);i=Qr(s<8?no(i,Er(kr(t,s))):i=no(i,o),Er(l))}return i.unsigned=n,i}function Ir(e,n){return"number"==typeof e?Er(e,n):"string"==typeof e?Tr(e,n):xr(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Or=4294967296,Mr=Or*Or,Nr=Mr/2,Ar=Sr(1<<24),Dr=Sr(0),Rr=Sr(0,!0),Pr=Sr(1),Gr=Sr(1,!0),Ur=Sr(-1),$r=xr(-1,2147483647,!1),Hr=xr(-1,-1,!0),Fr=xr(0,-2147483648,!1);function jr(e){return e.unsigned?e.low>>>0:e.low}function Br(e){return e.unsigned?(e.high>>>0)*Or+(e.low>>>0):e.high*Or+(e.low>>>0)}function Lr(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(Vr(e))return"0";if(qr(e)){if(zr(e,Fr)){var t=Er(n),r=to(e,t),o=eo(no(r,t),e);return Lr(r,n)+jr(o).toString(n)}return"-"+Lr(Kr(e),n)}for(var i=Er(kr(n,6),e.unsigned),u=e,s="";;){var l=to(u,i),c=(jr(eo(u,no(l,i)))>>>0).toString(n);if(Vr(u=l))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function Vr(e){return 0===e.high&&0===e.low}function qr(e){return!e.unsigned&&e.high<0}function Wr(e){return 1==(1&e.low)}function zr(e,n){return vr(n)||(n=Ir(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function Jr(e,n){return Xr(e,n)<0}function Zr(e,n){return Xr(e,n)>0}function Yr(e,n){return Xr(e,n)>=0}function Xr(e,n){if(vr(n)||(n=Ir(n)),zr(e,n))return 0;var t=qr(e),r=qr(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:qr(eo(e,n))?-1:1}function Kr(e){return!e.unsigned&&zr(e,Fr)?Fr:Qr(function(e){return xr(~e.low,~e.high,e.unsigned)}(e),Pr)}function Qr(e,n){vr(n)||(n=Ir(n));var t=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=0,a=0,f=0,h=0;return f+=(h+=i+(65535&n.low))>>>16,a+=(f+=o+l)>>>16,c+=(a+=r+s)>>>16,c+=t+u,xr((f&=65535)<<16|(h&=65535),(c&=65535)<<16|(a&=65535),e.unsigned)}function eo(e,n){return vr(n)||(n=Ir(n)),Qr(e,Kr(n))}function no(e,n){if(Vr(e))return e.unsigned?Rr:Dr;if(vr(n)||(n=Ir(n)),wr)return xr(wr.mul(e.low,e.high,n.low,n.high),wr.get_high(),e.unsigned);if(Vr(n))return e.unsigned?Rr:Dr;if(zr(e,Fr))return Wr(n)?Fr:Dr;if(zr(n,Fr))return Wr(e)?Fr:Dr;if(qr(e))return qr(n)?no(Kr(e),Kr(n)):Kr(no(Kr(e),n));if(qr(n))return Kr(no(e,Kr(n)));if(Jr(e,Ar)&&Jr(n,Ar))return Er(Br(e)*Br(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=65535&n.low,a=0,f=0,h=0,d=0;return h+=(d+=i*c)>>>16,f+=(h+=o*c)>>>16,h&=65535,f+=(h+=i*l)>>>16,a+=(f+=r*c)>>>16,f&=65535,a+=(f+=o*l)>>>16,f&=65535,a+=(f+=i*s)>>>16,a+=t*c+r*l+o*s+i*u,xr((h&=65535)<<16|(d&=65535),(a&=65535)<<16|(f&=65535),e.unsigned)}function to(e,n){if(vr(n)||(n=Ir(n)),Vr(n))throw Error("division by zero");var t,r,o;if(wr)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?xr((e.unsigned?wr.div_u:wr.div_s)(e.low,e.high,n.low,n.high),wr.get_high(),e.unsigned):e;if(Vr(e))return e.unsigned?Rr:Dr;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:xr(e.low,e.high,!0)}(n)),Zr(n,e))return Rr;if(Zr(n,function(e,n){if(vr(n)&&(n=jr(n)),0==(n&=63))return e;var t=e.high;return n<32?xr(e.low>>>n|t<<32-n,t>>>n,e.unsigned):xr(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return Gr;o=Rr}else{if(zr(e,Fr))return zr(n,Pr)||zr(n,Ur)?Fr:zr(n,Fr)?Pr:zr(t=function(e,n){return vr(n)&&(n=jr(n)),0==(n&=63)?e:n<32?xr(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):xr(0,e.low<<n-32,e.unsigned)}(to(function(e,n){return vr(n)&&(n=jr(n)),0==(n&=63)?e:n<32?xr(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):xr(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Dr)?qr(n)?Pr:Ur:o=Qr(t,to(r=eo(e,no(n,t)),n));if(zr(n,Fr))return e.unsigned?Rr:Dr;if(qr(e))return qr(n)?to(Kr(e),Kr(n)):Kr(to(Kr(e),n));if(qr(n))return Kr(to(e,Kr(n)));o=Dr}for(r=e;Yr(r,n);){t=Math.max(1,Math.floor(Br(r)/Br(n)));for(var i=Math.ceil(Math.log(t)/Math.LN2),u=i<=48?1:kr(2,i-48),s=Er(t),l=no(s,n);qr(l)||Zr(l,r);)l=no(s=Er(t-=u,e.unsigned),n);Vr(s)&&(s=Pr),o=Qr(o,s),r=eo(r,l)}return o}const ro=to,oo=Br;function io(e){return e<0?Math.ceil(e):Math.floor(e)}function uo(e=0,n=0,t=0,r=0,o=0){switch(arguments.length){case 1:return so(arguments[0]);case 3:e=0,n=arguments[0],t=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*n+6e4*t+1e3*r+o}function so(e){return oo(ro(e,1e4))}function lo(e,n){try{return n.contents=function(e){const n=e.search("\\."),t=e.search("\\:");if(-1===n&&-1===t){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return uo(n,0,0,0,0)}if(t>0){const n=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=n&&null!=n[4]&&null!=n[5]){let t=0,r=0,o=0;const i=null!=n[1]&&"-"===n[1]?-1:1,u=+n[4],s=+n[5];if(null!=n[3]&&(t=+n[3]),null!=n[7]&&(o=+n[7]),null!=n[8])switch(n[8].length){case 1:r=100*+n[8];break;case 2:r=10*+n[8];break;case 3:r=+n[8];break;case 4:r=+n[8]/10;break;case 5:r=+n[8]/100;break;case 6:r=+n[8]/1e3;break;case 7:r=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*uo(t,u,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class co{constructor(e){this.f=e}toString(){let e=0,n="seq [";const t=Ze(this);try{for(;e<4&&t["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=Rn(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{qe(t)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class ao{constructor(e,n,t){this.current=e,this.next=n,this.dispose=t}"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 fo(e,n,t){let r,o=!1,i=nt(e());const u=()=>{if(null!=i){const e=tt(i);try{t(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return function(e,n,t){return new ao(e,n,t)}((()=>(o||function(){throw new Error("Enumeration has not started. Call MoveNext.")}(),null!=r?tt(r):function(){throw new Error("Enumeration already finished.")}())),(()=>{if(o||(o=!0),null!=i){const e=tt(i);let t;try{t=n(e)}catch(e){throw s(),e}return null!=t?(r=t,!0):(s(),!1)}return!1}),u)}function ho(e){return function(e){return new co(e)}(e)}function _o(e){return n="source",null==e&&function(e){throw new Error(e)}(n),Ze(e);var n}function po(e,n,t){const r=_o(n);try{let n=!1;for(;!n&&r["System.Collections.IEnumerator.MoveNext"]();)n=t.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{qe(r)}}function mo(e,n,t){const r=_o(t);try{let t=n;for(;r["System.Collections.IEnumerator.MoveNext"]();)t=e(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{qe(r)}}function go(e,n){mo(((n,t)=>{e(t)}),void 0,n)}function wo(e,n){return t=()=>_o(n),r=n=>n["System.Collections.IEnumerator.MoveNext"]()?nt(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{qe(e)},ho((()=>fo(t,r,o)));var t,r,o}function yo(e,n){return t=()=>_o(n),r=(n,t)=>t["System.Collections.IEnumerator.MoveNext"]()?nt(e(n,t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{qe(e)},ho((()=>{let e=-1;return fo(t,(n=>(e=e+1|0,r(e,n))),o)}));var t,r,o}class vo{constructor(e,n){this.cleanup=e,this.res=n}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}class bo{constructor(e,n){this.k=e,this.v=n}}function Co(e,n){return new bo(e,n)}function So(e){return e.k}function Eo(e){return e.v}class xo extends bo{constructor(e,n,t,r,o){super(e,n),this.left=t,this.right=r,this.h=0|o}}function ko(e,n,t,r,o){return new xo(e,n,t,r,o)}function To(e){return e.left}function Io(e){return e.right}function Oo(e){return e.h}function Mo(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof xo){e=Mo(t+1,To(r)),n=Io(r);continue e}return t+1|0}return 0|t}}function No(e){return Mo(0,e)}function Ao(e,n,t,r){let o,i;o=null!=e?e instanceof xo?Oo(e):1:0,i=null!=r?r instanceof xo?Oo(r):1:0;const u=0|(o<i?i:o);return 0===u?Co(n,t):ko(n,t,e,r,u+1)}function Do(e,n,t,r){let o,i,u,s,l,c;if(l=null!=e?e instanceof xo?Oo(e):1:0,c=null!=r?r instanceof xo?Oo(r):1:0,c>l+2){const u=tt(r);if(u instanceof xo){if(o=To(u),(null!=o?(i=o,i instanceof xo?Oo(i):1):0)>l+1){const r=tt(To(u));if(r instanceof xo)return Ao(Ao(e,n,t,To(r)),So(r),Eo(r),Ao(Io(r),So(u),Eo(u),Io(u)));throw new Error("internal error: Map.rebalance")}return Ao(Ao(e,n,t,To(u)),So(u),Eo(u),Io(u))}throw new Error("internal error: Map.rebalance")}if(l>c+2){const o=tt(e);if(o instanceof xo){if(u=Io(o),(null!=u?(s=u,s instanceof xo?Oo(s):1):0)>c+1){const e=tt(Io(o));if(e instanceof xo)return Ao(Ao(To(o),So(o),Eo(o),To(e)),So(e),Eo(e),Ao(Io(e),n,t,r));throw new Error("internal error: Map.rebalance")}return Ao(To(o),So(o),Eo(o),Ao(Io(o),n,t,r))}throw new Error("internal error: Map.rebalance")}return Ao(e,n,t,r)}function Ro(e,n,t,r){if(null!=r){const o=r,i=0|e.Compare(n,So(o));return o instanceof xo?i<0?Do(Ro(e,n,t,To(o)),So(o),Eo(o),Io(o)):0===i?ko(n,t,To(o),Io(o),Oo(o)):Do(To(o),So(o),Eo(o),Ro(e,n,t,Io(o))):i<0?ko(n,t,void 0,r,2):0===i?Co(n,t):ko(n,t,r,void 0,2)}return Co(n,t)}function Po(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,So(i));if(0===u)return nt(Eo(i));if(i instanceof xo){e=r,n=o,t=u<0?To(i):Io(i);continue e}return}return}}function Go(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof xo){Go(t,To(r)),t(So(r),Eo(r)),e=t,n=Io(r);continue e}t(So(r),Eo(r))}break}}function Uo(e,n){Go(e,n)}function $o(e,n){if(null!=n){const t=n;if(t instanceof xo){const n=$o(e,To(t)),r=e(So(t),Eo(t)),o=$o(e,Io(t));return ko(So(t),r,n,o,Oo(t))}return Co(So(t),e(So(t),Eo(t)))}}function Ho(e,n){return $o(e,n)}function Fo(e,n){if(Le(n))return function(e,n){let t;for(let r=0;r<=n.length-1;r++){const o=n[r];t=Ro(e,o[0],o[1],t)}return t}(e,n);if(n instanceof lt)return function(e,n){return Ct(((n,t)=>Ro(e,t[0],t[1],n)),void 0,n)}(e,n);{const t=Ze(n);try{return function(e,n,t){for(;;){const r=e,o=n,i=t;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,n=Ro(r,u[0],u[1],o),t=i}}}(e,void 0,t)}finally{qe(t)}}}class jo extends Gn{constructor(e,n){super(),this.stack=e,this.started=n}}function Bo(e){e:for(;;){const n=e;if(wt(n))return pt();{const t=vt(n),r=yt(n);if(null!=r){const o=r;if(o instanceof xo){e=Et([To(o),Co(So(o),Eo(o)),Io(o)],t);continue e}return n}e=t;continue e}}}function Lo(e){return new jo(Bo(gt(e)),!1)}function Vo(e){if(e.started){const n=e.stack;if(wt(n))return function(){throw new Error("enumeration already finished")}();if(null!=yt(n)){const e=yt(n);if(e instanceof xo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[So(e),Eo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function qo(e){let n=Lo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Vo(n),"System.Collections.IEnumerator.get_Current":()=>Vo(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(wt(n))return!1;if(null!=yt(n)){if(yt(n)instanceof xo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Bo(vt(n)),!wt(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!wt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Lo(e)},Dispose(){}}}class Wo{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=Ze(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=0|n(t,un(e[0])),t=0|n(t,un(e[1]))}}finally{qe(r)}return 0|t}(this)}Equals(e){if(!(e instanceof Wo))return!1;{const n=Ze(this);try{const t=Ze(e);try{const e=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===t["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),o=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!an(r[0],o[0])||!an(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{qe(t)}}finally{qe(n)}}}toString(){return"map ["+Zn("; ",wo((e=>function(e,...n){return"object"==typeof e&&n.length>0&&(e=n[0],n.shift()),e.replace(jn,((e,t,r,o,i,u)=>{if(t<0||t>=n.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=n[t];if(kn(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=In(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?On(s,i):On(s);break;case"e":case"E":s=null!=i?Mn(s,i):Mn(s);break;case"p":case"P":i=null!=i?i:2,s=In(Tn(s,100),i)+" %";break;case"d":case"D":s=null!=i?Xn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?Xn(Nn(s),i,"0"):Nn(s),"X"===o&&(s=s.toUpperCase());break;default:if(u){let e="";s=u.replace(/([0#,]+)(\.[0#]+)?/,((n,t,r)=>{Bn(s,0)&&(s=Tn(s,-1),e="-"),r=null==r?"":r.substring(1),s=In(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=Xn(o,t.replace(/,/g,"").replace(/^#+/,"").length,"0");const u=r.replace(/#+$/,"").length;if(u>i.length?i=function(e,n,t){return Yn(e,n,"0",!0)}(i,u):u<i.length&&(i=i.substring(0,u)+i.substring(u).replace(/0+$/,"")),t.indexOf(",")>0){const e=o.length%3,n=Math.floor(o.length/3);let t=e>0?o.substr(0,e)+(n>0?",":""):"";for(let r=0;r<n;r++)t+=o.substr(e+3*r,3)+(r<n-1?",":"");o=t}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?bn(s,u||o):Rn(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=Yn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){return Array.from(this)}GetEnumerator(){return qo(this.tree)}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return qo(this.tree)}CompareTo(e){const n=this;if(e instanceof Wo)return 0|function(e,n,t){const r=_o(n);try{const n=_o(t);try{let t=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=n["System.Collections.IEnumerator.MoveNext"]();for(;0===t&&o&&i;)t=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),n["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===t&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=n["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==t?t:o?1:i?-1:0)}finally{qe(n)}}finally{qe(r)}}(((e,t)=>{const r=0|n.comparer.Compare(e[0],t[0]);return 0|(0!==r?r:_n(e[1],t[1]))}),n,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Yo(this,e[0])&&an(Jo(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,n){!function(e,n,t){let r=t;Uo(((e,t)=>{n[r]=[e,t],r=r+1|0}),e)}(this.tree,e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Zo(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Zo(this)}get size(){return 0|Zo(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return wo((e=>[e[0],e[1]]),this)}get(e){return Jo(this,e)}has(e){return Yo(this,e)}keys(){return wo((e=>e[0]),this)}set(e,n){throw new Error("Map cannot be mutated")}values(){return wo((e=>e[1]),this)}forEach(e,n){const t=this;go((n=>{e(n[1],n[0],t)}),t)}}function zo(e,n){return new Wo(e,n)}function Jo(e,n){return function(e,n,t){const r=Po(e,n,t);if(null==r)throw new Error;return tt(r)}(e.comparer,n,e.tree)}function Zo(e){return No(e.tree)}function Yo(e,n){return function(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,So(i));if(i instanceof xo){if(u<0){e=r,n=o,t=To(i);continue e}if(0===u)return!0;e=r,n=o,t=Io(i);continue e}return 0===u}return!1}}(e.comparer,n,e.tree)}function Xo(e,n,t){return function(e,n,t){return zo(e.comparer,Ro(e.comparer,n,t,e.tree))}(t,e,n)}function Ko(e,n){return function(e,n){return Po(e.comparer,n,e.tree)}(n,e)}function Qo(e,n){return function(e,n){return zo(e.comparer,Ho(n,e.tree))}(n,e)}function ei(e){return function(e){return zo(e,void 0)}(e)}class ni{constructor(e){this.k=e}}function ti(e){return new ni(e)}function ri(e){return e.k}class oi extends ni{constructor(e,n,t,r){super(e),this.left=n,this.right=t,this.h=0|r}}function ii(e,n,t,r){return new oi(e,n,t,r)}function ui(e){return e.left}function si(e){return e.right}function li(e){return e.h}function ci(e,n){e:for(;;){const t=n;if(null!=e){const r=e;if(r instanceof oi){e=ui(r),n=ci(si(r),t+1);continue e}return t+1|0}return 0|t}}function ai(e){return ci(e,0)}function fi(e,n,t){let r,o;r=null!=e?e instanceof oi?li(e):1:0,o=null!=t?t instanceof oi?li(t):1:0;const i=0|(r<o?o:r);return 0===i?ti(n):ii(n,e,t,i+1)}function hi(e,n,t){let r,o,i,u,s,l;if(s=null!=e?e instanceof oi?li(e):1:0,l=null!=t?t instanceof oi?li(t):1:0,l>s+2){const i=tt(t);if(i instanceof oi){if(r=ui(i),(null!=r?(o=r,o instanceof oi?li(o):1):0)>s+1){const t=tt(ui(i));if(t instanceof oi)return fi(fi(e,n,ui(t)),ri(t),fi(si(t),ri(i),si(i)));throw new Error("internal error: Set.rebalance")}return fi(fi(e,n,ui(i)),ri(i),si(i))}throw new Error("internal error: Set.rebalance")}if(s>l+2){const r=tt(e);if(r instanceof oi){if(i=si(r),(null!=i?(u=i,u instanceof oi?li(u):1):0)>l+1){const e=tt(si(r));if(e instanceof oi)return fi(fi(ui(r),ri(r),ui(e)),ri(e),fi(si(e),n,t));throw new Error("internal error: Set.rebalance")}return fi(ui(r),ri(r),fi(si(r),n,t))}throw new Error("internal error: Set.rebalance")}return fi(e,n,t)}function di(e,n,t){if(null!=t){const r=t,o=0|e.Compare(n,ri(r));if(r instanceof oi)return o<0?hi(di(e,n,ui(r)),ri(r),si(r)):0===o?t:hi(ui(r),ri(r),di(e,n,si(r)));{const o=0|e.Compare(n,ri(r));return o<0?ii(n,void 0,t,2):0===o?t:ii(n,t,void 0,2)}}return ti(n)}function _i(e,n,t){e:for(;;){const r=e,o=n;if(null!=t){const i=t,u=0|r.Compare(o,ri(i));if(i instanceof oi){if(u<0){e=r,n=o,t=ui(i);continue e}if(0===u)return!0;e=r,n=o,t=si(i);continue e}return 0===u}return!1}}function pi(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof oi){pi(t,ui(r)),t(ri(r)),e=t,n=si(r);continue e}t(ri(r))}break}}class mi extends Gn{constructor(e,n){super(),this.stack=e,this.started=n}}function gi(e){e:for(;;){const n=e;if(wt(n))return pt();{const t=yt(n),r=vt(n);if(null!=t){const o=t;if(o instanceof oi){e=Et([ui(o),ti(ri(o)),si(o)],r);continue e}return n}e=r;continue e}}}function wi(e){return new mi(gi(gt(e)),!1)}function yi(e){if(e.started){const n=e.stack;if(wt(n))return function(){throw new Error("Enumeration already started")}();if(null!=yt(n))return ri(yt(n));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function vi(e){let n=wi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>yi(n),"System.Collections.IEnumerator.get_Current":()=>yi(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(wt(n))return!1;if(null!=yt(n)){if(yt(n)instanceof oi)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=gi(vt(n)),!wt(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!wt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=wi(e)},Dispose(){}}}function bi(e,n,t){return null==n?null==t?0:-1:null==t?1:0|function(e,n,t){e:for(;;){const r=e,o=n,i=t;if(wt(o))return wt(i)?0:-1;if(wt(i))return 1;if(null!=yt(i))if(null!=yt(o)){const u=yt(o),s=yt(i);if(u instanceof oi)if(null==ui(u)){if(!(s instanceof oi)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(si(u),vt(o)),t=mt(void 0,vt(i));continue e}if(null==ui(s)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(si(u),vt(o)),t=mt(si(s),vt(i));continue e}{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(s instanceof oi)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=vt(o),t=vt(i);continue e}if(null==ui(s)){const l=0|r.Compare(ri(u),ri(s));if(0!==l)return 0|l;e=r,n=mt(void 0,vt(o)),t=mt(si(s),vt(i));continue e}{let u,s,l,c,a;switch(wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,l,c,a;switch(yt(i),wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==yt(o)){e=r,n=vt(o),t=vt(i);continue e}{let u,s,l,c,a;switch(yt(o),wt(o)?wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2:null!=yt(o)?(u=0,s=vt(o),l=yt(o)):wt(i)?u=2:null!=yt(i)?(u=1,c=vt(i),a=yt(i)):u=2,u){case 0:if(l instanceof oi){e=r,n=Et([ui(l),ii(ri(l),void 0,si(l),0)],s),t=i;continue e}e=r,n=Et([void 0,ti(ri(l))],s),t=i;continue e;case 1:if(a instanceof oi){e=r,n=o,t=Et([ui(a),ii(ri(a),void 0,si(a),0)],c);continue e}e=r,n=o,t=Et([void 0,ti(ri(a))],c);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,gt(n),gt(t))}function Ci(e,n,t){let r=t;pi((e=>{n[r]=e,r=r+1|0}),e)}function Si(e,n){if(Le(n))return function(e,n){return ut(((n,t)=>di(e,t,n)),void 0,n)}(e,n);if(n instanceof lt)return function(e,n){return Ct(((n,t)=>di(e,t,n)),void 0,n)}(e,n);{const t=Ze(n);try{return function(e,n,t){for(;;){const r=e,o=n,i=t;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,n=di(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),t=i}}(e,void 0,t)}finally{qe(t)}}}class Ei{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=Ze(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)t=0|n(t,un(r["System.Collections.Generic.IEnumerator`1.get_Current"]()))}finally{qe(r)}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof Ei&&0===bi(xi(this),ki(this),ki(e))}toString(){return"set ["+Zn("; ",wo((e=>Rn(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|bi(xi(this),ki(this),ki(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return _i(xi(this),e,ki(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,n){Ci(ki(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Ti(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Ti(this)}GetEnumerator(){return vi(ki(this))}[Symbol.iterator](){return Ye(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return vi(ki(this))}get size(){return 0|Ti(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,n){return _i(xi(e),n,ki(e))}(this,e)}keys(){return wo((e=>e),this)}values(){return wo((e=>e),this)}entries(){return wo((e=>[e,e]),this)}forEach(e,n){const t=this;go((n=>{e(n,n,t)}),t)}}function xi(e){return e.comparer}function ki(e){return e.tree}function Ti(e){return ai(ki(e))}function Ii(e,n,t){try{return"Expecting "+e+" but instead got:"+(t?"\n":" ")+JSON.stringify(n,null,4)}catch(n){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(t?"\n":" ")}}function Oi(e,n){const t=2===n.tag?Ii(n.fields[0],n.fields[1],!0):1===n.tag?Ii(n.fields[0],n.fields[1],!1)+"\nReason: "+n.fields[2]:3===n.tag?Ii(n.fields[0],n.fields[1],!0):4===n.tag?Ii(n.fields[0],n.fields[1],!0)+"\nNode `"+n.fields[2]+"` is unkown.":5===n.tag?"Expecting "+n.fields[0]+".\n"+JSON.stringify(n.fields[1],null,4):7===n.tag?"The following errors were found:\n\n"+Zn("\n\n",n.fields[0]):6===n.tag?"The following `failure` occurred with the decoder: "+n.fields[0]:Ii(n.fields[0],n.fields[1],!1);return 7===n.tag?t:"Error at: `"+e+"`\n"+t}function Mi(e,n,t){const r=n(e,t);if(1===r.tag){const e=r.fields[0];return new nr(1,[Oi(e[0],e[1])])}return new nr(0,[r.fields[0]])}function Ni(e,n){try{return Mi("$",e,JSON.parse(n))}catch(e){if(e instanceof SyntaxError)return new nr(1,["Given an invalid JSON: "+e.message]);throw e}}const Ai=e=>n=>{const t="a sbyte",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new nr(0,[(e+128&255)-128]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,8,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Di=e=>n=>{const t="a byte",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new nr(0,[255&e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,8,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Ri=e=>n=>{const t="an int16",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new nr(0,[(e+32768&65535)-32768]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,16,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Pi=e=>n=>{const t="an uint16",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new nr(0,[65535&e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,16,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Gi=e=>n=>{const t="an int",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new nr(0,[~~e]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!1,32,new Un((()=>n),(e=>{n=0|e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])},Ui=e=>n=>{const t="an uint32",r=e,o=n;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new nr(0,[e>>>0]):new nr(1,[[r,new rr(1,[t,e,"Value was either too large or too small for "+t])]]):new nr(1,[[r,new rr(1,[t,e,"Value is not an integral value"])]])}if("string"==typeof o){let e,n=0;return e=[pr(o,511,!0,32,new Un((()=>n),(e=>{n=e}))),n],e[0]?new nr(0,[e[1]]):new nr(1,[[r,new rr(0,[t,o])]])}return new nr(1,[[r,new rr(0,[t,o])]])};function $i(e,n,t,r){let o;const i=t+".["+en(e)+"]";if(Array.isArray(r)){const t=r;return e<t.length?n(i,t[e]):new nr(1,[[i,new rr(5,["a longer array. Need index `"+en(e)+"` but there are only `"+(o=t.length,en(o)+"` entries"),r])]])}return new nr(1,[[i,new rr(0,["an array",r])]])}function Hi(e,n,t){if(Array.isArray(t)){let r=-1;return tr(St,ut(((t,o)=>{if(r=r+1|0,0===t.tag){const i=e(n+".["+en(r)+"]",o);return 0===i.tag?new nr(0,[mt(i.fields[0],t.fields[0])]):new nr(1,[i.fields[0]])}return t}),new nr(0,[pt()]),t))}return new nr(1,[[n,new rr(0,["a list",t])]])}function Fi(e,n,t){if(Array.isArray(t)){let r=-1;const o=t;return ut(((t,o)=>{if(r=r+1|0,0===t.tag){const i=t.fields[0],u=e(n+".["+en(r)+"]",o);return 0===u.tag?(i[r]=u.fields[0],new nr(0,[i])):new nr(1,[u.fields[0]])}return t}),new nr(0,[ot(new Array(o.length),0,o.length,null)]),o)}return new nr(1,[[n,new rr(0,["an array",t])]])}function ji(e,n,t,r){const o=n(t,r);return 0===o.tag?e(o.fields[0],t,r):new nr(1,[o.fields[0]])}function Bi(e,n){let t;const r=e;return t=e=>n=>$i(0,r,e,n),e=>r=>ji(gn(3,(e=>{let t;const r=n;return t=e=>n=>$i(1,r,e,n),n=>r=>ji(((n,t,r)=>new nr(0,[[e,n]])),gn(2,t),n,r)})),gn(2,t),e,r)}function Li(e){return zo(n={Compare:_n},Fo(n,e));var n}function Vi(e){return function(e,n){return new Ei(e,n)}(n={Compare:_n},Si(n,e));var n}function qi(e,n,t,r){let o,i;return n.length!==r.length?new nr(1,[[t,new rr(6,[(o=0|r.length,i=0|n.length,qn(Ln("Expected %i %s but got %i"))(i)(e)(o))])]]):st(((e,n,r)=>0===r.tag?tr((e=>mt(e,r.fields[0])),n(t)(e)):r),r,n,new nr(0,[pt()]))}function Wi(e,n,t,r,o,i){const u=function(e,n){return n.find((e=>Ut(e)===r))}(0,zt(t));if(null!=u){const t=u;return 0===i.length?new nr(0,[er(t,[])]):tr((e=>er(t,bt(e))),qi("union fields",it((t=>Ji(e,n,!1,t[1])),Qt(t),null),o,i))}return new nr(1,[[o,new rr(6,["Cannot find case "+r+" in "+$t(t)])]])}function zi(e,n,t,r){let o;const i=new Un(null),u=Xo($t(r),i,e);let s;if(Xt(r)){const e=it((e=>[lr(n,Ut(e)),Ji(u,n,!1,e[1])]),Jt(r),null);s=n=>t=>tr((e=>function(e,n){const t=Jt(e);if(t.length!==n.length)throw new Error(`Expected an array of length ${t.length} but got ${n.length}`);return null!=e.construct?new e.construct(...n):t.reduce(((e,[t,r],o)=>(e[t]=n[o],e)),{})}(r,bt(e))),function(e,n,t){return null===t||Object.getPrototypeOf(t||!1)!==Object.prototype?new nr(1,[[n,new rr(0,["an object",t])]]):function(e,r,o){return r.reduceRight(((e,r)=>((e,r)=>{const o=e[0];return 0===r.tag?tr((e=>mt(e,r.fields[0])),e[1](n+"."+o)(t[o])):r})(r,e)),o)}(0,e,new nr(0,[pt()]))}(e,n,t))}else if(Yt(r))s=e=>t=>{if("string"==typeof t)return Wi(u,n,r,t,e,[]);if(Array.isArray(t)){const o=t;return Wi(u,n,r,o[0],e,o.slice(1,o.length))}return new nr(1,[[e,new rr(0,["a string or array",t])]])};else{if(!t)throw new Error((o=$t(r),qn(Ln("Cannot generate auto decoder for %s. Please pass an extra decoder."))(o)));s=e=>n=>new nr(1,[[e,new rr(2,["an extra coder for "+$t(r),n])]])}return i.contents=s,s}function Ji(e,n,t,r){let o,i,u;const s=$t(r),l=Ko(s,e);if(null==l){if(Ht(r)){const t=Ji(e,n,!1,Ft(r));return e=>n=>Fi(gn(2,t),e,n)}if(Bt(r)){const e=$t(Vt(r));if("System.SByte"===e)return e=>n=>{const t=r,o=e,i=n,u=Ai(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}};if("System.Byte"===e)return e=>n=>{const t=r,o=e,i=n,u=Di(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}};if("System.Int16"===e)return e=>n=>{const t=r,o=e,i=n,u=Ri(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,(s=e,(s=s<0&&null!=l&&10!==l?65535+s+1:s).toString(l)))]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}var s,l};if("System.UInt16"===e)return e=>n=>{const t=r,o=e,i=n,u=Pi(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}};if("System.Int32"===e)return e=>n=>{const t=r,o=e,i=n,u=Gi(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=0|u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,en(e))]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}};if("System.UInt32"===e)return e=>n=>{const t=r,o=e,i=n,u=Ui(o)(i);if(1===u.tag)return new nr(1,[u.fields[0]]);{const e=u.fields[0];return po(e,qt(t),{Equals:(e,n)=>e===n,GetHashCode:rn})?new nr(0,[Wt(t,e.toString())]):new nr(1,[[o,new rr(1,[$t(t),i,"Unkown value provided for the enum"])]])}};{const e=$t(r),n=Wn(Ln("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>n(e)}}if(jt(r)){if(Kt(r)){const t=it((t=>Ji(e,n,!1,t)),Zt(r),null);return e=>n=>Array.isArray(n)?tr((e=>bt(e)),qi("tuple elements",t,e,n)):new nr(1,[[e,new rr(0,["an array",n])]])}{const s=$t(Lt(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=Ji(e,n,!0,Ot(r)[0]),e=>n=>{return t=gn(2,o),r=e,null==(i=n)?new nr(0,[void 0]):tr(nt,t(r,i));var t,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=Ji(e,n,!1,Ot(r)[0]),e=>n=>Hi(gn(2,i),e,n);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const t=Ji(e,n,!1,Ot(r)[0]),o=Ji(e,n,!1,Ot(r)[1]);let i;const s=xt([e=>n=>function(e,n,t,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new nr(1,[[t,new rr(0,["an object",r])]]):mo(((o,i)=>{if(0===o.tag){const u=e(t,i);if(0===u.tag){const e=n(t+"."+i,r[i]);return 0===e.tag?new nr(0,[mt([u.fields[0],e.fields[0]],o.fields[0])]):new nr(1,[e.fields[0]])}return new nr(1,[u.fields[0]])}return o}),new nr(0,[pt()]),Object.keys(r))}(gn(2,t),gn(2,o),e,n),(u=Bi(gn(2,t),gn(2,o)),e=>n=>Hi(gn(2,u),e,n))]);return i=e=>n=>{return t=e,r=n,((e,n)=>{e:for(;;){const o=e,i=n;if(wt(o))return new nr(1,[[t,new rr(7,[i])]]);{const u=Mi(t,gn(2,yt(o)),r);if(1===u.tag){e=vt(o),n=kt(i,gt(u.fields[0]));continue e}return new nr(0,[u.fields[0]])}}})(s,pt());var t,r},e=>n=>function(e,n,t,r){const o=n(t,r);return 1===o.tag?new nr(1,[o.fields[0]]):new nr(0,[e(o.fields[0])])}(Li,gn(2,i),e,n)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const t=Ji(e,n,!1,Ot(r)[0]);return e=>n=>{const r=Fi(gn(2,t),e,n);return 0===r.tag?new nr(0,[Vi(r.fields[0])]):new nr(1,[r.fields[0]])}}return zi(e,n,t,r)}}return"System.Boolean"===s?e=>n=>{return t=e,"boolean"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a boolean",r])]]);var t,r}:"Microsoft.FSharp.Core.Unit"===s?e=>n=>{return t=e,null==(r=n)?new nr(0,[void 0]):new nr(1,[[t,new rr(0,["null",r])]]);var t,r}:"System.String"===s?e=>n=>{return t=e,"string"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a string",r])]]);var t,r}:"System.SByte"===s?Ai:"System.Byte"===s?Di:"System.Int16"===s?Ri:"System.UInt16"===s?Pi:"System.Int32"===s?Gi:"System.UInt32"===s?Ui:"System.Double"===s?e=>n=>{return t=e,"number"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a float",r])]]);var t,r}:"System.Single"===s?e=>n=>{return t=e,"number"==typeof(r=n)?new nr(0,[r]):new nr(1,[[t,new rr(0,["a float32",r])]]);var t,r}:"System.DateTime"===s?e=>n=>function(e,n){if("string"==typeof n){let r,o=Cn(-621355968e5,0);return r=[En(n,new Un((()=>o),(e=>{o=e}))),o],r[0]?new nr(0,[(t=r[1],1===t.kind?t:Cn(t.getTime(),1))]):new nr(1,[[e,new rr(0,["a datetime",n])]])}var t;return new nr(1,[[e,new rr(0,["a datetime",n])]])}(e,n):"System.DateTimeOffset"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r=mr(-621355968e5,0);return t=[gr(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a datetimeoffset",n])]])}return new nr(1,[[e,new rr(0,["a datetime",n])]])}(e,n):"System.TimeSpan"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r=0;return t=[lo(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a timespan",n])]])}return new nr(1,[[e,new rr(0,["a timespan",n])]])}(e,n):"System.Guid"===s?e=>n=>function(e,n){if("string"==typeof n){let t,r="00000000-0000-0000-0000-000000000000";return t=[hr(n,new Un((()=>r),(e=>{r=e}))),r],t[0]?new nr(0,[t[1]]):new nr(1,[[e,new rr(0,["a guid",n])]])}return new nr(1,[[e,new rr(0,["a guid",n])]])}(e,n):"System.Object"===s?e=>e=>new nr(0,[e]):zi(e,n,t,r)}{const e=l;return n=>t=>e.contents(n)(t)}}function Zi(e,n,t){const r=rt(n,new or(0,[]));return Ji(function(e){return null!=e?Qo(((e,n)=>new Un(n[1])),e.Coders):ei({Compare:hn})}(t),r,!1,e)}class Yi extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["AccessRole"]}}function Xi(e){return new Yi(0,[e])}function Ki(e){return function(e,n,t){return null!=function(e,n){return((n,t)=>{for(;;){const r=n,o=t;if(ht(o))return;if(e(dt(o)))return r;n=r+1,t=_t(o)}})(0,n)}((n=>t.Equals(e,n)),n)}(new Yi(0,["BankDetails.Access"]),e,{Equals:an,GetHashCode:sn})?nt(void 0):void 0}class Qi extends Gn{constructor(e,n){super(),this.UserName=e,this.Roles=n}}class eu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Inherited","Default","Specific"]}}class nu extends Gn{constructor(e,n,t){super(),this.MaxAccounts=0|e,this.ConfigOwnership=n,this.AllowPercentageSplit=t}}const tu=(e,n)=>{X((()=>{const n=e();return()=>{n.Dispose()}}),n)};function ru(e){return{Dispose(){e()}}}function ou(e){return je.useRef(e)}function iu(e){const n=ou(e),t=function(e,t){const r=rt([],[]);return je.useCallback((e=>n.current(e)),r)}();var r,o;return r=()=>{n.current=e},o=e=>(r(),ru((()=>{}))),K((()=>{const e=o();return()=>{e.Dispose()}})),t}function uu(e){return je.useState(e)}class su{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)}}}Dispose(){}}class lu extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,lu.prototype)}}class cu{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>cu.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function au(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new lu);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(Hn(e))}}));else try{e(n)}catch(e){n.onError(Hn(e))}}}const fu=new class{Bind(e,n){return function(e,n){return au((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(Hn(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 au((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 au((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return au((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 au((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(Hn(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 au((e=>e.onSuccess(void 0)))}};function hu(e){}const du=new su;function _u(e,n){return function(e,n){return function(e,n,t,r,o){"function"!=typeof n&&(o=n,n=void 0);const i=new cu;e({onSuccess:n||hu,onError:t||hu,onCancel:r||hu,cancelToken:o||du,trampoline:i})}(e,n)}(e,n)}class pu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function mu(e,n){const t=ou(function(e){const n=new su(!1);return n}());return tu((()=>ru((()=>{t.current.cancel()}))),[]),iu((r=>{var o,i;null!=(i=t.current)&&i.isCancelled||_u((o=r,fu.Delay((()=>fu.TryWith(fu.Delay((()=>(n(new pu(1,[])),fu.Bind(e(o),(e=>(n(new pu(2,[e])),fu.Zero())))))),(e=>(n(new pu(3,[e])),fu.Zero())))))),t.current)}))}class gu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class wu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Header"]}}class yu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class vu extends Gn{constructor(e,n,t,r,o,i,u,s){super(),this.url=e,this.method=n,this.headers=t,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=u,this.content=s}}class bu extends Pn{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Cu extends Gn{constructor(e,n,t,r,o){super(),this.statusCode=0|e,this.responseText=n,this.responseType=t,this.responseHeaders=r,this.content=o}}const Su=new vu("",new gu(0,[]),pt(),!1,void 0,void 0,void 0,new yu(0,[]));function Eu(e,n){return"string"!=typeof(t=n)||0===t.length?[n]:Kn(n,[e],null,0);var t}function xu(e){return new vu(e,Su.method,Su.headers,Su.withCredentials,Su.overridenMimeType,Su.overridenResponseType,Su.timeout,Su.content)}function ku(e,n){return new vu(n.url,e,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function Tu(e){return function(e){return au((n=>e([n.onSuccess,n.onError,n.onCancel])))}((n=>{const t=new XMLHttpRequest;t.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),t.onreadystatechange=()=>{let e,r,o,i,u,s;var l,c;4===t.readyState&&n[0]((r=t.responseType,e=""===r||"text"===r?t.responseText:"",o=0|t.status,i=t.responseType,s=t.responseType,u=""===s||"text"===s?new bu(0,[t.responseText]):new bu("arraybuffer"===s?2:"blob"===s?1:3,[t.response]),new Cu(o,e,i,(l=function(e,n,t){const r=[];for(let t=0;t<=n.length-1;t++){const o=e(n[t]);if(null!=o){const e=tt(o);r.push(e)}}return an(null,null)?r:it((e=>e),r,null)}((e=>{const n=xt(Eu(":",e));return wt(n)?void 0:[yt(n).toLocaleLowerCase(),Zn(":",vt(n)).trim()]}),Eu("\r\n",t.getAllResponseHeaders())),zo(c={Compare:hn},Fo(c,l))),u)))};const r=Ze(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t.setRequestHeader(e.fields[0],e.fields[1])}}finally{qe(r)}t.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(null==o);else{const e=o;t.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?t.responseType="blob":2===i.tag?t.responseType="arraybuffer":t.responseType="text");const u=e.timeout;if(null==u);else{const e=0|u;t.timeout=0|e}const s=e.content;0===e.method.tag?t.send(nt(void 0)):1===s.tag||3===s.tag||2===s.tag?t.send(nt(s.fields[0])):t.send(nt(void 0))}))}function Iu(e){return e}function Ou(e){return Array.from(e)}function Mu(e){return bn(e,"O")}function Nu(e){return function(e,n="c",t){if(-1===["c","g","G"].indexOf(n))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return io(e/864e5)}(e)),o=Math.abs(function(e){return io(e%864e5/36e5)}(e)),i=Math.abs(function(e){return io(e%36e5/6e4)}(e)),u=Math.abs(function(e){return io(e%6e4/1e3)}(e)),s=Math.abs(function(e){return io(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==n&&"g"!==n?"c"===n?r+".":r+":":""}${"g"===n?o:Ke(o,2)}:${Ke(i,2)}:${Ke(u,2)}${0!==s||"c"!==n&&"g"!==n?"g"===n?"."+Ke(s,3):"."+function(e,n,t){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(e)}function Au(){return null}function Du(e){return bn(e,"O")}function Ru(e,n){return JSON.stringify(n,gn(2,null),nt(e))}function Pu(e,n,t,r){let o;const i=new Un(null),u=Xo($t(r),i,e);let s;if(Xt(r)){const e=it((e=>{const r=lr(n,Ut(e)),o=Gu(u,n,t,e[1]);return n=>i=>{const u=function(e,n){return e[n[0]]}(n,e);return(!t||t&&null!=u)&&(i[r]=o(u)),i}}),Jt(r),null);s=n=>mo(((e,t)=>t(n)(e)),{},e)}else{if(!Yt(r))throw new Error((o=$t(r),qn(Ln("Cannot generate auto encoder for %s. Please pass an extra encoder."))(o)));s=e=>{const o=function(e,n){const t=zt(n)[e.tag];if(null==t)throw new Error(`Cannot find case ${e.name} in union type`);return[t,e.fields]}(e,r),i=o[0],s=o[1],l=0|s.length;if(0===l)return Ut(i);{const e=0|l,r=Qt(i),o=ot(new Array(e+1),0,e+1,null);o[0]=Ut(i);for(let i=1;i<=e;i++){const e=Gu(u,n,t,r[i-1][1]);o[i]=e(s[i-1])}return o}}}return i.contents=s,s}function Gu(e,n,t,r){const o=$t(r),i=Ko(o,e);if(null==i){if(Ht(r)){const o=Gu(e,n,t,Ft(r));return e=>Ou(wo(o,e))}if(Bt(r)){const e=$t(Vt(r));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=$t(r);return Wn(Ln("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e)}}if(jt(r)){if(Kt(r)){const o=it((r=>Gu(e,n,t,r)),Zt(r),null);return e=>Ou(yo(((e,n)=>o[e](n)),e))}{const o=$t(Lt(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Xe((()=>{return o=Gu(e,n,t,Ot(r)[0]),e=>{return function(e,n){return null!=e?tt(e):null}(null!=(n=e)?nt(o(tt(n))):void 0);var n};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=Gu(e,n,t,Ot(r)[0]);return e=>Ou(wo(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Ot(r)[0],i=Gu(e,n,t,Ot(r)[1]);if("System.String"===$t(o)||"System.Guid"===$t(o))return e=>mo(((e,n)=>{const t=n;return e[t[0]]=i(t[1]),e}),{},e);{let r;const u=Gu(e,n,t,o);return r=u,e=>Ou(wo((e=>{const n=e;return[r(n[0]),i(n[1])]}),e))}}return Pu(e,n,t,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Au:"System.String"===o?e=>e:"System.SByte"===o?e=>e:"System.Byte"===o?e=>e:"System.Int16"===o?e=>e:"System.UInt16"===o?e=>e:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?Du:"System.DateTimeOffset"===o?Mu:"System.TimeSpan"===o?Nu:"System.Guid"===o?Iu:"System.Object"===o?e=>e:Pu(e,n,t,r)}{const e=i;return n=>e.contents(n)}}function Uu(e,n,t,r){const o=rt(n,new or(0,[])),i=rt(r,!0);return Gu(function(e){return null!=e?Qo(((e,n)=>new Un(n[0])),e.Coders):ei({Compare:hn})}(t),o,i,e)}function $u(e){return`${e}/bank-details/admin`}function Hu(e,n){return fu.Delay((()=>{const t=(r=function(e){return new wu(0,["Authorization",e])}(qn(Ln("Bearer %s"))(e)),new vu((o=n).url,o.method,kt(o.headers,gt(r)),o.withCredentials,o.overridenMimeType,o.overridenResponseType,o.timeout,o.content));var r,o;let i;const u=Tu(t);return i=fu.Bind(u,(e=>fu.Return(new nr(0,[e])))),fu.Bind(i,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=Tu(t);return fu.Bind(e,(e=>fu.Return(new nr(0,[e]))))}return fu.Return(new nr(0,[e]))}}))}))}new Cu(0,"","",ei({Compare:hn}),new bu(0,[""]));function Fu(){return(Fu=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function ju(e){this.getChildContext=function(){return e.context};var n=e.children,t=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n.indexOf(t=i[r])>=0||(o[t]=e[t]);return o}(e,["context","children"]);return P(n,t)}function Bu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=f(ju,Fu({},this._props,{context:e.detail.context}),function e(n,t){if(3===n.nodeType)return n.data;if(1!==n.nodeType)return null;var r=[],o={},i=0,u=n.attributes,s=n.childNodes;for(i=u.length;i--;)"slot"!==u[i].name&&(o[u[i].name]=u[i].value,o[Lu(u[i].name)]=u[i].value);for(i=s.length;i--;){var l=e(s[i],null),c=s[i].slot;c?o[c]=f(Wu,{name:c},l):r[i]=l}var a=t?f(Wu,null,r):r;return f(t||n.nodeName.toLowerCase(),o,a)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?R:D)(this._vdom,this._root)}function Lu(e){return e.replace(/-(\w)/g,(function(e,n){return n?n.toUpperCase():""}))}function Vu(e,n,t){if(this._vdom){var r={};r[e]=t=null==t?void 0:t,r[Lu(e)]=t,this._vdom=P(this._vdom,r),D(this._vdom,this._root)}}function qu(){D(this._vdom=null,this._root)}function Wu(e,n){var t=this;return f("slot",Fu({},e,{ref:function(e){e?(t.ref=e,t._listener||(t._listener=function(e){e.stopPropagation(),e.detail.context=n},e.addEventListener("_preact",t._listener))):t.ref.removeEventListener("_preact",t._listener)}}))}function zu(e){let n;return Be("div",pn(xt([["className","py-10"],(n=[Be("label",{className:"inline-flex text-sm font-medium text-gray-900 mr-5",for:"max-accounts",children:`Max Accounts ${t=e.configOwnership,2===t.tag?"":`(${t})`}: `}),Be("input",{className:"inline-flex",id:"max-accounts",type:"number",max:3,value:e.selected,onChange:n=>{const t=n.target.valueAsNumber;null==t||Number.isNaN(t)||e.handleMaxAccountChanged(function(e,n=0){const t=Math.pow(10,n),r=+(n?e*t:e).toFixed(8),o=Math.floor(r),i=r-o,u=i>.5-1e-8&&i<.5+1e-8?o%2==0?o:o+1:Math.round(r);return n?u/t:u}(t))}})],["children",je.Children.toArray(Array.from(n))])])));var t}function Ju(e){let n;const t=e.msg;return Be("div",pn(xt([["className","text-sm font-medium text-gray-900 my-5"],(n=[Be("span",{children:[t]})],["children",je.Children.toArray(Array.from(n))])])))}function Zu(e){let n;const t=function(e){let n;const t=Kn(null==e?"":e,["."],null,0);if(null==t||3!==t.length)n=new nr(1,["Failed to identify the user"]);else{let e;const o=t[1];e=atob(o),n=Ni(gn(2,Zi(At(["Name",Rt],["Roles",(r=Rt,new It("[]",[r]))]),new or(1,[]),void 0)),e)}var r;if(1===n.tag)return new Qi(void 0,pt());{const e=n.fields[0];return new Qi(e.Name,function(e,n){const t=at(),r=Ct(((n,t)=>{const r=new lt(e(t),void 0);return n.tail=r,r}),t,n),o=at();return r.tail=o,_t(t)}(Xi,xt(e.Roles)))}}(e.accessToken),r=uu(new nu(0,new eu(1,[]),!1)),o=r[1],i=r[0],u=uu(new pu(0,[])),s=u[1],l=u[0],c=e=>{o(new nu(e,i.ConfigOwnership,i.AllowPercentageSplit))},a=()=>fu.Delay((()=>{const n=(t=e.backendUrl,r=e.accessToken,u=e.partnerId,s=e.accountId,fu.Delay((()=>{const e=Hu(r,ku(new gu(0,[]),xu((n=$u(t),null==s?`${n}/partners/${u}/config`:`${n}/partners/${u}/accounts/${tt(s)}/config`))));var n;return fu.Bind(e,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=n.fields[0];if(200===e.statusCode){const n=Ni(gn(2,Zi(new It("Types.Model",[],nu,void 0,(()=>[["MaxAccounts",Gt],["ConfigOwnership",function(e,n,t,r){const o=new It("Types.ConfigOwnership",[],t,void 0,void 0,(()=>{const e=t.prototype.cases();return[[],[],[]].map(((n,t)=>new Tt(o,t,e[t],n)))}));return o}(0,0,eu)],["AllowPercentageSplit",Pt]])),new or(1,[]),void 0)),e.responseText);return fu.Return(n)}return fu.Return(new nr(1,[e.responseText]))}}))})));var t,r,u,s;return fu.Bind(n,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=n.fields[0];o(new nu(e.MaxAccounts,e.ConfigOwnership,i.AllowPercentageSplit));const t=new nr(0,[void 0]);return fu.Return(t)}}))})),h=mu(a,s),d=mu((()=>fu.Delay((()=>{const n=(t=e.backendUrl,r=e.accessToken,o=e.partnerId,u=e.accountId,s=i.MaxAccounts,l=i.AllowPercentageSplit,fu.Delay((()=>{let e;const n=(i=$u(t),null==u?`${i}/partners/${o}/config`:`${i}/partners/${o}/accounts/${u}/config`);var i;const c=Hu(r,ku(new gu(2,[]),(a=new yu(1,[(e={AllowPercentageSplit:l,MaxAccounts:s},Ru(0,Uu(At(["AllowPercentageSplit",Pt],["MaxAccounts",Gt]),new or(1,[]),void 0,void 0)(e)))]),f=xu(n),new vu(f.url,f.method,f.headers,f.withCredentials,f.overridenMimeType,f.overridenResponseType,f.timeout,a))));var a,f;return fu.Bind(c,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=n.fields[0];return 200===e.statusCode?fu.Return(new nr(0,[void 0])):fu.Return(new nr(1,[e.responseText]))}}))})));var t,r,o,u,s,l;return fu.Bind(n,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=a();return fu.Bind(e,(e=>{let n;const t=e;return n=1===t.tag?new nr(1,[t.fields[0]]):new nr(0,[void 0]),fu.Return(n)}))}}))}))),s),_=mu((()=>fu.Delay((()=>{const n=(t=e.backendUrl,r=e.accessToken,o=e.partnerId,i=e.accountId,fu.Delay((()=>{const e=Hu(r,ku(new gu(4,[]),xu((n=$u(t),null==i?`${n}/partners/${o}/config`:`${n}/partners/${o}/accounts/${tt(i)}/config`))));var n;return fu.Bind(e,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=n.fields[0];return 200===e.statusCode?fu.Return(new nr(0,[void 0])):fu.Return(new nr(1,[e.responseText]))}}))})));var t,r,o,i;return fu.Bind(n,(e=>{const n=e;if(1===n.tag)return fu.Return(new nr(1,[n.fields[0]]));{const e=a();return fu.Bind(e,(e=>{let n;const t=e;return n=1===t.tag?new nr(1,[t.fields[0]]):new nr(0,[void 0]),fu.Return(n)}))}}))}))),s);let p,m,g,w;switch(function(e,n){tu((n=>(e(),ru((()=>{})))),[])}(h),2===l.tag?1===l.fields[0].tag?(m=0,g=l.fields[0].fields[0]):m=2:3===l.tag?(m=1,w=l.fields[0]):m=2,m){case 0:p=f(Ju,{msg:g});break;case 1:p=f(Ju,{msg:Rn(w)});break;case 2:p=null}if(null!=Ki(t.Roles)){const e=xt([f(zu,{configOwnership:i.ConfigOwnership,handleMaxAccountChanged:c,selected:i.MaxAccounts}),Be("div",pn(gt((n=[Be("button",{className:"inline-flex items-center rounded border border-transparent bg-indigo-600 px-2.5 py-1.5 mr-5 text-xs font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none",type:"button",children:"Update",onClick:e=>{d()}}),Be("button",{className:"inline-flex items-center rounded border border-transparent bg-red-600 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none",type:"button",children:"Reset",onClick:e=>{_()}}),p],["children",je.Children.toArray(Array.from(n))]))))]);return Be("div",{children:je.Children.toArray(Array.from(e))})}return f(Ju,{msg:"You do not have the appropriate permissions to view this information"})}new class{constructor(){}},function(e,n,t,r){function o(){var n=Reflect.construct(HTMLElement,[],o);return n._vdomComponent=e,n._root=n,n}(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=Bu,o.prototype.attributeChangedCallback=Vu,o.prototype.disconnectedCallback=qu,t=t||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=t,t.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(n){this._vdom?this.attributeChangedCallback(e,null,n):(this._props||(this._props={}),this._props[e]=n,this.connectedCallback());var t=typeof n;null!=n&&"string"!==t&&"boolean"!==t&&"number"!==t||this.setAttribute(e,n)}})})),customElements.define("superhero-bank-details",o)}((e=>f(Zu,e)))})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/superhero-bank-details",
3
- "version": "0.1.1201",
3
+ "version": "0.1.1204",
4
4
  "description": "Flare Superhero Bank Details Components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [