@flarehr/apollo-workplace-policies 0.1.164 → 0.1.168

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.
@@ -0,0 +1,11 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_3040_23717)">
3
+ <path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="currentColor"/>
4
+ <path d="M6 12L10 16L18 8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_3040_23717">
8
+ <rect width="24" height="24" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15 18L9 12L15 6" stroke="#111827" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 6L15 12L9 18" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 4H15.5C15.6326 4 15.7597 4.05268 15.8535 4.14645C15.9473 4.24022 16 4.36739 16 4.5V9.5C15.9999 9.59894 15.9706 9.69565 15.9156 9.77789C15.8606 9.86013 15.7824 9.92421 15.691 9.962C15.6303 9.98677 15.5655 9.99967 15.5 10C15.4343 10.0001 15.3692 9.98729 15.3084 9.96223C15.2477 9.93718 15.1925 9.9004 15.146 9.854L13.354 8.061L10.707 10.707C10.6147 10.8025 10.5044 10.8787 10.3824 10.9311C10.2604 10.9835 10.1291 11.0111 9.99636 11.0123C9.86358 11.0134 9.7319 10.9881 9.609 10.9378C9.48611 10.8875 9.37446 10.8133 9.28056 10.7194C9.18667 10.6255 9.11242 10.5139 9.06214 10.391C9.01186 10.2681 8.98655 10.1364 8.98771 10.0036C8.98886 9.87082 9.01645 9.7396 9.06886 9.6176C9.12127 9.49559 9.19745 9.38525 9.29296 9.293L11.939 6.646L10.146 4.854C10.0759 4.78407 10.0281 4.6949 10.0087 4.59779C9.98935 4.50068 9.99926 4.40001 10.0372 4.30854C10.0751 4.21706 10.1393 4.13891 10.2217 4.08398C10.3041 4.02905 10.4009 3.99982 10.5 4ZM12 16H6C5.46957 16 4.96086 15.7893 4.58579 15.4142C4.21071 15.0391 4 14.5304 4 14V8C4 7.46957 4.21071 6.96086 4.58579 6.58579C4.96086 6.21071 5.46957 6 6 6H7C7.26522 6 7.51957 6.10536 7.70711 6.29289C7.89464 6.48043 8 6.73478 8 7C8 7.26522 7.89464 7.51957 7.70711 7.70711C7.51957 7.89464 7.26522 8 7 8H6V14H12V13C12 12.7348 12.1054 12.4804 12.2929 12.2929C12.4804 12.1054 12.7348 12 13 12C13.2652 12 13.5196 12.1054 13.7071 12.2929C13.8946 12.4804 14 12.7348 14 13V14C14 14.5304 13.7893 15.0391 13.4142 15.4142C13.0391 15.7893 12.5304 16 12 16Z" fill="currentColor"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 12H6" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 6V12M12 12V18M12 12H18M12 12L6 12" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -1,17 +1,17 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var Nt,S,Io,Ze,Cr,Mo,Nn,Po,lt={},Oo=[],Fi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,hn=Array.isArray;function Ie(e,t){for(var n in t)e[n]=t[n];return e}function Ao(e){var t=e.parentNode;t&&t.removeChild(e)}function k(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?Nt.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 $t(e,i,r,o,null)}function $t(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,__h:null,constructor:void 0,__v:o??++Io};return o==null&&S.vnode!=null&&S.vnode(s),s}function Ro(){return{current:null}}function ve(e){return e.children}function be(e,t){this.props=e,this.context=t}function en(e,t){if(t==null)return e.__?en(e.__,e.__.__k.indexOf(e)+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"?en(e):null}function No(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 No(e)}}function Fn(e){(!e.__d&&(e.__d=!0)&&Ze.push(e)&&!tn.__r++||Cr!==S.debounceRendering)&&((Cr=S.debounceRendering)||Mo)(tn)}function tn(){var e,t,n,r,o,s,i,u,c;for(Ze.sort(Nn);e=Ze.shift();)e.__d&&(t=Ze.length,r=void 0,o=void 0,s=void 0,u=(i=(n=e).__v).__e,(c=n.__P)&&(r=[],o=[],(s=Ie({},i)).__v=i.__v+1,Yn(c,i,s,n.__n,c.ownerSVGElement!==void 0,i.__h!=null?[u]:null,r,u??en(i),i.__h,o),Lo(r,i,o),i.__e!=u&&No(i)),Ze.length>t&&Ze.sort(Nn));tn.__r=0}function Fo(e,t,n,r,o,s,i,u,c,a,f){var l,_,h,d,m,w,g,v,x,B,D=0,Y=r&&r.__k||Oo,Ge=Y.length,ze=Ge,X=t.length;for(n.__k=[],l=0;l<X;l++)(d=n.__k[l]=(d=t[l])==null||typeof d=="boolean"||typeof d=="function"?null:typeof d=="string"||typeof d=="number"||typeof d=="bigint"?$t(null,d,null,null,d):hn(d)?$t(ve,{children:d},null,null,null):d.__b>0?$t(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null&&(d.__=n,d.__b=n.__b+1,(v=Di(d,Y,g=l+D,ze))===-1?h=lt:(h=Y[v]||lt,Y[v]=void 0,ze--),Yn(e,d,h,o,s,i,u,c,a,f),m=d.__e,(_=d.ref)&&h.ref!=_&&(h.ref&&Xn(h.ref,null,d),f.push(_,d.__c||m,d)),m!=null&&(w==null&&(w=m),B=!(x=h===lt||h.__v===null)&&v===g,x?v==-1&&D--:v!==g&&(v===g+1?(D++,B=!0):v>g?ze>X-g?(D+=v-g,B=!0):D--:D=v<g&&v==g-1?v-g:0),g=l+D,B=B||v==l&&!x,typeof d.type!="function"||v===g&&h.__k!==d.__k?typeof d.type=="function"||B?d.__d!==void 0?(c=d.__d,d.__d=void 0):c=m.nextSibling:c=Vo(e,m,c):c=Do(d,c,e),typeof n.type=="function"&&(n.__d=c)));for(n.__e=w,l=Ge;l--;)Y[l]!=null&&(typeof n.type=="function"&&Y[l].__e!=null&&Y[l].__e==n.__d&&(n.__d=Y[l].__e.nextSibling),Ho(Y[l],Y[l]))}function Do(e,t,n){for(var r,o=e.__k,s=0;o&&s<o.length;s++)(r=o[s])&&(r.__=e,t=typeof r.type=="function"?Do(r,t,n):Vo(n,r.__e,t));return t}function Me(e,t){return t=t||[],e==null||typeof e=="boolean"||(hn(e)?e.some(function(n){Me(n,t)}):t.push(e)),t}function Vo(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function Di(e,t,n,r){var o=e.key,s=e.type,i=n-1,u=n+1,c=t[n];if(c===null||c&&o==c.key&&s===c.type)return n;if(r>(c!=null?1:0))for(;i>=0||u<t.length;){if(i>=0){if((c=t[i])&&o==c.key&&s===c.type)return i;i--}if(u<t.length){if((c=t[u])&&o==c.key&&s===c.type)return u;u++}}return-1}function Vi(e,t,n,r,o){var s;for(s in n)s==="children"||s==="key"||s in t||nn(e,s,null,n[s],r);for(s in t)o&&typeof t[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||n[s]===t[s]||nn(e,s,t[s],n[s],r)}function Er(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Fi.test(t)?n:n+"px"}function nn(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||Er(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Er(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r||e.addEventListener(t,s?kr:xr,s):e.removeEventListener(t,s?kr:xr,s);else if(t!=="dangerouslySetInnerHTML"){if(o)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 in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function xr(e){return this.l[e.type+!1](S.event?S.event(e):e)}function kr(e){return this.l[e.type+!0](S.event?S.event(e):e)}function Yn(e,t,n,r,o,s,i,u,c,a){var f,l,_,h,d,m,w,g,v,x,B,D,Y,Ge,ze,X=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(c=n.__h,u=t.__e=n.__e,t.__h=null,s=[u]),(f=S.__b)&&f(t);try{e:if(typeof X=="function"){if(g=t.props,v=(f=X.contextType)&&r[f.__c],x=f?v?v.props.value:f.__:r,n.__c?w=(l=t.__c=n.__c).__=l.__E:("prototype"in X&&X.prototype.render?t.__c=l=new X(g,x):(t.__c=l=new be(g,x),l.constructor=X,l.render=Hi),v&&v.sub(l),l.props=g,l.state||(l.state={}),l.context=x,l.__n=r,_=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),X.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Ie({},l.__s)),Ie(l.__s,X.getDerivedStateFromProps(g,l.__s))),h=l.props,d=l.state,l.__v=t,_)X.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(X.getDerivedStateFromProps==null&&g!==h&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(g,x),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(g,l.__s,x)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=g,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(Wt){Wt&&(Wt.__=t)}),B=0;B<l._sb.length;B++)l.__h.push(l._sb[B]);l._sb=[],l.__h.length&&i.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(g,l.__s,x),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(h,d,m)})}if(l.context=x,l.props=g,l.__P=e,l.__e=!1,D=S.__r,Y=0,"prototype"in X&&X.prototype.render){for(l.state=l.__s,l.__d=!1,D&&D(t),f=l.render(l.props,l.state,l.context),Ge=0;Ge<l._sb.length;Ge++)l.__h.push(l._sb[Ge]);l._sb=[]}else do l.__d=!1,D&&D(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++Y<25);l.state=l.__s,l.getChildContext!=null&&(r=Ie(Ie({},r),l.getChildContext())),_||l.getSnapshotBeforeUpdate==null||(m=l.getSnapshotBeforeUpdate(h,d)),Fo(e,hn(ze=f!=null&&f.type===ve&&f.key==null?f.props.children:f)?ze:[ze],t,n,r,o,s,i,u,c,a),l.base=t.__e,t.__h=null,l.__h.length&&i.push(l),w&&(l.__E=l.__=null)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Li(n.__e,t,n,r,o,s,i,c,a);(f=S.diffed)&&f(t)}catch(Wt){t.__v=null,(c||s!=null)&&(t.__e=u,t.__h=!!c,s[s.indexOf(u)]=null),S.__e(Wt,t,n)}}function Lo(e,t,n){for(var r=0;r<n.length;r++)Xn(n[r],n[++r],n[++r]);S.__c&&S.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){S.__e(s,o.__v)}})}function Li(e,t,n,r,o,s,i,u,c){var a,f,l,_=n.props,h=t.props,d=t.type,m=0;if(d==="svg"&&(o=!0),s!=null){for(;m<s.length;m++)if((a=s[m])&&"setAttribute"in a==!!d&&(d?a.localName===d:a.nodeType===3)){e=a,s[m]=null;break}}if(e==null){if(d===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),s=null,u=!1}if(d===null)_===h||u&&e.data===h||(e.data=h);else{if(s=s&&Nt.call(e.childNodes),f=(_=n.props||lt).dangerouslySetInnerHTML,l=h.dangerouslySetInnerHTML,!u){if(s!=null)for(_={},m=0;m<e.attributes.length;m++)_[e.attributes[m].name]=e.attributes[m].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(Vi(e,h,_,o,u),l)t.__k=[];else if(Fo(e,hn(m=t.props.children)?m:[m],t,n,r,o&&d!=="foreignObject",s,i,s?s[0]:n.__k&&en(n,0),u,c),s!=null)for(m=s.length;m--;)s[m]!=null&&Ao(s[m]);u||("value"in h&&(m=h.value)!==void 0&&(m!==e.value||d==="progress"&&!m||d==="option"&&m!==_.value)&&nn(e,"value",m,_.value,!1),"checked"in h&&(m=h.checked)!==void 0&&m!==e.checked&&nn(e,"checked",m,_.checked,!1))}return e}function Xn(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){S.__e(r,n)}}function Ho(e,t,n){var r,o;if(S.unmount&&S.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Xn(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){S.__e(s,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Ho(r[o],t,n||typeof e.type!="function");n||e.__e==null||Ao(e.__e),e.__=e.__e=e.__d=void 0}function Hi(e,t,n){return this.constructor(e,n)}function He(e,t,n){var r,o,s,i;S.__&&S.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],Yn(t,e=(!r&&n||t).__k=k(ve,null,[e]),o||lt,lt,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Nt.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),Lo(s,e,i)}function Qn(e,t){He(e,t,Qn)}function er(e,t,n){var r,o,s,i,u=Ie({},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]:u[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(u.children=arguments.length>3?Nt.call(arguments,2):n),$t(e.type,u,r||e.key,o||e.ref,null)}function jo(e,t){var n={__c:t="__cC"+Po++,__: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.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(u){u.__e=!0,Fn(u)})},this.sub=function(i){o.push(i);var u=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),u&&u.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Nt=Oo.slice,S={__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(u){e=u}throw e}},Io=0,be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ie({},this.state),typeof e=="function"&&(e=e(Ie({},n),this.props)),e&&Ie(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Fn(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Fn(this))},be.prototype.render=ve,Ze=[],Mo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Nn=function(e,t){return e.__v.__b-t.__v.__b},tn.__r=0,Po=0;var Pe,P,kn,Tr,pt=0,Uo=[],Yt=[],$r=S.__b,Ir=S.__r,Mr=S.diffed,Pr=S.__c,Or=S.unmount;function et(e,t){S.__h&&S.__h(P,e,pt||t),pt=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Yt}),n.__[e]}function Ft(e){return pt=1,tr(Jo,e)}function tr(e,t,n){var r=et(Pe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Jo(void 0,t),function(u){var c=r.__N?r.__N[0]:r.__[0],a=r.t(c,u);c!==a&&(r.__N=[a,r.__[1]],r.__c.setState({}))}],r.__c=P,!P.u)){var o=function(u,c,a){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(_){return _.__c});if(f.every(function(_){return!_.__N}))return!s||s.call(this,u,c,a);var l=!1;return f.forEach(function(_){if(_.__N){var h=_.__[0];_.__=_.__N,_.__N=void 0,h!==_.__[0]&&(l=!0)}}),!(!l&&r.__c.props===u)&&(!s||s.call(this,u,c,a))};P.u=!0;var s=P.shouldComponentUpdate,i=P.componentWillUpdate;P.componentWillUpdate=function(u,c,a){if(this.__e){var f=s;s=void 0,o(u,c,a),s=f}i&&i.call(this,u,c,a)},P.shouldComponentUpdate=o}return r.__N||r.__}function pn(e,t){var n=et(Pe++,3);!S.__s&&nr(n.__H,t)&&(n.__=e,n.i=t,P.__H.__h.push(n))}function Dt(e,t){var n=et(Pe++,4);!S.__s&&nr(n.__H,t)&&(n.__=e,n.i=t,P.__h.push(n))}function Bo(e){return pt=5,_n(function(){return{current:e}},[])}function Go(e,t,n){pt=6,Dt(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 _n(e,t){var n=et(Pe++,7);return nr(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function zo(e,t){return pt=8,_n(function(){return e},t)}function Wo(e){var t=P.context[e.__c],n=et(Pe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function qo(e,t){S.useDebugValue&&S.useDebugValue(t?t(e):e)}function ji(e){var t=et(Pe++,10),n=Ft();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 Zo(){var e=et(Pe++,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 Ui(){for(var e;e=Uo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xt),e.__H.__h.forEach(Dn),e.__H.__h=[]}catch(t){e.__H.__h=[],S.__e(t,e.__v)}}S.__b=function(e){P=null,$r&&$r(e)},S.__r=function(e){Ir&&Ir(e),Pe=0;var t=(P=e.__c).__H;t&&(kn===P?(t.__h=[],P.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Yt,n.__N=n.i=void 0})):(t.__h.forEach(Xt),t.__h.forEach(Dn),t.__h=[],Pe=0)),kn=P},S.diffed=function(e){Mr&&Mr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Uo.push(t)!==1&&Tr===S.requestAnimationFrame||((Tr=S.requestAnimationFrame)||Bi)(Ui)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Yt&&(n.__=n.__V),n.i=void 0,n.__V=Yt})),kn=P=null},S.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Xt),n.__h=n.__h.filter(function(r){return!r.__||Dn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],S.__e(r,n.__v)}}),Pr&&Pr(e,t)},S.unmount=function(e){Or&&Or(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Xt(r)}catch(o){t=o}}),n.__H=void 0,t&&S.__e(t,n.__v))};var Ar=typeof requestAnimationFrame=="function";function Bi(e){var t,n=function(){clearTimeout(r),Ar&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ar&&(t=requestAnimationFrame(n))}function Xt(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function Dn(e){var t=P;e.__c=e.__(),P=t}function nr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Jo(e,t){return typeof t=="function"?t(e):t}function Ko(e,t){for(var n in t)e[n]=t[n];return e}function Vn(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 Tn(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function rn(e){this.props=e}function Yo(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:Vn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,k(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(rn.prototype=new be).isPureReactComponent=!0,rn.prototype.shouldComponentUpdate=function(e,t){return Vn(this.props,e)||Vn(this.state,t)};var Rr=S.__b;S.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Rr&&Rr(e)};var Gi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Xo(e){function t(n){var r=Ko({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Gi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nr=function(e,t){return e==null?null:Me(Me(e).map(t))},Qo={map:Nr,forEach:Nr,count:function(e){return e?Me(e).length:0},only:function(e){var t=Me(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Me},zi=S.__e;S.__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)}zi(e,t,n,r)};var Fr=S.unmount;function es(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=Ko({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return es(r,t,n)})),e}function ts(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ts(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function It(){this.__u=0,this.t=null,this.__b=null}function ns(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function rs(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 k(n,s)}return o.displayName="Lazy",o.__f=!0,o}function st(){this.u=null,this.o=null}S.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Fr&&Fr(e)},(It.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=ns(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(u):u())};n.__R=i;var u=function(){if(!--r.__u){if(r.state.__a){var a=r.state.__a;r.__v.__k[0]=ts(a,a.__c.__P,a.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},c=t.__h===!0;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},It.prototype.componentWillUnmount=function(){this.t=[]},It.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]=es(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&k(ve,null,e.fallback);return o&&(o.__h=null),[k(ve,null,t.__a?null:e.children),o]};var Dr=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 Wi(e){return this.getChildContext=function(){return e.context},e.children}function qi(e){var t=this,n=e.i;t.componentWillUnmount=function(){He(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(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)}}),He(k(Wi,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function os(e,t){var n=k(qi,{__v:e,i:t});return n.containerInfo=t,n}(st.prototype=new be).__a=function(e){var t=this,n=ns(t.__v),r=t.o.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),Dr(t,e,r)):o()};n?n(s):s()}},st.prototype.render=function(e){this.u=null,this.o=new Map;var t=Me(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},st.prototype.componentDidUpdate=st.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Dr(e,n,t)})};var ss=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Zi=/^(?: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]/,Ji=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ki=/[A-Z0-9]/g,Yi=typeof document<"u",Xi=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function is(e,t,n){return t.__k==null&&(t.textContent=""),He(e,t),typeof n=="function"&&n(),e?e.__c:null}function us(e,t,n){return Qn(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Vr=S.event;function Qi(){}function eu(){return this.cancelBubble}function tu(){return this.defaultPrevented}S.event=function(e){return Vr&&(e=Vr(e)),e.persist=Qi,e.isPropagationStopped=eu,e.isDefaultPrevented=tu,e.nativeEvent=e};var rr,nu={enumerable:!1,configurable:!0,get:function(){return this.class}},Lr=S.vnode;S.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var s in n){var i=n[s];if(!(s==="value"&&"defaultValue"in n&&i==null||Yi&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var u=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&i===!0?i="":u==="ondoubleclick"?s="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||Xi(n.type)?u==="onfocus"?s="onfocusin":u==="onblur"?s="onfocusout":Ji.test(s)?s=u:r.indexOf("-")===-1&&Zi.test(s)?s=s.replace(Ki,"-$&").toLowerCase():i===null&&(i=void 0):u=s="oninput",u==="oninput"&&o[s=u]&&(s="oninputCapture"),o[s]=i}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Me(n.children).forEach(function(c){c.props.selected=o.value.indexOf(c.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Me(n.children).forEach(function(c){c.props.selected=o.multiple?o.defaultValue.indexOf(c.props.value)!=-1:o.defaultValue==c.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",nu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=ss,Lr&&Lr(e)};var Hr=S.__r;S.__r=function(e){Hr&&Hr(e),rr=e.__c};var jr=S.diffed;S.diffed=function(e){jr&&jr(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),rr=null};var ls={ReactCurrentDispatcher:{current:{readContext:function(e){return rr.__n[e.__c].props.value}}}},ru="17.0.2";function cs(e){return k.bind(null,e)}function or(e){return!!e&&e.$$typeof===ss}function as(e){return or(e)?er.apply(null,arguments):e}function fs(e){return!!e.__k&&(He(null,e),!0)}function ds(e){return e&&(e.base||e.nodeType===1&&e)||null}var hs=function(e,t){return e(t)},ps=function(e,t){return e(t)},_s=ve;function sr(e){e()}function ms(e){return e}function ws(){return[!1,sr]}var gs=Dt;function ys(e,t){var n=t(),r=Ft({h:{__:n,v:t}}),o=r[0].h,s=r[1];return Dt(function(){o.__=n,o.v=t,Tn(o.__,t())||s({h:o})},[e,n,t]),pn(function(){return Tn(o.__,o.v())||s({h:o}),e(function(){Tn(o.__,o.v())||s({h:o})})},[e]),n}var bs={useState:Ft,useId:Zo,useReducer:tr,useEffect:pn,useLayoutEffect:Dt,useInsertionEffect:gs,useTransition:ws,useDeferredValue:ms,useSyncExternalStore:ys,startTransition:sr,useRef:Bo,useImperativeHandle:Go,useMemo:_n,useCallback:zo,useContext:Wo,useDebugValue:qo,version:"17.0.2",Children:Qo,render:is,hydrate:us,unmountComponentAtNode:fs,createPortal:os,createElement:k,createContext:jo,createFactory:cs,cloneElement:as,createRef:Ro,Fragment:ve,isValidElement:or,findDOMNode:ds,Component:be,PureComponent:rn,memo:Yo,forwardRef:Xo,flushSync:ps,unstable_batchedUpdates:hs,StrictMode:_s,Suspense:It,SuspenseList:st,lazy:rs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ls};const ou=Object.freeze(Object.defineProperty({__proto__:null,Children:Qo,Component:be,Fragment:ve,PureComponent:rn,StrictMode:_s,Suspense:It,SuspenseList:st,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ls,cloneElement:as,createContext:jo,createElement:k,createFactory:cs,createPortal:os,createRef:Ro,default:bs,findDOMNode:ds,flushSync:ps,forwardRef:Xo,hydrate:us,isValidElement:or,lazy:rs,memo:Yo,render:is,startTransition:sr,unmountComponentAtNode:fs,unstable_batchedUpdates:hs,useCallback:zo,useContext:Wo,useDebugValue:qo,useDeferredValue:ms,useEffect:pn,useErrorBoundary:ji,useId:Zo,useImperativeHandle:Go,useInsertionEffect:gs,useLayoutEffect:Dt,useMemo:_n,useReducer:tr,useRef:Bo,useState:Ft,useSyncExternalStore:ys,useTransition:ws,version:ru},Symbol.toStringTag,{value:"Module"}));function Ce(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function su(e){return e!=null&&typeof e.GetEnumerator=="function"}function iu(e){return e!=null&&typeof e.CompareTo=="function"}function uu(e){return e!=null&&typeof e.Equals=="function"}function lu(e){return e!=null&&typeof e.GetHashCode=="function"}function Ln(e){return e!=null&&typeof e.Dispose=="function"}function R(e){Ln(e)&&e.Dispose()}function Ee(){return null}function on(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 cu{constructor(t){this.iter=t,this.current=Ee()}"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 j(e){return su(e)?e.GetEnumerator():new cu(e[Symbol.iterator]())}function mn(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}}}}class au{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function te(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function fu(e,t,n){let r=e.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<n;)r=r+"0";return r}function Ur(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function du(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function Ye(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class Fe{static id(t){return Fe.idMap.has(t)||Fe.idMap.set(t,++Fe.count),Fe.idMap.get(t)}}Fe.idMap=new WeakMap;Fe.count=0;function ir(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Te(e){return e*2654435761|0}function hu(e){return ir(e.toString(32))}function Vt(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 pu(e){return e.getTime()}function _u(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Oe(e[r]);return Vt(n)}function Oe(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Te(e);case"bigint":return hu(e);case"string":return ir(e);default:{if(lu(e))return e.GetHashCode();if(Ce(e))return _u(e);if(e instanceof Date)return pu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Oe(r));return Vt(n)}else return Te(Fe.id(e))}}}function Hn(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 Ss(e,t){return Hn(e,t,ee)}function mu(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]||!ee(e[n[o]],t[r[o]]))return!1;return!0}function ee(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:uu(e)?e.Equals(t):Ce(e)?Ce(t)&&Ss(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&vs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&mu(e,t)}function vs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Ur(e),r=t.getTime()+Ur(t)),n===r?0:n<r?-1:1}function wn(e,t){return e===t?0:e<t?-1:1}function wu(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 Cs(e,t){return wu(e,t,pe)}function gu(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=pe(e[i],t[i]),s!==0)return s}return 0}function pe(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:iu(e)?e.CompareTo(t):Ce(e)?Ce(t)?Cs(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?vs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?gu(e,t):-1}function ct(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function yu(e){Ce(e)?e.splice(0):e.clear()}const gn=new WeakMap;function F(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return gn.set(t,e),t}function Je(e){return gn.get(e)??(t=>n=>e(t,n))}function jn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return gn.set(t,e),t}function $n(e){return gn.get(e)??(t=>n=>r=>e(t,n,r))}function bu(e){let t=0,n="[";for(const r of e){if(t===0)n+=Se(r);else if(t===100){n+="; ...";break}else n+="; "+Se(r);t++}return n+"]"}function Se(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 bu(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+Se(s,t+1)).join(`
2
- `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function Su(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Se(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Se(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class U{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Su(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Oe(n));return t.splice(0,0,Te(this.tag)),Vt(t)}Equals(t){return this===t?!0:on(this,t)&&this.tag===t.tag?Ss(this.fields,t.fields):!1}CompareTo(t){return this===t?0:on(this,t)?this.tag===t.tag?Cs(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function vu(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Cu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Se(n)).join(`
3
- `)+" }"}function Eu(e){const t=Object.values(e).map(n=>Oe(n));return Vt(t)}function xu(e,t){if(e===t)return!0;if(on(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!ee(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function ku(e,t){if(e===t)return 0;if(on(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=pe(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class re{toJSON(){return vu(this)}toString(){return Cu(this)}GetHashCode(){return Eu(this)}Equals(t){return xu(this,t)}CompareTo(t){return ku(this,t)}}class oe{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 Tu{constructor(t){this.message=t}}function $u(e){return e instanceof Tu||e instanceof Error}function Iu(e){return e instanceof Promise}function sn(e){return $u(e)||Iu(e)?e:new Error(String(e))}const bt=Symbol("numeric");function Es(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[bt])}function Mu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Un(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[bt]().multiply(t)}function Qt(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[bt]().toFixed(t)}function un(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[bt]().toPrecision(t)}function ln(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[bt]().toExponential(t)}function cn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[bt]().toHex()}class Pu{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class _e{constructor(t,n,r,o,s,i,u){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=s,this.cases=i,this.enumCases=u}toString(){return A(this)}GetHashCode(){return xs(this)}Equals(t){return Bn(this,t)}}function ue(e){return e.generics!=null?e.generics:[]}function xs(e){const t=ir(e.fullname),n=ue(e).map(xs);return Vt([t,...n])}function Bn(e,t){return e.fullname===""?t.fullname===""&&Hn(Pt(e),Pt(t),([n,r],[o,s])=>n===o&&Bn(r,s)):e.fullname===t.fullname&&Hn(ue(e),ue(t),Bn)}function Ou(e,t,n,r){return new _e(e,t,n,r)}function Lt(e,t,n,r){return new _e(e,t,n,void 0,r)}function Au(...e){return new _e("",void 0,void 0,void 0,()=>e)}function ks(e,t,n,r){const o=new _e(e,t,n,void 0,void 0,()=>{const s=n.prototype.cases();return r().map((i,u)=>new Pu(o,u,s[u],i))});return o}function Ru(e){return new _e("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Ts=new _e("System.Object"),Qe=new _e("System.String"),Nu=new _e("System.Int32");function at(e){if(Array.isArray(e))return e[0];if(e instanceof _e){const t=Ht(e);if(t!=null)return at(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function A(e){const t=Ht(e);return t!=null?A(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>A(n)).join(",")+"]"}function $s(e){return Ht(e)!=null}function Ht(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Is(e){return e.generics!=null&&e.generics.length>0}function ur(e){return e.enumCases!=null&&e.enumCases.length>0}function Ms(e){return e.generics==null?e:new _e(e.fullname,e.generics.map(()=>Ts))}function Ps(e){var t;return(t=e.generics)==null?void 0:t[0]}function tt(e){if(ur(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Fu(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 nt(e,t){const n=parseInt(t,10);return Fu(e,isNaN(n)?t:n)[1]}function Os(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Pt(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function As(e){if(lr(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Rs(e){return e instanceof _e?e.cases!=null:e instanceof U}function Ns(e){return e instanceof _e?e.fields!=null:e instanceof re}function lr(e){return e.fullname.startsWith("System.Tuple")}function Du(e,t){const r=Os(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function Fs(e){return e.fields==null?[]:e.fields}function Vu(e,t){return e[t[0]]}function Lu(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 Hu(e,t){const n=Pt(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 ju(e,t){return e}class Uu{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 cr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,cr.prototype)}}class ar{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>ar.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function De(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new cr);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(sn(n))}});else try{e(t)}catch(n){t.onError(sn(n))}}}function Bu(e,t){return De(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(sn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Gu(e){return De(t=>t.onSuccess(e))}class zu{Bind(t,n){return Bu(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return De(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 Gu(t)}ReturnFrom(t){return t}TryFinally(t,n){return De(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 De(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(sn(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 De(t=>t.onSuccess(void 0))}}const G=new zu;class _t{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Oe(this.value)}Equals(t){return t==null?!1:ee(this.value,t instanceof _t?t.value:t)}CompareTo(t){return t==null?1:pe(this.value,t instanceof _t?t.value:t)}}function y(e){if(e==null)throw new Error("Option has no value");return e instanceof _t?e.value:e}function ne(e){return e==null||e instanceof _t?new _t(e):e}function Gn(e,t){return e!=null?y(e):t}function Wu(e,t){return e!=null?y(e):t()}function qu(e,t){return t!=null?ne(e(y(t))):void 0}function Zu(e){return new p(0,[e])}function Ds(e){return new p(1,[e])}class p extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function he(e,t){return t.tag===0?Zu(e(t.fields[0])):Ds(t.fields[0])}function Ju(e,t){return t.tag===0?e(t.fields[0]):Ds(t.fields[0])}function Ku(e){return new Vs(0,[e])}function Yu(e){return new Vs(1,[e])}class Vs extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Xu(e){return Ku(e)}function Qu(e){return Yu(e)}function In(e){}const el=new Uu;function tl(e){return De(t=>{e({onSuccess:n=>t.onSuccess(Xu(n)),onError:n=>t.onSuccess(Qu(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function nl(e){return De(t=>e([t.onSuccess,t.onError,t.onCancel]))}function rl(e,t){return sl(e,t)}function ol(e,t){return rl(e,t)}function sl(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new ar;e({onSuccess:t||In,onError:n||In,onCancel:r||In,cancelToken:o||el,trampoline:s})}class fr extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ls extends U{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Hs extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class jt extends re{constructor(t,n,r,o,s,i,u,c){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=s,this.overridenResponseType=i,this.timeout=u,this.content=c}}class ot extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class js extends re{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 dr(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+te(n,2)+":"+te(r,2)}function an(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 il(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return te(e.getFullYear(),4)+"-"+te(e.getMonth()+1,2)+"-"+te(e.getDate(),2)+"T"+te(e.getHours(),2)+":"+te(e.getMinutes(),2)+":"+te(e.getSeconds(),2)+"."+te(e.getMilliseconds(),3)+(n?dr(e.getTimezoneOffset()*-6e4):"")}}function ul(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+dr(t)}function Us(e,t,n){return t.replace(/(\w)\1*/g,r=>{let o=Number.NaN;switch(r.substring(0,1)){case"y":const s=n?e.getUTCFullYear():e.getFullYear();o=r.length<4?s%100:s;break;case"M":o=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":o=n?e.getUTCDate():e.getDate();break;case"H":o=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();o=i>12?i%12:i;break;case"m":o=n?e.getUTCMinutes():e.getMinutes();break;case"s":o=n?e.getUTCSeconds():e.getSeconds();break;case"f":o=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(o)?r:te(o,r.length)})}function ll(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," ")+dr(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return an(n,"first");case"T":case"t":return an(n,"second");case"O":case"o":return ul(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Us(n,t,!0)}function cl(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?an(e,"first"):e.toLocaleDateString();case"T":case"t":return n?an(e,"second"):e.toLocaleTimeString();case"O":case"o":return il(e,n);default:throw new Error("Unrecognized Date print format")}else return Us(e,t,n)}function yn(e,t,n){return e.offset!=null?ll(e,t):cl(e,t)}function hr(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function al(){return hr(-621355968e5,0)}function Bs(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 u=o[2].split(":");i=parseInt(u[0],10)*3600+parseInt(u[1]||"0",10)*60+parseFloat(u[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const u=new Date;s=new Date(u.getUTCFullYear()+"/"+(u.getUTCMonth()+1)+"/"+u.getUTCDate())}if(o[4]==="Z")r="Z";else{let u=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(u*=-1),r=u,i-=u*60}}else if(o[1]!=null)s=new Date(o[1]);else{const u=new Date;s=new Date(u.getFullYear()+"/"+(u.getMonth()+1)+"/"+u.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 fl(e,t=!1){const[n,r]=Bs(e),o=r!=null?t&&r==="Z"?1:2:0;return hr(n.getTime(),o)}function dl(e,t){try{return t.contents=fl(e),!0}catch{return!1}}function hl(e){return e.kind===1?e:hr(e.getTime(),1)}function pl(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 Gs(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Br(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 _l(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const u=[],c=arguments.length,a=typeof arguments[c-1]!="string";let f=a?c-3:c-2;for(let l=0;l<f;l++)u.push(arguments[l]);u.index=arguments[f++],u.input=arguments[f++],a&&(u.groups=arguments[f]),i=n(u)}return i}if(typeof e=="string"){const i=e;e=pl(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 u=t.substring(o),c=Br(e,u),a=Br.length>r?(i=c[r-1],u.substring(0,i.index+i[0].length)):u;return t.substring(0,o)+a.replace(e,n)+t.substring(o+a.length)}else return t.replace(e,n)}const Et=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,ml=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function zs(e,t){return Mu(e,t)<0}function je(e){return{input:e,cont:gl(e)}}function Ws(e,t){return typeof t=="string"?e(t):t.cont(e)}function mt(e){return Ws(t=>t,e)}function qs(e){return Ws(t=>{throw new Error(t)},e)}function wl(e,t,n,r,o){let s="";if(t=t||"",o=o||"",Es(e))switch(o.toLowerCase()!=="x"&&(zs(e,0)?(e=Un(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=Qt(e,r);break;case"g":case"G":e=r!=null?un(e,r):un(e);break;case"e":case"E":e=r!=null?ln(e,r):ln(e);break;case"x":e=cn(e);break;case"X":e=cn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=yn(e):e=Se(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,u=t.indexOf("-")>=0,c=u||!i?" ":"0";c==="0"?(e=Ot(e,n-s.length,c,u),e=s+e):e=Ot(s+e,n,c,u)}return e}function Zs(e,t,n,r="",o=-1){return(...s)=>{let i=r;const u=t.slice(),c=n.slice();for(const a of s){const[,,f,l,_,h]=c[0];let d=l;if(o>=0)d=o,o=-1;else if(d==="*"){if(a<0)throw new Error("Non-negative number required");o=a;continue}i+=u[0],i+=wl(a,f,d,_,h),u.splice(0,1),c.splice(0,1)}return c.length===0?(i+=u[0],e(i)):Zs(e,u,c,i,o)}}function gl(e){return t=>{Et.lastIndex=0;const n=[],r=[];let o=0,s=Et.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Et.lastIndex,Et.lastIndex-=1,s=Et.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Zs(t,n,r))}}function yl(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(ml,(r,o,s,i,u,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 a=t[o];if(Es(a))switch(u=u==null?null:parseInt(u,10),i){case"f":case"F":u=u??2,a=Qt(a,u);break;case"g":case"G":a=u!=null?un(a,u):un(a);break;case"e":case"E":a=u!=null?ln(a,u):ln(a);break;case"p":case"P":u=u??2,a=Qt(Un(a,100),u)+" %";break;case"d":case"D":a=u!=null?Mn(String(a),u,"0"):String(a);break;case"x":case"X":a=u!=null?Mn(cn(a),u,"0"):cn(a),i==="X"&&(a=a.toUpperCase());break;default:if(c){let f="";a=c.replace(/([0#,]+)(\.[0#]+)?/,(l,_,h)=>{zs(a,0)&&(a=Un(a,-1),f="-"),h=h==null?"":h.substring(1),a=Qt(a,Math.max(h.length,0));let[d,m]=a.split(".");m||(m="");const w=_.replace(/,/g,"").replace(/^#+/,"").length;d=Mn(d,w,"0");const g=h.replace(/#+$/,"").length;if(g>m.length?m=Sl(m,g,"0"):g<m.length&&(m=m.substring(0,g)+m.substring(g).replace(/0+$/,"")),_.indexOf(",")>0){const v=d.length%3,x=Math.floor(d.length/3);let B=v>0?d.substr(0,v)+(x>0?",":""):"";for(let D=0;D<x;D++)B+=d.substr(v+D*3,3)+(D<x-1?",":"");d=B}return m.length>0?d+"."+m:d}),a=f+a}}else a instanceof Date?a=yn(a,c||i):a=Se(a);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(a=Ot(String(a),Math.abs(s)," ",s<0)),a})}function bl(e){return typeof e!="string"||e.length===0}function Ue(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Ot(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 Mn(e,t,n){return Ot(e,t,n)}function Sl(e,t,n){return Ot(e,t,n,!0)}function vl(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(Gs),t=t.length>0?t:["\\s"];const i=[],u=new RegExp(t.join("|"),"g");let c=!0,a=0;do{const f=u.exec(e);if(f===null){const l=s?e.substring(a).trim():e.substring(a);(!o||l.length>0)&&i.push(l),c=!1}else{const l=s?e.substring(a,f.index).trim():e.substring(a,f.index);(!o||l.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(a).trim():e.substring(a)),c=!1):i.push(l)),a=u.lastIndex}}while(c);return i}function Cl(e,...t){if(t.length===0)return e.trim();const n="["+Gs(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const Js="Collection was empty.";function Ks(e,t){return typeof e=="function"?new e(t):new Array(t)}function Gr(e,t){return e>t?e:t}function bn(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function St(e,t,n){const r=t.length|0,o=Ks(n,r);for(let s=0;s<=r-1;s++)o[s]=e(t[s]);return o}function El(e,t){const n=Ks(t,1);return n[0]=e,n}function xl(e){return e.slice().reverse()}function kl(e,t){return t.find(e)}function Tl(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(t[o]);if(s!=null){const i=y(s);r.push(i)}}return ee(n,Ee())?r:St(o=>o,r,n)}function Sn(e,t,n){return n.reduce(e,t)}function Ys(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class le extends re{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+Ue("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,u=s,c=i.tail,a=u.tail;if(c!=null)if(a!=null){const f=y(c),l=y(a);if(ee(i.head,u.head)){o=f,s=l;continue e}else return!1}else return!1;else return a==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,u=o,c=s,a=c.tail;if(a!=null){const f=y(a);if(i>18)return u|0;r=i+1,o=(u<<1)+Oe(c.head)+631*i,s=f;continue e}else return u|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,u=s,c=i.tail,a=u.tail;if(c!=null)if(a!=null){const f=y(c),l=y(a),_=pe(i.head,u.head)|0;if(_===0){o=f,s=l;continue e}else return _|0}else return 1;else return a!=null?-1:0}})(this,t)|0}GetEnumerator(){return Il(this)}[Symbol.iterator](){return mn(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return j(this)}}class $l{constructor(t){this.xs=t,this.it=this.xs,this.current=Ee()}"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=Ee()}Dispose(){}}function Il(e){return new $l(e)}function J(){return new le(Ee(),void 0)}function Ut(e,t){return new le(e,t)}function pr(e){return e.tail==null}function Ml(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 Xs(e){if(e.tail!=null)return e.head;throw new Error(Js+"\\nParameter name: list")}function Ae(e){const t=e.tail;if(t!=null)return y(t);throw new Error(Js+"\\nParameter name: list")}function K(){return J()}function ae(e,t){return Ut(e,t)}function xe(e){return Ut(e,J())}function $(e){return pr(e)}function C(e){return Xs(e)}function T(e){return Ae(e)}function Bt(e){const t=Ml(e)|0,n=bn(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,u=s;if(!pr(u)){n[i]=Xs(u),o=i+1,s=Ae(u);continue e}break}})(0,e),n}function ke(e,t,n){let r=t,o=n;for(;!pr(o);)r=e(r,C(o)),o=Ae(o);return r}function _r(e){return ke((t,n)=>Ut(n,t),J(),e)}function Pl(e,t,n){return Ys(e,Bt(t),n)}function fn(e,t){ke((n,r)=>{e(r)},void 0,t)}function N(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Ut(e[r],n);return n}function fe(e){return N(e,J())}function Ol(e){let t,n;if(Ce(e))return fe(e);if(e instanceof le)return e;{const r=J();let o=r;const s=j(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new le(c,void 0),t.tail=n,n)}}finally{R(s)}const i=o,u=J();return i.tail=u,Ae(r)}}function mr(e,t){return ke((n,r)=>Ut(r,n),t,_r(e))}function it(e,t){const n=J(),r=ke((s,i)=>{const u=new le(e(i),void 0);return s.tail=u,u},n,t),o=J();return r.tail=o,Ae(n)}function Al(e,t){const n=J(),r=ke((s,i)=>{if(e(i)){const u=new le(i,void 0);return s.tail=u,u}else return s},n,t),o=J();return r.tail=o,Ae(n)}function Rl(e,t){const n=J(),r=J(),o=n,s=ke((c,a)=>{let f,l;const _=c[0],h=c[1];return e(a)?[(f=new le(a,void 0),_.tail=f,f),h]:[_,(l=new le(a,void 0),h.tail=l,l)]},[o,r],t),i=J();s[0].tail=i;const u=J();return s[1].tail=u,[Ae(o),Ae(r)]}function Nl(e,t){const n=J(),r=ke((s,i)=>{const u=e(i);if(u==null)return s;{const c=new le(y(u),void 0);return s.tail=c,c}},n,t),o=J();return r.tail=o,Ae(n)}function Fl(e,t){return ke((n,r)=>n&&e(r),!0,t)}function Dl(e){throw new Error(e)}const Vl="Enumeration already finished.",Ll="Enumeration has not started. Call MoveNext.",Qs="The input sequence has an insufficient number of elements.",Hl="Reset is not supported on this enumerator.";function jl(){throw new Error(Hl)}function wr(){throw new Error(Ll)}function zn(){throw new Error(Vl)}class Ul{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=j(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+Se(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{R(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return mn(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Bl(e){return new Ul(e)}class Gl{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"(){jl()}Dispose(){this.dispose()}}function vn(e,t,n){return new Gl(e,t,n)}function zl(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const u=y(n);try{R(u)}finally{n=void 0}}if(t!=null){const u=y(t);try{R(u)}finally{t=void 0}}};return vn(()=>(r?o&&zn():wr(),s!=null?y(s):zn()),()=>{let u;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const a=t,f=n;if(a!=null)if(f!=null){const l=y(f);if(l["System.Collections.IEnumerator.MoveNext"]())s=ne(l["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{R(l)}finally{n=void 0}}else{const l=y(a);l["System.Collections.IEnumerator.MoveNext"]()?n=(u=l["System.Collections.Generic.IEnumerator`1.get_Current"](),j(u)):(i(),c=!1)}else t=j(e)}return y(c)}},()=>{o||i()})}function Wl(e,t){return vn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{R(t)}finally{e()}})}function ei(e,t,n){let r=!1,o,s=ne(e());const i=()=>{if(s!=null){const c=y(s);try{n(c)}finally{s=void 0}}},u=()=>{try{i()}finally{o=void 0}};return vn(()=>(r||wr(),o!=null?y(o):zn()),()=>{if(r||(r=!0),s!=null){const c=y(s);let a;try{a=t(c)}catch(f){throw u(),f}return a!=null?(o=a,!0):(u(),!1)}else return!1},i)}function ql(e,t){let n,r=t;return vn(()=>{if(n!=null){const o=y(n)[0];return y(n)[1],o}else return wr()},()=>(n=e(r),n!=null?(y(n)[0],r=y(n)[1],!0):!1),()=>{})}function Zl(e,t){t==null&&Dl(e)}function vt(e){return Bl(e)}function Be(e){return Zl("source",e),j(e)}function z(e){return vt(()=>j(e()))}function ti(e){return vt(()=>zl(e))}function Jl(e,t){return vt(()=>ql(e,t))}function W(e){return z(()=>El(e))}function Kl(e){return e instanceof le?Bt(e):Array.from(e)}function ft(e){return Ce(e)?fe(e):e instanceof le?e:Ol(e)}function Yl(e,t,n){return vt(()=>ei(e,t,n))}function ni(e,t,n){return vt(()=>{let r=-1;return ei(e,o=>(r=r+1|0,t(r,o)),n)})}function Le(e,t){return ti([e,t])}function Xl(e,t,n){const r=Be(t);try{const o=Be(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),u=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&u;)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"](),u=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:u?-1:0)|0}finally{R(o)}}finally{R(r)}}function rt(e,t,n){const r=Be(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{R(r)}}function Cn(e,t,n){const r=Be(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{R(r)}}function ri(e,t){Cn((n,r)=>{e(r)},void 0,t)}function de(e,t){return Yl(()=>Be(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ne(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{R(n)})}function Ql(e,t){return ni(()=>Be(t),(n,r)=>r["System.Collections.IEnumerator.MoveNext"]()?ne(e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{R(n)})}function ec(e){return z(()=>xl(Kl(e)))}function tc(e,t){return vt(()=>{const n=Be(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Qs+"\\nParameter name: source");return Wl(()=>{},n)}catch(r){throw R(n),r}})}function nc(e,t){return ni(()=>Be(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ne(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Qs+"\\nParameter name: source")}else return},n=>{R(n)})}function rc(e,t){return z(()=>ti(de(e,t)))}class oi{constructor(t,n){this.k=t,this.v=n}}function At(e,t){return new oi(e,t)}function H(e){return e.k}function Q(e){return e.v}class L extends oi{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function Mt(e,t,n,r,o){return new L(e,t,n,r,o)}function q(e){return e.left}function Z(e){return e.right}function Ve(e){return e.h}function si(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof L){const s=o;e=si(n+1,q(s)),t=Z(s);continue e}else return n+1|0}else return n|0}}function oc(e){return si(0,e)}function me(e,t,n,r){let o,s,i;const u=e;if(u!=null){const l=y(u);i=l instanceof L?(o=l,Ve(o)):1}else i=0;let c;const a=r;if(a!=null){const l=y(a);c=l instanceof L?(s=l,Ve(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?At(t,n):Mt(t,n,e,r,f+1)}function zr(e,t,n,r){let o,s,i,u,c,a,f,l,_;const h=e;if(h!=null){const w=y(h);_=w instanceof L?(o=w,Ve(o)):1}else _=0;let d;const m=r;if(m!=null){const w=y(m);d=w instanceof L?(s=w,Ve(s)):1}else d=0;if(d>_+2){const w=y(r);if(w instanceof L){const g=w;if(i=q(g),(i!=null?(u=y(i),u instanceof L?(c=u,Ve(c)):1):0)>_+1){const v=y(q(g));if(v instanceof L){const x=v;return me(me(e,t,n,q(x)),H(x),Q(x),me(Z(x),H(g),Q(g),Z(g)))}else throw new Error("internal error: Map.rebalance")}else return me(me(e,t,n,q(g)),H(g),Q(g),Z(g))}else throw new Error("internal error: Map.rebalance")}else if(_>d+2){const w=y(e);if(w instanceof L){const g=w;if(a=Z(g),(a!=null?(f=y(a),f instanceof L?(l=f,Ve(l)):1):0)>d+1){const v=y(Z(g));if(v instanceof L){const x=v;return me(me(q(g),H(g),Q(g),q(x)),H(x),Q(x),me(Z(x),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return me(q(g),H(g),Q(g),me(Z(g),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return me(e,t,n,r)}function wt(e,t,n,r){if(r!=null){const o=y(r),s=e.Compare(t,H(o))|0;if(o instanceof L){const i=o;return s<0?zr(wt(e,t,n,q(i)),H(i),Q(i),Z(i)):s===0?Mt(t,n,q(i),Z(i),Ve(i)):zr(q(i),H(i),Q(i),wt(e,t,n,Z(i)))}else return s<0?Mt(t,n,void 0,r,2):s===0?At(t,n):Mt(t,n,r,void 0,2)}else return At(t,n)}function ii(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),u=r.Compare(o,H(i))|0;if(u===0)return ne(Q(i));if(i instanceof L){const c=i;e=r,t=o,n=u<0?q(c):Z(c);continue e}else return}else return}}function sc(e,t,n){const r=ii(e,t,n);if(r==null)throw new Error;return y(r)}function ic(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),u=r.Compare(o,H(i))|0;if(i instanceof L){const c=i;if(u<0){e=r,t=o,n=q(c);continue e}else{if(u===0)return!0;e=r,t=o,n=Z(c);continue e}}else return u===0}else return!1}}function ui(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof L){const s=o;ui(n,q(s)),n(H(s),Q(s)),e=n,t=Z(s);continue e}else n(H(o),Q(o))}break}}function uc(e,t){ui(e,t)}function Wn(e,t){if(t!=null){const n=y(t);if(n instanceof L){const r=n,o=Wn(e,q(r)),s=e(H(r),Q(r)),i=Wn(e,Z(r));return Mt(H(r),s,o,i,Ve(r))}else return At(H(n),e(H(n),Q(n)))}else return void 0}function lc(e,t){return Wn(e,t)}function cc(e,t,n){let r=n;uc((o,s)=>{t[r]=[o,s],r=r+1|0},e)}function ac(e,t){return ke((n,r)=>wt(e,r[0],r[1],n),void 0,t)}function fc(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=wt(r,i[0],i[1],o),n=s;continue e}else return o}}function dc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=wt(e,o[0],o[1],n)}return n}function li(e,t){if(Ce(t))return dc(e,t);if(t instanceof le)return ac(e,t);{const n=j(t);try{return fc(e,void 0,n)}finally{R(n)}}}class hc extends re{constructor(t,n){super(),this.stack=t,this.started=n}}function ci(e){e:for(;;){const t=e;if($(t))return K();{const n=T(t),r=C(t);if(r!=null){const o=y(r);if(o instanceof L){const s=o;e=N([q(s),At(H(s),Q(s)),Z(s)],n);continue e}else return t}else{e=n;continue e}}}}function Wr(e){return new hc(ci(xe(e)),!1)}function pc(){throw new Error("enumeration not started")}function _c(){throw new Error("enumeration already finished")}function qr(e){if(e.started){const t=e.stack;if($(t))return _c();if(C(t)!=null){const n=y(C(t));if(n instanceof L)throw new Error("Please report error: Map iterator, unexpected stack for current");return[H(n),Q(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return pc()}function mc(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(y(C(t))instanceof L)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ci(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 Zr(e){let t=Wr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return qr(t)},"System.Collections.IEnumerator.get_Current"(){return qr(t)},"System.Collections.IEnumerator.MoveNext"(){return mc(t)},"System.Collections.IEnumerator.Reset"(){t=Wr(e)},Dispose(){}}}class dn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Sc(this)|0}Equals(t){const n=this;if(t instanceof dn){const r=t,o=j(n);try{const s=j(r);try{const i=()=>{const u=o["System.Collections.IEnumerator.MoveNext"]();if(u===s["System.Collections.IEnumerator.MoveNext"]())if(u){const c=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return ee(c[0],a[0])&&ee(c[1],a[1])?i():!1}else return!0;else return!1};return i()}finally{R(s)}}finally{R(o)}}else return!1}toString(){return"map ["+Ue("; ",de(n=>yl("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Zr(this.tree)}[Symbol.iterator](){return mn(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Zr(this.tree)}CompareTo(t){const n=this;if(t instanceof dn)return Xl((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:pe(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 Kr(n,t[0])&&ee(Jr(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){cc(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Pn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Pn(this)|0}get size(){return Pn(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return de(n=>[n[0],n[1]],this)}get(t){return Jr(this,t)}has(t){return Kr(this,t)}keys(){return de(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return de(n=>n[1],this)}forEach(t,n){const r=this;ri(o=>{t(o[1],o[0],r)},r)}}function Gt(e,t){return new dn(e,t)}function wc(e){return Gt(e,void 0)}function gc(e,t,n){return Gt(e.comparer,wt(e.comparer,t,n,e.tree))}function Jr(e,t){return sc(e.comparer,t,e.tree)}function yc(e,t){return Gt(e.comparer,lc(t,e.tree))}function Pn(e){return oc(e.tree)}function Kr(e,t){return ic(e.comparer,t,e.tree)}function bc(e,t){return ii(e.comparer,t,e.tree)}function Sc(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=j(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Oe(o[0]))|0,n=t(n,Oe(o[1]))|0}}finally{R(r)}return n|0}function ai(e,t,n){return gc(n,e,t)}function fi(e,t){return bc(t,e)}function di(e,t){return yc(t,e)}function vc(e,t){return Gt(t,li(t,e))}function Cc(e,t){return Gt(t,li(t,e))}function gr(e){return wc(e)}function Ec(e){return new Ls("Content-Type",e)}function hi(e){return new Ls("Authorization",e)}const We=new jt("",new fr(0,[]),K(),!1,void 0,void 0,void 0,new Hs(0,[]));new js(0,"","","",gr({Compare:wn}),new ot(0,[""]));function Yr(e,t){return bl(t)?[t]:vl(t,[e],void 0,0)}function xc(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 pi(e){return new jt(e,We.method,We.headers,We.withCredentials,We.overridenMimeType,We.overridenResponseType,We.timeout,We.content)}function _i(e,t){return new jt(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function qn(e,t){return new jt(t.url,t.method,mr(t.headers,xe(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function kc(e,t){return new jt(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function mi(e){return nl(t=>{const n=new XMLHttpRequest;n.open(xc(e.method),e.url),n.onreadystatechange=()=>{let c,a,f,l,_,h,d;n.readyState===4&&t[0]((c=(a=n.responseType,a===""||a==="text"?n.responseText:""),f=n.status|0,l=n.responseType,_=(h=n.responseType,h===""?new ot(0,[n.responseText]):h==="text"?new ot(0,[n.responseText]):h==="arraybuffer"?new ot(2,[n.response]):h==="blob"?new ot(1,[n.response]):new ot(3,[n.response])),d=Cc(Tl(m=>{const w=fe(Yr(":",m));if(!$(w))return[C(w).toLocaleLowerCase(),Ue(":",T(w)).trim()]},Yr(`\r
4
- `,n.getAllResponseHeaders())),{Compare:wn}),new js(f,c,l,n.responseURL,d,_)))};const r=j(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{R(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 u=e.content;switch(u.tag){case 1:{n.send(ne(u.fields[0]));break}case 3:{n.send(ne(u.fields[0]));break}case 2:{n.send(ne(u.fields[0]));break}default:n.send()}})}const Ke={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function On(e,t){return e.replace(/[a-z]?[A-Z]/g,n=>n.length===1?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function Tc(e,t){switch(t){case Ke.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Ke.SnakeCase:return On(e,"_");case Ke.SnakeCaseAllCaps:return On(e,"_").toUpperCase();case Ke.KebabCase:return On(e,"-");case Ke.None:default:return e}}function $c(e,t=Ke.None){const n={},r=t;function o(i){throw new Error("Cannot infer key and value of "+String(i))}function s(i,u,c){i=Tc(i,u),n[i]=c}for(let i of e){let u=Ke.None;if(i==null&&o(i),i instanceof U){const c=i.cases()[i.tag];i=i.fields.length===0?c:[c].concat(i.fields),u=r}if(Array.isArray(i))switch(i.length){case 0:o(i);break;case 1:s(i[0],u,!0);break;case 2:const c=i[1];s(i[0],u,c);break;default:s(i[0],u,i.slice(1))}else typeof i=="string"?s(i,u,!0):o(i)}return n}class b extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class En extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Xr(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function wi(e,t){switch(e.tag){case 2:return _l(Xr(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Xr(t)}}const Ic=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Qr=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Mc=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Pc(e){function t(r){return r.replace(Qr,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ic.test(n))return Cl(n,"{","}","(",")");if(Qr.test(n))return t(n);if(Mc.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 Oc(e,t){try{return t.contents=Pc(e),!0}catch{return!1}}var Zn;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(Zn||(Zn={}));function Ac(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function eo(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 Rc(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 Nc(e,t){if(t&Zn.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 Fc(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||Nc(s,t),!Rc(n).test(i))return Ac(o,n)}return null}function Dc(e,t,n,r,o){const s=Fc(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[u,c]=eo(!0,r);!n&&s.radix!==10&&i>=u&&i<=c&&(i=i<<32-r>>32-r);const[a,f]=eo(n,r);if(i>=a&&i<=f)return i}}throw new Error("Input string was not in a correct format.")}function Ct(e,t,n,r,o){try{return o.contents=Dc(e,t,n,r),!0}catch{return!1}}function gi(e,t){Vc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Vc(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 Lc(){return gi(-621355968e5,0)}function Hc(e){const[t,n]=Bs(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return gi(t.getTime(),r)}function jc(e,t){try{return t.contents=Hc(e),!0}catch{return!1}}function zt(e){return e<0?Math.ceil(e):Math.floor(e)}function to(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Uc(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 Uc(e){return Number(BigInt(e)/10000n)}function Bc(e){return zt(e/864e5)}function Gc(e){return zt(e%864e5/36e5)}function zc(e){return zt(e%36e5/6e4)}function Wc(e){return zt(e%6e4/1e3)}function qc(e){return zt(e%1e3)}function Zc(e,t="c",n){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const r=Math.abs(Bc(e)),o=Math.abs(Gc(e)),s=Math.abs(zc(e)),i=Math.abs(Wc(e)),u=Math.abs(qc(e));return`${e<0?"-":""}${r===0&&(t==="c"||t==="g")?"":t==="c"?r+".":r+":"}${t==="g"?o:te(o,2)}:${te(s,2)}:${te(i,2)}${u===0&&(t==="c"||t==="g")?"":t==="g"?"."+te(u,3):"."+fu(u,3,7)}`}function Jc(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 u=r[1]!=null&&r[1]==="-"?-1:1,c=+r[4],a=+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 u*to(o,c,a,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Kc(e,t){try{return t.contents=Jc(e),!0}catch{return!1}}class yi{constructor(t){this.k=t}}function se(e){return new yi(e)}function E(e){return e.k}class I extends yi{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function ie(e,t,n,r){return new I(e,t,n,r)}function O(e){return e.left}function M(e){return e.right}function ut(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 I){const s=o;e=O(s),t=bi(M(s),r+1);continue e}else return r+1|0}else return r|0}}function Yc(e){return bi(e,0)}function we(e,t,n){let r,o,s;const i=e;if(i!=null){const f=y(i);s=f instanceof I?(r=f,ut(r)):1}else s=0;let u;const c=n;if(c!=null){const f=y(c);u=f instanceof I?(o=f,ut(o)):1}else u=0;const a=(s<u?u:s)|0;return a===0?se(t):ie(t,e,n,a+1)}function no(e,t,n){let r,o,s,i,u,c,a,f,l;const _=e;if(_!=null){const m=y(_);l=m instanceof I?(r=m,ut(r)):1}else l=0;let h;const d=n;if(d!=null){const m=y(d);h=m instanceof I?(o=m,ut(o)):1}else h=0;if(h>l+2){const m=y(n);if(m instanceof I){const w=m;if(s=O(w),(s!=null?(i=y(s),i instanceof I?(u=i,ut(u)):1):0)>l+1){const g=y(O(w));if(g instanceof I){const v=g;return we(we(e,t,O(v)),E(v),we(M(v),E(w),M(w)))}else throw new Error("internal error: Set.rebalance")}else return we(we(e,t,O(w)),E(w),M(w))}else throw new Error("internal error: Set.rebalance")}else if(l>h+2){const m=y(e);if(m instanceof I){const w=m;if(c=M(w),(c!=null?(a=y(c),a instanceof I?(f=a,ut(f)):1):0)>h+1){const g=y(M(w));if(g instanceof I){const v=g;return we(we(O(w),E(w),O(v)),E(v),we(M(v),t,n))}else throw new Error("internal error: Set.rebalance")}else return we(O(w),E(w),we(M(w),t,n))}else throw new Error("internal error: Set.rebalance")}else return we(e,t,n)}function gt(e,t,n){if(n!=null){const r=y(n),o=e.Compare(t,E(r))|0;if(r instanceof I){const s=r;return o<0?no(gt(e,t,O(s)),E(s),M(s)):o===0?n:no(O(s),E(s),gt(e,t,M(s)))}else{const s=e.Compare(t,E(r))|0;return s<0?ie(t,void 0,n,2):s===0?n:ie(t,n,void 0,2)}}else return se(t)}function Si(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),u=r.Compare(o,E(i))|0;if(i instanceof I){const c=i;if(u<0){e=r,t=o,n=O(c);continue e}else{if(u===0)return!0;e=r,t=o,n=M(c);continue e}}else return u===0}else return!1}}function vi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof I){const s=o;vi(n,O(s)),n(E(s)),e=n,t=M(s);continue e}else n(E(o))}break}}class Xc extends re{constructor(t,n){super(),this.stack=t,this.started=n}}function Ci(e){e:for(;;){const t=e;if($(t))return K();{const n=C(t),r=T(t);if(n!=null){const o=y(n);if(o instanceof I){const s=o;e=N([O(s),se(E(s)),M(s)],r);continue e}else return t}else{e=r;continue e}}}}function ro(e){return new Xc(Ci(xe(e)),!1)}function Qc(){throw new Error("Enumeration not started")}function ea(){throw new Error("Enumeration already started")}function oo(e){if(e.started){const t=e.stack;if($(t))return ea();if(C(t)!=null){const n=y(C(t));return E(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Qc()}function ta(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(y(C(t))instanceof I)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ci(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 so(e){let t=ro(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return oo(t)},"System.Collections.IEnumerator.get_Current"(){return oo(t)},"System.Collections.IEnumerator.MoveNext"(){return ta(t)},"System.Collections.IEnumerator.Reset"(){t=ro(e)},Dispose(){}}}function na(e,t,n){e:for(;;){const r=e,o=t,s=n;if($(o))return $(s)?0:-1;if($(s))return 1;if(C(s)!=null)if(C(o)!=null){const i=y(C(o)),u=y(C(s));if(i instanceof I){const c=i;if(O(c)==null)if(u instanceof I){const a=u;if(O(a)==null){const f=r.Compare(E(c),E(a))|0;if(f!==0)return f|0;e=r,t=ae(M(c),T(o)),n=ae(M(a),T(s));continue e}else{let f,l,_,h,d;switch($(o)?$(s)?f=2:C(s)!=null?(f=1,h=T(s),d=y(C(s))):f=2:C(o)!=null?(f=0,l=T(o),_=y(C(o))):$(s)?f=2:C(s)!=null?(f=1,h=T(s),d=y(C(s))):f=2,f){case 0:if(_ instanceof I){const m=_;e=r,t=N([O(m),ie(E(m),void 0,M(m),0)],l),n=s;continue e}else{e=r,t=N([void 0,se(E(_))],l),n=s;continue e}case 1:if(d instanceof I){const m=d;e=r,t=o,n=N([O(m),ie(E(m),void 0,M(m),0)],h);continue e}else{e=r,t=o,n=N([void 0,se(E(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=r.Compare(E(c),E(u))|0;if(a!==0)return a|0;e=r,t=ae(M(c),T(o)),n=ae(void 0,T(s));continue e}else{let a,f,l,_,h;switch($(o)?$(s)?a=2:C(s)!=null?(a=1,_=T(s),h=y(C(s))):a=2:C(o)!=null?(a=0,f=T(o),l=y(C(o))):$(s)?a=2:C(s)!=null?(a=1,_=T(s),h=y(C(s))):a=2,a){case 0:if(l instanceof I){const d=l;e=r,t=N([O(d),ie(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,se(E(l))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=N([O(d),ie(E(d),void 0,M(d),0)],_);continue e}else{e=r,t=o,n=N([void 0,se(E(h))],_);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(u instanceof I){const c=u;if(O(c)==null){const a=r.Compare(E(i),E(c))|0;if(a!==0)return a|0;e=r,t=ae(void 0,T(o)),n=ae(M(c),T(s));continue e}else{let a,f,l,_,h;switch($(o)?$(s)?a=2:C(s)!=null?(a=1,_=T(s),h=y(C(s))):a=2:C(o)!=null?(a=0,f=T(o),l=y(C(o))):$(s)?a=2:C(s)!=null?(a=1,_=T(s),h=y(C(s))):a=2,a){case 0:if(l instanceof I){const d=l;e=r,t=N([O(d),ie(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,se(E(l))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=N([O(d),ie(E(d),void 0,M(d),0)],_);continue e}else{e=r,t=o,n=N([void 0,se(E(h))],_);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(E(i),E(u))|0;if(c!==0)return c|0;e=r,t=T(o),n=T(s);continue e}}else{y(C(s));let i,u,c,a,f;switch($(o)?$(s)?i=2:C(s)!=null?(i=1,a=T(s),f=y(C(s))):i=2:C(o)!=null?(i=0,u=T(o),c=y(C(o))):$(s)?i=2:C(s)!=null?(i=1,a=T(s),f=y(C(s))):i=2,i){case 0:if(c instanceof I){const l=c;e=r,t=N([O(l),ie(E(l),void 0,M(l),0)],u),n=s;continue e}else{e=r,t=N([void 0,se(E(c))],u),n=s;continue e}case 1:if(f instanceof I){const l=f;e=r,t=o,n=N([O(l),ie(E(l),void 0,M(l),0)],a);continue e}else{e=r,t=o,n=N([void 0,se(E(f))],a);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(C(o)!=null){y(C(o));let i,u,c,a,f;switch($(o)?$(s)?i=2:C(s)!=null?(i=1,a=T(s),f=y(C(s))):i=2:C(o)!=null?(i=0,u=T(o),c=y(C(o))):$(s)?i=2:C(s)!=null?(i=1,a=T(s),f=y(C(s))):i=2,i){case 0:if(c instanceof I){const l=c;e=r,t=N([O(l),ie(E(l),void 0,M(l),0)],u),n=s;continue e}else{e=r,t=N([void 0,se(E(c))],u),n=s;continue e}case 1:if(f instanceof I){const l=f;e=r,t=o,n=N([O(l),ie(E(l),void 0,M(l),0)],a);continue e}else{e=r,t=o,n=N([void 0,se(E(f))],a);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(s);continue e}}}function io(e,t,n){return t==null?n==null?0:-1:n==null?1:na(e,xe(t),xe(n))|0}function ra(e,t,n){let r=n;vi(o=>{t[r]=o,r=r+1|0},e)}function oa(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=gt(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function sa(e,t){return Sn((n,r)=>gt(e,r,n),void 0,t)}function ia(e,t){return ke((n,r)=>gt(e,r,n),void 0,t)}function Ei(e,t){if(Ce(t))return sa(e,t);if(t instanceof le)return ia(e,t);{const n=j(t);try{return oa(e,void 0,n)}finally{R(n)}}}class yr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return ca(this)|0}Equals(t){let n;const r=this;return t instanceof yr&&(n=t,io(dt(r),ge(r),ge(n))===0)}toString(){return"set ["+Ue("; ",de(n=>Se(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return io(dt(n),ge(n),ge(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 Si(dt(n),t,ge(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ra(ge(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return An(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return An(this)|0}GetEnumerator(){return so(ge(this))}[Symbol.iterator](){return mn(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return so(ge(this))}get size(){return An(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 xi(this,t)}keys(){return de(n=>n,this)}values(){return de(n=>n,this)}entries(){return de(n=>[n,n],this)}forEach(t,n){const r=this;ri(o=>{t(o,o,r)},r)}}function xn(e,t){return new yr(e,t)}function dt(e){return e.comparer}function ge(e){return e.tree}function ua(e){return xn(e,void 0)}function la(e,t){return xn(dt(e),gt(dt(e),t,ge(e)))}function An(e){return Yc(ge(e))}function xi(e,t){return Si(dt(e),t,ge(e))}function ca(e){let t=0;const n=j(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Oe(r)+631|0}}finally{R(n)}return Math.abs(t)|0}function Jn(e,t){return xi(t,e)}function aa(e,t){return la(t,e)}function fa(e){return ua(e)}function da(e,t){return xn(t,Ei(t,e))}function ha(e,t){return xn(t,Ei(t,e))}function xt(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var Dt,S,Po,Ye,kr,Ao,Ln,Oo,at={},No=[],Di=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_n=Array.isArray;function Ne(e,t){for(var n in t)e[n]=t[n];return e}function Ro(e){var t=e.parentNode;t&&t.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?Dt.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 Mt(e,i,r,o,null)}function Mt(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,__h:null,constructor:void 0,__v:o??++Po};return o==null&&S.vnode!=null&&S.vnode(s),s}function Fo(){return{current:null}}function Ie(e){return e.children}function Ee(e,t){this.props=e,this.context=t}function nn(e,t){if(t==null)return e.__?nn(e.__,e.__.__k.indexOf(e)+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"?nn(e):null}function Do(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 Do(e)}}function Hn(e){(!e.__d&&(e.__d=!0)&&Ye.push(e)&&!rn.__r++||kr!==S.debounceRendering)&&((kr=S.debounceRendering)||Ao)(rn)}function rn(){var e,t,n,r,o,s,i,l,c;for(Ye.sort(Ln);e=Ye.shift();)e.__d&&(t=Ye.length,r=void 0,o=void 0,s=void 0,l=(i=(n=e).__v).__e,(c=n.__P)&&(r=[],o=[],(s=Ne({},i)).__v=i.__v+1,er(c,i,s,n.__n,c.ownerSVGElement!==void 0,i.__h!=null?[l]:null,r,l??nn(i),i.__h,o),jo(r,i,o),i.__e!=l&&Do(i)),Ye.length>t&&Ye.sort(Ln));rn.__r=0}function Vo(e,t,n,r,o,s,i,l,c,a,f){var u,p,h,d,m,g,w,C,k,q,H=0,ee=r&&r.__k||No,Ze=ee.length,Je=Ze,te=t.length;for(n.__k=[],u=0;u<te;u++)(d=n.__k[u]=(d=t[u])==null||typeof d=="boolean"||typeof d=="function"?null:typeof d=="string"||typeof d=="number"||typeof d=="bigint"?Mt(null,d,null,null,d):_n(d)?Mt(Ie,{children:d},null,null,null):d.__b>0?Mt(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null&&(d.__=n,d.__b=n.__b+1,(C=Vi(d,ee,w=u+H,Je))===-1?h=at:(h=ee[C]||at,ee[C]=void 0,Je--),er(e,d,h,o,s,i,l,c,a,f),m=d.__e,(p=d.ref)&&h.ref!=p&&(h.ref&&tr(h.ref,null,d),f.push(p,d.__c||m,d)),m!=null&&(g==null&&(g=m),q=!(k=h===at||h.__v===null)&&C===w,k?C==-1&&H--:C!==w&&(C===w+1?(H++,q=!0):C>w?Je>te-w?(H+=C-w,q=!0):H--:H=C<w&&C==w-1?C-w:0),w=u+H,q=q||C==u&&!k,typeof d.type!="function"||C===w&&h.__k!==d.__k?typeof d.type=="function"||q?d.__d!==void 0?(c=d.__d,d.__d=void 0):c=m.nextSibling:c=Ho(e,m,c):c=Lo(d,c,e),typeof n.type=="function"&&(n.__d=c)));for(n.__e=g,u=Ze;u--;)ee[u]!=null&&(typeof n.type=="function"&&ee[u].__e!=null&&ee[u].__e==n.__d&&(n.__d=ee[u].__e.nextSibling),Uo(ee[u],ee[u]))}function Lo(e,t,n){for(var r,o=e.__k,s=0;o&&s<o.length;s++)(r=o[s])&&(r.__=e,t=typeof r.type=="function"?Lo(r,t,n):Ho(n,r.__e,t));return t}function Re(e,t){return t=t||[],e==null||typeof e=="boolean"||(_n(e)?e.some(function(n){Re(n,t)}):t.push(e)),t}function Ho(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function Vi(e,t,n,r){var o=e.key,s=e.type,i=n-1,l=n+1,c=t[n];if(c===null||c&&o==c.key&&s===c.type)return n;if(r>(c!=null?1:0))for(;i>=0||l<t.length;){if(i>=0){if((c=t[i])&&o==c.key&&s===c.type)return i;i--}if(l<t.length){if((c=t[l])&&o==c.key&&s===c.type)return l;l++}}return-1}function Li(e,t,n,r,o){var s;for(s in n)s==="children"||s==="key"||s in t||on(e,s,null,n[s],r);for(s in t)o&&typeof t[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||n[s]===t[s]||on(e,s,t[s],n[s],r)}function Tr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Di.test(t)?n:n+"px"}function on(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||Tr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Tr(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r||e.addEventListener(t,s?Ir:$r,s):e.removeEventListener(t,s?Ir:$r,s);else if(t!=="dangerouslySetInnerHTML"){if(o)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 in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function $r(e){return this.l[e.type+!1](S.event?S.event(e):e)}function Ir(e){return this.l[e.type+!0](S.event?S.event(e):e)}function er(e,t,n,r,o,s,i,l,c,a){var f,u,p,h,d,m,g,w,C,k,q,H,ee,Ze,Je,te=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(c=n.__h,l=t.__e=n.__e,t.__h=null,s=[l]),(f=S.__b)&&f(t);try{e:if(typeof te=="function"){if(w=t.props,C=(f=te.contextType)&&r[f.__c],k=f?C?C.props.value:f.__:r,n.__c?g=(u=t.__c=n.__c).__=u.__E:("prototype"in te&&te.prototype.render?t.__c=u=new te(w,k):(t.__c=u=new Ee(w,k),u.constructor=te,u.render=ji),C&&C.sub(u),u.props=w,u.state||(u.state={}),u.context=k,u.__n=r,p=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),te.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Ne({},u.__s)),Ne(u.__s,te.getDerivedStateFromProps(w,u.__s))),h=u.props,d=u.state,u.__v=t,p)te.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(te.getDerivedStateFromProps==null&&w!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(w,k),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(w,u.__s,k)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=w,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(Zt){Zt&&(Zt.__=t)}),q=0;q<u._sb.length;q++)u.__h.push(u._sb[q]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(w,u.__s,k),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,d,m)})}if(u.context=k,u.props=w,u.__P=e,u.__e=!1,H=S.__r,ee=0,"prototype"in te&&te.prototype.render){for(u.state=u.__s,u.__d=!1,H&&H(t),f=u.render(u.props,u.state,u.context),Ze=0;Ze<u._sb.length;Ze++)u.__h.push(u._sb[Ze]);u._sb=[]}else do u.__d=!1,H&&H(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++ee<25);u.state=u.__s,u.getChildContext!=null&&(r=Ne(Ne({},r),u.getChildContext())),p||u.getSnapshotBeforeUpdate==null||(m=u.getSnapshotBeforeUpdate(h,d)),Vo(e,_n(Je=f!=null&&f.type===Ie&&f.key==null?f.props.children:f)?Je:[Je],t,n,r,o,s,i,l,c,a),u.base=t.__e,t.__h=null,u.__h.length&&i.push(u),g&&(u.__E=u.__=null)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Hi(n.__e,t,n,r,o,s,i,c,a);(f=S.diffed)&&f(t)}catch(Zt){t.__v=null,(c||s!=null)&&(t.__e=l,t.__h=!!c,s[s.indexOf(l)]=null),S.__e(Zt,t,n)}}function jo(e,t,n){for(var r=0;r<n.length;r++)tr(n[r],n[++r],n[++r]);S.__c&&S.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){S.__e(s,o.__v)}})}function Hi(e,t,n,r,o,s,i,l,c){var a,f,u,p=n.props,h=t.props,d=t.type,m=0;if(d==="svg"&&(o=!0),s!=null){for(;m<s.length;m++)if((a=s[m])&&"setAttribute"in a==!!d&&(d?a.localName===d:a.nodeType===3)){e=a,s[m]=null;break}}if(e==null){if(d===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),s=null,l=!1}if(d===null)p===h||l&&e.data===h||(e.data=h);else{if(s=s&&Dt.call(e.childNodes),f=(p=n.props||at).dangerouslySetInnerHTML,u=h.dangerouslySetInnerHTML,!l){if(s!=null)for(p={},m=0;m<e.attributes.length;m++)p[e.attributes[m].name]=e.attributes[m].value;(u||f)&&(u&&(f&&u.__html==f.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(Li(e,h,p,o,l),u)t.__k=[];else if(Vo(e,_n(m=t.props.children)?m:[m],t,n,r,o&&d!=="foreignObject",s,i,s?s[0]:n.__k&&nn(n,0),l,c),s!=null)for(m=s.length;m--;)s[m]!=null&&Ro(s[m]);l||("value"in h&&(m=h.value)!==void 0&&(m!==e.value||d==="progress"&&!m||d==="option"&&m!==p.value)&&on(e,"value",m,p.value,!1),"checked"in h&&(m=h.checked)!==void 0&&m!==e.checked&&on(e,"checked",m,p.checked,!1))}return e}function tr(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){S.__e(r,n)}}function Uo(e,t,n){var r,o;if(S.unmount&&S.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||tr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){S.__e(s,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Uo(r[o],t,n||typeof e.type!="function");n||e.__e==null||Ro(e.__e),e.__=e.__e=e.__d=void 0}function ji(e,t,n){return this.constructor(e,n)}function Ge(e,t,n){var r,o,s,i;S.__&&S.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],er(t,e=(!r&&n||t).__k=b(Ie,null,[e]),o||at,at,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Dt.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),jo(s,e,i)}function nr(e,t){Ge(e,t,nr)}function rr(e,t,n){var r,o,s,i,l=Ne({},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]:l[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(l.children=arguments.length>3?Dt.call(arguments,2):n),Mt(e.type,l,r||e.key,o||e.ref,null)}function Bo(e,t){var n={__c:t="__cC"+Oo++,__: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.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(l){l.__e=!0,Hn(l)})},this.sub=function(i){o.push(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),l&&l.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Dt=No.slice,S={__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(l){e=l}throw e}},Po=0,Ee.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ne({},this.state),typeof e=="function"&&(e=e(Ne({},n),this.props)),e&&Ne(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Hn(this))},Ee.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Hn(this))},Ee.prototype.render=Ie,Ye=[],Ao=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ln=function(e,t){return e.__v.__b-t.__v.__b},rn.__r=0,Oo=0;var De,P,$n,Mr,_t=0,Go=[],Xt=[],Pr=S.__b,Ar=S.__r,Or=S.diffed,Nr=S.__c,Rr=S.unmount;function nt(e,t){S.__h&&S.__h(P,e,_t||t),_t=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Xt}),n.__[e]}function Vt(e){return _t=1,or(Yo,e)}function or(e,t,n){var r=nt(De++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Yo(void 0,t),function(l){var c=r.__N?r.__N[0]:r.__[0],a=r.t(c,l);c!==a&&(r.__N=[a,r.__[1]],r.__c.setState({}))}],r.__c=P,!P.u)){var o=function(l,c,a){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,l,c,a);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===l)&&(!s||s.call(this,l,c,a))};P.u=!0;var s=P.shouldComponentUpdate,i=P.componentWillUpdate;P.componentWillUpdate=function(l,c,a){if(this.__e){var f=s;s=void 0,o(l,c,a),s=f}i&&i.call(this,l,c,a)},P.shouldComponentUpdate=o}return r.__N||r.__}function mn(e,t){var n=nt(De++,3);!S.__s&&sr(n.__H,t)&&(n.__=e,n.i=t,P.__H.__h.push(n))}function Lt(e,t){var n=nt(De++,4);!S.__s&&sr(n.__H,t)&&(n.__=e,n.i=t,P.__h.push(n))}function zo(e){return _t=5,gn(function(){return{current:e}},[])}function Wo(e,t,n){_t=6,Lt(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 gn(e,t){var n=nt(De++,7);return sr(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function qo(e,t){return _t=8,gn(function(){return e},t)}function Zo(e){var t=P.context[e.__c],n=nt(De++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function Jo(e,t){S.useDebugValue&&S.useDebugValue(t?t(e):e)}function Ui(e){var t=nt(De++,10),n=Vt();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 Ko(){var e=nt(De++,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 Bi(){for(var e;e=Go.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Qt),e.__H.__h.forEach(jn),e.__H.__h=[]}catch(t){e.__H.__h=[],S.__e(t,e.__v)}}S.__b=function(e){P=null,Pr&&Pr(e)},S.__r=function(e){Ar&&Ar(e),De=0;var t=(P=e.__c).__H;t&&($n===P?(t.__h=[],P.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Xt,n.__N=n.i=void 0})):(t.__h.forEach(Qt),t.__h.forEach(jn),t.__h=[],De=0)),$n=P},S.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Go.push(t)!==1&&Mr===S.requestAnimationFrame||((Mr=S.requestAnimationFrame)||Gi)(Bi)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Xt&&(n.__=n.__V),n.i=void 0,n.__V=Xt})),$n=P=null},S.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Qt),n.__h=n.__h.filter(function(r){return!r.__||jn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],S.__e(r,n.__v)}}),Nr&&Nr(e,t)},S.unmount=function(e){Rr&&Rr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Qt(r)}catch(o){t=o}}),n.__H=void 0,t&&S.__e(t,n.__v))};var Fr=typeof requestAnimationFrame=="function";function Gi(e){var t,n=function(){clearTimeout(r),Fr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Fr&&(t=requestAnimationFrame(n))}function Qt(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function jn(e){var t=P;e.__c=e.__(),P=t}function sr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Yo(e,t){return typeof t=="function"?t(e):t}function Xo(e,t){for(var n in t)e[n]=t[n];return e}function Un(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 In(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function sn(e){this.props=e}function Qo(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:Un(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}(sn.prototype=new Ee).isPureReactComponent=!0,sn.prototype.shouldComponentUpdate=function(e,t){return Un(this.props,e)||Un(this.state,t)};var Dr=S.__b;S.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Dr&&Dr(e)};var zi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function es(e){function t(n){var r=Xo({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=zi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Vr=function(e,t){return e==null?null:Re(Re(e).map(t))},ts={map:Vr,forEach:Vr,count:function(e){return e?Re(e).length:0},only:function(e){var t=Re(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Re},Wi=S.__e;S.__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)}Wi(e,t,n,r)};var Lr=S.unmount;function ns(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=Xo({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return ns(r,t,n)})),e}function rs(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return rs(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Pt(){this.__u=0,this.t=null,this.__b=null}function os(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ss(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 lt(){this.u=null,this.o=null}S.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Lr&&Lr(e)},(Pt.prototype=new Ee).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=os(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(l):l())};n.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var a=r.state.__a;r.__v.__k[0]=rs(a,a.__c.__P,a.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},c=t.__h===!0;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Pt.prototype.componentWillUnmount=function(){this.t=[]},Pt.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]=ns(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(Ie,null,e.fallback);return o&&(o.__h=null),[b(Ie,null,t.__a?null:e.children),o]};var Hr=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 qi(e){return this.getChildContext=function(){return e.context},e.children}function Zi(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ge(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(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)}}),Ge(b(qi,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function is(e,t){var n=b(Zi,{__v:e,i:t});return n.containerInfo=t,n}(lt.prototype=new Ee).__a=function(e){var t=this,n=os(t.__v),r=t.o.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),Hr(t,e,r)):o()};n?n(s):s()}},lt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Re(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},lt.prototype.componentDidUpdate=lt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Hr(e,n,t)})};var ls=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ji=/^(?: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]/,Ki=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Yi=/[A-Z0-9]/g,Xi=typeof document<"u",Qi=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function us(e,t,n){return t.__k==null&&(t.textContent=""),Ge(e,t),typeof n=="function"&&n(),e?e.__c:null}function cs(e,t,n){return nr(e,t),typeof n=="function"&&n(),e?e.__c:null}Ee.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ee.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jr=S.event;function el(){}function tl(){return this.cancelBubble}function nl(){return this.defaultPrevented}S.event=function(e){return jr&&(e=jr(e)),e.persist=el,e.isPropagationStopped=tl,e.isDefaultPrevented=nl,e.nativeEvent=e};var ir,rl={enumerable:!1,configurable:!0,get:function(){return this.class}},Ur=S.vnode;S.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var s in n){var i=n[s];if(!(s==="value"&&"defaultValue"in n&&i==null||Xi&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&i===!0?i="":l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Qi(n.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Ki.test(s)?s=l:r.indexOf("-")===-1&&Ji.test(s)?s=s.replace(Yi,"-$&").toLowerCase():i===null&&(i=void 0):l=s="oninput",l==="oninput"&&o[s=l]&&(s="oninputCapture"),o[s]=i}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Re(n.children).forEach(function(c){c.props.selected=o.value.indexOf(c.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Re(n.children).forEach(function(c){c.props.selected=o.multiple?o.defaultValue.indexOf(c.props.value)!=-1:o.defaultValue==c.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",rl)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=ls,Ur&&Ur(e)};var Br=S.__r;S.__r=function(e){Br&&Br(e),ir=e.__c};var Gr=S.diffed;S.diffed=function(e){Gr&&Gr(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),ir=null};var as={ReactCurrentDispatcher:{current:{readContext:function(e){return ir.__n[e.__c].props.value}}}},ol="17.0.2";function fs(e){return b.bind(null,e)}function lr(e){return!!e&&e.$$typeof===ls}function ds(e){return lr(e)?rr.apply(null,arguments):e}function hs(e){return!!e.__k&&(Ge(null,e),!0)}function ps(e){return e&&(e.base||e.nodeType===1&&e)||null}var _s=function(e,t){return e(t)},ms=function(e,t){return e(t)},gs=Ie;function ur(e){e()}function ws(e){return e}function ys(){return[!1,ur]}var bs=Lt;function vs(e,t){var n=t(),r=Vt({h:{__:n,v:t}}),o=r[0].h,s=r[1];return Lt(function(){o.__=n,o.v=t,In(o.__,t())||s({h:o})},[e,n,t]),mn(function(){return In(o.__,o.v())||s({h:o}),e(function(){In(o.__,o.v())||s({h:o})})},[e]),n}var Ss={useState:Vt,useId:Ko,useReducer:or,useEffect:mn,useLayoutEffect:Lt,useInsertionEffect:bs,useTransition:ys,useDeferredValue:ws,useSyncExternalStore:vs,startTransition:ur,useRef:zo,useImperativeHandle:Wo,useMemo:gn,useCallback:qo,useContext:Zo,useDebugValue:Jo,version:"17.0.2",Children:ts,render:us,hydrate:cs,unmountComponentAtNode:hs,createPortal:is,createElement:b,createContext:Bo,createFactory:fs,cloneElement:ds,createRef:Fo,Fragment:Ie,isValidElement:lr,findDOMNode:ps,Component:Ee,PureComponent:sn,memo:Qo,forwardRef:es,flushSync:ms,unstable_batchedUpdates:_s,StrictMode:gs,Suspense:Pt,SuspenseList:lt,lazy:ss,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:as};const sl=Object.freeze(Object.defineProperty({__proto__:null,Children:ts,Component:Ee,Fragment:Ie,PureComponent:sn,StrictMode:gs,Suspense:Pt,SuspenseList:lt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:as,cloneElement:ds,createContext:Bo,createElement:b,createFactory:fs,createPortal:is,createRef:Fo,default:Ss,findDOMNode:ps,flushSync:ms,forwardRef:es,hydrate:cs,isValidElement:lr,lazy:ss,memo:Qo,render:us,startTransition:ur,unmountComponentAtNode:hs,unstable_batchedUpdates:_s,useCallback:qo,useContext:Zo,useDebugValue:Jo,useDeferredValue:ws,useEffect:mn,useErrorBoundary:Ui,useId:Ko,useImperativeHandle:Wo,useInsertionEffect:bs,useLayoutEffect:Lt,useMemo:gn,useReducer:or,useRef:zo,useState:Vt,useSyncExternalStore:vs,useTransition:ys,version:ol},Symbol.toStringTag,{value:"Module"}));function Me(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function il(e){return e!=null&&typeof e.GetEnumerator=="function"}function ll(e){return e!=null&&typeof e.CompareTo=="function"}function ul(e){return e!=null&&typeof e.Equals=="function"}function cl(e){return e!=null&&typeof e.GetHashCode=="function"}function Bn(e){return e!=null&&typeof e.Dispose=="function"}function F(e){Bn(e)&&e.Dispose()}function ke(){return null}function ln(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 al{constructor(t){this.iter=t,this.current=ke()}"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 G(e){return il(e)?e.GetEnumerator():new al(e[Symbol.iterator]())}function wn(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}}}}class fl{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function oe(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function dl(e,t,n){let r=e.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<n;)r=r+"0";return r}function zr(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function hl(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function et(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class je{static id(t){return je.idMap.has(t)||je.idMap.set(t,++je.count),je.idMap.get(t)}}je.idMap=new WeakMap;je.count=0;function cr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ae(e){return e*2654435761|0}function pl(e){return cr(e.toString(32))}function Ht(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 _l(e){return e.getTime()}function ml(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ve(e[r]);return Ht(n)}function Ve(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ae(e);case"bigint":return pl(e);case"string":return cr(e);default:{if(cl(e))return e.GetHashCode();if(Me(e))return ml(e);if(e instanceof Date)return _l(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ve(r));return Ht(n)}else return Ae(je.id(e))}}}function Gn(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 Cs(e,t){return Gn(e,t,re)}function gl(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]||!re(e[n[o]],t[r[o]]))return!1;return!0}function re(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:ul(e)?e.Equals(t):Me(e)?Me(t)&&Cs(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&xs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&gl(e,t)}function xs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+zr(e),r=t.getTime()+zr(t)),n===r?0:n<r?-1:1}function yn(e,t){return e===t?0:e<t?-1:1}function wl(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 Es(e,t){return wl(e,t,ye)}function yl(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=ye(e[i],t[i]),s!==0)return s}return 0}function ye(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:ll(e)?e.CompareTo(t):Me(e)?Me(t)?Es(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?xs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?yl(e,t):-1}function K(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function bl(e){Me(e)?e.splice(0):e.clear()}const bn=new WeakMap;function V(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return bn.set(t,e),t}function Xe(e){return bn.get(e)??(t=>n=>e(t,n))}function zn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return bn.set(t,e),t}function Mn(e){return bn.get(e)??(t=>n=>r=>e(t,n,r))}function vl(e){let t=0,n="[";for(const r of e){if(t===0)n+=Te(r);else if(t===100){n+="; ...";break}else n+="; "+Te(r);t++}return n+"]"}function Te(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 vl(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+Te(s,t+1)).join(`
2
+ `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function Sl(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Te(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Te(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class W{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Sl(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ve(n));return t.splice(0,0,Ae(this.tag)),Ht(t)}Equals(t){return this===t?!0:ln(this,t)&&this.tag===t.tag?Cs(this.fields,t.fields):!1}CompareTo(t){return this===t?0:ln(this,t)?this.tag===t.tag?Es(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Cl(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function xl(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Te(n)).join(`
3
+ `)+" }"}function El(e){const t=Object.values(e).map(n=>Ve(n));return Ht(t)}function kl(e,t){if(e===t)return!0;if(ln(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!re(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Tl(e,t){if(e===t)return 0;if(ln(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ye(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class le{toJSON(){return Cl(this)}toString(){return xl(this)}GetHashCode(){return El(this)}Equals(t){return kl(this,t)}CompareTo(t){return Tl(this,t)}}class ue{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 $l{constructor(t){this.message=t}}function Il(e){return e instanceof $l||e instanceof Error}function Ml(e){return e instanceof Promise}function un(e){return Il(e)||Ml(e)?e:new Error(String(e))}const vt=Symbol("numeric");function ks(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[vt])}function Pl(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Wn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[vt]().multiply(t)}function en(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[vt]().toFixed(t)}function cn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[vt]().toPrecision(t)}function an(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[vt]().toExponential(t)}function fn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[vt]().toHex()}class Al{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class be{constructor(t,n,r,o,s,i,l){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=s,this.cases=i,this.enumCases=l}toString(){return R(this)}GetHashCode(){return Ts(this)}Equals(t){return qn(this,t)}}function fe(e){return e.generics!=null?e.generics:[]}function Ts(e){const t=cr(e.fullname),n=fe(e).map(Ts);return Ht([t,...n])}function qn(e,t){return e.fullname===""?t.fullname===""&&Gn(Ot(e),Ot(t),([n,r],[o,s])=>n===o&&qn(r,s)):e.fullname===t.fullname&&Gn(fe(e),fe(t),qn)}function Ol(e,t,n,r){return new be(e,t,n,r)}function jt(e,t,n,r){return new be(e,t,n,void 0,r)}function Nl(...e){return new be("",void 0,void 0,void 0,()=>e)}function $s(e,t,n,r){const o=new be(e,t,n,void 0,void 0,()=>{const s=n.prototype.cases();return r().map((i,l)=>new Al(o,l,s[l],i))});return o}function Rl(e){return new be("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Is=new be("System.Object"),tt=new be("System.String"),Fl=new be("System.Int32");function ft(e){if(Array.isArray(e))return e[0];if(e instanceof be){const t=Ut(e);if(t!=null)return ft(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function R(e){const t=Ut(e);return t!=null?R(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>R(n)).join(",")+"]"}function Ms(e){return Ut(e)!=null}function Ut(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ps(e){return e.generics!=null&&e.generics.length>0}function ar(e){return e.enumCases!=null&&e.enumCases.length>0}function As(e){return e.generics==null?e:new be(e.fullname,e.generics.map(()=>Is))}function Os(e){var t;return(t=e.generics)==null?void 0:t[0]}function rt(e){if(ar(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Dl(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 ot(e,t){const n=parseInt(t,10);return Dl(e,isNaN(n)?t:n)[1]}function Ns(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Ot(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Rs(e){if(fr(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Fs(e){return e instanceof be?e.cases!=null:e instanceof W}function Ds(e){return e instanceof be?e.fields!=null:e instanceof le}function fr(e){return e.fullname.startsWith("System.Tuple")}function Vl(e,t){const r=Ns(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function Vs(e){return e.fields==null?[]:e.fields}function Ll(e,t){return e[t[0]]}function Hl(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 jl(e,t){const n=Ot(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 Ul(e,t){return e}class Bl{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 dr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,dr.prototype)}}class hr{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>hr.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function Ue(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new dr);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(un(n))}});else try{e(t)}catch(n){t.onError(un(n))}}}function Gl(e,t){return Ue(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(un(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function zl(e){return Ue(t=>t.onSuccess(e))}class Wl{Bind(t,n){return Gl(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return Ue(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 zl(t)}ReturnFrom(t){return t}TryFinally(t,n){return Ue(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 Ue(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(un(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 Ue(t=>t.onSuccess(void 0))}}const J=new Wl;class mt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ve(this.value)}Equals(t){return t==null?!1:re(this.value,t instanceof mt?t.value:t)}CompareTo(t){return t==null?1:ye(this.value,t instanceof mt?t.value:t)}}function y(e){if(e==null)throw new Error("Option has no value");return e instanceof mt?e.value:e}function ie(e){return e==null||e instanceof mt?new mt(e):e}function Zn(e,t){return e!=null?y(e):t}function ql(e,t){return e!=null?y(e):t()}function Zl(e,t){return t!=null?ie(e(y(t))):void 0}function Jl(e){return new _(0,[e])}function Ls(e){return new _(1,[e])}class _ extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function we(e,t){return t.tag===0?Jl(e(t.fields[0])):Ls(t.fields[0])}function Kl(e,t){return t.tag===0?e(t.fields[0]):Ls(t.fields[0])}function Yl(e){return new Hs(0,[e])}function Xl(e){return new Hs(1,[e])}class Hs extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Ql(e){return Yl(e)}function eu(e){return Xl(e)}function Pn(e){}const tu=new Bl;function nu(e){return Ue(t=>{e({onSuccess:n=>t.onSuccess(Ql(n)),onError:n=>t.onSuccess(eu(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function ru(e){return Ue(t=>e([t.onSuccess,t.onError,t.onCancel]))}function ou(e,t){return iu(e,t)}function su(e,t){return ou(e,t)}function iu(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new hr;e({onSuccess:t||Pn,onError:n||Pn,onCancel:r||Pn,cancelToken:o||tu,trampoline:s})}class pr extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class js extends W{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Us extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Bt extends le{constructor(t,n,r,o,s,i,l,c){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=s,this.overridenResponseType=i,this.timeout=l,this.content=c}}class it extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Bs extends le{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 _r(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+oe(n,2)+":"+oe(r,2)}function dn(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 lu(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return oe(e.getFullYear(),4)+"-"+oe(e.getMonth()+1,2)+"-"+oe(e.getDate(),2)+"T"+oe(e.getHours(),2)+":"+oe(e.getMinutes(),2)+":"+oe(e.getSeconds(),2)+"."+oe(e.getMilliseconds(),3)+(n?_r(e.getTimezoneOffset()*-6e4):"")}}function uu(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+_r(t)}function Gs(e,t,n){return t.replace(/(\w)\1*/g,r=>{let o=Number.NaN;switch(r.substring(0,1)){case"y":const s=n?e.getUTCFullYear():e.getFullYear();o=r.length<4?s%100:s;break;case"M":o=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":o=n?e.getUTCDate():e.getDate();break;case"H":o=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();o=i>12?i%12:i;break;case"m":o=n?e.getUTCMinutes():e.getMinutes();break;case"s":o=n?e.getUTCSeconds():e.getSeconds();break;case"f":o=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(o)?r:oe(o,r.length)})}function cu(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," ")+_r(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return dn(n,"first");case"T":case"t":return dn(n,"second");case"O":case"o":return uu(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Gs(n,t,!0)}function au(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?dn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?dn(e,"second"):e.toLocaleTimeString();case"O":case"o":return lu(e,n);default:throw new Error("Unrecognized Date print format")}else return Gs(e,t,n)}function vn(e,t,n){return e.offset!=null?cu(e,t):au(e,t)}function mr(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function fu(){return mr(-621355968e5,0)}function zs(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 l=o[2].split(":");i=parseInt(l[0],10)*3600+parseInt(l[1]||"0",10)*60+parseFloat(l[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const l=new Date;s=new Date(l.getUTCFullYear()+"/"+(l.getUTCMonth()+1)+"/"+l.getUTCDate())}if(o[4]==="Z")r="Z";else{let l=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(l*=-1),r=l,i-=l*60}}else if(o[1]!=null)s=new Date(o[1]);else{const l=new Date;s=new Date(l.getFullYear()+"/"+(l.getMonth()+1)+"/"+l.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 du(e,t=!1){const[n,r]=zs(e),o=r!=null?t&&r==="Z"?1:2:0;return mr(n.getTime(),o)}function hu(e,t){try{return t.contents=du(e),!0}catch{return!1}}function pu(e){return e.kind===1?e:mr(e.getTime(),1)}function _u(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 Ws(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Wr(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 mu(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const l=[],c=arguments.length,a=typeof arguments[c-1]!="string";let f=a?c-3:c-2;for(let u=0;u<f;u++)l.push(arguments[u]);l.index=arguments[f++],l.input=arguments[f++],a&&(l.groups=arguments[f]),i=n(l)}return i}if(typeof e=="string"){const i=e;e=_u(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 l=t.substring(o),c=Wr(e,l),a=Wr.length>r?(i=c[r-1],l.substring(0,i.index+i[0].length)):l;return t.substring(0,o)+a.replace(e,n)+t.substring(o+a.length)}else return t.replace(e,n)}const kt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,gu=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function qs(e,t){return Pl(e,t)<0}function ze(e){return{input:e,cont:yu(e)}}function Zs(e,t){return typeof t=="string"?e(t):t.cont(e)}function gt(e){return Zs(t=>t,e)}function Js(e){return Zs(t=>{throw new Error(t)},e)}function wu(e,t,n,r,o){let s="";if(t=t||"",o=o||"",ks(e))switch(o.toLowerCase()!=="x"&&(qs(e,0)?(e=Wn(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=en(e,r);break;case"g":case"G":e=r!=null?cn(e,r):cn(e);break;case"e":case"E":e=r!=null?an(e,r):an(e);break;case"x":e=fn(e);break;case"X":e=fn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=vn(e):e=Te(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,l=t.indexOf("-")>=0,c=l||!i?" ":"0";c==="0"?(e=Nt(e,n-s.length,c,l),e=s+e):e=Nt(s+e,n,c,l)}return e}function Ks(e,t,n,r="",o=-1){return(...s)=>{let i=r;const l=t.slice(),c=n.slice();for(const a of s){const[,,f,u,p,h]=c[0];let d=u;if(o>=0)d=o,o=-1;else if(d==="*"){if(a<0)throw new Error("Non-negative number required");o=a;continue}i+=l[0],i+=wu(a,f,d,p,h),l.splice(0,1),c.splice(0,1)}return c.length===0?(i+=l[0],e(i)):Ks(e,l,c,i,o)}}function yu(e){return t=>{kt.lastIndex=0;const n=[],r=[];let o=0,s=kt.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=kt.lastIndex,kt.lastIndex-=1,s=kt.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Ks(t,n,r))}}function bu(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(gu,(r,o,s,i,l,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 a=t[o];if(ks(a))switch(l=l==null?null:parseInt(l,10),i){case"f":case"F":l=l??2,a=en(a,l);break;case"g":case"G":a=l!=null?cn(a,l):cn(a);break;case"e":case"E":a=l!=null?an(a,l):an(a);break;case"p":case"P":l=l??2,a=en(Wn(a,100),l)+" %";break;case"d":case"D":a=l!=null?An(String(a),l,"0"):String(a);break;case"x":case"X":a=l!=null?An(fn(a),l,"0"):fn(a),i==="X"&&(a=a.toUpperCase());break;default:if(c){let f="";a=c.replace(/([0#,]+)(\.[0#]+)?/,(u,p,h)=>{qs(a,0)&&(a=Wn(a,-1),f="-"),h=h==null?"":h.substring(1),a=en(a,Math.max(h.length,0));let[d,m]=a.split(".");m||(m="");const g=p.replace(/,/g,"").replace(/^#+/,"").length;d=An(d,g,"0");const w=h.replace(/#+$/,"").length;if(w>m.length?m=Su(m,w,"0"):w<m.length&&(m=m.substring(0,w)+m.substring(w).replace(/0+$/,"")),p.indexOf(",")>0){const C=d.length%3,k=Math.floor(d.length/3);let q=C>0?d.substr(0,C)+(k>0?",":""):"";for(let H=0;H<k;H++)q+=d.substr(C+H*3,3)+(H<k-1?",":"");d=q}return m.length>0?d+"."+m:d}),a=f+a}}else a instanceof Date?a=vn(a,c||i):a=Te(a);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(a=Nt(String(a),Math.abs(s)," ",s<0)),a})}function vu(e){return typeof e!="string"||e.length===0}function We(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Nt(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 An(e,t,n){return Nt(e,t,n)}function Su(e,t,n){return Nt(e,t,n,!0)}function Cu(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(Ws),t=t.length>0?t:["\\s"];const i=[],l=new RegExp(t.join("|"),"g");let c=!0,a=0;do{const f=l.exec(e);if(f===null){const u=s?e.substring(a).trim():e.substring(a);(!o||u.length>0)&&i.push(u),c=!1}else{const u=s?e.substring(a,f.index).trim():e.substring(a,f.index);(!o||u.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(a).trim():e.substring(a)),c=!1):i.push(u)),a=l.lastIndex}}while(c);return i}function xu(e,...t){if(t.length===0)return e.trim();const n="["+Ws(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const Ys="Collection was empty.";function Xs(e,t){return typeof e=="function"?new e(t):new Array(t)}function qr(e,t){return e>t?e:t}function Sn(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function St(e,t,n){const r=t.length|0,o=Xs(n,r);for(let s=0;s<=r-1;s++)o[s]=e(t[s]);return o}function Eu(e,t){const n=Xs(t,1);return n[0]=e,n}function ku(e){return e.slice().reverse()}function Tu(e,t){return t.find(e)}function $u(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(t[o]);if(s!=null){const i=y(s);r.push(i)}}return re(n,ke())?r:St(o=>o,r,n)}function Cn(e,t,n){return n.reduce(e,t)}function Qs(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class de extends le{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+We("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,l=s,c=i.tail,a=l.tail;if(c!=null)if(a!=null){const f=y(c),u=y(a);if(re(i.head,l.head)){o=f,s=u;continue e}else return!1}else return!1;else return a==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,l=o,c=s,a=c.tail;if(a!=null){const f=y(a);if(i>18)return l|0;r=i+1,o=(l<<1)+Ve(c.head)+631*i,s=f;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,l=s,c=i.tail,a=l.tail;if(c!=null)if(a!=null){const f=y(c),u=y(a),p=ye(i.head,l.head)|0;if(p===0){o=f,s=u;continue e}else return p|0}else return 1;else return a!=null?-1:0}})(this,t)|0}GetEnumerator(){return Mu(this)}[Symbol.iterator](){return wn(G(this))}"System.Collections.IEnumerable.GetEnumerator"(){return G(this)}}class Iu{constructor(t){this.xs=t,this.it=this.xs,this.current=ke()}"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=ke()}Dispose(){}}function Mu(e){return new Iu(e)}function Q(){return new de(ke(),void 0)}function Gt(e,t){return new de(e,t)}function gr(e){return e.tail==null}function Pu(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 ei(e){if(e.tail!=null)return e.head;throw new Error(Ys+"\\nParameter name: list")}function Le(e){const t=e.tail;if(t!=null)return y(t);throw new Error(Ys+"\\nParameter name: list")}function z(){return Q()}function _e(e,t){return Gt(e,t)}function se(e){return Gt(e,Q())}function $(e){return gr(e)}function x(e){return ei(e)}function T(e){return Le(e)}function zt(e){const t=Pu(e)|0,n=Sn(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,l=s;if(!gr(l)){n[i]=ei(l),o=i+1,s=Le(l);continue e}break}})(0,e),n}function Pe(e,t,n){let r=t,o=n;for(;!gr(o);)r=e(r,x(o)),o=Le(o);return r}function wr(e){return Pe((t,n)=>Gt(n,t),Q(),e)}function Au(e,t,n){return Qs(e,zt(t),n)}function hn(e,t){Pe((n,r)=>{e(r)},void 0,t)}function D(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Gt(e[r],n);return n}function j(e){return D(e,Q())}function Ou(e){let t,n;if(Me(e))return j(e);if(e instanceof de)return e;{const r=Q();let o=r;const s=G(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new de(c,void 0),t.tail=n,n)}}finally{F(s)}const i=o,l=Q();return i.tail=l,Le(r)}}function yr(e,t){return Pe((n,r)=>Gt(r,n),t,wr(e))}function ut(e,t){const n=Q(),r=Pe((s,i)=>{const l=new de(e(i),void 0);return s.tail=l,l},n,t),o=Q();return r.tail=o,Le(n)}function Nu(e,t){const n=Q(),r=Pe((s,i)=>{if(e(i)){const l=new de(i,void 0);return s.tail=l,l}else return s},n,t),o=Q();return r.tail=o,Le(n)}function Ru(e,t){const n=Q(),r=Q(),o=n,s=Pe((c,a)=>{let f,u;const p=c[0],h=c[1];return e(a)?[(f=new de(a,void 0),p.tail=f,f),h]:[p,(u=new de(a,void 0),h.tail=u,u)]},[o,r],t),i=Q();s[0].tail=i;const l=Q();return s[1].tail=l,[Le(o),Le(r)]}function Fu(e,t){const n=Q(),r=Pe((s,i)=>{const l=e(i);if(l==null)return s;{const c=new de(y(l),void 0);return s.tail=c,c}},n,t),o=Q();return r.tail=o,Le(n)}function Du(e,t){return Pe((n,r)=>n&&e(r),!0,t)}function Vu(e){throw new Error(e)}const Lu="Enumeration already finished.",Hu="Enumeration has not started. Call MoveNext.",ti="The input sequence has an insufficient number of elements.",ju="Reset is not supported on this enumerator.";function Uu(){throw new Error(ju)}function br(){throw new Error(Hu)}function Jn(){throw new Error(Lu)}class Bu{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=G(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+Te(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{F(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return wn(G(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Gu(e){return new Bu(e)}class zu{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"(){Uu()}Dispose(){this.dispose()}}function xn(e,t,n){return new zu(e,t,n)}function Wu(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const l=y(n);try{F(l)}finally{n=void 0}}if(t!=null){const l=y(t);try{F(l)}finally{t=void 0}}};return xn(()=>(r?o&&Jn():br(),s!=null?y(s):Jn()),()=>{let l;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const a=t,f=n;if(a!=null)if(f!=null){const u=y(f);if(u["System.Collections.IEnumerator.MoveNext"]())s=ie(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{F(u)}finally{n=void 0}}else{const u=y(a);u["System.Collections.IEnumerator.MoveNext"]()?n=(l=u["System.Collections.Generic.IEnumerator`1.get_Current"](),G(l)):(i(),c=!1)}else t=G(e)}return y(c)}},()=>{o||i()})}function qu(e,t){return xn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{F(t)}finally{e()}})}function ni(e,t,n){let r=!1,o,s=ie(e());const i=()=>{if(s!=null){const c=y(s);try{n(c)}finally{s=void 0}}},l=()=>{try{i()}finally{o=void 0}};return xn(()=>(r||br(),o!=null?y(o):Jn()),()=>{if(r||(r=!0),s!=null){const c=y(s);let a;try{a=t(c)}catch(f){throw l(),f}return a!=null?(o=a,!0):(l(),!1)}else return!1},i)}function Zu(e,t){let n,r=t;return xn(()=>{if(n!=null){const o=y(n)[0];return y(n)[1],o}else return br()},()=>(n=e(r),n!=null?(y(n)[0],r=y(n)[1],!0):!1),()=>{})}function Ju(e,t){t==null&&Vu(e)}function Ct(e){return Gu(e)}function qe(e){return Ju("source",e),G(e)}function N(e){return Ct(()=>G(e()))}function ri(e){return Ct(()=>Wu(e))}function Ku(e,t){return Ct(()=>Zu(e,t))}function Yu(){return N(()=>new Array(0))}function O(e){return N(()=>Eu(e))}function Xu(e){return e instanceof de?zt(e):Array.from(e)}function Fe(e){return Me(e)?j(e):e instanceof de?e:Ou(e)}function Qu(e,t,n){return Ct(()=>ni(e,t,n))}function oi(e,t,n){return Ct(()=>{let r=-1;return ni(e,o=>(r=r+1|0,t(r,o)),n)})}function me(e,t){return ri([e,t])}function ec(e,t,n){const r=qe(t);try{const o=qe(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&l;)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"](),l=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:l?-1:0)|0}finally{F(o)}}finally{F(r)}}function st(e,t,n){const r=qe(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{F(r)}}function En(e,t,n){const r=qe(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{F(r)}}function si(e,t){En((n,r)=>{e(r)},void 0,t)}function ge(e,t){return Qu(()=>qe(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ie(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{F(n)})}function tc(e,t){return oi(()=>qe(t),(n,r)=>r["System.Collections.IEnumerator.MoveNext"]()?ie(e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{F(n)})}function nc(e){return N(()=>ku(Xu(e)))}function rc(e,t){return Ct(()=>{const n=qe(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(ti+"\\nParameter name: source");return qu(()=>{},n)}catch(r){throw F(n),r}})}function oc(e,t){return oi(()=>qe(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ie(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(ti+"\\nParameter name: source")}else return},n=>{F(n)})}function sc(e,t){return N(()=>ri(ge(e,t)))}class ii{constructor(t,n){this.k=t,this.v=n}}function Rt(e,t){return new ii(e,t)}function B(e){return e.k}function ne(e){return e.v}class U extends ii{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function At(e,t,n,r,o){return new U(e,t,n,r,o)}function Y(e){return e.left}function X(e){return e.right}function Be(e){return e.h}function li(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof U){const s=o;e=li(n+1,Y(s)),t=X(s);continue e}else return n+1|0}else return n|0}}function ic(e){return li(0,e)}function ve(e,t,n,r){let o,s,i;const l=e;if(l!=null){const u=y(l);i=u instanceof U?(o=u,Be(o)):1}else i=0;let c;const a=r;if(a!=null){const u=y(a);c=u instanceof U?(s=u,Be(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?Rt(t,n):At(t,n,e,r,f+1)}function Zr(e,t,n,r){let o,s,i,l,c,a,f,u,p;const h=e;if(h!=null){const g=y(h);p=g instanceof U?(o=g,Be(o)):1}else p=0;let d;const m=r;if(m!=null){const g=y(m);d=g instanceof U?(s=g,Be(s)):1}else d=0;if(d>p+2){const g=y(r);if(g instanceof U){const w=g;if(i=Y(w),(i!=null?(l=y(i),l instanceof U?(c=l,Be(c)):1):0)>p+1){const C=y(Y(w));if(C instanceof U){const k=C;return ve(ve(e,t,n,Y(k)),B(k),ne(k),ve(X(k),B(w),ne(w),X(w)))}else throw new Error("internal error: Map.rebalance")}else return ve(ve(e,t,n,Y(w)),B(w),ne(w),X(w))}else throw new Error("internal error: Map.rebalance")}else if(p>d+2){const g=y(e);if(g instanceof U){const w=g;if(a=X(w),(a!=null?(f=y(a),f instanceof U?(u=f,Be(u)):1):0)>d+1){const C=y(X(w));if(C instanceof U){const k=C;return ve(ve(Y(w),B(w),ne(w),Y(k)),B(k),ne(k),ve(X(k),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return ve(Y(w),B(w),ne(w),ve(X(w),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return ve(e,t,n,r)}function wt(e,t,n,r){if(r!=null){const o=y(r),s=e.Compare(t,B(o))|0;if(o instanceof U){const i=o;return s<0?Zr(wt(e,t,n,Y(i)),B(i),ne(i),X(i)):s===0?At(t,n,Y(i),X(i),Be(i)):Zr(Y(i),B(i),ne(i),wt(e,t,n,X(i)))}else return s<0?At(t,n,void 0,r,2):s===0?Rt(t,n):At(t,n,r,void 0,2)}else return Rt(t,n)}function ui(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),l=r.Compare(o,B(i))|0;if(l===0)return ie(ne(i));if(i instanceof U){const c=i;e=r,t=o,n=l<0?Y(c):X(c);continue e}else return}else return}}function lc(e,t,n){const r=ui(e,t,n);if(r==null)throw new Error;return y(r)}function uc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),l=r.Compare(o,B(i))|0;if(i instanceof U){const c=i;if(l<0){e=r,t=o,n=Y(c);continue e}else{if(l===0)return!0;e=r,t=o,n=X(c);continue e}}else return l===0}else return!1}}function ci(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof U){const s=o;ci(n,Y(s)),n(B(s),ne(s)),e=n,t=X(s);continue e}else n(B(o),ne(o))}break}}function cc(e,t){ci(e,t)}function Kn(e,t){if(t!=null){const n=y(t);if(n instanceof U){const r=n,o=Kn(e,Y(r)),s=e(B(r),ne(r)),i=Kn(e,X(r));return At(B(r),s,o,i,Be(r))}else return Rt(B(n),e(B(n),ne(n)))}else return void 0}function ac(e,t){return Kn(e,t)}function fc(e,t,n){let r=n;cc((o,s)=>{t[r]=[o,s],r=r+1|0},e)}function dc(e,t){return Pe((n,r)=>wt(e,r[0],r[1],n),void 0,t)}function hc(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=wt(r,i[0],i[1],o),n=s;continue e}else return o}}function pc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=wt(e,o[0],o[1],n)}return n}function ai(e,t){if(Me(t))return pc(e,t);if(t instanceof de)return dc(e,t);{const n=G(t);try{return hc(e,void 0,n)}finally{F(n)}}}class _c extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function fi(e){e:for(;;){const t=e;if($(t))return z();{const n=T(t),r=x(t);if(r!=null){const o=y(r);if(o instanceof U){const s=o;e=D([Y(s),Rt(B(s),ne(s)),X(s)],n);continue e}else return t}else{e=n;continue e}}}}function Jr(e){return new _c(fi(se(e)),!1)}function mc(){throw new Error("enumeration not started")}function gc(){throw new Error("enumeration already finished")}function Kr(e){if(e.started){const t=e.stack;if($(t))return gc();if(x(t)!=null){const n=y(x(t));if(n instanceof U)throw new Error("Please report error: Map iterator, unexpected stack for current");return[B(n),ne(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return mc()}function wc(e){if(e.started){const t=e.stack;if($(t))return!1;if(x(t)!=null){if(y(x(t))instanceof U)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=fi(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 Yr(e){let t=Jr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Kr(t)},"System.Collections.IEnumerator.get_Current"(){return Kr(t)},"System.Collections.IEnumerator.MoveNext"(){return wc(t)},"System.Collections.IEnumerator.Reset"(){t=Jr(e)},Dispose(){}}}class pn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Cc(this)|0}Equals(t){const n=this;if(t instanceof pn){const r=t,o=G(n);try{const s=G(r);try{const i=()=>{const l=o["System.Collections.IEnumerator.MoveNext"]();if(l===s["System.Collections.IEnumerator.MoveNext"]())if(l){const c=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return re(c[0],a[0])&&re(c[1],a[1])?i():!1}else return!0;else return!1};return i()}finally{F(s)}}finally{F(o)}}else return!1}toString(){return"map ["+We("; ",ge(n=>bu("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Yr(this.tree)}[Symbol.iterator](){return wn(G(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Yr(this.tree)}CompareTo(t){const n=this;if(t instanceof pn)return ec((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:ye(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 Qr(n,t[0])&&re(Xr(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){fc(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return On(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return On(this)|0}get size(){return On(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return ge(n=>[n[0],n[1]],this)}get(t){return Xr(this,t)}has(t){return Qr(this,t)}keys(){return ge(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return ge(n=>n[1],this)}forEach(t,n){const r=this;si(o=>{t(o[1],o[0],r)},r)}}function Wt(e,t){return new pn(e,t)}function yc(e){return Wt(e,void 0)}function bc(e,t,n){return Wt(e.comparer,wt(e.comparer,t,n,e.tree))}function Xr(e,t){return lc(e.comparer,t,e.tree)}function vc(e,t){return Wt(e.comparer,ac(t,e.tree))}function On(e){return ic(e.tree)}function Qr(e,t){return uc(e.comparer,t,e.tree)}function Sc(e,t){return ui(e.comparer,t,e.tree)}function Cc(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=G(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ve(o[0]))|0,n=t(n,Ve(o[1]))|0}}finally{F(r)}return n|0}function di(e,t,n){return bc(n,e,t)}function hi(e,t){return Sc(t,e)}function pi(e,t){return vc(t,e)}function xc(e,t){return Wt(t,ai(t,e))}function Ec(e,t){return Wt(t,ai(t,e))}function vr(e){return yc(e)}function kc(e){return new js("Content-Type",e)}function _i(e){return new js("Authorization",e)}const Ke=new Bt("",new pr(0,[]),z(),!1,void 0,void 0,void 0,new Us(0,[]));new Bs(0,"","","",vr({Compare:yn}),new it(0,[""]));function eo(e,t){return vu(t)?[t]:Cu(t,[e],void 0,0)}function Tc(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 mi(e){return new Bt(e,Ke.method,Ke.headers,Ke.withCredentials,Ke.overridenMimeType,Ke.overridenResponseType,Ke.timeout,Ke.content)}function gi(e,t){return new Bt(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Yn(e,t){return new Bt(t.url,t.method,yr(t.headers,se(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function $c(e,t){return new Bt(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function wi(e){return ru(t=>{const n=new XMLHttpRequest;n.open(Tc(e.method),e.url),n.onreadystatechange=()=>{let c,a,f,u,p,h,d;n.readyState===4&&t[0]((c=(a=n.responseType,a===""||a==="text"?n.responseText:""),f=n.status|0,u=n.responseType,p=(h=n.responseType,h===""?new it(0,[n.responseText]):h==="text"?new it(0,[n.responseText]):h==="arraybuffer"?new it(2,[n.response]):h==="blob"?new it(1,[n.response]):new it(3,[n.response])),d=Ec($u(m=>{const g=j(eo(":",m));if(!$(g))return[x(g).toLocaleLowerCase(),We(":",T(g)).trim()]},eo(`\r
4
+ `,n.getAllResponseHeaders())),{Compare:yn}),new Bs(f,c,u,n.responseURL,d,p)))};const r=G(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{F(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 l=e.content;switch(l.tag){case 1:{n.send(ie(l.fields[0]));break}case 3:{n.send(ie(l.fields[0]));break}case 2:{n.send(ie(l.fields[0]));break}default:n.send()}})}const Qe={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Nn(e,t){return e.replace(/[a-z]?[A-Z]/g,n=>n.length===1?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function Ic(e,t){switch(t){case Qe.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Qe.SnakeCase:return Nn(e,"_");case Qe.SnakeCaseAllCaps:return Nn(e,"_").toUpperCase();case Qe.KebabCase:return Nn(e,"-");case Qe.None:default:return e}}function Mc(e,t=Qe.None){const n={},r=t;function o(i){throw new Error("Cannot infer key and value of "+String(i))}function s(i,l,c){i=Ic(i,l),n[i]=c}for(let i of e){let l=Qe.None;if(i==null&&o(i),i instanceof W){const c=i.cases()[i.tag];i=i.fields.length===0?c:[c].concat(i.fields),l=r}if(Array.isArray(i))switch(i.length){case 0:o(i);break;case 1:s(i[0],l,!0);break;case 2:const c=i[1];s(i[0],l,c);break;default:s(i[0],l,i.slice(1))}else typeof i=="string"?s(i,l,!0):o(i)}return n}class v extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class kn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function to(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function yi(e,t){switch(e.tag){case 2:return mu(to(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return to(t)}}const Pc=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,no=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Ac=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Oc(e){function t(r){return r.replace(no,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Pc.test(n))return xu(n,"{","}","(",")");if(no.test(n))return t(n);if(Ac.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 Nc(e,t){try{return t.contents=Oc(e),!0}catch{return!1}}var Xn;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(Xn||(Xn={}));function Rc(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function ro(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 Fc(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 Dc(e,t){if(t&Xn.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 Vc(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||Dc(s,t),!Fc(n).test(i))return Rc(o,n)}return null}function Lc(e,t,n,r,o){const s=Vc(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[l,c]=ro(!0,r);!n&&s.radix!==10&&i>=l&&i<=c&&(i=i<<32-r>>32-r);const[a,f]=ro(n,r);if(i>=a&&i<=f)return i}}throw new Error("Input string was not in a correct format.")}function xt(e,t,n,r,o){try{return o.contents=Lc(e,t,n,r),!0}catch{return!1}}function bi(e,t){Hc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Hc(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 jc(){return bi(-621355968e5,0)}function Uc(e){const[t,n]=zs(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return bi(t.getTime(),r)}function Bc(e,t){try{return t.contents=Uc(e),!0}catch{return!1}}function qt(e){return e<0?Math.ceil(e):Math.floor(e)}function oo(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Gc(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 Gc(e){return Number(BigInt(e)/10000n)}function zc(e){return qt(e/864e5)}function Wc(e){return qt(e%864e5/36e5)}function qc(e){return qt(e%36e5/6e4)}function Zc(e){return qt(e%6e4/1e3)}function Jc(e){return qt(e%1e3)}function Kc(e,t="c",n){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const r=Math.abs(zc(e)),o=Math.abs(Wc(e)),s=Math.abs(qc(e)),i=Math.abs(Zc(e)),l=Math.abs(Jc(e));return`${e<0?"-":""}${r===0&&(t==="c"||t==="g")?"":t==="c"?r+".":r+":"}${t==="g"?o:oe(o,2)}:${oe(s,2)}:${oe(i,2)}${l===0&&(t==="c"||t==="g")?"":t==="g"?"."+oe(l,3):"."+dl(l,3,7)}`}function Yc(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 oo(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 l=r[1]!=null&&r[1]==="-"?-1:1,c=+r[4],a=+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 l*oo(o,c,a,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Xc(e,t){try{return t.contents=Yc(e),!0}catch{return!1}}class vi{constructor(t){this.k=t}}function ce(e){return new vi(e)}function E(e){return e.k}class I extends vi{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function ae(e,t,n,r){return new I(e,t,n,r)}function A(e){return e.left}function M(e){return e.right}function ct(e){return e.h}function Si(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=y(n);if(o instanceof I){const s=o;e=A(s),t=Si(M(s),r+1);continue e}else return r+1|0}else return r|0}}function Qc(e){return Si(e,0)}function Se(e,t,n){let r,o,s;const i=e;if(i!=null){const f=y(i);s=f instanceof I?(r=f,ct(r)):1}else s=0;let l;const c=n;if(c!=null){const f=y(c);l=f instanceof I?(o=f,ct(o)):1}else l=0;const a=(s<l?l:s)|0;return a===0?ce(t):ae(t,e,n,a+1)}function so(e,t,n){let r,o,s,i,l,c,a,f,u;const p=e;if(p!=null){const m=y(p);u=m instanceof I?(r=m,ct(r)):1}else u=0;let h;const d=n;if(d!=null){const m=y(d);h=m instanceof I?(o=m,ct(o)):1}else h=0;if(h>u+2){const m=y(n);if(m instanceof I){const g=m;if(s=A(g),(s!=null?(i=y(s),i instanceof I?(l=i,ct(l)):1):0)>u+1){const w=y(A(g));if(w instanceof I){const C=w;return Se(Se(e,t,A(C)),E(C),Se(M(C),E(g),M(g)))}else throw new Error("internal error: Set.rebalance")}else return Se(Se(e,t,A(g)),E(g),M(g))}else throw new Error("internal error: Set.rebalance")}else if(u>h+2){const m=y(e);if(m instanceof I){const g=m;if(c=M(g),(c!=null?(a=y(c),a instanceof I?(f=a,ct(f)):1):0)>h+1){const w=y(M(g));if(w instanceof I){const C=w;return Se(Se(A(g),E(g),A(C)),E(C),Se(M(C),t,n))}else throw new Error("internal error: Set.rebalance")}else return Se(A(g),E(g),Se(M(g),t,n))}else throw new Error("internal error: Set.rebalance")}else return Se(e,t,n)}function yt(e,t,n){if(n!=null){const r=y(n),o=e.Compare(t,E(r))|0;if(r instanceof I){const s=r;return o<0?so(yt(e,t,A(s)),E(s),M(s)):o===0?n:so(A(s),E(s),yt(e,t,M(s)))}else{const s=e.Compare(t,E(r))|0;return s<0?ae(t,void 0,n,2):s===0?n:ae(t,n,void 0,2)}}else return ce(t)}function Ci(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),l=r.Compare(o,E(i))|0;if(i instanceof I){const c=i;if(l<0){e=r,t=o,n=A(c);continue e}else{if(l===0)return!0;e=r,t=o,n=M(c);continue e}}else return l===0}else return!1}}function xi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof I){const s=o;xi(n,A(s)),n(E(s)),e=n,t=M(s);continue e}else n(E(o))}break}}class ea extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Ei(e){e:for(;;){const t=e;if($(t))return z();{const n=x(t),r=T(t);if(n!=null){const o=y(n);if(o instanceof I){const s=o;e=D([A(s),ce(E(s)),M(s)],r);continue e}else return t}else{e=r;continue e}}}}function io(e){return new ea(Ei(se(e)),!1)}function ta(){throw new Error("Enumeration not started")}function na(){throw new Error("Enumeration already started")}function lo(e){if(e.started){const t=e.stack;if($(t))return na();if(x(t)!=null){const n=y(x(t));return E(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return ta()}function ra(e){if(e.started){const t=e.stack;if($(t))return!1;if(x(t)!=null){if(y(x(t))instanceof I)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ei(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 uo(e){let t=io(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return lo(t)},"System.Collections.IEnumerator.get_Current"(){return lo(t)},"System.Collections.IEnumerator.MoveNext"(){return ra(t)},"System.Collections.IEnumerator.Reset"(){t=io(e)},Dispose(){}}}function oa(e,t,n){e:for(;;){const r=e,o=t,s=n;if($(o))return $(s)?0:-1;if($(s))return 1;if(x(s)!=null)if(x(o)!=null){const i=y(x(o)),l=y(x(s));if(i instanceof I){const c=i;if(A(c)==null)if(l instanceof I){const a=l;if(A(a)==null){const f=r.Compare(E(c),E(a))|0;if(f!==0)return f|0;e=r,t=_e(M(c),T(o)),n=_e(M(a),T(s));continue e}else{let f,u,p,h,d;switch($(o)?$(s)?f=2:x(s)!=null?(f=1,h=T(s),d=y(x(s))):f=2:x(o)!=null?(f=0,u=T(o),p=y(x(o))):$(s)?f=2:x(s)!=null?(f=1,h=T(s),d=y(x(s))):f=2,f){case 0:if(p instanceof I){const m=p;e=r,t=D([A(m),ae(E(m),void 0,M(m),0)],u),n=s;continue e}else{e=r,t=D([void 0,ce(E(p))],u),n=s;continue e}case 1:if(d instanceof I){const m=d;e=r,t=o,n=D([A(m),ae(E(m),void 0,M(m),0)],h);continue e}else{e=r,t=o,n=D([void 0,ce(E(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=r.Compare(E(c),E(l))|0;if(a!==0)return a|0;e=r,t=_e(M(c),T(o)),n=_e(void 0,T(s));continue e}else{let a,f,u,p,h;switch($(o)?$(s)?a=2:x(s)!=null?(a=1,p=T(s),h=y(x(s))):a=2:x(o)!=null?(a=0,f=T(o),u=y(x(o))):$(s)?a=2:x(s)!=null?(a=1,p=T(s),h=y(x(s))):a=2,a){case 0:if(u instanceof I){const d=u;e=r,t=D([A(d),ae(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=D([void 0,ce(E(u))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=D([A(d),ae(E(d),void 0,M(d),0)],p);continue e}else{e=r,t=o,n=D([void 0,ce(E(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(l instanceof I){const c=l;if(A(c)==null){const a=r.Compare(E(i),E(c))|0;if(a!==0)return a|0;e=r,t=_e(void 0,T(o)),n=_e(M(c),T(s));continue e}else{let a,f,u,p,h;switch($(o)?$(s)?a=2:x(s)!=null?(a=1,p=T(s),h=y(x(s))):a=2:x(o)!=null?(a=0,f=T(o),u=y(x(o))):$(s)?a=2:x(s)!=null?(a=1,p=T(s),h=y(x(s))):a=2,a){case 0:if(u instanceof I){const d=u;e=r,t=D([A(d),ae(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=D([void 0,ce(E(u))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=D([A(d),ae(E(d),void 0,M(d),0)],p);continue e}else{e=r,t=o,n=D([void 0,ce(E(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(E(i),E(l))|0;if(c!==0)return c|0;e=r,t=T(o),n=T(s);continue e}}else{y(x(s));let i,l,c,a,f;switch($(o)?$(s)?i=2:x(s)!=null?(i=1,a=T(s),f=y(x(s))):i=2:x(o)!=null?(i=0,l=T(o),c=y(x(o))):$(s)?i=2:x(s)!=null?(i=1,a=T(s),f=y(x(s))):i=2,i){case 0:if(c instanceof I){const u=c;e=r,t=D([A(u),ae(E(u),void 0,M(u),0)],l),n=s;continue e}else{e=r,t=D([void 0,ce(E(c))],l),n=s;continue e}case 1:if(f instanceof I){const u=f;e=r,t=o,n=D([A(u),ae(E(u),void 0,M(u),0)],a);continue e}else{e=r,t=o,n=D([void 0,ce(E(f))],a);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(x(o)!=null){y(x(o));let i,l,c,a,f;switch($(o)?$(s)?i=2:x(s)!=null?(i=1,a=T(s),f=y(x(s))):i=2:x(o)!=null?(i=0,l=T(o),c=y(x(o))):$(s)?i=2:x(s)!=null?(i=1,a=T(s),f=y(x(s))):i=2,i){case 0:if(c instanceof I){const u=c;e=r,t=D([A(u),ae(E(u),void 0,M(u),0)],l),n=s;continue e}else{e=r,t=D([void 0,ce(E(c))],l),n=s;continue e}case 1:if(f instanceof I){const u=f;e=r,t=o,n=D([A(u),ae(E(u),void 0,M(u),0)],a);continue e}else{e=r,t=o,n=D([void 0,ce(E(f))],a);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(s);continue e}}}function co(e,t,n){return t==null?n==null?0:-1:n==null?1:oa(e,se(t),se(n))|0}function sa(e,t,n){let r=n;xi(o=>{t[r]=o,r=r+1|0},e)}function ia(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=yt(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function la(e,t){return Cn((n,r)=>yt(e,r,n),void 0,t)}function ua(e,t){return Pe((n,r)=>yt(e,r,n),void 0,t)}function ki(e,t){if(Me(t))return la(e,t);if(t instanceof de)return ua(e,t);{const n=G(t);try{return ia(e,void 0,n)}finally{F(n)}}}class Sr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return fa(this)|0}Equals(t){let n;const r=this;return t instanceof Sr&&(n=t,co(dt(r),Ce(r),Ce(n))===0)}toString(){return"set ["+We("; ",ge(n=>Te(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return co(dt(n),Ce(n),Ce(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 Ci(dt(n),t,Ce(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){sa(Ce(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 uo(Ce(this))}[Symbol.iterator](){return wn(G(this))}"System.Collections.IEnumerable.GetEnumerator"(){return uo(Ce(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 Ti(this,t)}keys(){return ge(n=>n,this)}values(){return ge(n=>n,this)}entries(){return ge(n=>[n,n],this)}forEach(t,n){const r=this;si(o=>{t(o,o,r)},r)}}function Tn(e,t){return new Sr(e,t)}function dt(e){return e.comparer}function Ce(e){return e.tree}function ca(e){return Tn(e,void 0)}function aa(e,t){return Tn(dt(e),yt(dt(e),t,Ce(e)))}function Rn(e){return Qc(Ce(e))}function Ti(e,t){return Ci(dt(e),t,Ce(e))}function fa(e){let t=0;const n=G(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ve(r)+631|0}}finally{F(n)}return Math.abs(t)|0}function Qn(e,t){return Ti(t,e)}function da(e,t){return aa(t,e)}function ha(e){return ca(e)}function pa(e,t){return Tn(t,ki(t,e))}function _a(e,t){return Tn(t,ki(t,e))}function Tt(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
- `:" ")}}function pa(e,t){const n=t.tag===2?xt(t.fields[0],t.fields[1],!0):t.tag===1?xt(t.fields[0],t.fields[1],!1)+`
7
- Reason: `+t.fields[2]:t.tag===3?xt(t.fields[0],t.fields[1],!0):t.tag===4?xt(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
6
+ `:" ")}}function ma(e,t){const n=t.tag===2?Tt(t.fields[0],t.fields[1],!0):t.tag===1?Tt(t.fields[0],t.fields[1],!1)+`
7
+ Reason: `+t.fields[2]:t.tag===3?Tt(t.fields[0],t.fields[1],!0):t.tag===4?Tt(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
8
8
  `+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
9
9
 
10
- `+Ue(`
10
+ `+We(`
11
11
 
12
- `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:xt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function ki(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new p(1,[pa(o[0],o[1])])}else return new p(0,[r.fields[0]])}function _a(e,t){try{return ki("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new p(1,["Given an invalid JSON: "+n.message]);throw n}}function Ti(e,t){return typeof t=="string"?new p(0,[t]):new p(1,[[e,new b(0,["a string",t])]])}function ma(e,t){if(typeof t=="string"){const n=t;return n.length===1?new p(0,[n[0]]):new p(1,[[e,new b(0,["a single character string",t])]])}else return new p(1,[[e,new b(0,["a char",t])]])}function wa(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Oc(t,new oe(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new b(0,["a guid",t])]])}else return new p(1,[[e,new b(0,["a guid",t])]])}function ga(e,t){return t==null?new p(0,[void 0]):new p(1,[[e,new b(0,["null",t])]])}const uo=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 p(0,[(o+128&255)-128]):new p(1,[[n,new b(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new p(1,[[n,new b(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!1,8,new oe(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["a sbyte",r])]])}else return new p(1,[[n,new b(0,["a sbyte",r])]])},lo=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 p(0,[o&255]):new p(1,[[n,new b(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new p(1,[[n,new b(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!0,8,new oe(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["a byte",r])]])}else return new p(1,[[n,new b(0,["a byte",r])]])},co=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 p(0,[(o+32768&65535)-32768]):new p(1,[[n,new b(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new p(1,[[n,new b(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!1,16,new oe(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["an int16",r])]])}else return new p(1,[[n,new b(0,["an int16",r])]])},ao=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 p(0,[o&65535]):new p(1,[[n,new b(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new p(1,[[n,new b(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!0,16,new oe(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["an uint16",r])]])}else return new p(1,[[n,new b(0,["an uint16",r])]])},fo=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 p(0,[~~o]):new p(1,[[n,new b(1,["an int",o,"Value was either too large or too small for an int"])]]):new p(1,[[n,new b(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!1,32,new oe(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["an int",r])]])}else return new p(1,[[n,new b(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 p(0,[o>>>0]):new p(1,[[n,new b(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new p(1,[[n,new b(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ct(r,511,!0,32,new oe(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new b(0,["an uint32",r])]])}else return new p(1,[[n,new b(0,["an uint32",r])]])};function ya(e,t){return typeof t=="boolean"?new p(0,[t]):new p(1,[[e,new b(0,["a boolean",t])]])}function ba(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new b(0,["a float",t])]])}function Sa(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new b(0,["a float32",t])]])}function va(e,t){if(typeof t=="string"){let n,r=al();return n=[dl(t,new oe(()=>r,o=>{r=o})),r],n[0]?new p(0,[hl(n[1])]):new p(1,[[e,new b(0,["a datetime",t])]])}else return new p(1,[[e,new b(0,["a datetime",t])]])}function Ca(e,t){if(typeof t=="string"){let n,r=Lc();return n=[jc(t,new oe(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new b(0,["a datetimeoffset",t])]])}else return new p(1,[[e,new b(0,["a datetime",t])]])}function Ea(e,t){if(typeof t=="string"){let n,r=0;return n=[Kc(t,new oe(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new b(0,["a timespan",t])]])}else return new p(1,[[e,new b(0,["a timespan",t])]])}function po(e,t,n,r){let o;const s=n+".["+Ye(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,i[e]):new p(1,[[s,new b(5,["a longer array. Need index `"+Ye(e)+"` but there are only `"+(o=i.length,Ye(o))+"` entries",r])]])}else return new p(1,[[s,new b(0,["an array",r])]])}function xa(e,t,n){return n==null?new p(0,[void 0]):he(ne,e(t,n))}function _o(e,t,n){if(Array.isArray(n)){let r=-1;return he(_r,Sn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+Ye(r)+"]",s);return i.tag===0?new p(0,[ae(i.fields[0],o.fields[0])]):new p(1,[i.fields[0]])}else return o},new p(0,[K()]),n))}else return new p(1,[[t,new b(0,["a list",n])]])}function ka(e,t,n){if(Array.isArray(n)){let r=-1;return he(ec,Sn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+Ye(r)+"]",s);return i.tag===0?new p(0,[Le([i.fields[0]],o.fields[0])]):new p(1,[i.fields[0]])}else return o},new p(0,[[]]),n))}else return new p(1,[[t,new b(0,["a seq",n])]])}function mo(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Sn((s,i)=>{if(r=r+1|0,s.tag===0){const u=s.fields[0],c=e(t+".["+Ye(r)+"]",i);return c.tag===0?(u[r]=c.fields[0],new p(0,[u])):new p(1,[c.fields[0]])}else return s},new p(0,[bn(new Array(o.length),0,o.length,null)]),o)}else return new p(1,[[t,new b(0,["an array",n])]])}function Ta(e,t,n){return((o,s)=>{e:for(;;){const i=o,u=s;if($(i))return new p(1,[[t,new b(7,[u])]]);{const c=ki(t,F(C(i)),n);if(c.tag===1){o=T(i),s=mr(u,xe(c.fields[0]));continue e}else return new p(0,[c.fields[0]])}}})(e,K())}function $a(e,t,n){return new p(0,[e])}function wo(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new p(1,[o.fields[0]])}function Ia(e,t,n,r){const o=t(n,r);return o.tag===1?new p(1,[o.fields[0]]):new p(0,[e(o.fields[0])])}function Ma(e,t){let n;const r=e;return n=o=>s=>po(0,r,o,s),o=>s=>wo(jn(i=>{let u;const c=t;return u=a=>f=>po(1,c,a,f),a=>f=>wo((l,_,h)=>$a([i,l]),F(u),a,f)}),F(n),o,s)}function Pa(e){return vc(e,{Compare:pe})}function Oa(e){return ha(e,{Compare:pe})}function Aa(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Ys((r,o)=>{const s=r[0];return o.tag===0?he(i=>ae(i,o.fields[0]),r[1](t+"."+s)(n[s])):o},e,new p(0,[K()])):new p(1,[[t,new b(0,["an object",n])]])}function Ra(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Cn((o,s)=>{if(o.tag===0){const i=e(n,s);if(i.tag===0){const u=t(n+"."+s,r[s]);return u.tag===0?new p(0,[ae([i.fields[0],u.fields[0]],o.fields[0])]):new p(1,[u.fields[0]])}else return new p(1,[i.fields[0]])}else return o},new p(0,[K()]),Object.keys(r)):new p(1,[[n,new b(0,["an object",r])]])}function $i(e,t,n,r){let o;const s=t.length+e|0;if(s!==r.length)return new p(1,[[n,new b(6,[(o=r.length|0,mt(je("Expected array of length %i but got %i"))(s)(o))])]]);{let i=new p(0,[K()]);for(let u=e;u<=r.length-1;u++)if(i.tag===0){const c=i.fields[0],a=mt(je("%s[%i]"))(n)(u),f=t[u-e],l=r[u];i=he(_=>ae(_,c),f(a)(l))}return he(_r,i)}}function go(e,t,n,r,o,s){const i=kl(u=>at(u)===r,Os(n));if(i!=null){const u=i,c=St(a=>ye(e,t,!1,a[1]),Fs(u));return he(a=>Lu(u,Bt(a)),c.length===0&&s.length<=1?new p(0,[K()]):$i(1,c,o,s))}else return new p(1,[[o,new b(6,["Cannot find case "+r+" in "+A(n)])]])}function yo(e,t,n,r){let o;const s=new oe(Ee());let i;const u=A(r);i=u===""?e:ai(u,s,e);let c;if(Ns(r)){const a=St(f=>[wi(t,at(f)),ye(i,t,!1,f[1])],Pt(r));c=f=>l=>he(_=>Hu(r,Bt(_)),Aa(a,f,l))}else if(Rs(r))c=a=>f=>{if(typeof f=="string")return go(i,t,r,f,a,[]);if(Array.isArray(f)){const l=f;return Ju(_=>go(i,t,r,_,a,l),Ti(a+"[0]",l[0]))}else return new p(1,[[a,new b(0,["a string or array",f])]])};else if(n)c=a=>f=>new p(1,[[a,new b(2,["an extra coder for "+A(r),f])]]);else throw new Error((o=A(r),mt(je(`Cannot generate auto decoder for %s. Please pass an extra decoder.
12
+ `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Tt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function $i(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new _(1,[ma(o[0],o[1])])}else return new _(0,[r.fields[0]])}function ga(e,t){try{return $i("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new _(1,["Given an invalid JSON: "+n.message]);throw n}}function Ii(e,t){return typeof t=="string"?new _(0,[t]):new _(1,[[e,new v(0,["a string",t])]])}function wa(e,t){if(typeof t=="string"){const n=t;return n.length===1?new _(0,[n[0]]):new _(1,[[e,new v(0,["a single character string",t])]])}else return new _(1,[[e,new v(0,["a char",t])]])}function ya(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Nc(t,new ue(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new v(0,["a guid",t])]])}else return new _(1,[[e,new v(0,["a guid",t])]])}function ba(e,t){return t==null?new _(0,[void 0]):new _(1,[[e,new v(0,["null",t])]])}const ao=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 _(0,[(o+128&255)-128]):new _(1,[[n,new v(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new _(1,[[n,new v(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!1,8,new ue(()=>s,i=>{s=i|0})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["a sbyte",r])]])}else return new _(1,[[n,new v(0,["a sbyte",r])]])},fo=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 _(0,[o&255]):new _(1,[[n,new v(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new _(1,[[n,new v(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!0,8,new ue(()=>s,i=>{s=i})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["a byte",r])]])}else return new _(1,[[n,new v(0,["a byte",r])]])},ho=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 _(0,[(o+32768&65535)-32768]):new _(1,[[n,new v(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new _(1,[[n,new v(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!1,16,new ue(()=>s,i=>{s=i|0})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["an int16",r])]])}else return new _(1,[[n,new v(0,["an int16",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<=65535?new _(0,[o&65535]):new _(1,[[n,new v(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new _(1,[[n,new v(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!0,16,new ue(()=>s,i=>{s=i})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["an uint16",r])]])}else return new _(1,[[n,new v(0,["an uint16",r])]])},_o=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 _(0,[~~o]):new _(1,[[n,new v(1,["an int",o,"Value was either too large or too small for an int"])]]):new _(1,[[n,new v(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!1,32,new ue(()=>s,i=>{s=i|0})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["an int",r])]])}else return new _(1,[[n,new v(0,["an int",r])]])},mo=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 _(0,[o>>>0]):new _(1,[[n,new v(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new _(1,[[n,new v(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[xt(r,511,!0,32,new ue(()=>s,i=>{s=i})),s],o[0]?new _(0,[o[1]]):new _(1,[[n,new v(0,["an uint32",r])]])}else return new _(1,[[n,new v(0,["an uint32",r])]])};function va(e,t){return typeof t=="boolean"?new _(0,[t]):new _(1,[[e,new v(0,["a boolean",t])]])}function Sa(e,t){return typeof t=="number"?new _(0,[t]):new _(1,[[e,new v(0,["a float",t])]])}function Ca(e,t){return typeof t=="number"?new _(0,[t]):new _(1,[[e,new v(0,["a float32",t])]])}function xa(e,t){if(typeof t=="string"){let n,r=fu();return n=[hu(t,new ue(()=>r,o=>{r=o})),r],n[0]?new _(0,[pu(n[1])]):new _(1,[[e,new v(0,["a datetime",t])]])}else return new _(1,[[e,new v(0,["a datetime",t])]])}function Ea(e,t){if(typeof t=="string"){let n,r=jc();return n=[Bc(t,new ue(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new v(0,["a datetimeoffset",t])]])}else return new _(1,[[e,new v(0,["a datetime",t])]])}function ka(e,t){if(typeof t=="string"){let n,r=0;return n=[Xc(t,new ue(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new v(0,["a timespan",t])]])}else return new _(1,[[e,new v(0,["a timespan",t])]])}function go(e,t,n,r){let o;const s=n+".["+et(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,i[e]):new _(1,[[s,new v(5,["a longer array. Need index `"+et(e)+"` but there are only `"+(o=i.length,et(o))+"` entries",r])]])}else return new _(1,[[s,new v(0,["an array",r])]])}function Ta(e,t,n){return n==null?new _(0,[void 0]):we(ie,e(t,n))}function wo(e,t,n){if(Array.isArray(n)){let r=-1;return we(wr,Cn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+et(r)+"]",s);return i.tag===0?new _(0,[_e(i.fields[0],o.fields[0])]):new _(1,[i.fields[0]])}else return o},new _(0,[z()]),n))}else return new _(1,[[t,new v(0,["a list",n])]])}function $a(e,t,n){if(Array.isArray(n)){let r=-1;return we(nc,Cn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+et(r)+"]",s);return i.tag===0?new _(0,[me([i.fields[0]],o.fields[0])]):new _(1,[i.fields[0]])}else return o},new _(0,[[]]),n))}else return new _(1,[[t,new v(0,["a seq",n])]])}function yo(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Cn((s,i)=>{if(r=r+1|0,s.tag===0){const l=s.fields[0],c=e(t+".["+et(r)+"]",i);return c.tag===0?(l[r]=c.fields[0],new _(0,[l])):new _(1,[c.fields[0]])}else return s},new _(0,[Sn(new Array(o.length),0,o.length,null)]),o)}else return new _(1,[[t,new v(0,["an array",n])]])}function Ia(e,t,n){return((o,s)=>{e:for(;;){const i=o,l=s;if($(i))return new _(1,[[t,new v(7,[l])]]);{const c=$i(t,V(x(i)),n);if(c.tag===1){o=T(i),s=yr(l,se(c.fields[0]));continue e}else return new _(0,[c.fields[0]])}}})(e,z())}function Ma(e,t,n){return new _(0,[e])}function bo(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new _(1,[o.fields[0]])}function Pa(e,t,n,r){const o=t(n,r);return o.tag===1?new _(1,[o.fields[0]]):new _(0,[e(o.fields[0])])}function Aa(e,t){let n;const r=e;return n=o=>s=>go(0,r,o,s),o=>s=>bo(zn(i=>{let l;const c=t;return l=a=>f=>go(1,c,a,f),a=>f=>bo((u,p,h)=>Ma([i,u]),V(l),a,f)}),V(n),o,s)}function Oa(e){return xc(e,{Compare:ye})}function Na(e){return _a(e,{Compare:ye})}function Ra(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Qs((r,o)=>{const s=r[0];return o.tag===0?we(i=>_e(i,o.fields[0]),r[1](t+"."+s)(n[s])):o},e,new _(0,[z()])):new _(1,[[t,new v(0,["an object",n])]])}function Fa(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?En((o,s)=>{if(o.tag===0){const i=e(n,s);if(i.tag===0){const l=t(n+"."+s,r[s]);return l.tag===0?new _(0,[_e([i.fields[0],l.fields[0]],o.fields[0])]):new _(1,[l.fields[0]])}else return new _(1,[i.fields[0]])}else return o},new _(0,[z()]),Object.keys(r)):new _(1,[[n,new v(0,["an object",r])]])}function Mi(e,t,n,r){let o;const s=t.length+e|0;if(s!==r.length)return new _(1,[[n,new v(6,[(o=r.length|0,gt(ze("Expected array of length %i but got %i"))(s)(o))])]]);{let i=new _(0,[z()]);for(let l=e;l<=r.length-1;l++)if(i.tag===0){const c=i.fields[0],a=gt(ze("%s[%i]"))(n)(l),f=t[l-e],u=r[l];i=we(p=>_e(p,c),f(a)(u))}return we(wr,i)}}function vo(e,t,n,r,o,s){const i=Tu(l=>ft(l)===r,Ns(n));if(i!=null){const l=i,c=St(a=>xe(e,t,!1,a[1]),Vs(l));return we(a=>Hl(l,zt(a)),c.length===0&&s.length<=1?new _(0,[z()]):Mi(1,c,o,s))}else return new _(1,[[o,new v(6,["Cannot find case "+r+" in "+R(n)])]])}function So(e,t,n,r){let o;const s=new ue(ke());let i;const l=R(r);i=l===""?e:di(l,s,e);let c;if(Ds(r)){const a=St(f=>[yi(t,ft(f)),xe(i,t,!1,f[1])],Ot(r));c=f=>u=>we(p=>jl(r,zt(p)),Ra(a,f,u))}else if(Fs(r))c=a=>f=>{if(typeof f=="string")return vo(i,t,r,f,a,[]);if(Array.isArray(f)){const u=f;return Kl(p=>vo(i,t,r,p,a,u),Ii(a+"[0]",u[0]))}else return new _(1,[[a,new v(0,["a string or array",f])]])};else if(n)c=a=>f=>new _(1,[[a,new v(2,["an extra coder for "+R(r),f])]]);else throw new Error((o=R(r),gt(ze(`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 ye(e,t,n,r){let o,s,i,u;const c=A(r),a=fi(c,e);if(a==null)if($s(r)){const f=ye(e,t,!1,Ht(r));return l=>_=>mo(F(f),l,_)}else if(ur(r))switch(A(Ps(r))){case"System.SByte":return l=>_=>{const h=r,d=l,m=_,w=uo(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0]|0;return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,g.toString())]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};case"System.Byte":return l=>_=>{const h=r,d=l,m=_,w=lo(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,g.toString())]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};case"System.Int16":return l=>_=>{const h=r,d=l,m=_,w=co(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0]|0;return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,du(g))]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};case"System.UInt16":return l=>_=>{const h=r,d=l,m=_,w=ao(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,g.toString())]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};case"System.Int32":return l=>_=>{const h=r,d=l,m=_,w=fo(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0]|0;return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,Ye(g))]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};case"System.UInt32":return l=>_=>{const h=r,d=l,m=_,w=ho(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return rt(g,tt(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[nt(h,g.toString())]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};default:{const l=A(r),_=qs(je(`Cannot generate auto decoder for %s.
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 xe(e,t,n,r){let o,s,i,l;const c=R(r),a=hi(c,e);if(a==null)if(Ms(r)){const f=xe(e,t,!1,Ut(r));return u=>p=>yo(V(f),u,p)}else if(ar(r))switch(R(Os(r))){case"System.SByte":return u=>p=>{const h=r,d=u,m=p,g=ao(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0]|0;return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,w.toString())]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};case"System.Byte":return u=>p=>{const h=r,d=u,m=p,g=fo(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0];return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,w.toString())]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};case"System.Int16":return u=>p=>{const h=r,d=u,m=p,g=ho(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0]|0;return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,hl(w))]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};case"System.UInt16":return u=>p=>{const h=r,d=u,m=p,g=po(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0];return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,w.toString())]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};case"System.Int32":return u=>p=>{const h=r,d=u,m=p,g=_o(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0]|0;return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,et(w))]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};case"System.UInt32":return u=>p=>{const h=r,d=u,m=p,g=mo(d)(m);if(g.tag===1)return new _(1,[g.fields[0]]);{const w=g.fields[0];return st(w,rt(h),{Equals:(C,k)=>C===k,GetHashCode:Ae})?new _(0,[ot(h,w.toString())]):new _(1,[[d,new v(1,[R(h),m,"Unkown value provided for the enum"])]])}};default:{const u=R(r),p=Js(ze(`Cannot generate auto decoder for %s.
15
15
  Thoth.Json.Net only support the following enum types:
16
16
  - sbyte
17
17
  - byte
@@ -20,9 +20,9 @@ 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
- `))(l);return h=>_(h)}}else if(Is(r))if(lr(r)){const f=St(l=>ye(e,t,!1,l),As(r));return l=>_=>Array.isArray(_)?he(h=>ju(Bt(h)),$i(0,f,l,_)):new p(1,[[l,new b(0,["an array",_])]])}else switch(A(Ms(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=ye(e,t,!0,ue(r)[0]),l=>_=>xa(F(o),l,_);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=ye(e,t,!1,ue(r)[0]),l=>_=>_o(F(s),l,_);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=ye(e,t,!1,ue(r)[0]),l=>_=>ka(F(i),l,_);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const l=ye(e,t,!1,ue(r)[0]),_=ye(e,t,!1,ue(r)[1]);let h;const d=fe([m=>w=>Ra(F(l),F(_),m,w),(u=Ma(F(l),F(_)),m=>w=>_o(F(u),m,w))]);return h=m=>w=>Ta(d,m,w),m=>w=>Ia(Pa,F(h),m,w)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const l=ye(e,t,!1,ue(r)[0]);return _=>h=>{const d=mo(F(l),_,h);return d.tag===0?new p(0,[Oa(d.fields[0])]):new p(1,[d.fields[0]])}}default:return yo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>l=>ya(f,l);case"Microsoft.FSharp.Core.Unit":return f=>l=>ga(f,l);case"System.String":return f=>l=>Ti(f,l);case"System.Char":return f=>l=>ma(f,l);case"System.SByte":return uo;case"System.Byte":return lo;case"System.Int16":return co;case"System.UInt16":return ao;case"System.Int32":return fo;case"System.UInt32":return ho;case"System.Double":return f=>l=>ba(f,l);case"System.Single":return f=>l=>Sa(f,l);case"System.DateTime":return f=>l=>va(f,l);case"System.DateTimeOffset":return f=>l=>Ca(f,l);case"System.TimeSpan":return f=>l=>Ea(f,l);case"System.Guid":return f=>l=>wa(f,l);case"System.Object":return f=>l=>new p(0,[l]);default:return yo(e,t,n,r)}else{const f=a;return l=>_=>f.contents(l)(_)}}function Na(e){return e!=null?di((t,n)=>new oe(n[1]),e.Coders):gr({Compare:wn})}function Fa(e,t,n){const r=Gn(t,new En(0,[]));return ye(Na(n),r,!1,e)}function Da(e,t,n,r){const o=pe(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const s=o>0;return i=>{const u=pe(i,t)|0;return s&&u<=0||!s&&u>=0?[i,r(i,e)]:void 0}}function Va(e,t,n,r,o){const s=Da(t,n,r,o);return z(()=>Jl(s,e))}function La(e,t,n){return Va(e,t,n,0,(r,o)=>r+o)}class Ha extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BlobStorage","Unused"]}}function ja(){return ks("WorkplacePolicies.Api.Shared.Common.PathDto",[],Ha,()=>[[["Item",Qe]],[]])}class Ua extends re{constructor(t,n){super(),this.Name=t,this.Path=n}}function Ba(){return Lt("WorkplacePolicies.Api.Shared.Common.FileDto",[],Ua,()=>[["Name",Qe],["Path",ja()]])}class Ga extends re{constructor(t,n){super(),this.Copy=t,this.Link=n}}function za(){return Lt("WorkplacePolicies.Api.Shared.Common.AboutDto",[],Ga,()=>[["Copy",Qe],["Link",Qe]])}class Wa extends re{constructor(t,n){super(),this.PolicyId=t,this.VersionNumber=n|0}}function qa(){return Lt("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyIdentifierDto",[],Wa,()=>[["PolicyId",Qe],["VersionNumber",Nu]])}class Rt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Presented","Opened","Accepted"]}}function Za(){return ks("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemStatusDto",[],Rt,()=>[[],[],[]])}function bo(e,t){let n;switch(e.tag){case 1:{switch(t.tag){case 0:{n=2;break}default:n=1}break}case 2:{n=3;break}default:n=0}switch(n){case 0:return t;case 1:return t;case 2:return e;default:return e}}class Kn extends re{constructor(t,n){super(),this.Policy=t,this.Status=n}}function Ja(){return Lt("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemDto",[],Kn,()=>[["Policy",Au(["About",za()],["CreatedAt",Ou("System.DateTime")],["Description",Qe],["File",Ba()],["Identifier",qa()],["Title",Qe])],["Status",Za()]])}class Ka extends re{constructor(t){super(),this.PolicyReviewList=t}}function Ya(){return Lt("WorkplacePolicies.Api.Shared.BackendApiModels.InitResponse",[],Ka,()=>[["PolicyReviewList",Ru(Ja())]])}class Xa extends re{constructor(t){super(),this.Type=t}}class qt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Present","Open","Accept","Complete"]}}function Qa(e){return e}const Ii=Ee();function Zt(e){return Array.from(e)}function ef(e){return yn(e,"O")}function tf(e){return Zc(e)}function nf(){return Ee()}function rf(e){return yn(e,"O")}function of(e,t){return JSON.stringify(t,void 0,ne(e))}function sf(e){return t=>Wu(qu(e,t),()=>Ii)}function So(e,t,n,r){let o;const s=new oe(Ee());let i;const u=A(r);i=u===""?e:ai(u,s,e);let c;if(Ns(r)){const a=St(f=>{const l=wi(t,at(f)),_=$e(i,t,n,f[1]);return h=>d=>{const m=Vu(h,f);return(!n||n&&m!=null)&&(d[l]=_(m)),d}},Pt(r));c=f=>Cn((l,_)=>_(f)(l),{},a)}else if(Rs(r))c=a=>{const f=Du(a,r),l=f[0],_=f[1],h=_.length|0;if(h===0)return at(l);{const d=h|0,m=Fs(l),w=bn(new Array(d+1),0,d+1,null);w[0]=at(l);for(let g=1;g<=d;g++){const v=$e(i,t,n,m[g-1][1]);w[g]=v(_[g-1])}return w}};else throw new Error((o=A(r),mt(je(`Cannot generate auto encoder for %s. Please pass an extra encoder.
23
+ `))(u);return h=>p(h)}}else if(Ps(r))if(fr(r)){const f=St(u=>xe(e,t,!1,u),Rs(r));return u=>p=>Array.isArray(p)?we(h=>Ul(zt(h)),Mi(0,f,u,p)):new _(1,[[u,new v(0,["an array",p])]])}else switch(R(As(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=xe(e,t,!0,fe(r)[0]),u=>p=>Ta(V(o),u,p);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=xe(e,t,!1,fe(r)[0]),u=>p=>wo(V(s),u,p);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=xe(e,t,!1,fe(r)[0]),u=>p=>$a(V(i),u,p);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const u=xe(e,t,!1,fe(r)[0]),p=xe(e,t,!1,fe(r)[1]);let h;const d=j([m=>g=>Fa(V(u),V(p),m,g),(l=Aa(V(u),V(p)),m=>g=>wo(V(l),m,g))]);return h=m=>g=>Ia(d,m,g),m=>g=>Pa(Oa,V(h),m,g)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const u=xe(e,t,!1,fe(r)[0]);return p=>h=>{const d=yo(V(u),p,h);return d.tag===0?new _(0,[Na(d.fields[0])]):new _(1,[d.fields[0]])}}default:return So(e,t,n,r)}else switch(c){case"System.Boolean":return f=>u=>va(f,u);case"Microsoft.FSharp.Core.Unit":return f=>u=>ba(f,u);case"System.String":return f=>u=>Ii(f,u);case"System.Char":return f=>u=>wa(f,u);case"System.SByte":return ao;case"System.Byte":return fo;case"System.Int16":return ho;case"System.UInt16":return po;case"System.Int32":return _o;case"System.UInt32":return mo;case"System.Double":return f=>u=>Sa(f,u);case"System.Single":return f=>u=>Ca(f,u);case"System.DateTime":return f=>u=>xa(f,u);case"System.DateTimeOffset":return f=>u=>Ea(f,u);case"System.TimeSpan":return f=>u=>ka(f,u);case"System.Guid":return f=>u=>ya(f,u);case"System.Object":return f=>u=>new _(0,[u]);default:return So(e,t,n,r)}else{const f=a;return u=>p=>f.contents(u)(p)}}function Da(e){return e!=null?pi((t,n)=>new ue(n[1]),e.Coders):vr({Compare:yn})}function Va(e,t,n){const r=Zn(t,new kn(0,[]));return xe(Da(n),r,!1,e)}function La(e,t,n,r){const o=ye(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const s=o>0;return i=>{const l=ye(i,t)|0;return s&&l<=0||!s&&l>=0?[i,r(i,e)]:void 0}}function Ha(e,t,n,r,o){const s=La(t,n,r,o);return N(()=>Ku(s,e))}function ja(e,t,n){return Ha(e,t,n,0,(r,o)=>r+o)}class Ua extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BlobStorage","Unused"]}}function Ba(){return $s("WorkplacePolicies.Api.Shared.Common.PathDto",[],Ua,()=>[[["Item",tt]],[]])}class Ga extends le{constructor(t,n){super(),this.Name=t,this.Path=n}}function za(){return jt("WorkplacePolicies.Api.Shared.Common.FileDto",[],Ga,()=>[["Name",tt],["Path",Ba()]])}class Wa extends le{constructor(t,n){super(),this.Copy=t,this.Link=n}}function qa(){return jt("WorkplacePolicies.Api.Shared.Common.AboutDto",[],Wa,()=>[["Copy",tt],["Link",tt]])}class Za extends le{constructor(t,n){super(),this.PolicyId=t,this.VersionNumber=n|0}}function Ja(){return jt("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyIdentifierDto",[],Za,()=>[["PolicyId",tt],["VersionNumber",Fl]])}class ht extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Presented","Opened","Accepted"]}}function Ka(){return $s("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemStatusDto",[],ht,()=>[[],[],[]])}function Fn(e,t){let n;switch(e.tag){case 1:{switch(t.tag){case 0:{n=2;break}default:n=1}break}case 2:{n=3;break}default:n=0}switch(n){case 0:return t;case 1:return t;case 2:return e;default:return e}}class tn extends le{constructor(t,n){super(),this.Policy=t,this.Status=n}}function Ya(){return jt("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemDto",[],tn,()=>[["Policy",Nl(["About",qa()],["CreatedAt",Ol("System.DateTime")],["Description",tt],["File",za()],["Identifier",Ja()],["Title",tt])],["Status",Ka()]])}class Xa extends le{constructor(t){super(),this.PolicyReviewList=t}}function Qa(){return jt("WorkplacePolicies.Api.Shared.BackendApiModels.InitResponse",[],Xa,()=>[["PolicyReviewList",Rl(Ya())]])}class ef extends le{constructor(t){super(),this.Type=t}}class Jt extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Present","Open","Accept","Complete"]}}function tf(e){return e}const Pi=ke();function Kt(e){return Array.from(e)}function nf(e){return vn(e,"O")}function rf(e){return Kc(e)}function of(){return ke()}function sf(e){return vn(e,"O")}function lf(e,t){return JSON.stringify(t,void 0,ie(e))}function uf(e){return t=>ql(Zl(e,t),()=>Pi)}function Co(e,t,n,r){let o;const s=new ue(ke());let i;const l=R(r);i=l===""?e:di(l,s,e);let c;if(Ds(r)){const a=St(f=>{const u=yi(t,ft(f)),p=Oe(i,t,n,f[1]);return h=>d=>{const m=Ll(h,f);return(!n||n&&m!=null)&&(d[u]=p(m)),d}},Ot(r));c=f=>En((u,p)=>p(f)(u),{},a)}else if(Fs(r))c=a=>{const f=Vl(a,r),u=f[0],p=f[1],h=p.length|0;if(h===0)return ft(u);{const d=h|0,m=Vs(u),g=Sn(new Array(d+1),0,d+1,null);g[0]=ft(u);for(let w=1;w<=d;w++){const C=Oe(i,t,n,m[w-1][1]);g[w]=C(p[w-1])}return g}};else throw new Error((o=R(r),gt(ze(`Cannot generate auto encoder for %s. Please pass an extra encoder.
24
24
 
25
- 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 $e(e,t,n,r){const o=A(r),s=fi(o,e);if(s==null)if($s(r)){const i=$e(e,t,n,Ht(r));return u=>Zt(de(i,u))}else if(ur(r))switch(A(Ps(r))){case"System.SByte":return u=>u;case"System.Byte":return u=>u;case"System.Int16":return u=>u;case"System.UInt16":return u=>u;case"System.Int32":return u=>u;case"System.UInt32":return u=>u;default:{const u=A(r);return qs(je(`Cannot generate auto encoder for %s.
25
+ 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 Oe(e,t,n,r){const o=R(r),s=hi(o,e);if(s==null)if(Ms(r)){const i=Oe(e,t,n,Ut(r));return l=>Kt(ge(i,l))}else if(ar(r))switch(R(Os(r))){case"System.SByte":return l=>l;case"System.Byte":return l=>l;case"System.Int16":return l=>l;case"System.UInt16":return l=>l;case"System.Int32":return l=>l;case"System.UInt32":return l=>l;default:{const l=R(r);return Js(ze(`Cannot generate auto encoder for %s.
26
26
  Thoth.Json.Net only support the following enum types:
27
27
  - sbyte
28
28
  - byte
@@ -34,7 +34,7 @@ Thoth.Json.Net only support the following enum types:
34
34
  If you can't use one of these types, please pass an extra encoder.
35
35
 
36
36
  Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders
37
- `))(u)}}else if(Is(r))if(lr(r)){const i=St(u=>$e(e,t,n,u),As(r));return u=>Zt(Ql((c,a)=>i[c](a),u))}else{const i=A(Ms(r));if(i==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const u=new au(()=>sf($e(e,t,n,ue(r)[0])));return c=>c==null?Ii:u.Value(c)}else if(i==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||i==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||i==="System.Collections.Generic.IEnumerable`1[System.Object]"){const u=$e(e,t,n,ue(r)[0]);return c=>Zt(de(u,c))}else if(i==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const u=ue(r)[0],c=$e(e,t,n,ue(r)[1]);if(A(u)==="System.String"||A(u)==="System.Guid")return a=>Cn((f,l)=>{const _=l;return f[_[0]]=c(_[1]),f},{},a);{let a;return a=$e(e,t,n,u),l=>Zt(de(_=>{const h=_;return[a(h[0]),c(h[1])]},l))}}else return So(e,t,n,r)}else switch(o){case"System.Boolean":return i=>i;case"Microsoft.FSharp.Core.Unit":return nf;case"System.String":return i=>i;case"System.Char":return i=>i;case"System.SByte":return i=>i;case"System.Byte":return i=>i;case"System.Int16":return i=>i;case"System.UInt16":return i=>i;case"System.Int32":return i=>i;case"System.UInt32":return i=>i;case"System.Double":return i=>i;case"System.Single":return i=>i;case"System.DateTime":return rf;case"System.DateTimeOffset":return ef;case"System.TimeSpan":return tf;case"System.Guid":return Qa;case"System.Object":return i=>i;default:return So(e,t,n,r)}else{const i=s;return u=>i.contents(u)}}function uf(e){return e!=null?di((t,n)=>new oe(n[0]),e.Coders):gr({Compare:wn})}function lf(e,t,n,r){const o=Gn(t,new En(0,[])),s=Gn(r,!0);return $e(uf(n),o,s,e)}class cf{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/workplace-policies/backend`}}function af(e,t){return new cf(e,t)}function ff(e){return G.Delay(()=>{let t,n;const r=mi((t=_i(new fr(0,[]),pi(`${e.baseUrl}/init`)),qn(hi(`Bearer ${e.accessToken}`),t)));return n=G.Bind(r,o=>G.Return(new p(0,[o]))),G.Bind(n,o=>{const s=o;if(s.tag===1)return G.Return(new p(1,[s.fields[0]]));{const i=s.fields[0];if(i.statusCode===200){const u=_a(F(Fa(Ya(),new En(1,[]),void 0)),i.responseText);return G.Return(u)}else return G.Return(new p(1,["Init request error"]))}})})}function Jt(e,t){return G.Delay(()=>{let n,r,o;const s=new Xa(t);let i;const u=mi((n=(r=(o=_i(new fr(1,[]),pi(`${e.baseUrl}/command`)),qn(hi(`Bearer ${e.accessToken}`),o)),kc(new Hs(1,[of(0,lf(Ts,new En(1,[]),void 0,void 0)(s))]),r)),qn(Ec("application/json"),n)));return i=G.Bind(u,c=>G.Return(new p(0,[c]))),G.Bind(i,c=>{const a=c;return a.tag===1?G.Return(new p(1,[a.fields[0]])):a.fields[0].statusCode===200?G.Return(new p(0,[void 0])):G.Return(new p(1,["Command request error"]))})})}function df(){return K()}function br(e){return Ue("/",e)}function hf(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+br(t),n])}function Mi(e,t,n){try{R(n)}catch(r){e(["Error stopping subscription: "+br(t),r])}}function pf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+br(n),o]);return}}function _f(e,t){fn(n=>{Mi(e,n[0],n[1])},t)}function vo(e,t,n,r,o,s){return fn(i=>{hf(e,i)},n),fn(i=>{Mi(e,i[0],i[1])},r),mr(o,Nl(i=>pf(e,t,i[0],i[1]),s))}function mf(){return[K(),fa({Compare:pe}),K()]}function wf(e,t,n,r,o){return Jn(e,r)?[ae(e,n),r,o]:[n,aa(e,r),ae([e,t],o)]}function gf(e){return Pl((t,n)=>wf(t[0],t[1],n[0],n[1],n[2]),e,mf())}const yf=K();function Co(e,t){const n=da(it(i=>i[0],e),{Compare:pe}),r=gf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,K(),e,K()];{const i=Rl(u=>Jn(u[0],o),e);return[s,i[1],i[0],Al(u=>!Jn(u[0],n),r[2])]}}class bf{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Sf(e,t){t.Subscribe(new bf(e))}class vf{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 Ef(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 Cf extends vf{}function Ef(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 xf{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 Cf}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}}const kf=xf;function Tf(e,t){console.error(ne(e),t)}function $f(e,t){let n,r=new kf(e);r.AutoReset=!1,n=r,Sf(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Eo(e,t,n){fn(r=>{try{r(t)}catch(o){e(o)}},n)}function qe(){return K()}function kt(e,t,n,r){return xe(o=>{e(G.Delay(()=>G.Bind(tl(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),G.Zero()})))})}function Tt(e){$f(1,t=>{ol(e)})}class ht extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class If{constructor(t){this.state=new ht(0,[bn(new Array(Gr(t,10)),0,Gr(t,10),null),0])}}function Mf(e){return new If(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 ht(0,[o,n]):e.state=new ht(1,[o,n,s]),ne(o[r])}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];s[r]=t;const i=(r+1)%s.length|0;i===o?e.state=new ht(1,[Of(e,o,s),s.length,0]):e.state=new ht(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];o[r]=t;const s=(r+1)%o.length|0;e.state=new ht(1,[o,s,r])}}function Of(e,t,n){return Array.from(z(()=>Le(tc(t,n),z(()=>Le(nc(t,n),z(()=>rc(r=>W(Ee()),La(0,1,n.length))))))))}class Sr extends re{constructor(t,n,r,o,s,i,u){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=u}}function Af(e,t,n){return new Sr(e,t,r=>df(),n,F(r=>{const o=Je(n)(r);return s=>{o(s)}}),r=>{Tf(r[0],r[1])},[r=>!1,r=>{}])}function Rf(e,t){return new Sr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Nf(e){return e.init}function Ff(e,t,n,r,o,s,i){const u=Je(e)(i.init),c=$n(t)(Je(i.update)),a=$n(n)(Je(i.view)),f=$n(r)(Je(i.setState));return new Sr(u,F(c),Je(o)(i.subscribe),F(a),F(f),i.onError,s(i.termination))}function Df(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),u=n.termination,c=Mf(10);let a=!1,f=s,l=yf,_=!1;const h=w=>{_||(Pf(c,w),a||(a=!0,m(),a=!1))},d=Je(e)(h),m=()=>{let w,g=xo(c);for(;!_&&g!=null;){const v=y(g);if(u[0](v))_f(n.onError,l),u[1](f),_=!0;else{const x=n.update(v,f),B=x[0],D=n.subscribe(B);n.setState(B,d),Eo(Y=>{n.onError([mt(je("Error handling the message: %A"))(v),Y])},d,x[1]),f=B,l=(w=Co(l,D),vo(n.onError,d,w[0],w[1],w[2],w[3])),g=xo(c)}}};a=!0,n.setState(s,d),Eo(w=>{n.onError([mt(je("Error intitializing:")),w])},d,o[1]),l=(r=Co(l,i),vo(n.onError,d,r[0],r[1],r[2],r[3])),m(),a=!1}function Vf(e,t){Df(F(n=>n),e,t)}function Lf(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 Pi={exports:{}},Oi={};const Hf=Lf(ou);/**
37
+ `))(l)}}else if(Ps(r))if(fr(r)){const i=St(l=>Oe(e,t,n,l),Rs(r));return l=>Kt(tc((c,a)=>i[c](a),l))}else{const i=R(As(r));if(i==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const l=new fl(()=>uf(Oe(e,t,n,fe(r)[0])));return c=>c==null?Pi:l.Value(c)}else if(i==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||i==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||i==="System.Collections.Generic.IEnumerable`1[System.Object]"){const l=Oe(e,t,n,fe(r)[0]);return c=>Kt(ge(l,c))}else if(i==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const l=fe(r)[0],c=Oe(e,t,n,fe(r)[1]);if(R(l)==="System.String"||R(l)==="System.Guid")return a=>En((f,u)=>{const p=u;return f[p[0]]=c(p[1]),f},{},a);{let a;return a=Oe(e,t,n,l),u=>Kt(ge(p=>{const h=p;return[a(h[0]),c(h[1])]},u))}}else return Co(e,t,n,r)}else switch(o){case"System.Boolean":return i=>i;case"Microsoft.FSharp.Core.Unit":return of;case"System.String":return i=>i;case"System.Char":return i=>i;case"System.SByte":return i=>i;case"System.Byte":return i=>i;case"System.Int16":return i=>i;case"System.UInt16":return i=>i;case"System.Int32":return i=>i;case"System.UInt32":return i=>i;case"System.Double":return i=>i;case"System.Single":return i=>i;case"System.DateTime":return sf;case"System.DateTimeOffset":return nf;case"System.TimeSpan":return rf;case"System.Guid":return tf;case"System.Object":return i=>i;default:return Co(e,t,n,r)}else{const i=s;return l=>i.contents(l)}}function cf(e){return e!=null?pi((t,n)=>new ue(n[0]),e.Coders):vr({Compare:yn})}function af(e,t,n,r){const o=Zn(t,new kn(0,[])),s=Zn(r,!0);return Oe(cf(n),o,s,e)}class ff{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/workplace-policies/backend`}}function df(e,t){return new ff(e,t)}function hf(e){return J.Delay(()=>{let t,n;const r=wi((t=gi(new pr(0,[]),mi(`${e.baseUrl}/init`)),Yn(_i(`Bearer ${e.accessToken}`),t)));return n=J.Bind(r,o=>J.Return(new _(0,[o]))),J.Bind(n,o=>{const s=o;if(s.tag===1)return J.Return(new _(1,[s.fields[0]]));{const i=s.fields[0];if(i.statusCode===200){const l=ga(V(Va(Qa(),new kn(1,[]),void 0)),i.responseText);return J.Return(l)}else return J.Return(new _(1,["Init request error"]))}})})}function Yt(e,t){return J.Delay(()=>{let n,r,o;const s=new ef(t);let i;const l=wi((n=(r=(o=gi(new pr(1,[]),mi(`${e.baseUrl}/command`)),Yn(_i(`Bearer ${e.accessToken}`),o)),$c(new Us(1,[lf(0,af(Is,new kn(1,[]),void 0,void 0)(s))]),r)),Yn(kc("application/json"),n)));return i=J.Bind(l,c=>J.Return(new _(0,[c]))),J.Bind(i,c=>{const a=c;return a.tag===1?J.Return(new _(1,[a.fields[0]])):a.fields[0].statusCode===200?J.Return(new _(0,[void 0])):J.Return(new _(1,["Command request error"]))})})}function pf(){return z()}function Cr(e){return We("/",e)}function _f(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Cr(t),n])}function Ai(e,t,n){try{F(n)}catch(r){e(["Error stopping subscription: "+Cr(t),r])}}function mf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+Cr(n),o]);return}}function gf(e,t){hn(n=>{Ai(e,n[0],n[1])},t)}function xo(e,t,n,r,o,s){return hn(i=>{_f(e,i)},n),hn(i=>{Ai(e,i[0],i[1])},r),yr(o,Fu(i=>mf(e,t,i[0],i[1]),s))}function wf(){return[z(),ha({Compare:ye}),z()]}function yf(e,t,n,r,o){return Qn(e,r)?[_e(e,n),r,o]:[n,da(e,r),_e([e,t],o)]}function bf(e){return Au((t,n)=>yf(t[0],t[1],n[0],n[1],n[2]),e,wf())}const vf=z();function Eo(e,t){const n=pa(ut(i=>i[0],e),{Compare:ye}),r=bf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,z(),e,z()];{const i=Ru(l=>Qn(l[0],o),e);return[s,i[1],i[0],Nu(l=>!Qn(l[0],n),r[2])]}}class Sf{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Cf(e,t){t.Subscribe(new Sf(e))}class xf{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 kf(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 Ef extends xf{}function kf(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 Tf{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 Ef}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}}const $f=Tf;function If(e,t){console.error(ie(e),t)}function Mf(e,t){let n,r=new $f(e);r.AutoReset=!1,n=r,Cf(t,n.Elapsed()),n.Enabled=!0,n.Start()}function ko(e,t,n){hn(r=>{try{r(t)}catch(o){e(o)}},n)}function He(){return z()}function $t(e,t,n,r){return se(o=>{e(J.Delay(()=>J.Bind(nu(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),J.Zero()})))})}function It(e){Mf(1,t=>{su(e)})}class pt extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Pf{constructor(t){this.state=new pt(0,[Sn(new Array(qr(t,10)),0,qr(t,10),null),0])}}function Af(e){return new Pf(e)}function To(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 pt(0,[o,n]):e.state=new pt(1,[o,n,s]),ie(o[r])}else return}function Of(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];s[r]=t;const i=(r+1)%s.length|0;i===o?e.state=new pt(1,[Nf(e,o,s),s.length,0]):e.state=new pt(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];o[r]=t;const s=(r+1)%o.length|0;e.state=new pt(1,[o,s,r])}}function Nf(e,t,n){return Array.from(N(()=>me(rc(t,n),N(()=>me(oc(t,n),N(()=>sc(r=>O(ke()),ja(0,1,n.length))))))))}class xr extends le{constructor(t,n,r,o,s,i,l){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=l}}function Rf(e,t,n){return new xr(e,t,r=>pf(),n,V(r=>{const o=Xe(n)(r);return s=>{o(s)}}),r=>{If(r[0],r[1])},[r=>!1,r=>{}])}function Ff(e,t){return new xr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Df(e){return e.init}function Vf(e,t,n,r,o,s,i){const l=Xe(e)(i.init),c=Mn(t)(Xe(i.update)),a=Mn(n)(Xe(i.view)),f=Mn(r)(Xe(i.setState));return new xr(l,V(c),Xe(o)(i.subscribe),V(a),V(f),i.onError,s(i.termination))}function Lf(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),l=n.termination,c=Af(10);let a=!1,f=s,u=vf,p=!1;const h=g=>{p||(Of(c,g),a||(a=!0,m(),a=!1))},d=Xe(e)(h),m=()=>{let g,w=To(c);for(;!p&&w!=null;){const C=y(w);if(l[0](C))gf(n.onError,u),l[1](f),p=!0;else{const k=n.update(C,f),q=k[0],H=n.subscribe(q);n.setState(q,d),ko(ee=>{n.onError([gt(ze("Error handling the message: %A"))(C),ee])},d,k[1]),f=q,u=(g=Eo(u,H),xo(n.onError,d,g[0],g[1],g[2],g[3])),w=To(c)}}};a=!0,n.setState(s,d),ko(g=>{n.onError([gt(ze("Error intitializing:")),g])},d,o[1]),u=(r=Eo(u,i),xo(n.onError,d,r[0],r[1],r[2],r[3])),m(),a=!1}function Hf(e,t){Lf(V(n=>n),e,t)}function jf(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 Oi={exports:{}},Ni={};const Uf=jf(sl);/**
38
38
  * @license React
39
39
  * use-sync-external-store-shim.production.min.js
40
40
  *
@@ -42,10 +42,13 @@ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation
42
42
  *
43
43
  * This source code is licensed under the MIT license found in the
44
44
  * LICENSE file in the root directory of this source tree.
45
- */var yt=Hf;function jf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Uf=typeof Object.is=="function"?Object.is:jf,Bf=yt.useState,Gf=yt.useEffect,zf=yt.useLayoutEffect,Wf=yt.useDebugValue;function qf(e,t){var n=t(),r=Bf({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return zf(function(){o.value=n,o.getSnapshot=t,Rn(o)&&s({inst:o})},[e,n,t]),Gf(function(){return Rn(o)&&s({inst:o}),e(function(){Rn(o)&&s({inst:o})})},[e]),Wf(n),n}function Rn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Uf(e,n)}catch{return!0}}function Zf(e,t){return t()}var Jf=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Zf:qf;Oi.useSyncExternalStore=yt.useSyncExternalStore!==void 0?yt.useSyncExternalStore:Jf;Pi.exports=Oi;var Kf=Pi.exports;class Yf{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];let i;const u=Nf(o)(this.arg);let c=u[0],a=u[1];i=[[c,f=>{s.push(f)},!1,s],a],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let l=!1;const _=Ln(this.state[0]);return Vf(this.arg,Rf((h,d)=>{const m=this.state;this.state=[h,d,!0,s],h!==m[0]&&f()},Ff((h,d)=>{const m=this.cmd;return this.cmd=qe(),[this.state[0],m]},(h,d,m)=>h(d)(this.state[0]),jn(h=>h),jn(h=>h),F(h=>h),h=>[d=>h[0](d)?!0:_&&l,d=>{const m=d;Ln(m)?R(m):h[1](d)}],o))),()=>{l=!0}}}}function ko(e,t,n){return new Yf(e,t,n)}function Xf(e){return e.state}function Qf(e){return e.subscribe}function ed(e,t,n){return ee(e.arg,t)?!ee(e.dependencies,n):!0}function td(e,t,n){const r=Ft(()=>ko(e,t,n)),o=r[0];ed(o,t,n)&&r[1](ko(e,t,n));const s=Kf.useSyncExternalStore(Qf(o),()=>Xf(o)),i=s[2],u=s[3],c=s[1];return pn(()=>{if(i&&u.length>0){let a=j(u);try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const f=a["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{R(a)}yu(u)}},[i,u]),[s[0],c]}const Xe=bs;class V extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function To(e,t){switch(t.tag){case 1:return new V(1,[]);case 3:return new V(3,[t.fields[0]]);case 2:try{return new V(2,[e(t.fields[0])])}catch(n){return new V(3,[n])}default:return new V(0,[])}}function nd(e){let t;t=new CustomEvent("step-completion",{bubbles:!0}),e.dispatchEvent(t)}class Re extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}class Ai extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Main","ReviewPolicy"]}}class ce extends re{constructor(t,n,r,o,s,i){super(),this.Page=t,this.ReviewItemList=n,this.PresentPoliciesStatus=r,this.OpenPolicyStatus=o,this.AcceptPolicyStatus=s,this.ContinueStatus=i}}class Ne extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FetchReviewItemList","GoToReviewPolicyPage","PresentPolicies","OpenPolicy","AcceptPolicy","Continue"]}}function rd(){return[new ce(new Ai(0,[]),new V(0,[]),new V(0,[]),new V(0,[]),new V(0,[]),new V(0,[])),xe(e=>{e(new Ne(0,[new Re(0,[])]))})]}function od(e,t,n){switch(t.tag){case 1:return[new ce(new Ai(1,[t.fields[0]]),n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),xe(r=>{r(new Ne(3,[t.fields[0],new Re(0,[])]))})];case 2:return t.fields[1].tag===1?[new ce(n.Page,n.ReviewItemList,new V(2,[t.fields[1].fields[0]]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),qe()]:[new ce(n.Page,n.ReviewItemList,new V(1,[]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),kt(r=>{Tt(r)},r=>Jt(e,r),new qt(0,[{PolicyIdentifierList:it(r=>r.Policy.Identifier,t.fields[0])}]),r=>{const o=[t.fields[0],new Re(1,[r])];return new Ne(2,[o[0],o[1]])})];case 3:return t.fields[1].tag===1?[new ce(n.Page,To(r=>he(o=>it(s=>ee(t.fields[0].Policy.Identifier,s.Policy.Identifier)?new Kn(s.Policy,bo(s.Status,new Rt(1,[]))):s,o),r),n.ReviewItemList),n.PresentPoliciesStatus,new V(2,[t.fields[1].fields[0]]),n.AcceptPolicyStatus,n.ContinueStatus),qe()]:[new ce(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,new V(1,[]),n.AcceptPolicyStatus,n.ContinueStatus),kt(r=>{Tt(r)},r=>Jt(e,r),new qt(1,[t.fields[0].Policy.Identifier]),r=>{const o=[t.fields[0],new Re(1,[r])];return new Ne(3,[o[0],o[1]])})];case 4:return t.fields[1].tag===1?[new ce(n.Page,To(r=>he(o=>it(s=>ee(t.fields[0].Policy.Identifier,s.Policy.Identifier)?new Kn(s.Policy,bo(s.Status,new Rt(2,[]))):s,o),r),n.ReviewItemList),n.PresentPoliciesStatus,n.OpenPolicyStatus,new V(2,[t.fields[1].fields[0]]),n.ContinueStatus),qe()]:[new ce(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,new V(1,[]),n.ContinueStatus),kt(r=>{Tt(r)},r=>Jt(e,r),new qt(2,[t.fields[0].Policy.Identifier]),r=>{const o=[t.fields[0],new Re(1,[r])];return new Ne(4,[o[0],o[1]])})];case 5:if(t.fields[1].tag===1)return nd(document.querySelector("apollo-workplace-policies-app")),[new ce(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,new V(2,[t.fields[1].fields[0]])),qe()];switch(n.ContinueStatus.tag){case 0:case 2:case 3:return[new ce(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,new V(1,[])),kt(o=>{Tt(o)},o=>Jt(e,o),new qt(3,[{PolicyIdentifierList:it(o=>o.Policy.Identifier,t.fields[0])}]),o=>{const s=[t.fields[0],new Re(1,[o])];return new Ne(5,[s[0],s[1]])})];default:return[n,qe()]}default:return t.fields[0].tag===1?[new ce(n.Page,new V(2,[he(r=>r.PolicyReviewList,t.fields[0].fields[0])]),n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),t.fields[0].fields[0].tag===1?qe():xe(r=>{r(new Ne(2,[t.fields[0].fields[0].fields[0].PolicyReviewList,new Re(0,[])]))})]:[new ce(n.Page,new V(1,[]),n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),kt(r=>{Tt(r)},()=>ff(e),void 0,r=>new Ne(0,[new Re(1,[r])]))]}}const sd=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}::-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")}[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")}[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}[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}*,: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: }::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: }.mx-auto{margin-left:auto;margin-right:auto}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.inline{display:inline}.flex{display:flex}.h-6{height:1.5rem}.w-6{width:1.5rem}.w-full{width:100%}.flex-none{flex:none}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary-base{border-color:var(--fl-color-primary)}.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))}.px-1{padding-left:.25rem;padding-right:.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-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-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)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border:disabled{border-width:1px}.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\\:mt-10{margin-top:2.5rem}.sm\\:w-\\[12\\.5rem\\]{width:12.5rem}.sm\\:w-\\[35rem\\]{width:35rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:leading-8{line-height:2rem}.sm\\:leading-9{line-height:2.25rem}}
46
- `,id=(()=>Se(sd))(),ud=e=>k("svg",{width:8,height:14,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k("path",{d:"M1 1L7 7L1 13",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ld=e=>k("svg",{width:14,height:10,viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k("path",{d:"M1 5L5 9L13 1",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));class Kt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Height","Width"]}}function Ri(e,t){return Xe.createElement(e,$c(t,1))}function cd(e){return Ri(ud,e)}function ad(e){return Ri(ld,e)}function fd(e){let t,n,r;const o=ee(e.Status,new Rt(2,[]));return k("div",ct(fe([["key",e.Policy.Identifier.PolicyId],["className",Ue(" ",ft(z(()=>Le(W("py-6 px-4 sm:px-6 shadow-sm rounded-lg text-left flex justify-between"),z(()=>W(o?"border-2 border-primary-base":"border border-gray-300"))))))],(t=[(n=fe([k("div",{className:"text-base leading-6 font-semibold text-gray-900",children:e.Policy.Title}),k("div",{className:"text-sm leading-5 font-normal text-gray-500 mt-2",children:e.Policy.Description}),k("div",{className:"text-sm leading-5 font-medium mt-3 text-primary-base cursor-pointer",children:"View document (PDF)"})]),k("div",{children:Xe.Children.toArray(Array.from(n))})),k("div",ct(fe([["className",Ue(" ",ft(z(()=>Le(W("flex-none w-6 h-6 flex justify-center items-center"),z(()=>W(o?"rounded-full bg-primary-base":"cursor-pointer"))))))],(r=ft(z(()=>W(o?ad(fe([new Kt(0,[10]),new Kt(1,[14])])):cd(fe([new Kt(0,[14]),new Kt(1,[8])]))))),["children",Xe.Children.toArray(Array.from(r))])])))],["children",Xe.Children.toArray(Array.from(t))])])))}function dd(e){return Fl(t=>ee(t.Status,new Rt(2,[])),e)}function hd(e,t){let n,r;return k("div",ct(fe([["className","w-full sm:w-[35rem] text-center bg-white mx-auto"],(n=[k("div",{className:"text-gray-900 text-2xl sm:text-3xl leading-8 sm:leading-9 font-bold",children:"Employment information statements"}),k("div",{className:"text-gray-600 text-base sm:text-lg font-normal leading-7 sm:leading-8 mt-4",children:"Please read and accept the below information statements provided by the Fair Work Ombudsman."}),k("div",ct(fe([["className","space-y-4 mt-8 sm:mt-10"],(r=ft(z(()=>it(fd,e))),["children",Xe.Children.toArray(Array.from(r))])]))),k("button",ct(ft(z(()=>Le(W(["disabled",t.tag===1?!0:!dd(e)]),z(()=>Le(W(["type","button"]),z(()=>{let o;return Le(W((o=`
45
+ */var bt=Uf;function Bf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gf=typeof Object.is=="function"?Object.is:Bf,zf=bt.useState,Wf=bt.useEffect,qf=bt.useLayoutEffect,Zf=bt.useDebugValue;function Jf(e,t){var n=t(),r=zf({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return qf(function(){o.value=n,o.getSnapshot=t,Dn(o)&&s({inst:o})},[e,n,t]),Wf(function(){return Dn(o)&&s({inst:o}),e(function(){Dn(o)&&s({inst:o})})},[e]),Zf(n),n}function Dn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gf(e,n)}catch{return!0}}function Kf(e,t){return t()}var Yf=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Kf:Jf;Ni.useSyncExternalStore=bt.useSyncExternalStore!==void 0?bt.useSyncExternalStore:Yf;Oi.exports=Ni;var Xf=Oi.exports;class Qf{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];let i;const l=Df(o)(this.arg);let c=l[0],a=l[1];i=[[c,f=>{s.push(f)},!1,s],a],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let u=!1;const p=Bn(this.state[0]);return Hf(this.arg,Ff((h,d)=>{const m=this.state;this.state=[h,d,!0,s],h!==m[0]&&f()},Vf((h,d)=>{const m=this.cmd;return this.cmd=He(),[this.state[0],m]},(h,d,m)=>h(d)(this.state[0]),zn(h=>h),zn(h=>h),V(h=>h),h=>[d=>h[0](d)?!0:p&&u,d=>{const m=d;Bn(m)?F(m):h[1](d)}],o))),()=>{u=!0}}}}function $o(e,t,n){return new Qf(e,t,n)}function ed(e){return e.state}function td(e){return e.subscribe}function nd(e,t,n){return re(e.arg,t)?!re(e.dependencies,n):!0}function rd(e,t,n){const r=Vt(()=>$o(e,t,n)),o=r[0];nd(o,t,n)&&r[1]($o(e,t,n));const s=Xf.useSyncExternalStore(td(o),()=>ed(o)),i=s[2],l=s[3],c=s[1];return mn(()=>{if(i&&l.length>0){let a=G(l);try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const f=a["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{F(a)}bl(l)}},[i,l]),[s[0],c]}const Z=Ss;function od(e){return Z.useState(e)}class L extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function sd(e){return e.tag===1}function Io(e,t){switch(t.tag){case 1:return new L(1,[]);case 3:return new L(3,[t.fields[0]]);case 2:try{return new L(2,[e(t.fields[0])])}catch(n){return new L(3,[n])}default:return new L(0,[])}}function id(e){let t;t=new CustomEvent("step-completion",{bubbles:!0}),e.dispatchEvent(t)}class $e extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}class Ft extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Main","ReviewPolicy"]}}class he extends le{constructor(t,n,r,o,s,i){super(),this.Page=t,this.ReviewItemList=n,this.PresentPoliciesStatus=r,this.OpenPolicyStatus=o,this.AcceptPolicyStatus=s,this.ContinueStatus=i}}class pe extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FetchReviewItemList","NavigatePage","PresentPolicies","OpenPolicy","AcceptPolicy","Continue"]}}function ld(){return[new he(new Ft(0,[]),new L(0,[]),new L(0,[]),new L(0,[]),new L(0,[]),new L(0,[])),se(e=>{e(new pe(0,[new $e(0,[])]))})]}function ud(e,t,n){let r,o;switch(t.tag){case 1:return[new he(t.fields[0],n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,new L(0,[]),n.ContinueStatus),t.fields[0].tag===1?se(s=>{s(new pe(3,[t.fields[0].fields[0],new $e(0,[])]))}):He()];case 2:return t.fields[1].tag===1?[new he(n.Page,n.ReviewItemList,new L(2,[t.fields[1].fields[0]]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),He()]:[new he(n.Page,n.ReviewItemList,new L(1,[]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),$t(s=>{It(s)},s=>Yt(e,s),new Jt(0,[{PolicyIdentifierList:ut(s=>s.Policy.Identifier,t.fields[0])}]),s=>{const i=[t.fields[0],new $e(1,[s])];return new pe(2,[i[0],i[1]])})];case 3:return t.fields[1].tag===1?[new he(n.Page,Io(s=>we(i=>ut(l=>re(t.fields[0].Policy.Identifier,l.Policy.Identifier)?new tn(l.Policy,Fn(l.Status,new ht(1,[]))):l,i),s),n.ReviewItemList),n.PresentPoliciesStatus,new L(2,[t.fields[1].fields[0]]),n.AcceptPolicyStatus,n.ContinueStatus),He()]:[new he(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,new L(1,[]),n.AcceptPolicyStatus,n.ContinueStatus),$t(s=>{It(s)},s=>Yt(e,s),new Jt(1,[t.fields[0].Policy.Identifier]),s=>{const i=[t.fields[0],new $e(1,[s])];return new pe(3,[i[0],i[1]])})];case 4:if(t.fields[1].tag===1){const s=Io(i=>we(l=>ut(c=>re(t.fields[0].Policy.Identifier,c.Policy.Identifier)?new tn(c.Policy,Fn(c.Status,new ht(2,[]))):c,l),i),n.ReviewItemList);return[new he((r=n.Page,r.tag===1?(o=r.fields[0],new Ft(1,[new tn(o.Policy,Fn(o.Status,new ht(2,[])))])):new Ft(0,[])),s,n.PresentPoliciesStatus,n.OpenPolicyStatus,new L(2,[t.fields[1].fields[0]]),n.ContinueStatus),He()]}else return[new he(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,new L(1,[]),n.ContinueStatus),$t(s=>{It(s)},s=>Yt(e,s),new Jt(2,[t.fields[0].Policy.Identifier]),s=>{const i=[t.fields[0],new $e(1,[s])];return new pe(4,[i[0],i[1]])})];case 5:if(t.fields[1].tag===1)return id(document.querySelector("apollo-workplace-policies-app")),[new he(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,new L(2,[t.fields[1].fields[0]])),He()];switch(n.ContinueStatus.tag){case 0:case 2:case 3:return[new he(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,new L(1,[])),$t(i=>{It(i)},i=>Yt(e,i),new Jt(3,[{PolicyIdentifierList:ut(i=>i.Policy.Identifier,t.fields[0])}]),i=>{const l=[t.fields[0],new $e(1,[i])];return new pe(5,[l[0],l[1]])})];default:return[n,He()]}default:return t.fields[0].tag===1?[new he(n.Page,new L(2,[we(s=>s.PolicyReviewList,t.fields[0].fields[0])]),n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),t.fields[0].fields[0].tag===1?He():se(s=>{s(new pe(2,[t.fields[0].fields[0].fields[0].PolicyReviewList,new $e(0,[])]))})]:[new he(n.Page,new L(1,[]),n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),$t(s=>{It(s)},()=>hf(e),void 0,s=>new pe(0,[new $e(1,[s])]))]}}const cd=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}::-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")}[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")}[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}[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}*,: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: }::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: }.mx-auto{margin-left:auto;margin-right:auto}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.inline{display:inline}.flex{display:flex}.w-\\[4\\.75rem\\]{width:4.75rem}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary-base{border-color:var(--fl-color-primary)}.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))}.p-1{padding:.25rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-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-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)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border:disabled{border-width:1px}.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\\:mr-2{margin-right:.5rem}.sm\\:mr-2\\.5{margin-right:.625rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-10{margin-top:2.5rem}.sm\\:w-\\[12\\.5rem\\]{width:12.5rem}.sm\\:w-\\[35rem\\]{width:35rem}.sm\\:max-w-\\[57rem\\]{max-width:57rem}.sm\\:flex-row{flex-direction:row}.sm\\:p-5{padding:1.25rem}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:leading-6{line-height:1.5rem}.sm\\:leading-7{line-height:1.75rem}.sm\\:leading-8{line-height:2rem}.sm\\:leading-9{line-height:2.25rem}}
46
+ `,ad=(()=>Te(cd))(),fd=e=>b("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("g",{clipPath:"url(#clip0_3040_23717)"},b("path",{d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",fill:"currentColor"}),b("path",{d:"M6 12L10 16L18 8",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),b("defs",null,b("clipPath",{id:"clip0_3040_23717"},b("rect",{width:24,height:24,fill:"white"})))),dd=e=>b("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M9 6L15 12L9 18",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),hd=e=>b("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M15 18L9 12L15 6",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),pd=e=>b("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 4H15.5C15.6326 4 15.7597 4.05268 15.8535 4.14645C15.9473 4.24022 16 4.36739 16 4.5V9.5C15.9999 9.59894 15.9706 9.69565 15.9156 9.77789C15.8606 9.86013 15.7824 9.92421 15.691 9.962C15.6303 9.98677 15.5655 9.99967 15.5 10C15.4343 10.0001 15.3692 9.98729 15.3084 9.96223C15.2477 9.93718 15.1925 9.9004 15.146 9.854L13.354 8.061L10.707 10.707C10.6147 10.8025 10.5044 10.8787 10.3824 10.9311C10.2604 10.9835 10.1291 11.0111 9.99636 11.0123C9.86358 11.0134 9.7319 10.9881 9.609 10.9378C9.48611 10.8875 9.37446 10.8133 9.28056 10.7194C9.18667 10.6255 9.11242 10.5139 9.06214 10.391C9.01186 10.2681 8.98655 10.1364 8.98771 10.0036C8.98886 9.87082 9.01645 9.7396 9.06886 9.6176C9.12127 9.49559 9.19745 9.38525 9.29296 9.293L11.939 6.646L10.146 4.854C10.0759 4.78407 10.0281 4.6949 10.0087 4.59779C9.98935 4.50068 9.99926 4.40001 10.0372 4.30854C10.0751 4.21706 10.1393 4.13891 10.2217 4.08398C10.3041 4.02905 10.4009 3.99982 10.5 4ZM12 16H6C5.46957 16 4.96086 15.7893 4.58579 15.4142C4.21071 15.0391 4 14.5304 4 14V8C4 7.46957 4.21071 6.96086 4.58579 6.58579C4.96086 6.21071 5.46957 6 6 6H7C7.26522 6 7.51957 6.10536 7.70711 6.29289C7.89464 6.48043 8 6.73478 8 7C8 7.26522 7.89464 7.51957 7.70711 7.70711C7.51957 7.89464 7.26522 8 7 8H6V14H12V13C12 12.7348 12.1054 12.4804 12.2929 12.2929C12.4804 12.1054 12.7348 12 13 12C13.2652 12 13.5196 12.1054 13.7071 12.2929C13.8946 12.4804 14 12.7348 14 13V14C14 14.5304 13.7893 15.0391 13.4142 15.4142C13.0391 15.7893 12.5304 16 12 16Z",fill:"currentColor"})),_d=e=>b("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M18 12H6",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),md=e=>b("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b("path",{d:"M12 6V12M12 12V18M12 12H18M12 12L6 12",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));class Vn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Height","Width","ClassName"]}}function Et(e,t){return Z.createElement(e,Mc(t,1))}function Ri(e){return Et(fd,e)}function gd(e){return Et(dd,e)}function wd(e){return Et(hd,e)}function yd(e){return Et(pd,e)}function bd(e){return Et(_d,e)}function vd(e){return Et(md,e)}function Sd(e){let t,n,r;const o=e.dispatch,s=e.acceptPolicyStatus,i=e.policyReviewItem,l=od(!1),c=l[0];return b("div",K(j([["className","w-full p-1 sm:p-5"],(t=[b("div",K(j([["className","flex justify-between items-center"],(n=Fe(N(()=>{let a,f;return me(O(b("div",K(j([["className","flex items-center"],(a=[b("div",K(j([["onClick",u=>{o(new pe(1,[new Ft(0,[])]))}],(f=[wd(se(new Vn(2,["cursor-pointer"])))],["children",Z.Children.toArray(Array.from(f))])]))),b("div",{className:"ml-1 mr-4 text-base sm:text-lg leading-6 sm:leading-7 font-semibold text-gray-900",children:i.Policy.Title})],["children",Z.Children.toArray(Array.from(a))])])))),N(()=>{let u,p;return i.Status.tag===2?O(b("div",K(j([["className","flex items-center flex-col-reverse sm:flex-row"],(u=[b("span",{className:"mt-1 sm:mt-0 sm:mr-2.5 text-sm leading-5 font-medium text-gray-500",children:"Accepted"}),Ri(se(new Vn(2,["text-primary-base"])))],["children",Z.Children.toArray(Array.from(u))])])))):O(b("button",K(j([["type","button"],["disabled",sd(s)],(p=`
47
+ shadow-sm w-[4.75rem] px-3 py-2 rounded-md flex justify-center items-center text-white
48
+ text-sm font-semibold leading-5 cursor-pointer disabled:cursor-not-allowed bg-primary-base
49
+ `,["className",p]),["onClick",h=>{o(new pe(4,[i,new $e(0,[])]))}],["children","Accept"]]))))}))})),["children",Z.Children.toArray(Array.from(n))])]))),b("div",K(j([["className","p-4 sm:p-6 rounded-lg shadow-sm border border-gray-300"],(r=Fe(N(()=>{let a;return me(O(b("div",K(j([["className","flex justify-between"],["onClick",f=>{l[1](!c)}],(a=Fe(N(()=>me(O(b("div",{className:"text-sm mr-4 sm:text-base leading-5 sm:leading-6 font-semibold text-gray-900",children:`About the ${i.Policy.Title}`})),N(()=>{const f=se(new Vn(2,["cursor-pointer"]));return O(c?bd(f):vd(f))})))),["children",Z.Children.toArray(Array.from(a))])])))),N(()=>{let f,u,p;return c?O(b("div",K(j([["className","mt-2 space-y-3 sm:max-w-[57rem]"],(f=[b("div",{className:"text-sm font-normal leading-6 text-gray-900",children:i.Policy.Description}),b("div",K(j([["className","flex text-sm font-medium leading-5 text-primary-base cursor-pointer"],(u=[b("a",{target:"_blank",rel:"noopener",href:i.Policy.About.Link,children:i.Policy.About.Link}),(p=se(yd(z())),b("span",{children:Z.Children.toArray(Array.from(p))}))],["children",Z.Children.toArray(Array.from(u))])])))],["children",Z.Children.toArray(Array.from(f))])])))):Yu()}))})),["children",Z.Children.toArray(Array.from(r))])])))],["children",Z.Children.toArray(Array.from(t))])])))}function Cd(e,t){let n,r,o;const s=re(t.Status,new ht(2,[]));return b("div",K(j([["key",t.Policy.Identifier.PolicyId],["onClick",i=>{e(new pe(1,[new Ft(1,[t])]))}],["className",We(" ",Fe(N(()=>me(O("py-6 px-4 sm:px-6 shadow-sm rounded-lg text-left"),N(()=>O(s?"border-2 border-primary-base":"border border-gray-300"))))))],(n=[b("div",K(j([["className","flex justify-between"],(r=[b("div",{className:"text-base leading-6 font-semibold text-gray-900 mr-4",children:t.Policy.Title}),b("div",K(j([["className",We(" ",Fe(N(()=>me(O("ml-2"),N(()=>O(s?"text-primary-base":"cursor-pointer"))))))],(o=Fe(N(()=>O(s?Ri(z()):gd(z())))),["children",Z.Children.toArray(Array.from(o))])])))],["children",Z.Children.toArray(Array.from(r))])]))),b("div",{className:"text-sm leading-5 font-normal text-gray-500 mt-2",children:t.Policy.Description}),b("div",{className:"text-sm leading-5 font-medium mt-3 text-primary-base cursor-pointer",children:"View document (PDF)"})],["children",Z.Children.toArray(Array.from(n))])])))}function xd(e){return Du(t=>re(t.Status,new ht(2,[])),e)}function Ed(e,t,n){let r,o;return b("div",K(j([["className","w-full sm:w-[35rem] text-center bg-white mx-auto px-1 py-5 sm:py-16"],(r=[b("div",{className:"text-gray-900 text-2xl sm:text-3xl leading-8 sm:leading-9 font-bold",children:"Employment information statements"}),b("div",{className:"text-gray-600 text-base sm:text-lg font-normal leading-7 sm:leading-8 mt-4",children:"Please read and accept the below information statements provided by the Fair Work Ombudsman."}),b("div",K(j([["className","space-y-4 mt-8 sm:mt-10"],(o=Fe(N(()=>ut(s=>Cd(n,s),e))),["children",Z.Children.toArray(Array.from(o))])]))),b("button",K(Fe(N(()=>me(O(["disabled",t.tag===1?!0:!xd(e)]),N(()=>me(O(["type","button"]),N(()=>{let s;return me(O((s=`
47
50
  mt-8 sm:mt-10 mx-auto shadow-sm w-full sm:w-[12.5rem] px-4 py-2
48
51
  rounded-md flex justify-center items-center text-white disabled:text-gray-400
49
52
  text-base font-semibold leading-6 cursor-pointer disabled:cursor-not-allowed
50
53
  disabled:border disabled:border-gray-300 bg-primary-base disabled:bg-gray-100
51
- `,["className",o])),z(()=>W(["children","Continue"])))}))))))))],["children",Xe.Children.toArray(Array.from(n))])])))}function vr(){return(vr=Object.assign||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)}function pd(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,u={},c=Object.keys(r);for(i=0;i<c.length;i++)o.indexOf(s=c[i])>=0||(u[s]=r[s]);return u}(e,["context","children"]);return er(t,n)}function _d(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=k(pd,vr({},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,u=n.attributes,c=n.childNodes;for(i=u.length;i--;)u[i].name!=="slot"&&(s[u[i].name]=u[i].value,s[Ni(u[i].name)]=u[i].value);for(i=c.length;i--;){var a=t(c[i],null),f=c[i].slot;f?s[f]=k($o,{name:f},a):o[i]=a}var l=r?k($o,null,o):o;return k(r||n.nodeName.toLowerCase(),s,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Qn:He)(this._vdom,this._root)}function Ni(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function md(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Ni(e)]=n,this._vdom=er(this._vdom,r),He(this._vdom,this._root)}}function wd(){He(this._vdom=null,this._root)}function $o(e,t){var n=this;return k("slot",vr({},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 gd(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=_d,o.prototype.attributeChangedCallback=md,o.prototype.disconnectedCallback=wd,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 u=typeof i;i!=null&&u!=="string"&&u!=="boolean"&&u!=="number"||this.setAttribute(s,i)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function yd(e,t){gd(e,t,void 0,{shadow:!0})}function bd(e){let t,n;const r=(t=af(e.backendUrl,e.accessToken),td(()=>Af(rd,(s,i)=>od(t,s,i),(s,i)=>{}),void 0,void 0))[0],o=[k("style",{children:[id]}),k("div",ct(fe([["className","font-inter px-1 py-5 sm:py-16"],(n=ft(z(()=>{const s=r.ReviewItemList,i=r.PresentPoliciesStatus;let u,c;switch(s.tag){case 1:{u=0;break}case 2:{switch(i.tag){case 2:{s.fields[0].tag===0&&i.fields[0].tag===0?(u=2,c=s.fields[0].fields[0]):u=1;break}case 3:{s.fields[0].tag,u=1;break}default:u=0}break}case 3:{switch(i.tag){case 2:{i.fields[0].tag,u=1;break}case 3:{u=1;break}default:u=0}break}default:u=0}switch(u){case 0:return W(k("div",{children:["Please wait..."]}));case 1:return W(k("div",{children:["Oops, we've encountered an error"]}));default:return W(hd(c,r.ContinueStatus))}})),["children",Xe.Children.toArray(Array.from(n))])])))];return k(ve,{},...o)}yd(e=>k(bd,e),"apollo-workplace-policies-app");
54
+ `,["className",s])),N(()=>me(O(["onClick",i=>{n(new pe(5,[e,new $e(0,[])]))}]),N(()=>O(["children","Continue"])))))}))))))))],["children",Z.Children.toArray(Array.from(r))])])))}function Er(){return(Er=Object.assign||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)}function kd(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,l={},c=Object.keys(r);for(i=0;i<c.length;i++)o.indexOf(s=c[i])>=0||(l[s]=r[s]);return l}(e,["context","children"]);return rr(t,n)}function Td(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=b(kd,Er({},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,l=n.attributes,c=n.childNodes;for(i=l.length;i--;)l[i].name!=="slot"&&(s[l[i].name]=l[i].value,s[Fi(l[i].name)]=l[i].value);for(i=c.length;i--;){var a=t(c[i],null),f=c[i].slot;f?s[f]=b(Mo,{name:f},a):o[i]=a}var u=r?b(Mo,null,o):o;return b(r||n.nodeName.toLowerCase(),s,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?nr:Ge)(this._vdom,this._root)}function Fi(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function $d(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Fi(e)]=n,this._vdom=rr(this._vdom,r),Ge(this._vdom,this._root)}}function Id(){Ge(this._vdom=null,this._root)}function Mo(e,t){var n=this;return b("slot",Er({},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 Md(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=Td,o.prototype.attributeChangedCallback=$d,o.prototype.disconnectedCallback=Id,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 l=typeof i;i!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(s,i)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function Pd(e,t){Md(e,t,void 0,{shadow:!0})}function Ad(e){let t,n;const r=df(e.backendUrl,e.accessToken);n=rd(()=>Rf(ld,(l,c)=>ud(r,l,c),(l,c)=>{}),void 0,void 0);const o=n[0],s=n[1],i=[b("style",{children:[ad]}),b("div",K(j([["className","font-inter"],(t=Fe(N(()=>{const l=o.ReviewItemList,c=o.PresentPoliciesStatus;let a,f;switch(l.tag){case 1:{a=0;break}case 2:{switch(c.tag){case 2:{l.fields[0].tag===0&&c.fields[0].tag===0?(a=2,f=l.fields[0].fields[0]):a=1;break}case 3:{l.fields[0].tag,a=1;break}default:a=0}break}case 3:{switch(c.tag){case 2:{c.fields[0].tag,a=1;break}case 3:{a=1;break}default:a=0}break}default:a=0}switch(a){case 0:return O(ke());case 1:return O(b("div",{children:["Oops, we've encountered an error"]}));default:{const u=o.Page;return u.tag===1?O(b(Sd,{policyReviewItem:u.fields[0],acceptPolicyStatus:o.AcceptPolicyStatus,dispatch:s})):O(Ed(f,o.ContinueStatus,s))}}})),["children",Z.Children.toArray(Array.from(t))])])))];return b(Ie,{},...i)}Pd(e=>b(Ad,e),"apollo-workplace-policies-app");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-workplace-policies",
3
- "version": "0.1.164",
3
+ "version": "0.1.168",
4
4
  "description": "Flare Workplace Policies Components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [
@@ -1,3 +0,0 @@
1
- <svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M1 5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M1 1L7 7L1 13" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>