@flarehr/apollo-super-selection-app 0.3.5014 → 0.3.5025
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,7 +1,7 @@
|
|
|
1
|
-
var jt,F,rs,ut,Gr,os,Hn,ir,zn,jn,ss,Rt={},is=[],Aa=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,vn=Array.isArray;function ze(e,t){for(var n in t)e[n]=t[n];return e}function as(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var r,o,s,i={};for(s in t)s=="key"?r=t[s]:s=="ref"?o=t[s]:i[s]=t[s];if(arguments.length>2&&(i.children=arguments.length>3?jt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)i[s]===void 0&&(i[s]=e.defaultProps[s]);return Pt(e,i,r,o,null)}function Pt(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++rs,__i:-1,__u:0};return o==null&&F.vnode!=null&&F.vnode(s),s}function us(){return{current:null}}function Be(e){return e.children}function Me(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?xt(e):null}function ls(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ls(e)}}function Gn(e){(!e.__d&&(e.__d=!0)&&ut.push(e)&&!ln.__r++||Gr!==F.debounceRendering)&&((Gr=F.debounceRendering)||os)(ln)}function ln(){var e,t,n,r,o,s,i,a;for(ut.sort(Hn);e=ut.shift();)e.__d&&(t=ut.length,r=void 0,s=(o=(n=e).__v).__e,i=[],a=[],n.__P&&((r=ze({},o)).__v=o.__v+1,F.vnode&&F.vnode(r),ar(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,i,s??xt(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,fs(i,r,a),r.__e!=s&&ls(r)),ut.length>t&&ut.sort(Hn));ln.__r=0}function cs(e,t,n,r,o,s,i,a,c,l,f){var u,p,h,_,w,g=r&&r.__k||is,m=t.length;for(n.__d=c,Ea(n,t,g),c=n.__d,u=0;u<m;u++)(h=n.__k[u])!=null&&(p=h.__i===-1?Rt:g[h.__i]||Rt,h.__i=u,ar(e,h,p,o,s,i,a,c,l,f),_=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&ur(p.ref,null,h),f.push(h.ref,h.__c||_,h)),w==null&&_!=null&&(w=_),65536&h.__u||p.__k===h.__k?c=ds(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:_&&(c=_.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=w}function Ea(e,t,n){var r,o,s,i,a,c=t.length,l=n.length,f=l,u=0;for(e.__k=[],r=0;r<c;r++)(o=t[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(i=r+u,(o=e.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Pt(null,o,null,null,null):vn(o)?Pt(Be,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Pt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,s=null,(a=o.__i=Na(o,n,i,f))!==-1&&(f--,(s=n[a])&&(s.__u|=131072)),s==null||s.__v===null?(a==-1&&u--,typeof o.type!="function"&&(o.__u|=65536)):a!==i&&(a==i-1?u--:a==i+1?u++:(a>i?u--:u++,o.__u|=65536))):o=e.__k[r]=null;if(f)for(r=0;r<l;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==e.__d&&(e.__d=xt(s)),hs(s,s))}function ds(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=ds(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=xt(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function je(e,t){return t=t||[],e==null||typeof e=="boolean"||(vn(e)?e.some(function(n){je(n,t)}):t.push(e)),t}function Na(e,t,n,r){var o=e.key,s=e.type,i=n-1,a=n+1,c=t[n];if(c===null||c&&o==c.key&&s===c.type&&!(131072&c.__u))return n;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;i>=0||a<t.length;){if(i>=0){if((c=t[i])&&!(131072&c.__u)&&o==c.key&&s===c.type)return i;i--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&o==c.key&&s===c.type)return a;a++}}return-1}function Wr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Aa.test(t)?n:n+"px"}function tn(e,t,n,r,o){var s;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Wr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Wr(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r?n.u=r.u:(n.u=ir,e.addEventListener(t,s?jn:zn,s)):e.removeEventListener(t,s?jn:zn,s);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function qr(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ir++;else if(t.t<n.u)return;return n(F.event?F.event(t):t)}}}function ar(e,t,n,r,o,s,i,a,c,l){var f,u,p,h,_,w,g,m,v,N,Z,ne,Ce,it,Ye,Xe,de=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),s=[a=t.__e=n.__e]),(f=F.__b)&&f(t);e:if(typeof de=="function")try{if(m=t.props,v="prototype"in de&&de.prototype.render,N=(f=de.contextType)&&r[f.__c],Z=f?N?N.props.value:f.__:r,n.__c?g=(u=t.__c=n.__c).__=u.__E:(v?t.__c=u=new de(m,Z):(t.__c=u=new Me(m,Z),u.constructor=de,u.render=Ma),N&&N.sub(u),u.props=m,u.state||(u.state={}),u.context=Z,u.__n=r,p=u.__d=!0,u.__h=[],u._sb=[]),v&&u.__s==null&&(u.__s=u.state),v&&de.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=ze({},u.__s)),ze(u.__s,de.getDerivedStateFromProps(m,u.__s))),h=u.props,_=u.state,u.__v=t,p)v&&de.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),v&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(v&&de.getDerivedStateFromProps==null&&m!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(m,Z),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(m,u.__s,Z)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(en){en&&(en.__=t)}),ne=0;ne<u._sb.length;ne++)u.__h.push(u._sb[ne]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(m,u.__s,Z),v&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,_,w)})}if(u.context=Z,u.props=m,u.__P=e,u.__e=!1,Ce=F.__r,it=0,v){for(u.state=u.__s,u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),Ye=0;Ye<u._sb.length;Ye++)u.__h.push(u._sb[Ye]);u._sb=[]}else do u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++it<25);u.state=u.__s,u.getChildContext!=null&&(r=ze(ze({},r),u.getChildContext())),v&&!p&&u.getSnapshotBeforeUpdate!=null&&(w=u.getSnapshotBeforeUpdate(h,_)),cs(e,vn(Xe=f!=null&&f.type===Be&&f.key==null?f.props.children:f)?Xe:[Xe],t,n,r,o,s,i,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),g&&(u.__E=u.__=null)}catch(en){if(t.__v=null,c||s!=null){for(t.__u|=c?160:32;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;s[s.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;F.__e(en,t,n)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Fa(n.__e,t,n,r,o,s,i,c,l);(f=F.diffed)&&f(t)}function fs(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ur(n[r],n[++r],n[++r]);F.__c&&F.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){F.__e(s,o.__v)}})}function Fa(e,t,n,r,o,s,i,a,c){var l,f,u,p,h,_,w,g=n.props,m=t.props,v=t.type;if(v==="svg"?o="http://www.w3.org/2000/svg":v==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s!=null){for(l=0;l<s.length;l++)if((h=s[l])&&"setAttribute"in h==!!v&&(v?h.localName===v:h.nodeType===3)){e=h,s[l]=null;break}}if(e==null){if(v===null)return document.createTextNode(m);e=document.createElementNS(o,v,m.is&&m),a&&(F.__m&&F.__m(t,s),a=!1),s=null}if(v===null)g===m||a&&e.data===m||(e.data=m);else{if(s=s&&jt.call(e.childNodes),g=n.props||Rt,!a&&s!=null)for(g={},l=0;l<e.attributes.length;l++)g[(h=e.attributes[l]).name]=h.value;for(l in g)if(h=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")u=h;else if(!(l in m)){if(l=="value"&&"defaultValue"in m||l=="checked"&&"defaultChecked"in m)continue;tn(e,l,null,h,o)}}for(l in m)h=m[l],l=="children"?p=h:l=="dangerouslySetInnerHTML"?f=h:l=="value"?_=h:l=="checked"?w=h:a&&typeof h!="function"||g[l]===h||tn(e,l,h,g[l],o);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),cs(e,vn(p)?p:[p],t,n,r,v==="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&xt(n,0),a,c),s!=null)for(l=s.length;l--;)as(s[l]);a||(l="value",v==="progress"&&_==null?e.removeAttribute("value"):_!==void 0&&(_!==e[l]||v==="progress"&&!_||v==="option"&&_!==g[l])&&tn(e,l,_,g[l],o),l="checked",w!==void 0&&w!==e[l]&&tn(e,l,w,g[l],o))}return e}function ur(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){F.__e(o,n)}}function hs(e,t,n){var r,o;if(F.unmount&&F.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ur(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){F.__e(s,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&hs(r[o],t,n||typeof e.type!="function");n||as(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ma(e,t,n){return this.constructor(e,n)}function rt(e,t,n){var r,o,s,i;F.__&&F.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],ar(t,e=(!r&&n||t).__k=b(Be,null,[e]),o||Rt,Rt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?jt.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),fs(s,e,i)}function lr(e,t){rt(e,t,lr)}function cr(e,t,n){var r,o,s,i,a=ze({},e.props);for(s in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)s=="key"?r=t[s]:s=="ref"?o=t[s]:a[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(a.children=arguments.length>3?jt.call(arguments,2):n),Pt(e.type,a,r||e.key,o||e.ref,null)}function ms(e,t){var n={__c:t="__cC"+ss++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,s;return this.getChildContext||(o=[],(s={})[t]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(a){a.__e=!0,Gn(a)})},this.sub=function(i){o.push(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.splice(o.indexOf(i),1),a&&a.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}jt=is.slice,F={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&s.getDerivedStateFromError!=null&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(a){e=a}throw e}},rs=0,Me.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ze({},this.state),typeof e=="function"&&(e=e(ze({},n),this.props)),e&&ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Gn(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Gn(this))},Me.prototype.render=Be,ut=[],os=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hn=function(e,t){return e.__v.__b-t.__v.__b},ln.__r=0,ir=0,zn=qr(!1),jn=qr(!0),ss=0;var Ge,P,In,Zr,Ct=0,ps=[],j=F,Jr=j.__b,Kr=j.__r,Yr=j.diffed,Xr=j.__c,Qr=j.unmount,eo=j.__;function mt(e,t){j.__h&&j.__h(P,e,Ct||t),Ct=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Tt(e){return Ct=1,kn(_s,e)}function kn(e,t,n){var r=mt(Ge++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):_s(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=P,!P.u)){var o=function(a,c,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!s||s.call(this,a,c,l);var u=!1;return f.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!s||s.call(this,a,c,l))};P.u=!0;var s=P.shouldComponentUpdate,i=P.componentWillUpdate;P.componentWillUpdate=function(a,c,l){if(this.__e){var f=s;s=void 0,o(a,c,l),s=f}i&&i.call(this,a,c,l)},P.shouldComponentUpdate=o}return r.__N||r.__}function Gt(e,t){var n=mt(Ge++,3);!j.__s&&wr(n.__H,t)&&(n.__=e,n.i=t,P.__H.__h.push(n))}function Bt(e,t){var n=mt(Ge++,4);!j.__s&&wr(n.__H,t)&&(n.__=e,n.i=t,P.__h.push(n))}function dr(e){return Ct=5,Wt(function(){return{current:e}},[])}function fr(e,t,n){Ct=6,Bt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Wt(e,t){var n=mt(Ge++,7);return wr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function hr(e,t){return Ct=8,Wt(function(){return e},t)}function mr(e){var t=P.context[e.__c],n=mt(Ge++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function pr(e,t){j.useDebugValue&&j.useDebugValue(t?t(e):e)}function Ta(e){var t=mt(Ge++,10),n=Tt();return t.__=e,P.componentDidCatch||(P.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function _r(){var e=mt(Ge++,11);if(!e.__){for(var t=P.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ba(){for(var e;e=ps.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(sn),e.__H.__h.forEach(Wn),e.__H.__h=[]}catch(t){e.__H.__h=[],j.__e(t,e.__v)}}j.__b=function(e){P=null,Jr&&Jr(e)},j.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),eo&&eo(e,t)},j.__r=function(e){Kr&&Kr(e),Ge=0;var t=(P=e.__c).__H;t&&(In===P?(t.__h=[],P.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(sn),t.__h.forEach(Wn),t.__h=[],Ge=0)),In=P},j.diffed=function(e){Yr&&Yr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ps.push(t)!==1&&Zr===j.requestAnimationFrame||((Zr=j.requestAnimationFrame)||$a)(Ba)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),In=P=null},j.__c=function(e,t){t.some(function(n){try{n.__h.forEach(sn),n.__h=n.__h.filter(function(r){return!r.__||Wn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],j.__e(r,n.__v)}}),Xr&&Xr(e,t)},j.unmount=function(e){Qr&&Qr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{sn(r)}catch(o){t=o}}),n.__H=void 0,t&&j.__e(t,n.__v))};var to=typeof requestAnimationFrame=="function";function $a(e){var t,n=function(){clearTimeout(r),to&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);to&&(t=requestAnimationFrame(n))}function sn(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function Wn(e){var t=P;e.__c=e.__(),P=t}function wr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function _s(e,t){return typeof t=="function"?t(e):t}function ws(e,t){for(var n in t)e[n]=t[n];return e}function qn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function cn(e,t){this.props=e,this.context=t}function gs(e,t){function n(o){var s=this.props.ref,i=s==o.ref;return!i&&s&&(s.call?s(null):s.current=null),t?!t(this.props,o)||!i:qn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,b(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(cn.prototype=new Me).isPureReactComponent=!0,cn.prototype.shouldComponentUpdate=function(e,t){return qn(this.props,e)||qn(this.state,t)};var no=F.__b;F.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),no&&no(e)};var Ia=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function bs(e){function t(n){var r=ws({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ia,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ro=function(e,t){return e==null?null:je(je(e).map(t))},ys={map:ro,forEach:ro,count:function(e){return e?je(e).length:0},only:function(e){var t=je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:je},Oa=F.__e;F.__e=function(e,t,n,r){if(e.then){for(var o,s=t;s=s.__;)if((o=s.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Oa(e,t,n,r)};var oo=F.unmount;function vs(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=ws({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return vs(r,t,n)})),e}function ks(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ks(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Dt(){this.__u=0,this.t=null,this.__b=null}function Ss(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function xs(e){var t,n,r;function o(s){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return b(n,s)}return o.displayName="Lazy",o.__f=!0,o}function bt(){this.u=null,this.o=null}F.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),oo&&oo(e)},(Dt.prototype=new Me).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ss(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(a):a())};n.__R=i;var a=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=ks(c,c.__c.__P,c.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Dt.prototype.componentWillUnmount=function(){this.t=[]},Dt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=vs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(Be,null,e.fallback);return o&&(o.__u&=-33),[b(Be,null,t.__a?null:e.children),o]};var so=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function La(e){return this.getChildContext=function(){return e.context},e.children}function Va(e){var t=this,n=e.i;t.componentWillUnmount=function(){rt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),rt(b(La,{context:t.context},e.__v),t.l)}function Cs(e,t){var n=b(Va,{__v:e,i:t});return n.containerInfo=t,n}(bt.prototype=new Me).__a=function(e){var t=this,n=Ss(t.__v),r=t.o.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),so(t,e,r)):o()};n?n(s):s()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=je(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},bt.prototype.componentDidUpdate=bt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){so(e,n,t)})};var As=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Pa=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Da=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ra=/[A-Z0-9]/g,Ua=typeof document<"u",Ha=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Es(e,t,n){return t.__k==null&&(t.textContent=""),rt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ns(e,t,n){return lr(e,t),typeof n=="function"&&n(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var io=F.event;function za(){}function ja(){return this.cancelBubble}function Ga(){return this.defaultPrevented}F.event=function(e){return io&&(e=io(e)),e.persist=za,e.isPropagationStopped=ja,e.isDefaultPrevented=Ga,e.nativeEvent=e};var gr,Wa={enumerable:!1,configurable:!0,get:function(){return this.class}},ao=F.vnode;F.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},s=r.indexOf("-")===-1;for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Ua&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||Ha(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":Da.test(i)&&(i=c):c=i="oninput":s&&Pa.test(i)?i=i.replace(Ra,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[i=c]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=je(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=je(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Wa)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=As,ao&&ao(e)};var uo=F.__r;F.__r=function(e){uo&&uo(e),gr=e.__c};var lo=F.diffed;F.diffed=function(e){lo&&lo(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),gr=null};var Fs={ReactCurrentDispatcher:{current:{readContext:function(e){return gr.__n[e.__c].props.value},useCallback:hr,useContext:mr,useDebugValue:pr,useDeferredValue:yr,useEffect:Gt,useId:_r,useImperativeHandle:fr,useInsertionEffect:kr,useLayoutEffect:Bt,useMemo:Wt,useReducer:kn,useRef:dr,useState:Tt,useSyncExternalStore:Sr,useTransition:vr}}},qa="18.3.1";function Ms(e){return b.bind(null,e)}function qt(e){return!!e&&e.$$typeof===As}function Ts(e){return qt(e)&&e.type===Be}function Bs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function $s(e){return qt(e)?cr.apply(null,arguments):e}function Is(e){return!!e.__k&&(rt(null,e),!0)}function Os(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ls=function(e,t){return e(t)},Vs=function(e,t){return e(t)},Ps=Be;function br(e){e()}function yr(e){return e}function vr(){return[!1,br]}var kr=Bt,Ds=qt;function Sr(e,t){var n=t(),r=Tt({h:{__:n,v:t}}),o=r[0].h,s=r[1];return Bt(function(){o.__=n,o.v=t,On(o)&&s({h:o})},[e,n,t]),Gt(function(){return On(o)&&s({h:o}),e(function(){On(o)&&s({h:o})})},[e]),n}function On(e){var t,n,r=e.v,o=e.__;try{var s=r();return!((t=o)===(n=s)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Rs={useState:Tt,useId:_r,useReducer:kn,useEffect:Gt,useLayoutEffect:Bt,useInsertionEffect:kr,useTransition:vr,useDeferredValue:yr,useSyncExternalStore:Sr,startTransition:br,useRef:dr,useImperativeHandle:fr,useMemo:Wt,useCallback:hr,useContext:mr,useDebugValue:pr,version:"18.3.1",Children:ys,render:Es,hydrate:Ns,unmountComponentAtNode:Is,createPortal:Cs,createElement:b,createContext:ms,createFactory:Ms,cloneElement:$s,createRef:us,Fragment:Be,isValidElement:qt,isElement:Ds,isFragment:Ts,isMemo:Bs,findDOMNode:Os,Component:Me,PureComponent:cn,memo:gs,forwardRef:bs,flushSync:Vs,unstable_batchedUpdates:Ls,StrictMode:Ps,Suspense:Dt,SuspenseList:bt,lazy:xs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs};const Za=Object.freeze(Object.defineProperty({__proto__:null,Children:ys,Component:Me,Fragment:Be,PureComponent:cn,StrictMode:Ps,Suspense:Dt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs,cloneElement:$s,createContext:ms,createElement:b,createFactory:Ms,createPortal:Cs,createRef:us,default:Rs,findDOMNode:Os,flushSync:Vs,forwardRef:bs,hydrate:Ns,isElement:Ds,isFragment:Ts,isMemo:Bs,isValidElement:qt,lazy:xs,memo:gs,render:Es,startTransition:br,unmountComponentAtNode:Is,unstable_batchedUpdates:Ls,useCallback:hr,useContext:mr,useDebugValue:pr,useDeferredValue:yr,useEffect:Gt,useErrorBoundary:Ta,useId:_r,useImperativeHandle:fr,useInsertionEffect:kr,useLayoutEffect:Bt,useMemo:Wt,useReducer:kn,useRef:dr,useState:Tt,useSyncExternalStore:Sr,useTransition:vr,version:qa},Symbol.toStringTag,{value:"Module"})),Ja=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:Inter}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-0{left:0}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-full{height:100%}.w-1\\/2{width:50%}.w-5{width:1.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-7xl{max-width:80rem}.max-w-96{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-l-4{border-left-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.pb-6{padding-bottom:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.placeholder-red-300::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.placeholder-red-300::placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.focus\\:z-10:focus{z-index:10}.focus\\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-primary-focus:focus{--tw-ring-color: var(--fl-color-primary-focus)}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.lg\\:px-8{padding-left:2rem;padding-right:2rem}}`;function Ve(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ka(e){return e!=null&&typeof e.GetEnumerator=="function"}function Ya(e){return e!=null&&typeof e.CompareTo=="function"}function Xa(e){return e!=null&&typeof e.Equals=="function"}function Qa(e){return e!=null&&typeof e.GetHashCode=="function"}function Zn(e){return e!=null&&typeof e.Dispose=="function"}function G(e){Zn(e)&&e.Dispose()}function We(){return null}function dn(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class eu{constructor(t){this.iter=t,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function K(e){return Ka(e)?e.GetEnumerator():new eu(e[Symbol.iterator]())}function Sn(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function U(e,t){return e.toString(10).padStart(t,"0")}function co(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function tu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function ct(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class tt{static id(t){return tt.idMap.has(t)||tt.idMap.set(t,++tt.count),tt.idMap.get(t)}}tt.idMap=new WeakMap;tt.count=0;function xr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ue(e){return e*2654435761|0}function nu(e){return xr(e.toString(32))}function Zt(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=e[r];t=(t<<5)+t^o}return t}function ru(e){return e.getTime()}function ou(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=qe(e[r]);return Zt(n)}function qe(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return nu(e);case"string":return xr(e);default:{if(Qa(e))return e.GetHashCode();if(Ve(e))return ou(e);if(e instanceof Date)return ru(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>qe(r));return Zt(n)}else return Ue(tt.id(e))}}}function Jn(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Us(e,t){return Jn(e,t,Te)}function su(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!Te(e[n[o]],t[r[o]]))return!1;return!0}function Te(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Xa(e)?e.Equals(t):Ve(e)?Ve(t)&&Us(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Hs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&su(e,t)}function Hs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+co(e),r=t.getTime()+co(t)),n===r?0:n<r?-1:1}function Cr(e,t){return e===t?0:e<t?-1:1}function iu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function zs(e,t){return iu(e,t,Se)}function au(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,s=0;o<n.length;o++){const i=n[o];if(i!==r[o])return i<r[o]?-1:1;if(s=Se(e[i],t[i]),s!==0)return s}return 0}function Se(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Ya(e)?e.CompareTo(t):Ve(e)?Ve(t)?zs(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Hs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?au(e,t):-1}function E(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function uu(e){Ve(e)?e.splice(0):e.clear()}const xn=new WeakMap;function q(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return xn.set(t,e),t}function M(e){return xn.get(e)??(t=>n=>e(t,n))}function Kn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return xn.set(t,e),t}function Ln(e){return xn.get(e)??(t=>n=>r=>e(t,n,r))}function lu(e){let t=0,n="[";for(const r of e){if(t===0)n+=$e(r);else if(t===100){n+="; ...";break}else n+="; "+$e(r);t++}return n+"]"}function $e(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return lu(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+$e(s,t+1)).join(`
|
|
1
|
+
var jt,F,rs,ut,Gr,os,jn,ir,Gn,Wn,ss,Rt={},is=[],Aa=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Sn=Array.isArray;function ze(e,t){for(var n in t)e[n]=t[n];return e}function as(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var r,o,s,i={};for(s in t)s=="key"?r=t[s]:s=="ref"?o=t[s]:i[s]=t[s];if(arguments.length>2&&(i.children=arguments.length>3?jt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)i[s]===void 0&&(i[s]=e.defaultProps[s]);return Pt(e,i,r,o,null)}function Pt(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++rs,__i:-1,__u:0};return o==null&&F.vnode!=null&&F.vnode(s),s}function us(){return{current:null}}function Be(e){return e.children}function Me(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?xt(e):null}function ls(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ls(e)}}function qn(e){(!e.__d&&(e.__d=!0)&&ut.push(e)&&!ln.__r++||Gr!==F.debounceRendering)&&((Gr=F.debounceRendering)||os)(ln)}function ln(){var e,t,n,r,o,s,i,a;for(ut.sort(jn);e=ut.shift();)e.__d&&(t=ut.length,r=void 0,s=(o=(n=e).__v).__e,i=[],a=[],n.__P&&((r=ze({},o)).__v=o.__v+1,F.vnode&&F.vnode(r),ar(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,i,s??xt(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,fs(i,r,a),r.__e!=s&&ls(r)),ut.length>t&&ut.sort(jn));ln.__r=0}function cs(e,t,n,r,o,s,i,a,c,l,f){var u,p,h,_,g,w=r&&r.__k||is,y=t.length;for(n.__d=c,Ea(n,t,w),c=n.__d,u=0;u<y;u++)(h=n.__k[u])!=null&&(p=h.__i===-1?Rt:w[h.__i]||Rt,h.__i=u,ar(e,h,p,o,s,i,a,c,l,f),_=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&ur(p.ref,null,h),f.push(h.ref,h.__c||_,h)),g==null&&_!=null&&(g=_),65536&h.__u||p.__k===h.__k?c=ds(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:_&&(c=_.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=g}function Ea(e,t,n){var r,o,s,i,a,c=t.length,l=n.length,f=l,u=0;for(e.__k=[],r=0;r<c;r++)(o=t[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(i=r+u,(o=e.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Pt(null,o,null,null,null):Sn(o)?Pt(Be,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Pt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,s=null,(a=o.__i=Na(o,n,i,f))!==-1&&(f--,(s=n[a])&&(s.__u|=131072)),s==null||s.__v===null?(a==-1&&u--,typeof o.type!="function"&&(o.__u|=65536)):a!==i&&(a==i-1?u--:a==i+1?u++:(a>i?u--:u++,o.__u|=65536))):o=e.__k[r]=null;if(f)for(r=0;r<l;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==e.__d&&(e.__d=xt(s)),hs(s,s))}function ds(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=ds(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=xt(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function je(e,t){return t=t||[],e==null||typeof e=="boolean"||(Sn(e)?e.some(function(n){je(n,t)}):t.push(e)),t}function Na(e,t,n,r){var o=e.key,s=e.type,i=n-1,a=n+1,c=t[n];if(c===null||c&&o==c.key&&s===c.type&&!(131072&c.__u))return n;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;i>=0||a<t.length;){if(i>=0){if((c=t[i])&&!(131072&c.__u)&&o==c.key&&s===c.type)return i;i--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&o==c.key&&s===c.type)return a;a++}}return-1}function Wr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Aa.test(t)?n:n+"px"}function tn(e,t,n,r,o){var s;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Wr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Wr(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r?n.u=r.u:(n.u=ir,e.addEventListener(t,s?Wn:Gn,s)):e.removeEventListener(t,s?Wn:Gn,s);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function qr(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ir++;else if(t.t<n.u)return;return n(F.event?F.event(t):t)}}}function ar(e,t,n,r,o,s,i,a,c,l){var f,u,p,h,_,g,w,y,m,A,Z,ne,Ce,it,Ye,Xe,de=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),s=[a=t.__e=n.__e]),(f=F.__b)&&f(t);e:if(typeof de=="function")try{if(y=t.props,m="prototype"in de&&de.prototype.render,A=(f=de.contextType)&&r[f.__c],Z=f?A?A.props.value:f.__:r,n.__c?w=(u=t.__c=n.__c).__=u.__E:(m?t.__c=u=new de(y,Z):(t.__c=u=new Me(y,Z),u.constructor=de,u.render=Ma),A&&A.sub(u),u.props=y,u.state||(u.state={}),u.context=Z,u.__n=r,p=u.__d=!0,u.__h=[],u._sb=[]),m&&u.__s==null&&(u.__s=u.state),m&&de.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=ze({},u.__s)),ze(u.__s,de.getDerivedStateFromProps(y,u.__s))),h=u.props,_=u.state,u.__v=t,p)m&&de.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),m&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(m&&de.getDerivedStateFromProps==null&&y!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(y,Z),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(y,u.__s,Z)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=y,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(en){en&&(en.__=t)}),ne=0;ne<u._sb.length;ne++)u.__h.push(u._sb[ne]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(y,u.__s,Z),m&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,_,g)})}if(u.context=Z,u.props=y,u.__P=e,u.__e=!1,Ce=F.__r,it=0,m){for(u.state=u.__s,u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),Ye=0;Ye<u._sb.length;Ye++)u.__h.push(u._sb[Ye]);u._sb=[]}else do u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++it<25);u.state=u.__s,u.getChildContext!=null&&(r=ze(ze({},r),u.getChildContext())),m&&!p&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(h,_)),cs(e,Sn(Xe=f!=null&&f.type===Be&&f.key==null?f.props.children:f)?Xe:[Xe],t,n,r,o,s,i,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),w&&(u.__E=u.__=null)}catch(en){if(t.__v=null,c||s!=null){for(t.__u|=c?160:32;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;s[s.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;F.__e(en,t,n)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Fa(n.__e,t,n,r,o,s,i,c,l);(f=F.diffed)&&f(t)}function fs(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ur(n[r],n[++r],n[++r]);F.__c&&F.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){F.__e(s,o.__v)}})}function Fa(e,t,n,r,o,s,i,a,c){var l,f,u,p,h,_,g,w=n.props,y=t.props,m=t.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s!=null){for(l=0;l<s.length;l++)if((h=s[l])&&"setAttribute"in h==!!m&&(m?h.localName===m:h.nodeType===3)){e=h,s[l]=null;break}}if(e==null){if(m===null)return document.createTextNode(y);e=document.createElementNS(o,m,y.is&&y),a&&(F.__m&&F.__m(t,s),a=!1),s=null}if(m===null)w===y||a&&e.data===y||(e.data=y);else{if(s=s&&jt.call(e.childNodes),w=n.props||Rt,!a&&s!=null)for(w={},l=0;l<e.attributes.length;l++)w[(h=e.attributes[l]).name]=h.value;for(l in w)if(h=w[l],l!="children"){if(l=="dangerouslySetInnerHTML")u=h;else if(!(l in y)){if(l=="value"&&"defaultValue"in y||l=="checked"&&"defaultChecked"in y)continue;tn(e,l,null,h,o)}}for(l in y)h=y[l],l=="children"?p=h:l=="dangerouslySetInnerHTML"?f=h:l=="value"?_=h:l=="checked"?g=h:a&&typeof h!="function"||w[l]===h||tn(e,l,h,w[l],o);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),cs(e,Sn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&xt(n,0),a,c),s!=null)for(l=s.length;l--;)as(s[l]);a||(l="value",m==="progress"&&_==null?e.removeAttribute("value"):_!==void 0&&(_!==e[l]||m==="progress"&&!_||m==="option"&&_!==w[l])&&tn(e,l,_,w[l],o),l="checked",g!==void 0&&g!==e[l]&&tn(e,l,g,w[l],o))}return e}function ur(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){F.__e(o,n)}}function hs(e,t,n){var r,o;if(F.unmount&&F.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ur(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){F.__e(s,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&hs(r[o],t,n||typeof e.type!="function");n||as(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ma(e,t,n){return this.constructor(e,n)}function rt(e,t,n){var r,o,s,i;F.__&&F.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],ar(t,e=(!r&&n||t).__k=b(Be,null,[e]),o||Rt,Rt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?jt.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),fs(s,e,i)}function lr(e,t){rt(e,t,lr)}function cr(e,t,n){var r,o,s,i,a=ze({},e.props);for(s in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)s=="key"?r=t[s]:s=="ref"?o=t[s]:a[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(a.children=arguments.length>3?jt.call(arguments,2):n),Pt(e.type,a,r||e.key,o||e.ref,null)}function ms(e,t){var n={__c:t="__cC"+ss++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,s;return this.getChildContext||(o=[],(s={})[t]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(a){a.__e=!0,qn(a)})},this.sub=function(i){o.push(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.splice(o.indexOf(i),1),a&&a.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}jt=is.slice,F={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&s.getDerivedStateFromError!=null&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(a){e=a}throw e}},rs=0,Me.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ze({},this.state),typeof e=="function"&&(e=e(ze({},n),this.props)),e&&ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),qn(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),qn(this))},Me.prototype.render=Be,ut=[],os=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,jn=function(e,t){return e.__v.__b-t.__v.__b},ln.__r=0,ir=0,Gn=qr(!1),Wn=qr(!0),ss=0;var Ge,P,Ln,Zr,Ct=0,ps=[],G=F,Jr=G.__b,Kr=G.__r,Yr=G.diffed,Xr=G.__c,Qr=G.unmount,eo=G.__;function mt(e,t){G.__h&&G.__h(P,e,Ct||t),Ct=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Tt(e){return Ct=1,xn(_s,e)}function xn(e,t,n){var r=mt(Ge++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):_s(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=P,!P.u)){var o=function(a,c,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!s||s.call(this,a,c,l);var u=!1;return f.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!s||s.call(this,a,c,l))};P.u=!0;var s=P.shouldComponentUpdate,i=P.componentWillUpdate;P.componentWillUpdate=function(a,c,l){if(this.__e){var f=s;s=void 0,o(a,c,l),s=f}i&&i.call(this,a,c,l)},P.shouldComponentUpdate=o}return r.__N||r.__}function Gt(e,t){var n=mt(Ge++,3);!G.__s&&wr(n.__H,t)&&(n.__=e,n.i=t,P.__H.__h.push(n))}function Bt(e,t){var n=mt(Ge++,4);!G.__s&&wr(n.__H,t)&&(n.__=e,n.i=t,P.__h.push(n))}function dr(e){return Ct=5,Wt(function(){return{current:e}},[])}function fr(e,t,n){Ct=6,Bt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Wt(e,t){var n=mt(Ge++,7);return wr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function hr(e,t){return Ct=8,Wt(function(){return e},t)}function mr(e){var t=P.context[e.__c],n=mt(Ge++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function pr(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function Ta(e){var t=mt(Ge++,10),n=Tt();return t.__=e,P.componentDidCatch||(P.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function _r(){var e=mt(Ge++,11);if(!e.__){for(var t=P.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ba(){for(var e;e=ps.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(sn),e.__H.__h.forEach(Zn),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){P=null,Jr&&Jr(e)},G.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),eo&&eo(e,t)},G.__r=function(e){Kr&&Kr(e),Ge=0;var t=(P=e.__c).__H;t&&(Ln===P?(t.__h=[],P.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(sn),t.__h.forEach(Zn),t.__h=[],Ge=0)),Ln=P},G.diffed=function(e){Yr&&Yr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ps.push(t)!==1&&Zr===G.requestAnimationFrame||((Zr=G.requestAnimationFrame)||$a)(Ba)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Ln=P=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(sn),n.__h=n.__h.filter(function(r){return!r.__||Zn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],G.__e(r,n.__v)}}),Xr&&Xr(e,t)},G.unmount=function(e){Qr&&Qr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{sn(r)}catch(o){t=o}}),n.__H=void 0,t&&G.__e(t,n.__v))};var to=typeof requestAnimationFrame=="function";function $a(e){var t,n=function(){clearTimeout(r),to&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);to&&(t=requestAnimationFrame(n))}function sn(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function Zn(e){var t=P;e.__c=e.__(),P=t}function wr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function _s(e,t){return typeof t=="function"?t(e):t}function ws(e,t){for(var n in t)e[n]=t[n];return e}function Jn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function cn(e,t){this.props=e,this.context=t}function gs(e,t){function n(o){var s=this.props.ref,i=s==o.ref;return!i&&s&&(s.call?s(null):s.current=null),t?!t(this.props,o)||!i:Jn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,b(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(cn.prototype=new Me).isPureReactComponent=!0,cn.prototype.shouldComponentUpdate=function(e,t){return Jn(this.props,e)||Jn(this.state,t)};var no=F.__b;F.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),no&&no(e)};var Ia=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function bs(e){function t(n){var r=ws({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ia,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ro=function(e,t){return e==null?null:je(je(e).map(t))},ys={map:ro,forEach:ro,count:function(e){return e?je(e).length:0},only:function(e){var t=je(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:je},Oa=F.__e;F.__e=function(e,t,n,r){if(e.then){for(var o,s=t;s=s.__;)if((o=s.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Oa(e,t,n,r)};var oo=F.unmount;function vs(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=ws({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return vs(r,t,n)})),e}function ks(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ks(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Dt(){this.__u=0,this.t=null,this.__b=null}function Ss(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function xs(e){var t,n,r;function o(s){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return b(n,s)}return o.displayName="Lazy",o.__f=!0,o}function bt(){this.u=null,this.o=null}F.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),oo&&oo(e)},(Dt.prototype=new Me).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ss(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(a):a())};n.__R=i;var a=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=ks(c,c.__c.__P,c.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Dt.prototype.componentWillUnmount=function(){this.t=[]},Dt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=vs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(Be,null,e.fallback);return o&&(o.__u&=-33),[b(Be,null,t.__a?null:e.children),o]};var so=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function La(e){return this.getChildContext=function(){return e.context},e.children}function Va(e){var t=this,n=e.i;t.componentWillUnmount=function(){rt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),rt(b(La,{context:t.context},e.__v),t.l)}function Cs(e,t){var n=b(Va,{__v:e,i:t});return n.containerInfo=t,n}(bt.prototype=new Me).__a=function(e){var t=this,n=Ss(t.__v),r=t.o.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),so(t,e,r)):o()};n?n(s):s()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=je(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},bt.prototype.componentDidUpdate=bt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){so(e,n,t)})};var As=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Pa=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Da=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ra=/[A-Z0-9]/g,Ua=typeof document<"u",Ha=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Es(e,t,n){return t.__k==null&&(t.textContent=""),rt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ns(e,t,n){return lr(e,t),typeof n=="function"&&n(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var io=F.event;function za(){}function ja(){return this.cancelBubble}function Ga(){return this.defaultPrevented}F.event=function(e){return io&&(e=io(e)),e.persist=za,e.isPropagationStopped=ja,e.isDefaultPrevented=Ga,e.nativeEvent=e};var gr,Wa={enumerable:!1,configurable:!0,get:function(){return this.class}},ao=F.vnode;F.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},s=r.indexOf("-")===-1;for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Ua&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||Ha(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":Da.test(i)&&(i=c):c=i="oninput":s&&Pa.test(i)?i=i.replace(Ra,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[i=c]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=je(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=je(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Wa)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=As,ao&&ao(e)};var uo=F.__r;F.__r=function(e){uo&&uo(e),gr=e.__c};var lo=F.diffed;F.diffed=function(e){lo&&lo(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),gr=null};var Fs={ReactCurrentDispatcher:{current:{readContext:function(e){return gr.__n[e.__c].props.value},useCallback:hr,useContext:mr,useDebugValue:pr,useDeferredValue:yr,useEffect:Gt,useId:_r,useImperativeHandle:fr,useInsertionEffect:kr,useLayoutEffect:Bt,useMemo:Wt,useReducer:xn,useRef:dr,useState:Tt,useSyncExternalStore:Sr,useTransition:vr}}},qa="18.3.1";function Ms(e){return b.bind(null,e)}function qt(e){return!!e&&e.$$typeof===As}function Ts(e){return qt(e)&&e.type===Be}function Bs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function $s(e){return qt(e)?cr.apply(null,arguments):e}function Is(e){return!!e.__k&&(rt(null,e),!0)}function Os(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ls=function(e,t){return e(t)},Vs=function(e,t){return e(t)},Ps=Be;function br(e){e()}function yr(e){return e}function vr(){return[!1,br]}var kr=Bt,Ds=qt;function Sr(e,t){var n=t(),r=Tt({h:{__:n,v:t}}),o=r[0].h,s=r[1];return Bt(function(){o.__=n,o.v=t,Vn(o)&&s({h:o})},[e,n,t]),Gt(function(){return Vn(o)&&s({h:o}),e(function(){Vn(o)&&s({h:o})})},[e]),n}function Vn(e){var t,n,r=e.v,o=e.__;try{var s=r();return!((t=o)===(n=s)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Rs={useState:Tt,useId:_r,useReducer:xn,useEffect:Gt,useLayoutEffect:Bt,useInsertionEffect:kr,useTransition:vr,useDeferredValue:yr,useSyncExternalStore:Sr,startTransition:br,useRef:dr,useImperativeHandle:fr,useMemo:Wt,useCallback:hr,useContext:mr,useDebugValue:pr,version:"18.3.1",Children:ys,render:Es,hydrate:Ns,unmountComponentAtNode:Is,createPortal:Cs,createElement:b,createContext:ms,createFactory:Ms,cloneElement:$s,createRef:us,Fragment:Be,isValidElement:qt,isElement:Ds,isFragment:Ts,isMemo:Bs,findDOMNode:Os,Component:Me,PureComponent:cn,memo:gs,forwardRef:bs,flushSync:Vs,unstable_batchedUpdates:Ls,StrictMode:Ps,Suspense:Dt,SuspenseList:bt,lazy:xs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs};const Za=Object.freeze(Object.defineProperty({__proto__:null,Children:ys,Component:Me,Fragment:Be,PureComponent:cn,StrictMode:Ps,Suspense:Dt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fs,cloneElement:$s,createContext:ms,createElement:b,createFactory:Ms,createPortal:Cs,createRef:us,default:Rs,findDOMNode:Os,flushSync:Vs,forwardRef:bs,hydrate:Ns,isElement:Ds,isFragment:Ts,isMemo:Bs,isValidElement:qt,lazy:xs,memo:gs,render:Es,startTransition:br,unmountComponentAtNode:Is,unstable_batchedUpdates:Ls,useCallback:hr,useContext:mr,useDebugValue:pr,useDeferredValue:yr,useEffect:Gt,useErrorBoundary:Ta,useId:_r,useImperativeHandle:fr,useInsertionEffect:kr,useLayoutEffect:Bt,useMemo:Wt,useReducer:xn,useRef:dr,useState:Tt,useSyncExternalStore:Sr,useTransition:vr,version:qa},Symbol.toStringTag,{value:"Module"})),Ja=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:Inter}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-0{left:0}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-full{height:100%}.w-1\\/2{width:50%}.w-5{width:1.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-7xl{max-width:80rem}.max-w-96{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-l-4{border-left-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.pb-6{padding-bottom:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.placeholder-red-300::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.placeholder-red-300::placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.focus\\:z-10:focus{z-index:10}.focus\\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-primary-focus:focus{--tw-ring-color: var(--fl-color-primary-focus)}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.lg\\:px-8{padding-left:2rem;padding-right:2rem}}`;function Ve(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ka(e){return e!=null&&typeof e.GetEnumerator=="function"}function Ya(e){return e!=null&&typeof e.CompareTo=="function"}function Xa(e){return e!=null&&typeof e.Equals=="function"}function Qa(e){return e!=null&&typeof e.GetHashCode=="function"}function Kn(e){return e!=null&&typeof e.Dispose=="function"}function W(e){Kn(e)&&e.Dispose()}function We(){return null}function dn(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class eu{constructor(t){this.iter=t,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function K(e){return Ka(e)?e.GetEnumerator():new eu(e[Symbol.iterator]())}function Cn(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function U(e,t){return e.toString(10).padStart(t,"0")}function co(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function tu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function ct(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class tt{static id(t){return tt.idMap.has(t)||tt.idMap.set(t,++tt.count),tt.idMap.get(t)}}tt.idMap=new WeakMap;tt.count=0;function xr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ue(e){return e*2654435761|0}function nu(e){return xr(e.toString(32))}function Zt(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=e[r];t=(t<<5)+t^o}return t}function ru(e){return e.getTime()}function ou(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=qe(e[r]);return Zt(n)}function qe(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return nu(e);case"string":return xr(e);default:{if(Qa(e))return e.GetHashCode();if(Ve(e))return ou(e);if(e instanceof Date)return ru(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>qe(r));return Zt(n)}else return Ue(tt.id(e))}}}function Yn(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Us(e,t){return Yn(e,t,Te)}function su(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!Te(e[n[o]],t[r[o]]))return!1;return!0}function Te(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Xa(e)?e.Equals(t):Ve(e)?Ve(t)&&Us(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Hs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&su(e,t)}function Hs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+co(e),r=t.getTime()+co(t)),n===r?0:n<r?-1:1}function Cr(e,t){return e===t?0:e<t?-1:1}function iu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function zs(e,t){return iu(e,t,Se)}function au(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,s=0;o<n.length;o++){const i=n[o];if(i!==r[o])return i<r[o]?-1:1;if(s=Se(e[i],t[i]),s!==0)return s}return 0}function Se(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Ya(e)?e.CompareTo(t):Ve(e)?Ve(t)?zs(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Hs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?au(e,t):-1}function N(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function uu(e){Ve(e)?e.splice(0):e.clear()}const An=new WeakMap;function q(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return An.set(t,e),t}function M(e){return An.get(e)??(t=>n=>e(t,n))}function Xn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return An.set(t,e),t}function Pn(e){return An.get(e)??(t=>n=>r=>e(t,n,r))}function lu(e){let t=0,n="[";for(const r of e){if(t===0)n+=$e(r);else if(t===100){n+="; ...";break}else n+="; "+$e(r);t++}return n+"]"}function $e(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return lu(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+$e(s,t+1)).join(`
|
|
2
2
|
`)+" }":(r==null?void 0:r.name)??""}}return String(e)}function cu(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=$e(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>$e(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class L{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return cu(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>qe(n));return t.splice(0,0,Ue(this.tag)),Zt(t)}Equals(t){return this===t?!0:dn(this,t)&&this.tag===t.tag?Us(this.fields,t.fields):!1}CompareTo(t){return this===t?0:dn(this,t)?this.tag===t.tag?zs(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function du(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function fu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+$e(n)).join(`
|
|
3
|
-
`)+" }"}function hu(e){const t=Object.values(e).map(n=>qe(n));return Zt(t)}function mu(e,t){if(e===t)return!0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Te(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function pu(e,t){if(e===t)return 0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=Se(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class X{toJSON(){return du(this)}toString(){return fu(this)}GetHashCode(){return hu(this)}Equals(t){return mu(this,t)}CompareTo(t){return pu(this,t)}}class Ie{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class _u{constructor(t){this.message=t}}function wu(e){return e instanceof _u||e instanceof Error}function gu(e){return e instanceof Promise}function fn(e){return wu(e)||gu(e)?e:new Error(String(e))}const bu=$e(Ja),x=Rs,$t=Symbol("numeric");function js(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[$t])}function yu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Yn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[$t]().multiply(t)}function an(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[$t]().toFixed(t)}function hn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[$t]().toPrecision(t)}function mn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[$t]().toExponential(t)}function pn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[$t]().toHex()}const vu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ku=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],xu=["January","February","March","April","May","June","July","August","September","October","November","December"];function me(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function fo(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Cu(e,t){let n=t;const r=e[t];let o="",s=!1;for(;t<e.length;){t++;const i=e[t];if(i===r){s=!0;break}else if(i==="\\")if(t<e.length)t++,o+=e[t];else throw new Error("Invalid string format");else o+=i}if(!s)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function Ar(e,t,n){let r=0,o=0,s="";const i=n?Jt(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=me(t,r,"d"),r+=o,o){case 1:s+=mo(i);break;case 2:s+=U(mo(i),2);break;case 3:s+=vu[wo(i)];break;case 4:s+=ku[wo(i)];break}break;case"f":if(o=me(t,r,"f"),r+=o,o<=3){const g=10**(3-o);s+=U(Math.floor(rn(i)/g),o)}else o<=7&&(s+=(""+rn(i)).padEnd(o,"0"));break;case"F":if(o=me(t,r,"F"),r+=o,o<=3){const g=10**(3-o),m=Math.floor(rn(i)/g);m!=0&&(s+=U(m,o))}else if(o<=7){const g=rn(i);g!=0&&(s+=U(g,3))}break;case"g":o=me(t,r,"g"),r+=o,o<=2&&(s+="A.D.");break;case"h":switch(o=me(t,r,"h"),r+=o,o){case 1:s+=nn(i)%12;break;case 2:s+=U(nn(i)%12,2);break}break;case"H":switch(o=me(t,r,"H"),r+=o,o){case 1:s+=nn(i);break;case 2:s+=U(nn(i),2);break}break;case"K":switch(o=me(t,r,"K"),r+=o,o){case 1:switch(ho(i)){case 1:s+="Z";break;case 2:s+=vt(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=me(t,r,"m"),r+=o,o){case 1:s+=po(i);break;case 2:s+=U(po(i),2);break}break;case"M":switch(o=me(t,r,"M"),r+=o,o){case 1:s+=on(i);break;case 2:s+=U(on(i),2);break;case 3:s+=Su[on(i)-1];break;case 4:s+=xu[on(i)-1];break}break;case"s":switch(o=me(t,r,"s"),r+=o,o){case 1:s+=_o(i);break;case 2:s+=U(_o(i),2);break}break;case"t":switch(o=me(t,r,"t"),r+=o,o){case 1:s+=i.getHours()<12?"A":"P";break;case 2:s+=i.getHours()<12?"AM":"PM";break}break;case"y":switch(o=me(t,r,"y"),r+=o,o){case 1:s+=i.getFullYear()%100;break;case 2:s+=U(i.getFullYear()%100,2);break;case 3:s+=U(i.getFullYear(),3);break;case 4:s+=U(i.getFullYear(),4);break;case 5:s+=U(i.getFullYear(),5);break}break;case"z":o=me(t,r,"z"),r+=o;let c="";switch(ho(i)){case 1:c="+00:00";break;case 2:c=vt(i.getTimezoneOffset()*-6e4);break;case 0:c=vt(Iu(i).getTimezoneOffset()*-6e4);break}const l=c[0]==="-"?"-":"+",f=parseInt(c.substring(1,3),10),u=parseInt(c.substring(4,6),10);switch(o){case 1:s+=`${l}${f}`;break;case 2:s+=`${l}${U(f,2)}`;break;default:s+=`${l}${U(f,2)}:${U(u,2)}`;break}break;case":":s+=":",r++;break;case"/":s+="/",r++;break;case"'":case'"':const[p,h]=Cu(t,r);s+=p,r+=h;break;case"%":const _=fo(t,r);if(_>=0&&_!==37)r+=2,s+=Ar(i,String.fromCharCode(_),n);else throw new Error("Invalid format string");break;case"\\":const w=fo(t,r);if(w>=0)r+=2,s+=String.fromCharCode(w);else throw new Error("Invalid format string");break;default:r++,s+=a;break}}return s}function ho(e){return e.kind||0}function vt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+U(n,2)+":"+U(r,2)}function _n(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Au(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return U(e.getFullYear(),4)+"-"+U(e.getMonth()+1,2)+"-"+U(e.getDate(),2)+"T"+U(e.getHours(),2)+":"+U(e.getMinutes(),2)+":"+U(e.getSeconds(),2)+"."+U(e.getMilliseconds(),3)+(n?vt(e.getTimezoneOffset()*-6e4):"")}}function Eu(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+vt(t)}function Nu(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+vt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return _n(n,"first");case"T":case"t":return _n(n,"second");case"O":case"o":return Eu(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Ar(n,t,!0)}function Fu(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?_n(e,"first"):e.toLocaleDateString();case"T":case"t":return n?_n(e,"second"):e.toLocaleTimeString();case"O":case"o":return Au(e,n);default:throw new Error("Unrecognized Date print format")}else return Ar(e,t,n)}function Gs(e,t,n){return e.offset!=null?Nu(e,t):Fu(e,t)}function Jt(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function Mu(){return Jt(-621355968e5,1)}function Ws(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.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(o!=null){let s,i=0;if(o[2]!=null){const a=o[2].split(":"),c=parseInt(a[0],10);i=c*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&c<12&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const a=new Date;s=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(o[4]==="Z")r="Z";else{let a=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(a*=-1),r=a,i-=a*60}}else if(o[1]!=null)s=new Date(o[1]);else{const a=new Date;s=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(s.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-s.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function Tu(e,t=!1){const[n,r]=Ws(e),o=r!=null?t&&r==="Z"?1:2:0;return Jt(n.getTime(),o)}function Bu(e,t){try{return t.contents=Tu(e),!0}catch{return!1}}function $u(e){return e.kind===1?e:Jt(e.getTime(),1)}function Iu(e){return e.kind===2?e:Jt(e.getTime(),2)}function mo(e){return e.kind===1?e.getUTCDate():e.getDate()}function nn(e){return e.kind===1?e.getUTCHours():e.getHours()}function rn(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function po(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function on(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function _o(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function wo(e){return e.kind===1?e.getUTCDay():e.getDay()}function qs(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function Zs(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Ou(e,t,n=0){return e.lastIndex=n,e.test(t)}function go(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,s=-1;for(;(o=e.exec(t))!=null;)o.index===s?e.lastIndex++:(s=o.index,r.push(o));return r}function Er(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const a=[],c=arguments.length,l=typeof arguments[c-1]!="string";let f=l?c-3:c-2;for(let u=0;u<f;u++)a.push(arguments[u]);a.index=arguments[f++],a.input=arguments[f++],l&&(a.groups=arguments[f]),i=n(a)}return i}if(typeof e=="string"){const i=e;e=qs(t,r??0),t=i,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,o)+t.substring(o).replace(e,s);if(n=n.replace(/\$0/g,i=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let i;const a=t.substring(o),c=go(e,a),l=go.length>r?(i=c[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+l.replace(e,n)+t.substring(o+l.length)}else return t.replace(e,n)}const Lt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Lu=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Js(e,t){return yu(e,t)<0}function At(e){return{input:e,cont:Du(e)}}function Ks(e,t){return typeof t=="string"?e(t):t.cont(e)}function Ut(e){return Ks(t=>t,e)}function Vu(e){return Ks(t=>{throw new Error(t)},e)}function Pu(e,t,n,r,o){let s="";if(t=t||"",o=o||"",js(e))switch(o.toLowerCase()!=="x"&&(Js(e,0)?(e=Yn(e,-1),s="-"):t.indexOf(" ")>=0?s=" ":t.indexOf("+")>=0&&(s="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r??6,e=an(e,r);break;case"g":case"G":e=r!=null?hn(e,r):hn(e);break;case"e":case"E":e=r!=null?mn(e,r):mn(e);break;case"x":e=pn(e);break;case"X":e=pn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Gs(e):e=$e(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,a=t.indexOf("-")>=0,c=a||!i?" ":"0";c==="0"?(e=Ht(e,n-s.length,c,a),e=s+e):e=Ht(s+e,n,c,a)}return e}function Ys(e,t,n,r="",o=-1){return(...s)=>{let i=r;const a=t.slice(),c=n.slice();for(const l of s){const[,,f,u,p,h]=c[0];let _=u;if(o>=0)_=o,o=-1;else if(_==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}i+=a[0],i+=Pu(l,f,_,p,h),a.splice(0,1),c.splice(0,1)}return c.length===0?(i+=a[0],e(i)):Ys(e,a,c,i,o)}}function Du(e){return t=>{Lt.lastIndex=0;const n=[],r=[];let o=0,s=Lt.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Lt.lastIndex,Lt.lastIndex-=1,s=Lt.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Ys(t,n,r))}}function Ru(e,...t){let n;return n=e,n.replace(Lu,(r,o,s,i,a,c)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let l=t[o];if(js(l))switch(a=a==null?null:parseInt(a,10),i){case"f":case"F":a=a??2,l=an(l,a);break;case"g":case"G":l=a!=null?hn(l,a):hn(l);break;case"e":case"E":l=a!=null?mn(l,a):mn(l);break;case"p":case"P":a=a??2,l=an(Yn(l,100),a)+" %";break;case"d":case"D":l=a!=null?Vn(String(l),a,"0"):String(l);break;case"x":case"X":l=a!=null?Vn(pn(l),a,"0"):pn(l),i==="X"&&(l=l.toUpperCase());break;default:if(c){let f="";l=c.replace(/([0#,]+)(\.[0#]+)?/,(u,p,h)=>{Js(l,0)&&(l=Yn(l,-1),f="-"),h=h==null?"":h.substring(1),l=an(l,Math.max(h.length,0));let[_,w]=l.split(".");w||(w="");const g=p.replace(/,/g,"").replace(/^#+/,"").length;_=Vn(_,g,"0");const m=h.replace(/#+$/,"").length;if(m>w.length?w=Hu(w,m,"0"):m<w.length&&(w=w.substring(0,m)+w.substring(m).replace(/0+$/,"")),p.indexOf(",")>0){const v=_.length%3,N=Math.floor(_.length/3);let Z=v>0?_.substr(0,v)+(N>0?",":""):"";for(let ne=0;ne<N;ne++)Z+=_.substr(v+ne*3,3)+(ne<N-1?",":"");_=Z}return w.length>0?_+"."+w:_}),l=f+l}}else l instanceof Date?l=Gs(l,c||i):l=$e(l);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(l=Ht(String(l),Math.abs(s)," ",s<0)),l})}function Uu(e){return typeof e!="string"||e.length===0}function Xs(e){return typeof e!="string"||/^\s*$/.test(e)}function H(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Ht(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function Vn(e,t,n){return Ht(e,t,n)}function Hu(e,t,n){return Ht(e,t,n,!0)}function zu(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,s=(r&2)===2;t=t||[],t=t.filter(f=>f).map(Zs),t=t.length>0?t:["\\s"];const i=[],a=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const f=a.exec(e);if(f===null){const u=s?e.substring(l).trim():e.substring(l);(!o||u.length>0)&&i.push(u),c=!1}else{const u=s?e.substring(l,f.index).trim():e.substring(l,f.index);(!o||u.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(l).trim():e.substring(l)),c=!1):i.push(u)),l=a.lastIndex}}while(c);return i}function ju(e,...t){if(t.length===0)return e.trim();const n="["+Zs(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}class dt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return qe(this.value)}Equals(t){return t==null?!1:Te(this.value,t instanceof dt?t.value:t)}CompareTo(t){return t==null?1:Se(this.value,t instanceof dt?t.value:t)}}function y(e){if(e==null)throw new Error("Option has no value");return e instanceof dt?e.value:e}function Qs(e){return e instanceof dt?e.value:e}function ke(e){return e==null||e instanceof dt?new dt(e):e}function Cn(e,t){return e!=null?y(e):t}class st{constructor(t,n,r,o,s,i,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=s,this.cases=i,this.enumCases=a}toString(){return te(this)}GetHashCode(){return ei(this)}Equals(t){return Xn(this,t)}}function He(e){return e.generics!=null?e.generics:[]}function ei(e){const t=xr(e.fullname),n=He(e).map(ei);return Zt([t,...n])}function Xn(e,t){return e.fullname===""?t.fullname===""&&Jn(wn(e),wn(t),([n,r],[o,s])=>n===o&&Xn(r,s)):e.fullname===t.fullname&&Jn(He(e),He(t),Xn)}function Kt(e,t,n,r){return new st(e,t,n,void 0,r)}function zt(e){return new st("Microsoft.FSharp.Core.FSharpOption`1",[e])}const Gu=new st("System.Object"),re=new st("System.String");function Nr(e){if(Array.isArray(e))return e[0];if(e instanceof st){const t=An(e);if(t!=null)return Nr(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function te(e){const t=An(e);return t!=null?te(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>te(n)).join(",")+"]"}function Wu(e){return An(e)!=null}function An(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function qu(e){return e.generics!=null&&e.generics.length>0}function ti(e){return e.enumCases!=null&&e.enumCases.length>0}function Zu(e){return e.generics==null?e:new st(e.fullname,e.generics.map(()=>Gu))}function Ju(e){var t;return(t=e.generics)==null?void 0:t[0]}function pt(e){if(ti(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Ku(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function _t(e,t){const n=parseInt(t,10);return Ku(e,isNaN(n)?t:n)[1]}function Yu(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function wn(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Xu(e){if(ni(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Qu(e){return e instanceof st?e.cases!=null:e instanceof L}function el(e){return e instanceof st?e.fields!=null:e instanceof X}function ni(e){return e.fullname.startsWith("System.Tuple")}function tl(e){return e.fields==null?[]:e.fields}function nl(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function rl(e,t){const n=wn(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,s],i)=>(r[o]=t[i],r),{})}function ol(e,t){return e}const ri="Collection was empty.";function oi(e,t){return new Array(t)}function bo(e,t){return e>t?e:t}function Fr(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function En(e,t,n){const r=t.length|0,o=oi(n,r);for(let s=0;s<=r-1;s++)ot(o,s,e(ue(s,t)));return o}function sl(e,t){const n=oi(t,1);return ot(n,0,e),n}function il(e){return e.slice().reverse()}function al(e,t){return t.find(e)}function ul(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(ue(o,t));if(s!=null){const i=y(s);r.push(i)}}return Te(n,We())?r:En(o=>o,r,n)}function Nn(e,t,n){const r=e;return n.reduce(r,t)}function ue(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function ot(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function si(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class fe extends X{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+H("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,l=a.tail;if(c!=null)if(l!=null){const f=y(c),u=y(l);if(Te(i.head,a.head)){o=f,s=u;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,a=o,c=s,l=c.tail;if(l!=null){const f=y(l);if(i>18)return a|0;r=i+1,o=(a<<1)+qe(c.head)+631*i,s=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,l=a.tail;if(c!=null)if(l!=null){const f=y(c),u=y(l),p=Se(i.head,a.head)|0;if(p===0){o=f,s=u;continue e}else return p|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return cl(this)}[Symbol.iterator](){return Sn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return K(this)}}class ll{constructor(t){this.xs=t,this.it=this.xs,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=y(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=We()}Dispose(){}}function cl(e){return new ll(e)}function ee(){return new fe(We(),void 0)}function Yt(e,t){return new fe(e,t)}function ft(e){return e.tail==null}function ii(e){return((n,r)=>{e:for(;;){const o=n,i=r.tail;if(i!=null){n=o+1,r=y(i);continue e}else return o|0}})(0,e)|0}function Et(e){if(e.tail!=null)return e.head;throw new Error(ri+"\\nParameter name: list")}function he(e){const t=e.tail;if(t!=null)return y(t);throw new Error(ri+"\\nParameter name: list")}function oe(){return ee()}function ge(e,t){return Yt(e,t)}function I(e){return Yt(e,ee())}function $(e){return ft(e)}function yo(e){return ii(e)}function S(e){return Et(e)}function T(e){return he(e)}function Xt(e){const t=ii(e)|0,n=Fr(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,a=s;if(!ft(a)){ot(n,i,Et(a)),o=i+1,s=he(a);continue e}break}})(0,e),n}function Pe(e,t,n){let r=t,o=n;for(;!ft(o);)r=e(r,S(o)),o=he(o);return r}function Mr(e){return Pe((t,n)=>Yt(n,t),ee(),e)}function dl(e,t,n){return si(e,Xt(t),n)}function fl(e,t,n){return((o,s,i)=>{e:for(;;){const a=o,c=s,l=i;if(ft(l))return c;o=a+1,s=e(a,c,Et(l)),i=he(l);continue e}})(0,t,n)}function hl(e,t,n,r){let o=t,s=n,i=r;for(;!ft(s)&&!ft(i);)o=e(o,Et(s),Et(i)),s=he(s),i=he(i);return o}function gn(e,t){Pe((n,r)=>{e(r)},void 0,t)}function z(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Yt(ue(r,e),n);return n}function C(e){return z(e,ee())}function ml(e){let t,n;if(Ve(e))return C(e);if(e instanceof fe)return e;{const r=ee();let o=r;const s=K(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new fe(c,void 0),t.tail=n,n)}}finally{G(s)}const i=o,a=ee();return i.tail=a,he(r)}}function Tr(e,t){return Pe((n,r)=>Yt(r,n),t,Mr(e))}function pl(e,t){const n=ee(),r=fl((s,i,a)=>{const c=new fe(e(s,a),void 0);return i.tail=c,c},n,t),o=ee();return r.tail=o,he(n)}function ai(e,t){const n=ee(),r=Pe((s,i)=>{const a=new fe(e(i),void 0);return s.tail=a,a},n,t),o=ee();return r.tail=o,he(n)}function _l(e,t){return(r=>{e:for(;;){const o=r;if(ft(o))return;{const s=e(Et(o));if(s==null){r=he(o);continue e}else return s}}})(t)}function wl(e,t){const n=ee(),r=Pe((s,i)=>{if(e(i)){const a=new fe(i,void 0);return s.tail=a,a}else return s},n,t),o=ee();return r.tail=o,he(n)}function gl(e,t){const n=ee(),r=ee(),o=n,s=Pe((c,l)=>{let f,u;const p=c[0],h=c[1];return e(l)?[(f=new fe(l,void 0),p.tail=f,f),h]:[p,(u=new fe(l,void 0),h.tail=u,u)]},[o,r],t),i=ee();s[0].tail=i;const a=ee();return s[1].tail=a,[he(o),he(r)]}function bl(e,t){const n=ee(),r=Pe((s,i)=>{const a=e(i);if(a==null)return s;{const c=new fe(y(a),void 0);return s.tail=c,c}},n,t),o=ee();return r.tail=o,he(n)}function ui(e,t){return Pe((n,r)=>n&&e(r),!0,t)}class yl{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class Br extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Br.prototype)}}class $r{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>$r.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function nt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Br);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(fn(n))}});else try{e(t)}catch(n){t.onError(fn(n))}}}function vl(e,t){return nt(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(fn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function kl(e){return nt(t=>t.onSuccess(e))}class Sl{Bind(t,n){return vl(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return nt(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const s=n(o.value);return o=r.next(),s}))}Return(t){return kl(t)}ReturnFrom(t){return t}TryFinally(t,n){return nt(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return nt(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(fn(s))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return nt(t=>t.onSuccess(void 0))}}const ce=new Sl;function xl(e){return new li(0,[e])}function Cl(e){return new li(1,[e])}class li extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Al(e){return xl(e)}function El(e){return Cl(e)}function Pn(e){}const Nl=new yl;function ci(e){return nt(t=>{e({onSuccess:n=>t.onSuccess(Al(n)),onError:n=>t.onSuccess(El(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Fl(e){return nt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Ml(e,t){return Bl(e,t)}function Tl(e,t){return Ml(e,t)}function Bl(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new $r;e({onSuccess:t||Pn,onError:Pn,onCancel:Pn,cancelToken:o||Nl,trampoline:s})}class Ir extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class $l extends L{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Il extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Fn extends X{constructor(t,n,r,o,s,i,a,c){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=s,this.overridenResponseType=i,this.timeout=a,this.content=c}}class gt extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class di extends X{constructor(t,n,r,o,s,i){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=s,this.content=i}}function Ol(e){throw new Error(e)}const Ll="Enumeration already finished.",Vl="Enumeration has not started. Call MoveNext.",fi="The input sequence has an insufficient number of elements.",Pl="Reset is not supported on this enumerator.";function Dl(){throw new Error(Pl)}function Or(){throw new Error(Vl)}function Qn(){throw new Error(Ll)}class Rl{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=K(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+$e(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{G(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Sn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Ul(e){return new Rl(e)}class Hl{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"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"(){Dl()}Dispose(){this.dispose()}}function Mn(e,t,n){return new Hl(e,t,n)}function zl(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const a=y(n);try{G(a)}finally{n=void 0}}if(t!=null){const a=y(t);try{G(a)}finally{t=void 0}}};return Mn(()=>(r?o&&Qn():Or(),s!=null?y(s):Qn()),()=>{let a;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const l=t,f=n;if(l!=null)if(f!=null){const u=y(f);if(u["System.Collections.IEnumerator.MoveNext"]())s=ke(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{G(u)}finally{n=void 0}}else{const u=y(l);u["System.Collections.IEnumerator.MoveNext"]()?n=(a=u["System.Collections.Generic.IEnumerator`1.get_Current"](),K(a)):(i(),c=!1)}else t=K(e)}return y(c)}},()=>{o||i()})}function jl(e,t){return Mn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{G(t)}finally{}})}function hi(e,t,n){let r=!1,o,s=ke(e());const i=()=>{if(s!=null){const c=y(s);try{n(c)}finally{s=void 0}}},a=()=>{try{i()}finally{o=void 0}};return Mn(()=>(r||Or(),o!=null?y(o):Qn()),()=>{if(r||(r=!0),s!=null){const c=y(s);let l;try{l=t(c)}catch(f){throw a(),f}return l!=null?(o=l,!0):(a(),!1)}else return!1},i)}function Gl(e,t){let n,r=t;return Mn(()=>{if(n!=null){const o=y(n)[0];return y(n)[1],o}else return Or()},()=>(n=e(r),n!=null?(y(n)[0],r=y(n)[1],!0):!1),()=>{})}function Wl(e,t){t==null&&Ol(e)}function It(e){return Ul(e)}function ht(e){return Wl("source",e),K(e)}function R(e){return It(()=>K(e()))}function mi(e){return It(()=>zl(e))}function ql(e,t){return It(()=>Gl(e,t))}function Je(){return R(()=>new Array(0))}function Y(e){return R(()=>sl(e))}function Zl(e){return e instanceof fe?Xt(e):Array.from(e)}function De(e){return Ve(e)?C(e):e instanceof fe?e:ml(e)}function Jl(e,t,n){return It(()=>hi(e,t,n))}function Kl(e,t,n){return It(()=>{let r=-1;return hi(e,o=>(r=r+1|0,t(r,o)),n)})}function xe(e,t){return mi([e,t])}function Yl(e,t,n){const r=ht(t);try{const o=ht(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&a;)s=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,s===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:a?-1:0)|0}finally{G(o)}}finally{G(r)}}function wt(e,t,n){const r=ht(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{G(r)}}function pi(e,t,n){const r=ht(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{G(r)}}function _i(e,t){pi((n,r)=>{e(r)},void 0,t)}function Le(e,t){return Jl(()=>ht(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ke(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{G(n)})}function Xl(e){return R(()=>il(Zl(e)))}function Ql(e,t){return It(()=>{const n=ht(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(fi+"\\nParameter name: source");return jl(()=>{},n)}catch(r){throw G(n),r}})}function ec(e,t){return Kl(()=>ht(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ke(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(fi+"\\nParameter name: source")}else return},n=>{G(n)})}function tc(e,t){return R(()=>mi(Le(e,t)))}class wi{constructor(t,n){this.k=t,this.v=n}}function bn(e,t){return new wi(e,t)}function le(e){return e.k}function be(e){return e.v}class J extends wi{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function un(e,t,n,r,o){return new J(e,t,n,r,o)}function ie(e){return e.left}function ae(e){return e.right}function lt(e){return e.h}function gi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof J){const s=o;e=gi(n+1,ie(s)),t=ae(s);continue e}else return n+1|0}else return n|0}}function nc(e){return gi(0,e)}function Ae(e,t,n,r){let o,s,i;const a=e;if(a!=null){const u=y(a);i=u instanceof J?(o=u,lt(o)):1}else i=0;let c;const l=r;if(l!=null){const u=y(l);c=u instanceof J?(s=u,lt(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?bn(t,n):un(t,n,e,r,f+1)}function vo(e,t,n,r){let o,s,i,a,c,l,f,u,p;const h=e;if(h!=null){const g=y(h);p=g instanceof J?(o=g,lt(o)):1}else p=0;let _;const w=r;if(w!=null){const g=y(w);_=g instanceof J?(s=g,lt(s)):1}else _=0;if(_>p+2){const g=y(r);if(g instanceof J){const m=g;if(i=ie(m),(i!=null?(a=y(i),a instanceof J?(c=a,lt(c)):1):0)>p+1){const v=y(ie(m));if(v instanceof J){const N=v;return Ae(Ae(e,t,n,ie(N)),le(N),be(N),Ae(ae(N),le(m),be(m),ae(m)))}else throw new Error("internal error: Map.rebalance")}else return Ae(Ae(e,t,n,ie(m)),le(m),be(m),ae(m))}else throw new Error("internal error: Map.rebalance")}else if(p>_+2){const g=y(e);if(g instanceof J){const m=g;if(l=ae(m),(l!=null?(f=y(l),f instanceof J?(u=f,lt(u)):1):0)>_+1){const v=y(ae(m));if(v instanceof J){const N=v;return Ae(Ae(ie(m),le(m),be(m),ie(N)),le(N),be(N),Ae(ae(N),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(ie(m),le(m),be(m),Ae(ae(m),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(e,t,n,r)}function Nt(e,t,n,r){if(r!=null){const o=y(r),s=e.Compare(t,le(o))|0;if(o instanceof J){const i=o;return s<0?vo(Nt(e,t,n,ie(i)),le(i),be(i),ae(i)):s===0?un(t,n,ie(i),ae(i),lt(i)):vo(ie(i),le(i),be(i),Nt(e,t,n,ae(i)))}else return s<0?un(t,n,void 0,r,2):s===0?bn(t,n):un(t,n,r,void 0,2)}else return bn(t,n)}function bi(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,le(i))|0;if(a===0)return ke(be(i));if(i instanceof J){const c=i;e=r,t=o,n=a<0?ie(c):ae(c);continue e}else return}else return}}function rc(e,t,n){const r=bi(e,t,n);if(r==null)throw new Error;return y(r)}function oc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,le(i))|0;if(i instanceof J){const c=i;if(a<0){e=r,t=o,n=ie(c);continue e}else{if(a===0)return!0;e=r,t=o,n=ae(c);continue e}}else return a===0}else return!1}}function yi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof J){const s=o;yi(n,ie(s)),n(le(s),be(s)),e=n,t=ae(s);continue e}else n(le(o),be(o))}break}}function sc(e,t){yi(e,t)}function ic(e,t,n){let r=n;sc((o,s)=>{ot(t,r,[o,s]),r=r+1|0},e)}function ac(e,t){return Pe((n,r)=>Nt(e,r[0],r[1],n),void 0,t)}function uc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){const i=s["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Nt(r,i[0],i[1],o),n=s;continue e}else return o}}function lc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=ue(r,t);n=Nt(e,o[0],o[1],n)}return n}function vi(e,t){if(Ve(t))return lc(e,t);if(t instanceof fe)return ac(e,t);{const n=K(t);try{return uc(e,void 0,n)}finally{G(n)}}}class cc extends X{constructor(t,n){super(),this.stack=t,this.started=n}}function ki(e){e:for(;;){const t=e;if($(t))return oe();{const n=T(t),r=S(t);if(r!=null){const o=y(r);if(o instanceof J){const s=o;e=z([ie(s),bn(le(s),be(s)),ae(s)],n);continue e}else return t}else{e=n;continue e}}}}function ko(e){return new cc(ki(I(e)),!1)}function dc(){throw new Error("enumeration not started")}function fc(){throw new Error("enumeration already finished")}function So(e){if(e.started){const t=e.stack;if($(t))return fc();if(S(t)!=null){const n=y(S(t));if(n instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for current");return[le(n),be(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return dc()}function hc(e){if(e.started){const t=e.stack;if($(t))return!1;if(S(t)!=null){if(y(S(t))instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ki(T(t)),!$(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function xo(e){let t=ko(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return So(t)},"System.Collections.IEnumerator.get_Current"(){return So(t)},"System.Collections.IEnumerator.MoveNext"(){return hc(t)},"System.Collections.IEnumerator.Reset"(){t=ko(e)},Dispose(){}}}class yn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return wc(this)|0}Equals(t){const n=this;if(t instanceof yn){const r=t,o=K(n);try{const s=K(r);try{const i=()=>{const a=o["System.Collections.IEnumerator.MoveNext"]();if(a===s["System.Collections.IEnumerator.MoveNext"]())if(a){const c=o["System.Collections.Generic.IEnumerator`1.get_Current"](),l=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return Te(c[0],l[0])&&Te(c[1],l[1])?i():!1}else return!0;else return!1};return i()}finally{G(s)}}finally{G(o)}}else return!1}toString(){return"map ["+H("; ",Le(n=>Ru("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return xo(this.tree)}[Symbol.iterator](){return Sn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return xo(this.tree)}CompareTo(t){const n=this;if(t instanceof yn)return Yl((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:Se(o[1],s[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){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"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Ao(n,t[0])&&Te(Co(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ic(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Dn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Dn(this)|0}get size(){return Dn(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Le(n=>[n[0],n[1]],this)}get(t){return Co(this,t)}has(t){return Ao(this,t)}keys(){return Le(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Le(n=>n[1],this)}forEach(t,n){const r=this;_i(o=>{t(o[1],o[0],r)},r)}}function Tn(e,t){return new yn(e,t)}function mc(e){return Tn(e,void 0)}function pc(e,t,n){return Tn(e.comparer,Nt(e.comparer,t,n,e.tree))}function Co(e,t){return rc(e.comparer,t,e.tree)}function Dn(e){return nc(e.tree)}function Ao(e,t){return oc(e.comparer,t,e.tree)}function _c(e,t){return bi(e.comparer,t,e.tree)}function wc(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=K(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,qe(o[0]))|0,n=t(n,qe(o[1]))|0}}finally{G(r)}return n|0}function gc(e,t,n){return pc(n,e,t)}function bc(e,t){return _c(t,e)}function yc(e,t){return Tn(t,vi(t,e))}function vc(e,t){return Tn(t,vi(t,e))}function Si(e){return mc(e)}function xi(e){return new $l("Authorization",e)}const at=new Fn("",new Ir(0,[]),oe(),!1,void 0,void 0,void 0,new Il(0,[]));new di(0,"","","",Si({Compare:Cr}),new gt(0,[""]));function Eo(e,t){return Uu(t)?new Array(0):zu(t,[e],void 0,0)}function kc(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"}}function Ci(e){return new Fn(e,at.method,at.headers,at.withCredentials,at.overridenMimeType,at.overridenResponseType,at.timeout,at.content)}function Ai(e,t){return new Fn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ei(e,t){return new Fn(t.url,t.method,Tr(t.headers,I(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ni(e){return Fl(t=>{const n=new XMLHttpRequest;n.open(kc(e.method),e.url),n.onreadystatechange=()=>{let c,l,f,u,p,h,_;n.readyState===4&&t[0]((c=(l=n.responseType,l===""||l==="text"?n.responseText:""),f=n.status|0,u=n.responseType,p=(h=n.responseType,h===""?new gt(0,[n.responseText]):h==="text"?new gt(0,[n.responseText]):h==="arraybuffer"?new gt(2,[n.response]):h==="blob"?new gt(1,[n.response]):new gt(3,[n.response])),_=vc(ul(w=>{const g=C(Eo(":",w));if(!$(g))return[S(g).toLocaleLowerCase(),H(":",T(g)).trim()]},Eo(`\r
|
|
4
|
-
`,n.getAllResponseHeaders())),{Compare:Cr}),new di(f,c,u,n.responseURL,_,p)))};const r=K(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const c=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(c.fields[0],c.fields[1])}}finally{G(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const c=o;n.overrideMimeType(c)}const s=e.overridenResponseType;if(s!=null)switch(s.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const i=e.timeout;if(i!=null){const c=i|0;n.timeout=c|0}const a=e.content;switch(a.tag){case 1:{n.send(ke(a.fields[0]));break}case 3:{n.send(ke(a.fields[0]));break}case 2:{n.send(ke(a.fields[0]));break}default:n.send()}})}function Sc(e){return new d(0,[e])}function Fi(e){return new d(1,[e])}class d extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Ze(e,t){return t.tag===0?Sc(e(t.fields[0])):Fi(t.fields[0])}function xc(e,t){return t.tag===0?e(t.fields[0]):Fi(t.fields[0])}function Cc(e){if(e.tag===0)return ke(e.fields[0])}class k extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Lr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function No(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Ac(e,t){switch(e.tag){case 2:return Er(No(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return No(t)}}const Ec=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Fo=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Nc=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Fc(e){function t(r){return r.replace(Fo,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ec.test(n))return ju(n,"{","}","(",")");if(Fo.test(n))return t(n);if(Nc.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Mc(e,t){try{return t.contents=Fc(e),!0}catch{return!1}}var er;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(er||(er={}));function Tc(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function Mo(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Bc(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.")}}function $c(e,t){if(t&er.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}}function Ic(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,s,i]=o;if(n=n||$c(s,t),!Bc(n).test(i))return Tc(o,n)}return null}function Oc(e,t,n,r,o){const s=Ic(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[a,c]=Mo(!0,r);!n&&s.radix!==10&&i>=a&&i<=c&&(i=i<<32-r>>32-r);const[l,f]=Mo(n,r);if(i>=l&&i<=f)return i}}throw new Error(`The input string ${e} was not in a correct format.`)}function Ot(e,t,n,r,o){try{return o.contents=Oc(e,t,n,r),!0}catch{return!1}}function Mi(e,t){Lc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Lc(e){if(e!=null&&e!==0){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.")}}function Vc(){return Mi(-621355968e5,0)}function Pc(e){const[t,n]=Ws(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Mi(t.getTime(),r)}function Dc(e,t){try{return t.contents=Pc(e),!0}catch{return!1}}function To(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Rc(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function Rc(e){return Number(BigInt(e)/10000n)}function Uc(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return To(r,0,0,0,0)}if(n>0){const r=/^(-?)((\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(r!=null&&r[4]!=null&&r[5]!=null){let o=0,s=0,i=0;const a=r[1]!=null&&r[1]==="-"?-1:1,c=+r[4],l=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(i=+r[7]),r[8]!=null)switch(r[8].length){case 1:s=+r[8]*100;break;case 2:s=+r[8]*10;break;case 3:s=+r[8];break;case 4:s=+r[8]/10;break;case 5:s=+r[8]/100;break;case 6:s=+r[8]/1e3;break;case 7:s=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*To(o,c,l,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Hc(e,t){try{return t.contents=Uc(e),!0}catch{return!1}}class Ti{constructor(t){this.k=t}}function _e(e){return new Ti(e)}function A(e){return e.k}class O extends Ti{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function we(e,t,n,r){return new O(e,t,n,r)}function D(e){return e.left}function V(e){return e.right}function yt(e){return e.h}function Bi(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=y(n);if(o instanceof O){const s=o;e=D(s),t=Bi(V(s),r+1);continue e}else return r+1|0}else return r|0}}function zc(e){return Bi(e,0)}function Ee(e,t,n){let r,o,s;const i=e;if(i!=null){const f=y(i);s=f instanceof O?(r=f,yt(r)):1}else s=0;let a;const c=n;if(c!=null){const f=y(c);a=f instanceof O?(o=f,yt(o)):1}else a=0;const l=(s<a?a:s)|0;return l===0?_e(t):we(t,e,n,l+1)}function Bo(e,t,n){let r,o,s,i,a,c,l,f,u;const p=e;if(p!=null){const w=y(p);u=w instanceof O?(r=w,yt(r)):1}else u=0;let h;const _=n;if(_!=null){const w=y(_);h=w instanceof O?(o=w,yt(o)):1}else h=0;if(h>u+2){const w=y(n);if(w instanceof O){const g=w;if(s=D(g),(s!=null?(i=y(s),i instanceof O?(a=i,yt(a)):1):0)>u+1){const m=y(D(g));if(m instanceof O){const v=m;return Ee(Ee(e,t,D(v)),A(v),Ee(V(v),A(g),V(g)))}else throw new Error("internal error: Set.rebalance")}else return Ee(Ee(e,t,D(g)),A(g),V(g))}else throw new Error("internal error: Set.rebalance")}else if(u>h+2){const w=y(e);if(w instanceof O){const g=w;if(c=V(g),(c!=null?(l=y(c),l instanceof O?(f=l,yt(f)):1):0)>h+1){const m=y(V(g));if(m instanceof O){const v=m;return Ee(Ee(D(g),A(g),D(v)),A(v),Ee(V(v),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(D(g),A(g),Ee(V(g),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(e,t,n)}function Ft(e,t,n){if(n!=null){const r=y(n),o=e.Compare(t,A(r))|0;if(r instanceof O){const s=r;return o<0?Bo(Ft(e,t,D(s)),A(s),V(s)):o===0?n:Bo(D(s),A(s),Ft(e,t,V(s)))}else{const s=e.Compare(t,A(r))|0;return s<0?we(t,void 0,n,2):s===0?n:we(t,n,void 0,2)}}else return _e(t)}function $i(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,A(i))|0;if(i instanceof O){const c=i;if(a<0){e=r,t=o,n=D(c);continue e}else{if(a===0)return!0;e=r,t=o,n=V(c);continue e}}else return a===0}else return!1}}function Ii(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof O){const s=o;Ii(n,D(s)),n(A(s)),e=n,t=V(s);continue e}else n(A(o))}break}}class jc extends X{constructor(t,n){super(),this.stack=t,this.started=n}}function Oi(e){e:for(;;){const t=e;if($(t))return oe();{const n=S(t),r=T(t);if(n!=null){const o=y(n);if(o instanceof O){const s=o;e=z([D(s),_e(A(s)),V(s)],r);continue e}else return t}else{e=r;continue e}}}}function $o(e){return new jc(Oi(I(e)),!1)}function Gc(){throw new Error("Enumeration not started")}function Wc(){throw new Error("Enumeration already started")}function Io(e){if(e.started){const t=e.stack;if($(t))return Wc();if(S(t)!=null){const n=y(S(t));return A(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Gc()}function qc(e){if(e.started){const t=e.stack;if($(t))return!1;if(S(t)!=null){if(y(S(t))instanceof O)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Oi(T(t)),!$(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function Oo(e){let t=$o(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Io(t)},"System.Collections.IEnumerator.get_Current"(){return Io(t)},"System.Collections.IEnumerator.MoveNext"(){return qc(t)},"System.Collections.IEnumerator.Reset"(){t=$o(e)},Dispose(){}}}function Zc(e,t,n){e:for(;;){const r=e,o=t,s=n;if($(o))return $(s)?0:-1;if($(s))return 1;if(S(s)!=null)if(S(o)!=null){const i=y(S(o)),a=y(S(s));if(i instanceof O){const c=i;if(D(c)==null)if(a instanceof O){const l=a;if(D(l)==null){const f=r.Compare(A(c),A(l))|0;if(f!==0)return f|0;e=r,t=ge(V(c),T(o)),n=ge(V(l),T(s));continue e}else{let f,u,p,h,_;switch($(o)?$(s)?f=2:S(s)!=null?(f=1,h=T(s),_=y(S(s))):f=2:S(o)!=null?(f=0,u=T(o),p=y(S(o))):$(s)?f=2:S(s)!=null?(f=1,h=T(s),_=y(S(s))):f=2,f){case 0:if(p instanceof O){const w=p;e=r,t=z([D(w),we(A(w),void 0,V(w),0)],u),n=s;continue e}else{e=r,t=z([void 0,_e(A(p))],u),n=s;continue e}case 1:if(_ instanceof O){const w=_;e=r,t=o,n=z([D(w),we(A(w),void 0,V(w),0)],h);continue e}else{e=r,t=o,n=z([void 0,_e(A(_))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(A(c),A(a))|0;if(l!==0)return l|0;e=r,t=ge(V(c),T(o)),n=ge(void 0,T(s));continue e}else{let l,f,u,p,h;switch($(o)?$(s)?l=2:S(s)!=null?(l=1,p=T(s),h=y(S(s))):l=2:S(o)!=null?(l=0,f=T(o),u=y(S(o))):$(s)?l=2:S(s)!=null?(l=1,p=T(s),h=y(S(s))):l=2,l){case 0:if(u instanceof O){const _=u;e=r,t=z([D(_),we(A(_),void 0,V(_),0)],f),n=s;continue e}else{e=r,t=z([void 0,_e(A(u))],f),n=s;continue e}case 1:if(h instanceof O){const _=h;e=r,t=o,n=z([D(_),we(A(_),void 0,V(_),0)],p);continue e}else{e=r,t=o,n=z([void 0,_e(A(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof O){const c=a;if(D(c)==null){const l=r.Compare(A(i),A(c))|0;if(l!==0)return l|0;e=r,t=ge(void 0,T(o)),n=ge(V(c),T(s));continue e}else{let l,f,u,p,h;switch($(o)?$(s)?l=2:S(s)!=null?(l=1,p=T(s),h=y(S(s))):l=2:S(o)!=null?(l=0,f=T(o),u=y(S(o))):$(s)?l=2:S(s)!=null?(l=1,p=T(s),h=y(S(s))):l=2,l){case 0:if(u instanceof O){const _=u;e=r,t=z([D(_),we(A(_),void 0,V(_),0)],f),n=s;continue e}else{e=r,t=z([void 0,_e(A(u))],f),n=s;continue e}case 1:if(h instanceof O){const _=h;e=r,t=o,n=z([D(_),we(A(_),void 0,V(_),0)],p);continue e}else{e=r,t=o,n=z([void 0,_e(A(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(A(i),A(a))|0;if(c!==0)return c|0;e=r,t=T(o),n=T(s);continue e}}else{y(S(s));let i,a,c,l,f;switch($(o)?$(s)?i=2:S(s)!=null?(i=1,l=T(s),f=y(S(s))):i=2:S(o)!=null?(i=0,a=T(o),c=y(S(o))):$(s)?i=2:S(s)!=null?(i=1,l=T(s),f=y(S(s))):i=2,i){case 0:if(c instanceof O){const u=c;e=r,t=z([D(u),we(A(u),void 0,V(u),0)],a),n=s;continue e}else{e=r,t=z([void 0,_e(A(c))],a),n=s;continue e}case 1:if(f instanceof O){const u=f;e=r,t=o,n=z([D(u),we(A(u),void 0,V(u),0)],l);continue e}else{e=r,t=o,n=z([void 0,_e(A(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(S(o)!=null){y(S(o));let i,a,c,l,f;switch($(o)?$(s)?i=2:S(s)!=null?(i=1,l=T(s),f=y(S(s))):i=2:S(o)!=null?(i=0,a=T(o),c=y(S(o))):$(s)?i=2:S(s)!=null?(i=1,l=T(s),f=y(S(s))):i=2,i){case 0:if(c instanceof O){const u=c;e=r,t=z([D(u),we(A(u),void 0,V(u),0)],a),n=s;continue e}else{e=r,t=z([void 0,_e(A(c))],a),n=s;continue e}case 1:if(f instanceof O){const u=f;e=r,t=o,n=z([D(u),we(A(u),void 0,V(u),0)],l);continue e}else{e=r,t=o,n=z([void 0,_e(A(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(s);continue e}}}function Lo(e,t,n){return t==null?n==null?0:-1:n==null?1:Zc(e,I(t),I(n))|0}function Jc(e,t,n){let r=n;Ii(o=>{ot(t,r,o),r=r+1|0},e)}function Kc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Ft(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function Yc(e,t){return Nn((n,r)=>Ft(e,r,n),void 0,t)}function Xc(e,t){return Pe((n,r)=>Ft(e,r,n),void 0,t)}function Li(e,t){if(Ve(t))return Yc(e,t);if(t instanceof fe)return Xc(e,t);{const n=K(t);try{return Kc(e,void 0,n)}finally{G(n)}}}class Vr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return td(this)|0}Equals(t){let n;const r=this;return t instanceof Vr&&(n=t,Lo(kt(r),Ne(r),Ne(n))===0)}toString(){return"set ["+H("; ",Le(n=>$e(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Lo(kt(n),Ne(n),Ne(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return $i(kt(n),t,Ne(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Jc(Ne(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Rn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Rn(this)|0}GetEnumerator(){return Oo(Ne(this))}[Symbol.iterator](){return Sn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Oo(Ne(this))}get size(){return Rn(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Vi(this,t)}keys(){return Le(n=>n,this)}values(){return Le(n=>n,this)}entries(){return Le(n=>[n,n],this)}forEach(t,n){const r=this;_i(o=>{t(o,o,r)},r)}}function Bn(e,t){return new Vr(e,t)}function kt(e){return e.comparer}function Ne(e){return e.tree}function Qc(e){return Bn(e,void 0)}function ed(e,t){return Bn(kt(e),Ft(kt(e),t,Ne(e)))}function Rn(e){return zc(Ne(e))}function Vi(e,t){return $i(kt(e),t,Ne(e))}function td(e){let t=0;const n=K(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+qe(r)+631|0}}finally{G(n)}return Math.abs(t)|0}function tr(e,t){return Vi(t,e)}function nd(e,t){return ed(t,e)}function rd(e){return Qc(e)}function od(e,t){return Bn(t,Li(t,e))}function sd(e,t){return Bn(t,Li(t,e))}function Vt(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
3
|
+
`)+" }"}function hu(e){const t=Object.values(e).map(n=>qe(n));return Zt(t)}function mu(e,t){if(e===t)return!0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Te(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function pu(e,t){if(e===t)return 0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=Se(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class X{toJSON(){return du(this)}toString(){return fu(this)}GetHashCode(){return hu(this)}Equals(t){return mu(this,t)}CompareTo(t){return pu(this,t)}}class Ie{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class _u{constructor(t){this.message=t}}function wu(e){return e instanceof _u||e instanceof Error}function gu(e){return e instanceof Promise}function fn(e){return wu(e)||gu(e)?e:new Error(String(e))}const bu=$e(Ja),x=Rs,$t=Symbol("numeric");function js(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[$t])}function yu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Qn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[$t]().multiply(t)}function an(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[$t]().toFixed(t)}function hn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[$t]().toPrecision(t)}function mn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[$t]().toExponential(t)}function pn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[$t]().toHex()}const vu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ku=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],xu=["January","February","March","April","May","June","July","August","September","October","November","December"];function me(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function fo(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Cu(e,t){let n=t;const r=e[t];let o="",s=!1;for(;t<e.length;){t++;const i=e[t];if(i===r){s=!0;break}else if(i==="\\")if(t<e.length)t++,o+=e[t];else throw new Error("Invalid string format");else o+=i}if(!s)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function Ar(e,t,n){let r=0,o=0,s="";const i=n?Jt(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=me(t,r,"d"),r+=o,o){case 1:s+=mo(i);break;case 2:s+=U(mo(i),2);break;case 3:s+=vu[wo(i)];break;case 4:s+=ku[wo(i)];break}break;case"f":if(o=me(t,r,"f"),r+=o,o<=3){const w=10**(3-o);s+=U(Math.floor(rn(i)/w),o)}else o<=7&&(s+=(""+rn(i)).padEnd(o,"0"));break;case"F":if(o=me(t,r,"F"),r+=o,o<=3){const w=10**(3-o),y=Math.floor(rn(i)/w);y!=0&&(s+=U(y,o))}else if(o<=7){const w=rn(i);w!=0&&(s+=U(w,3))}break;case"g":o=me(t,r,"g"),r+=o,o<=2&&(s+="A.D.");break;case"h":switch(o=me(t,r,"h"),r+=o,o){case 1:s+=nn(i)%12;break;case 2:s+=U(nn(i)%12,2);break}break;case"H":switch(o=me(t,r,"H"),r+=o,o){case 1:s+=nn(i);break;case 2:s+=U(nn(i),2);break}break;case"K":switch(o=me(t,r,"K"),r+=o,o){case 1:switch(ho(i)){case 1:s+="Z";break;case 2:s+=vt(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=me(t,r,"m"),r+=o,o){case 1:s+=po(i);break;case 2:s+=U(po(i),2);break}break;case"M":switch(o=me(t,r,"M"),r+=o,o){case 1:s+=on(i);break;case 2:s+=U(on(i),2);break;case 3:s+=Su[on(i)-1];break;case 4:s+=xu[on(i)-1];break}break;case"s":switch(o=me(t,r,"s"),r+=o,o){case 1:s+=_o(i);break;case 2:s+=U(_o(i),2);break}break;case"t":switch(o=me(t,r,"t"),r+=o,o){case 1:s+=i.getHours()<12?"A":"P";break;case 2:s+=i.getHours()<12?"AM":"PM";break}break;case"y":switch(o=me(t,r,"y"),r+=o,o){case 1:s+=i.getFullYear()%100;break;case 2:s+=U(i.getFullYear()%100,2);break;case 3:s+=U(i.getFullYear(),3);break;case 4:s+=U(i.getFullYear(),4);break;case 5:s+=U(i.getFullYear(),5);break}break;case"z":o=me(t,r,"z"),r+=o;let c="";switch(ho(i)){case 1:c="+00:00";break;case 2:c=vt(i.getTimezoneOffset()*-6e4);break;case 0:c=vt(Iu(i).getTimezoneOffset()*-6e4);break}const l=c[0]==="-"?"-":"+",f=parseInt(c.substring(1,3),10),u=parseInt(c.substring(4,6),10);switch(o){case 1:s+=`${l}${f}`;break;case 2:s+=`${l}${U(f,2)}`;break;default:s+=`${l}${U(f,2)}:${U(u,2)}`;break}break;case":":s+=":",r++;break;case"/":s+="/",r++;break;case"'":case'"':const[p,h]=Cu(t,r);s+=p,r+=h;break;case"%":const _=fo(t,r);if(_>=0&&_!==37)r+=2,s+=Ar(i,String.fromCharCode(_),n);else throw new Error("Invalid format string");break;case"\\":const g=fo(t,r);if(g>=0)r+=2,s+=String.fromCharCode(g);else throw new Error("Invalid format string");break;default:r++,s+=a;break}}return s}function ho(e){return e.kind||0}function vt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+U(n,2)+":"+U(r,2)}function _n(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Au(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return U(e.getFullYear(),4)+"-"+U(e.getMonth()+1,2)+"-"+U(e.getDate(),2)+"T"+U(e.getHours(),2)+":"+U(e.getMinutes(),2)+":"+U(e.getSeconds(),2)+"."+U(e.getMilliseconds(),3)+(n?vt(e.getTimezoneOffset()*-6e4):"")}}function Eu(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+vt(t)}function Nu(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+vt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return _n(n,"first");case"T":case"t":return _n(n,"second");case"O":case"o":return Eu(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Ar(n,t,!0)}function Fu(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?_n(e,"first"):e.toLocaleDateString();case"T":case"t":return n?_n(e,"second"):e.toLocaleTimeString();case"O":case"o":return Au(e,n);default:throw new Error("Unrecognized Date print format")}else return Ar(e,t,n)}function Gs(e,t,n){return e.offset!=null?Nu(e,t):Fu(e,t)}function Jt(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function Mu(){return Jt(-621355968e5,1)}function Ws(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.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(o!=null){let s,i=0;if(o[2]!=null){const a=o[2].split(":"),c=parseInt(a[0],10);i=c*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&c<12&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const a=new Date;s=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(o[4]==="Z")r="Z";else{let a=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(a*=-1),r=a,i-=a*60}}else if(o[1]!=null)s=new Date(o[1]);else{const a=new Date;s=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(s.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-s.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function Tu(e,t=!1){const[n,r]=Ws(e),o=r!=null?t&&r==="Z"?1:2:0;return Jt(n.getTime(),o)}function Bu(e,t){try{return t.contents=Tu(e),!0}catch{return!1}}function $u(e){return e.kind===1?e:Jt(e.getTime(),1)}function Iu(e){return e.kind===2?e:Jt(e.getTime(),2)}function mo(e){return e.kind===1?e.getUTCDate():e.getDate()}function nn(e){return e.kind===1?e.getUTCHours():e.getHours()}function rn(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function po(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function on(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function _o(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function wo(e){return e.kind===1?e.getUTCDay():e.getDay()}function qs(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function Zs(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Ou(e,t,n=0){return e.lastIndex=n,e.test(t)}function go(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,s=-1;for(;(o=e.exec(t))!=null;)o.index===s?e.lastIndex++:(s=o.index,r.push(o));return r}function Er(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const a=[],c=arguments.length,l=typeof arguments[c-1]!="string";let f=l?c-3:c-2;for(let u=0;u<f;u++)a.push(arguments[u]);a.index=arguments[f++],a.input=arguments[f++],l&&(a.groups=arguments[f]),i=n(a)}return i}if(typeof e=="string"){const i=e;e=qs(t,r??0),t=i,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,o)+t.substring(o).replace(e,s);if(n=n.replace(/\$0/g,i=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let i;const a=t.substring(o),c=go(e,a),l=go.length>r?(i=c[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+l.replace(e,n)+t.substring(o+l.length)}else return t.replace(e,n)}const Lt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Lu=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Js(e,t){return yu(e,t)<0}function At(e){return{input:e,cont:Du(e)}}function Ks(e,t){return typeof t=="string"?e(t):t.cont(e)}function Ut(e){return Ks(t=>t,e)}function Vu(e){return Ks(t=>{throw new Error(t)},e)}function Pu(e,t,n,r,o){let s="";if(t=t||"",o=o||"",js(e))switch(o.toLowerCase()!=="x"&&(Js(e,0)?(e=Qn(e,-1),s="-"):t.indexOf(" ")>=0?s=" ":t.indexOf("+")>=0&&(s="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r??6,e=an(e,r);break;case"g":case"G":e=r!=null?hn(e,r):hn(e);break;case"e":case"E":e=r!=null?mn(e,r):mn(e);break;case"x":e=pn(e);break;case"X":e=pn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Gs(e):e=$e(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,a=t.indexOf("-")>=0,c=a||!i?" ":"0";c==="0"?(e=Ht(e,n-s.length,c,a),e=s+e):e=Ht(s+e,n,c,a)}return e}function Ys(e,t,n,r="",o=-1){return(...s)=>{let i=r;const a=t.slice(),c=n.slice();for(const l of s){const[,,f,u,p,h]=c[0];let _=u;if(o>=0)_=o,o=-1;else if(_==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}i+=a[0],i+=Pu(l,f,_,p,h),a.splice(0,1),c.splice(0,1)}return c.length===0?(i+=a[0],e(i)):Ys(e,a,c,i,o)}}function Du(e){return t=>{Lt.lastIndex=0;const n=[],r=[];let o=0,s=Lt.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Lt.lastIndex,Lt.lastIndex-=1,s=Lt.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Ys(t,n,r))}}function Ru(e,...t){let n;return n=e,n.replace(Lu,(r,o,s,i,a,c)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let l=t[o];if(js(l))switch(a=a==null?null:parseInt(a,10),i){case"f":case"F":a=a??2,l=an(l,a);break;case"g":case"G":l=a!=null?hn(l,a):hn(l);break;case"e":case"E":l=a!=null?mn(l,a):mn(l);break;case"p":case"P":a=a??2,l=an(Qn(l,100),a)+" %";break;case"d":case"D":l=a!=null?Dn(String(l),a,"0"):String(l);break;case"x":case"X":l=a!=null?Dn(pn(l),a,"0"):pn(l),i==="X"&&(l=l.toUpperCase());break;default:if(c){let f="";l=c.replace(/([0#,]+)(\.[0#]+)?/,(u,p,h)=>{Js(l,0)&&(l=Qn(l,-1),f="-"),h=h==null?"":h.substring(1),l=an(l,Math.max(h.length,0));let[_,g]=l.split(".");g||(g="");const w=p.replace(/,/g,"").replace(/^#+/,"").length;_=Dn(_,w,"0");const y=h.replace(/#+$/,"").length;if(y>g.length?g=Hu(g,y,"0"):y<g.length&&(g=g.substring(0,y)+g.substring(y).replace(/0+$/,"")),p.indexOf(",")>0){const m=_.length%3,A=Math.floor(_.length/3);let Z=m>0?_.substr(0,m)+(A>0?",":""):"";for(let ne=0;ne<A;ne++)Z+=_.substr(m+ne*3,3)+(ne<A-1?",":"");_=Z}return g.length>0?_+"."+g:_}),l=f+l}}else l instanceof Date?l=Gs(l,c||i):l=$e(l);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(l=Ht(String(l),Math.abs(s)," ",s<0)),l})}function Uu(e){return typeof e!="string"||e.length===0}function Xs(e){return typeof e!="string"||/^\s*$/.test(e)}function H(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Ht(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function Dn(e,t,n){return Ht(e,t,n)}function Hu(e,t,n){return Ht(e,t,n,!0)}function zu(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,s=(r&2)===2;t=t||[],t=t.filter(f=>f).map(Zs),t=t.length>0?t:["\\s"];const i=[],a=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const f=a.exec(e);if(f===null){const u=s?e.substring(l).trim():e.substring(l);(!o||u.length>0)&&i.push(u),c=!1}else{const u=s?e.substring(l,f.index).trim():e.substring(l,f.index);(!o||u.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(l).trim():e.substring(l)),c=!1):i.push(u)),l=a.lastIndex}}while(c);return i}function ju(e,...t){if(t.length===0)return e.trim();const n="["+Zs(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}class dt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return qe(this.value)}Equals(t){return t==null?!1:Te(this.value,t instanceof dt?t.value:t)}CompareTo(t){return t==null?1:Se(this.value,t instanceof dt?t.value:t)}}function v(e){if(e==null)throw new Error("Option has no value");return e instanceof dt?e.value:e}function Qs(e){return e instanceof dt?e.value:e}function ke(e){return e==null||e instanceof dt?new dt(e):e}function En(e,t){return e!=null?v(e):t}class st{constructor(t,n,r,o,s,i,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=s,this.cases=i,this.enumCases=a}toString(){return te(this)}GetHashCode(){return ei(this)}Equals(t){return er(this,t)}}function He(e){return e.generics!=null?e.generics:[]}function ei(e){const t=xr(e.fullname),n=He(e).map(ei);return Zt([t,...n])}function er(e,t){return e.fullname===""?t.fullname===""&&Yn(wn(e),wn(t),([n,r],[o,s])=>n===o&&er(r,s)):e.fullname===t.fullname&&Yn(He(e),He(t),er)}function Kt(e,t,n,r){return new st(e,t,n,void 0,r)}function zt(e){return new st("Microsoft.FSharp.Core.FSharpOption`1",[e])}const Gu=new st("System.Object"),re=new st("System.String");function Nr(e){if(Array.isArray(e))return e[0];if(e instanceof st){const t=Nn(e);if(t!=null)return Nr(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function te(e){const t=Nn(e);return t!=null?te(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>te(n)).join(",")+"]"}function Wu(e){return Nn(e)!=null}function Nn(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function qu(e){return e.generics!=null&&e.generics.length>0}function ti(e){return e.enumCases!=null&&e.enumCases.length>0}function Zu(e){return e.generics==null?e:new st(e.fullname,e.generics.map(()=>Gu))}function Ju(e){var t;return(t=e.generics)==null?void 0:t[0]}function pt(e){if(ti(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Ku(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function _t(e,t){const n=parseInt(t,10);return Ku(e,isNaN(n)?t:n)[1]}function Yu(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function wn(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Xu(e){if(ni(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Qu(e){return e instanceof st?e.cases!=null:e instanceof L}function el(e){return e instanceof st?e.fields!=null:e instanceof X}function ni(e){return e.fullname.startsWith("System.Tuple")}function tl(e){return e.fields==null?[]:e.fields}function nl(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function rl(e,t){const n=wn(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,s],i)=>(r[o]=t[i],r),{})}function ol(e,t){return e}const ri="Collection was empty.";function oi(e,t){return new Array(t)}function bo(e,t){return e>t?e:t}function Fr(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function Fn(e,t,n){const r=t.length|0,o=oi(n,r);for(let s=0;s<=r-1;s++)ot(o,s,e(ue(s,t)));return o}function sl(e,t){const n=oi(t,1);return ot(n,0,e),n}function il(e){return e.slice().reverse()}function al(e,t){return t.find(e)}function ul(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(ue(o,t));if(s!=null){const i=v(s);r.push(i)}}return Te(n,We())?r:Fn(o=>o,r,n)}function Mn(e,t,n){const r=e;return n.reduce(r,t)}function ue(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function ot(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function si(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class fe extends X{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+H("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,l=a.tail;if(c!=null)if(l!=null){const f=v(c),u=v(l);if(Te(i.head,a.head)){o=f,s=u;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,a=o,c=s,l=c.tail;if(l!=null){const f=v(l);if(i>18)return a|0;r=i+1,o=(a<<1)+qe(c.head)+631*i,s=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,l=a.tail;if(c!=null)if(l!=null){const f=v(c),u=v(l),p=Se(i.head,a.head)|0;if(p===0){o=f,s=u;continue e}else return p|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return cl(this)}[Symbol.iterator](){return Cn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return K(this)}}class ll{constructor(t){this.xs=t,this.it=this.xs,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=v(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=We()}Dispose(){}}function cl(e){return new ll(e)}function ee(){return new fe(We(),void 0)}function Yt(e,t){return new fe(e,t)}function ft(e){return e.tail==null}function ii(e){return((n,r)=>{e:for(;;){const o=n,i=r.tail;if(i!=null){n=o+1,r=v(i);continue e}else return o|0}})(0,e)|0}function Et(e){if(e.tail!=null)return e.head;throw new Error(ri+"\\nParameter name: list")}function he(e){const t=e.tail;if(t!=null)return v(t);throw new Error(ri+"\\nParameter name: list")}function oe(){return ee()}function ge(e,t){return Yt(e,t)}function I(e){return Yt(e,ee())}function $(e){return ft(e)}function yo(e){return ii(e)}function S(e){return Et(e)}function B(e){return he(e)}function Xt(e){const t=ii(e)|0,n=Fr(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,a=s;if(!ft(a)){ot(n,i,Et(a)),o=i+1,s=he(a);continue e}break}})(0,e),n}function Pe(e,t,n){let r=t,o=n;for(;!ft(o);)r=e(r,S(o)),o=he(o);return r}function Mr(e){return Pe((t,n)=>Yt(n,t),ee(),e)}function dl(e,t,n){return si(e,Xt(t),n)}function fl(e,t,n){return((o,s,i)=>{e:for(;;){const a=o,c=s,l=i;if(ft(l))return c;o=a+1,s=e(a,c,Et(l)),i=he(l);continue e}})(0,t,n)}function hl(e,t,n,r){let o=t,s=n,i=r;for(;!ft(s)&&!ft(i);)o=e(o,Et(s),Et(i)),s=he(s),i=he(i);return o}function gn(e,t){Pe((n,r)=>{e(r)},void 0,t)}function z(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Yt(ue(r,e),n);return n}function C(e){return z(e,ee())}function ml(e){let t,n;if(Ve(e))return C(e);if(e instanceof fe)return e;{const r=ee();let o=r;const s=K(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new fe(c,void 0),t.tail=n,n)}}finally{W(s)}const i=o,a=ee();return i.tail=a,he(r)}}function Tr(e,t){return Pe((n,r)=>Yt(r,n),t,Mr(e))}function pl(e,t){const n=ee(),r=fl((s,i,a)=>{const c=new fe(e(s,a),void 0);return i.tail=c,c},n,t),o=ee();return r.tail=o,he(n)}function ai(e,t){const n=ee(),r=Pe((s,i)=>{const a=new fe(e(i),void 0);return s.tail=a,a},n,t),o=ee();return r.tail=o,he(n)}function _l(e,t){return(r=>{e:for(;;){const o=r;if(ft(o))return;{const s=e(Et(o));if(s==null){r=he(o);continue e}else return s}}})(t)}function wl(e,t){const n=ee(),r=Pe((s,i)=>{if(e(i)){const a=new fe(i,void 0);return s.tail=a,a}else return s},n,t),o=ee();return r.tail=o,he(n)}function gl(e,t){const n=ee(),r=ee(),o=n,s=Pe((c,l)=>{let f,u;const p=c[0],h=c[1];return e(l)?[(f=new fe(l,void 0),p.tail=f,f),h]:[p,(u=new fe(l,void 0),h.tail=u,u)]},[o,r],t),i=ee();s[0].tail=i;const a=ee();return s[1].tail=a,[he(o),he(r)]}function bl(e,t){const n=ee(),r=Pe((s,i)=>{const a=e(i);if(a==null)return s;{const c=new fe(v(a),void 0);return s.tail=c,c}},n,t),o=ee();return r.tail=o,he(n)}function ui(e,t){return Pe((n,r)=>n&&e(r),!0,t)}class yl{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class Br extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Br.prototype)}}class $r{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>$r.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function nt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Br);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(fn(n))}});else try{e(t)}catch(n){t.onError(fn(n))}}}function vl(e,t){return nt(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(fn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function kl(e){return nt(t=>t.onSuccess(e))}class Sl{Bind(t,n){return vl(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return nt(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const s=n(o.value);return o=r.next(),s}))}Return(t){return kl(t)}ReturnFrom(t){return t}TryFinally(t,n){return nt(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return nt(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(fn(s))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return nt(t=>t.onSuccess(void 0))}}const ce=new Sl;function xl(e){return new li(0,[e])}function Cl(e){return new li(1,[e])}class li extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Al(e){return xl(e)}function El(e){return Cl(e)}function Rn(e){}const Nl=new yl;function ci(e){return nt(t=>{e({onSuccess:n=>t.onSuccess(Al(n)),onError:n=>t.onSuccess(El(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Fl(e){return nt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Ml(e,t){return Bl(e,t)}function Tl(e,t){return Ml(e,t)}function Bl(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new $r;e({onSuccess:t||Rn,onError:Rn,onCancel:Rn,cancelToken:o||Nl,trampoline:s})}class Ir extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class $l extends L{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Il extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Tn extends X{constructor(t,n,r,o,s,i,a,c){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=s,this.overridenResponseType=i,this.timeout=a,this.content=c}}class gt extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class di extends X{constructor(t,n,r,o,s,i){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=s,this.content=i}}function Ol(e){throw new Error(e)}const Ll="Enumeration already finished.",Vl="Enumeration has not started. Call MoveNext.",fi="The input sequence has an insufficient number of elements.",Pl="Reset is not supported on this enumerator.";function Dl(){throw new Error(Pl)}function Or(){throw new Error(Vl)}function tr(){throw new Error(Ll)}class Rl{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=K(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+$e(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{W(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Cn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Ul(e){return new Rl(e)}class Hl{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"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"(){Dl()}Dispose(){this.dispose()}}function Bn(e,t,n){return new Hl(e,t,n)}function zl(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const a=v(n);try{W(a)}finally{n=void 0}}if(t!=null){const a=v(t);try{W(a)}finally{t=void 0}}};return Bn(()=>(r?o&&tr():Or(),s!=null?v(s):tr()),()=>{let a;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const l=t,f=n;if(l!=null)if(f!=null){const u=v(f);if(u["System.Collections.IEnumerator.MoveNext"]())s=ke(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{W(u)}finally{n=void 0}}else{const u=v(l);u["System.Collections.IEnumerator.MoveNext"]()?n=(a=u["System.Collections.Generic.IEnumerator`1.get_Current"](),K(a)):(i(),c=!1)}else t=K(e)}return v(c)}},()=>{o||i()})}function jl(e,t){return Bn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{W(t)}finally{}})}function hi(e,t,n){let r=!1,o,s=ke(e());const i=()=>{if(s!=null){const c=v(s);try{n(c)}finally{s=void 0}}},a=()=>{try{i()}finally{o=void 0}};return Bn(()=>(r||Or(),o!=null?v(o):tr()),()=>{if(r||(r=!0),s!=null){const c=v(s);let l;try{l=t(c)}catch(f){throw a(),f}return l!=null?(o=l,!0):(a(),!1)}else return!1},i)}function Gl(e,t){let n,r=t;return Bn(()=>{if(n!=null){const o=v(n)[0];return v(n)[1],o}else return Or()},()=>(n=e(r),n!=null?(v(n)[0],r=v(n)[1],!0):!1),()=>{})}function Wl(e,t){t==null&&Ol(e)}function It(e){return Ul(e)}function ht(e){return Wl("source",e),K(e)}function R(e){return It(()=>K(e()))}function mi(e){return It(()=>zl(e))}function ql(e,t){return It(()=>Gl(e,t))}function Je(){return R(()=>new Array(0))}function Y(e){return R(()=>sl(e))}function Zl(e){return e instanceof fe?Xt(e):Array.from(e)}function De(e){return Ve(e)?C(e):e instanceof fe?e:ml(e)}function Jl(e,t,n){return It(()=>hi(e,t,n))}function Kl(e,t,n){return It(()=>{let r=-1;return hi(e,o=>(r=r+1|0,t(r,o)),n)})}function xe(e,t){return mi([e,t])}function Yl(e,t,n){const r=ht(t);try{const o=ht(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&a;)s=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,s===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:a?-1:0)|0}finally{W(o)}}finally{W(r)}}function wt(e,t,n){const r=ht(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{W(r)}}function pi(e,t,n){const r=ht(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{W(r)}}function _i(e,t){pi((n,r)=>{e(r)},void 0,t)}function Le(e,t){return Jl(()=>ht(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ke(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{W(n)})}function Xl(e){return R(()=>il(Zl(e)))}function Ql(e,t){return It(()=>{const n=ht(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(fi+"\\nParameter name: source");return jl(()=>{},n)}catch(r){throw W(n),r}})}function ec(e,t){return Kl(()=>ht(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ke(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(fi+"\\nParameter name: source")}else return},n=>{W(n)})}function tc(e,t){return R(()=>mi(Le(e,t)))}class wi{constructor(t,n){this.k=t,this.v=n}}function bn(e,t){return new wi(e,t)}function le(e){return e.k}function be(e){return e.v}class J extends wi{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function un(e,t,n,r,o){return new J(e,t,n,r,o)}function ie(e){return e.left}function ae(e){return e.right}function lt(e){return e.h}function gi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof J){const s=o;e=gi(n+1,ie(s)),t=ae(s);continue e}else return n+1|0}else return n|0}}function nc(e){return gi(0,e)}function Ae(e,t,n,r){let o,s,i;const a=e;if(a!=null){const u=v(a);i=u instanceof J?(o=u,lt(o)):1}else i=0;let c;const l=r;if(l!=null){const u=v(l);c=u instanceof J?(s=u,lt(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?bn(t,n):un(t,n,e,r,f+1)}function vo(e,t,n,r){let o,s,i,a,c,l,f,u,p;const h=e;if(h!=null){const w=v(h);p=w instanceof J?(o=w,lt(o)):1}else p=0;let _;const g=r;if(g!=null){const w=v(g);_=w instanceof J?(s=w,lt(s)):1}else _=0;if(_>p+2){const w=v(r);if(w instanceof J){const y=w;if(i=ie(y),(i!=null?(a=v(i),a instanceof J?(c=a,lt(c)):1):0)>p+1){const m=v(ie(y));if(m instanceof J){const A=m;return Ae(Ae(e,t,n,ie(A)),le(A),be(A),Ae(ae(A),le(y),be(y),ae(y)))}else throw new Error("internal error: Map.rebalance")}else return Ae(Ae(e,t,n,ie(y)),le(y),be(y),ae(y))}else throw new Error("internal error: Map.rebalance")}else if(p>_+2){const w=v(e);if(w instanceof J){const y=w;if(l=ae(y),(l!=null?(f=v(l),f instanceof J?(u=f,lt(u)):1):0)>_+1){const m=v(ae(y));if(m instanceof J){const A=m;return Ae(Ae(ie(y),le(y),be(y),ie(A)),le(A),be(A),Ae(ae(A),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(ie(y),le(y),be(y),Ae(ae(y),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(e,t,n,r)}function Nt(e,t,n,r){if(r!=null){const o=v(r),s=e.Compare(t,le(o))|0;if(o instanceof J){const i=o;return s<0?vo(Nt(e,t,n,ie(i)),le(i),be(i),ae(i)):s===0?un(t,n,ie(i),ae(i),lt(i)):vo(ie(i),le(i),be(i),Nt(e,t,n,ae(i)))}else return s<0?un(t,n,void 0,r,2):s===0?bn(t,n):un(t,n,r,void 0,2)}else return bn(t,n)}function bi(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,le(i))|0;if(a===0)return ke(be(i));if(i instanceof J){const c=i;e=r,t=o,n=a<0?ie(c):ae(c);continue e}else return}else return}}function rc(e,t,n){const r=bi(e,t,n);if(r==null)throw new Error;return v(r)}function oc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,le(i))|0;if(i instanceof J){const c=i;if(a<0){e=r,t=o,n=ie(c);continue e}else{if(a===0)return!0;e=r,t=o,n=ae(c);continue e}}else return a===0}else return!1}}function yi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof J){const s=o;yi(n,ie(s)),n(le(s),be(s)),e=n,t=ae(s);continue e}else n(le(o),be(o))}break}}function sc(e,t){yi(e,t)}function ic(e,t,n){let r=n;sc((o,s)=>{ot(t,r,[o,s]),r=r+1|0},e)}function ac(e,t){return Pe((n,r)=>Nt(e,r[0],r[1],n),void 0,t)}function uc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){const i=s["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Nt(r,i[0],i[1],o),n=s;continue e}else return o}}function lc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=ue(r,t);n=Nt(e,o[0],o[1],n)}return n}function vi(e,t){if(Ve(t))return lc(e,t);if(t instanceof fe)return ac(e,t);{const n=K(t);try{return uc(e,void 0,n)}finally{W(n)}}}class cc extends X{constructor(t,n){super(),this.stack=t,this.started=n}}function ki(e){e:for(;;){const t=e;if($(t))return oe();{const n=B(t),r=S(t);if(r!=null){const o=v(r);if(o instanceof J){const s=o;e=z([ie(s),bn(le(s),be(s)),ae(s)],n);continue e}else return t}else{e=n;continue e}}}}function ko(e){return new cc(ki(I(e)),!1)}function dc(){throw new Error("enumeration not started")}function fc(){throw new Error("enumeration already finished")}function So(e){if(e.started){const t=e.stack;if($(t))return fc();if(S(t)!=null){const n=v(S(t));if(n instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for current");return[le(n),be(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return dc()}function hc(e){if(e.started){const t=e.stack;if($(t))return!1;if(S(t)!=null){if(v(S(t))instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ki(B(t)),!$(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function xo(e){let t=ko(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return So(t)},"System.Collections.IEnumerator.get_Current"(){return So(t)},"System.Collections.IEnumerator.MoveNext"(){return hc(t)},"System.Collections.IEnumerator.Reset"(){t=ko(e)},Dispose(){}}}class yn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return wc(this)|0}Equals(t){const n=this;if(t instanceof yn){const r=t,o=K(n);try{const s=K(r);try{const i=()=>{const a=o["System.Collections.IEnumerator.MoveNext"]();if(a===s["System.Collections.IEnumerator.MoveNext"]())if(a){const c=o["System.Collections.Generic.IEnumerator`1.get_Current"](),l=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return Te(c[0],l[0])&&Te(c[1],l[1])?i():!1}else return!0;else return!1};return i()}finally{W(s)}}finally{W(o)}}else return!1}toString(){return"map ["+H("; ",Le(n=>Ru("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return xo(this.tree)}[Symbol.iterator](){return Cn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return xo(this.tree)}CompareTo(t){const n=this;if(t instanceof yn)return Yl((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:Se(o[1],s[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){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"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Ao(n,t[0])&&Te(Co(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ic(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Un(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Un(this)|0}get size(){return Un(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Le(n=>[n[0],n[1]],this)}get(t){return Co(this,t)}has(t){return Ao(this,t)}keys(){return Le(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Le(n=>n[1],this)}forEach(t,n){const r=this;_i(o=>{t(o[1],o[0],r)},r)}}function $n(e,t){return new yn(e,t)}function mc(e){return $n(e,void 0)}function pc(e,t,n){return $n(e.comparer,Nt(e.comparer,t,n,e.tree))}function Co(e,t){return rc(e.comparer,t,e.tree)}function Un(e){return nc(e.tree)}function Ao(e,t){return oc(e.comparer,t,e.tree)}function _c(e,t){return bi(e.comparer,t,e.tree)}function wc(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=K(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,qe(o[0]))|0,n=t(n,qe(o[1]))|0}}finally{W(r)}return n|0}function gc(e,t,n){return pc(n,e,t)}function bc(e,t){return _c(t,e)}function yc(e,t){return $n(t,vi(t,e))}function vc(e,t){return $n(t,vi(t,e))}function Si(e){return mc(e)}function xi(e){return new $l("Authorization",e)}const at=new Tn("",new Ir(0,[]),oe(),!1,void 0,void 0,void 0,new Il(0,[]));new di(0,"","","",Si({Compare:Cr}),new gt(0,[""]));function Eo(e,t){return Uu(t)?new Array(0):zu(t,[e],void 0,0)}function kc(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"}}function Ci(e){return new Tn(e,at.method,at.headers,at.withCredentials,at.overridenMimeType,at.overridenResponseType,at.timeout,at.content)}function Ai(e,t){return new Tn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ei(e,t){return new Tn(t.url,t.method,Tr(t.headers,I(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ni(e){return Fl(t=>{const n=new XMLHttpRequest;n.open(kc(e.method),e.url),n.onreadystatechange=()=>{let c,l,f,u,p,h,_;n.readyState===4&&t[0]((c=(l=n.responseType,l===""||l==="text"?n.responseText:""),f=n.status|0,u=n.responseType,p=(h=n.responseType,h===""?new gt(0,[n.responseText]):h==="text"?new gt(0,[n.responseText]):h==="arraybuffer"?new gt(2,[n.response]):h==="blob"?new gt(1,[n.response]):new gt(3,[n.response])),_=vc(ul(g=>{const w=C(Eo(":",g));if(!$(w))return[S(w).toLocaleLowerCase(),H(":",B(w)).trim()]},Eo(`\r
|
|
4
|
+
`,n.getAllResponseHeaders())),{Compare:Cr}),new di(f,c,u,n.responseURL,_,p)))};const r=K(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const c=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(c.fields[0],c.fields[1])}}finally{W(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const c=o;n.overrideMimeType(c)}const s=e.overridenResponseType;if(s!=null)switch(s.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const i=e.timeout;if(i!=null){const c=i|0;n.timeout=c|0}const a=e.content;switch(a.tag){case 1:{n.send(ke(a.fields[0]));break}case 3:{n.send(ke(a.fields[0]));break}case 2:{n.send(ke(a.fields[0]));break}default:n.send()}})}function Sc(e){return new d(0,[e])}function Fi(e){return new d(1,[e])}class d extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Ze(e,t){return t.tag===0?Sc(e(t.fields[0])):Fi(t.fields[0])}function xc(e,t){return t.tag===0?e(t.fields[0]):Fi(t.fields[0])}function Cc(e){if(e.tag===0)return ke(e.fields[0])}class k extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Lr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function No(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Ac(e,t){switch(e.tag){case 2:return Er(No(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return No(t)}}const Ec=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Fo=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Nc=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Fc(e){function t(r){return r.replace(Fo,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ec.test(n))return ju(n,"{","}","(",")");if(Fo.test(n))return t(n);if(Nc.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Mc(e,t){try{return t.contents=Fc(e),!0}catch{return!1}}var nr;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(nr||(nr={}));function Tc(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function Mo(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Bc(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.")}}function $c(e,t){if(t&nr.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}}function Ic(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,s,i]=o;if(n=n||$c(s,t),!Bc(n).test(i))return Tc(o,n)}return null}function Oc(e,t,n,r,o){const s=Ic(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[a,c]=Mo(!0,r);!n&&s.radix!==10&&i>=a&&i<=c&&(i=i<<32-r>>32-r);const[l,f]=Mo(n,r);if(i>=l&&i<=f)return i}}throw new Error(`The input string ${e} was not in a correct format.`)}function Ot(e,t,n,r,o){try{return o.contents=Oc(e,t,n,r),!0}catch{return!1}}function Mi(e,t){Lc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Lc(e){if(e!=null&&e!==0){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.")}}function Vc(){return Mi(-621355968e5,0)}function Pc(e){const[t,n]=Ws(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Mi(t.getTime(),r)}function Dc(e,t){try{return t.contents=Pc(e),!0}catch{return!1}}function To(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Rc(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function Rc(e){return Number(BigInt(e)/10000n)}function Uc(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return To(r,0,0,0,0)}if(n>0){const r=/^(-?)((\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(r!=null&&r[4]!=null&&r[5]!=null){let o=0,s=0,i=0;const a=r[1]!=null&&r[1]==="-"?-1:1,c=+r[4],l=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(i=+r[7]),r[8]!=null)switch(r[8].length){case 1:s=+r[8]*100;break;case 2:s=+r[8]*10;break;case 3:s=+r[8];break;case 4:s=+r[8]/10;break;case 5:s=+r[8]/100;break;case 6:s=+r[8]/1e3;break;case 7:s=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*To(o,c,l,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Hc(e,t){try{return t.contents=Uc(e),!0}catch{return!1}}class Ti{constructor(t){this.k=t}}function _e(e){return new Ti(e)}function E(e){return e.k}class O extends Ti{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function we(e,t,n,r){return new O(e,t,n,r)}function D(e){return e.left}function V(e){return e.right}function yt(e){return e.h}function Bi(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=v(n);if(o instanceof O){const s=o;e=D(s),t=Bi(V(s),r+1);continue e}else return r+1|0}else return r|0}}function zc(e){return Bi(e,0)}function Ee(e,t,n){let r,o,s;const i=e;if(i!=null){const f=v(i);s=f instanceof O?(r=f,yt(r)):1}else s=0;let a;const c=n;if(c!=null){const f=v(c);a=f instanceof O?(o=f,yt(o)):1}else a=0;const l=(s<a?a:s)|0;return l===0?_e(t):we(t,e,n,l+1)}function Bo(e,t,n){let r,o,s,i,a,c,l,f,u;const p=e;if(p!=null){const g=v(p);u=g instanceof O?(r=g,yt(r)):1}else u=0;let h;const _=n;if(_!=null){const g=v(_);h=g instanceof O?(o=g,yt(o)):1}else h=0;if(h>u+2){const g=v(n);if(g instanceof O){const w=g;if(s=D(w),(s!=null?(i=v(s),i instanceof O?(a=i,yt(a)):1):0)>u+1){const y=v(D(w));if(y instanceof O){const m=y;return Ee(Ee(e,t,D(m)),E(m),Ee(V(m),E(w),V(w)))}else throw new Error("internal error: Set.rebalance")}else return Ee(Ee(e,t,D(w)),E(w),V(w))}else throw new Error("internal error: Set.rebalance")}else if(u>h+2){const g=v(e);if(g instanceof O){const w=g;if(c=V(w),(c!=null?(l=v(c),l instanceof O?(f=l,yt(f)):1):0)>h+1){const y=v(V(w));if(y instanceof O){const m=y;return Ee(Ee(D(w),E(w),D(m)),E(m),Ee(V(m),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(D(w),E(w),Ee(V(w),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(e,t,n)}function Ft(e,t,n){if(n!=null){const r=v(n),o=e.Compare(t,E(r))|0;if(r instanceof O){const s=r;return o<0?Bo(Ft(e,t,D(s)),E(s),V(s)):o===0?n:Bo(D(s),E(s),Ft(e,t,V(s)))}else{const s=e.Compare(t,E(r))|0;return s<0?we(t,void 0,n,2):s===0?n:we(t,n,void 0,2)}}else return _e(t)}function $i(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,E(i))|0;if(i instanceof O){const c=i;if(a<0){e=r,t=o,n=D(c);continue e}else{if(a===0)return!0;e=r,t=o,n=V(c);continue e}}else return a===0}else return!1}}function Ii(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof O){const s=o;Ii(n,D(s)),n(E(s)),e=n,t=V(s);continue e}else n(E(o))}break}}class jc extends X{constructor(t,n){super(),this.stack=t,this.started=n}}function Oi(e){e:for(;;){const t=e;if($(t))return oe();{const n=S(t),r=B(t);if(n!=null){const o=v(n);if(o instanceof O){const s=o;e=z([D(s),_e(E(s)),V(s)],r);continue e}else return t}else{e=r;continue e}}}}function $o(e){return new jc(Oi(I(e)),!1)}function Gc(){throw new Error("Enumeration not started")}function Wc(){throw new Error("Enumeration already started")}function Io(e){if(e.started){const t=e.stack;if($(t))return Wc();if(S(t)!=null){const n=v(S(t));return E(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Gc()}function qc(e){if(e.started){const t=e.stack;if($(t))return!1;if(S(t)!=null){if(v(S(t))instanceof O)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Oi(B(t)),!$(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function Oo(e){let t=$o(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Io(t)},"System.Collections.IEnumerator.get_Current"(){return Io(t)},"System.Collections.IEnumerator.MoveNext"(){return qc(t)},"System.Collections.IEnumerator.Reset"(){t=$o(e)},Dispose(){}}}function Zc(e,t,n){e:for(;;){const r=e,o=t,s=n;if($(o))return $(s)?0:-1;if($(s))return 1;if(S(s)!=null)if(S(o)!=null){const i=v(S(o)),a=v(S(s));if(i instanceof O){const c=i;if(D(c)==null)if(a instanceof O){const l=a;if(D(l)==null){const f=r.Compare(E(c),E(l))|0;if(f!==0)return f|0;e=r,t=ge(V(c),B(o)),n=ge(V(l),B(s));continue e}else{let f,u,p,h,_;switch($(o)?$(s)?f=2:S(s)!=null?(f=1,h=B(s),_=v(S(s))):f=2:S(o)!=null?(f=0,u=B(o),p=v(S(o))):$(s)?f=2:S(s)!=null?(f=1,h=B(s),_=v(S(s))):f=2,f){case 0:if(p instanceof O){const g=p;e=r,t=z([D(g),we(E(g),void 0,V(g),0)],u),n=s;continue e}else{e=r,t=z([void 0,_e(E(p))],u),n=s;continue e}case 1:if(_ instanceof O){const g=_;e=r,t=o,n=z([D(g),we(E(g),void 0,V(g),0)],h);continue e}else{e=r,t=o,n=z([void 0,_e(E(_))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(E(c),E(a))|0;if(l!==0)return l|0;e=r,t=ge(V(c),B(o)),n=ge(void 0,B(s));continue e}else{let l,f,u,p,h;switch($(o)?$(s)?l=2:S(s)!=null?(l=1,p=B(s),h=v(S(s))):l=2:S(o)!=null?(l=0,f=B(o),u=v(S(o))):$(s)?l=2:S(s)!=null?(l=1,p=B(s),h=v(S(s))):l=2,l){case 0:if(u instanceof O){const _=u;e=r,t=z([D(_),we(E(_),void 0,V(_),0)],f),n=s;continue e}else{e=r,t=z([void 0,_e(E(u))],f),n=s;continue e}case 1:if(h instanceof O){const _=h;e=r,t=o,n=z([D(_),we(E(_),void 0,V(_),0)],p);continue e}else{e=r,t=o,n=z([void 0,_e(E(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof O){const c=a;if(D(c)==null){const l=r.Compare(E(i),E(c))|0;if(l!==0)return l|0;e=r,t=ge(void 0,B(o)),n=ge(V(c),B(s));continue e}else{let l,f,u,p,h;switch($(o)?$(s)?l=2:S(s)!=null?(l=1,p=B(s),h=v(S(s))):l=2:S(o)!=null?(l=0,f=B(o),u=v(S(o))):$(s)?l=2:S(s)!=null?(l=1,p=B(s),h=v(S(s))):l=2,l){case 0:if(u instanceof O){const _=u;e=r,t=z([D(_),we(E(_),void 0,V(_),0)],f),n=s;continue e}else{e=r,t=z([void 0,_e(E(u))],f),n=s;continue e}case 1:if(h instanceof O){const _=h;e=r,t=o,n=z([D(_),we(E(_),void 0,V(_),0)],p);continue e}else{e=r,t=o,n=z([void 0,_e(E(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(E(i),E(a))|0;if(c!==0)return c|0;e=r,t=B(o),n=B(s);continue e}}else{v(S(s));let i,a,c,l,f;switch($(o)?$(s)?i=2:S(s)!=null?(i=1,l=B(s),f=v(S(s))):i=2:S(o)!=null?(i=0,a=B(o),c=v(S(o))):$(s)?i=2:S(s)!=null?(i=1,l=B(s),f=v(S(s))):i=2,i){case 0:if(c instanceof O){const u=c;e=r,t=z([D(u),we(E(u),void 0,V(u),0)],a),n=s;continue e}else{e=r,t=z([void 0,_e(E(c))],a),n=s;continue e}case 1:if(f instanceof O){const u=f;e=r,t=o,n=z([D(u),we(E(u),void 0,V(u),0)],l);continue e}else{e=r,t=o,n=z([void 0,_e(E(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(S(o)!=null){v(S(o));let i,a,c,l,f;switch($(o)?$(s)?i=2:S(s)!=null?(i=1,l=B(s),f=v(S(s))):i=2:S(o)!=null?(i=0,a=B(o),c=v(S(o))):$(s)?i=2:S(s)!=null?(i=1,l=B(s),f=v(S(s))):i=2,i){case 0:if(c instanceof O){const u=c;e=r,t=z([D(u),we(E(u),void 0,V(u),0)],a),n=s;continue e}else{e=r,t=z([void 0,_e(E(c))],a),n=s;continue e}case 1:if(f instanceof O){const u=f;e=r,t=o,n=z([D(u),we(E(u),void 0,V(u),0)],l);continue e}else{e=r,t=o,n=z([void 0,_e(E(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=B(o),n=B(s);continue e}}}function Lo(e,t,n){return t==null?n==null?0:-1:n==null?1:Zc(e,I(t),I(n))|0}function Jc(e,t,n){let r=n;Ii(o=>{ot(t,r,o),r=r+1|0},e)}function Kc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Ft(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function Yc(e,t){return Mn((n,r)=>Ft(e,r,n),void 0,t)}function Xc(e,t){return Pe((n,r)=>Ft(e,r,n),void 0,t)}function Li(e,t){if(Ve(t))return Yc(e,t);if(t instanceof fe)return Xc(e,t);{const n=K(t);try{return Kc(e,void 0,n)}finally{W(n)}}}class Vr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return td(this)|0}Equals(t){let n;const r=this;return t instanceof Vr&&(n=t,Lo(kt(r),Ne(r),Ne(n))===0)}toString(){return"set ["+H("; ",Le(n=>$e(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Lo(kt(n),Ne(n),Ne(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return $i(kt(n),t,Ne(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Jc(Ne(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Hn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Hn(this)|0}GetEnumerator(){return Oo(Ne(this))}[Symbol.iterator](){return Cn(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Oo(Ne(this))}get size(){return Hn(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Vi(this,t)}keys(){return Le(n=>n,this)}values(){return Le(n=>n,this)}entries(){return Le(n=>[n,n],this)}forEach(t,n){const r=this;_i(o=>{t(o,o,r)},r)}}function In(e,t){return new Vr(e,t)}function kt(e){return e.comparer}function Ne(e){return e.tree}function Qc(e){return In(e,void 0)}function ed(e,t){return In(kt(e),Ft(kt(e),t,Ne(e)))}function Hn(e){return zc(Ne(e))}function Vi(e,t){return $i(kt(e),t,Ne(e))}function td(e){let t=0;const n=K(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+qe(r)+631|0}}finally{W(n)}return Math.abs(t)|0}function rr(e,t){return Vi(t,e)}function nd(e,t){return ed(t,e)}function rd(e){return Qc(e)}function od(e,t){return In(t,Li(t,e))}function sd(e,t){return In(t,Li(t,e))}function Vt(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
5
5
|
`:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
|
|
6
6
|
`:" ")}}function id(e,t){const n=t.tag===2?Vt(t.fields[0],t.fields[1],!0):t.tag===1?Vt(t.fields[0],t.fields[1],!1)+`
|
|
7
7
|
Reason: `+t.fields[2]:t.tag===3?Vt(t.fields[0],t.fields[1],!0):t.tag===4?Vt(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
@@ -9,9 +9,9 @@ Reason: `+t.fields[2]:t.tag===3?Vt(t.fields[0],t.fields[1],!0):t.tag===4?Vt(t.fi
|
|
|
9
9
|
|
|
10
10
|
`+H(`
|
|
11
11
|
|
|
12
|
-
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Vt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Pi(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new d(1,[id(o[0],o[1])])}else return new d(0,[r.fields[0]])}function Di(e,t){try{return Pi("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new d(1,["Given an invalid JSON: "+n.message]);throw n}}function Ri(e,t){return typeof t=="string"?new d(0,[t]):new d(1,[[e,new k(0,["a string",t])]])}function ad(e,t){if(typeof t=="string"){const n=t;return n.length===1?new d(0,[n[0]]):new d(1,[[e,new k(0,["a single character string",t])]])}else return new d(1,[[e,new k(0,["a char",t])]])}function ud(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Mc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a guid",t])]])}else return new d(1,[[e,new k(0,["a guid",t])]])}function ld(e,t){return t==null?new d(0,[void 0]):new d(1,[[e,new k(0,["null",t])]])}const Vo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-128<=o&&o<=127?new d(0,[(o+128&255)-128]):new d(1,[[n,new k(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new d(1,[[n,new k(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,8,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["a sbyte",r])]])}else return new d(1,[[n,new k(0,["a sbyte",r])]])},Po=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=255?new d(0,[o&255]):new d(1,[[n,new k(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new d(1,[[n,new k(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,8,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["a byte",r])]])}else return new d(1,[[n,new k(0,["a byte",r])]])},Do=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-32768<=o&&o<=32767?new d(0,[(o+32768&65535)-32768]):new d(1,[[n,new k(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new d(1,[[n,new k(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,16,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an int16",r])]])}else return new d(1,[[n,new k(0,["an int16",r])]])},Ro=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=65535?new d(0,[o&65535]):new d(1,[[n,new k(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new d(1,[[n,new k(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,16,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an uint16",r])]])}else return new d(1,[[n,new k(0,["an uint16",r])]])},Uo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-2147483648<=o&&o<=2147483647?new d(0,[~~o]):new d(1,[[n,new k(1,["an int",o,"Value was either too large or too small for an int"])]]):new d(1,[[n,new k(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,32,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an int",r])]])}else return new d(1,[[n,new k(0,["an int",r])]])},Ho=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=4294967295?new d(0,[o>>>0]):new d(1,[[n,new k(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new d(1,[[n,new k(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,32,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an uint32",r])]])}else return new d(1,[[n,new k(0,["an uint32",r])]])};function cd(e,t){return typeof t=="boolean"?new d(0,[t]):new d(1,[[e,new k(0,["a boolean",t])]])}function dd(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new k(0,["a float",t])]])}function fd(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new k(0,["a float32",t])]])}function hd(e,t){if(typeof t=="string"){let n,r=Mu();return n=[Bu(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[$u(n[1])]):new d(1,[[e,new k(0,["a datetime",t])]])}else return new d(1,[[e,new k(0,["a datetime",t])]])}function md(e,t){if(typeof t=="string"){let n,r=Vc();return n=[Dc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a datetimeoffset",t])]])}else return new d(1,[[e,new k(0,["a datetime",t])]])}function pd(e,t){if(typeof t=="string"){let n,r=0;return n=[Hc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a timespan",t])]])}else return new d(1,[[e,new k(0,["a timespan",t])]])}function zo(e,t,n,r){let o;const s=n+".["+ct(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,ue(e,i)):new d(1,[[s,new k(5,["a longer array. Need index `"+ct(e)+"` but there are only `"+(o=i.length,ct(o))+"` entries",r])]])}else return new d(1,[[s,new k(0,["an array",r])]])}function _d(e,t,n){return n==null?new d(0,[void 0]):Ze(ke,e(t,n))}function jo(e,t,n){if(Array.isArray(n)){let r=-1;return Ze(Mr,
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Vt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Pi(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new d(1,[id(o[0],o[1])])}else return new d(0,[r.fields[0]])}function Di(e,t){try{return Pi("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new d(1,["Given an invalid JSON: "+n.message]);throw n}}function Ri(e,t){return typeof t=="string"?new d(0,[t]):new d(1,[[e,new k(0,["a string",t])]])}function ad(e,t){if(typeof t=="string"){const n=t;return n.length===1?new d(0,[n[0]]):new d(1,[[e,new k(0,["a single character string",t])]])}else return new d(1,[[e,new k(0,["a char",t])]])}function ud(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Mc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a guid",t])]])}else return new d(1,[[e,new k(0,["a guid",t])]])}function ld(e,t){return t==null?new d(0,[void 0]):new d(1,[[e,new k(0,["null",t])]])}const Vo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-128<=o&&o<=127?new d(0,[(o+128&255)-128]):new d(1,[[n,new k(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new d(1,[[n,new k(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,8,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["a sbyte",r])]])}else return new d(1,[[n,new k(0,["a sbyte",r])]])},Po=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=255?new d(0,[o&255]):new d(1,[[n,new k(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new d(1,[[n,new k(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,8,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["a byte",r])]])}else return new d(1,[[n,new k(0,["a byte",r])]])},Do=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-32768<=o&&o<=32767?new d(0,[(o+32768&65535)-32768]):new d(1,[[n,new k(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new d(1,[[n,new k(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,16,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an int16",r])]])}else return new d(1,[[n,new k(0,["an int16",r])]])},Ro=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=65535?new d(0,[o&65535]):new d(1,[[n,new k(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new d(1,[[n,new k(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,16,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an uint16",r])]])}else return new d(1,[[n,new k(0,["an uint16",r])]])},Uo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-2147483648<=o&&o<=2147483647?new d(0,[~~o]):new d(1,[[n,new k(1,["an int",o,"Value was either too large or too small for an int"])]]):new d(1,[[n,new k(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,32,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an int",r])]])}else return new d(1,[[n,new k(0,["an int",r])]])},Ho=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=4294967295?new d(0,[o>>>0]):new d(1,[[n,new k(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new d(1,[[n,new k(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,32,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new k(0,["an uint32",r])]])}else return new d(1,[[n,new k(0,["an uint32",r])]])};function cd(e,t){return typeof t=="boolean"?new d(0,[t]):new d(1,[[e,new k(0,["a boolean",t])]])}function dd(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new k(0,["a float",t])]])}function fd(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new k(0,["a float32",t])]])}function hd(e,t){if(typeof t=="string"){let n,r=Mu();return n=[Bu(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[$u(n[1])]):new d(1,[[e,new k(0,["a datetime",t])]])}else return new d(1,[[e,new k(0,["a datetime",t])]])}function md(e,t){if(typeof t=="string"){let n,r=Vc();return n=[Dc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a datetimeoffset",t])]])}else return new d(1,[[e,new k(0,["a datetime",t])]])}function pd(e,t){if(typeof t=="string"){let n,r=0;return n=[Hc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new k(0,["a timespan",t])]])}else return new d(1,[[e,new k(0,["a timespan",t])]])}function zo(e,t,n,r){let o;const s=n+".["+ct(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,ue(e,i)):new d(1,[[s,new k(5,["a longer array. Need index `"+ct(e)+"` but there are only `"+(o=i.length,ct(o))+"` entries",r])]])}else return new d(1,[[s,new k(0,["an array",r])]])}function _d(e,t,n){return n==null?new d(0,[void 0]):Ze(ke,e(t,n))}function jo(e,t,n){if(Array.isArray(n)){let r=-1;return Ze(Mr,Mn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ct(r)+"]",s);return i.tag===0?new d(0,[ge(i.fields[0],o.fields[0])]):new d(1,[i.fields[0]])}else return o},new d(0,[oe()]),n))}else return new d(1,[[t,new k(0,["a list",n])]])}function wd(e,t,n){if(Array.isArray(n)){let r=-1;return Ze(Xl,Mn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ct(r)+"]",s);return i.tag===0?new d(0,[xe([i.fields[0]],o.fields[0])]):new d(1,[i.fields[0]])}else return o},new d(0,[[]]),n))}else return new d(1,[[t,new k(0,["a seq",n])]])}function Go(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Mn((s,i)=>{if(r=r+1|0,s.tag===0){const a=s.fields[0],c=e(t+".["+ct(r)+"]",i);return c.tag===0?(ot(a,r,c.fields[0]),new d(0,[a])):new d(1,[c.fields[0]])}else return s},new d(0,[Fr(new Array(o.length),0,o.length,null)]),o)}else return new d(1,[[t,new k(0,["an array",n])]])}function gd(e,t,n){return((o,s)=>{e:for(;;){const i=o,a=s;if($(i))return new d(1,[[t,new k(7,[a])]]);{const c=Pi(t,q(S(i)),n);if(c.tag===1){o=B(i),s=Tr(a,I(c.fields[0]));continue e}else return new d(0,[c.fields[0]])}}})(e,oe())}function bd(e,t,n){return new d(0,[e])}function Wo(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new d(1,[o.fields[0]])}function yd(e,t,n,r){const o=t(n,r);return o.tag===1?new d(1,[o.fields[0]]):new d(0,[e(o.fields[0])])}function vd(e,t){let n;const r=e;return n=o=>s=>zo(0,r,o,s),o=>s=>Wo(Xn(i=>{let a;const c=t;return a=l=>f=>zo(1,c,l,f),l=>f=>Wo((u,p,h)=>bd([i,u]),q(a),l,f)}),q(n),o,s)}function kd(e){return yc(e,{Compare:Se})}function Sd(e){return sd(e,{Compare:Se})}function xd(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?si((r,o)=>{const s=r[0];return o.tag===0?Ze(i=>ge(i,o.fields[0]),r[1](t+"."+s)(n[s])):o},e,new d(0,[oe()])):new d(1,[[t,new k(0,["an object",n])]])}function Cd(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?pi((o,s)=>{if(o.tag===0){const i=e(n,s);if(i.tag===0){const a=t(n+"."+s,r[s]);return a.tag===0?new d(0,[ge([i.fields[0],a.fields[0]],o.fields[0])]):new d(1,[a.fields[0]])}else return new d(1,[i.fields[0]])}else return o},new d(0,[oe()]),Object.keys(r)):new d(1,[[n,new k(0,["an object",r])]])}function Ui(e,t,n,r){let o;const s=t.length+e|0;if(s!==r.length)return new d(1,[[n,new k(6,[(o=r.length|0,Ut(At("Expected array of length %i but got %i"))(s)(o))])]]);{let i=new d(0,[oe()]);for(let a=e;a<=r.length-1;a++)if(i.tag===0){const c=i.fields[0],l=Ut(At("%s[%i]"))(n)(a),f=ue(a-e,t),u=ue(a,r);i=Ze(p=>ge(p,c),f(l)(u))}return Ze(Mr,i)}}function qo(e,t,n,r,o,s){const i=al(a=>Nr(a)===r,Yu(n));if(i!=null){const a=i,c=Fn(l=>Fe(e,t,!1,l[1]),tl(a));return Ze(l=>nl(a,Xt(l)),c.length===0&&s.length<=1?new d(0,[oe()]):Ui(1,c,o,s))}else return new d(1,[[o,new k(6,["Cannot find case "+r+" in "+te(n)])]])}function Zo(e,t,n,r){let o;const s=new Ie(We());let i;const a=te(r);i=a===""?e:gc(a,s,e);let c;if(el(r)){const l=Fn(f=>[Ac(t,Nr(f)),Fe(i,t,!1,f[1])],wn(r));c=f=>u=>Ze(p=>rl(r,Xt(p)),xd(l,f,u))}else if(Qu(r))c=l=>f=>{if(typeof f=="string")return qo(i,t,r,f,l,[]);if(Array.isArray(f)){const u=f;return xc(p=>qo(i,t,r,p,l,u),Ri(l+"[0]",ue(0,u)))}else return new d(1,[[l,new k(0,["a string or array",f])]])};else if(n)c=l=>f=>new d(1,[[l,new k(2,["an extra coder for "+te(r),f])]]);else throw new Error((o=te(r),Ut(At(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
13
13
|
|
|
14
|
-
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(o)));return s.contents=c,c}function Fe(e,t,n,r){let o,s,i,a;const c=te(r),l=bc(c,e);if(l==null)if(Wu(r)){const f=Fe(e,t,!1,
|
|
14
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(o)));return s.contents=c,c}function Fe(e,t,n,r){let o,s,i,a;const c=te(r),l=bc(c,e);if(l==null)if(Wu(r)){const f=Fe(e,t,!1,Nn(r));return u=>p=>Go(q(f),u,p)}else if(ti(r))switch(te(Ju(r))){case"System.SByte":return u=>p=>{const h=r,_=u,g=p,w=Vo(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0]|0;return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,y.toString())]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};case"System.Byte":return u=>p=>{const h=r,_=u,g=p,w=Po(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0];return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,y.toString())]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};case"System.Int16":return u=>p=>{const h=r,_=u,g=p,w=Do(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0]|0;return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,tu(y))]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt16":return u=>p=>{const h=r,_=u,g=p,w=Ro(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0];return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,y.toString())]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};case"System.Int32":return u=>p=>{const h=r,_=u,g=p,w=Uo(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0]|0;return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,ct(y))]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt32":return u=>p=>{const h=r,_=u,g=p,w=Ho(_)(g);if(w.tag===1)return new d(1,[w.fields[0]]);{const y=w.fields[0];return wt(y,pt(h),{Equals:(m,A)=>m===A,GetHashCode:Ue})?new d(0,[_t(h,y.toString())]):new d(1,[[_,new k(1,[te(h),g,"Unkown value provided for the enum"])]])}};default:{const u=te(r),p=Vu(At(`Cannot generate auto decoder for %s.
|
|
15
15
|
Thoth.Json.Net only support the following enum types:
|
|
16
16
|
- sbyte
|
|
17
17
|
- byte
|
|
@@ -20,7 +20,7 @@ Thoth.Json.Net only support the following enum types:
|
|
|
20
20
|
- int
|
|
21
21
|
- uint32
|
|
22
22
|
If you can't use one of these types, please pass an extra decoder.
|
|
23
|
-
`))(u);return h=>p(h)}}else if(qu(r))if(ni(r)){const f=En(u=>Fe(e,t,!1,u),Xu(r));return u=>p=>Array.isArray(p)?Ze(h=>ol(Xt(h)),Ui(0,f,u,p)):new d(1,[[u,new k(0,["an array",p])]])}else switch(te(Zu(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=Fe(e,t,!0,ue(0,He(r))),u=>p=>_d(q(o),u,p);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=Fe(e,t,!1,ue(0,He(r))),u=>p=>jo(q(s),u,p);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=Fe(e,t,!1,ue(0,He(r))),u=>p=>wd(q(i),u,p);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const u=Fe(e,t,!1,ue(0,He(r))),p=Fe(e,t,!1,ue(1,He(r)));let h;const _=C([w=>g=>Cd(q(u),q(p),w,g),(a=vd(q(u),q(p)),w=>g=>jo(q(a),w,g))]);return h=w=>g=>gd(_,w,g),w=>g=>yd(kd,q(h),w,g)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const u=Fe(e,t,!1,ue(0,He(r)));return p=>h=>{const _=Go(q(u),p,h);return _.tag===0?new d(0,[Sd(_.fields[0])]):new d(1,[_.fields[0]])}}default:return Zo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>u=>cd(f,u);case"Microsoft.FSharp.Core.Unit":return f=>u=>ld(f,u);case"System.String":return f=>u=>Ri(f,u);case"System.Char":return f=>u=>ad(f,u);case"System.SByte":return Vo;case"System.Byte":return Po;case"System.Int16":return Do;case"System.UInt16":return Ro;case"System.Int32":return Uo;case"System.UInt32":return Ho;case"System.Double":return f=>u=>dd(f,u);case"System.Single":return f=>u=>fd(f,u);case"System.DateTime":return f=>u=>hd(f,u);case"System.DateTimeOffset":return f=>u=>md(f,u);case"System.TimeSpan":return f=>u=>pd(f,u);case"System.Guid":return f=>u=>ud(f,u);case"System.Object":return f=>u=>new d(0,[u]);default:return Zo(e,t,n,r)}else{const f=l;return u=>p=>f.contents(u)(p)}}function Ad(e){return Si({Compare:Cr})}function Hi(e,t,n){const r=Cn(t,new Lr(0,[]));return Fe(Ad(),r,!1,e)}class Ed extends X{constructor(t){super(),this.SmsfChoice=t}}function Nd(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceResponse",[],Ed,()=>[["SmsfChoice",zt(Md())]])}class Fd extends X{constructor(t,n,r,o,s,i,a,c,l){super(),this.Abn=t,this.FundName=n,this.FundAddress=r,this.Bsb=o,this.BankAccountName=s,this.BankAccountNumber=i,this.ElectronicServiceAddress=a,this.MemberFirstName=c,this.MemberFamilyName=l}}function Md(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceDto",[],Fd,()=>[["Abn",re],["FundName",re],["FundAddress",Bd()],["Bsb",re],["BankAccountName",re],["BankAccountNumber",re],["ElectronicServiceAddress",re],["MemberFirstName",zt(re)],["MemberFamilyName",zt(re)]])}class Td extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.State=o,this.Postcode=s}}function Bd(){return Kt("SuperSelection.UI.BackendService.AustralianFundAddressDto",[],Td,()=>[["AddressLine1",re],["AddressLine2",zt(re)],["City",re],["State",re],["Postcode",re]])}class $d extends X{constructor(t){super(),this.BankDetails=t}}function Id(){return Kt("SuperSelection.UI.BackendService.BsbLookupResponse",[],$d,()=>[["BankDetails",zt(Ld())]])}class Od extends X{constructor(t,n,r){super(),this.Bsb=t,this.Bank=n,this.Branch=r}}function Ld(){return Kt("SuperSelection.UI.BackendService.BankDetailsDto",[],Od,()=>[["Bsb",re],["Bank",re],["Branch",re]])}class Vd{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/super-selection/backend`}}function Pd(e,t){return new Vd(e,t)}function Dd(e){return ce.Delay(()=>{let t;return ce.Bind(Ni((t=Ai(new Ir(0,[]),Ci(`${e.baseUrl}/v1.0/super-choice/smsf`)),Ei(xi(`Bearer ${e.accessToken}`),t))),n=>{const r=n;return r.statusCode===200?ce.Return(Di(q(Hi(Nd(),new Lr(1,[]))),r.responseText)):ce.Return(new d(1,["Failed to retrieve SMSF choice"]))})})}function Rd(e,t){return ce.Delay(()=>{let n;return ce.Bind(Ni((n=Ai(new Ir(0,[]),Ci(`${e.baseUrl}/v1.0/bsb-lookup/${t}`)),Ei(xi(`Bearer ${e.accessToken}`),n))),r=>{const o=r;return o.statusCode===200?ce.Return(Di(q(Hi(Id(),new Lr(1,[]))),o.responseText)):ce.Return(new d(1,["Failed to lookup BSB"]))})})}const Ud={sender:"super-smsf",type:"smsf-loaded"},Hd={sender:"super-smsf",type:"smsf-cancelled"};class zd extends X{constructor(t,n,r,o,s,i,a,c,l,f,u,p,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=p,this.BankAccountNumber=h}}function jd(e){return{bankAccountNumber:e.BankAccountNumber,bankBsb:e.BankAccountBsb,fundAbn:e.FundAbn,fundAddressLine1:e.FundAddressLine1,fundAddressLine2:Qs(e.FundAddressLine2),fundCity:e.FundCity,fundEsa:e.FundEsa,fundName:e.FundName,fundPostcode:e.FundPostcode,fundState:e.FundState,memberFirstName:e.MemberFirstName,memberLastName:e.MemberLastName,sender:"super-smsf",type:"smsf-completed"}}class nr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loaded","Cancelled","Completed"]}}function rr(e){const t=e.tag===1?Hd:e.tag===2?jd(e.fields[0]):Ud;window.parent.postMessage(t,"*")}class Gd{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Wd(e,t){t.Subscribe(new Gd(e))}class qd{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return Jd(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const o=n===void 0?t:(r=t,n);this.delegates.forEach(s=>{s(r,o)})}}class Zd extends qd{}function Jd(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(o,s)=>n.OnNext(s);return e(r),{Dispose(){t(r)}}}}}class Kd{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new Zd}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function Yd(e,t){console.error(ke(e),t)}function Xd(e,t){let n,r=new Kd(e);r.AutoReset=!1,n=r,Wd(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Jo(e,t,n){gn(r=>{try{r(t)}catch(o){e(o)}},n)}function W(){return oe()}function Qd(e,t,n,r,o){return I(s=>{e(ce.Delay(()=>ce.Bind(ci(t(n)),i=>{const a=i;return s(a.tag===1?o(a.fields[0]):r(a.fields[0])),ce.Zero()})))})}function ef(e,t,n,r){return I(o=>{e(ce.Delay(()=>ce.Bind(ci(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),ce.Zero()})))})}function zi(e){Xd(1,t=>{Tl(e)})}function tf(){return oe()}function Pr(e){return H("/",e)}function nf(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Pr(t),n])}function ji(e,t,n){try{G(n)}catch(r){e(["Error stopping subscription: "+Pr(t),r])}}function rf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+Pr(n),o]);return}}function of(e,t){gn(n=>{ji(e,n[0],n[1])},t)}function Ko(e,t,n,r,o,s){return gn(i=>{nf(e,i)},n),gn(i=>{ji(e,i[0],i[1])},r),Tr(o,bl(i=>rf(e,t,i[0],i[1]),s))}function sf(){return[oe(),rd({Compare:Se}),oe()]}function af(e,t,n,r,o){return tr(e,r)?[ge(e,n),r,o]:[n,nd(e,r),ge([e,t],o)]}function uf(e){return dl((t,n)=>af(t[0],t[1],n[0],n[1],n[2]),e,sf())}const lf=oe();function Yo(e,t){const n=od(ai(i=>i[0],e),{Compare:Se}),r=uf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,oe(),e,oe()];{const i=gl(a=>tr(a[0],o),e);return[s,i[1],i[0],wl(a=>!tr(a[0],n),r[2])]}}function cf(e,t,n,r){const o=Se(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const s=o>0;return i=>{const a=Se(i,t)|0;return s&&a<=0||!s&&a>=0?[i,r(i,e)]:void 0}}function df(e,t,n,r,o){const s=cf(t,n,r,o);return R(()=>ql(s,e))}function ff(e,t,n){return df(e,t,n,0,(r,o)=>r+o)}class St extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class hf{constructor(t){this.state=new St(0,[Fr(new Array(bo(t,10)),0,bo(t,10),null),0])}}function mf(e){return new hf(e)}function Xo(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],s=(r+1)%o.length|0;return s===n?e.state=new St(0,[o,n]):e.state=new St(1,[o,n,s]),ke(ue(r,o))}else return}function pf(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,s=n.fields[0];ot(s,r,t);const i=(r+1)%s.length|0;i===o?e.state=new St(1,[_f(e,o,s),s.length,0]):e.state=new St(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];ot(o,r,t);const s=(r+1)%o.length|0;e.state=new St(1,[o,s,r])}}function _f(e,t,n){return Array.from(R(()=>xe(Ql(t,n),R(()=>xe(ec(t,n),R(()=>tc(r=>Y(We()),ff(0,1,n.length))))))))}class Dr extends X{constructor(t,n,r,o,s,i,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=a}}function Gi(e,t,n){return new Dr(e,t,r=>tf(),n,q(r=>{const o=M(n)(r);return s=>{o(s)}}),r=>{Yd(r[0],r[1])},[r=>!1,r=>{}])}function wf(e,t){return new Dr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function gf(e){return e.init}function bf(e,t,n,r,o,s,i){const a=M(e)(i.init),c=Ln(t)(M(i.update)),l=Ln(n)(M(i.view)),f=Ln(r)(M(i.setState));return new Dr(a,q(c),M(o)(i.subscribe),q(l),q(f),i.onError,s(i.termination))}function yf(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),a=n.termination,c=mf(10);let l=!1,f=s,u=lf,p=!1;const h=g=>{p||(pf(c,g),l||(l=!0,w(),l=!1))},_=M(e)(h),w=()=>{let g,m=Xo(c);for(;!p&&m!=null;){const v=y(m);if(a[0](v))of(n.onError,u),a[1](f),p=!0;else{const N=n.update(v,f),Z=N[0],ne=n.subscribe(Z);n.setState(Z,_),Jo(Ce=>{n.onError([Ut(At("Error handling the message: %A"))(v),Ce])},_,N[1]),f=Z,u=(g=Yo(u,ne),Ko(n.onError,_,g[0],g[1],g[2],g[3])),m=Xo(c)}}};l=!0,n.setState(s,_),Jo(g=>{n.onError([Ut(At("Error intitializing:")),g])},_,o[1]),u=(r=Yo(u,i),Ko(n.onError,_,r[0],r[1],r[2],r[3])),w(),l=!1}function vf(e,t){yf(q(n=>n),e,t)}function kf(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Wi={exports:{}},qi={};const Sf=kf(Za);/**
|
|
23
|
+
`))(u);return h=>p(h)}}else if(qu(r))if(ni(r)){const f=Fn(u=>Fe(e,t,!1,u),Xu(r));return u=>p=>Array.isArray(p)?Ze(h=>ol(Xt(h)),Ui(0,f,u,p)):new d(1,[[u,new k(0,["an array",p])]])}else switch(te(Zu(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=Fe(e,t,!0,ue(0,He(r))),u=>p=>_d(q(o),u,p);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=Fe(e,t,!1,ue(0,He(r))),u=>p=>jo(q(s),u,p);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=Fe(e,t,!1,ue(0,He(r))),u=>p=>wd(q(i),u,p);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const u=Fe(e,t,!1,ue(0,He(r))),p=Fe(e,t,!1,ue(1,He(r)));let h;const _=C([g=>w=>Cd(q(u),q(p),g,w),(a=vd(q(u),q(p)),g=>w=>jo(q(a),g,w))]);return h=g=>w=>gd(_,g,w),g=>w=>yd(kd,q(h),g,w)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const u=Fe(e,t,!1,ue(0,He(r)));return p=>h=>{const _=Go(q(u),p,h);return _.tag===0?new d(0,[Sd(_.fields[0])]):new d(1,[_.fields[0]])}}default:return Zo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>u=>cd(f,u);case"Microsoft.FSharp.Core.Unit":return f=>u=>ld(f,u);case"System.String":return f=>u=>Ri(f,u);case"System.Char":return f=>u=>ad(f,u);case"System.SByte":return Vo;case"System.Byte":return Po;case"System.Int16":return Do;case"System.UInt16":return Ro;case"System.Int32":return Uo;case"System.UInt32":return Ho;case"System.Double":return f=>u=>dd(f,u);case"System.Single":return f=>u=>fd(f,u);case"System.DateTime":return f=>u=>hd(f,u);case"System.DateTimeOffset":return f=>u=>md(f,u);case"System.TimeSpan":return f=>u=>pd(f,u);case"System.Guid":return f=>u=>ud(f,u);case"System.Object":return f=>u=>new d(0,[u]);default:return Zo(e,t,n,r)}else{const f=l;return u=>p=>f.contents(u)(p)}}function Ad(e){return Si({Compare:Cr})}function Hi(e,t,n){const r=En(t,new Lr(0,[]));return Fe(Ad(),r,!1,e)}class Ed extends X{constructor(t){super(),this.SmsfChoice=t}}function Nd(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceResponse",[],Ed,()=>[["SmsfChoice",zt(Md())]])}class Fd extends X{constructor(t,n,r,o,s,i,a,c,l){super(),this.Abn=t,this.FundName=n,this.FundAddress=r,this.Bsb=o,this.BankAccountName=s,this.BankAccountNumber=i,this.ElectronicServiceAddress=a,this.MemberFirstName=c,this.MemberFamilyName=l}}function Md(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceDto",[],Fd,()=>[["Abn",re],["FundName",re],["FundAddress",Bd()],["Bsb",re],["BankAccountName",re],["BankAccountNumber",re],["ElectronicServiceAddress",re],["MemberFirstName",zt(re)],["MemberFamilyName",zt(re)]])}class Td extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.State=o,this.Postcode=s}}function Bd(){return Kt("SuperSelection.UI.BackendService.AustralianFundAddressDto",[],Td,()=>[["AddressLine1",re],["AddressLine2",zt(re)],["City",re],["State",re],["Postcode",re]])}class $d extends X{constructor(t){super(),this.BankDetails=t}}function Id(){return Kt("SuperSelection.UI.BackendService.BsbLookupResponse",[],$d,()=>[["BankDetails",zt(Ld())]])}class Od extends X{constructor(t,n,r){super(),this.Bsb=t,this.Bank=n,this.Branch=r}}function Ld(){return Kt("SuperSelection.UI.BackendService.BankDetailsDto",[],Od,()=>[["Bsb",re],["Bank",re],["Branch",re]])}class Vd{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/super-selection/backend`}}function Pd(e,t){return new Vd(e,t)}function Dd(e){return ce.Delay(()=>{let t;return ce.Bind(Ni((t=Ai(new Ir(0,[]),Ci(`${e.baseUrl}/v1.0/super-choice/smsf`)),Ei(xi(`Bearer ${e.accessToken}`),t))),n=>{const r=n;return r.statusCode===200?ce.Return(Di(q(Hi(Nd(),new Lr(1,[]))),r.responseText)):ce.Return(new d(1,["Failed to retrieve SMSF choice"]))})})}function Rd(e,t){return ce.Delay(()=>{let n;return ce.Bind(Ni((n=Ai(new Ir(0,[]),Ci(`${e.baseUrl}/v1.0/bsb-lookup/${t}`)),Ei(xi(`Bearer ${e.accessToken}`),n))),r=>{const o=r;return o.statusCode===200?ce.Return(Di(q(Hi(Id(),new Lr(1,[]))),o.responseText)):ce.Return(new d(1,["Failed to lookup BSB"]))})})}const Ud={sender:"super-smsf",type:"smsf-loaded"},Hd={sender:"super-smsf",type:"smsf-cancelled"};class zd extends X{constructor(t,n,r,o,s,i,a,c,l,f,u,p,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=p,this.BankAccountNumber=h}}function jd(e){return{bankAccountNumber:e.BankAccountNumber,bankBsb:e.BankAccountBsb,fundAbn:e.FundAbn,fundAddressLine1:e.FundAddressLine1,fundAddressLine2:Qs(e.FundAddressLine2),fundCity:e.FundCity,fundEsa:e.FundEsa,fundName:e.FundName,fundPostcode:e.FundPostcode,fundState:e.FundState,memberFirstName:e.MemberFirstName,memberLastName:e.MemberLastName,sender:"super-smsf",type:"smsf-completed"}}class vn extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loaded","Cancelled","Completed"]}}function kn(e){const t=e.tag===1?Hd:e.tag===2?jd(e.fields[0]):Ud;window.parent.postMessage(t,"*")}class Gd{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Wd(e,t){t.Subscribe(new Gd(e))}class qd{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return Jd(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const o=n===void 0?t:(r=t,n);this.delegates.forEach(s=>{s(r,o)})}}class Zd extends qd{}function Jd(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(o,s)=>n.OnNext(s);return e(r),{Dispose(){t(r)}}}}}class Kd{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new Zd}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function Yd(e,t){console.error(ke(e),t)}function Xd(e,t){let n,r=new Kd(e);r.AutoReset=!1,n=r,Wd(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Jo(e,t,n){gn(r=>{try{r(t)}catch(o){e(o)}},n)}function j(){return oe()}function Qd(e,t,n,r,o){return I(s=>{e(ce.Delay(()=>ce.Bind(ci(t(n)),i=>{const a=i;return s(a.tag===1?o(a.fields[0]):r(a.fields[0])),ce.Zero()})))})}function ef(e,t,n,r){return I(o=>{e(ce.Delay(()=>ce.Bind(ci(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),ce.Zero()})))})}function zi(e){Xd(1,t=>{Tl(e)})}function tf(){return oe()}function Pr(e){return H("/",e)}function nf(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Pr(t),n])}function ji(e,t,n){try{W(n)}catch(r){e(["Error stopping subscription: "+Pr(t),r])}}function rf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+Pr(n),o]);return}}function of(e,t){gn(n=>{ji(e,n[0],n[1])},t)}function Ko(e,t,n,r,o,s){return gn(i=>{nf(e,i)},n),gn(i=>{ji(e,i[0],i[1])},r),Tr(o,bl(i=>rf(e,t,i[0],i[1]),s))}function sf(){return[oe(),rd({Compare:Se}),oe()]}function af(e,t,n,r,o){return rr(e,r)?[ge(e,n),r,o]:[n,nd(e,r),ge([e,t],o)]}function uf(e){return dl((t,n)=>af(t[0],t[1],n[0],n[1],n[2]),e,sf())}const lf=oe();function Yo(e,t){const n=od(ai(i=>i[0],e),{Compare:Se}),r=uf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,oe(),e,oe()];{const i=gl(a=>rr(a[0],o),e);return[s,i[1],i[0],wl(a=>!rr(a[0],n),r[2])]}}function cf(e,t,n,r){const o=Se(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const s=o>0;return i=>{const a=Se(i,t)|0;return s&&a<=0||!s&&a>=0?[i,r(i,e)]:void 0}}function df(e,t,n,r,o){const s=cf(t,n,r,o);return R(()=>ql(s,e))}function ff(e,t,n){return df(e,t,n,0,(r,o)=>r+o)}class St extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class hf{constructor(t){this.state=new St(0,[Fr(new Array(bo(t,10)),0,bo(t,10),null),0])}}function mf(e){return new hf(e)}function Xo(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],s=(r+1)%o.length|0;return s===n?e.state=new St(0,[o,n]):e.state=new St(1,[o,n,s]),ke(ue(r,o))}else return}function pf(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,s=n.fields[0];ot(s,r,t);const i=(r+1)%s.length|0;i===o?e.state=new St(1,[_f(e,o,s),s.length,0]):e.state=new St(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];ot(o,r,t);const s=(r+1)%o.length|0;e.state=new St(1,[o,s,r])}}function _f(e,t,n){return Array.from(R(()=>xe(Ql(t,n),R(()=>xe(ec(t,n),R(()=>tc(r=>Y(We()),ff(0,1,n.length))))))))}class Dr extends X{constructor(t,n,r,o,s,i,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=a}}function Gi(e,t,n){return new Dr(e,t,r=>tf(),n,q(r=>{const o=M(n)(r);return s=>{o(s)}}),r=>{Yd(r[0],r[1])},[r=>!1,r=>{}])}function wf(e,t){return new Dr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function gf(e){return e.init}function bf(e,t,n,r,o,s,i){const a=M(e)(i.init),c=Pn(t)(M(i.update)),l=Pn(n)(M(i.view)),f=Pn(r)(M(i.setState));return new Dr(a,q(c),M(o)(i.subscribe),q(l),q(f),i.onError,s(i.termination))}function yf(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),a=n.termination,c=mf(10);let l=!1,f=s,u=lf,p=!1;const h=w=>{p||(pf(c,w),l||(l=!0,g(),l=!1))},_=M(e)(h),g=()=>{let w,y=Xo(c);for(;!p&&y!=null;){const m=v(y);if(a[0](m))of(n.onError,u),a[1](f),p=!0;else{const A=n.update(m,f),Z=A[0],ne=n.subscribe(Z);n.setState(Z,_),Jo(Ce=>{n.onError([Ut(At("Error handling the message: %A"))(m),Ce])},_,A[1]),f=Z,u=(w=Yo(u,ne),Ko(n.onError,_,w[0],w[1],w[2],w[3])),y=Xo(c)}}};l=!0,n.setState(s,_),Jo(w=>{n.onError([Ut(At("Error intitializing:")),w])},_,o[1]),u=(r=Yo(u,i),Ko(n.onError,_,r[0],r[1],r[2],r[3])),g(),l=!1}function vf(e,t){yf(q(n=>n),e,t)}function kf(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Wi={exports:{}},qi={};const Sf=kf(Za);/**
|
|
24
24
|
* @license React
|
|
25
25
|
* use-sync-external-store-shim.production.min.js
|
|
26
26
|
*
|
|
@@ -28,4 +28,4 @@ If you can't use one of these types, please pass an extra decoder.
|
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the MIT license found in the
|
|
30
30
|
* LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/var Mt=Sf;function xf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Cf=typeof Object.is=="function"?Object.is:xf,Af=Mt.useState,Ef=Mt.useEffect,Nf=Mt.useLayoutEffect,Ff=Mt.useDebugValue;function Mf(e,t){var n=t(),r=Af({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return Nf(function(){o.value=n,o.getSnapshot=t,Un(o)&&s({inst:o})},[e,n,t]),Ef(function(){return Un(o)&&s({inst:o}),e(function(){Un(o)&&s({inst:o})})},[e]),Ff(n),n}function Un(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Cf(e,n)}catch{return!0}}function Tf(e,t){return t()}var Bf=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Tf:Mf;qi.useSyncExternalStore=Mt.useSyncExternalStore!==void 0?Mt.useSyncExternalStore:Bf;Wi.exports=qi;var $f=Wi.exports;class If{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];this.finalDispatch=void 0;let i;const a=gf(o)(this.arg);let c=a[0],l=a[1];i=[[c,f=>{const u=this.finalDispatch;u==null?s.push(f):u(f)},!1,s],l],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let u=!1;const p=Zn(this.state[0]);return vf(this.arg,wf((h,_)=>{const w=this.state;this.finalDispatch=_,this.state=[h,w[1],!0,s],h!==w[0]&&f()},bf((h,_)=>{const w=this.cmd;return this.cmd=W(),[this.state[0],w]},(h,_,w)=>h(_)(this.state[0]),Kn(h=>h),Kn(h=>h),q(h=>h),h=>[_=>h[0](_)?!0:p&&u,_=>{const w=_;Zn(w)?G(w):h[1](_)}],o))),()=>{u=!0}}}}function Qo(e,t,n){return new If(e,t,n)}function Of(e){return e.state}function Lf(e){return e.subscribe}function Vf(e,t,n){return Te(e.arg,t)?!Te(e.dependencies,n):!0}function Zi(e,t,n){const r=Tt(()=>Qo(e,t,n)),o=r[0];Vf(o,t,n)&&r[1](Qo(e,t,n));const s=$f.useSyncExternalStore(Lf(o),()=>Of(o)),i=s[2],a=s[3],c=s[1];return Gt(()=>{if(i&&a.length>0){let l=K(a);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const f=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{G(l)}uu(a)}},[i,a]),[s[0],c]}class or extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Rr extends X{constructor(t,n,r,o){super(),this.Value=t,this.IsTouched=n,this.Validator=r,this.ErrorMessage=o}}class pe extends X{constructor(t,n,r){super(),this.Field=t,this.OnBlur=n,this.OnChange=r}}function ye(e,t){return new Rr(Cn(t,""),!1,e,void 0)}function Ji(e,t){let n;return new Rr(t,e.IsTouched,e.Validator,(n=e.Validator(e.Value),n.tag===1&&e.IsTouched?n.fields[0]:void 0))}function se(e){let t;return new Rr(e.Value,!0,e.Validator,(t=e.Validator(e.Value),t.tag===1?t.fields[0]:void 0))}function Oe(e,t){return Xs(t)?new d(1,[`${e} is required`]):new d(0,[t])}function Re(e,t,n){return n.length>=t?new d(0,[n]):new d(1,[`${e} requires a minimum length of ${t} characters`])}function Ur(e,t,n){return n.length<=t?new d(0,[n]):new d(1,[`${e} exceeds maximum length of ${t} characters`])}function Hr(e){return e.trim()}function Ki(e){return Er(e,"\\s+","")}function Yi(e,t,n){return Ou(qs(t),n)?new d(0,[n]):new d(1,[`${e} is invalid`])}function Pf(e){return Er(e,"[^0-9]","")}class Df extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundName"]}}function Xi(e){let t;const n=Oe("Fund name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Fund name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Df(t.fields[0])])}function Qi(e){return ye(Xi,e)}function Rf(e){return e.fields[0]}class Uf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundAbn"]}}function ea(e){const t=De(Le(o=>~~o.charCodeAt(0)-48,e.split(""))),n=C([10,1,3,5,7,9,11,13,15,17,19]),r=ui(o=>o>=0?o<=9:!1,t)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN (digits only)"]);if(r.tag===1)return new d(1,[r.fields[0]]);{const o=yo(t)===yo(n)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);if(o.tag===1)return new d(1,[o.fields[0]]);{const s=hl((i,a,c)=>i+a*c,0,pl((i,a)=>i===0?a-1|0:a|0,t),n)%89===0?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);return s.tag===1?new d(1,[s.fields[0]]):new d(0,[new Uf(e)])}}}function ta(e){return ye(ea,e)}function Hf(e){return e.fields[0]}class zf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundEsa"]}}function na(e){let t;const n=Oe("Fund ESA",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Fund ESA",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new zf(t.fields[0])])}function ra(e){return ye(na,e)}function jf(e){return e.fields[0]}class Gf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine1"]}}function oa(e){let t;const n=Oe("Address Line 1",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("Address Line 1",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Gf(t.fields[0])])}function sa(e){return ye(oa,e)}function Wf(e){return e.fields[0]}class qf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine2"]}}function ia(e){if(Xs(e))return new d(0,[void 0]);{const t=Re("Address Line 1",2,e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new qf(t.fields[0])])}}function aa(e){return ye(ia,e)}function Zf(e){if(e!=null)return e.fields[0]}class Jf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["City"]}}function ua(e){const t=Oe("City",e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Jf(t.fields[0])])}function la(e){return ye(ua,e)}function Kf(e){return e.fields[0]}class Qe extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]}}function ca(e){const t=Oe("State",e);if(t.tag===1)return new d(1,[t.fields[0]]);switch(t.fields[0]){case"NSW":return new d(0,[new Qe(0,[])]);case"QLD":return new d(0,[new Qe(1,[])]);case"ACT":return new d(0,[new Qe(2,[])]);case"VIC":return new d(0,[new Qe(3,[])]);case"TAS":return new d(0,[new Qe(4,[])]);case"WA":return new d(0,[new Qe(5,[])]);case"SA":return new d(0,[new Qe(6,[])]);case"NT":return new d(0,[new Qe(7,[])]);default:return new d(1,["Select a state'"])}}function da(e){return ye(ca,e)}function Yf(e){switch(e.tag){case 1:return"QLD";case 2:return"ACT";case 3:return"VIC";case 4:return"TAS";case 5:return"WA";case 6:return"SA";case 7:return"NT";default:return"NSW"}}class Xf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Postcode"]}}function fa(e){let t,n;const r=Oe("Postcode",e);return n=r.tag===1?new d(1,[r.fields[0]]):Re("Postcode",4,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Ur("Postcode",4,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Xf(t.fields[0])])}function ha(e){return ye(fa,e)}function Qf(e){return e.fields[0]}class eh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberFirstName"]}}function ma(e){let t;const n=Oe("First Name",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("First Name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new eh(t.fields[0])])}function pa(e){return ye(ma,e)}function th(e){return e.fields[0]}class nh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberLastName"]}}function _a(e){let t;const n=Oe("Last Name",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("Last Name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new nh(t.fields[0])])}function wa(e){return ye(_a,e)}function rh(e){return e.fields[0]}class oh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountName"]}}function ga(e){let t;const n=Oe("Account name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Account name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new oh(t.fields[0])])}function ba(e){return ye(ga,e)}function sh(e){return e.fields[0]}class ih extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountBsb"]}}function ya(e){let t,n,r;const o=Oe("BSB",Ki(e));return r=o.tag===1?new d(1,[o.fields[0]]):Re("BSB",6,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):Ur("BSB",6,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Yi("BSB","^\\d{6}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new ih(t.fields[0])])}function va(e){return ye(ya,e)}function ah(e){return e.fields[0]}class uh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountNumber"]}}function ka(e){let t,n,r;const o=Oe("Account Number",Ki(e));return r=o.tag===1?new d(1,[o.fields[0]]):Re("Account Number",2,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):Ur("Account Number",11,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Yi("Account Number","^\\d{2,11}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new uh(t.fields[0])])}function Sa(e){return ye(ka,e)}function lh(e){return e.fields[0]}class ch extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}function zr(e){const t=e.target,n=Pf(t.value);return t.value=n,n}const dh=b("svg",E(C([["fill","#facc15"],["className","h-5 w-5"],["viewBox","0 0 20 20"],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=I(b("path",E(C([["fill-rule","evenodd"],(e="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",["d",e]),["clipRule","evenodd"]]))));return["children",x.Children.toArray(Array.from(t))]})()]))),fh=b("div",E(C([["className","bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3"],(()=>{let e;const t=[b("div",E(C([["className","flex"],(e=[b("div",{className:"flex-shrink-0",children:x.Children.toArray([dh])}),b("div",{className:"ml-3 text-sm text-yellow-700 leading-5",children:"Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."})],["children",x.Children.toArray(Array.from(e))])])))];return["children",x.Children.toArray(Array.from(t))]})()])));function Ke(e){if(e==null)return We();{const t=e;return b("div",{className:H(" ",["mt-2 text-sm text-red-600"]),children:t})}}function Qt(e){return De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>e?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))}function hh(e){let t,n;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundName",children:"Fund name"}),b("div",E(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),name:"fundName",id:"fundName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function mh(e){let t,n;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundAbn",children:"Fund ABN"}),b("div",E(C([["className","mt-1"],(n=[b("input",{id:"fundAbn",name:"fundAbn",type:"text",inputmode:"numeric",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onKeyUp:r=>{e.OnChange(zr(r))},onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function ph(e){let t,n;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundEsa",children:"Electronic service address alias (ESA)"}),b("div",E(C([["className","mt-1"],(n=[b("input",{id:"fundEsa",name:"fundEsa",type:"text",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function _h(e,t){return b("input",{placeholder:"Address line 1",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-t-md shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),required:!0,minLength:2,name:"addressLine1",id:"addressLine1",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function wh(e,t){return b("input",{placeholder:"Address line 2 (optional)",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),name:"addressLine2",id:"addressLine2",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function gh(e,t){return b("input",{placeholder:"City/suburb",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),name:"city",required:!0,id:"city",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function bh(e,t){let n;return b("div",E(C([["className","flex-1 min-w-0"],(n=[b("input",{placeholder:"Postcode",type:"text",required:!0,className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-bl-md shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),name:"postcode",minLength:4,maxLength:4,pattern:"[0-9]{4}",inputmode:"numeric",id:"postcode",value:t.Field.Value,onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}})],["children",x.Children.toArray(Array.from(n))])])))}function yh(e,t){let n;const r=b("option",{disabled:!0,value:"",children:"State",selected:t.Field.Value===""}),o=ai(s=>b("option",{value:s,children:s,selected:t.Field.Value===s}),C(["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]));return b("div",E(C([["className","w-1/2 flex-1 min-w-0"],(n=[b("select",{className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-br-md shadow-none text-gray-500"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),id:"state",name:"state",required:!0,children:x.Children.toArray(Array.from(ge(r,o))),onBlur:t.OnBlur,onChange:s=>{t.OnChange(s.target.value)}})],["children",x.Children.toArray(Array.from(n))])])))}function vh(e){let t,n,r,o;const s=a=>a.IsTouched;o=ui(a=>a,C([s(e.AddressLine1.Field),s(e.City.Field),s(e.AddressState.Field),s(e.Postcode.Field)]));const i=_l(a=>a,C([e.AddressLine1.Field.ErrorMessage,e.City.Field.ErrorMessage,e.AddressState.Field.ErrorMessage,e.Postcode.Field.ErrorMessage]));return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",children:"Fund address"}),b("div",E(C([["className","mt-1 rounded-md shadow-sm -space-y-px"],(n=[_h(o,e.AddressLine1),wh(o,e.AddressLine2),gh(o,e.City),b("div",E(C([["className","flex -space-x-px"],(r=[bh(o,e.Postcode),yh(o,e.AddressState)],["children",x.Children.toArray(Array.from(r))])])))],["children",x.Children.toArray(Array.from(n))])]))),Ke(o?i:void 0)],["children",x.Children.toArray(Array.from(t))])])))}function kh(e){let t,n;return b("div",E(C([["className","mt-3 w-1/2"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"memberGivenNames",children:"Given name(s)"}),b("div",E(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),name:"memberGivenNames",id:"memberGivenNames",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Sh(e){let t,n;return b("div",E(C([["className","mt-3 w-1/2"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"memberLastNames",children:"Last name"}),b("div",E(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),name:"memberLastName",id:"memberLastName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function xh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountName",children:"Account name"}),b("div",E(C([["className","mt-1"],(n=[b("input",{id:"bankAccountName",name:"bankAccountName",type:"text",value:e.Field.Value,className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Ch(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountBsb",children:"BSB"}),b("div",E(C([["className","mt-1"],(n=[b("input",{id:"bankAccountBsb",name:"bankAccountBsb",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onKeyUp:o=>{e.OnChange(zr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Ah(e){let t;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",children:"Bank name"}),b("div",{className:"mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-sm",children:e})],["children",x.Children.toArray(Array.from(t))])])))}function Eh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",E(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountNumber",children:"Account number"}),b("div",E(C([["className","mt-1"],(n=[b("input",{id:"bankAccountNumber",name:"bankAccountNumber",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onKeyUp:o=>{e.OnChange(zr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}const Nh=b("div",E(C([["className","mb-4"],(()=>{let e;const t=[b("div",E(I((e=[b("button",{type:"submit",className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium","rounded-md shadow-sm pointer-events-auto border-transparent text-white bg-primary-base w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-primary-hover"]),"data-testid":"continue-button",disabled:!1,children:"Continue"})],["children",x.Children.toArray(Array.from(e))]))))];return["children",x.Children.toArray(Array.from(t))]})()]))),Fh=b("div",E(I((()=>{let e,t;const n=[b("a",E(C([["href","/"],(e=[b("div",E(I((t=[b("button",{className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium rounded-md shadow-sm pointer-events-auto border-gray-300 text-gray-700 bg-white w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-gray-50"]),"data-testid":"back-button",children:"Back"})],["children",x.Children.toArray(Array.from(t))]))))],["children",x.Children.toArray(Array.from(e))])])))];return["children",x.Children.toArray(Array.from(n))]})())));class es extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetValue","SetTouched"]}}let B=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFundName","UpdateFundAbn","UpdateFundEsa","UpdateAddressLine1","UpdateAddressLine2","UpdateCity","UpdateAddressState","UpdatePostcode","UpdateMemberFirstName","UpdateMemberLastName","UpdateBankAccountName","UpdateBankAccountBsb","UpdateBankAccountNumber","BsbLookup","Submit"]}};class Mh extends X{constructor(t,n,r,o,s,i,a,c,l,f,u,p,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=p,this.BankAccountNumber=h}}let Q=class extends X{constructor(t,n,r,o,s,i,a,c,l,f){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddress=o,this.MemberFirstName=s,this.MemberLastName=i,this.BankAccountName=a,this.BankAccountBsb=c,this.BankAccountNumber=l,this.BankName=f}};class et extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}const Th=new Q(Qi(void 0),ta(void 0),ra(void 0),new et(sa(void 0),aa(void 0),la(void 0),da(void 0),ha(void 0)),pa(void 0),wa(void 0),ba(void 0),va(void 0),Sa(void 0),void 0);function Bh(e){return new Q(Qi(e.FundName),ta(e.Abn),ra(e.ElectronicServiceAddress),new et(sa(e.FundAddress.AddressLine1),aa(e.FundAddress.AddressLine2),la(e.FundAddress.City),da(e.FundAddress.State),ha(e.FundAddress.Postcode)),pa(e.MemberFirstName),wa(e.MemberFamilyName),ba(e.BankAccountName),va(e.Bsb),Sa(e.BankAccountNumber),void 0)}function $h(e){let t;return[Cn((t=e,t==null?void 0:Bh(t)),Th),e!=null?I(n=>{n(new B(13,[new or(0,[])]))}):W()]}function Ih(e){let t;const n=Xi(e.FundName.Value);if(t=n.tag===1?new d(1,[I(n.fields[0])]):new d(0,[n.fields[0]]),t.tag===1)return new d(1,[t.fields[0]]);{let r;const o=ea(e.FundAbn.Value);if(r=o.tag===1?new d(1,[I(o.fields[0])]):new d(0,[o.fields[0]]),r.tag===1)return new d(1,[r.fields[0]]);{let s;const i=na(e.FundEsa.Value);if(s=i.tag===1?new d(1,[I(i.fields[0])]):new d(0,[i.fields[0]]),s.tag===1)return new d(1,[s.fields[0]]);{let a;const c=oa(e.FundAddress.AddressLine1.Value);if(a=c.tag===1?new d(1,[I(c.fields[0])]):new d(0,[c.fields[0]]),a.tag===1)return new d(1,[a.fields[0]]);{let l;const f=ia(e.FundAddress.AddressLine2.Value);if(l=f.tag===1?new d(1,[I(f.fields[0])]):new d(0,[f.fields[0]]),l.tag===1)return new d(1,[l.fields[0]]);{let u;const p=ua(e.FundAddress.City.Value);if(u=p.tag===1?new d(1,[I(p.fields[0])]):new d(0,[p.fields[0]]),u.tag===1)return new d(1,[u.fields[0]]);{let h;const _=ca(e.FundAddress.AddressState.Value);if(h=_.tag===1?new d(1,[I(_.fields[0])]):new d(0,[_.fields[0]]),h.tag===1)return new d(1,[h.fields[0]]);{let w;const g=fa(e.FundAddress.Postcode.Value);if(w=g.tag===1?new d(1,[I(g.fields[0])]):new d(0,[g.fields[0]]),w.tag===1)return new d(1,[w.fields[0]]);{let m;const v=ma(e.MemberFirstName.Value);if(m=v.tag===1?new d(1,[I(v.fields[0])]):new d(0,[v.fields[0]]),m.tag===1)return new d(1,[m.fields[0]]);{let N;const Z=_a(e.MemberLastName.Value);if(N=Z.tag===1?new d(1,[I(Z.fields[0])]):new d(0,[Z.fields[0]]),N.tag===1)return new d(1,[N.fields[0]]);{let ne;const Ce=ga(e.BankAccountName.Value);if(ne=Ce.tag===1?new d(1,[I(Ce.fields[0])]):new d(0,[Ce.fields[0]]),ne.tag===1)return new d(1,[ne.fields[0]]);{let it;const Ye=ya(e.BankAccountBsb.Value);if(it=Ye.tag===1?new d(1,[I(Ye.fields[0])]):new d(0,[Ye.fields[0]]),it.tag===1)return new d(1,[it.fields[0]]);{let Xe;const de=ka(e.BankAccountNumber.Value);return Xe=de.tag===1?new d(1,[I(de.fields[0])]):new d(0,[de.fields[0]]),Xe.tag===1?new d(1,[Xe.fields[0]]):new d(0,[new Mh(t.fields[0],r.fields[0],s.fields[0],a.fields[0],l.fields[0],u.fields[0],h.fields[0],w.fields[0],m.fields[0],N.fields[0],ne.fields[0],it.fields[0],Xe.fields[0])])}}}}}}}}}}}}}function Oh(e){return new Q(se(e.FundName),se(e.FundAbn),se(e.FundEsa),new et(se(e.FundAddress.AddressLine1),se(e.FundAddress.AddressLine2),se(e.FundAddress.City),se(e.FundAddress.AddressState),se(e.FundAddress.Postcode)),se(e.MemberFirstName),se(e.MemberLastName),se(e.BankAccountName),se(e.BankAccountBsb),se(e.BankAccountNumber),e.BankName)}function ve(e,t,n){return n(e.tag===1?se(t):Ji(t,e.fields[0]))}function Lh(e,t,n){let r,o;switch(t.tag){case 1:return[ve(t.fields[0],n.FundAbn,s=>new Q(n.FundName,s,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()];case 2:return[ve(t.fields[0],n.FundEsa,s=>new Q(n.FundName,n.FundAbn,s,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()];case 3:return[ve(t.fields[0],n.FundAddress.AddressLine1,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(s,i.AddressLine2,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),W()];case 4:return[ve(t.fields[0],n.FundAddress.AddressLine2,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,s,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),W()];case 5:return[ve(t.fields[0],n.FundAddress.City,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,s,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),W()];case 6:return[ve(t.fields[0],n.FundAddress.AddressState,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,s,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),W()];case 7:return[ve(t.fields[0],n.FundAddress.Postcode,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,i.AddressState,s)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),W()];case 8:return[ve(t.fields[0],n.MemberFirstName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,s,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()];case 9:return[ve(t.fields[0],n.MemberLastName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,s,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()];case 10:return[ve(t.fields[0],n.BankAccountName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,s,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()];case 11:if(t.fields[0].tag===1)return[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,se(n.BankAccountBsb),n.BankAccountNumber,n.BankName),W()];{const s=t.fields[0].fields[0],i=Cc(n.BankAccountBsb.Validator(s))!=null,a=i?n.BankName:void 0,c=i?I(l=>{l(new B(13,[new or(0,[])]))}):W();return[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,Ji(n.BankAccountBsb,s),n.BankAccountNumber,a),c]}case 12:return[ve(t.fields[0],n.BankAccountNumber,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,s,n.BankName)),W()];case 13:return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[n,W()]:[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,(r=t.fields[0].fields[0].fields[0].BankDetails,r==null?void 0:(o=r,`${o.Bank} - ${o.Branch}`))),W()]:[n,ef(s=>{zi(s)},s=>Rd(e,s),n.BankAccountBsb.Value,s=>new B(13,[new or(1,[s])]))];case 14:{const s=Ih(n);if(s.tag===1)return[Oh(n),W()];{const i=s.fields[0];return rr(new nr(2,[new zd(Rf(i.FundName),Hf(i.FundAbn),jf(i.FundEsa),Wf(i.FundAddressLine1),Zf(i.FundAddressLine2),Kf(i.FundCity),Yf(i.FundState),Qf(i.FundPostcode),th(i.MemberFirstName),rh(i.MemberLastName),sh(i.BankAccountName),ah(i.BankAccountBsb),lh(i.BankAccountNumber))])),[n,W()]}}default:return[ve(t.fields[0],n.FundName,s=>new Q(s,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),W()]}}function Vh(e){let t,n,r,o,s,i,a;const c=e.smsfChoice,l=e.backendService;let f;const u=$h(c);f=Zi(()=>Gi(()=>u,(m,v)=>Lh(l,m,v),(m,v)=>{}),void 0,void 0);const p=f[0],h=f[1],_=(m,v)=>{h(m(new es(1,[])))},w=(m,v)=>{h(m(new es(0,[v])))},g=I(b("form",E(C([["id","form"],["novalidate",""],["onSubmit",m=>{m.preventDefault(),h(new B(14,[]))}],(t=[b("div",E(C([["className","p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg max-w-560"],(n=[b("p",{className:"sm:text-lg font-bold",children:"Fund details"}),fh,b("div",E(I((r=[(o=C([hh(new pe(p.FundName,M(_)(m=>new B(0,[m])),M(w)(m=>new B(0,[m])))),mh(new pe(p.FundAbn,M(_)(m=>new B(1,[m])),M(w)(m=>new B(1,[m])))),ph(new pe(p.FundEsa,M(_)(m=>new B(2,[m])),M(w)(m=>new B(2,[m])))),vh(new ch(new pe(p.FundAddress.AddressLine1,M(_)(m=>new B(3,[m])),M(w)(m=>new B(3,[m]))),new pe(p.FundAddress.AddressLine2,M(_)(m=>new B(4,[m])),M(w)(m=>new B(4,[m]))),new pe(p.FundAddress.City,M(_)(m=>new B(5,[m])),M(w)(m=>new B(5,[m]))),new pe(p.FundAddress.AddressState,M(_)(m=>new B(6,[m])),M(w)(m=>new B(6,[m]))),new pe(p.FundAddress.Postcode,M(_)(m=>new B(7,[m])),M(w)(m=>new B(7,[m]))))),b("div",E(C([["className","flex space-x-4"],(s=[kh(new pe(p.MemberFirstName,M(_)(m=>new B(8,[m])),M(w)(m=>new B(8,[m])))),Sh(new pe(p.MemberLastName,M(_)(m=>new B(9,[m])),M(w)(m=>new B(9,[m]))))],["children",x.Children.toArray(Array.from(s))])]))),b("h3",{className:"text-lg font-bold mt-6",children:"Fund bank details"}),xh(new pe(p.BankAccountName,M(_)(m=>new B(10,[m])),M(w)(m=>new B(10,[m])))),Ch(new pe(p.BankAccountBsb,M(_)(m=>new B(11,[m])),M(w)(m=>new B(11,[m])))),Cn((i=p.BankName,i==null?void 0:Ah(i)),We()),Eh(new pe(p.BankAccountNumber,M(_)(m=>new B(12,[m])),M(w)(m=>new B(12,[m]))))]),b("div",{children:x.Children.toArray(Array.from(o))}))],["children",x.Children.toArray(Array.from(r))]))))],["children",x.Children.toArray(Array.from(n))])]))),b("div",E(C([["className","flex justify-center mt-8"],(a=[b("div",{className:"sm:max-w-320 w-full",children:x.Children.toArray([Nh,Fh])})],["children",x.Children.toArray(Array.from(a))])])))],["children",x.Children.toArray(Array.from(t))])]))));return b("div",{children:x.Children.toArray(Array.from(g))})}function $n(e,t){let n;return b("div",E(C([["className",H(" ",["animate-pulse w-full relative",e,t])],(n=[b("div",{className:H(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",x.Children.toArray(Array.from(n))])])))}const Ph=$n("h-9","max-w-96"),ts=$n("h-6","max-w-96"),Dh=$n("h-80","max-w-96"),Rh=$n("h-10","max-w-48"),Uh=(()=>{let e,t,n;const r=[b("div",E(C([(e="w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex",["className",e]),(t=[b("div",E(C([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(n=[Ph,b("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:x.Children.toArray([ts,ts])})],["children",x.Children.toArray(Array.from(n))])]))),Dh,Rh],["children",x.Children.toArray(Array.from(t))])])))];return b(Be,{},...r)})();function jr(){return(jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Hh=["context","children"];function zh(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,a={},c=Object.keys(r);for(i=0;i<c.length;i++)o.indexOf(s=c[i])>=0||(a[s]=r[s]);return a}(e,Hh);return cr(t,n)}function jh(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=b(zh,jr({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],s={},i=0,a=n.attributes,c=n.childNodes;for(i=a.length;i--;)a[i].name!=="slot"&&(s[a[i].name]=a[i].value,s[xa(a[i].name)]=a[i].value);for(i=c.length;i--;){var l=t(c[i],null),f=c[i].slot;f?s[f]=b(ns,{name:f},l):o[i]=l}var u=r?b(ns,null,o):o;return b(r||n.nodeName.toLowerCase(),s,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?lr:rt)(this._vdom,this._root)}function xa(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function Gh(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[xa(e)]=n,this._vdom=cr(this._vdom,r),rt(this._vdom,this._root)}}function Wh(){rt(this._vdom=null,this._root)}function ns(e,t){var n=this;return b("slot",jr({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function qh(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:r.mode||"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=jh,o.prototype.attributeChangedCallback=Gh,o.prototype.disconnectedCallback=Wh,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(s){Object.defineProperty(o.prototype,s,{get:function(){return this._vdom.props[s]},set:function(i){this._vdom?this.attributeChangedCallback(s,null,i):(this._props||(this._props={}),this._props[s]=i,this.connectedCallback());var a=typeof i;i!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(s,i)}})}),customElements.define(t,o)}function Zh(e,t){qh(e,t,void 0,{shadow:!0})}function Jh(e){let t;const n=C([b("style",{children:[bu]}),b("div",E(C([["className","mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"],(t=[b("div",{className:"mx-auto max-w-3xl",children:x.Children.toArray([e])})],["children",x.Children.toArray(Array.from(t))])])))]);return b("div",{children:x.Children.toArray(Array.from(n))})}class sr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Initialise","LoadedSmsfChoice"]}}class Ca extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded"]}}function Kh(){return[new Ca(0,[]),I(e=>{e(new sr(0,[]))})]}function Yh(e,t,n){return t.tag===1?t.fields[0].tag===1?(rr(new nr(1,[])),[n,W()]):(rr(new nr(0,[])),[new Ca(1,[t.fields[0].fields[0].SmsfChoice]),W()]):[n,Qd(r=>{zi(r)},()=>Dd(e),void 0,r=>new sr(1,[r]),r=>new sr(1,[new d(1,[r.message])]))]}function Xh(e){const t=Pd(e.backendUrl,e.accessToken),n=Zi(()=>Gi(Kh,(r,o)=>Yh(t,r,o),(r,o)=>{}),void 0,void 0)[0];return Jh(n.tag===1?b(Vh,{backendService:t,smsfChoice:Qs(n.fields[0])}):Uh)}function Qh(){Zh(e=>b(Xh,e),"apollo-super-smsf")}Qh();
|
|
31
|
+
*/var Mt=Sf;function xf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Cf=typeof Object.is=="function"?Object.is:xf,Af=Mt.useState,Ef=Mt.useEffect,Nf=Mt.useLayoutEffect,Ff=Mt.useDebugValue;function Mf(e,t){var n=t(),r=Af({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return Nf(function(){o.value=n,o.getSnapshot=t,zn(o)&&s({inst:o})},[e,n,t]),Ef(function(){return zn(o)&&s({inst:o}),e(function(){zn(o)&&s({inst:o})})},[e]),Ff(n),n}function zn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Cf(e,n)}catch{return!0}}function Tf(e,t){return t()}var Bf=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Tf:Mf;qi.useSyncExternalStore=Mt.useSyncExternalStore!==void 0?Mt.useSyncExternalStore:Bf;Wi.exports=qi;var $f=Wi.exports;class If{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];this.finalDispatch=void 0;let i;const a=gf(o)(this.arg);let c=a[0],l=a[1];i=[[c,f=>{const u=this.finalDispatch;u==null?s.push(f):u(f)},!1,s],l],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let u=!1;const p=Kn(this.state[0]);return vf(this.arg,wf((h,_)=>{const g=this.state;this.finalDispatch=_,this.state=[h,g[1],!0,s],h!==g[0]&&f()},bf((h,_)=>{const g=this.cmd;return this.cmd=j(),[this.state[0],g]},(h,_,g)=>h(_)(this.state[0]),Xn(h=>h),Xn(h=>h),q(h=>h),h=>[_=>h[0](_)?!0:p&&u,_=>{const g=_;Kn(g)?W(g):h[1](_)}],o))),()=>{u=!0}}}}function Qo(e,t,n){return new If(e,t,n)}function Of(e){return e.state}function Lf(e){return e.subscribe}function Vf(e,t,n){return Te(e.arg,t)?!Te(e.dependencies,n):!0}function Zi(e,t,n){const r=Tt(()=>Qo(e,t,n)),o=r[0];Vf(o,t,n)&&r[1](Qo(e,t,n));const s=$f.useSyncExternalStore(Lf(o),()=>Of(o)),i=s[2],a=s[3],c=s[1];return Gt(()=>{if(i&&a.length>0){let l=K(a);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const f=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{W(l)}uu(a)}},[i,a]),[s[0],c]}class or extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Rr extends X{constructor(t,n,r,o){super(),this.Value=t,this.IsTouched=n,this.Validator=r,this.ErrorMessage=o}}class pe extends X{constructor(t,n,r){super(),this.Field=t,this.OnBlur=n,this.OnChange=r}}function ye(e,t){return new Rr(En(t,""),!1,e,void 0)}function Ji(e,t){let n;return new Rr(t,e.IsTouched,e.Validator,(n=e.Validator(e.Value),n.tag===1&&e.IsTouched?n.fields[0]:void 0))}function se(e){let t;return new Rr(e.Value,!0,e.Validator,(t=e.Validator(e.Value),t.tag===1?t.fields[0]:void 0))}function Oe(e,t){return Xs(t)?new d(1,[`${e} is required`]):new d(0,[t])}function Re(e,t,n){return n.length>=t?new d(0,[n]):new d(1,[`${e} requires a minimum length of ${t} characters`])}function Ur(e,t,n){return n.length<=t?new d(0,[n]):new d(1,[`${e} exceeds maximum length of ${t} characters`])}function Hr(e){return e.trim()}function Ki(e){return Er(e,"\\s+","")}function Yi(e,t,n){return Ou(qs(t),n)?new d(0,[n]):new d(1,[`${e} is invalid`])}function Pf(e){return Er(e,"[^0-9]","")}class Df extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundName"]}}function Xi(e){let t;const n=Oe("Fund name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Fund name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Df(t.fields[0])])}function Qi(e){return ye(Xi,e)}function Rf(e){return e.fields[0]}class Uf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundAbn"]}}function ea(e){const t=De(Le(o=>~~o.charCodeAt(0)-48,e.split(""))),n=C([10,1,3,5,7,9,11,13,15,17,19]),r=ui(o=>o>=0?o<=9:!1,t)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN (digits only)"]);if(r.tag===1)return new d(1,[r.fields[0]]);{const o=yo(t)===yo(n)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);if(o.tag===1)return new d(1,[o.fields[0]]);{const s=hl((i,a,c)=>i+a*c,0,pl((i,a)=>i===0?a-1|0:a|0,t),n)%89===0?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);return s.tag===1?new d(1,[s.fields[0]]):new d(0,[new Uf(e)])}}}function ta(e){return ye(ea,e)}function Hf(e){return e.fields[0]}class zf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundEsa"]}}function na(e){let t;const n=Oe("Fund ESA",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Fund ESA",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new zf(t.fields[0])])}function ra(e){return ye(na,e)}function jf(e){return e.fields[0]}class Gf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine1"]}}function oa(e){let t;const n=Oe("Address Line 1",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("Address Line 1",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Gf(t.fields[0])])}function sa(e){return ye(oa,e)}function Wf(e){return e.fields[0]}class qf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine2"]}}function ia(e){if(Xs(e))return new d(0,[void 0]);{const t=Re("Address Line 1",2,e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new qf(t.fields[0])])}}function aa(e){return ye(ia,e)}function Zf(e){if(e!=null)return e.fields[0]}class Jf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["City"]}}function ua(e){const t=Oe("City",e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Jf(t.fields[0])])}function la(e){return ye(ua,e)}function Kf(e){return e.fields[0]}class Qe extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]}}function ca(e){const t=Oe("State",e);if(t.tag===1)return new d(1,[t.fields[0]]);switch(t.fields[0]){case"NSW":return new d(0,[new Qe(0,[])]);case"QLD":return new d(0,[new Qe(1,[])]);case"ACT":return new d(0,[new Qe(2,[])]);case"VIC":return new d(0,[new Qe(3,[])]);case"TAS":return new d(0,[new Qe(4,[])]);case"WA":return new d(0,[new Qe(5,[])]);case"SA":return new d(0,[new Qe(6,[])]);case"NT":return new d(0,[new Qe(7,[])]);default:return new d(1,["Select a state'"])}}function da(e){return ye(ca,e)}function Yf(e){switch(e.tag){case 1:return"QLD";case 2:return"ACT";case 3:return"VIC";case 4:return"TAS";case 5:return"WA";case 6:return"SA";case 7:return"NT";default:return"NSW"}}class Xf extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Postcode"]}}function fa(e){let t,n;const r=Oe("Postcode",e);return n=r.tag===1?new d(1,[r.fields[0]]):Re("Postcode",4,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Ur("Postcode",4,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Xf(t.fields[0])])}function ha(e){return ye(fa,e)}function Qf(e){return e.fields[0]}class eh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberFirstName"]}}function ma(e){let t;const n=Oe("First Name",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("First Name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new eh(t.fields[0])])}function pa(e){return ye(ma,e)}function th(e){return e.fields[0]}class nh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberLastName"]}}function _a(e){let t;const n=Oe("Last Name",e);return t=n.tag===1?new d(1,[n.fields[0]]):Re("Last Name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new nh(t.fields[0])])}function wa(e){return ye(_a,e)}function rh(e){return e.fields[0]}class oh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountName"]}}function ga(e){let t;const n=Oe("Account name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):Re("Account name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new oh(t.fields[0])])}function ba(e){return ye(ga,e)}function sh(e){return e.fields[0]}class ih extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountBsb"]}}function ya(e){let t,n,r;const o=Oe("BSB",Ki(e));return r=o.tag===1?new d(1,[o.fields[0]]):Re("BSB",6,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):Ur("BSB",6,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Yi("BSB","^\\d{6}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new ih(t.fields[0])])}function va(e){return ye(ya,e)}function ah(e){return e.fields[0]}class uh extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountNumber"]}}function ka(e){let t,n,r;const o=Oe("Account Number",Ki(e));return r=o.tag===1?new d(1,[o.fields[0]]):Re("Account Number",2,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):Ur("Account Number",11,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):Yi("Account Number","^\\d{2,11}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new uh(t.fields[0])])}function Sa(e){return ye(ka,e)}function lh(e){return e.fields[0]}class ch extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}function zr(e){const t=e.target,n=Pf(t.value);return t.value=n,n}const dh=b("svg",N(C([["fill","#facc15"],["className","h-5 w-5"],["viewBox","0 0 20 20"],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=I(b("path",N(C([["fill-rule","evenodd"],(e="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",["d",e]),["clipRule","evenodd"]]))));return["children",x.Children.toArray(Array.from(t))]})()]))),fh=b("div",N(C([["className","bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3"],(()=>{let e;const t=[b("div",N(C([["className","flex"],(e=[b("div",{className:"flex-shrink-0",children:x.Children.toArray([dh])}),b("div",{className:"ml-3 text-sm text-yellow-700 leading-5",children:"Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."})],["children",x.Children.toArray(Array.from(e))])])))];return["children",x.Children.toArray(Array.from(t))]})()])));function Ke(e){if(e==null)return We();{const t=e;return b("div",{className:H(" ",["mt-2 text-sm text-red-600"]),children:t})}}function Qt(e){return De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>e?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))}function hh(e){let t,n;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundName",children:"Fund name"}),b("div",N(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"fundName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function mh(e){let t,n;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundAbn",children:"Fund ABN"}),b("div",N(C([["className","mt-1"],(n=[b("input",{id:"fundAbn",type:"text",inputmode:"numeric",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onKeyUp:r=>{e.OnChange(zr(r))},onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function ph(e){let t,n;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"fundEsa",children:"Electronic service address alias (ESA)"}),b("div",N(C([["className","mt-1"],(n=[b("input",{id:"fundEsa",type:"text",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function _h(e,t){return b("input",{placeholder:"Address line 1",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-t-md shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),required:!0,minLength:2,id:"addressLine1",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function wh(e,t){return b("input",{placeholder:"Address line 2 (optional)",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),id:"addressLine2",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function gh(e,t){return b("input",{placeholder:"City/suburb",type:"text",className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),required:!0,id:"city",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function bh(e,t){let n;return b("div",N(C([["className","flex-1 min-w-0"],(n=[b("input",{placeholder:"Postcode",type:"text",required:!0,className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-bl-md shadow-none"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),minLength:4,maxLength:4,pattern:"[0-9]{4}",inputmode:"numeric",id:"postcode",value:t.Field.Value,onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}})],["children",x.Children.toArray(Array.from(n))])])))}function yh(e,t){let n;const r=b("option",{disabled:!0,value:"",children:"State",selected:t.Field.Value===""}),o=ai(s=>b("option",{value:s,children:s,selected:t.Field.Value===s}),C(["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]));return b("div",N(C([["className","w-1/2 flex-1 min-w-0"],(n=[b("select",{className:H(" ",De(R(()=>xe(Y("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-br-md shadow-none text-gray-500"),R(()=>e&&t.Field.ErrorMessage!=null?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),id:"state",required:!0,children:x.Children.toArray(Array.from(ge(r,o))),onBlur:t.OnBlur,onChange:s=>{t.OnChange(s.target.value)}})],["children",x.Children.toArray(Array.from(n))])])))}function vh(e){let t,n,r,o;const s=a=>a.IsTouched;o=ui(a=>a,C([s(e.AddressLine1.Field),s(e.City.Field),s(e.AddressState.Field),s(e.Postcode.Field)]));const i=_l(a=>a,C([e.AddressLine1.Field.ErrorMessage,e.City.Field.ErrorMessage,e.AddressState.Field.ErrorMessage,e.Postcode.Field.ErrorMessage]));return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",children:"Fund address"}),b("div",N(C([["className","mt-1 rounded-md shadow-sm -space-y-px"],(n=[_h(o,e.AddressLine1),wh(o,e.AddressLine2),gh(o,e.City),b("div",N(C([["className","flex -space-x-px"],(r=[bh(o,e.Postcode),yh(o,e.AddressState)],["children",x.Children.toArray(Array.from(r))])])))],["children",x.Children.toArray(Array.from(n))])]))),Ke(o?i:void 0)],["children",x.Children.toArray(Array.from(t))])])))}function kh(e){let t,n;return b("div",N(C([["className","mt-3 w-1/2"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"memberGivenNames",children:"Given name(s)"}),b("div",N(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"memberGivenNames",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Sh(e){let t,n;return b("div",N(C([["className","mt-3 w-1/2"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"memberLastNames",children:"Last name"}),b("div",N(C([["className","mt-1"],(n=[b("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"memberLastName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function xh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountName",children:"Account name"}),b("div",N(C([["className","mt-1"],(n=[b("input",{id:"bankAccountName",type:"text",value:e.Field.Value,className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Ch(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountBsb",children:"BSB"}),b("div",N(C([["className","mt-1"],(n=[b("input",{id:"bankAccountBsb",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onKeyUp:o=>{e.OnChange(zr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Ah(e){let t;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",children:"Bank name"}),b("div",{className:"mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-sm",children:e})],["children",x.Children.toArray(Array.from(t))])])))}function Eh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return b("div",N(C([["className","mt-3"],(t=[b("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountNumber",children:"Account number"}),b("div",N(C([["className","mt-1"],(n=[b("input",{id:"bankAccountNumber",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",De(R(()=>xe(Y("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),R(()=>r?Y("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Je()))))),onKeyUp:o=>{e.OnChange(zr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))])])))}function Nh(e){let t,n;return b("div",N(C([["className","mb-4"],(t=[b("div",N(I((n=[b("button",{className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium","rounded-md shadow-sm pointer-events-auto border-transparent text-white bg-primary-base w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-primary-hover"]),"data-testid":"continue-button",disabled:!1,children:"Continue",onClick:e})],["children",x.Children.toArray(Array.from(n))]))))],["children",x.Children.toArray(Array.from(t))])])))}function Fh(e){let t,n,r;return b("div",N(I((t=[b("a",N(C([["href","/"],(n=[b("div",N(I((r=[b("button",{className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium rounded-md shadow-sm pointer-events-auto border-gray-300 text-gray-700 bg-white w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-gray-50"]),"data-testid":"back-button",children:"Back",onClick:e})],["children",x.Children.toArray(Array.from(r))]))))],["children",x.Children.toArray(Array.from(n))])])))],["children",x.Children.toArray(Array.from(t))]))))}class es extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetValue","SetTouched"]}}let T=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFundName","UpdateFundAbn","UpdateFundEsa","UpdateAddressLine1","UpdateAddressLine2","UpdateCity","UpdateAddressState","UpdatePostcode","UpdateMemberFirstName","UpdateMemberLastName","UpdateBankAccountName","UpdateBankAccountBsb","UpdateBankAccountNumber","BsbLookup","Submit","Cancel"]}};class Mh extends X{constructor(t,n,r,o,s,i,a,c,l,f,u,p,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=p,this.BankAccountNumber=h}}let Q=class extends X{constructor(t,n,r,o,s,i,a,c,l,f){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddress=o,this.MemberFirstName=s,this.MemberLastName=i,this.BankAccountName=a,this.BankAccountBsb=c,this.BankAccountNumber=l,this.BankName=f}};class et extends X{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}const Th=new Q(Qi(void 0),ta(void 0),ra(void 0),new et(sa(void 0),aa(void 0),la(void 0),da(void 0),ha(void 0)),pa(void 0),wa(void 0),ba(void 0),va(void 0),Sa(void 0),void 0);function Bh(e){return new Q(Qi(e.FundName),ta(e.Abn),ra(e.ElectronicServiceAddress),new et(sa(e.FundAddress.AddressLine1),aa(e.FundAddress.AddressLine2),la(e.FundAddress.City),da(e.FundAddress.State),ha(e.FundAddress.Postcode)),pa(e.MemberFirstName),wa(e.MemberFamilyName),ba(e.BankAccountName),va(e.Bsb),Sa(e.BankAccountNumber),void 0)}function $h(e){let t;return[En((t=e,t==null?void 0:Bh(t)),Th),e!=null?I(n=>{n(new T(13,[new or(0,[])]))}):j()]}function Ih(e){let t;const n=Xi(e.FundName.Value);if(t=n.tag===1?new d(1,[I(n.fields[0])]):new d(0,[n.fields[0]]),t.tag===1)return new d(1,[t.fields[0]]);{let r;const o=ea(e.FundAbn.Value);if(r=o.tag===1?new d(1,[I(o.fields[0])]):new d(0,[o.fields[0]]),r.tag===1)return new d(1,[r.fields[0]]);{let s;const i=na(e.FundEsa.Value);if(s=i.tag===1?new d(1,[I(i.fields[0])]):new d(0,[i.fields[0]]),s.tag===1)return new d(1,[s.fields[0]]);{let a;const c=oa(e.FundAddress.AddressLine1.Value);if(a=c.tag===1?new d(1,[I(c.fields[0])]):new d(0,[c.fields[0]]),a.tag===1)return new d(1,[a.fields[0]]);{let l;const f=ia(e.FundAddress.AddressLine2.Value);if(l=f.tag===1?new d(1,[I(f.fields[0])]):new d(0,[f.fields[0]]),l.tag===1)return new d(1,[l.fields[0]]);{let u;const p=ua(e.FundAddress.City.Value);if(u=p.tag===1?new d(1,[I(p.fields[0])]):new d(0,[p.fields[0]]),u.tag===1)return new d(1,[u.fields[0]]);{let h;const _=ca(e.FundAddress.AddressState.Value);if(h=_.tag===1?new d(1,[I(_.fields[0])]):new d(0,[_.fields[0]]),h.tag===1)return new d(1,[h.fields[0]]);{let g;const w=fa(e.FundAddress.Postcode.Value);if(g=w.tag===1?new d(1,[I(w.fields[0])]):new d(0,[w.fields[0]]),g.tag===1)return new d(1,[g.fields[0]]);{let y;const m=ma(e.MemberFirstName.Value);if(y=m.tag===1?new d(1,[I(m.fields[0])]):new d(0,[m.fields[0]]),y.tag===1)return new d(1,[y.fields[0]]);{let A;const Z=_a(e.MemberLastName.Value);if(A=Z.tag===1?new d(1,[I(Z.fields[0])]):new d(0,[Z.fields[0]]),A.tag===1)return new d(1,[A.fields[0]]);{let ne;const Ce=ga(e.BankAccountName.Value);if(ne=Ce.tag===1?new d(1,[I(Ce.fields[0])]):new d(0,[Ce.fields[0]]),ne.tag===1)return new d(1,[ne.fields[0]]);{let it;const Ye=ya(e.BankAccountBsb.Value);if(it=Ye.tag===1?new d(1,[I(Ye.fields[0])]):new d(0,[Ye.fields[0]]),it.tag===1)return new d(1,[it.fields[0]]);{let Xe;const de=ka(e.BankAccountNumber.Value);return Xe=de.tag===1?new d(1,[I(de.fields[0])]):new d(0,[de.fields[0]]),Xe.tag===1?new d(1,[Xe.fields[0]]):new d(0,[new Mh(t.fields[0],r.fields[0],s.fields[0],a.fields[0],l.fields[0],u.fields[0],h.fields[0],g.fields[0],y.fields[0],A.fields[0],ne.fields[0],it.fields[0],Xe.fields[0])])}}}}}}}}}}}}}function Oh(e){return new Q(se(e.FundName),se(e.FundAbn),se(e.FundEsa),new et(se(e.FundAddress.AddressLine1),se(e.FundAddress.AddressLine2),se(e.FundAddress.City),se(e.FundAddress.AddressState),se(e.FundAddress.Postcode)),se(e.MemberFirstName),se(e.MemberLastName),se(e.BankAccountName),se(e.BankAccountBsb),se(e.BankAccountNumber),e.BankName)}function ve(e,t,n){return n(e.tag===1?se(t):Ji(t,e.fields[0]))}function Lh(e,t,n){let r,o;switch(t.tag){case 1:return[ve(t.fields[0],n.FundAbn,s=>new Q(n.FundName,s,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()];case 2:return[ve(t.fields[0],n.FundEsa,s=>new Q(n.FundName,n.FundAbn,s,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()];case 3:return[ve(t.fields[0],n.FundAddress.AddressLine1,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(s,i.AddressLine2,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),j()];case 4:return[ve(t.fields[0],n.FundAddress.AddressLine2,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,s,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),j()];case 5:return[ve(t.fields[0],n.FundAddress.City,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,s,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),j()];case 6:return[ve(t.fields[0],n.FundAddress.AddressState,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,s,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),j()];case 7:return[ve(t.fields[0],n.FundAddress.Postcode,s=>{let i;return new Q(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,i.AddressState,s)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),j()];case 8:return[ve(t.fields[0],n.MemberFirstName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,s,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()];case 9:return[ve(t.fields[0],n.MemberLastName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,s,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()];case 10:return[ve(t.fields[0],n.BankAccountName,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,s,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()];case 11:if(t.fields[0].tag===1)return[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,se(n.BankAccountBsb),n.BankAccountNumber,n.BankName),j()];{const s=t.fields[0].fields[0],i=Cc(n.BankAccountBsb.Validator(s))!=null,a=i?n.BankName:void 0,c=i?I(l=>{l(new T(13,[new or(0,[])]))}):j();return[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,Ji(n.BankAccountBsb,s),n.BankAccountNumber,a),c]}case 12:return[ve(t.fields[0],n.BankAccountNumber,s=>new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,s,n.BankName)),j()];case 13:return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[n,j()]:[new Q(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,(r=t.fields[0].fields[0].fields[0].BankDetails,r==null?void 0:(o=r,`${o.Bank} - ${o.Branch}`))),j()]:[n,ef(s=>{zi(s)},s=>Rd(e,s),n.BankAccountBsb.Value,s=>new T(13,[new or(1,[s])]))];case 14:{const s=Ih(n);if(s.tag===1)return[Oh(n),j()];{const i=s.fields[0];return kn(new vn(2,[new zd(Rf(i.FundName),Hf(i.FundAbn),jf(i.FundEsa),Wf(i.FundAddressLine1),Zf(i.FundAddressLine2),Kf(i.FundCity),Yf(i.FundState),Qf(i.FundPostcode),th(i.MemberFirstName),rh(i.MemberLastName),sh(i.BankAccountName),ah(i.BankAccountBsb),lh(i.BankAccountNumber))])),[n,j()]}}case 15:return kn(new vn(1,[])),[n,j()];default:return[ve(t.fields[0],n.FundName,s=>new Q(s,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),j()]}}function Vh(e){let t,n,r,o,s,i,a,c;const l=e.smsfChoice,f=e.backendService;let u;const p=$h(l);u=Zi(()=>Gi(()=>p,(m,A)=>Lh(f,m,A),(m,A)=>{}),void 0,void 0);const h=u[0],_=u[1],g=(m,A)=>{_(m(new es(1,[])))},w=(m,A)=>{_(m(new es(0,[A])))},y=I(b("form",N(C([["id","form"],["novalidate",""],(t=[b("div",N(C([["className","p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg max-w-560"],(n=[b("p",{className:"sm:text-lg font-bold",children:"Fund details"}),fh,b("div",N(I((r=[(o=C([hh(new pe(h.FundName,M(g)(m=>new T(0,[m])),M(w)(m=>new T(0,[m])))),mh(new pe(h.FundAbn,M(g)(m=>new T(1,[m])),M(w)(m=>new T(1,[m])))),ph(new pe(h.FundEsa,M(g)(m=>new T(2,[m])),M(w)(m=>new T(2,[m])))),vh(new ch(new pe(h.FundAddress.AddressLine1,M(g)(m=>new T(3,[m])),M(w)(m=>new T(3,[m]))),new pe(h.FundAddress.AddressLine2,M(g)(m=>new T(4,[m])),M(w)(m=>new T(4,[m]))),new pe(h.FundAddress.City,M(g)(m=>new T(5,[m])),M(w)(m=>new T(5,[m]))),new pe(h.FundAddress.AddressState,M(g)(m=>new T(6,[m])),M(w)(m=>new T(6,[m]))),new pe(h.FundAddress.Postcode,M(g)(m=>new T(7,[m])),M(w)(m=>new T(7,[m]))))),b("div",N(C([["className","flex space-x-4"],(s=[kh(new pe(h.MemberFirstName,M(g)(m=>new T(8,[m])),M(w)(m=>new T(8,[m])))),Sh(new pe(h.MemberLastName,M(g)(m=>new T(9,[m])),M(w)(m=>new T(9,[m]))))],["children",x.Children.toArray(Array.from(s))])]))),b("h3",{className:"text-lg font-bold mt-6",children:"Fund bank details"}),xh(new pe(h.BankAccountName,M(g)(m=>new T(10,[m])),M(w)(m=>new T(10,[m])))),Ch(new pe(h.BankAccountBsb,M(g)(m=>new T(11,[m])),M(w)(m=>new T(11,[m])))),En((i=h.BankName,i==null?void 0:Ah(i)),We()),Eh(new pe(h.BankAccountNumber,M(g)(m=>new T(12,[m])),M(w)(m=>new T(12,[m]))))]),b("div",{children:x.Children.toArray(Array.from(o))}))],["children",x.Children.toArray(Array.from(r))]))))],["children",x.Children.toArray(Array.from(n))])]))),b("div",N(C([["className","flex justify-center mt-8"],(a=[b("div",N(C([["className","sm:max-w-320 w-full"],(c=[Nh(m=>{m.preventDefault(),_(new T(14,[]))}),Fh(m=>{m.preventDefault(),_(new T(15,[]))})],["children",x.Children.toArray(Array.from(c))])])))],["children",x.Children.toArray(Array.from(a))])])))],["children",x.Children.toArray(Array.from(t))])]))));return b("div",{children:x.Children.toArray(Array.from(y))})}function On(e,t){let n;return b("div",N(C([["className",H(" ",["animate-pulse w-full relative",e,t])],(n=[b("div",{className:H(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",x.Children.toArray(Array.from(n))])])))}const Ph=On("h-9","max-w-96"),ts=On("h-6","max-w-96"),Dh=On("h-80","max-w-96"),Rh=On("h-10","max-w-48"),Uh=(()=>{let e,t,n;const r=[b("div",N(C([(e="w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex",["className",e]),(t=[b("div",N(C([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(n=[Ph,b("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:x.Children.toArray([ts,ts])})],["children",x.Children.toArray(Array.from(n))])]))),Dh,Rh],["children",x.Children.toArray(Array.from(t))])])))];return b(Be,{},...r)})();function jr(){return(jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Hh=["context","children"];function zh(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,a={},c=Object.keys(r);for(i=0;i<c.length;i++)o.indexOf(s=c[i])>=0||(a[s]=r[s]);return a}(e,Hh);return cr(t,n)}function jh(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=b(zh,jr({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],s={},i=0,a=n.attributes,c=n.childNodes;for(i=a.length;i--;)a[i].name!=="slot"&&(s[a[i].name]=a[i].value,s[xa(a[i].name)]=a[i].value);for(i=c.length;i--;){var l=t(c[i],null),f=c[i].slot;f?s[f]=b(ns,{name:f},l):o[i]=l}var u=r?b(ns,null,o):o;return b(r||n.nodeName.toLowerCase(),s,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?lr:rt)(this._vdom,this._root)}function xa(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function Gh(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[xa(e)]=n,this._vdom=cr(this._vdom,r),rt(this._vdom,this._root)}}function Wh(){rt(this._vdom=null,this._root)}function ns(e,t){var n=this;return b("slot",jr({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function qh(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:r.mode||"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=jh,o.prototype.attributeChangedCallback=Gh,o.prototype.disconnectedCallback=Wh,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(s){Object.defineProperty(o.prototype,s,{get:function(){return this._vdom.props[s]},set:function(i){this._vdom?this.attributeChangedCallback(s,null,i):(this._props||(this._props={}),this._props[s]=i,this.connectedCallback());var a=typeof i;i!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(s,i)}})}),customElements.define(t,o)}function Zh(e,t){qh(e,t,void 0,{shadow:!0})}function Jh(e){let t;const n=C([b("style",{children:[bu]}),b("div",N(C([["className","mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"],(t=[b("div",{className:"mx-auto max-w-3xl",children:x.Children.toArray([e])})],["children",x.Children.toArray(Array.from(t))])])))]);return b("div",{children:x.Children.toArray(Array.from(n))})}class sr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Initialise","LoadedSmsfChoice"]}}class Ca extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded"]}}function Kh(){return[new Ca(0,[]),I(e=>{e(new sr(0,[]))})]}function Yh(e,t,n){return t.tag===1?t.fields[0].tag===1?(kn(new vn(1,[])),[n,j()]):(kn(new vn(0,[])),[new Ca(1,[t.fields[0].fields[0].SmsfChoice]),j()]):[n,Qd(r=>{zi(r)},()=>Dd(e),void 0,r=>new sr(1,[r]),r=>new sr(1,[new d(1,[r.message])]))]}function Xh(e){const t=Pd(e.backendUrl,e.accessToken),n=Zi(()=>Gi(Kh,(r,o)=>Yh(t,r,o),(r,o)=>{}),void 0,void 0)[0];return Jh(n.tag===1?b(Vh,{backendService:t,smsfChoice:Qs(n.fields[0])}):Uh)}function Qh(){Zh(e=>b(Xh,e),"apollo-super-smsf")}Qh();
|