@flarehr/apollo-workplace-policies 0.1.148 → 0.1.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,51 @@
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"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var re,c,lt,M,Le,ut,we,ct,q={},ft=[],Mt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pe=Array.isArray;function O(e,t){for(var r in t)e[r]=t[r];return e}function _t(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,r){var n,o,i,a={};for(i in t)i=="key"?n=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?re.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return X(e,a,n,o,null)}function X(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++lt};return o==null&&c.vnode!=null&&c.vnode(i),i}function Rt(){return{current:null}}function j(e){return e.children}function $(e,t){this.props=e,this.context=t}function ue(e,t){if(t==null)return e.__?ue(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?ue(e):null}function dt(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return dt(e)}}function ke(e){(!e.__d&&(e.__d=!0)&&M.push(e)&&!ce.__r++||Le!==c.debounceRendering)&&((Le=c.debounceRendering)||ut)(ce)}function ce(){var e,t,r,n,o,i,a,l,u;for(M.sort(we);e=M.shift();)e.__d&&(t=M.length,n=void 0,o=void 0,i=void 0,l=(a=(r=e).__v).__e,(u=r.__P)&&(n=[],o=[],(i=O({},a)).__v=a.__v+1,Oe(u,a,i,r.__n,u.ownerSVGElement!==void 0,a.__h!=null?[l]:null,n,l??ue(a),a.__h,o),gt(n,a,o),a.__e!=l&&dt(a)),M.length>t&&M.sort(we));ce.__r=0}function pt(e,t,r,n,o,i,a,l,u,d,_){var s,h,g,f,p,W,y,v,S,E,k=0,x=n&&n.__k||ft,L=x.length,F=L,w=t.length;for(r.__k=[],s=0;s<w;s++)(f=r.__k[s]=(f=t[s])==null||typeof f=="boolean"||typeof f=="function"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?X(null,f,null,null,f):pe(f)?X(j,{children:f},null,null,null):f.__b>0?X(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null&&(f.__=r,f.__b=r.__b+1,(v=Ut(f,x,y=s+k,F))===-1?g=q:(g=x[v]||q,x[v]=void 0,F--),Oe(e,f,g,o,i,a,l,u,d,_),p=f.__e,(h=f.ref)&&g.ref!=h&&(g.ref&&Ae(g.ref,null,f),_.push(h,f.__c||p,f)),p!=null&&(W==null&&(W=p),E=!(S=g===q||g.__v===null)&&v===y,S?v==-1&&k--:v!==y&&(v===y+1?(k++,E=!0):v>y?F>w-y?(k+=v-y,E=!0):k--:k=v<y&&v==y-1?v-y:0),y=s+k,E=E||v==s&&!S,typeof f.type!="function"||v===y&&g.__k!==f.__k?typeof f.type=="function"||E?f.__d!==void 0?(u=f.__d,f.__d=void 0):u=p.nextSibling:u=mt(e,p,u):u=ht(f,u,e),typeof r.type=="function"&&(r.__d=u)));for(r.__e=W,s=L;s--;)x[s]!=null&&(typeof r.type=="function"&&x[s].__e!=null&&x[s].__e==r.__d&&(r.__d=x[s].__e.nextSibling),bt(x[s],x[s]))}function ht(e,t,r){for(var n,o=e.__k,i=0;o&&i<o.length;i++)(n=o[i])&&(n.__=e,t=typeof n.type=="function"?ht(n,t,r):mt(r,n.__e,t));return t}function A(e,t){return t=t||[],e==null||typeof e=="boolean"||(pe(e)?e.some(function(r){A(r,t)}):t.push(e)),t}function mt(e,t,r){return r==null||r.parentNode!==e?e.insertBefore(t,null):t==r&&t.parentNode!=null||e.insertBefore(t,r),t.nextSibling}function Ut(e,t,r,n){var o=e.key,i=e.type,a=r-1,l=r+1,u=t[r];if(u===null||u&&o==u.key&&i===u.type)return r;if(n>(u!=null?1:0))for(;a>=0||l<t.length;){if(a>=0){if((u=t[a])&&o==u.key&&i===u.type)return a;a--}if(l<t.length){if((u=t[l])&&o==u.key&&i===u.type)return l;l++}}return-1}function Dt(e,t,r,n,o){var i;for(i in r)i==="children"||i==="key"||i in t||fe(e,i,null,r[i],n);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||r[i]===t[i]||fe(e,i,t[i],r[i],n)}function Fe(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Mt.test(t)?r:r+"px"}function fe(e,t,r,n,o){var i;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Fe(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Fe(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n||e.addEventListener(t,i?Re:Me,i):e.removeEventListener(t,i?Re:Me,i);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]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Me(e){return this.l[e.type+!1](c.event?c.event(e):e)}function Re(e){return this.l[e.type+!0](c.event?c.event(e):e)}function Oe(e,t,r,n,o,i,a,l,u,d){var _,s,h,g,f,p,W,y,v,S,E,k,x,L,F,w=t.type;if(t.constructor!==void 0)return null;r.__h!=null&&(u=r.__h,l=t.__e=r.__e,t.__h=null,i=[l]),(_=c.__b)&&_(t);try{e:if(typeof w=="function"){if(y=t.props,v=(_=w.contextType)&&n[_.__c],S=_?v?v.props.value:_.__:n,r.__c?W=(s=t.__c=r.__c).__=s.__E:("prototype"in w&&w.prototype.render?t.__c=s=new w(y,S):(t.__c=s=new $(y,S),s.constructor=w,s.render=Vt),v&&v.sub(s),s.props=y,s.state||(s.state={}),s.context=S,s.__n=n,h=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),w.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=O({},s.__s)),O(s.__s,w.getDerivedStateFromProps(y,s.__s))),g=s.props,f=s.state,s.__v=t,h)w.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(w.getDerivedStateFromProps==null&&y!==g&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(y,S),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(y,s.__s,S)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(s.props=y,s.state=s.__s,s.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(ie){ie&&(ie.__=t)}),E=0;E<s._sb.length;E++)s.__h.push(s._sb[E]);s._sb=[],s.__h.length&&a.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(y,s.__s,S),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(g,f,p)})}if(s.context=S,s.props=y,s.__P=e,s.__e=!1,k=c.__r,x=0,"prototype"in w&&w.prototype.render){for(s.state=s.__s,s.__d=!1,k&&k(t),_=s.render(s.props,s.state,s.context),L=0;L<s._sb.length;L++)s.__h.push(s._sb[L]);s._sb=[]}else do s.__d=!1,k&&k(t),_=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++x<25);s.state=s.__s,s.getChildContext!=null&&(n=O(O({},n),s.getChildContext())),h||s.getSnapshotBeforeUpdate==null||(p=s.getSnapshotBeforeUpdate(g,f)),pt(e,pe(F=_!=null&&_.type===j&&_.key==null?_.props.children:_)?F:[F],t,r,n,o,i,a,l,u,d),s.base=t.__e,t.__h=null,s.__h.length&&a.push(s),W&&(s.__E=s.__=null)}else i==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Wt(r.__e,t,r,n,o,i,a,u,d);(_=c.diffed)&&_(t)}catch(ie){t.__v=null,(u||i!=null)&&(t.__e=l,t.__h=!!u,i[i.indexOf(l)]=null),c.__e(ie,t,r)}}function gt(e,t,r){for(var n=0;n<r.length;n++)Ae(r[n],r[++n],r[++n]);c.__c&&c.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){c.__e(i,o.__v)}})}function Wt(e,t,r,n,o,i,a,l,u){var d,_,s,h=r.props,g=t.props,f=t.type,p=0;if(f==="svg"&&(o=!0),i!=null){for(;p<i.length;p++)if((d=i[p])&&"setAttribute"in d==!!f&&(f?d.localName===f:d.nodeType===3)){e=d,i[p]=null;break}}if(e==null){if(f===null)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,g.is&&g),i=null,l=!1}if(f===null)h===g||l&&e.data===g||(e.data=g);else{if(i=i&&re.call(e.childNodes),_=(h=r.props||q).dangerouslySetInnerHTML,s=g.dangerouslySetInnerHTML,!l){if(i!=null)for(h={},p=0;p<e.attributes.length;p++)h[e.attributes[p].name]=e.attributes[p].value;(s||_)&&(s&&(_&&s.__html==_.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(Dt(e,g,h,o,l),s)t.__k=[];else if(pt(e,pe(p=t.props.children)?p:[p],t,r,n,o&&f!=="foreignObject",i,a,i?i[0]:r.__k&&ue(r,0),l,u),i!=null)for(p=i.length;p--;)i[p]!=null&&_t(i[p]);l||("value"in g&&(p=g.value)!==void 0&&(p!==e.value||f==="progress"&&!p||f==="option"&&p!==h.value)&&fe(e,"value",p,h.value,!1),"checked"in g&&(p=g.checked)!==void 0&&p!==e.checked&&fe(e,"checked",p,h.checked,!1))}return e}function Ae(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){c.__e(n,r)}}function bt(e,t,r){var n,o;if(c.unmount&&c.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ae(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){c.__e(i,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&bt(n[o],t,r||typeof e.type!="function");r||e.__e==null||_t(e.__e),e.__=e.__e=e.__d=void 0}function Vt(e,t,r){return this.constructor(e,r)}function H(e,t,r){var n,o,i,a;c.__&&c.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,i=[],a=[],Oe(t,e=(!n&&r||t).__k=m(j,null,[e]),o||q,q,t.ownerSVGElement!==void 0,!n&&r?[r]:o?null:t.firstChild?re.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n,a),gt(i,e,a)}function je(e,t){H(e,t,je)}function Pe(e,t,r){var n,o,i,a,l=O({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?n=t[i]:i=="ref"?o=t[i]:l[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?re.call(arguments,2):r),X(e.type,l,n||e.key,o||e.ref,null)}function qt(e,t){var r={__c:t="__cC"+ct++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(l){l.__e=!0,ke(l)})},this.sub=function(a){o.push(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),l&&l.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}re=ft.slice,c={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(l){e=l}throw e}},lt=0,$.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=O({},this.state),typeof e=="function"&&(e=e(O({},r),this.props)),e&&O(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ke(this))},$.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ke(this))},$.prototype.render=j,M=[],ut=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,we=function(e,t){return e.__v.__b-t.__v.__b},ce.__r=0,ct=0;var T,b,ge,Ue,B=0,yt=[],ae=[],De=c.__b,We=c.__r,Ve=c.diffed,qe=c.__c,Ge=c.unmount;function J(e,t){c.__h&&c.__h(b,e,B||t),B=0;var r=b.__H||(b.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:ae}),r.__[e]}function vt(e){return B=1,wt(xt,e)}function wt(e,t,r){var n=J(T++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):xt(void 0,t),function(l){var u=n.__N?n.__N[0]:n.__[0],d=n.t(u,l);u!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=b,!b.u)){var o=function(l,u,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(h){return h.__c});if(_.every(function(h){return!h.__N}))return!i||i.call(this,l,u,d);var s=!1;return _.forEach(function(h){if(h.__N){var g=h.__[0];h.__=h.__N,h.__N=void 0,g!==h.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!i||i.call(this,l,u,d))};b.u=!0;var i=b.shouldComponentUpdate,a=b.componentWillUpdate;b.componentWillUpdate=function(l,u,d){if(this.__e){var _=i;i=void 0,o(l,u,d),i=_}a&&a.call(this,l,u,d)},b.shouldComponentUpdate=o}return n.__N||n.__}function kt(e,t){var r=J(T++,3);!c.__s&&Te(r.__H,t)&&(r.__=e,r.i=t,b.__H.__h.push(r))}function he(e,t){var r=J(T++,4);!c.__s&&Te(r.__H,t)&&(r.__=e,r.i=t,b.__h.push(r))}function Gt(e){return B=5,He(function(){return{current:e}},[])}function Bt(e,t,r){B=6,he(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function He(e,t){var r=J(T++,7);return Te(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Kt(e,t){return B=8,He(function(){return e},t)}function Jt(e){var t=b.context[e.__c],r=J(T++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(b)),t.props.value):e.__}function Zt(e,t){c.useDebugValue&&c.useDebugValue(t?t(e):e)}function Yt(){var e=J(T++,11);if(!e.__){for(var t=b.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function Qt(){for(var e;e=yt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(xe),e.__H.__h=[]}catch(t){e.__H.__h=[],c.__e(t,e.__v)}}c.__b=function(e){b=null,De&&De(e)},c.__r=function(e){We&&We(e),T=0;var t=(b=e.__c).__H;t&&(ge===b?(t.__h=[],b.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=ae,r.__N=r.i=void 0})):(t.__h.forEach(se),t.__h.forEach(xe),t.__h=[],T=0)),ge=b},c.diffed=function(e){Ve&&Ve(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(yt.push(t)!==1&&Ue===c.requestAnimationFrame||((Ue=c.requestAnimationFrame)||Xt)(Qt)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==ae&&(r.__=r.__V),r.i=void 0,r.__V=ae})),ge=b=null},c.__c=function(e,t){t.some(function(r){try{r.__h.forEach(se),r.__h=r.__h.filter(function(n){return!n.__||xe(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],c.__e(n,r.__v)}}),qe&&qe(e,t)},c.unmount=function(e){Ge&&Ge(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{se(n)}catch(o){t=o}}),r.__H=void 0,t&&c.__e(t,r.__v))};var Be=typeof requestAnimationFrame=="function";function Xt(e){var t,r=function(){clearTimeout(n),Be&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Be&&(t=requestAnimationFrame(r))}function se(e){var t=b,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),b=t}function xe(e){var t=b;e.__c=e.__(),b=t}function Te(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function xt(e,t){return typeof t=="function"?t(e):t}function Ct(e,t){for(var r in t)e[r]=t[r];return e}function Ce(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function be(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Se(e){this.props=e}function er(e,t){function r(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Ce(this.props,o)}function n(o){return this.shouldComponentUpdate=r,m(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Se.prototype=new $).isPureReactComponent=!0,Se.prototype.shouldComponentUpdate=function(e,t){return Ce(this.props,e)||Ce(this.state,t)};var Ke=c.__b;c.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ke&&Ke(e)};var tr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function rr(e){function t(r){var n=Ct({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=tr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Je=function(e,t){return e==null?null:A(A(e).map(t))},nr={map:Je,forEach:Je,count:function(e){return e?A(e).length:0},only:function(e){var t=A(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:A},or=c.__e;c.__e=function(e,t,r,n){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}or(e,t,r,n)};var Ze=c.unmount;function St(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Ct({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return St(n,t,r)})),e}function Et(e,t,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Et(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}function le(){this.__u=0,this.t=null,this.__b=null}function Nt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ir(e){var t,r,n;function o(i){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return m(r,i)}return o.displayName="Lazy",o.__f=!0,o}function Q(){this.u=null,this.o=null}c.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Ze&&Ze(e)},(le.prototype=new $).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=Nt(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Et(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},u=t.__h===!0;n.__u++||u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},le.prototype.componentWillUnmount=function(){this.t=[]},le.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=St(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&m(j,null,e.fallback);return o&&(o.__h=null),[m(j,null,t.__a?null:e.children),o]};var Ye=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function ar(e){return this.getChildContext=function(){return e.context},e.children}function sr(e){var t=this,r=e.i;t.componentWillUnmount=function(){H(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),e.__v?(t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),H(m(ar,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function lr(e,t){var r=m(sr,{__v:e,i:t});return r.containerInfo=t,r}(Q.prototype=new $).__a=function(e){var t=this,r=Nt(t.__v),n=t.o.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),Ye(t,e,n)):o()};r?r(i):i()}},Q.prototype.render=function(e){this.u=null,this.o=new Map;var t=A(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Q.prototype.componentDidUpdate=Q.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Ye(e,r,t)})};var $t=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ur=/^(?: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]/,cr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fr=/[A-Z0-9]/g,_r=typeof document<"u",dr=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function pr(e,t,r){return t.__k==null&&(t.textContent=""),H(e,t),typeof r=="function"&&r(),e?e.__c:null}function hr(e,t,r){return je(e,t),typeof r=="function"&&r(),e?e.__c:null}$.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Qe=c.event;function mr(){}function gr(){return this.cancelBubble}function br(){return this.defaultPrevented}c.event=function(e){return Qe&&(e=Qe(e)),e.persist=mr,e.isPropagationStopped=gr,e.isDefaultPrevented=br,e.nativeEvent=e};var Ie,yr={enumerable:!1,configurable:!0,get:function(){return this.class}},Xe=c.vnode;c.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,o={};for(var i in r){var a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||_r&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||dr(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":cr.test(i)?i=l:n.indexOf("-")===-1&&ur.test(i)?i=i.replace(fr,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=A(r.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=A(r.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",yr)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=$t,Xe&&Xe(e)};var et=c.__r;c.__r=function(e){et&&et(e),Ie=e.__c};var tt=c.diffed;c.diffed=function(e){tt&&tt(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Ie=null};var vr={ReactCurrentDispatcher:{current:{readContext:function(e){return Ie.__n[e.__c].props.value}}}};function wr(e){return m.bind(null,e)}function Ot(e){return!!e&&e.$$typeof===$t}function kr(e){return Ot(e)?Pe.apply(null,arguments):e}function xr(e){return!!e.__k&&(H(null,e),!0)}function Cr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Sr=function(e,t){return e(t)},Er=function(e,t){return e(t)},Nr=j;function At(e){e()}function $r(e){return e}function Or(){return[!1,At]}var Ar=he;function jr(e,t){var r=t(),n=vt({h:{__:r,v:t}}),o=n[0].h,i=n[1];return he(function(){o.__=r,o.v=t,be(o.__,t())||i({h:o})},[e,r,t]),kt(function(){return be(o.__,o.v())||i({h:o}),e(function(){be(o.__,o.v())||i({h:o})})},[e]),r}var Pr={useState:vt,useId:Yt,useReducer:wt,useEffect:kt,useLayoutEffect:he,useInsertionEffect:Ar,useTransition:Or,useDeferredValue:$r,useSyncExternalStore:jr,startTransition:At,useRef:Gt,useImperativeHandle:Bt,useMemo:He,useCallback:Kt,useContext:Jt,useDebugValue:Zt,version:"17.0.2",Children:nr,render:pr,hydrate:hr,unmountComponentAtNode:xr,createPortal:lr,createElement:m,createContext:qt,createFactory:wr,cloneElement:kr,createRef:Rt,Fragment:j,isValidElement:Ot,findDOMNode:Cr,Component:$,PureComponent:Se,memo:er,forwardRef:rr,flushSync:Er,unstable_batchedUpdates:Sr,StrictMode:Nr,Suspense:le,SuspenseList:Q,lazy:ir,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:vr};const Hr=`*,: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}}
2
- `;function D(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Tr(e){return e!=null&&typeof e.GetEnumerator=="function"}function Ir(e){return e!=null&&typeof e.CompareTo=="function"}function zr(e){return e!=null&&typeof e.Equals=="function"}function Lr(e){return e!=null&&typeof e.GetHashCode=="function"}function Fr(e){return e!=null&&typeof e.Dispose=="function"}function ee(e){Fr(e)&&e.Dispose()}function _e(){return null}function de(e,t){var r,n;return((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)}class Mr{constructor(t){this.iter=t,this.current=_e()}"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 I(e){return Tr(e)?e.GetEnumerator():new Mr(e[Symbol.iterator]())}function jt(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),r=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:r}}}}function rt(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}class P{static id(t){return P.idMap.has(t)||P.idMap.set(t,++P.count),P.idMap.get(t)}}P.idMap=new WeakMap;P.count=0;function Pt(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function Ee(e){return e*2654435761|0}function Rr(e){return Pt(e.toString(32))}function me(e){let t=0;const r=e.length;for(let n=0;n<r;n++){const o=e[n];t=(t<<5)+t^o}return t}function Ur(e){return e.getTime()}function Dr(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=Z(e[n]);return me(r)}function Z(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ee(e);case"bigint":return Rr(e);case"string":return Pt(e);default:{if(Lr(e))return e.GetHashCode();if(D(e))return Dr(e);if(e instanceof Date)return Ur(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>Z(n));return me(r)}else return Ee(P.id(e))}}}function Wr(e,t,r){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function Ht(e,t){return Wr(e,t,ne)}function Vr(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;r.sort(),n.sort();for(let o=0;o<r.length;o++)if(r[o]!==n[o]||!ne(e[r[o]],t[n[o]]))return!1;return!0}function ne(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:zr(e)?e.Equals(t):D(e)?D(t)&&Ht(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Tt(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Vr(e,t)}function Tt(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+rt(e),n=t.getTime()+rt(t)),r===n?0:r<n?-1:1}function qr(e,t,r){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 n=0,o=0;n<e.length;n++)if(o=r(e[n],t[n]),o!==0)return o;return 0}function It(e,t){return qr(e,t,oe)}function Gr(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return r.length<n.length?-1:1;r.sort(),n.sort();for(let o=0,i=0;o<r.length;o++){const a=r[o];if(a!==n[o])return a<n[o]?-1:1;if(i=oe(e[a],t[a]),i!==0)return i}return 0}function oe(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Ir(e)?e.CompareTo(t):D(e)?D(t)?It(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Tt(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Gr(e,t):-1}function G(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function Br(e){let t=0,r="[";for(const n of e){if(t===0)r+=z(n);else if(t===100){r+="; ...";break}else r+="; "+z(n);t++}return r+"]"}function z(e,t=0){var r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Br(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([o,i])=>o+" = "+z(i,t+1)).join(`
3
- `)+" }":(n==null?void 0:n.name)??""}}return String(e)}function Kr(e,t){if(t.length===0)return e;{let r,n=!0;return t.length===1?(r=z(t[0]),n=r.indexOf(" ")>=0):r=t.map(o=>z(o)).join(", "),e+(n?" (":" ")+r+(n?")":"")}}class zt{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Kr(this.name,this.fields)}GetHashCode(){const t=this.fields.map(r=>Z(r));return t.splice(0,0,Ee(this.tag)),me(t)}Equals(t){return this===t?!0:de(this,t)&&this.tag===t.tag?Ht(this.fields,t.fields):!1}CompareTo(t){return this===t?0:de(this,t)?this.tag===t.tag?It(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Jr(e){const t={},r=Object.keys(e);for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];return t}function Zr(e){return"{ "+Object.entries(e).map(([t,r])=>t+" = "+z(r)).join(`
4
- `)+" }"}function Yr(e){const t=Object.values(e).map(r=>Z(r));return me(t)}function Qr(e,t){if(e===t)return!0;if(de(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!ne(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function Xr(e,t){if(e===t)return 0;if(de(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const o=oe(e[r[n]],t[r[n]]);if(o!==0)return o}return 0}else return-1}class en{toJSON(){return Jr(this)}toString(){return Zr(this)}GetHashCode(){return Yr(this)}Equals(t){return Qr(this,t)}CompareTo(t){return Xr(this,t)}}const tn=(()=>z(Hr))();function Ne(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}class K{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Z(this.value)}Equals(t){return t==null?!1:ne(this.value,t instanceof K?t.value:t)}CompareTo(t){return t==null?1:oe(this.value,t instanceof K?t.value:t)}}function C(e){if(e==null)throw new Error("Option has no value");return e instanceof K?e.value:e}function rn(e){return e==null||e instanceof K?new K(e):e}function nn(e,t){return typeof e=="function"?new e(t):new Array(t)}const on="Collection was empty.";function an(e,t){const r=nn(t,1);return r[0]=e,r}class te extends en{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+Ne("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((o,i)=>{e:for(;;){const a=o,l=i,u=a.tail,d=l.tail;if(u!=null)if(d!=null){const _=C(u),s=C(d);if(ne(a.head,l.head)){o=_,i=s;continue e}else return!1}else return!1;else return d==null}})(r,t)}GetHashCode(){return((n,o,i)=>{e:for(;;){const a=n,l=o,u=i,d=u.tail;if(d!=null){const _=C(d);if(a>18)return l|0;n=a+1,o=(l<<1)+Z(u.head)+631*a,i=_;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const a=o,l=i,u=a.tail,d=l.tail;if(u!=null)if(d!=null){const _=C(u),s=C(d),h=oe(a.head,l.head)|0;if(h===0){o=_,i=s;continue e}else return h|0}else return 1;else return d!=null?-1:0}})(this,t)|0}GetEnumerator(){return ln(this)}[Symbol.iterator](){return jt(I(this))}"System.Collections.IEnumerable.GetEnumerator"(){return I(this)}}class sn{constructor(t){this.xs=t,this.it=this.xs,this.current=_e()}"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,r=t.it.tail;if(r!=null){const n=C(r);return t.current=t.it.head,t.it=n,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=_e()}Dispose(){}}function ln(e){return new sn(e)}function $e(){return new te(_e(),void 0)}function un(e,t){return new te(e,t)}function cn(e){const t=e.tail;if(t!=null)return C(t);throw new Error(on+"\\nParameter name: list")}function fn(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=un(e[n],r);return r}function N(e){return fn(e,$e())}function _n(e){let t,r;if(D(e))return N(e);if(e instanceof te)return e;{const n=$e();let o=n;const i=I(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,r=new te(u,void 0),t.tail=r,r)}}finally{ee(i)}const a=o,l=$e();return a.tail=l,cn(n)}}const dn="Enumeration already finished.",pn="Enumeration has not started. Call MoveNext.",hn="Reset is not supported on this enumerator.";function mn(){throw new Error(hn)}function gn(){throw new Error(pn)}function nt(){throw new Error(dn)}class bn{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const o=I(t);try{for(;r<4&&o["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+z(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{ee(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return jt(I(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function yn(e){return new bn(e)}class vn{constructor(t,r,n){this.current=t,this.next=r,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){mn()}Dispose(){this.dispose()}}function wn(e,t,r){return new vn(e,t,r)}function kn(e){let t,r,n=!1,o=!1,i;const a=()=>{if(o=!0,r!=null){const l=C(r);try{ee(l)}finally{r=void 0}}if(t!=null){const l=C(t);try{ee(l)}finally{t=void 0}}};return wn(()=>(n?o&&nt():gn(),i!=null?C(i):nt()),()=>{let l;if(n||(n=!0),o)return!1;{let u;for(;u==null;){const d=t,_=r;if(d!=null)if(_!=null){const s=C(_);if(s["System.Collections.IEnumerator.MoveNext"]())i=rn(s["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{ee(s)}finally{r=void 0}}else{const s=C(d);s["System.Collections.IEnumerator.MoveNext"]()?r=(l=s["System.Collections.Generic.IEnumerator`1.get_Current"](),I(l)):(a(),u=!1)}else t=I(e)}return C(u)}},()=>{o||a()})}function Lt(e){return yn(e)}function V(e){return Lt(()=>I(e()))}function xn(e){return Lt(()=>kn(e))}function Y(e){return V(()=>an(e))}function ye(e){return D(e)?N(e):e instanceof te?e:_n(e)}function ot(e,t){return xn([e,t])}const U=Pr,R={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function ve(e,t){return e.replace(/[a-z]?[A-Z]/g,r=>r.length===1?r.toLowerCase():r.charAt(0)+t+r.charAt(1).toLowerCase())}function Cn(e,t){switch(t){case R.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case R.SnakeCase:return ve(e,"_");case R.SnakeCaseAllCaps:return ve(e,"_").toUpperCase();case R.KebabCase:return ve(e,"-");case R.None:default:return e}}function Sn(e,t=R.None){const r={},n=t;function o(a){throw new Error("Cannot infer key and value of "+String(a))}function i(a,l,u){a=Cn(a,l),r[a]=u}for(let a of e){let l=R.None;if(a==null&&o(a),a instanceof zt){const u=a.cases()[a.tag];a=a.fields.length===0?u:[u].concat(a.fields),l=n}if(Array.isArray(a))switch(a.length){case 0:o(a);break;case 1:i(a[0],l,!0);break;case 2:const u=a[1];i(a[0],l,u);break;default:i(a[0],l,a.slice(1))}else typeof a=="string"?i(a,l,!0):o(a)}return r}const En=e=>m("svg",{width:8,height:14,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m("path",{d:"M1 1L7 7L1 13",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));class it extends zt{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Height","Width"]}}function Nn(e,t){return U.createElement(e,Sn(t,1))}function $n(e){return Nn(En,e)}function at(e,t){let r,n,o;return m("div",G(N([["className",Ne(" ",ye(V(()=>ot(Y("py-6 px-4 sm:px-6 shadow-sm rounded-lg text-left flex justify-between"),V(()=>Y("border border-gray-300"))))))],(r=[(n=N([m("div",{className:"text-base leading-6 font-semibold text-gray-900",children:e}),m("div",{className:"text-sm leading-5 font-normal text-gray-500 mt-2",children:t}),m("div",{className:"text-sm leading-5 font-medium mt-3 text-primary-base cursor-pointer",children:"View document (PDF)"})]),m("div",{children:U.Children.toArray(Array.from(n))})),m("div",G(N([["className",Ne(" ",ye(V(()=>ot(Y("flex-none w-6 h-6 flex justify-center items-center"),V(()=>Y("cursor-pointer"))))))],(o=ye(V(()=>Y($n(N([new it(0,[14]),new it(1,[8])]))))),["children",U.Children.toArray(Array.from(o))])])))],["children",U.Children.toArray(Array.from(r))])])))}function On(){let e,t,r;return m("div",G(N([["className","w-full sm:w-[35rem] text-center bg-white mx-auto"],(e=[m("div",{className:"text-gray-900 text-2xl sm:text-3xl leading-8 sm:leading-9 font-bold",children:"Employment information statements"}),m("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."}),m("div",G(N([["className","space-y-4 mt-8 sm:mt-10"],(t=[at("Fair Work Information Statement (FWIS)","Provided by Fair Work Australia, the FWIS provides new employees with information about their conditions of employment."),at("Casual Employment Information Statement (CEIS)","Provided by Fair Work Australia, the CEIS provides new casual employees with information about their conditions of employment.")],["children",U.Children.toArray(Array.from(t))])]))),m("button",G(N([["type","button"],(r=`
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,Mo,Ze,Cr,Po,Rn,Oo,ut={},Ao=[],Di=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,dn=Array.isArray;function Ie(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 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 Tt(e,i,r,o,null)}function Tt(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??++Mo};return o==null&&S.vnode!=null&&S.vnode(s),s}function No(){return{current:null}}function ve(e){return e.children}function ye(e,t){this.props=e,this.context=t}function Qt(e,t){if(t==null)return e.__?Qt(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"?Qt(e):null}function Fo(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 Fo(e)}}function Nn(e){(!e.__d&&(e.__d=!0)&&Ze.push(e)&&!en.__r++||Cr!==S.debounceRendering)&&((Cr=S.debounceRendering)||Po)(en)}function en(){var e,t,n,r,o,s,i,u,c;for(Ze.sort(Rn);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,Kn(c,i,s,n.__n,c.ownerSVGElement!==void 0,i.__h!=null?[u]:null,r,u??Qt(i),i.__h,o),Ho(r,i,o),i.__e!=u&&Fo(i)),Ze.length>t&&Ze.sort(Rn));en.__r=0}function Do(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||Ao,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"?Tt(null,d,null,null,d):dn(d)?Tt(ve,{children:d},null,null,null):d.__b>0?Tt(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null&&(d.__=n,d.__b=n.__b+1,(v=Vi(d,Y,g=l+D,ze))===-1?h=ut:(h=Y[v]||ut,Y[v]=void 0,ze--),Kn(e,d,h,o,s,i,u,c,a,f),m=d.__e,(_=d.ref)&&h.ref!=_&&(h.ref&&Yn(h.ref,null,d),f.push(_,d.__c||m,d)),m!=null&&(w==null&&(w=m),B=!(x=h===ut||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=Lo(e,m,c):c=Vo(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),jo(Y[l],Y[l]))}function Vo(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"?Vo(r,t,n):Lo(n,r.__e,t));return t}function Me(e,t){return t=t||[],e==null||typeof e=="boolean"||(dn(e)?e.some(function(n){Me(n,t)}):t.push(e)),t}function Lo(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,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 Li(e,t,n,r,o){var s;for(s in n)s==="children"||s==="key"||s in t||tn(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]||tn(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"||Di.test(t)?n:n+"px"}function tn(e,t,n,r,o){var s;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||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 Kn(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 ye(g,x),l.constructor=X,l.render=ji),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(zt){zt&&(zt.__=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)),Do(e,dn(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=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=u,t.__h=!!c,s[s.indexOf(u)]=null),S.__e(zt,t,n)}}function Ho(e,t,n){for(var r=0;r<n.length;r++)Yn(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,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||ut).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(Li(e,h,_,o,u),l)t.__k=[];else if(Do(e,dn(m=t.props.children)?m:[m],t,n,r,o&&d!=="foreignObject",s,i,s?s[0]:n.__k&&Qt(n,0),u,c),s!=null)for(m=s.length;m--;)s[m]!=null&&Ro(s[m]);u||("value"in h&&(m=h.value)!==void 0&&(m!==e.value||d==="progress"&&!m||d==="option"&&m!==_.value)&&tn(e,"value",m,_.value,!1),"checked"in h&&(m=h.checked)!==void 0&&m!==e.checked&&tn(e,"checked",m,_.checked,!1))}return e}function Yn(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){S.__e(r,n)}}function jo(e,t,n){var r,o;if(S.unmount&&S.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Yn(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]&&jo(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 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=[],Kn(t,e=(!r&&n||t).__k=k(ve,null,[e]),o||ut,ut,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),Ho(s,e,i)}function Xn(e,t){He(e,t,Xn)}function Qn(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),Tt(e.type,u,r||e.key,o||e.ref,null)}function Uo(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(u){u.__e=!0,Nn(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=Ao.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}},Mo=0,ye.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),Nn(this))},ye.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Nn(this))},ye.prototype.render=ve,Ze=[],Po=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Rn=function(e,t){return e.__v.__b-t.__v.__b},en.__r=0,Oo=0;var Pe,P,xn,Tr,ht=0,Bo=[],Kt=[],$r=S.__b,Ir=S.__r,Mr=S.diffed,Pr=S.__c,Or=S.unmount;function Qe(e,t){S.__h&&S.__h(P,e,ht||t),ht=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Kt}),n.__[e]}function Ft(e){return ht=1,er(Ko,e)}function er(e,t,n){var r=Qe(Pe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ko(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 hn(e,t){var n=Qe(Pe++,3);!S.__s&&tr(n.__H,t)&&(n.__=e,n.i=t,P.__H.__h.push(n))}function Dt(e,t){var n=Qe(Pe++,4);!S.__s&&tr(n.__H,t)&&(n.__=e,n.i=t,P.__h.push(n))}function Go(e){return ht=5,pn(function(){return{current:e}},[])}function zo(e,t,n){ht=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 pn(e,t){var n=Qe(Pe++,7);return tr(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Wo(e,t){return ht=8,pn(function(){return e},t)}function qo(e){var t=P.context[e.__c],n=Qe(Pe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function Zo(e,t){S.useDebugValue&&S.useDebugValue(t?t(e):e)}function Ui(e){var t=Qe(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 Jo(){var e=Qe(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 Bi(){for(var e;e=Bo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Yt),e.__H.__h.forEach(Fn),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&&(xn===P?(t.__h=[],P.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Kt,n.__N=n.i=void 0})):(t.__h.forEach(Yt),t.__h.forEach(Fn),t.__h=[],Pe=0)),xn=P},S.diffed=function(e){Mr&&Mr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Bo.push(t)!==1&&Tr===S.requestAnimationFrame||((Tr=S.requestAnimationFrame)||Gi)(Bi)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Kt&&(n.__=n.__V),n.i=void 0,n.__V=Kt})),xn=P=null},S.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Yt),n.__h=n.__h.filter(function(r){return!r.__||Fn(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{Yt(r)}catch(o){t=o}}),n.__H=void 0,t&&S.__e(t,n.__v))};var Ar=typeof requestAnimationFrame=="function";function Gi(e){var t,n=function(){clearTimeout(r),Ar&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ar&&(t=requestAnimationFrame(n))}function Yt(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function Fn(e){var t=P;e.__c=e.__(),P=t}function tr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Ko(e,t){return typeof t=="function"?t(e):t}function Yo(e,t){for(var n in t)e[n]=t[n];return e}function Dn(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 kn(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function nn(e){this.props=e}function Xo(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:Dn(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}(nn.prototype=new ye).isPureReactComponent=!0,nn.prototype.shouldComponentUpdate=function(e,t){return Dn(this.props,e)||Dn(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 zi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Qo(e){function t(n){var r=Yo({},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 Nr=function(e,t){return e==null?null:Me(Me(e).map(t))},es={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},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 Fr=S.unmount;function ts(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=Yo({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return ts(r,t,n)})),e}function ns(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ns(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 $t(){this.__u=0,this.t=null,this.__b=null}function rs(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function os(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 ot(){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)},($t.prototype=new ye).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=rs(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]=ns(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)},$t.prototype.componentWillUnmount=function(){this.t=[]},$t.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]=ts(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 qi(e){return this.getChildContext=function(){return e.context},e.children}function Zi(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(qi,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ss(e,t){var n=k(Zi,{__v:e,i:t});return n.containerInfo=t,n}(ot.prototype=new ye).__a=function(e){var t=this,n=rs(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()}},ot.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},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Dr(e,n,t)})};var is=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=""),He(e,t),typeof n=="function"&&n(),e?e.__c:null}function ls(e,t,n){return Xn(e,t),typeof n=="function"&&n(),e?e.__c:null}ye.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ye.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 eu(){}function tu(){return this.cancelBubble}function nu(){return this.defaultPrevented}S.event=function(e){return Vr&&(e=Vr(e)),e.persist=eu,e.isPropagationStopped=tu,e.isDefaultPrevented=nu,e.nativeEvent=e};var nr,ru={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||Xi&&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"||Qi(n.type)?u==="onfocus"?s="onfocusin":u==="onblur"?s="onfocusout":Ki.test(s)?s=u:r.indexOf("-")===-1&&Ji.test(s)?s=s.replace(Yi,"-$&").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",ru)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=is,Lr&&Lr(e)};var Hr=S.__r;S.__r=function(e){Hr&&Hr(e),nr=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),nr=null};var cs={ReactCurrentDispatcher:{current:{readContext:function(e){return nr.__n[e.__c].props.value}}}},ou="17.0.2";function as(e){return k.bind(null,e)}function rr(e){return!!e&&e.$$typeof===is}function fs(e){return rr(e)?Qn.apply(null,arguments):e}function ds(e){return!!e.__k&&(He(null,e),!0)}function hs(e){return e&&(e.base||e.nodeType===1&&e)||null}var ps=function(e,t){return e(t)},_s=function(e,t){return e(t)},ms=ve;function or(e){e()}function ws(e){return e}function gs(){return[!1,or]}var ys=Dt;function bs(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,kn(o.__,t())||s({h:o})},[e,n,t]),hn(function(){return kn(o.__,o.v())||s({h:o}),e(function(){kn(o.__,o.v())||s({h:o})})},[e]),n}var Ss={useState:Ft,useId:Jo,useReducer:er,useEffect:hn,useLayoutEffect:Dt,useInsertionEffect:ys,useTransition:gs,useDeferredValue:ws,useSyncExternalStore:bs,startTransition:or,useRef:Go,useImperativeHandle:zo,useMemo:pn,useCallback:Wo,useContext:qo,useDebugValue:Zo,version:"17.0.2",Children:es,render:us,hydrate:ls,unmountComponentAtNode:ds,createPortal:ss,createElement:k,createContext:Uo,createFactory:as,cloneElement:fs,createRef:No,Fragment:ve,isValidElement:rr,findDOMNode:hs,Component:ye,PureComponent:nn,memo:Xo,forwardRef:Qo,flushSync:_s,unstable_batchedUpdates:ps,StrictMode:ms,Suspense:$t,SuspenseList:ot,lazy:os,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cs};const su=Object.freeze(Object.defineProperty({__proto__:null,Children:es,Component:ye,Fragment:ve,PureComponent:nn,StrictMode:ms,Suspense:$t,SuspenseList:ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cs,cloneElement:fs,createContext:Uo,createElement:k,createFactory:as,createPortal:ss,createRef:No,default:Ss,findDOMNode:hs,flushSync:_s,forwardRef:Qo,hydrate:ls,isValidElement:rr,lazy:os,memo:Xo,render:us,startTransition:or,unmountComponentAtNode:ds,unstable_batchedUpdates:ps,useCallback:Wo,useContext:qo,useDebugValue:Zo,useDeferredValue:ws,useEffect:hn,useErrorBoundary:Ui,useId:Jo,useImperativeHandle:zo,useInsertionEffect:ys,useLayoutEffect:Dt,useMemo:pn,useReducer:er,useRef:Go,useState:Ft,useSyncExternalStore:bs,useTransition:gs,version:ou},Symbol.toStringTag,{value:"Module"}));function Ce(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function iu(e){return e!=null&&typeof e.GetEnumerator=="function"}function uu(e){return e!=null&&typeof e.CompareTo=="function"}function lu(e){return e!=null&&typeof e.Equals=="function"}function cu(e){return e!=null&&typeof e.GetHashCode=="function"}function Vn(e){return e!=null&&typeof e.Dispose=="function"}function R(e){Vn(e)&&e.Dispose()}function Ee(){return null}function rn(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 au{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 iu(e)?e.GetEnumerator():new au(e[Symbol.iterator]())}function _n(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 fu{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 du(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 hu(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 sr(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 pu(e){return sr(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 _u(e){return e.getTime()}function mu(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 pu(e);case"string":return sr(e);default:{if(cu(e))return e.GetHashCode();if(Ce(e))return mu(e);if(e instanceof Date)return _u(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 Ln(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 vs(e,t){return Ln(e,t,ee)}function wu(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:lu(e)?e.Equals(t):Ce(e)?Ce(t)&&vs(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Cs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&wu(e,t)}function Cs(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 mn(e,t){return e===t?0:e<t?-1:1}function gu(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 gu(e,t,he)}function yu(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=he(e[i],t[i]),s!==0)return s}return 0}function he(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:uu(e)?e.CompareTo(t):Ce(e)?Ce(t)?Es(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Cs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?yu(e,t):-1}function lt(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function bu(e){Ce(e)?e.splice(0):e.clear()}const wn=new WeakMap;function F(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return wn.set(t,e),t}function Je(e){return wn.get(e)??(t=>n=>e(t,n))}function Hn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return wn.set(t,e),t}function Tn(e){return wn.get(e)??(t=>n=>r=>e(t,n,r))}function Su(e){let t=0,n="[";for(const r of e){if(t===0)n+=be(r);else if(t===100){n+="; ...";break}else n+="; "+be(r);t++}return n+"]"}function be(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 Su(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+be(s,t+1)).join(`
2
+ `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function vu(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=be(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>be(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 vu(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:rn(this,t)&&this.tag===t.tag?vs(this.fields,t.fields):!1}CompareTo(t){return this===t?0:rn(this,t)?this.tag===t.tag?Es(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Cu(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Eu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+be(n)).join(`
3
+ `)+" }"}function xu(e){const t=Object.values(e).map(n=>Oe(n));return Vt(t)}function ku(e,t){if(e===t)return!0;if(rn(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 Tu(e,t){if(e===t)return 0;if(rn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=he(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class pe{toJSON(){return Cu(this)}toString(){return Eu(this)}GetHashCode(){return xu(this)}Equals(t){return ku(this,t)}CompareTo(t){return Tu(this,t)}}class re{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class $u{constructor(t){this.message=t}}function Iu(e){return e instanceof $u||e instanceof Error}function Mu(e){return e instanceof Promise}function on(e){return Iu(e)||Mu(e)?e:new Error(String(e))}const yt=Symbol("numeric");function xs(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[yt])}function Pu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function jn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[yt]().multiply(t)}function Xt(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[yt]().toFixed(t)}function sn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[yt]().toPrecision(t)}function un(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[yt]().toExponential(t)}function ln(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[yt]().toHex()}class Ou{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class Se{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 ks(this)}Equals(t){return Un(this,t)}}function ie(e){return e.generics!=null?e.generics:[]}function ks(e){const t=sr(e.fullname),n=ie(e).map(ks);return Vt([t,...n])}function Un(e,t){return e.fullname===""?t.fullname===""&&Ln(Pt(e),Pt(t),([n,r],[o,s])=>n===o&&Un(r,s)):e.fullname===t.fullname&&Ln(ie(e),ie(t),Un)}function ir(e,t,n,r){return new Se(e,t,n,void 0,r)}function Br(...e){return new Se("",void 0,void 0,void 0,()=>e)}function Ts(e,t,n,r){const o=new Se(e,t,n,void 0,void 0,()=>{const s=n.prototype.cases();return r().map((i,u)=>new Ou(o,u,s[u],i))});return o}function Au(e){return new Se("Microsoft.FSharp.Collections.FSharpList`1",[e])}const $s=new Se("System.Object"),It=new Se("System.String"),Ru=new Se("System.Int32");function ct(e){if(Array.isArray(e))return e[0];if(e instanceof Se){const t=Lt(e);if(t!=null)return ct(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=Lt(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 Is(e){return Lt(e)!=null}function Lt(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ms(e){return e.generics!=null&&e.generics.length>0}function ur(e){return e.enumCases!=null&&e.enumCases.length>0}function Ps(e){return e.generics==null?e:new Se(e.fullname,e.generics.map(()=>$s))}function Os(e){var t;return(t=e.generics)==null?void 0:t[0]}function et(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 Nu(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 tt(e,t){const n=parseInt(t,10);return Nu(e,isNaN(n)?t:n)[1]}function As(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 Rs(e){if(lr(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Ns(e){return e instanceof Se?e.cases!=null:e instanceof U}function Fs(e){return e instanceof Se?e.fields!=null:e instanceof pe}function lr(e){return e.fullname.startsWith("System.Tuple")}function Fu(e,t){const r=As(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function Ds(e){return e.fields==null?[]:e.fields}function Du(e,t){return e[t[0]]}function Vu(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 Lu(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 Hu(e,t){return e}class ju{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(on(n))}});else try{e(t)}catch(n){t.onError(on(n))}}}function Uu(e,t){return De(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(on(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Bu(e){return De(t=>t.onSuccess(e))}class Gu{Bind(t,n){return Uu(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 Bu(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(on(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 Gu;class pt{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 pt?t.value:t)}CompareTo(t){return t==null?1:he(this.value,t instanceof pt?t.value:t)}}function y(e){if(e==null)throw new Error("Option has no value");return e instanceof pt?e.value:e}function ne(e){return e==null||e instanceof pt?new pt(e):e}function Bn(e,t){return e!=null?y(e):t}function zu(e,t){return e!=null?y(e):t()}function Wu(e,t){return t!=null?ne(e(y(t))):void 0}function qu(e){return new p(0,[e])}function Vs(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 de(e,t){return t.tag===0?qu(e(t.fields[0])):Vs(t.fields[0])}function Zu(e,t){return t.tag===0?e(t.fields[0]):Vs(t.fields[0])}function Ju(e){return new Ls(0,[e])}function Ku(e){return new Ls(1,[e])}class Ls extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Yu(e){return Ju(e)}function Xu(e){return Ku(e)}function $n(e){}const Qu=new ju;function el(e){return De(t=>{e({onSuccess:n=>t.onSuccess(Yu(n)),onError:n=>t.onSuccess(Xu(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function tl(e){return De(t=>e([t.onSuccess,t.onError,t.onCancel]))}function nl(e,t){return ol(e,t)}function rl(e,t){return nl(e,t)}function ol(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new ar;e({onSuccess:t||$n,onError:n||$n,onCancel:r||$n,cancelToken:o||Qu,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 Hs extends U{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class js extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Ht extends pe{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 rt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Us extends pe{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 cn(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 sl(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 il(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+dr(t)}function Bs(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 ul(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 cn(n,"first");case"T":case"t":return cn(n,"second");case"O":case"o":return il(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Bs(n,t,!0)}function ll(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?cn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?cn(e,"second"):e.toLocaleTimeString();case"O":case"o":return sl(e,n);default:throw new Error("Unrecognized Date print format")}else return Bs(e,t,n)}function gn(e,t,n){return e.offset!=null?ul(e,t):ll(e,t)}function hr(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function cl(){return hr(-621355968e5,0)}function Gs(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 al(e,t=!1){const[n,r]=Gs(e),o=r!=null?t&&r==="Z"?1:2:0;return hr(n.getTime(),o)}function fl(e,t){try{return t.contents=al(e),!0}catch{return!1}}function dl(e){return e.kind===1?e:hr(e.getTime(),1)}function hl(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function zs(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Gr(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 pl(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=hl(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=Gr(e,u),a=Gr.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 Ct=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,_l=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Ws(e,t){return Pu(e,t)<0}function je(e){return{input:e,cont:wl(e)}}function qs(e,t){return typeof t=="string"?e(t):t.cont(e)}function _t(e){return qs(t=>t,e)}function Zs(e){return qs(t=>{throw new Error(t)},e)}function ml(e,t,n,r,o){let s="";if(t=t||"",o=o||"",xs(e))switch(o.toLowerCase()!=="x"&&(Ws(e,0)?(e=jn(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=Xt(e,r);break;case"g":case"G":e=r!=null?sn(e,r):sn(e);break;case"e":case"E":e=r!=null?un(e,r):un(e);break;case"x":e=ln(e);break;case"X":e=ln(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=gn(e):e=be(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 Js(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+=ml(a,f,d,_,h),u.splice(0,1),c.splice(0,1)}return c.length===0?(i+=u[0],e(i)):Js(e,u,c,i,o)}}function wl(e){return t=>{Ct.lastIndex=0;const n=[],r=[];let o=0,s=Ct.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Ct.lastIndex,Ct.lastIndex-=1,s=Ct.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Js(t,n,r))}}function gl(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(_l,(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(xs(a))switch(u=u==null?null:parseInt(u,10),i){case"f":case"F":u=u??2,a=Xt(a,u);break;case"g":case"G":a=u!=null?sn(a,u):sn(a);break;case"e":case"E":a=u!=null?un(a,u):un(a);break;case"p":case"P":u=u??2,a=Xt(jn(a,100),u)+" %";break;case"d":case"D":a=u!=null?In(String(a),u,"0"):String(a);break;case"x":case"X":a=u!=null?In(ln(a),u,"0"):ln(a),i==="X"&&(a=a.toUpperCase());break;default:if(c){let f="";a=c.replace(/([0#,]+)(\.[0#]+)?/,(l,_,h)=>{Ws(a,0)&&(a=jn(a,-1),f="-"),h=h==null?"":h.substring(1),a=Xt(a,Math.max(h.length,0));let[d,m]=a.split(".");m||(m="");const w=_.replace(/,/g,"").replace(/^#+/,"").length;d=In(d,w,"0");const g=h.replace(/#+$/,"").length;if(g>m.length?m=bl(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=gn(a,c||i):a=be(a);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(a=Ot(String(a),Math.abs(s)," ",s<0)),a})}function yl(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 In(e,t,n){return Ot(e,t,n)}function bl(e,t,n){return Ot(e,t,n,!0)}function Sl(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,s=(r&2)===2;t=t||[],t=t.filter(f=>f).map(zs),t=t.length>0?t:["\\s"];const i=[],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 vl(e,...t){if(t.length===0)return e.trim();const n="["+zs(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const Ks="Collection was empty.";function Ys(e,t){return typeof e=="function"?new e(t):new Array(t)}function zr(e,t){return e>t?e:t}function yn(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function bt(e,t,n){const r=t.length|0,o=Ys(n,r);for(let s=0;s<=r-1;s++)o[s]=e(t[s]);return o}function Cl(e,t){const n=Ys(t,1);return n[0]=e,n}function El(e){return e.slice().reverse()}function xl(e,t){return t.find(e)}function kl(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:bt(o=>o,r,n)}function bn(e,t,n){return n.reduce(e,t)}function Xs(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class ue extends pe{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),_=he(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 $l(this)}[Symbol.iterator](){return _n(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return j(this)}}class Tl{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 $l(e){return new Tl(e)}function J(){return new ue(Ee(),void 0)}function jt(e,t){return new ue(e,t)}function pr(e){return e.tail==null}function Il(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 Qs(e){if(e.tail!=null)return e.head;throw new Error(Ks+"\\nParameter name: list")}function Ae(e){const t=e.tail;if(t!=null)return y(t);throw new Error(Ks+"\\nParameter name: list")}function K(){return J()}function ce(e,t){return jt(e,t)}function xe(e){return jt(e,J())}function $(e){return pr(e)}function C(e){return Qs(e)}function T(e){return Ae(e)}function Ut(e){const t=Il(e)|0,n=yn(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,u=s;if(!pr(u)){n[i]=Qs(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)=>jt(n,t),J(),e)}function Ml(e,t,n){return Xs(e,Ut(t),n)}function an(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=jt(e[r],n);return n}function ae(e){return N(e,J())}function Pl(e){let t,n;if(Ce(e))return ae(e);if(e instanceof ue)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 ue(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)=>jt(r,n),t,_r(e))}function st(e,t){const n=J(),r=ke((s,i)=>{const u=new ue(e(i),void 0);return s.tail=u,u},n,t),o=J();return r.tail=o,Ae(n)}function Ol(e,t){const n=J(),r=ke((s,i)=>{if(e(i)){const u=new ue(i,void 0);return s.tail=u,u}else return s},n,t),o=J();return r.tail=o,Ae(n)}function Al(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 ue(a,void 0),_.tail=f,f),h]:[_,(l=new ue(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 Rl(e,t){const n=J(),r=ke((s,i)=>{const u=e(i);if(u==null)return s;{const c=new ue(y(u),void 0);return s.tail=c,c}},n,t),o=J();return r.tail=o,Ae(n)}function Nl(e,t){return ke((n,r)=>n&&e(r),!0,t)}function Fl(e){throw new Error(e)}const Dl="Enumeration already finished.",Vl="Enumeration has not started. Call MoveNext.",ei="The input sequence has an insufficient number of elements.",Ll="Reset is not supported on this enumerator.";function Hl(){throw new Error(Ll)}function wr(){throw new Error(Vl)}function Gn(){throw new Error(Dl)}class jl{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+be(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 _n(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Ul(e){return new jl(e)}class Bl{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"(){Hl()}Dispose(){this.dispose()}}function Sn(e,t,n){return new Bl(e,t,n)}function Gl(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 Sn(()=>(r?o&&Gn():wr(),s!=null?y(s):Gn()),()=>{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 zl(e,t){return Sn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{R(t)}finally{e()}})}function ti(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 Sn(()=>(r||wr(),o!=null?y(o):Gn()),()=>{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 Wl(e,t){let n,r=t;return Sn(()=>{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 ql(e,t){t==null&&Fl(e)}function St(e){return Ul(e)}function Be(e){return ql("source",e),j(e)}function z(e){return St(()=>j(e()))}function ni(e){return St(()=>Gl(e))}function Zl(e,t){return St(()=>Wl(e,t))}function W(e){return z(()=>Cl(e))}function Jl(e){return e instanceof ue?Ut(e):Array.from(e)}function at(e){return Ce(e)?ae(e):e instanceof ue?e:Pl(e)}function Kl(e,t,n){return St(()=>ti(e,t,n))}function ri(e,t,n){return St(()=>{let r=-1;return ti(e,o=>(r=r+1|0,t(r,o)),n)})}function Le(e,t){return ni([e,t])}function Yl(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 nt(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 vn(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 oi(e,t){vn((n,r)=>{e(r)},void 0,t)}function fe(e,t){return Kl(()=>Be(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ne(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{R(n)})}function Xl(e,t){return ri(()=>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 Ql(e){return z(()=>El(Jl(e)))}function ec(e,t){return St(()=>{const n=Be(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(ei+"\\nParameter name: source");return zl(()=>{},n)}catch(r){throw R(n),r}})}function tc(e,t){return ri(()=>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(ei+"\\nParameter name: source")}else return},n=>{R(n)})}function nc(e,t){return z(()=>ni(fe(e,t)))}class si{constructor(t,n){this.k=t,this.v=n}}function At(e,t){return new si(e,t)}function H(e){return e.k}function Q(e){return e.v}class L extends si{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 ii(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof L){const s=o;e=ii(n+1,q(s)),t=Z(s);continue e}else return n+1|0}else return n|0}}function rc(e){return ii(0,e)}function _e(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 Wr(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 _e(_e(e,t,n,q(x)),H(x),Q(x),_e(Z(x),H(g),Q(g),Z(g)))}else throw new Error("internal error: Map.rebalance")}else return _e(_e(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 _e(_e(q(g),H(g),Q(g),q(x)),H(x),Q(x),_e(Z(x),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return _e(q(g),H(g),Q(g),_e(Z(g),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return _e(e,t,n,r)}function mt(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?Wr(mt(e,t,n,q(i)),H(i),Q(i),Z(i)):s===0?Mt(t,n,q(i),Z(i),Ve(i)):Wr(q(i),H(i),Q(i),mt(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 ui(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 oc(e,t,n){const r=ui(e,t,n);if(r==null)throw new Error;return y(r)}function sc(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 li(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof L){const s=o;li(n,q(s)),n(H(s),Q(s)),e=n,t=Z(s);continue e}else n(H(o),Q(o))}break}}function ic(e,t){li(e,t)}function zn(e,t){if(t!=null){const n=y(t);if(n instanceof L){const r=n,o=zn(e,q(r)),s=e(H(r),Q(r)),i=zn(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 uc(e,t){return zn(e,t)}function lc(e,t,n){let r=n;ic((o,s)=>{t[r]=[o,s],r=r+1|0},e)}function cc(e,t){return ke((n,r)=>mt(e,r[0],r[1],n),void 0,t)}function ac(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=mt(r,i[0],i[1],o),n=s;continue e}else return o}}function fc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=mt(e,o[0],o[1],n)}return n}function ci(e,t){if(Ce(t))return fc(e,t);if(t instanceof ue)return cc(e,t);{const n=j(t);try{return ac(e,void 0,n)}finally{R(n)}}}class dc extends pe{constructor(t,n){super(),this.stack=t,this.started=n}}function ai(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 qr(e){return new dc(ai(xe(e)),!1)}function hc(){throw new Error("enumeration not started")}function pc(){throw new Error("enumeration already finished")}function Zr(e){if(e.started){const t=e.stack;if($(t))return pc();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 hc()}function _c(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=ai(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 Jr(e){let t=qr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Zr(t)},"System.Collections.IEnumerator.get_Current"(){return Zr(t)},"System.Collections.IEnumerator.MoveNext"(){return _c(t)},"System.Collections.IEnumerator.Reset"(){t=qr(e)},Dispose(){}}}class fn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return bc(this)|0}Equals(t){const n=this;if(t instanceof fn){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("; ",fe(n=>gl("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Jr(this.tree)}[Symbol.iterator](){return _n(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Jr(this.tree)}CompareTo(t){const n=this;if(t instanceof fn)return Yl((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:he(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 Yr(n,t[0])&&ee(Kr(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){lc(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Mn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Mn(this)|0}get size(){return Mn(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return fe(n=>[n[0],n[1]],this)}get(t){return Kr(this,t)}has(t){return Yr(this,t)}keys(){return fe(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return fe(n=>n[1],this)}forEach(t,n){const r=this;oi(o=>{t(o[1],o[0],r)},r)}}function Bt(e,t){return new fn(e,t)}function mc(e){return Bt(e,void 0)}function wc(e,t,n){return Bt(e.comparer,mt(e.comparer,t,n,e.tree))}function Kr(e,t){return oc(e.comparer,t,e.tree)}function gc(e,t){return Bt(e.comparer,uc(t,e.tree))}function Mn(e){return rc(e.tree)}function Yr(e,t){return sc(e.comparer,t,e.tree)}function yc(e,t){return ui(e.comparer,t,e.tree)}function bc(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 fi(e,t,n){return wc(n,e,t)}function di(e,t){return yc(t,e)}function hi(e,t){return gc(t,e)}function Sc(e,t){return Bt(t,ci(t,e))}function vc(e,t){return Bt(t,ci(t,e))}function gr(e){return mc(e)}function Cc(e){return new Hs("Content-Type",e)}function pi(e){return new Hs("Authorization",e)}const We=new Ht("",new fr(0,[]),K(),!1,void 0,void 0,void 0,new js(0,[]));new Us(0,"","","",gr({Compare:mn}),new rt(0,[""]));function Xr(e,t){return yl(t)?[t]:Sl(t,[e],void 0,0)}function Ec(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 _i(e){return new Ht(e,We.method,We.headers,We.withCredentials,We.overridenMimeType,We.overridenResponseType,We.timeout,We.content)}function mi(e,t){return new Ht(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Wn(e,t){return new Ht(t.url,t.method,mr(t.headers,xe(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function xc(e,t){return new Ht(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function wi(e){return tl(t=>{const n=new XMLHttpRequest;n.open(Ec(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 rt(0,[n.responseText]):h==="text"?new rt(0,[n.responseText]):h==="arraybuffer"?new rt(2,[n.response]):h==="blob"?new rt(1,[n.response]):new rt(3,[n.response])),d=vc(kl(m=>{const w=ae(Xr(":",m));if(!$(w))return[C(w).toLocaleLowerCase(),Ue(":",T(w)).trim()]},Xr(`\r
4
+ `,n.getAllResponseHeaders())),{Compare:mn}),new Us(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 Pn(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 kc(e,t){switch(t){case Ke.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Ke.SnakeCase:return Pn(e,"_");case Ke.SnakeCaseAllCaps:return Pn(e,"_").toUpperCase();case Ke.KebabCase:return Pn(e,"-");case Ke.None:default:return e}}function Tc(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=kc(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 Cn extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Qr(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function gi(e,t){switch(e.tag){case 2:return pl(Qr(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Qr(t)}}const $c=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,eo=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Ic=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Mc(e){function t(r){return r.replace(eo,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if($c.test(n))return vl(n,"{","}","(",")");if(eo.test(n))return t(n);if(Ic.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 Pc(e,t){try{return t.contents=Mc(e),!0}catch{return!1}}var qn;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(qn||(qn={}));function Oc(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function to(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 Ac(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 Rc(e,t){if(t&qn.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 Nc(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||Rc(s,t),!Ac(n).test(i))return Oc(o,n)}return null}function Fc(e,t,n,r,o){const s=Nc(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[u,c]=to(!0,r);!n&&s.radix!==10&&i>=u&&i<=c&&(i=i<<32-r>>32-r);const[a,f]=to(n,r);if(i>=a&&i<=f)return i}}throw new Error("Input string was not in a correct format.")}function vt(e,t,n,r,o){try{return o.contents=Fc(e,t,n,r),!0}catch{return!1}}function yi(e,t){Dc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Dc(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function Vc(){return yi(-621355968e5,0)}function Lc(e){const[t,n]=Gs(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return yi(t.getTime(),r)}function Hc(e,t){try{return t.contents=Lc(e),!0}catch{return!1}}function Gt(e){return e<0?Math.ceil(e):Math.floor(e)}function no(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return jc(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 jc(e){return Number(BigInt(e)/10000n)}function Uc(e){return Gt(e/864e5)}function Bc(e){return Gt(e%864e5/36e5)}function Gc(e){return Gt(e%36e5/6e4)}function zc(e){return Gt(e%6e4/1e3)}function Wc(e){return Gt(e%1e3)}function qc(e,t="c",n){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const r=Math.abs(Uc(e)),o=Math.abs(Bc(e)),s=Math.abs(Gc(e)),i=Math.abs(zc(e)),u=Math.abs(Wc(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):"."+du(u,3,7)}`}function Zc(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 no(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*no(o,c,a,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Jc(e,t){try{return t.contents=Zc(e),!0}catch{return!1}}class bi{constructor(t){this.k=t}}function oe(e){return new bi(e)}function E(e){return e.k}class I extends bi{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function se(e,t,n,r){return new I(e,t,n,r)}function O(e){return e.left}function M(e){return e.right}function it(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=O(s),t=Si(M(s),r+1);continue e}else return r+1|0}else return r|0}}function Kc(e){return Si(e,0)}function me(e,t,n){let r,o,s;const i=e;if(i!=null){const f=y(i);s=f instanceof I?(r=f,it(r)):1}else s=0;let u;const c=n;if(c!=null){const f=y(c);u=f instanceof I?(o=f,it(o)):1}else u=0;const a=(s<u?u:s)|0;return a===0?oe(t):se(t,e,n,a+1)}function ro(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,it(r)):1}else l=0;let h;const d=n;if(d!=null){const m=y(d);h=m instanceof I?(o=m,it(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,it(u)):1):0)>l+1){const g=y(O(w));if(g instanceof I){const v=g;return me(me(e,t,O(v)),E(v),me(M(v),E(w),M(w)))}else throw new Error("internal error: Set.rebalance")}else return me(me(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,it(f)):1):0)>h+1){const g=y(M(w));if(g instanceof I){const v=g;return me(me(O(w),E(w),O(v)),E(v),me(M(v),t,n))}else throw new Error("internal error: Set.rebalance")}else return me(O(w),E(w),me(M(w),t,n))}else throw new Error("internal error: Set.rebalance")}else return me(e,t,n)}function wt(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?ro(wt(e,t,O(s)),E(s),M(s)):o===0?n:ro(O(s),E(s),wt(e,t,M(s)))}else{const s=e.Compare(t,E(r))|0;return s<0?se(t,void 0,n,2):s===0?n:se(t,n,void 0,2)}}else return oe(t)}function vi(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 Ci(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof I){const s=o;Ci(n,O(s)),n(E(s)),e=n,t=M(s);continue e}else n(E(o))}break}}class Yc extends pe{constructor(t,n){super(),this.stack=t,this.started=n}}function Ei(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),oe(E(s)),M(s)],r);continue e}else return t}else{e=r;continue e}}}}function oo(e){return new Yc(Ei(xe(e)),!1)}function Xc(){throw new Error("Enumeration not started")}function Qc(){throw new Error("Enumeration already started")}function so(e){if(e.started){const t=e.stack;if($(t))return Qc();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 Xc()}function ea(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=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 io(e){let t=oo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return so(t)},"System.Collections.IEnumerator.get_Current"(){return so(t)},"System.Collections.IEnumerator.MoveNext"(){return ea(t)},"System.Collections.IEnumerator.Reset"(){t=oo(e)},Dispose(){}}}function ta(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=ce(M(c),T(o)),n=ce(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),se(E(m),void 0,M(m),0)],l),n=s;continue e}else{e=r,t=N([void 0,oe(E(_))],l),n=s;continue e}case 1:if(d instanceof I){const m=d;e=r,t=o,n=N([O(m),se(E(m),void 0,M(m),0)],h);continue e}else{e=r,t=o,n=N([void 0,oe(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=ce(M(c),T(o)),n=ce(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),se(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,oe(E(l))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=N([O(d),se(E(d),void 0,M(d),0)],_);continue e}else{e=r,t=o,n=N([void 0,oe(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=ce(void 0,T(o)),n=ce(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),se(E(d),void 0,M(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,oe(E(l))],f),n=s;continue e}case 1:if(h instanceof I){const d=h;e=r,t=o,n=N([O(d),se(E(d),void 0,M(d),0)],_);continue e}else{e=r,t=o,n=N([void 0,oe(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),se(E(l),void 0,M(l),0)],u),n=s;continue e}else{e=r,t=N([void 0,oe(E(c))],u),n=s;continue e}case 1:if(f instanceof I){const l=f;e=r,t=o,n=N([O(l),se(E(l),void 0,M(l),0)],a);continue e}else{e=r,t=o,n=N([void 0,oe(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),se(E(l),void 0,M(l),0)],u),n=s;continue e}else{e=r,t=N([void 0,oe(E(c))],u),n=s;continue e}case 1:if(f instanceof I){const l=f;e=r,t=o,n=N([O(l),se(E(l),void 0,M(l),0)],a);continue e}else{e=r,t=o,n=N([void 0,oe(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 uo(e,t,n){return t==null?n==null?0:-1:n==null?1:ta(e,xe(t),xe(n))|0}function na(e,t,n){let r=n;Ci(o=>{t[r]=o,r=r+1|0},e)}function ra(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=wt(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function oa(e,t){return bn((n,r)=>wt(e,r,n),void 0,t)}function sa(e,t){return ke((n,r)=>wt(e,r,n),void 0,t)}function xi(e,t){if(Ce(t))return oa(e,t);if(t instanceof ue)return sa(e,t);{const n=j(t);try{return ra(e,void 0,n)}finally{R(n)}}}class yr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return la(this)|0}Equals(t){let n;const r=this;return t instanceof yr&&(n=t,uo(ft(r),we(r),we(n))===0)}toString(){return"set ["+Ue("; ",fe(n=>be(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return uo(ft(n),we(n),we(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 vi(ft(n),t,we(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){na(we(this),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}GetEnumerator(){return io(we(this))}[Symbol.iterator](){return _n(j(this))}"System.Collections.IEnumerable.GetEnumerator"(){return io(we(this))}get size(){return On(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 ki(this,t)}keys(){return fe(n=>n,this)}values(){return fe(n=>n,this)}entries(){return fe(n=>[n,n],this)}forEach(t,n){const r=this;oi(o=>{t(o,o,r)},r)}}function En(e,t){return new yr(e,t)}function ft(e){return e.comparer}function we(e){return e.tree}function ia(e){return En(e,void 0)}function ua(e,t){return En(ft(e),wt(ft(e),t,we(e)))}function On(e){return Kc(we(e))}function ki(e,t){return vi(ft(e),t,we(e))}function la(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 Zn(e,t){return ki(t,e)}function ca(e,t){return ua(t,e)}function aa(e){return ia(e)}function fa(e,t){return En(t,xi(t,e))}function da(e,t){return En(t,xi(t,e))}function Et(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
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 ha(e,t){const n=t.tag===2?Et(t.fields[0],t.fields[1],!0):t.tag===1?Et(t.fields[0],t.fields[1],!1)+`
7
+ Reason: `+t.fields[2]:t.tag===3?Et(t.fields[0],t.fields[1],!0):t.tag===4?Et(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
8
+ `+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
9
+
10
+ `+Ue(`
11
+
12
+ `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Et(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Ti(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new p(1,[ha(o[0],o[1])])}else return new p(0,[r.fields[0]])}function pa(e,t){try{return Ti("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new p(1,["Given an invalid JSON: "+n.message]);throw n}}function $i(e,t){return typeof t=="string"?new p(0,[t]):new p(1,[[e,new b(0,["a string",t])]])}function _a(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 ma(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Pc(t,new re(()=>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 wa(e,t){return t==null?new p(0,[void 0]):new p(1,[[e,new b(0,["null",t])]])}const lo=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=[vt(r,511,!1,8,new re(()=>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])]])},co=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=[vt(r,511,!0,8,new re(()=>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])]])},ao=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=[vt(r,511,!1,16,new re(()=>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])]])},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<=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=[vt(r,511,!0,16,new re(()=>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])]])},ho=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=[vt(r,511,!1,32,new re(()=>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])]])},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<=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=[vt(r,511,!0,32,new re(()=>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 ga(e,t){return typeof t=="boolean"?new p(0,[t]):new p(1,[[e,new b(0,["a boolean",t])]])}function ya(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new b(0,["a float",t])]])}function ba(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new b(0,["a float32",t])]])}function Sa(e,t){if(typeof t=="string"){let n,r=cl();return n=[fl(t,new re(()=>r,o=>{r=o})),r],n[0]?new p(0,[dl(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 va(e,t){if(typeof t=="string"){let n,r=Vc();return n=[Hc(t,new re(()=>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 Ca(e,t){if(typeof t=="string"){let n,r=0;return n=[Jc(t,new re(()=>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 _o(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 Ea(e,t,n){return n==null?new p(0,[void 0]):de(ne,e(t,n))}function mo(e,t,n){if(Array.isArray(n)){let r=-1;return de(_r,bn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+Ye(r)+"]",s);return i.tag===0?new p(0,[ce(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 xa(e,t,n){if(Array.isArray(n)){let r=-1;return de(Ql,bn((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 wo(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return bn((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,[yn(new Array(o.length),0,o.length,null)]),o)}else return new p(1,[[t,new b(0,["an array",n])]])}function ka(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=Ti(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 Ta(e,t,n){return new p(0,[e])}function go(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 $a(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 Ia(e,t){let n;const r=e;return n=o=>s=>_o(0,r,o,s),o=>s=>go(Hn(i=>{let u;const c=t;return u=a=>f=>_o(1,c,a,f),a=>f=>go((l,_,h)=>Ta([i,l]),F(u),a,f)}),F(n),o,s)}function Ma(e){return Sc(e,{Compare:he})}function Pa(e){return da(e,{Compare:he})}function Oa(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Xs((r,o)=>{const s=r[0];return o.tag===0?de(i=>ce(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 Aa(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?vn((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,[ce([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 Ii(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,_t(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=_t(je("%s[%i]"))(n)(u),f=t[u-e],l=r[u];i=de(_=>ce(_,c),f(a)(l))}return de(_r,i)}}function yo(e,t,n,r,o,s){const i=xl(u=>ct(u)===r,As(n));if(i!=null){const u=i,c=bt(a=>ge(e,t,!1,a[1]),Ds(u));return de(a=>Vu(u,Ut(a)),c.length===0&&s.length<=1?new p(0,[K()]):Ii(1,c,o,s))}else return new p(1,[[o,new b(6,["Cannot find case "+r+" in "+A(n)])]])}function bo(e,t,n,r){let o;const s=new re(Ee());let i;const u=A(r);i=u===""?e:fi(u,s,e);let c;if(Fs(r)){const a=bt(f=>[gi(t,ct(f)),ge(i,t,!1,f[1])],Pt(r));c=f=>l=>de(_=>Lu(r,Ut(_)),Oa(a,f,l))}else if(Ns(r))c=a=>f=>{if(typeof f=="string")return yo(i,t,r,f,a,[]);if(Array.isArray(f)){const l=f;return Zu(_=>yo(i,t,r,_,a,l),$i(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),_t(je(`Cannot generate auto decoder for %s. Please pass an extra decoder.
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 ge(e,t,n,r){let o,s,i,u;const c=A(r),a=di(c,e);if(a==null)if(Is(r)){const f=ge(e,t,!1,Lt(r));return l=>_=>wo(F(f),l,_)}else if(ur(r))switch(A(Os(r))){case"System.SByte":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]|0;return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(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=co(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(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=ao(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0]|0;return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(h,hu(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=fo(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(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=ho(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0]|0;return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(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=po(d)(m);if(w.tag===1)return new p(1,[w.fields[0]]);{const g=w.fields[0];return nt(g,et(h),{Equals:(v,x)=>v===x,GetHashCode:Te})?new p(0,[tt(h,g.toString())]):new p(1,[[d,new b(1,[A(h),m,"Unkown value provided for the enum"])]])}};default:{const l=A(r),_=Zs(je(`Cannot generate auto decoder for %s.
15
+ Thoth.Json.Net only support the following enum types:
16
+ - sbyte
17
+ - byte
18
+ - int16
19
+ - uint16
20
+ - int
21
+ - uint32
22
+ If you can't use one of these types, please pass an extra decoder.
23
+ `))(l);return h=>_(h)}}else if(Ms(r))if(lr(r)){const f=bt(l=>ge(e,t,!1,l),Rs(r));return l=>_=>Array.isArray(_)?de(h=>Hu(Ut(h)),Ii(0,f,l,_)):new p(1,[[l,new b(0,["an array",_])]])}else switch(A(Ps(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=ge(e,t,!0,ie(r)[0]),l=>_=>Ea(F(o),l,_);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=ge(e,t,!1,ie(r)[0]),l=>_=>mo(F(s),l,_);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=ge(e,t,!1,ie(r)[0]),l=>_=>xa(F(i),l,_);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const l=ge(e,t,!1,ie(r)[0]),_=ge(e,t,!1,ie(r)[1]);let h;const d=ae([m=>w=>Aa(F(l),F(_),m,w),(u=Ia(F(l),F(_)),m=>w=>mo(F(u),m,w))]);return h=m=>w=>ka(d,m,w),m=>w=>$a(Ma,F(h),m,w)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const l=ge(e,t,!1,ie(r)[0]);return _=>h=>{const d=wo(F(l),_,h);return d.tag===0?new p(0,[Pa(d.fields[0])]):new p(1,[d.fields[0]])}}default:return bo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>l=>ga(f,l);case"Microsoft.FSharp.Core.Unit":return f=>l=>wa(f,l);case"System.String":return f=>l=>$i(f,l);case"System.Char":return f=>l=>_a(f,l);case"System.SByte":return lo;case"System.Byte":return co;case"System.Int16":return ao;case"System.UInt16":return fo;case"System.Int32":return ho;case"System.UInt32":return po;case"System.Double":return f=>l=>ya(f,l);case"System.Single":return f=>l=>ba(f,l);case"System.DateTime":return f=>l=>Sa(f,l);case"System.DateTimeOffset":return f=>l=>va(f,l);case"System.TimeSpan":return f=>l=>Ca(f,l);case"System.Guid":return f=>l=>ma(f,l);case"System.Object":return f=>l=>new p(0,[l]);default:return bo(e,t,n,r)}else{const f=a;return l=>_=>f.contents(l)(_)}}function Ra(e){return e!=null?hi((t,n)=>new re(n[1]),e.Coders):gr({Compare:mn})}function Na(e,t,n){const r=Bn(t,new Cn(0,[]));return ge(Ra(n),r,!1,e)}function Fa(e,t,n,r){const o=he(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=he(i,t)|0;return s&&u<=0||!s&&u>=0?[i,r(i,e)]:void 0}}function Da(e,t,n,r,o){const s=Fa(t,n,r,o);return z(()=>Zl(s,e))}function Va(e,t,n){return Da(e,t,n,0,(r,o)=>r+o)}class La extends pe{constructor(t,n){super(),this.PolicyId=t,this.VersionNumber=n|0}}function Ha(){return ir("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyIdentifierDto",[],La,()=>[["PolicyId",It],["VersionNumber",Ru]])}class Rt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Presented","Opened","Accepted"]}}function ja(){return Ts("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemStatusDto",[],Rt,()=>[[],[],[]])}function So(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 Jn extends pe{constructor(t,n){super(),this.Policy=t,this.Status=n}}function Ua(){return ir("WorkplacePolicies.Api.Shared.BackendApiModels.PolicyReviewItemDto",[],Jn,()=>[["Policy",Br(["Description",It],["Identifier",Ha()],["Name",It],["Version",Br(["AboutLink",It],["Path",Ga()])])],["Status",ja()]])}class Ba extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BlobStorage","Unused"]}}function Ga(){return Ts("WorkplacePolicies.Api.Shared.BackendApiModels.PathDto",[],Ba,()=>[[["Item",It]],[]])}class za extends pe{constructor(t){super(),this.PolicyReviewList=t}}function Wa(){return ir("WorkplacePolicies.Api.Shared.BackendApiModels.InitResponse",[],za,()=>[["PolicyReviewList",Au(Ua())]])}class qa extends pe{constructor(t){super(),this.Type=t}}class Wt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Present","Open","Accept","Complete"]}}function Za(e){return e}const Mi=Ee();function qt(e){return Array.from(e)}function Ja(e){return gn(e,"O")}function Ka(e){return qc(e)}function Ya(){return Ee()}function Xa(e){return gn(e,"O")}function Qa(e,t){return JSON.stringify(t,void 0,ne(e))}function ef(e){return t=>zu(Wu(e,t),()=>Mi)}function vo(e,t,n,r){let o;const s=new re(Ee());let i;const u=A(r);i=u===""?e:fi(u,s,e);let c;if(Fs(r)){const a=bt(f=>{const l=gi(t,ct(f)),_=$e(i,t,n,f[1]);return h=>d=>{const m=Du(h,f);return(!n||n&&m!=null)&&(d[l]=_(m)),d}},Pt(r));c=f=>vn((l,_)=>_(f)(l),{},a)}else if(Ns(r))c=a=>{const f=Fu(a,r),l=f[0],_=f[1],h=_.length|0;if(h===0)return ct(l);{const d=h|0,m=Ds(l),w=yn(new Array(d+1),0,d+1,null);w[0]=ct(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),_t(je(`Cannot generate auto encoder for %s. Please pass an extra encoder.
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=di(o,e);if(s==null)if(Is(r)){const i=$e(e,t,n,Lt(r));return u=>qt(fe(i,u))}else if(ur(r))switch(A(Os(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 Zs(je(`Cannot generate auto encoder for %s.
26
+ Thoth.Json.Net only support the following enum types:
27
+ - sbyte
28
+ - byte
29
+ - int16
30
+ - uint16
31
+ - int
32
+ - uint32
33
+
34
+ If you can't use one of these types, please pass an extra encoder.
35
+
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(Ms(r))if(lr(r)){const i=bt(u=>$e(e,t,n,u),Rs(r));return u=>qt(Xl((c,a)=>i[c](a),u))}else{const i=A(Ps(r));if(i==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const u=new fu(()=>ef($e(e,t,n,ie(r)[0])));return c=>c==null?Mi: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,ie(r)[0]);return c=>qt(fe(u,c))}else if(i==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const u=ie(r)[0],c=$e(e,t,n,ie(r)[1]);if(A(u)==="System.String"||A(u)==="System.Guid")return a=>vn((f,l)=>{const _=l;return f[_[0]]=c(_[1]),f},{},a);{let a;return a=$e(e,t,n,u),l=>qt(fe(_=>{const h=_;return[a(h[0]),c(h[1])]},l))}}else return vo(e,t,n,r)}else switch(o){case"System.Boolean":return i=>i;case"Microsoft.FSharp.Core.Unit":return Ya;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 Xa;case"System.DateTimeOffset":return Ja;case"System.TimeSpan":return Ka;case"System.Guid":return Za;case"System.Object":return i=>i;default:return vo(e,t,n,r)}else{const i=s;return u=>i.contents(u)}}function tf(e){return e!=null?hi((t,n)=>new re(n[0]),e.Coders):gr({Compare:mn})}function nf(e,t,n,r){const o=Bn(t,new Cn(0,[])),s=Bn(r,!0);return $e(tf(n),o,s,e)}class rf{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/workplace-policies/backend`}}function of(e,t){return new rf(e,t)}function sf(e){return G.Delay(()=>{let t,n;const r=wi((t=mi(new fr(0,[]),_i(`${e.baseUrl}/init`)),Wn(pi(`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=pa(F(Na(Wa(),new Cn(1,[]),void 0)),i.responseText);return G.Return(u)}else return G.Return(new p(1,["Init request error"]))}})})}function Zt(e,t){return G.Delay(()=>{let n,r,o;const s=new qa(t);let i;const u=wi((n=(r=(o=mi(new fr(1,[]),_i(`${e.baseUrl}/command`)),Wn(pi(`Bearer ${e.accessToken}`),o)),xc(new js(1,[Qa(0,nf($s,new Cn(1,[]),void 0,void 0)(s))]),r)),Wn(Cc("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 uf(){return K()}function br(e){return Ue("/",e)}function lf(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+br(t),n])}function Pi(e,t,n){try{R(n)}catch(r){e(["Error stopping subscription: "+br(t),r])}}function cf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+br(n),o]);return}}function af(e,t){an(n=>{Pi(e,n[0],n[1])},t)}function Co(e,t,n,r,o,s){return an(i=>{lf(e,i)},n),an(i=>{Pi(e,i[0],i[1])},r),mr(o,Rl(i=>cf(e,t,i[0],i[1]),s))}function ff(){return[K(),aa({Compare:he}),K()]}function df(e,t,n,r,o){return Zn(e,r)?[ce(e,n),r,o]:[n,ca(e,r),ce([e,t],o)]}function hf(e){return Ml((t,n)=>df(t[0],t[1],n[0],n[1],n[2]),e,ff())}const pf=K();function Eo(e,t){const n=fa(st(i=>i[0],e),{Compare:he}),r=hf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,K(),e,K()];{const i=Al(u=>Zn(u[0],o),e);return[s,i[1],i[0],Ol(u=>!Zn(u[0],n),r[2])]}}class _f{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function mf(e,t){t.Subscribe(new _f(e))}class wf{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 yf(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 gf extends wf{}function yf(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 bf{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 gf}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 Sf=bf;function vf(e,t){console.error(ne(e),t)}function Cf(e,t){let n,r=new Sf(e);r.AutoReset=!1,n=r,mf(t,n.Elapsed()),n.Enabled=!0,n.Start()}function xo(e,t,n){an(r=>{try{r(t)}catch(o){e(o)}},n)}function qe(){return K()}function xt(e,t,n,r){return xe(o=>{e(G.Delay(()=>G.Bind(el(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),G.Zero()})))})}function kt(e){Cf(1,t=>{rl(e)})}class dt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Ef{constructor(t){this.state=new dt(0,[yn(new Array(zr(t,10)),0,zr(t,10),null),0])}}function xf(e){return new Ef(e)}function ko(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 dt(0,[o,n]):e.state=new dt(1,[o,n,s]),ne(o[r])}else return}function kf(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 dt(1,[Tf(e,o,s),s.length,0]):e.state=new dt(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 dt(1,[o,s,r])}}function Tf(e,t,n){return Array.from(z(()=>Le(ec(t,n),z(()=>Le(tc(t,n),z(()=>nc(r=>W(Ee()),Va(0,1,n.length))))))))}class Sr extends pe{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 $f(e,t,n){return new Sr(e,t,r=>uf(),n,F(r=>{const o=Je(n)(r);return s=>{o(s)}}),r=>{vf(r[0],r[1])},[r=>!1,r=>{}])}function If(e,t){return new Sr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Mf(e){return e.init}function Pf(e,t,n,r,o,s,i){const u=Je(e)(i.init),c=Tn(t)(Je(i.update)),a=Tn(n)(Je(i.view)),f=Tn(r)(Je(i.setState));return new Sr(u,F(c),Je(o)(i.subscribe),F(a),F(f),i.onError,s(i.termination))}function Of(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),u=n.termination,c=xf(10);let a=!1,f=s,l=pf,_=!1;const h=w=>{_||(kf(c,w),a||(a=!0,m(),a=!1))},d=Je(e)(h),m=()=>{let w,g=ko(c);for(;!_&&g!=null;){const v=y(g);if(u[0](v))af(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),xo(Y=>{n.onError([_t(je("Error handling the message: %A"))(v),Y])},d,x[1]),f=B,l=(w=Eo(l,D),Co(n.onError,d,w[0],w[1],w[2],w[3])),g=ko(c)}}};a=!0,n.setState(s,d),xo(w=>{n.onError([_t(je("Error intitializing:")),w])},d,o[1]),l=(r=Eo(l,i),Co(n.onError,d,r[0],r[1],r[2],r[3])),m(),a=!1}function Af(e,t){Of(F(n=>n),e,t)}function Rf(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:{}},Ai={};const Nf=Rf(su);/**
38
+ * @license React
39
+ * use-sync-external-store-shim.production.min.js
40
+ *
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ */var gt=Nf;function Ff(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Df=typeof Object.is=="function"?Object.is:Ff,Vf=gt.useState,Lf=gt.useEffect,Hf=gt.useLayoutEffect,jf=gt.useDebugValue;function Uf(e,t){var n=t(),r=Vf({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return Hf(function(){o.value=n,o.getSnapshot=t,An(o)&&s({inst:o})},[e,n,t]),Lf(function(){return An(o)&&s({inst:o}),e(function(){An(o)&&s({inst:o})})},[e]),jf(n),n}function An(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Df(e,n)}catch{return!0}}function Bf(e,t){return t()}var Gf=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Bf:Uf;Ai.useSyncExternalStore=gt.useSyncExternalStore!==void 0?gt.useSyncExternalStore:Gf;Oi.exports=Ai;var zf=Oi.exports;class Wf{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];let i;const u=Mf(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 _=Vn(this.state[0]);return Af(this.arg,If((h,d)=>{const m=this.state;this.state=[h,d,!0,s],h!==m[0]&&f()},Pf((h,d)=>{const m=this.cmd;return this.cmd=qe(),[this.state[0],m]},(h,d,m)=>h(d)(this.state[0]),Hn(h=>h),Hn(h=>h),F(h=>h),h=>[d=>h[0](d)?!0:_&&l,d=>{const m=d;Vn(m)?R(m):h[1](d)}],o))),()=>{l=!0}}}}function To(e,t,n){return new Wf(e,t,n)}function qf(e){return e.state}function Zf(e){return e.subscribe}function Jf(e,t,n){return ee(e.arg,t)?!ee(e.dependencies,n):!0}function Kf(e,t,n){const r=Ft(()=>To(e,t,n)),o=r[0];Jf(o,t,n)&&r[1](To(e,t,n));const s=zf.useSyncExternalStore(Zf(o),()=>qf(o)),i=s[2],u=s[3],c=s[1];return hn(()=>{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)}bu(u)}},[i,u]),[s[0],c]}const Xe=Ss;class V extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function $o(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 Yf(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 Ri extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Main","ReviewPolicy"]}}class le extends pe{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 Xf(){return[new le(new Ri(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 Qf(e,t,n){switch(t.tag){case 1:return[new le(new Ri(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 le(n.Page,n.ReviewItemList,new V(2,[t.fields[1].fields[0]]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),qe()]:[new le(n.Page,n.ReviewItemList,new V(1,[]),n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),xt(r=>{kt(r)},r=>Zt(e,r),new Wt(0,[{PolicyIdentifierList:st(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 le(n.Page,$o(r=>de(o=>st(s=>ee(t.fields[0].Policy.Identifier,s.Policy.Identifier)?new Jn(s.Policy,So(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 le(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,new V(1,[]),n.AcceptPolicyStatus,n.ContinueStatus),xt(r=>{kt(r)},r=>Zt(e,r),new Wt(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 le(n.Page,$o(r=>de(o=>st(s=>ee(t.fields[0].Policy.Identifier,s.Policy.Identifier)?new Jn(s.Policy,So(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 le(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,new V(1,[]),n.ContinueStatus),xt(r=>{kt(r)},r=>Zt(e,r),new Wt(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 Yf(document.querySelector("apollo-workplace-policies-app")),[new le(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 le(n.Page,n.ReviewItemList,n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,new V(1,[])),xt(o=>{kt(o)},o=>Zt(e,o),new Wt(3,[{PolicyIdentifierList:st(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 le(n.Page,new V(2,[de(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 le(n.Page,new V(1,[]),n.PresentPoliciesStatus,n.OpenPolicyStatus,n.AcceptPolicyStatus,n.ContinueStatus),xt(r=>{kt(r)},()=>sf(e),void 0,r=>new Ne(0,[new Re(1,[r])]))]}}const ed=`*,: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
+ `,td=(()=>be(ed))(),nd=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"})),rd=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 Jt extends U{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Height","Width"]}}function Ni(e,t){return Xe.createElement(e,Tc(t,1))}function od(e){return Ni(nd,e)}function sd(e){return Ni(rd,e)}function id(e){let t,n,r;const o=ee(e.Status,new Rt(2,[]));return k("div",lt(ae([["key",e.Policy.Identifier.PolicyId],["className",Ue(" ",at(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=ae([k("div",{className:"text-base leading-6 font-semibold text-gray-900",children:e.Policy.Name}),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",lt(ae([["className",Ue(" ",at(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=at(z(()=>W(o?sd(ae([new Jt(0,[10]),new Jt(1,[14])])):od(ae([new Jt(0,[14]),new Jt(1,[8])]))))),["children",Xe.Children.toArray(Array.from(r))])])))],["children",Xe.Children.toArray(Array.from(t))])])))}function ud(e){return Nl(t=>ee(t.Status,new Rt(2,[])),e)}function ld(e,t){let n,r;return k("div",lt(ae([["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",lt(ae([["className","space-y-4 mt-8 sm:mt-10"],(r=at(z(()=>st(id,e))),["children",Xe.Children.toArray(Array.from(r))])]))),k("button",lt(at(z(()=>Le(W(["disabled",t.tag===1?!0:!ud(e)]),z(()=>Le(W(["type","button"]),z(()=>{let o;return Le(W((o=`
5
47
  mt-8 sm:mt-10 mx-auto shadow-sm w-full sm:w-[12.5rem] px-4 py-2
6
48
  rounded-md flex justify-center items-center text-white disabled:text-gray-400
7
49
  text-base font-semibold leading-6 cursor-pointer disabled:cursor-not-allowed
8
50
  disabled:border disabled:border-gray-300 bg-primary-base disabled:bg-gray-100
9
- `,["className",r]),["disabled",!0],["children","Continue"]])))],["children",U.Children.toArray(Array.from(e))])])))}function ze(){return(ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function An(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,o){if(n==null)return{};var i,a,l={},u=Object.keys(n);for(a=0;a<u.length;a++)o.indexOf(i=u[a])>=0||(l[i]=n[i]);return l}(e,["context","children"]);return Pe(t,r)}function jn(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=m(An,ze({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var o=[],i={},a=0,l=r.attributes,u=r.childNodes;for(a=l.length;a--;)l[a].name!=="slot"&&(i[l[a].name]=l[a].value,i[Ft(l[a].name)]=l[a].value);for(a=u.length;a--;){var d=t(u[a],null),_=u[a].slot;_?i[_]=m(st,{name:_},d):o[a]=d}var s=n?m(st,null,o):o;return m(n||r.nodeName.toLowerCase(),i,s)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?je:H)(this._vdom,this._root)}function Ft(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Pn(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[Ft(e)]=r,this._vdom=Pe(this._vdom,n),H(this._vdom,this._root)}}function Hn(){H(this._vdom=null,this._root)}function st(e,t){var r=this;return m("slot",ze({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(o){o.stopPropagation(),o.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function Tn(e,t,r,n){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=n&&n.shadow?i.attachShadow({mode:"open"}):i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=jn,o.prototype.attributeChangedCallback=Pn,o.prototype.disconnectedCallback=Hn,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=r,r.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(a){this._vdom?this.attributeChangedCallback(i,null,a):(this._props||(this._props={}),this._props[i]=a,this.connectedCallback());var l=typeof a;a!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(i,a)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function In(e,t){Tn(e,t,void 0,{shadow:!0})}function zn(e){let t;const r=[m("style",{children:[tn]}),m("div",G(N([["className","font-inter px-1 py-5 sm:py-16"],(t=[On()],["children",U.Children.toArray(Array.from(t))])])))];return m(j,{},...r)}In(e=>m(zn,e),"apollo-workplace-policies-app");
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 cd(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 Qn(t,n)}function ad(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=k(cd,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[Fi(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(Io,{name:f},a):o[i]=a}var l=r?k(Io,null,o):o;return k(r||n.nodeName.toLowerCase(),s,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Xn:He)(this._vdom,this._root)}function Fi(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function fd(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Fi(e)]=n,this._vdom=Qn(this._vdom,r),He(this._vdom,this._root)}}function dd(){He(this._vdom=null,this._root)}function Io(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 hd(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=ad,o.prototype.attributeChangedCallback=fd,o.prototype.disconnectedCallback=dd,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 pd(e,t){hd(e,t,void 0,{shadow:!0})}function _d(e){let t,n;const r=(t=of(e.backendUrl,e.accessToken),Kf(()=>$f(Xf,(s,i)=>Qf(t,s,i),(s,i)=>{}),void 0,void 0))[0],o=[k("style",{children:[td]}),k("div",lt(ae([["className","font-inter px-1 py-5 sm:py-16"],(n=at(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(ld(c,r.ContinueStatus))}})),["children",Xe.Children.toArray(Array.from(n))])])))];return k(ve,{},...o)}pd(e=>k(_d,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.148",
3
+ "version": "0.1.154",
4
4
  "description": "Flare Workplace Policies Components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [
@@ -13,7 +13,8 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "preact": "^10.16.0",
16
- "preact-custom-element": "^4.2.1"
16
+ "preact-custom-element": "^4.2.1",
17
+ "use-sync-external-store": "^1.2.0"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@preact/preset-vite": "^2.5.0",