@flarehr/apollo-import-workspace-app 0.34.0 → 0.35.0
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,17 +1,17 @@
|
|
|
1
|
-
var Co,ke,sf,vr,qu,af,nl,Il,rl,il,lf,fo={},uf=[],xp=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Us=Array.isArray;function Tn(e,t){for(var n in t)e[n]=t[n];return e}function cf(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function c(e,t,n){var r,i,o,s={};for(o in t)o=="key"?r=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?Co.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return so(e,s,r,i,null)}function so(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++sf,__i:-1,__u:0};return i==null&&ke.vnode!=null&&ke.vnode(o),o}function Ws(){return{current:null}}function Ye(e){return e.children}function cn(e,t){this.props=e,this.context=t}function pi(e,t){if(t==null)return e.__?pi(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?pi(e):null}function df(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 df(e)}}function ol(e){(!e.__d&&(e.__d=!0)&&vr.push(e)&&!ws.__r++||qu!==ke.debounceRendering)&&((qu=ke.debounceRendering)||af)(ws)}function ws(){var e,t,n,r,i,o,s,a;for(vr.sort(nl);e=vr.shift();)e.__d&&(t=vr.length,r=void 0,o=(i=(n=e).__v).__e,s=[],a=[],n.__P&&((r=Tn({},i)).__v=i.__v+1,ke.vnode&&ke.vnode(r),Dl(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,s,o??pi(i),!!(32&i.__u),a),r.__v=i.__v,r.__.__k[r.__i]=r,hf(s,r,a),r.__e!=o&&df(r)),vr.length>t&&vr.sort(nl));ws.__r=0}function ff(e,t,n,r,i,o,s,a,l,u,d){var f,p,m,h,b,v=r&&r.__k||uf,_=t.length;for(n.__d=l,Cp(n,t,v),l=n.__d,f=0;f<_;f++)(m=n.__k[f])!=null&&(p=m.__i===-1?fo:v[m.__i]||fo,m.__i=f,Dl(e,m,p,i,o,s,a,l,u,d),h=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&Rl(p.ref,null,m),d.push(m.ref,m.__c||h,m)),b==null&&h!=null&&(b=h),65536&m.__u||p.__k===m.__k?l=mf(m,l,e):typeof m.type=="function"&&m.__d!==void 0?l=m.__d:h&&(l=h.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=l,n.__e=b}function Cp(e,t,n){var r,i,o,s,a,l=t.length,u=n.length,d=u,f=0;for(e.__k=[],r=0;r<l;r++)(i=t[r])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=r+f,(i=e.__k[r]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?so(null,i,null,null,null):Us(i)?so(Ye,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?so(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(a=i.__i=Sp(i,n,s,d))!==-1&&(d--,(o=n[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&f--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a==s-1?f--:a==s+1?f++:(a>s?f--:f++,i.__u|=65536))):i=e.__k[r]=null;if(d)for(r=0;r<u;r++)(o=n[r])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=pi(o)),pf(o,o))}function mf(e,t,n){var r,i;if(typeof e.type=="function"){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=mf(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=pi(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Dn(e,t){return t=t||[],e==null||typeof e=="boolean"||(Us(e)?e.some(function(n){Dn(n,t)}):t.push(e)),t}function Sp(e,t,n,r){var i=e.key,o=e.type,s=n-1,a=n+1,l=t[n];if(l===null||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if((typeof o!="function"||o===Ye||i)&&r>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function Yu(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||xp.test(t)?n:n+"px"}function Yo(e,t,n,r,i){var o;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||Yu(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Yu(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Il,e.addEventListener(t,o?il:rl,o)):e.removeEventListener(t,o?il:rl,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Zu(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Il++;else if(t.t<n.u)return;return ke.event&&(t=ke.event(t)),"handleEvent"in n?n.handleEvent(t):n(t)}}}function Dl(e,t,n,r,i,o,s,a,l,u){var d,f,p,m,h,b,v,_,x,E,T,I,O,F,S,C,A=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),o=[a=t.__e=n.__e]),(d=ke.__b)&&d(t);e:if(typeof A=="function")try{if(_=t.props,x="prototype"in A&&A.prototype.render,E=(d=A.contextType)&&r[d.__c],T=d?E?E.props.value:d.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:(x?t.__c=f=new A(_,T):(t.__c=f=new cn(_,T),f.constructor=A,f.render=Ap),E&&E.sub(f),f.props=_,f.state||(f.state={}),f.context=T,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),x&&f.__s==null&&(f.__s=f.state),x&&A.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Tn({},f.__s)),Tn(f.__s,A.getDerivedStateFromProps(_,f.__s))),m=f.props,h=f.state,f.__v=t,p)x&&A.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),x&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(x&&A.getDerivedStateFromProps==null&&_!==m&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,T),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,T)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=_,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(N){N&&(N.__=t)}),I=0;I<f._sb.length;I++)f.__h.push(f._sb[I]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,T),x&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(m,h,b)})}if(f.context=T,f.props=_,f.__P=e,f.__e=!1,O=ke.__r,F=0,x){for(f.state=f.__s,f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[]}else do f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++F<25);f.state=f.__s,f.getChildContext!=null&&(r=Tn(Tn({},r),f.getChildContext())),x&&!p&&f.getSnapshotBeforeUpdate!=null&&(b=f.getSnapshotBeforeUpdate(m,h)),ff(e,Us(C=d!=null&&d.type===Ye&&d.key==null?d.props.children:d)?C:[C],t,n,r,i,o,s,a,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),v&&(f.__E=f.__=null)}catch(N){if(t.__v=null,l||o!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;ke.__e(N,t,n)}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ep(n.__e,t,n,r,i,o,s,l,u);(d=ke.diffed)&&d(t)}function hf(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Rl(n[r],n[++r],n[++r]);ke.__c&&ke.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){ke.__e(o,i.__v)}})}function Ep(e,t,n,r,i,o,s,a,l){var u,d,f,p,m,h,b,v=n.props,_=t.props,x=t.type;if(x==="svg"?i="http://www.w3.org/2000/svg":x==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(u=0;u<o.length;u++)if((m=o[u])&&"setAttribute"in m==!!x&&(x?m.localName===x:m.nodeType===3)){e=m,o[u]=null;break}}if(e==null){if(x===null)return document.createTextNode(_);e=document.createElementNS(i,x,_.is&&_),a&&(ke.__m&&ke.__m(t,o),a=!1),o=null}if(x===null)v===_||a&&e.data===_||(e.data=_);else{if(o=o&&Co.call(e.childNodes),v=n.props||fo,!a&&o!=null)for(v={},u=0;u<e.attributes.length;u++)v[(m=e.attributes[u]).name]=m.value;for(u in v)if(m=v[u],u!="children"){if(u=="dangerouslySetInnerHTML")f=m;else if(!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;Yo(e,u,null,m,i)}}for(u in _)m=_[u],u=="children"?p=m:u=="dangerouslySetInnerHTML"?d=m:u=="value"?h=m:u=="checked"?b=m:a&&typeof m!="function"||v[u]===m||Yo(e,u,m,v[u],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),ff(e,Us(p)?p:[p],t,n,r,x==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:n.__k&&pi(n,0),a,l),o!=null)for(u=o.length;u--;)cf(o[u]);a||(u="value",x==="progress"&&h==null?e.removeAttribute("value"):h!==void 0&&(h!==e[u]||x==="progress"&&!h||x==="option"&&h!==v[u])&&Yo(e,u,h,v[u],i),u="checked",b!==void 0&&b!==e[u]&&Yo(e,u,b,v[u],i))}return e}function Rl(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(i){ke.__e(i,n)}}function pf(e,t,n){var r,i;if(ke.unmount&&ke.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Rl(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){ke.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&pf(r[i],t,n||typeof e.type!="function");n||cf(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ap(e,t,n){return this.constructor(e,n)}function er(e,t,n){var r,i,o,s;ke.__&&ke.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],s=[],Dl(t,e=(!r&&n||t).__k=c(Ye,null,[e]),i||fo,fo,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?Co.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,s),hf(o,e,s)}function Ol(e,t){er(e,t,Ol)}function Fl(e,t,n){var r,i,o,s,a=Tn({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?Co.call(arguments,2):n),so(e.type,a,r||e.key,i||e.ref,null)}function lt(e,t){var n={__c:t="__cC"+lf++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,o;return this.getChildContext||(i=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.forEach(function(a){a.__e=!0,ol(a)})},this.sub=function(s){i.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.delete(s),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Co=uf.slice,ke={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},sf=0,cn.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Tn({},this.state),typeof e=="function"&&(e=e(Tn({},n),this.props)),e&&Tn(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ol(this))},cn.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ol(this))},cn.prototype.render=Ye,vr=[],af=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,nl=function(e,t){return e.__v.__b-t.__v.__b},ws.__r=0,Il=0,rl=Zu(!1),il=Zu(!0),lf=0;function Pl(){return(Pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var kp=["context","children"];function Np(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,i){if(r==null)return{};var o,s,a={},l=Object.keys(r);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(a[o]=r[o]);return a}(e,kp);return Fl(t,n)}function Tp(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=c(Np,Pl({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var i=[],o={},s=0,a=n.attributes,l=n.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[gf(a[s].name)]=a[s].value);for(s=l.length;s--;){var u=t(l[s],null),d=l[s].slot;d?o[d]=c(Ku,{name:d},u):i[s]=u}var f=r?c(Ku,null,i):i;return c(r||n.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ol:er)(this._vdom,this._root)}function gf(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function $p(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[gf(e)]=n,this._vdom=Fl(this._vdom,r),er(this._vdom,this._root)}}function Mp(){er(this._vdom=null,this._root)}function Ku(e,t){var n=this;return c("slot",Pl({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(i){i.stopPropagation(),i.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function Ip(e,t,n,r){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=Tp,i.prototype.attributeChangedCallback=$p,i.prototype.disconnectedCallback=Mp,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,n.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}function Ll(e,t){Ip(e,t)}var Fn,Ge,Ta,Xu,gi=0,wf=[],it=ke,Ju=it.__b,Qu=it.__r,ec=it.diffed,tc=it.__c,nc=it.unmount,rc=it.__;function Vr(e,t){it.__h&&it.__h(Ge,e,gi||t),gi=0;var n=Ge.__H||(Ge.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function xe(e){return gi=1,Hr(yf,e)}function Hr(e,t,n){var r=Vr(Fn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):yf(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,a);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=Ge,!Ge.u)){var i=function(a,l,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,a,l,u);var f=r.__c.props!==a;return d.forEach(function(p){if(p.__N){var m=p.__[0];p.__=p.__N,p.__N=void 0,m!==p.__[0]&&(f=!0)}}),o&&o.call(this,a,l,u)||f};Ge.u=!0;var o=Ge.shouldComponentUpdate,s=Ge.componentWillUpdate;Ge.componentWillUpdate=function(a,l,u){if(this.__e){var d=o;o=void 0,i(a,l,u),o=d}s&&s.call(this,a,l,u)},Ge.shouldComponentUpdate=i}return r.__N||r.__}function Fe(e,t){var n=Vr(Fn++,3);!it.__s&&jl(n.__H,t)&&(n.__=e,n.i=t,Ge.__H.__h.push(n))}function _n(e,t){var n=Vr(Fn++,4);!it.__s&&jl(n.__H,t)&&(n.__=e,n.i=t,Ge.__h.push(n))}function se(e){return gi=5,me(function(){return{current:e}},[])}function Vl(e,t,n){gi=6,_n(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 me(e,t){var n=Vr(Fn++,7);return jl(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Re(e,t){return gi=8,me(function(){return e},t)}function Ve(e){var t=Ge.context[e.__c],n=Vr(Fn++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Ge)),t.props.value):e.__}function Hl(e,t){it.useDebugValue&&it.useDebugValue(t?t(e):e)}function Dp(e){var t=Vr(Fn++,10),n=xe();return t.__=e,Ge.componentDidCatch||(Ge.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function rn(){var e=Vr(Fn++,11);if(!e.__){for(var t=Ge.__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 Rp(){for(var e;e=wf.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(us),e.__H.__h.forEach(sl),e.__H.__h=[]}catch(t){e.__H.__h=[],it.__e(t,e.__v)}}it.__b=function(e){Ge=null,Ju&&Ju(e)},it.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),rc&&rc(e,t)},it.__r=function(e){Qu&&Qu(e),Fn=0;var t=(Ge=e.__c).__H;t&&(Ta===Ge?(t.__h=[],Ge.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(us),t.__h.forEach(sl),t.__h=[],Fn=0)),Ta=Ge},it.diffed=function(e){ec&&ec(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(wf.push(t)!==1&&Xu===it.requestAnimationFrame||((Xu=it.requestAnimationFrame)||Op)(Rp)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Ta=Ge=null},it.__c=function(e,t){t.some(function(n){try{n.__h.forEach(us),n.__h=n.__h.filter(function(r){return!r.__||sl(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],it.__e(r,n.__v)}}),tc&&tc(e,t)},it.unmount=function(e){nc&&nc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{us(r)}catch(i){t=i}}),n.__H=void 0,t&&it.__e(t,n.__v))};var ic=typeof requestAnimationFrame=="function";function Op(e){var t,n=function(){clearTimeout(r),ic&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ic&&(t=requestAnimationFrame(n))}function us(e){var t=Ge,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Ge=t}function sl(e){var t=Ge;e.__c=e.__(),Ge=t}function jl(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function yf(e,t){return typeof t=="function"?t(e):t}function al(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 Gs(e,t){var n=t(),r=xe({t:{__:n,u:t}}),i=r[0].t,o=r[1];return _n(function(){i.__=n,i.u=t,$a(i)&&o({t:i})},[e,n,t]),Fe(function(){return $a(i)&&o({t:i}),e(function(){$a(i)&&o({t:i})})},[e]),n}function $a(e){var t,n,r=e.u,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function Bl(e){e()}function Ul(e){return e}function Wl(){return[!1,Bl]}var Gl=_n;function ys(e,t){this.props=e,this.context=t}function vf(e,t){function n(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:al(this.props,i)}function r(i){return this.shouldComponentUpdate=n,c(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ys.prototype=new cn).isPureReactComponent=!0,ys.prototype.shouldComponentUpdate=function(e,t){return al(this.props,e)||al(this.state,t)};var oc=ke.__b;ke.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),oc&&oc(e)};var Fp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function zl(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var i=e(n,r);return n.ref=r,i}return t.$$typeof=Fp,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sc=function(e,t){return e==null?null:Dn(Dn(e).map(t))},bf={map:sc,forEach:sc,count:function(e){return e?Dn(e).length:0},only:function(e){var t=Dn(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Dn},Pp=ke.__e;ke.__e=function(e,t,n,r){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}Pp(e,t,n,r)};var ac=ke.unmount;function _f(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=function(r,i){for(var o in i)r[o]=i[o];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return _f(r,t,n)})),e}function xf(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return xf(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ao(){this.__u=0,this.o=null,this.__b=null}function Cf(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Sf(e){var t,n,r;function i(o){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return c(n,o)}return i.displayName="Lazy",i.__f=!0,i}function ii(){this.i=null,this.l=null}ke.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ac&&ac(e)},(ao.prototype=new cn).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var i=Cf(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=xf(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},ao.prototype.componentWillUnmount=function(){this.o=[]},ao.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]=_f(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&c(Ye,null,e.fallback);return i&&(i.__u&=-33),[c(Ye,null,t.__a?null:e.children),i]};var lc=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Lp(e){return this.getChildContext=function(){return e.context},e.children}function Vp(e){var t=this,n=e.h;t.componentWillUnmount=function(){er(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.h.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),er(c(Lp,{context:t.context},e.__v),t.v)}function zs(e,t){var n=c(Vp,{__v:e,h:t});return n.containerInfo=t,n}(ii.prototype=new cn).__a=function(e){var t=this,n=Cf(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),lc(t,e,r)):i()};n?n(o):o()}},ii.prototype.render=function(e){this.i=null,this.l=new Map;var t=Dn(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},ii.prototype.componentDidUpdate=ii.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){lc(e,n,t)})};var Ef=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Hp=/^(?: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]/,jp=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Bp=/[A-Z0-9]/g,Up=typeof document<"u",Wp=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ql(e,t,n){return t.__k==null&&(t.textContent=""),er(e,t),typeof n=="function"&&n(),e?e.__c:null}function Af(e,t,n){return Ol(e,t),typeof n=="function"&&n(),e?e.__c:null}cn.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(cn.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var uc=ke.event;function Gp(){}function zp(){return this.cancelBubble}function qp(){return this.defaultPrevented}ke.event=function(e){return uc&&(e=uc(e)),e.persist=Gp,e.isPropagationStopped=zp,e.isDefaultPrevented=qp,e.nativeEvent=e};var Yl,Yp={enumerable:!1,configurable:!0,get:function(){return this.class}},cc=ke.vnode;ke.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={},o=r.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||Up&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Wp(n.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":jp.test(s)&&(s=l):l=s="oninput":o&&Hp.test(s)?s=s.replace(Bp,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&i[s=l]&&(s="oninputCapture"),i[s]=a}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Dn(n.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=Dn(n.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Yp)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=Ef,cc&&cc(e)};var dc=ke.__r;ke.__r=function(e){dc&&dc(e),Yl=e.__c};var fc=ke.diffed;ke.diffed=function(e){fc&&fc(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),Yl=null};var kf={ReactCurrentDispatcher:{current:{readContext:function(e){return Yl.__n[e.__c].props.value},useCallback:Re,useContext:Ve,useDebugValue:Hl,useDeferredValue:Ul,useEffect:Fe,useId:rn,useImperativeHandle:Vl,useInsertionEffect:Gl,useLayoutEffect:_n,useMemo:me,useReducer:Hr,useRef:se,useState:xe,useSyncExternalStore:Gs,useTransition:Wl}}},Zp="18.3.1";function Nf(e){return c.bind(null,e)}function Si(e){return!!e&&e.$$typeof===Ef}function Tf(e){return Si(e)&&e.type===Ye}function $f(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Zl(e){return Si(e)?Fl.apply(null,arguments):e}function Mf(e){return!!e.__k&&(er(null,e),!0)}function If(e){return e&&(e.base||e.nodeType===1&&e)||null}var Df=function(e,t){return e(t)},Zt=function(e,t){return e(t)},Rf=Ye,Of=Si,Q={useState:xe,useId:rn,useReducer:Hr,useEffect:Fe,useLayoutEffect:_n,useInsertionEffect:Gl,useTransition:Wl,useDeferredValue:Ul,useSyncExternalStore:Gs,startTransition:Bl,useRef:se,useImperativeHandle:Vl,useMemo:me,useCallback:Re,useContext:Ve,useDebugValue:Hl,version:"18.3.1",Children:bf,render:ql,hydrate:Af,unmountComponentAtNode:Mf,createPortal:zs,createElement:c,createContext:lt,createFactory:Nf,cloneElement:Zl,createRef:Ws,Fragment:Ye,isValidElement:Si,isElement:Of,isFragment:Tf,isMemo:$f,findDOMNode:If,Component:cn,PureComponent:ys,memo:vf,forwardRef:zl,flushSync:Zt,unstable_batchedUpdates:Df,StrictMode:Rf,Suspense:ao,SuspenseList:ii,lazy:Sf,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kf};const vs=Object.freeze(Object.defineProperty({__proto__:null,Children:bf,Component:cn,Fragment:Ye,PureComponent:ys,StrictMode:Rf,Suspense:ao,SuspenseList:ii,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kf,cloneElement:Zl,createContext:lt,createElement:c,createFactory:Nf,createPortal:zs,createRef:Ws,default:Q,findDOMNode:If,flushSync:Zt,forwardRef:zl,hydrate:Af,isElement:Of,isFragment:Tf,isMemo:$f,isValidElement:Si,lazy:Sf,memo:vf,render:ql,startTransition:Bl,unmountComponentAtNode:Mf,unstable_batchedUpdates:Df,useCallback:Re,useContext:Ve,useDebugValue:Hl,useDeferredValue:Ul,useEffect:Fe,useErrorBoundary:Dp,useId:rn,useImperativeHandle:Vl,useInsertionEffect:Gl,useLayoutEffect:_n,useMemo:me,useReducer:Hr,useRef:se,useState:xe,useSyncExternalStore:Gs,useTransition:Wl,version:Zp},Symbol.toStringTag,{value:"Module"})),Kp=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:BRSonoma;font-weight:900;src:url(/assets/BRSonoma-Black-Dd-41VER.otf) format("opentype")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/assets/BRSonoma-Bold-ntHe2u-j.otf) format("opentype")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/assets/BRSonoma-Medium-j1GGAHzV.otf) format("opentype")}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-full{left:100%}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-auto{margin-left:auto;margin-right:auto}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-\\[226px\\]{margin-top:-226px}.mb-12{margin-bottom:3rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.size-12{width:3rem;height:3rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-\\[118px\\]{height:118px}.h-\\[120px\\]{height:120px}.h-\\[34px\\]{height:34px}.h-\\[38px\\]{height:38px}.h-\\[52px\\]{height:52px}.h-\\[58px\\]{height:58px}.h-\\[60px\\]{height:60px}.h-\\[63px\\]{height:63px}.h-\\[72px\\]{height:72px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-\\[470px\\]{max-height:470px}.min-h-full{min-height:100%}.w-0{width:0px}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[1030px\\]{width:1030px}.w-\\[120px\\]{width:120px}.w-\\[128px\\]{width:128px}.w-\\[140px\\]{width:140px}.w-\\[148px\\]{width:148px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[480px\\]{width:480px}.w-\\[640px\\]{width:640px}.w-full{width:100%}.w-screen{width:100vw}.min-w-60{min-width:15rem}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/4{--tw-translate-y: -25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-600{border-color:var(--fl-color-primary-600)}.border-r-gray-200{--tw-border-opacity: 1;border-right-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500\\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-primary-600{background-color:var(--fl-color-primary-600)}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#a650ff\\]{--tw-gradient-from: #a650ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(166 80 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[\\#0095f2\\]{--tw-gradient-to: #0095f2 var(--tw-gradient-to-position)}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[13px\\]{padding-left:13px;padding-right:13px}.px-\\[17px\\]{padding-left:17px;padding-right:17px}.px-\\[3px\\]{padding-left:3px;padding-right:3px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-24{padding-bottom:6rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\\[3px\\]{padding-bottom:3px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-\\[13px\\]{padding-left:13px}.pr-1\\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\\[11px\\]{padding-right:11px}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sonoma{font-family:BRSonoma}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-sm\\/6{font-size:.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-600{color:var(--fl-color-primary-600)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.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-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-gray-300{outline-color:#d1d5db}.outline-red-300{outline-color:#fca5a5}.ring-1{--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, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes progressBar{0%{width:0}to{width:100%}}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-1:before{content:var(--tw-content);top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\\:bg-white:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.checked\\:border-primary-600:checked{border-color:var(--fl-color-primary-600)}.checked\\:bg-primary-600:checked{background-color:var(--fl-color-primary-600)}.hover\\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:-outline-offset-2:focus{outline-offset:-2px}.focus\\:outline-blue-600:focus{outline-color:#2563eb}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-primary-500:focus{--tw-ring-color: var(--fl-color-primary-500)}.focus\\:ring-primary-600:focus{--tw-ring-color: var(--fl-color-primary-600)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-600:focus-visible{outline-color:var(--fl-color-primary-600)}.hover\\:enabled\\:bg-emerald-700:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-gray-50:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-primary-700:enabled:hover{background-color:var(--fl-color-primary-700)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:before\\:bg-gray-400:disabled:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-4{margin-top:1rem}.sm\\:block{display:block}.sm\\:flex{display:flex}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:translate-x-2{--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-end{align-items:flex-end}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:text-left{text-align:left}}@media (forced-colors: active){.forced-colors\\:appearance-auto{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.forced-colors\\:before\\:hidden:before{content:var(--tw-content);display:none}}.\\[\\&\\:not\\(\\:checked\\)\\]\\:before\\:hidden:not(:checked):before{content:var(--tw-content);display:none}`;function en(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Xp(e){return e!=null&&typeof e.GetEnumerator=="function"}function Jp(e){return e!=null&&typeof e.CompareTo=="function"}function Qp(e){return e!=null&&typeof e.Equals=="function"}function Ff(e){return e!=null&&typeof e.GetHashCode=="function"}function ll(e){return e!=null&&typeof e.Dispose=="function"}function Me(e){ll(e)&&e.Dispose()}function Ae(){return null}function bs(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 e1{constructor(t){this.iter=t,this.current=Ae()}"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 Oe(e){return Xp(e)?e.GetEnumerator():new e1(e[Symbol.iterator]())}function Ei(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 t1{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 je(e,t){return e.toString(10).padStart(t,"0")}function n1(e,t,n){return e.toString(10).padStart(t,"0").padEnd(n,"0")}function mc(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function r1(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function dn(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class $n{static id(t){return $n.idMap.has(t)||$n.idMap.set(t,++$n.count),$n.idMap.get(t)}}$n.idMap=new WeakMap;$n.count=0;function cr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function ln(e){return e*2654435761|0}function Pf(e){return cr(e.toString(32))}function So(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const i=e[r];t=(t<<5)+t^i}return t}function i1(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return ln(e);case"bigint":return Pf(e);case"string":return cr(e);default:return ln($n.id(e))}}function o1(e){return Ff(e)?e.GetHashCode():i1(e)}function s1(e){return e.getTime()}function a1(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=tn(e[r]);return So(n)}function tn(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return ln(e);case"bigint":return Pf(e);case"string":return cr(e);default:{if(Ff(e))return e.GetHashCode();if(en(e))return a1(e);if(e instanceof Date)return s1(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>tn(r));return So(n)}else return ln($n.id(e))}}}function _s(e){return o1(e)}function ul(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 Lf(e,t){return ul(e,t,te)}function l1(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let i=0;i<n.length;i++)if(n[i]!==r[i]||!te(e[n[i]],t[r[i]]))return!1;return!0}function te(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Qp(e)?e.Equals(t):en(e)?en(t)&&Lf(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Vf(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&l1(e,t)}function Vf(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+mc(e),r=t.getTime()+mc(t)),n===r?0:n<r?-1:1}function jr(e,t){return e===t?0:e<t?-1:1}function u1(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,i=0;r<e.length;r++)if(i=n(e[r],t[r]),i!==0)return i;return 0}function Kl(e,t){return u1(e,t,Et)}function c1(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 i=0,o=0;i<n.length;i++){const s=n[i];if(s!==r[i])return s<r[i]?-1:1;if(o=Et(e[s],t[s]),o!==0)return o}return 0}function Et(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Jp(e)?e.CompareTo(t):en(e)?en(t)?Kl(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Vf(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?c1(e,t):-1}function w(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function d1(e){en(e)?e.splice(0):e.clear()}const qs=new WeakMap;function Ke(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return qs.set(t,e),t}function Zn(e){return qs.get(e)??(t=>n=>e(t,n))}function cl(e){if(e==null)return null;const t=(n,r,i)=>e(n)(r)(i);return qs.set(t,e),t}function Ma(e){return qs.get(e)??(t=>n=>r=>e(t,n,r))}function f1(e){let t=0,n="[";for(const r of e){if(t===0)n+=nt(r);else if(t===100){n+="; ...";break}else n+="; "+nt(r);t++}return n+"]"}function nt(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 f1(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+nt(o,t+1)).join(`
|
|
2
|
-
`)+" }":(
|
|
3
|
-
`)+" }"}function g1(e){const t=Object.values(e).map(n=>tn(n));return So(t)}function w1(e,t){if(e===t)return!0;if(bs(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!te(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function y1(e,t){if(e===t)return 0;if(bs(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=Et(e[n[r]],t[n[r]]);if(i!==0)return i}return 0}else return-1}class Ce{toJSON(){return h1(this)}toString(){return p1(this)}GetHashCode(){return g1(this)}Equals(t){return w1(this,t)}CompareTo(t){return y1(this,t)}}class Ct{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 v1{constructor(t){this.message=t}}function b1(e){return e instanceof v1||e instanceof Error}function _1(e){return e instanceof Promise}function xs(e){return b1(e)||_1(e)?e:new Error(String(e))}const Xl=nt(Kp),Ai=Symbol("numeric");function Hf(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Ai])}function x1(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function dl(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[Ai]().multiply(t)}function cs(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[Ai]().toFixed(t)}function Cs(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[Ai]().toPrecision(t)}function Ss(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[Ai]().toExponential(t)}function Es(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Ai]().toHex()}const C1=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],S1=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],E1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],A1=["January","February","March","April","May","June","July","August","September","October","November","December"];function Bt(e,t,n){let r=0,i=t;for(;i<e.length&&e[i]===n;)i++,r++;return r}function hc(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function k1(e,t){let n=t;const r=e[t];let i="",o=!1;for(;t<e.length;){t++;const s=e[t];if(s===r){o=!0;break}else if(s==="\\")if(t<e.length)t++,i+=e[t];else throw new Error("Invalid string format");else i+=s}if(!o)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[i,t-n+1]}function Jl(e,t,n){let r=0,i=0,o="";const s=n?Eo(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(i=Bt(t,r,"d"),r+=i,i){case 1:o+=gc(s);break;case 2:o+=je(gc(s),2);break;case 3:o+=C1[vc(s)];break;case 4:o+=S1[vc(s)];break}break;case"f":if(i=Bt(t,r,"f"),r+=i,i<=3){const v=10**(3-i);o+=je(Math.floor(Ko(s)/v),i)}else i<=7&&(o+=(""+Ko(s)).padEnd(i,"0"));break;case"F":if(i=Bt(t,r,"F"),r+=i,i<=3){const v=10**(3-i),_=Math.floor(Ko(s)/v);_!=0&&(o+=je(_,i))}else if(i<=7){const v=Ko(s);v!=0&&(o+=je(v,3))}break;case"g":i=Bt(t,r,"g"),r+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=Bt(t,r,"h"),r+=i,i){case 1:o+=Zo(s)%12;break;case 2:o+=je(Zo(s)%12,2);break}break;case"H":switch(i=Bt(t,r,"H"),r+=i,i){case 1:o+=Zo(s);break;case 2:o+=je(Zo(s),2);break}break;case"K":switch(i=Bt(t,r,"K"),r+=i,i){case 1:switch(pc(s)){case 1:o+="Z";break;case 2:o+=si(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=Bt(t,r,"m"),r+=i,i){case 1:o+=wc(s);break;case 2:o+=je(wc(s),2);break}break;case"M":switch(i=Bt(t,r,"M"),r+=i,i){case 1:o+=Xo(s);break;case 2:o+=je(Xo(s),2);break;case 3:o+=E1[Xo(s)-1];break;case 4:o+=A1[Xo(s)-1];break}break;case"s":switch(i=Bt(t,r,"s"),r+=i,i){case 1:o+=yc(s);break;case 2:o+=je(yc(s),2);break}break;case"t":switch(i=Bt(t,r,"t"),r+=i,i){case 1:o+=s.getHours()<12?"A":"P";break;case 2:o+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(i=Bt(t,r,"y"),r+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=je(s.getFullYear()%100,2);break;case 3:o+=je(s.getFullYear(),3);break;case 4:o+=je(s.getFullYear(),4);break;case 5:o+=je(s.getFullYear(),5);break}break;case"z":i=Bt(t,r,"z"),r+=i;let l="";switch(pc(s)){case 1:l="+00:00";break;case 2:l=si(s.getTimezoneOffset()*-6e4);break;case 0:l=si(F1(s).getTimezoneOffset()*-6e4);break}const u=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${u}${d}`;break;case 2:o+=`${u}${je(d,2)}`;break;default:o+=`${u}${je(d,2)}:${je(f,2)}`;break}break;case":":o+=":",r++;break;case"/":o+="/",r++;break;case"'":case'"':const[p,m]=k1(t,r);o+=p,r+=m;break;case"%":const h=hc(t,r);if(h>=0&&h!==37)r+=2,o+=Jl(s,String.fromCharCode(h),n);else throw new Error("Invalid format string");break;case"\\":const b=hc(t,r);if(b>=0)r+=2,o+=String.fromCharCode(b);else throw new Error("Invalid format string");break;default:r++,o+=a;break}}return o}function pc(e){return e.kind||0}function si(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+je(n,2)+":"+je(r,2)}function As(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 N1(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return je(e.getFullYear(),4)+"-"+je(e.getMonth()+1,2)+"-"+je(e.getDate(),2)+"T"+je(e.getHours(),2)+":"+je(e.getMinutes(),2)+":"+je(e.getSeconds(),2)+"."+je(e.getMilliseconds(),3)+(n?si(e.getTimezoneOffset()*-6e4):"")}}function T1(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+si(t)}function $1(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," ")+si(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return As(n,"first");case"T":case"t":return As(n,"second");case"O":case"o":return T1(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Jl(n,t,!0)}function M1(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?As(e,"first"):e.toLocaleDateString();case"T":case"t":return n?As(e,"second"):e.toLocaleTimeString();case"O":case"o":return N1(e,n);default:throw new Error("Unrecognized Date print format")}else return Jl(e,t,n)}function Ys(e,t,n){return e.offset!=null?$1(e,t):M1(e,t)}function Eo(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function I1(){return Eo(-621355968e5,1)}function jf(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 i=/^\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(i!=null){let o,s=0;if(i[2]!=null){const a=i[2].split(":"),l=parseInt(a[0],10);s=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),i[3]!=null&&i[3].toUpperCase()==="PM"&&l<12&&(s+=720)}if(i[4]!=null){if(i[1]!=null)o=new Date(i[1]+" UTC");else{const a=new Date;o=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(i[4]==="Z")r="Z";else{let a=parseInt(i[5],10)*60+parseInt(i[6]||"0",10);i[4][0]==="-"&&(a*=-1),r=a,s-=a*60}}else if(i[1]!=null)o=new Date(i[1]);else{const a=new Date;o=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(o.getTime()+s*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function D1(e,t=!1){const[n,r]=jf(e),i=r!=null?t&&r==="Z"?1:2:0;return Eo(n.getTime(),i)}function R1(e,t){try{return t.contents=D1(e),!0}catch{return!1}}function O1(e){return e.kind===1?e:Eo(e.getTime(),1)}function F1(e){return e.kind===2?e:Eo(e.getTime(),2)}function gc(e){return e.kind===1?e.getUTCDate():e.getDate()}function Zo(e){return e.kind===1?e.getUTCHours():e.getHours()}function Ko(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function wc(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Xo(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function yc(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function vc(e){return e.kind===1?e.getUTCDay():e.getDay()}function P1(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 bc(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 i,o=-1;for(;(i=e.exec(t))!=null;)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}function Ql(e,t,n,r,i=0){function o(){let s=arguments[0];if(r){r--;const a=[],l=arguments.length,u=typeof arguments[l-1]!="string";let d=u?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],u&&(a.groups=arguments[d]),s=n(a)}return s}if(typeof e=="string"){const s=e;e=P1(t,r??0),t=s,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,i)+t.substring(i).replace(e,o);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const a=t.substring(i),l=bc(e,a),u=bc.length>r?(s=l[r-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+u.replace(e,n)+t.substring(i+u.length)}else return t.replace(e,n)}const qi=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,L1=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Bf(e,t){return x1(e,t)<0}function Pn(e){return{input:e,cont:H1(e)}}function Uf(e,t){return typeof t=="string"?e(t):t.cont(e)}function $r(e){return Uf(t=>t,e)}function Wf(e){return Uf(t=>{throw new Error(t)},e)}function V1(e,t,n,r,i){let o="";if(t=t||"",i=i||"",Hf(e))switch(i.toLowerCase()!=="x"&&(Bf(e,0)?(e=dl(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=r==null?null:parseInt(r,10),i){case"f":case"F":r=r??6,e=cs(e,r);break;case"g":case"G":e=r!=null?Cs(e,r):Cs(e);break;case"e":case"E":e=r!=null?Ss(e,r):Ss(e);break;case"x":e=Es(e);break;case"X":e=Es(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Ys(e):e=nt(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=o+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!s?" ":"0";l==="0"?(e=mo(e,n-o.length,l,a),e=o+e):e=mo(o+e,n,l,a)}return e}function Gf(e,t,n,r="",i=-1){return(...o)=>{let s=r;const a=t.slice(),l=n.slice();for(const u of o){const[,,d,f,p,m]=l[0];let h=f;if(i>=0)h=i,i=-1;else if(h==="*"){if(u<0)throw new Error("Non-negative number required");i=u;continue}s+=a[0],s+=V1(u,d,h,p,m),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):Gf(e,a,l,s,i)}}function H1(e){return t=>{qi.lastIndex=0;const n=[],r=[];let i=0,o=qi.exec(e);for(;o;){const s=o.index+(o[1]||"").length;n.push(e.substring(i,s).replace(/%%/g,"%")),r.push(o),i=qi.lastIndex,qi.lastIndex-=1,o=qi.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(i).replace(/%%/g,"%")),Gf(t,n,r))}}function eu(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(L1,(r,i,o,s,a,l)=>{if(i<0||i>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[i];if(Hf(u))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,u=cs(u,a);break;case"g":case"G":u=a!=null?Cs(u,a):Cs(u);break;case"e":case"E":u=a!=null?Ss(u,a):Ss(u);break;case"p":case"P":a=a??2,u=cs(dl(u,100),a)+" %";break;case"d":case"D":u=a!=null?Ia(String(u),a,"0"):String(u);break;case"x":case"X":u=a!=null?Ia(Es(u),a,"0"):Es(u),s==="X"&&(u=u.toUpperCase());break;default:if(l){let d="";u=l.replace(/([0#,]+)(\.[0#]+)?/,(f,p,m)=>{Bf(u,0)&&(u=dl(u,-1),d="-"),m=m==null?"":m.substring(1),u=cs(u,Math.max(m.length,0));let[h,b]=u.split(".");b||(b="");const v=p.replace(/,/g,"").replace(/^#+/,"").length;h=Ia(h,v,"0");const _=m.replace(/#+$/,"").length;if(_>b.length?b=j1(b,_,"0"):_<b.length&&(b=b.substring(0,_)+b.substring(_).replace(/0+$/,"")),p.indexOf(",")>0){const x=h.length%3,E=Math.floor(h.length/3);let T=x>0?h.substr(0,x)+(E>0?",":""):"";for(let I=0;I<E;I++)T+=h.substr(x+I*3,3)+(I<E-1?",":"");h=T}return b.length>0?h+"."+b:h}),u=d+u}}else u instanceof Date?u=Ys(u,l||s):u=nt(u);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(u=mo(String(u),Math.abs(o)," ",o<0)),u})}function tu(e){return typeof e!="string"||e.length===0}function ki(e){return typeof e!="string"||/^\s*$/.test(e)}function At(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function mo(e,t,n,r){n=n||" ",t=t-e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}function Ia(e,t,n){return mo(e,t,n)}function j1(e,t,n){return mo(e,t,n,!0)}function zf(e,t,n){return e.replace(new RegExp(Zs(t),"g"),n)}function qf(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 i=(r&1)===1,o=(r&2)===2;t=t||[],t=t.filter(d=>d).map(Zs),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,u=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(u).trim():e.substring(u);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(u,d.index).trim():e.substring(u,d.index);(!i||f.length>0)&&(n!=null&&s.length+1===n?(s.push(o?e.substring(u).trim():e.substring(u)),l=!1):s.push(f)),u=a.lastIndex}}while(l);return s}function B1(e,...t){if(t.length===0)return e.trim();const n="["+Zs(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function nu(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+Zs(t.join(""))+"]+$"),"")}function U1(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return n!=null?e.substr(t,n):e.substr(t)}class Mr{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tn(this.value)}Equals(t){return t==null?!1:te(this.value,t instanceof Mr?t.value:t)}CompareTo(t){return t==null?1:Et(this.value,t instanceof Mr?t.value:t)}}function V(e){if(e==null)throw new Error("Option has no value");return e instanceof Mr?e.value:e}function io(e){return e instanceof Mr?e.value:e}function ct(e){return e==null||e instanceof Mr?new Mr(e):e}function Yf(e){return e==null?null:V(e)}function Ni(e){return e==null?[]:[V(e)]}function Je(e,t){return e!=null?V(e):t}function W1(e,t){return e!=null?V(e):t()}function _t(e,t){return t!=null?ct(e(V(t))):void 0}function G1(e,t){return t!=null?e(V(t)):void 0}class z1{constructor(t,n,r,i){this.declaringType=t,this.tag=n,this.name=r,this.fields=i}}class Ht{constructor(t,n,r,i,o,s,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=i,this.fields=o,this.cases=s,this.enumCases=a}toString(){return Xe(this)}GetHashCode(){return Zf(this)}Equals(t){return fl(this,t)}}function qt(e){return e.generics!=null?e.generics:[]}function Zf(e){const t=cr(e.fullname),n=qt(e).map(Zf);return So([t,...n])}function fl(e,t){return e.fullname===""?t.fullname===""&&ul(po(e),po(t),([n,r],[i,o])=>n===i&&fl(r,o)):e.fullname===t.fullname&&ul(qt(e),qt(t),fl)}function tr(e,t,n,r){return new Ht(e,t,n,r)}function Mt(e,t,n,r){return new Ht(e,t,n,void 0,r)}function Gn(...e){return new Ht("",void 0,void 0,void 0,()=>e)}function Ao(e,t,n,r){const i=new Ht(e,t,n,void 0,void 0,()=>{const o=n.prototype.cases();return r().map((s,a)=>new z1(i,a,o[a],s))});return i}function kr(e){return new Ht("Microsoft.FSharp.Core.FSharpOption`1",[e])}function nr(e){return new Ht("Microsoft.FSharp.Collections.FSharpList`1",[e])}const q1=new Ht("System.Object"),Dt=new Ht("System.String"),ho=new Ht("System.Boolean"),qe=new Ht("System.Int32");function ai(e){if(Array.isArray(e))return e[0];if(e instanceof Ht){const t=ko(e);if(t!=null)return ai(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function Xe(e){const t=ko(e);return t!=null?Xe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>Xe(n)).join(",")+"]"}function Kf(e){return ko(e)!=null}function ko(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Xf(e){return e.generics!=null&&e.generics.length>0}function ru(e){return e.enumCases!=null&&e.enumCases.length>0}function Jf(e){return e.generics==null?e:new Ht(e.fullname,e.generics.map(()=>q1))}function Qf(e){var t;return(t=e.generics)==null?void 0:t[0]}function zr(e){if(ru(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Y1(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 qr(e,t){const n=parseInt(t,10);return Y1(e,isNaN(n)?t:n)[1]}function e0(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function po(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function t0(e){if(iu(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function n0(e){return e instanceof Ht?e.cases!=null:e instanceof W}function r0(e){return e instanceof Ht?e.fields!=null:e instanceof Ce}function iu(e){return e.fullname.startsWith("System.Tuple")}function Z1(e,t){const r=e0(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function i0(e){return e.fields==null?[]:e.fields}function K1(e,t){return e[t[0]]}function X1(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 J1(e,t){const n=po(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,[i,o],s)=>(r[i]=t[s],r),{})}function Q1(e,t){return e}const o0="Collection was empty.",eg="The input must be non-negative.",s0="The input sequence has an insufficient number of elements.";function wi(e,t){return new Array(t)}function _c(e,t){return e>t?e:t}function xc(e,t){return e<t?e:t}function a0(e,t,n){const r=e.length|0,i=t.length|0,o=wi(n,r+i);for(let s=0;s<=r-1;s++)$t(o,s,pe(s,e));for(let s=0;s<=i-1;s++)$t(o,s+r,pe(s,t));return o}function No(e,t,n,r){const i=t|0;return e.fill(r,i,i+n)}function tg(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return pe(e.length-1,e)}function l0(e,t,n){const r=t.length|0,i=wi(n,r);for(let o=0;o<=r-1;o++)$t(i,o,e(o,pe(o,t)));return i}function et(e,t,n){const r=t.length|0,i=wi(n,r);for(let o=0;o<=r-1;o++)$t(i,o,e(pe(o,t)));return i}function ks(e,t){const n=Array.isArray(e)?e:Array.from(e);switch(n.length|0){case 0:return wi(t,0);case 1:return pe(0,n);default:{let i=0,o=0;for(let a=0;a<=n.length-1;a++){const l=pe(a,n);o=o+l.length|0}const s=wi(t,o);for(let a=0;a<=n.length-1;a++){const l=pe(a,n);for(let u=0;u<=l.length-1;u++)$t(s,i,pe(u,l)),i=i+1|0}return s}}}function ng(e,t,n,r,i){const o=Je(n,0)|0,s=Je(_t(l=>o+l,r),e.length)|0;return(l=>{e:for(;;){const u=l;if(u>=s)return-1;if(i.Equals(t,pe(u,e)))return u|0;l=u+1;continue e}})(o)|0}function Ti(e,t,n){return ng(t,e,void 0,void 0,n)>=0}function rg(e,t){const n=wi(t,1);return $t(n,0,e),n}function ig(e){return e.slice().reverse()}function Ks(e,t){return t.find(e)}function Yt(e,t,n){const r=[];for(let i=0;i<=t.length-1;i++){const o=e(pe(i,t));if(o!=null){const s=V(o);r.push(s)}}return te(n,Ae())?r:et(i=>i,r,n)}function Xs(e,t,n){const r=e;return n.reduce(r,t)}function og(e,t){const n=e.slice();return n.sort((r,i)=>t.Compare(r,i)),n}function sg(e,t,n){const r=t.slice();return r.sort((i,o)=>n.Compare(e(i),e(o))),r}function Ir(e,t,n){if(t==null)return n==null;if(n==null)return!1;{let r=0,i=!0;const o=t.length|0,s=n.length|0;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(pe(r,t),pe(r,n)),r=r+1|0;return i}}function Cc(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return pe(0,e)}function ag(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function pe(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function $t(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function u0(e,t){if(!(e<0||e>=t.length))return ct(t[e])}function c0(e,t,n){return t.reduceRight((r,i)=>e(i,r),n)}class bt extends Ce{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+At("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const d=V(l),f=V(u);if(te(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return u==null}})(n,t)}GetHashCode(){return((r,i,o)=>{e:for(;;){const s=r,a=i,l=o,u=l.tail;if(u!=null){const d=V(u);if(s>18)return a|0;r=s+1,i=(a<<1)+tn(l.head)+631*s,o=d;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const d=V(l),f=V(u),p=Et(s.head,a.head)|0;if(p===0){i=d,o=f;continue e}else return p|0}else return 1;else return u!=null?-1:0}})(this,t)|0}GetEnumerator(){return ug(this)}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Oe(this)}}class lg{constructor(t){this.xs=t,this.it=this.xs,this.current=Ae()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=V(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ae()}Dispose(){}}function ug(e){return new lg(e)}function Qe(){return new bt(Ae(),void 0)}function To(e,t){return new bt(e,t)}function vn(e){return e.tail==null}function d0(e){return((n,r)=>{e:for(;;){const i=n,s=r.tail;if(s!=null){n=i+1,r=V(s);continue e}else return i|0}})(0,e)|0}function rr(e){if(e.tail!=null)return e.head;throw new Error(o0+"\\nParameter name: list")}function gt(e){const t=e.tail;if(t!=null)return V(t);throw new Error(o0+"\\nParameter name: list")}function at(){return Qe()}function Xt(e,t){return To(e,t)}function ce(e){return To(e,Qe())}function Te(e){return vn(e)}function Jt(e){return d0(e)}function ue(e){return rr(e)}function De(e){return gt(e)}function dr(e){const t=d0(e)|0,n=No(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!vn(a)){$t(n,s,rr(a)),i=s+1,o=gt(a);continue e}break}})(0,e),n}function xn(e,t,n){let r=t,i=n;for(;!vn(i);)r=e(r,ue(i)),i=gt(i);return r}function ou(e){return xn((t,n)=>To(n,t),Qe(),e)}function cg(e,t,n){return c0(e,dr(t),n)}function dg(e,t,n){return((i,o,s)=>{e:for(;;){const a=i,l=o,u=s;if(vn(u))return l;i=a+1,o=e(a,l,rr(u)),s=gt(u);continue e}})(0,t,n)}function go(e,t){xn((n,r)=>{e(r)},void 0,t)}function rt(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=To(pe(r,e),n);return n}function g(e){return rt(e,Qe())}function fg(e){let t,n;if(en(e))return g(e);if(e instanceof bt)return e;{const r=Qe();let i=r;const o=Oe(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,n=new bt(l,void 0),t.tail=n,n)}}finally{Me(o)}const s=i,a=Qe();return s.tail=a,gt(r)}}function mg(e){const t=Qe();let n=t;const r=s=>{n=xn((a,l)=>{const u=new bt(l,void 0);return a.tail=u,u},n,s)};if(en(e))e.forEach(r);else if(e instanceof bt)go(r,e);else{const s=Oe(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)r(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Me(s)}}const i=n,o=Qe();return i.tail=o,gt(t)}function $o(e,t){return xn((n,r)=>To(r,n),t,ou(e))}function hg(e,t){let n,r;const i=Qe();let o=i,s=t;for(;!vn(s);){let u=e(rr(s));for(;!vn(u);)o=(n=o,r=new bt(rr(u),void 0),n.tail=r,r),u=gt(u);s=gt(s)}const a=o,l=Qe();return a.tail=l,gt(i)}function su(e,t){const n=Qe(),r=dg((o,s,a)=>{const l=new bt(e(o,a),void 0);return s.tail=l,l},n,t),i=Qe();return r.tail=i,gt(n)}function ir(e,t){const n=Qe(),r=xn((o,s)=>{const a=new bt(e(s),void 0);return o.tail=a,a},n,t),i=Qe();return r.tail=i,gt(n)}function pg(e,t){return(r=>{e:for(;;){const i=r;if(vn(i))return;{const o=e(rr(i));if(o==null){r=gt(i);continue e}else return o}}})(t)}function f0(e,t){return pg(n=>e(n)?ct(n):void 0,t)}function gg(e,t){return((r,i)=>{e:for(;;){const o=r,s=i;if(vn(s))return;if(e(rr(s)))return o;r=o+1,i=gt(s);continue e}})(0,t)}function Mn(e,t){const n=Qe(),r=xn((o,s)=>{if(e(s)){const a=new bt(s,void 0);return o.tail=a,a}else return o},n,t),i=Qe();return r.tail=i,gt(n)}function wg(e,t){const n=Qe(),r=Qe(),i=n,o=xn((l,u)=>{let d,f;const p=l[0],m=l[1];return e(u)?[(d=new bt(u,void 0),p.tail=d,d),m]:[p,(f=new bt(u,void 0),m.tail=f,f)]},[i,r],t),s=Qe();o[0].tail=s;const a=Qe();return o[1].tail=a,[gt(i),gt(r)]}function yg(e,t){const n=Qe(),r=xn((o,s)=>{const a=e(s);if(a==null)return o;{const l=new bt(V(a),void 0);return o.tail=l,l}},n,t),i=Qe();return r.tail=i,gt(n)}function au(e,t){return gg(e,t)!=null}function m0(e,t){const n=dr(t);return n.sort(e),g(n)}function vg(e,t,n){return m0((r,i)=>n.Compare(e(r),e(i)),t)}function bg(e,t,n){return m0((r,i)=>n.Compare(e(r),e(i))*-1,t)}function h0(e,t){e:for(;;){const n=e,r=t;if(n<=0)return r;if(vn(r))throw new Error(s0+"\\nParameter name: list");e=n-1,t=gt(r);continue e}}function p0(e,t){if(e<0)throw new Error(eg+"\\nParameter name: count");const n=(s,a,l)=>{let u;e:for(;;){const d=s,f=a,p=l;if(d<=0)return f;if(vn(p))throw new Error(s0+"\\nParameter name: list");s=d-1,a=(u=new bt(rr(p),void 0),f.tail=u,u),l=gt(p);continue e}},r=Qe(),i=n(e,r,t),o=Qe();return i.tail=o,gt(r)}function _g(e,t,n){const r=Jt(n)|0;let i;const o=Je(e,0)|0;i=o<0?0:o;let s;const a=Je(t,r-1)|0;return s=a>=r?r-1:a,s<i?Qe():p0(s-i+1,h0(i,n))}const y=Q;function xg(e){const t=g([c("style",{children:[Xl]}),c("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return c("div",{children:y.Children.toArray(Array.from(t))})}function Cg(e){throw new Error(e)}const Sg="Enumeration already finished.",Eg="Enumeration has not started. Call MoveNext.",g0="The input sequence has an insufficient number of elements.",Ag="Reset is not supported on this enumerator.";function kg(){throw new Error(Ag)}function lu(){throw new Error(Eg)}function ml(){throw new Error(Sg)}class Ng{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const i=Oe(t);try{for(;n<4&&i["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+nt(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{Me(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Tg(e){return new Ng(e)}class $g{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"(){kg()}Dispose(){this.dispose()}}function Js(e,t,n){return new $g(e,t,n)}function Mg(e){let t,n,r=!1,i=!1,o;const s=()=>{if(i=!0,n!=null){const a=V(n);try{Me(a)}finally{n=void 0}}if(t!=null){const a=V(t);try{Me(a)}finally{t=void 0}}};return Js(()=>(r?i&&ml():lu(),o!=null?V(o):ml()),()=>{let a;if(r||(r=!0),i)return!1;{let l;for(;l==null;){const u=t,d=n;if(u!=null)if(d!=null){const f=V(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=ct(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{Me(f)}finally{n=void 0}}else{const f=V(u);f["System.Collections.IEnumerator.MoveNext"]()?n=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),Oe(a)):(s(),l=!1)}else t=Oe(e)}return V(l)}},()=>{i||s()})}function Ig(e,t){return Js(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{Me(t)}finally{}})}function w0(e,t,n){let r=!1,i,o=ct(e());const s=()=>{if(o!=null){const l=V(o);try{n(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return Js(()=>(r||lu(),i!=null?V(i):ml()),()=>{if(r||(r=!0),o!=null){const l=V(o);let u;try{u=t(l)}catch(d){throw a(),d}return u!=null?(i=u,!0):(a(),!1)}else return!1},s)}function Dg(e,t){let n,r=t;return Js(()=>{if(n!=null){const i=V(n)[0];return V(n)[1],i}else return lu()},()=>(n=e(r),n!=null?(V(n)[0],r=V(n)[1],!0):!1),()=>{})}function Rg(e,t){t==null&&Cg(e)}function $i(e){return Tg(e)}function nn(e){return Rg("source",e),Oe(e)}function $(e){return $i(()=>Oe(e()))}function Qs(e){return $i(()=>Mg(e))}function Og(e,t){return $i(()=>Dg(e,t))}function ft(){return $(()=>new Array(0))}function k(e){return $(()=>rg(e))}function Ln(e){return e instanceof bt?dr(e):Array.from(e)}function K(e){return en(e)?g(e):e instanceof bt?e:fg(e)}function uu(e,t,n){return $i(()=>w0(e,t,n))}function y0(e,t,n){return $i(()=>{let r=-1;return w0(e,i=>(r=r+1|0,t(r,i)),n)})}function H(e,t){return Qs([e,t])}function Fg(e,t){return uu(()=>nn(t),n=>{let r;for(;r==null&&n["System.Collections.IEnumerator.MoveNext"]();)r=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return r},n=>{Me(n)})}function Pg(e,t,n){const r=nn(t);try{const i=nn(n);try{let o=0,s=r["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&s&&a;)o=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),i["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(s=r["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:s?1:a?-1:0)|0}finally{Me(i)}}finally{Me(r)}}function Yr(e,t,n){const r=nn(t);try{let i=!1;for(;!i&&r["System.Collections.IEnumerator.MoveNext"]();)i=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Me(r)}}function ea(e,t){return Fg(n=>{if(e(n))return ct(n)},t)}function Mo(e,t,n){const r=nn(n);try{let i=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)i=e(i,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Me(r)}}function jn(e,t){Mo((n,r)=>{e(r)},void 0,t)}function v0(e,t){Mo((n,r)=>(e(n,r),n+1|0),0,t)}function Lg(e){if(en(e))return e.length|0;if(e instanceof bt)return Jt(e)|0;{const t=nn(e);try{let n=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)n=n+1|0;return n|0}finally{Me(t)}}}function Le(e,t){return uu(()=>nn(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ct(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{Me(n)})}function Vg(e,t){return y0(()=>nn(t),(n,r)=>r["System.Collections.IEnumerator.MoveNext"]()?ct(e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{Me(n)})}function Hg(e,t,n){return uu(()=>[nn(t),nn(n)],r=>{const i=r[0],o=r[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?ct(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},r=>{try{Me(r[0])}finally{Me(r[1])}})}function jg(e){return $(()=>ig(Ln(e)))}function Bg(e,t){return $i(()=>{const n=nn(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(g0+"\\nParameter name: source");return Ig(()=>{},n)}catch(r){throw Me(n),r}})}function Ug(e,t){return y0(()=>nn(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ct(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(g0+"\\nParameter name: source")}else return},n=>{Me(n)})}function Wg(e,t){return Hg((n,r)=>[n,r],e,t)}function ta(e,t){return $(()=>Qs(Le(e,t)))}const b0=(e,t)=>{Fe(()=>{const n=e();return()=>{n.Dispose()}},t)},Gg=e=>{_n(()=>{const t=e();return()=>{t.Dispose()}})};function zg(e){return{Dispose(){jn(t=>{Me(t)},Ni(e))}}}class _0{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,i=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(i)}}}Dispose(){}}class na extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,na.prototype)}}class cu{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>cu.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function In(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new na);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(xs(n))}});else try{e(t)}catch(n){t.onError(xs(n))}}}function qg(e,t){return In(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(i){n.onError(xs(i))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Yg(e){return In(t=>t.onSuccess(e))}class Zg{Bind(t,n){return qg(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return In(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let i=r.next();return this.While(()=>!i.done,this.Delay(()=>{const o=n(i.value);return i=r.next(),o}))}Return(t){return Yg(t)}ReturnFrom(t){return t}TryFinally(t,n){return In(r=>{t({onSuccess:i=>{n(),r.onSuccess(i)},onError:i=>{n(),r.onError(i)},onCancel:i=>{n(),r.onCancel(i)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return In(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:i=>{try{n(i)(r)}catch(o){r.onError(xs(o))}}})})}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 In(t=>t.onSuccess(void 0))}}const Y=new Zg;function Kg(e){return new x0(0,[e])}function Xg(e){return new x0(1,[e])}class x0 extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Jg(e){return Kg(e)}function Qg(e){return Xg(e)}function Da(e){}function ew(e){return new _0(!1)}function tw(e){e.cancel()}function nw(e){return e!=null&&e.isCancelled}const rw=new _0;function iw(e){return In(t=>{e({onSuccess:n=>t.onSuccess(Jg(n)),onError:n=>t.onSuccess(Qg(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function ow(e){return In(t=>e([t.onSuccess,t.onError,t.onCancel]))}function C0(e){return In(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new na)})})}function sw(e,t){return aw(e,t)}function Mi(e,t){return sw(e,t)}function aw(e,t,n,r,i){typeof t!="function"&&(i=t,t=void 0);const o=new cu;e({onSuccess:t||Da,onError:Da,onCancel:Da,cancelToken:i||rw,trampoline:o})}function lw(e,t){return t}function uw(e,t,n,r){const i=y.memo(e,Ke(Je(_t(Zn,n),Ae())));return jn(o=>{e.displayName=o},Ni(t)),o=>{const s=lw(r,o);return y.createElement(i,s)}}function du(e){return{Dispose(){e()}}}function ra(e){const t=y.useRef(!1);y.useEffect(()=>{t.current||(t.current=!0,e())},[])}function S0(e){const t=y.useRef(void 0),n=y.useRef(!1),r=y.useRef(!1);n.current&&(r.current=!0),b0(()=>zg(n.current?void 0:(n.current=!0,t.current=ct(e()),r.current?t.current:void 0)),[])}function E0(e){const t=y.useRef(e),n=y.useCallback(r=>t.current(r),[]);return Gg(r=>(t.current=e,du(()=>{}))),n}class Ii extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class ia extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class oa extends Ce{constructor(t,n,r,i,o,s,a,l){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=i,this.overridenMimeType=o,this.overridenResponseType=s,this.timeout=a,this.content=l}}class ei extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class A0 extends Ce{constructor(t,n,r,i,o,s){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=i,this.responseHeaders=o,this.content=s}}class k0{constructor(t,n){this.k=t,this.v=n}}function yi(e,t){return new k0(e,t)}function ut(e){return e.k}function pt(e){return e.v}class mt extends k0{constructor(t,n,r,i,o){super(t,n),this.left=r,this.right=i,this.h=o|0}}function Nr(e,t,n,r,i){return new mt(e,t,n,r,i)}function ot(e){return e.left}function st(e){return e.right}function Jn(e){return e.h}function N0(e,t){e:for(;;){const n=e,r=t;if(r!=null){const i=V(r);if(i instanceof mt){const o=i;e=N0(n+1,ot(o)),t=st(o);continue e}else return n+1|0}else return n|0}}function T0(e){return N0(0,e)}function Wt(e,t,n,r){let i,o,s;const a=e;if(a!=null){const f=V(a);s=f instanceof mt?(i=f,Jn(i)):1}else s=0;let l;const u=r;if(u!=null){const f=V(u);l=f instanceof mt?(o=f,Jn(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?yi(t,n):Nr(t,n,e,r,d+1)}function Ns(e,t,n,r){let i,o,s,a,l,u,d,f,p;const m=e;if(m!=null){const v=V(m);p=v instanceof mt?(i=v,Jn(i)):1}else p=0;let h;const b=r;if(b!=null){const v=V(b);h=v instanceof mt?(o=v,Jn(o)):1}else h=0;if(h>p+2){const v=V(r);if(v instanceof mt){const _=v;if(s=ot(_),(s!=null?(a=V(s),a instanceof mt?(l=a,Jn(l)):1):0)>p+1){const x=V(ot(_));if(x instanceof mt){const E=x;return Wt(Wt(e,t,n,ot(E)),ut(E),pt(E),Wt(st(E),ut(_),pt(_),st(_)))}else throw new Error("internal error: Map.rebalance")}else return Wt(Wt(e,t,n,ot(_)),ut(_),pt(_),st(_))}else throw new Error("internal error: Map.rebalance")}else if(p>h+2){const v=V(e);if(v instanceof mt){const _=v;if(u=st(_),(u!=null?(d=V(u),d instanceof mt?(f=d,Jn(f)):1):0)>h+1){const x=V(st(_));if(x instanceof mt){const E=x;return Wt(Wt(ot(_),ut(_),pt(_),ot(E)),ut(E),pt(E),Wt(st(E),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Wt(ot(_),ut(_),pt(_),Wt(st(_),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Wt(e,t,n,r)}function vi(e,t,n,r){if(r!=null){const i=V(r),o=e.Compare(t,ut(i))|0;if(i instanceof mt){const s=i;return o<0?Ns(vi(e,t,n,ot(s)),ut(s),pt(s),st(s)):o===0?Nr(t,n,ot(s),st(s),Jn(s)):Ns(ot(s),ut(s),pt(s),vi(e,t,n,st(s)))}else return o<0?Nr(t,n,void 0,r,2):o===0?yi(t,n):Nr(t,n,r,void 0,2)}else return yi(t,n)}function fu(e,t,n){e:for(;;){const r=e,i=t,o=n;if(o!=null){const s=V(o),a=r.Compare(i,ut(s))|0;if(a===0)return ct(pt(s));if(s instanceof mt){const l=s;e=r,t=i,n=a<0?ot(l):st(l);continue e}else return}else return}}function cw(e,t,n){const r=fu(e,t,n);if(r==null)throw new Error;return V(r)}function $0(e){if(e!=null){const t=V(e);if(t instanceof mt){const n=t;if(ot(n)==null)return[ut(n),pt(n),st(n)];{const r=$0(ot(n));return[r[0],r[1],Wt(r[2],ut(n),pt(n),st(n))]}}else return[ut(t),pt(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function hl(e,t,n,r){if(r!=null){const i=V(r);if(i instanceof mt){const o=i,s=e.Compare(t,ut(o))|0;if(s<0)return Ns(hl(e,t,n,ot(o)),ut(o),pt(o),st(o));if(s===0){const a=n(ct(pt(o)));if(a!=null)return Nr(t,V(a),ot(o),st(o),Jn(o));if(ot(o)==null)return st(o);if(st(o)==null)return ot(o);{const l=$0(st(o));return Wt(ot(o),l[0],l[1],l[2])}}else return Ns(ot(o),ut(o),pt(o),hl(e,t,n,st(o)))}else{const o=e.Compare(t,ut(i))|0;if(o<0){const s=n(void 0);return s!=null?Nr(t,V(s),void 0,r,2):r}else if(o===0){const s=n(ct(pt(i)));return s!=null?yi(t,V(s)):void 0}else{const s=n(void 0);return s!=null?Nr(t,V(s),r,void 0,2):r}}}else{const i=n(void 0);return i!=null?yi(t,V(i)):r}}function dw(e,t,n){e:for(;;){const r=e,i=t,o=n;if(o!=null){const s=V(o),a=r.Compare(i,ut(s))|0;if(s instanceof mt){const l=s;if(a<0){e=r,t=i,n=ot(l);continue e}else{if(a===0)return!0;e=r,t=i,n=st(l);continue e}}else return a===0}else return!1}}function M0(e,t){e:for(;;){const n=e,r=t;if(r!=null){const i=V(r);if(i instanceof mt){const o=i;M0(n,ot(o)),n(ut(o),pt(o)),e=n,t=st(o);continue e}else n(ut(i),pt(i))}break}}function fw(e,t){M0(e,t)}function I0(e,t,n){let r=n;fw((i,o)=>{$t(t,r,[i,o]),r=r+1|0},e)}function mw(e){const t=T0(e)|0,n=No(new Array(t),0,t,[null,null]);return I0(e,n,0),n}function hw(e,t){return xn((n,r)=>vi(e,r[0],r[1],n),void 0,t)}function pw(e,t,n){e:for(;;){const r=e,i=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=vi(r,s[0],s[1],i),n=o;continue e}else return i}}function gw(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const i=pe(r,t);n=vi(e,i[0],i[1],n)}return n}function D0(e,t){if(en(t))return gw(e,t);if(t instanceof bt)return hw(e,t);{const n=Oe(t);try{return pw(e,void 0,n)}finally{Me(n)}}}class ww extends Ce{constructor(t,n){super(),this.stack=t,this.started=n}}function R0(e){e:for(;;){const t=e;if(Te(t))return at();{const n=De(t),r=ue(t);if(r!=null){const i=V(r);if(i instanceof mt){const o=i;e=rt([ot(o),yi(ut(o),pt(o)),st(o)],n);continue e}else return t}else{e=n;continue e}}}}function Sc(e){return new ww(R0(ce(e)),!1)}function yw(){throw new Error("enumeration not started")}function vw(){throw new Error("enumeration already finished")}function Ec(e){if(e.started){const t=e.stack;if(Te(t))return vw();if(ue(t)!=null){const n=V(ue(t));if(n instanceof mt)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ut(n),pt(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return yw()}function bw(e){if(e.started){const t=e.stack;if(Te(t))return!1;if(ue(t)!=null){if(V(ue(t))instanceof mt)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=R0(De(t)),!Te(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!Te(e.stack)}function Ac(e){let t=Sc(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Ec(t)},"System.Collections.IEnumerator.get_Current"(){return Ec(t)},"System.Collections.IEnumerator.MoveNext"(){return bw(t)},"System.Collections.IEnumerator.Reset"(){t=Sc(e)},Dispose(){}}}class Ts{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Ew(this)|0}Equals(t){const n=this;if(t instanceof Ts){const r=t,i=Oe(n);try{const o=Oe(r);try{const s=()=>{const a=i["System.Collections.IEnumerator.MoveNext"]();if(a===o["System.Collections.IEnumerator.MoveNext"]())if(a){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"](),u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return te(l[0],u[0])&&te(l[1],u[1])?s():!1}else return!0;else return!1};return s()}finally{Me(o)}}finally{Me(i)}}else return!1}toString(){return"map ["+At("; ",Le(n=>eu("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Ac(this.tree)}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Ac(this.tree)}CompareTo(t){const n=this;if(t instanceof Ts)return Pg((i,o)=>{const s=n.comparer.Compare(i[0],o[0])|0;return(s!==0?s:Et(i[1],o[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 kc(n,t[0])&&te(Dr(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){I0(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Ra(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Ra(this)|0}get size(){return Ra(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Le(n=>[n[0],n[1]],this)}get(t){return Dr(this,t)}has(t){return kc(this,t)}keys(){return Le(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Le(n=>n[1],this)}forEach(t,n){const r=this;jn(i=>{t(i[1],i[0],r)},r)}}function Io(e,t){return new Ts(e,t)}function _w(e){return Io(e,void 0)}function xw(e,t,n){return Io(e.comparer,vi(e.comparer,t,n,e.tree))}function Cw(e,t,n){return Io(e.comparer,hl(e.comparer,t,n,e.tree))}function Dr(e,t){return cw(e.comparer,t,e.tree)}function Ra(e){return T0(e.tree)}function kc(e,t){return dw(e.comparer,t,e.tree)}function Sw(e,t,n){const r=fu(e.comparer,t,e.tree);if(r==null)return!1;{const i=V(r);return n.contents=i,!0}}function Nc(e){return et(t=>t[1],mw(e.tree))}function Sr(e,t){return fu(e.comparer,t,e.tree)}function Ew(e){const t=(i,o)=>(i<<1)+o+631;let n=0;const r=Oe(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const i=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,tn(i[0]))|0,n=t(n,tn(i[1]))|0}}finally{Me(r)}return n|0}function O0(e,t,n){return xw(n,e,t)}function Jo(e,t,n){return Cw(n,e,t)}function F0(e,t){return Sr(t,e)}function Aw(e){return Le(t=>[t[0],t[1]],e)}function li(e,t){return Io(t,D0(t,e))}function kw(e,t){return Io(t,D0(t,e))}function mu(e){return _w(e)}const pr=new oa("",new Ii(0,[]),at(),!1,void 0,void 0,void 0,new ia(0,[]));new A0(0,"","","",mu({Compare:jr}),new ei(0,[""]));function Tc(e,t){return tu(t)?new Array(0):qf(t,[e],void 0,0)}function Nw(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 Do(e){return new oa(e,pr.method,pr.headers,pr.withCredentials,pr.overridenMimeType,pr.overridenResponseType,pr.timeout,pr.content)}function Ro(e,t){return new oa(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function hu(e,t){return new oa(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function $c(e){return ow(t=>{const n=new XMLHttpRequest;n.open(Nw(e.method),e.url),n.onreadystatechange=()=>{let l,u,d,f,p,m,h;n.readyState===4&&t[0]((l=(u=n.responseType,u===""||u==="text"?n.responseText:""),d=n.status|0,f=n.responseType,p=(m=n.responseType,m===""?new ei(0,[n.responseText]):m==="text"?new ei(0,[n.responseText]):m==="arraybuffer"?new ei(2,[n.response]):m==="blob"?new ei(1,[n.response]):new ei(3,[n.response])),h=kw(Yt(b=>{const v=g(Tc(":",b));if(!Te(v))return[ue(v).toLocaleLowerCase(),At(":",De(v)).trim()]},Tc(`\r
|
|
4
|
-
`,n.getAllResponseHeaders())),{Compare:jr}),new A0(d,l,f,n.responseURL,h,p)))};const r=Oe(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(l.fields[0],l.fields[1])}}finally{Me(r)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(i!=null){const l=i;n.overrideMimeType(l)}const o=e.overridenResponseType;if(o!=null)switch(o.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const s=e.timeout;if(s!=null){const l=s|0;n.timeout=l|0}const a=e.content;switch(a.tag){case 1:{n.send(ct(a.fields[0]));break}case 3:{n.send(ct(a.fields[0]));break}case 2:{n.send(ct(a.fields[0]));break}default:n.send()}})}function Tw(e){return new M(0,[e])}function P0(e){return new M(1,[e])}class M extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Vn(e,t){return t.tag===0?Tw(e(t.fields[0])):P0(t.fields[0])}function $w(e,t){return t.tag===0?e(t.fields[0]):P0(t.fields[0])}const br={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Oa(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 Mw(e,t){switch(t){case br.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case br.SnakeCase:return Oa(e,"_");case br.SnakeCaseAllCaps:return Oa(e,"_").toUpperCase();case br.KebabCase:return Oa(e,"-");case br.None:default:return e}}function Bn(e,t=br.None){const n={},r=t;function i(s){throw new Error("Cannot infer key and value of "+String(s))}function o(s,a,l){s=Mw(s,a),n[s]=l}for(let s of e){let a=br.None;if(s==null&&i(s),s instanceof W){const l=s.cases()[s.tag];s=s.fields.length===0?l:[l].concat(s.fields),a=r}if(Array.isArray(s))switch(s.length){case 0:i(s);break;case 1:o(s[0],a,!0);break;case 2:const l=s[1];o(s[0],a,l);break;default:o(s[0],a,s.slice(1))}else typeof s=="string"?o(s,a,!0):i(s)}return n}function pu(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function L0(e,t){return t.has(e)?!1:(t.add(e),!0)}function Iw(e,t,n){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,n)}function or(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class oe extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Hn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Mc(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function V0(e,t){switch(e.tag){case 2:return Ql(Mc(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Mc(t)}}const Dw=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ic=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Rw=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Ow(e){function t(r){return r.replace(Ic,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Dw.test(n))return B1(n,"{","}","(",")");if(Ic.test(n))return t(n);if(Rw.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 Fw(e,t){try{return t.contents=Ow(e),!0}catch{return!1}}function H0(){let e="";for(let t=0;t++<36;)e+=t*51&52?(t^15?8^Math.random()*(t^20?16:4):4).toString(16):"-";return e}var pl;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(pl||(pl={}));function Pw(e,t){const[,n,r,i]=e;return{sign:n||"",prefix:r||"",digits:i,radix:t}}function Dc(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 Lw(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 Vw(e,t){if(t&pl.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 Hw(e,t,n){const i=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(i!=null){const[,,o,s]=i;if(n=n||Vw(o,t),!Lw(n).test(s))return Pw(i,n)}return null}function jw(e,t,n,r,i){const o=Hw(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=Dc(!0,r);!n&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-r>>32-r);const[u,d]=Dc(n,r);if(s>=u&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function Di(e,t,n,r,i){try{return i.contents=jw(e,t,n,r),!0}catch{return!1}}function j0(e,t){Bw(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Bw(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 Uw(){return j0(-621355968e5,0)}function Ww(e){const[t,n]=jf(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return j0(t.getTime(),r)}function Gw(e,t){try{return t.contents=Ww(e),!0}catch{return!1}}function Oo(e){return e<0?Math.ceil(e):Math.floor(e)}function Rc(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return zw(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],i=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+i}function zw(e){return Number(BigInt(e)/10000n)}function qw(e){return Oo(e/864e5)}function Yw(e){return Oo(e%864e5/36e5)}function Zw(e){return Oo(e%36e5/6e4)}function Kw(e){return Oo(e%6e4/1e3)}function Xw(e){return Oo(e%1e3)}function Jw(e,t="c",n){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const r=Math.abs(qw(e)),i=Math.abs(Yw(e)),o=Math.abs(Zw(e)),s=Math.abs(Kw(e)),a=Math.abs(Xw(e));return`${e<0?"-":""}${r===0&&(t==="c"||t==="g")?"":t==="c"?r+".":r+":"}${t==="g"?i:je(i,2)}:${je(o,2)}:${je(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+je(a,3):"."+n1(a,3,7)}`}function Qw(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 Rc(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 i=0,o=0,s=0;const a=r[1]!=null&&r[1]==="-"?-1:1,l=+r[4],u=+r[5];if(r[3]!=null&&(i=+r[3]),r[7]!=null&&(s=+r[7]),r[8]!=null)switch(r[8].length){case 1:o=+r[8]*100;break;case 2:o=+r[8]*10;break;case 3:o=+r[8];break;case 4:o=+r[8]/10;break;case 5:o=+r[8]/100;break;case 6:o=+r[8]/1e3;break;case 7:o=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*Rc(i,l,u,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function ey(e,t){try{return t.contents=Qw(e),!0}catch{return!1}}class B0{constructor(t,n){const r=new Ct(Ae());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Oe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();Fa(r.contents,o)}}finally{Me(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Oe(this)}GetEnumerator(){return Oe(Qs(this.hashMap.values()))}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){Fa(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){Oc(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Pc(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){v0((i,o)=>{$t(t,n+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Fc(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return Lc(this,t)}get size(){return Fc(this)|0}add(t){const n=this;return Fa(n,t),n}clear(){Oc(this)}delete(t){return Lc(this,t)}has(t){return Pc(this,t)}keys(){return Le(n=>n,this)}values(){return Le(n=>n,this)}entries(){return Le(n=>[n,n],this)}forEach(t,n){const r=this;jn(i=>{t(i,i,r)},r)}}function gu(e,t){const n=e.comparer.GetHashCode(t)|0;let r,i=Ae();return r=[pu(e.hashMap,n,new Ct(()=>i,o=>{i=o})),i],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,n,-1]}function Oc(e){e.hashMap.clear()}function Fc(e){let t=0,n=Oe(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{Me(n)}return t|0}function Fa(e,t){const n=gu(e,t);return n[0]?n[2]>-1?!1:(or(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function Pc(e,t){const n=gu(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;default:return!1}}function Lc(e,t){const n=gu(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return or(e.hashMap,n[1]).splice(n[2],1),!0;default:return!1}}class U0{constructor(t){this.k=t}}function Gt(e){return new U0(e)}function _e(e){return e.k}class Pe extends U0{constructor(t,n,r,i){super(t),this.left=n,this.right=r,this.h=i|0}}function zt(e,t,n,r){return new Pe(e,t,n,r)}function ze(e){return e.left}function We(e){return e.right}function oi(e){return e.h}function W0(e,t){e:for(;;){const n=e,r=t;if(n!=null){const i=V(n);if(i instanceof Pe){const o=i;e=ze(o),t=W0(We(o),r+1);continue e}else return r+1|0}else return r|0}}function ty(e){return W0(e,0)}function on(e,t,n){let r,i,o;const s=e;if(s!=null){const d=V(s);o=d instanceof Pe?(r=d,oi(r)):1}else o=0;let a;const l=n;if(l!=null){const d=V(l);a=d instanceof Pe?(i=d,oi(i)):1}else a=0;const u=(o<a?a:o)|0;return u===0?Gt(t):zt(t,e,n,u+1)}function Vc(e,t,n){let r,i,o,s,a,l,u,d,f;const p=e;if(p!=null){const b=V(p);f=b instanceof Pe?(r=b,oi(r)):1}else f=0;let m;const h=n;if(h!=null){const b=V(h);m=b instanceof Pe?(i=b,oi(i)):1}else m=0;if(m>f+2){const b=V(n);if(b instanceof Pe){const v=b;if(o=ze(v),(o!=null?(s=V(o),s instanceof Pe?(a=s,oi(a)):1):0)>f+1){const _=V(ze(v));if(_ instanceof Pe){const x=_;return on(on(e,t,ze(x)),_e(x),on(We(x),_e(v),We(v)))}else throw new Error("internal error: Set.rebalance")}else return on(on(e,t,ze(v)),_e(v),We(v))}else throw new Error("internal error: Set.rebalance")}else if(f>m+2){const b=V(e);if(b instanceof Pe){const v=b;if(l=We(v),(l!=null?(u=V(l),u instanceof Pe?(d=u,oi(d)):1):0)>m+1){const _=V(We(v));if(_ instanceof Pe){const x=_;return on(on(ze(v),_e(v),ze(x)),_e(x),on(We(x),t,n))}else throw new Error("internal error: Set.rebalance")}else return on(ze(v),_e(v),on(We(v),t,n))}else throw new Error("internal error: Set.rebalance")}else return on(e,t,n)}function bi(e,t,n){if(n!=null){const r=V(n),i=e.Compare(t,_e(r))|0;if(r instanceof Pe){const o=r;return i<0?Vc(bi(e,t,ze(o)),_e(o),We(o)):i===0?n:Vc(ze(o),_e(o),bi(e,t,We(o)))}else{const o=e.Compare(t,_e(r))|0;return o<0?zt(t,void 0,n,2):o===0?n:zt(t,n,void 0,2)}}else return Gt(t)}function G0(e,t,n){e:for(;;){const r=e,i=t,o=n;if(o!=null){const s=V(o),a=r.Compare(i,_e(s))|0;if(s instanceof Pe){const l=s;if(a<0){e=r,t=i,n=ze(l);continue e}else{if(a===0)return!0;e=r,t=i,n=We(l);continue e}}else return a===0}else return!1}}function z0(e,t){e:for(;;){const n=e,r=t;if(r!=null){const i=V(r);if(i instanceof Pe){const o=i;z0(n,ze(o)),n(_e(o)),e=n,t=We(o);continue e}else n(_e(i))}break}}class ny extends Ce{constructor(t,n){super(),this.stack=t,this.started=n}}function q0(e){e:for(;;){const t=e;if(Te(t))return at();{const n=ue(t),r=De(t);if(n!=null){const i=V(n);if(i instanceof Pe){const o=i;e=rt([ze(o),Gt(_e(o)),We(o)],r);continue e}else return t}else{e=r;continue e}}}}function Hc(e){return new ny(q0(ce(e)),!1)}function ry(){throw new Error("Enumeration not started")}function iy(){throw new Error("Enumeration already started")}function jc(e){if(e.started){const t=e.stack;if(Te(t))return iy();if(ue(t)!=null){const n=V(ue(t));return _e(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return ry()}function oy(e){if(e.started){const t=e.stack;if(Te(t))return!1;if(ue(t)!=null){if(V(ue(t))instanceof Pe)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=q0(De(t)),!Te(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!Te(e.stack)}function Bc(e){let t=Hc(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return jc(t)},"System.Collections.IEnumerator.get_Current"(){return jc(t)},"System.Collections.IEnumerator.MoveNext"(){return oy(t)},"System.Collections.IEnumerator.Reset"(){t=Hc(e)},Dispose(){}}}function sy(e,t,n){e:for(;;){const r=e,i=t,o=n;if(Te(i))return Te(o)?0:-1;if(Te(o))return 1;if(ue(o)!=null)if(ue(i)!=null){const s=V(ue(i)),a=V(ue(o));if(s instanceof Pe){const l=s;if(ze(l)==null)if(a instanceof Pe){const u=a;if(ze(u)==null){const d=r.Compare(_e(l),_e(u))|0;if(d!==0)return d|0;e=r,t=Xt(We(l),De(i)),n=Xt(We(u),De(o));continue e}else{let d,f,p,m,h;switch(Te(i)?Te(o)?d=2:ue(o)!=null?(d=1,m=De(o),h=V(ue(o))):d=2:ue(i)!=null?(d=0,f=De(i),p=V(ue(i))):Te(o)?d=2:ue(o)!=null?(d=1,m=De(o),h=V(ue(o))):d=2,d){case 0:if(p instanceof Pe){const b=p;e=r,t=rt([ze(b),zt(_e(b),void 0,We(b),0)],f),n=o;continue e}else{e=r,t=rt([void 0,Gt(_e(p))],f),n=o;continue e}case 1:if(h instanceof Pe){const b=h;e=r,t=i,n=rt([ze(b),zt(_e(b),void 0,We(b),0)],m);continue e}else{e=r,t=i,n=rt([void 0,Gt(_e(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(_e(l),_e(a))|0;if(u!==0)return u|0;e=r,t=Xt(We(l),De(i)),n=Xt(void 0,De(o));continue e}else{let u,d,f,p,m;switch(Te(i)?Te(o)?u=2:ue(o)!=null?(u=1,p=De(o),m=V(ue(o))):u=2:ue(i)!=null?(u=0,d=De(i),f=V(ue(i))):Te(o)?u=2:ue(o)!=null?(u=1,p=De(o),m=V(ue(o))):u=2,u){case 0:if(f instanceof Pe){const h=f;e=r,t=rt([ze(h),zt(_e(h),void 0,We(h),0)],d),n=o;continue e}else{e=r,t=rt([void 0,Gt(_e(f))],d),n=o;continue e}case 1:if(m instanceof Pe){const h=m;e=r,t=i,n=rt([ze(h),zt(_e(h),void 0,We(h),0)],p);continue e}else{e=r,t=i,n=rt([void 0,Gt(_e(m))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof Pe){const l=a;if(ze(l)==null){const u=r.Compare(_e(s),_e(l))|0;if(u!==0)return u|0;e=r,t=Xt(void 0,De(i)),n=Xt(We(l),De(o));continue e}else{let u,d,f,p,m;switch(Te(i)?Te(o)?u=2:ue(o)!=null?(u=1,p=De(o),m=V(ue(o))):u=2:ue(i)!=null?(u=0,d=De(i),f=V(ue(i))):Te(o)?u=2:ue(o)!=null?(u=1,p=De(o),m=V(ue(o))):u=2,u){case 0:if(f instanceof Pe){const h=f;e=r,t=rt([ze(h),zt(_e(h),void 0,We(h),0)],d),n=o;continue e}else{e=r,t=rt([void 0,Gt(_e(f))],d),n=o;continue e}case 1:if(m instanceof Pe){const h=m;e=r,t=i,n=rt([ze(h),zt(_e(h),void 0,We(h),0)],p);continue e}else{e=r,t=i,n=rt([void 0,Gt(_e(m))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(_e(s),_e(a))|0;if(l!==0)return l|0;e=r,t=De(i),n=De(o);continue e}}else{V(ue(o));let s,a,l,u,d;switch(Te(i)?Te(o)?s=2:ue(o)!=null?(s=1,u=De(o),d=V(ue(o))):s=2:ue(i)!=null?(s=0,a=De(i),l=V(ue(i))):Te(o)?s=2:ue(o)!=null?(s=1,u=De(o),d=V(ue(o))):s=2,s){case 0:if(l instanceof Pe){const f=l;e=r,t=rt([ze(f),zt(_e(f),void 0,We(f),0)],a),n=o;continue e}else{e=r,t=rt([void 0,Gt(_e(l))],a),n=o;continue e}case 1:if(d instanceof Pe){const f=d;e=r,t=i,n=rt([ze(f),zt(_e(f),void 0,We(f),0)],u);continue e}else{e=r,t=i,n=rt([void 0,Gt(_e(d))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(ue(i)!=null){V(ue(i));let s,a,l,u,d;switch(Te(i)?Te(o)?s=2:ue(o)!=null?(s=1,u=De(o),d=V(ue(o))):s=2:ue(i)!=null?(s=0,a=De(i),l=V(ue(i))):Te(o)?s=2:ue(o)!=null?(s=1,u=De(o),d=V(ue(o))):s=2,s){case 0:if(l instanceof Pe){const f=l;e=r,t=rt([ze(f),zt(_e(f),void 0,We(f),0)],a),n=o;continue e}else{e=r,t=rt([void 0,Gt(_e(l))],a),n=o;continue e}case 1:if(d instanceof Pe){const f=d;e=r,t=i,n=rt([ze(f),zt(_e(f),void 0,We(f),0)],u);continue e}else{e=r,t=i,n=rt([void 0,Gt(_e(d))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=De(i),n=De(o);continue e}}}function Uc(e,t,n){return t==null?n==null?0:-1:n==null?1:sy(e,ce(t),ce(n))|0}function ay(e,t,n){let r=n;z0(i=>{$t(t,r,i),r=r+1|0},e)}function ly(e,t,n){e:for(;;){const r=e,i=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){e=r,t=bi(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o;continue e}else return i}}function uy(e,t){return Xs((n,r)=>bi(e,r,n),void 0,t)}function cy(e,t){return xn((n,r)=>bi(e,r,n),void 0,t)}function Y0(e,t){if(en(t))return uy(e,t);if(t instanceof bt)return cy(e,t);{const n=Oe(t);try{return ly(e,void 0,n)}finally{Me(n)}}}class wu{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return my(this)|0}Equals(t){let n;const r=this;return t instanceof wu&&(n=t,Uc(ui(r),sn(r),sn(n))===0)}toString(){return"set ["+At("; ",Le(n=>nt(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Uc(ui(n),sn(n),sn(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 G0(ui(n),t,sn(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){ay(sn(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Pa(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Pa(this)|0}GetEnumerator(){return Bc(sn(this))}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Bc(sn(this))}get size(){return Pa(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 Z0(this,t)}keys(){return Le(n=>n,this)}values(){return Le(n=>n,this)}entries(){return Le(n=>[n,n],this)}forEach(t,n){const r=this;jn(i=>{t(i,i,r)},r)}}function sa(e,t){return new wu(e,t)}function ui(e){return e.comparer}function sn(e){return e.tree}function dy(e){return sa(e,void 0)}function fy(e,t){return sa(ui(e),bi(ui(e),t,sn(e)))}function Pa(e){return ty(sn(e))}function Z0(e,t){return G0(ui(e),t,sn(e))}function my(e){let t=0;const n=Oe(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+tn(r)+631|0}}finally{Me(n)}return Math.abs(t)|0}function gl(e,t){return Z0(t,e)}function hy(e,t){return fy(t,e)}function py(e){return dy(e)}function gy(e,t){return sa(t,Y0(t,e))}function wy(e,t){return sa(t,Y0(t,e))}function Yi(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."+(
|
|
6
|
-
`:" ")}}function
|
|
7
|
-
Reason: `+t.fields[2]:t.tag===3?
|
|
1
|
+
var $3,M0,qo,_2,j6,Go,X5,M4,Q5,e4,zo,S3={},Yo=[],ll=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tn=Array.isArray;function ke(e,t){for(var r in t)e[r]=t[r];return e}function Zo(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function c(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?$3.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return v3(e,s,n,i,null)}function v3(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++qo,__i:-1,__u:0};return i==null&&M0.vnode!=null&&M0.vnode(o),o}function rn(){return{current:null}}function K0(e){return e.children}function ce(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?xt(e):null}function Ko(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 Ko(e)}}function t4(e){(!e.__d&&(e.__d=!0)&&_2.push(e)&&!Nr.__r++||j6!==M0.debounceRendering)&&((j6=M0.debounceRendering)||Go)(Nr)}function Nr(){var e,t,r,n,i,o,s,a;for(_2.sort(X5);e=_2.shift();)e.__d&&(t=_2.length,n=void 0,o=(i=(r=e).__v).__e,s=[],a=[],r.__P&&((n=ke({},i)).__v=i.__v+1,M0.vnode&&M0.vnode(n),N4(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??xt(i),!!(32&i.__u),a),n.__v=i.__v,n.__.__k[n.__i]=n,Qo(s,n,a),n.__e!=o&&Ko(n)),_2.length>t&&_2.sort(X5));Nr.__r=0}function Jo(e,t,r,n,i,o,s,a,l,u,d){var f,p,h,m,g,y=n&&n.__k||Yo,_=t.length;for(r.__d=l,ul(r,t,y),l=r.__d,f=0;f<_;f++)(h=r.__k[f])!=null&&(p=h.__i===-1?S3:y[h.__i]||S3,h.__i=f,N4(e,h,p,i,o,s,a,l,u,d),m=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&k4(p.ref,null,h),d.push(h.ref,h.__c||m,h)),g==null&&m!=null&&(g=m),65536&h.__u||p.__k===h.__k?l=Xo(h,l,e):typeof h.type=="function"&&h.__d!==void 0?l=h.__d:m&&(l=m.nextSibling),h.__d=void 0,h.__u&=-196609);r.__d=l,r.__e=g}function ul(e,t,r){var n,i,o,s,a,l=t.length,u=r.length,d=u,f=0;for(e.__k=[],n=0;n<l;n++)(i=t[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=n+f,(i=e.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?v3(null,i,null,null,null):tn(i)?v3(K0,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?v3(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(a=i.__i=cl(i,r,s,d))!==-1&&(d--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&f--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a==s-1?f--:a==s+1?f++:(a>s?f--:f++,i.__u|=65536))):i=e.__k[n]=null;if(d)for(n=0;n<u;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=xt(o)),e8(o,o))}function Xo(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=Xo(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=xt(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function De(e,t){return t=t||[],e==null||typeof e=="boolean"||(tn(e)?e.some(function(r){De(r,t)}):t.push(e)),t}function cl(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,l=t[r];if(l===null||l&&i==l.key&&o===l.type&&!(131072&l.__u))return r;if((typeof o!="function"||o===K0||i)&&n>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function W6(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||ll.test(t)?r:r+"px"}function sr(e,t,r,n,i){var o;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||W6(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||W6(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=M4,e.addEventListener(t,o?e4:Q5,o)):e.removeEventListener(t,o?e4:Q5,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function q6(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=M4++;else if(t.t<r.u)return;return M0.event&&(t=M0.event(t)),"handleEvent"in r?r.handleEvent(t):r(t)}}}function N4(e,t,r,n,i,o,s,a,l,u){var d,f,p,h,m,g,y,_,C,E,M,O,R,$,S,x,A=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(d=M0.__b)&&d(t);e:if(typeof A=="function")try{if(_=t.props,C="prototype"in A&&A.prototype.render,E=(d=A.contextType)&&n[d.__c],M=d?E?E.props.value:d.__:n,r.__c?y=(f=t.__c=r.__c).__=f.__E:(C?t.__c=f=new A(_,M):(t.__c=f=new ce(_,M),f.constructor=A,f.render=fl),E&&E.sub(f),f.props=_,f.state||(f.state={}),f.context=M,f.__n=n,p=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&A.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=ke({},f.__s)),ke(f.__s,A.getDerivedStateFromProps(_,f.__s))),h=f.props,m=f.state,f.__v=t,p)C&&A.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&A.getDerivedStateFromProps==null&&_!==h&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,M),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,M)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(f.props=_,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(N){N&&(N.__=t)}),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,M),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(h,m,g)})}if(f.context=M,f.props=_,f.__P=e,f.__e=!1,R=M0.__r,$=0,C){for(f.state=f.__s,f.__d=!1,R&&R(t),d=f.render(f.props,f.state,f.context),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[]}else do f.__d=!1,R&&R(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++$<25);f.state=f.__s,f.getChildContext!=null&&(n=ke(ke({},n),f.getChildContext())),C&&!p&&f.getSnapshotBeforeUpdate!=null&&(g=f.getSnapshotBeforeUpdate(h,m)),Jo(e,tn(x=d!=null&&d.type===K0&&d.key==null?d.props.children:d)?x:[x],t,r,n,i,o,s,a,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),y&&(f.__E=f.__=null)}catch(N){if(t.__v=null,l||o!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=r.__e,t.__k=r.__k;M0.__e(N,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=dl(r.__e,t,r,n,i,o,s,l,u);(d=M0.diffed)&&d(t)}function Qo(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)k4(r[n],r[++n],r[++n]);M0.__c&&M0.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){M0.__e(o,i.__v)}})}function dl(e,t,r,n,i,o,s,a,l){var u,d,f,p,h,m,g,y=r.props,_=t.props,C=t.type;if(C==="svg"?i="http://www.w3.org/2000/svg":C==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(u=0;u<o.length;u++)if((h=o[u])&&"setAttribute"in h==!!C&&(C?h.localName===C:h.nodeType===3)){e=h,o[u]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=document.createElementNS(i,C,_.is&&_),a&&(M0.__m&&M0.__m(t,o),a=!1),o=null}if(C===null)y===_||a&&e.data===_||(e.data=_);else{if(o=o&&$3.call(e.childNodes),y=r.props||S3,!a&&o!=null)for(y={},u=0;u<e.attributes.length;u++)y[(h=e.attributes[u]).name]=h.value;for(u in y)if(h=y[u],u!="children"){if(u=="dangerouslySetInnerHTML")f=h;else if(!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;sr(e,u,null,h,i)}}for(u in _)h=_[u],u=="children"?p=h:u=="dangerouslySetInnerHTML"?d=h:u=="value"?m=h:u=="checked"?g=h:a&&typeof h!="function"||y[u]===h||sr(e,u,h,y[u],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),Jo(e,tn(p)?p:[p],t,r,n,C==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&xt(r,0),a,l),o!=null)for(u=o.length;u--;)Zo(o[u]);a||(u="value",C==="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[u]||C==="progress"&&!m||C==="option"&&m!==y[u])&&sr(e,u,m,y[u],i),u="checked",g!==void 0&&g!==e[u]&&sr(e,u,g,y[u],i))}return e}function k4(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){M0.__e(i,r)}}function e8(e,t,r){var n,i;if(M0.unmount&&M0.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||k4(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){M0.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&e8(n[i],t,r||typeof e.type!="function");r||Zo(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function fl(e,t,r){return this.constructor(e,r)}function r2(e,t,r){var n,i,o,s;M0.__&&M0.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],N4(t,e=(!n&&r||t).__k=c(K0,null,[e]),i||S3,S3,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?$3.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Qo(o,e,s)}function I4(e,t){r2(e,t,I4)}function O4(e,t,r){var n,i,o,s,a=ke({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?$3.call(arguments,2):r),v3(e.type,a,n||e.key,i||e.ref,null)}function u1(e,t){var r={__c:t="__cC"+zo++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.forEach(function(a){a.__e=!0,t4(a)})},this.sub=function(s){i.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.delete(s),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}$3=Yo.slice,M0={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},qo=0,ce.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ke({},this.state),typeof e=="function"&&(e=e(ke({},r),this.props)),e&&ke(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),t4(this))},ce.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),t4(this))},ce.prototype.render=K0,_2=[],Go=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,X5=function(e,t){return e.__v.__b-t.__v.__b},Nr.__r=0,M4=0,Q5=q6(!1),e4=q6(!0),zo=0;function R4(){return(R4=Object.assign?Object.assign.bind():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)}var hl=["context","children"];function ml(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},l=Object.keys(n);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(a[o]=n[o]);return a}(e,hl);return O4(t,r)}function pl(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=c(ml,R4({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,l=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[t8(a[s].name)]=a[s].value);for(s=l.length;s--;){var u=t(l[s],null),d=l[s].slot;d?o[d]=c(G6,{name:d},u):i[s]=u}var f=n?c(G6,null,i):i;return c(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?I4:r2)(this._vdom,this._root)}function t8(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function gl(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[t8(e)]=r,this._vdom=O4(this._vdom,n),r2(this._vdom,this._root)}}function wl(){r2(this._vdom=null,this._root)}function G6(e,t){var r=this;return c("slot",R4({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function yl(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=pl,i.prototype.attributeChangedCallback=gl,i.prototype.disconnectedCallback=wl,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}function D4(e,t){yl(e,t)}var Pe,z0,Wn,z6,St=0,r8=[],o1=M0,Y6=o1.__b,Z6=o1.__r,K6=o1.diffed,J6=o1.__c,X6=o1.unmount,Q6=o1.__;function V2(e,t){o1.__h&&o1.__h(z0,e,St||t),St=0;var r=z0.__H||(z0.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function S0(e){return St=1,U2(n8,e)}function U2(e,t,r){var n=V2(Pe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):n8(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],u=n.t(l,a);l!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=z0,!z0.u)){var i=function(a,l,u){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,a,l,u);var f=n.__c.props!==a;return d.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(f=!0)}}),o&&o.call(this,a,l,u)||f};z0.u=!0;var o=z0.shouldComponentUpdate,s=z0.componentWillUpdate;z0.componentWillUpdate=function(a,l,u){if(this.__e){var d=o;o=void 0,i(a,l,u),o=d}s&&s.call(this,a,l,u)},z0.shouldComponentUpdate=i}return n.__N||n.__}function L0(e,t){var r=V2(Pe++,3);!o1.__s&&P4(r.__H,t)&&(r.__=e,r.i=t,z0.__H.__h.push(r))}function Ce(e,t){var r=V2(Pe++,4);!o1.__s&&P4(r.__H,t)&&(r.__=e,r.i=t,z0.__h.push(r))}function i0(e){return St=5,f0(function(){return{current:e}},[])}function $4(e,t,r){St=6,Ce(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 f0(e,t){var r=V2(Pe++,7);return P4(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function $0(e,t){return St=8,f0(function(){return e},t)}function U0(e){var t=z0.context[e.__c],r=V2(Pe++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(z0)),t.props.value):e.__}function F4(e,t){o1.useDebugValue&&o1.useDebugValue(t?t(e):e)}function vl(e){var t=V2(Pe++,10),r=S0();return t.__=e,z0.componentDidCatch||(z0.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function ie(){var e=V2(Pe++,11);if(!e.__){for(var t=z0.__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 bl(){for(var e;e=r8.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_r),e.__H.__h.forEach(r4),e.__H.__h=[]}catch(t){e.__H.__h=[],o1.__e(t,e.__v)}}o1.__b=function(e){z0=null,Y6&&Y6(e)},o1.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Q6&&Q6(e,t)},o1.__r=function(e){Z6&&Z6(e),Pe=0;var t=(z0=e.__c).__H;t&&(Wn===z0?(t.__h=[],z0.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(_r),t.__h.forEach(r4),t.__h=[],Pe=0)),Wn=z0},o1.diffed=function(e){K6&&K6(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(r8.push(t)!==1&&z6===o1.requestAnimationFrame||((z6=o1.requestAnimationFrame)||_l)(bl)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),Wn=z0=null},o1.__c=function(e,t){t.some(function(r){try{r.__h.forEach(_r),r.__h=r.__h.filter(function(n){return!n.__||r4(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],o1.__e(n,r.__v)}}),J6&&J6(e,t)},o1.unmount=function(e){X6&&X6(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{_r(n)}catch(i){t=i}}),r.__H=void 0,t&&o1.__e(t,r.__v))};var e7=typeof requestAnimationFrame=="function";function _l(e){var t,r=function(){clearTimeout(n),e7&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);e7&&(t=requestAnimationFrame(r))}function _r(e){var t=z0,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),z0=t}function r4(e){var t=z0;e.__c=e.__(),z0=t}function P4(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function n8(e,t){return typeof t=="function"?t(e):t}function n4(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 nn(e,t){var r=t(),n=S0({t:{__:r,u:t}}),i=n[0].t,o=n[1];return Ce(function(){i.__=r,i.u=t,qn(i)&&o({t:i})},[e,r,t]),L0(function(){return qn(i)&&o({t:i}),e(function(){qn(i)&&o({t:i})})},[e]),r}function qn(e){var t,r,n=e.u,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function L4(e){e()}function B4(e){return e}function H4(){return[!1,L4]}var V4=Ce;function kr(e,t){this.props=e,this.context=t}function i8(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:n4(this.props,i)}function n(i){return this.shouldComponentUpdate=r,c(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(kr.prototype=new ce).isPureReactComponent=!0,kr.prototype.shouldComponentUpdate=function(e,t){return n4(this.props,e)||n4(this.state,t)};var t7=M0.__b;M0.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),t7&&t7(e)};var Cl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function U4(e){function t(r){if(!("ref"in r))return e(r,null);var n=r.ref;delete r.ref;var i=e(r,n);return r.ref=n,i}return t.$$typeof=Cl,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var r7=function(e,t){return e==null?null:De(De(e).map(t))},o8={map:r7,forEach:r7,count:function(e){return e?De(e).length:0},only:function(e){var t=De(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:De},xl=M0.__e;M0.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}xl(e,t,r,n)};var n7=M0.unmount;function s8(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=function(n,i){for(var o in i)n[o]=i[o];return n}({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return s8(n,t,r)})),e}function a8(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return a8(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function b3(){this.__u=0,this.o=null,this.__b=null}function l8(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function u8(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return c(r,o)}return i.displayName="Lazy",i.__f=!0,i}function ft(){this.i=null,this.l=null}M0.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),n7&&n7(e)},(b3.prototype=new ce).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=l8(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=a8(l,l.__c.__P,l.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.o.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},b3.prototype.componentWillUnmount=function(){this.o=[]},b3.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]=s8(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&c(K0,null,e.fallback);return i&&(i.__u&=-33),[c(K0,null,t.__a?null:e.children),i]};var i7=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Sl(e){return this.getChildContext=function(){return e.context},e.children}function El(e){var t=this,r=e.h;t.componentWillUnmount=function(){r2(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),t.v||(t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),t.h.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.h.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}),r2(c(Sl,{context:t.context},e.__v),t.v)}function on(e,t){var r=c(El,{__v:e,h:t});return r.containerInfo=t,r}(ft.prototype=new ce).__a=function(e){var t=this,r=l8(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),i7(t,e,n)):i()};r?r(o):o()}},ft.prototype.render=function(e){this.i=null,this.l=new Map;var t=De(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},ft.prototype.componentDidUpdate=ft.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){i7(e,r,t)})};var c8=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Al=/^(?: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]/,Tl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ml=/[A-Z0-9]/g,Nl=typeof document<"u",kl=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function j4(e,t,r){return t.__k==null&&(t.textContent=""),r2(e,t),typeof r=="function"&&r(),e?e.__c:null}function d8(e,t,r){return I4(e,t),typeof r=="function"&&r(),e?e.__c:null}ce.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ce.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var o7=M0.event;function Il(){}function Ol(){return this.cancelBubble}function Rl(){return this.defaultPrevented}M0.event=function(e){return o7&&(e=o7(e)),e.persist=Il,e.isPropagationStopped=Ol,e.isDefaultPrevented=Rl,e.nativeEvent=e};var W4,Dl={enumerable:!1,configurable:!0,get:function(){return this.class}},s7=M0.vnode;M0.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var s in r){var a=r[s];if(!(s==="value"&&"defaultValue"in r&&a==null||Nl&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in r&&r.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||kl(r.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Tl.test(s)&&(s=l):l=s="oninput":o&&Al.test(s)?s=s.replace(Ml,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&i[s=l]&&(s="oninputCapture"),i[s]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=De(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=De(r.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Dl)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=c8,s7&&s7(e)};var a7=M0.__r;M0.__r=function(e){a7&&a7(e),W4=e.__c};var l7=M0.diffed;M0.diffed=function(e){l7&&l7(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),W4=null};var f8={ReactCurrentDispatcher:{current:{readContext:function(e){return W4.__n[e.__c].props.value},useCallback:$0,useContext:U0,useDebugValue:F4,useDeferredValue:B4,useEffect:L0,useId:ie,useImperativeHandle:$4,useInsertionEffect:V4,useLayoutEffect:Ce,useMemo:f0,useReducer:U2,useRef:i0,useState:S0,useSyncExternalStore:nn,useTransition:H4}}},$l="18.3.1";function h8(e){return c.bind(null,e)}function Ot(e){return!!e&&e.$$typeof===c8}function m8(e){return Ot(e)&&e.type===K0}function p8(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function q4(e){return Ot(e)?O4.apply(null,arguments):e}function g8(e){return!!e.__k&&(r2(null,e),!0)}function w8(e){return e&&(e.base||e.nodeType===1&&e)||null}var y8=function(e,t){return e(t)},K1=function(e,t){return e(t)},v8=K0,b8=Ot,Q={useState:S0,useId:ie,useReducer:U2,useEffect:L0,useLayoutEffect:Ce,useInsertionEffect:V4,useTransition:H4,useDeferredValue:B4,useSyncExternalStore:nn,startTransition:L4,useRef:i0,useImperativeHandle:$4,useMemo:f0,useCallback:$0,useContext:U0,useDebugValue:F4,version:"18.3.1",Children:o8,render:j4,hydrate:d8,unmountComponentAtNode:g8,createPortal:on,createElement:c,createContext:u1,createFactory:h8,cloneElement:q4,createRef:rn,Fragment:K0,isValidElement:Ot,isElement:b8,isFragment:m8,isMemo:p8,findDOMNode:w8,Component:ce,PureComponent:kr,memo:i8,forwardRef:U4,flushSync:K1,unstable_batchedUpdates:y8,StrictMode:v8,Suspense:b3,SuspenseList:ft,lazy:u8,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:f8};const Ir=Object.freeze(Object.defineProperty({__proto__:null,Children:o8,Component:ce,Fragment:K0,PureComponent:kr,StrictMode:v8,Suspense:b3,SuspenseList:ft,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:f8,cloneElement:q4,createContext:u1,createElement:c,createFactory:h8,createPortal:on,createRef:rn,default:Q,findDOMNode:w8,flushSync:K1,forwardRef:U4,hydrate:d8,isElement:b8,isFragment:m8,isMemo:p8,isValidElement:Ot,lazy:u8,memo:i8,render:j4,startTransition:L4,unmountComponentAtNode:g8,unstable_batchedUpdates:y8,useCallback:$0,useContext:U0,useDebugValue:F4,useDeferredValue:B4,useEffect:L0,useErrorBoundary:vl,useId:ie,useImperativeHandle:$4,useInsertionEffect:V4,useLayoutEffect:Ce,useMemo:f0,useReducer:U2,useRef:i0,useState:S0,useSyncExternalStore:nn,useTransition:H4,version:$l},Symbol.toStringTag,{value:"Module"})),Fl=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:BRSonoma;font-weight:900;src:url(/assets/BRSonoma-Black-Dd-41VER.otf) format("opentype")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/assets/BRSonoma-Bold-ntHe2u-j.otf) format("opentype")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/assets/BRSonoma-Medium-j1GGAHzV.otf) format("opentype")}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-full{left:100%}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-auto{margin-left:auto;margin-right:auto}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-\\[226px\\]{margin-top:-226px}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.size-12{width:3rem;height:3rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[118px\\]{height:118px}.h-\\[120px\\]{height:120px}.h-\\[34px\\]{height:34px}.h-\\[38px\\]{height:38px}.h-\\[52px\\]{height:52px}.h-\\[58px\\]{height:58px}.h-\\[60px\\]{height:60px}.h-\\[63px\\]{height:63px}.h-\\[72px\\]{height:72px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-\\[470px\\]{max-height:470px}.min-h-full{min-height:100%}.w-0{width:0px}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[1030px\\]{width:1030px}.w-\\[120px\\]{width:120px}.w-\\[128px\\]{width:128px}.w-\\[140px\\]{width:140px}.w-\\[148px\\]{width:148px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[480px\\]{width:480px}.w-\\[640px\\]{width:640px}.w-full{width:100%}.w-screen{width:100vw}.min-w-60{min-width:15rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[640px\\]{min-width:640px}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/4{--tw-translate-y: -25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.text-nowrap{text-wrap:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-600{border-color:var(--fl-color-primary-600)}.border-r-gray-200{--tw-border-opacity: 1;border-right-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500\\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-primary-600{background-color:var(--fl-color-primary-600)}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#a650ff\\]{--tw-gradient-from: #a650ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(166 80 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[\\#0095f2\\]{--tw-gradient-to: #0095f2 var(--tw-gradient-to-position)}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[13px\\]{padding-left:13px;padding-right:13px}.px-\\[17px\\]{padding-left:17px;padding-right:17px}.px-\\[3px\\]{padding-left:3px;padding-right:3px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.pb-0\\.5{padding-bottom:.125rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\\[3px\\]{padding-bottom:3px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-\\[13px\\]{padding-left:13px}.pr-1\\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\\[11px\\]{padding-right:11px}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-sm\\/6{font-size:.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-600{color:var(--fl-color-primary-600)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.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-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-gray-300{outline-color:#d1d5db}.outline-red-300{outline-color:#fca5a5}.ring-1{--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, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes progressBar{0%{width:0}to{width:100%}}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-1:before{content:var(--tw-content);top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\\:bg-white:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.checked\\:border-primary-600:checked{border-color:var(--fl-color-primary-600)}.checked\\:bg-primary-600:checked{background-color:var(--fl-color-primary-600)}.hover\\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:-outline-offset-2:focus{outline-offset:-2px}.focus\\:outline-blue-600:focus{outline-color:#2563eb}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-primary-500:focus{--tw-ring-color: var(--fl-color-primary-500)}.focus\\:ring-primary-600:focus{--tw-ring-color: var(--fl-color-primary-600)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-600:focus-visible{outline-color:var(--fl-color-primary-600)}.hover\\:enabled\\:bg-emerald-700:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-gray-50:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-primary-700:enabled:hover{background-color:var(--fl-color-primary-700)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:before\\:bg-gray-400:disabled:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-4{margin-top:1rem}.sm\\:block{display:block}.sm\\:flex{display:flex}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:translate-x-2{--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-end{align-items:flex-end}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:text-left{text-align:left}}@media (forced-colors: active){.forced-colors\\:appearance-auto{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.forced-colors\\:before\\:hidden:before{content:var(--tw-content);display:none}}.\\[\\&\\:not\\(\\:checked\\)\\]\\:before\\:hidden:not(:checked):before{content:var(--tw-content);display:none}`;function te(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Pl(e){return e!=null&&typeof e.GetEnumerator=="function"}function Ll(e){return e!=null&&typeof e.CompareTo=="function"}function Bl(e){return e!=null&&typeof e.Equals=="function"}function _8(e){return e!=null&&typeof e.GetHashCode=="function"}function i4(e){return e!=null&&typeof e.Dispose=="function"}function O0(e){i4(e)&&e.Dispose()}function T0(){return null}function Or(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 Hl{constructor(t){this.iter=t,this.current=T0()}"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 P0(e){return Pl(e)?e.GetEnumerator():new Hl(e[Symbol.iterator]())}function Rt(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}}}}class Vl{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 W0(e,t){return e.toString(10).padStart(t,"0")}function Ul(e,t,r){return e.toString(10).padStart(t,"0").padEnd(r,"0")}function u7(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function jl(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function de(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class Ie{static id(t){return Ie.idMap.has(t)||Ie.idMap.set(t,++Ie.count),Ie.idMap.get(t)}}Ie.idMap=new WeakMap;Ie.count=0;function Le(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function le(e){return e*2654435761|0}function C8(e){return Le(e.toString(32))}function F3(e){let t=0;const r=e.length;for(let n=0;n<r;n++){const i=e[n];t=(t<<5)+t^i}return t}function Wl(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return le(e);case"bigint":return C8(e);case"string":return Le(e);default:return le(Ie.id(e))}}function ql(e){return _8(e)?e.GetHashCode():Wl(e)}function Gl(e){return e.getTime()}function zl(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=re(e[n]);return F3(r)}function re(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return le(e);case"bigint":return C8(e);case"string":return Le(e);default:{if(_8(e))return e.GetHashCode();if(te(e))return zl(e);if(e instanceof Date)return Gl(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>re(n));return F3(r)}else return le(Ie.id(e))}}}function Rr(e){return ql(e)}function o4(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 x8(e,t){return o4(e,t,t0)}function Yl(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;r.sort(),n.sort();for(let i=0;i<r.length;i++)if(r[i]!==n[i]||!t0(e[r[i]],t[n[i]]))return!1;return!0}function t0(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:Bl(e)?e.Equals(t):te(e)?te(t)&&x8(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&S8(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Yl(e,t)}function S8(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+u7(e),n=t.getTime()+u7(t)),r===n?0:r<n?-1:1}function j2(e,t){return e===t?0:e<t?-1:1}function Zl(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,i=0;n<e.length;n++)if(i=r(e[n],t[n]),i!==0)return i;return 0}function G4(e,t){return Zl(e,t,A1)}function Kl(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 i=0,o=0;i<r.length;i++){const s=r[i];if(s!==n[i])return s<n[i]?-1:1;if(o=A1(e[s],t[s]),o!==0)return o}return 0}function A1(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Ll(e)?e.CompareTo(t):te(e)?te(t)?G4(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?S8(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Kl(e,t):-1}function v(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function Jl(e){te(e)?e.splice(0):e.clear()}const sn=new WeakMap;function J0(e){if(e==null)return null;const t=(r,n)=>e(r)(n);return sn.set(t,e),t}function Je(e){return sn.get(e)??(t=>r=>e(t,r))}function s4(e){if(e==null)return null;const t=(r,n,i)=>e(r)(n)(i);return sn.set(t,e),t}function Gn(e){return sn.get(e)??(t=>r=>n=>e(t,r,n))}function Xl(e){let t=0,r="[";for(const n of e){if(t===0)r+=n1(n);else if(t===100){r+="; ...";break}else r+="; "+n1(n);t++}return r+"]"}function n1(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 Xl(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+n1(o,t+1)).join(`
|
|
2
|
+
`)+" }":(n==null?void 0:n.name)??""}}return String(e)}function Ql(e,t){if(t.length===0)return e;{let r,n=!0;return t.length===1?(r=n1(t[0]),n=r.indexOf(" ")>=0):r=t.map(i=>n1(i)).join(", "),e+(n?" (":" ")+r+(n?")":"")}}class j{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Ql(this.name,this.fields)}GetHashCode(){const t=this.fields.map(r=>re(r));return t.splice(0,0,le(this.tag)),F3(t)}Equals(t){return this===t?!0:Or(this,t)&&this.tag===t.tag?x8(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Or(this,t)?this.tag===t.tag?G4(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function eu(e){const t={},r=Object.keys(e);for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];return t}function tu(e){return"{ "+Object.entries(e).map(([t,r])=>t+" = "+n1(r)).join(`
|
|
3
|
+
`)+" }"}function ru(e){const t=Object.values(e).map(r=>re(r));return F3(t)}function nu(e,t){if(e===t)return!0;if(Or(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!t0(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function iu(e,t){if(e===t)return 0;if(Or(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const i=A1(e[r[n]],t[r[n]]);if(i!==0)return i}return 0}else return-1}class E0{toJSON(){return eu(this)}toString(){return tu(this)}GetHashCode(){return ru(this)}Equals(t){return nu(this,t)}CompareTo(t){return iu(this,t)}}class S1{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,r){typeof r=="function"?(this.getter=t,this.setter=r):(this.getter=()=>t,this.setter=n=>{t=n})}}class ou{constructor(t){this.message=t}}function su(e){return e instanceof ou||e instanceof Error}function au(e){return e instanceof Promise}function Dr(e){return su(e)||au(e)?e:new Error(String(e))}const z4=n1(Fl),Dt=Symbol("numeric");function E8(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Dt])}function lu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function a4(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[Dt]().multiply(t)}function Cr(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[Dt]().toFixed(t)}function $r(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[Dt]().toPrecision(t)}function Fr(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[Dt]().toExponential(t)}function Pr(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Dt]().toHex()}const uu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],cu=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],du=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fu=["January","February","March","April","May","June","July","August","September","October","November","December"];function W1(e,t,r){let n=0,i=t;for(;i<e.length&&e[i]===r;)i++,n++;return n}function c7(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function hu(e,t){let r=t;const n=e[t];let i="",o=!1;for(;t<e.length;){t++;const s=e[t];if(s===n){o=!0;break}else if(s==="\\")if(t<e.length)t++,i+=e[t];else throw new Error("Invalid string format");else i+=s}if(!o)throw new Error(`Invalid string format could not find matching quote for ${n}`);return[i,t-r+1]}function Y4(e,t,r){let n=0,i=0,o="";const s=r?P3(e.getTime(),1):e;for(;n<t.length;){const a=t[n];switch(a){case"d":switch(i=W1(t,n,"d"),n+=i,i){case 1:o+=f7(s);break;case 2:o+=W0(f7(s),2);break;case 3:o+=uu[p7(s)];break;case 4:o+=cu[p7(s)];break}break;case"f":if(i=W1(t,n,"f"),n+=i,i<=3){const y=10**(3-i);o+=W0(Math.floor(lr(s)/y),i)}else i<=7&&(o+=(""+lr(s)).padEnd(i,"0"));break;case"F":if(i=W1(t,n,"F"),n+=i,i<=3){const y=10**(3-i),_=Math.floor(lr(s)/y);_!=0&&(o+=W0(_,i))}else if(i<=7){const y=lr(s);y!=0&&(o+=W0(y,3))}break;case"g":i=W1(t,n,"g"),n+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=W1(t,n,"h"),n+=i,i){case 1:o+=ar(s)%12;break;case 2:o+=W0(ar(s)%12,2);break}break;case"H":switch(i=W1(t,n,"H"),n+=i,i){case 1:o+=ar(s);break;case 2:o+=W0(ar(s),2);break}break;case"K":switch(i=W1(t,n,"K"),n+=i,i){case 1:switch(d7(s)){case 1:o+="Z";break;case 2:o+=mt(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=W1(t,n,"m"),n+=i,i){case 1:o+=h7(s);break;case 2:o+=W0(h7(s),2);break}break;case"M":switch(i=W1(t,n,"M"),n+=i,i){case 1:o+=ur(s);break;case 2:o+=W0(ur(s),2);break;case 3:o+=du[ur(s)-1];break;case 4:o+=fu[ur(s)-1];break}break;case"s":switch(i=W1(t,n,"s"),n+=i,i){case 1:o+=m7(s);break;case 2:o+=W0(m7(s),2);break}break;case"t":switch(i=W1(t,n,"t"),n+=i,i){case 1:o+=s.getHours()<12?"A":"P";break;case 2:o+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(i=W1(t,n,"y"),n+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=W0(s.getFullYear()%100,2);break;case 3:o+=W0(s.getFullYear(),3);break;case 4:o+=W0(s.getFullYear(),4);break;case 5:o+=W0(s.getFullYear(),5);break}break;case"z":i=W1(t,n,"z"),n+=i;let l="";switch(d7(s)){case 1:l="+00:00";break;case 2:l=mt(s.getTimezoneOffset()*-6e4);break;case 0:l=mt(Cu(s).getTimezoneOffset()*-6e4);break}const u=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${u}${d}`;break;case 2:o+=`${u}${W0(d,2)}`;break;default:o+=`${u}${W0(d,2)}:${W0(f,2)}`;break}break;case":":o+=":",n++;break;case"/":o+="/",n++;break;case"'":case'"':const[p,h]=hu(t,n);o+=p,n+=h;break;case"%":const m=c7(t,n);if(m>=0&&m!==37)n+=2,o+=Y4(s,String.fromCharCode(m),r);else throw new Error("Invalid format string");break;case"\\":const g=c7(t,n);if(g>=0)n+=2,o+=String.fromCharCode(g);else throw new Error("Invalid format string");break;default:n++,o+=a;break}}return o}function d7(e){return e.kind||0}function mt(e){const t=e<0;e=Math.abs(e);const r=~~(e/36e5),n=e%36e5/6e4;return(t?"-":"+")+W0(r,2)+":"+W0(n,2)}function Lr(e,t){const r=e.toISOString();return t==="first"?r.substring(0,r.indexOf("T")):r.substring(r.indexOf("T")+1,r.length-1)}function mu(e,t){if(t)return e.toISOString();{const r=e.kind==null?!0:e.kind===2;return W0(e.getFullYear(),4)+"-"+W0(e.getMonth()+1,2)+"-"+W0(e.getDate(),2)+"T"+W0(e.getHours(),2)+":"+W0(e.getMinutes(),2)+":"+W0(e.getSeconds(),2)+"."+W0(e.getMilliseconds(),3)+(r?mt(e.getTimezoneOffset()*-6e4):"")}}function pu(e,t){const r=e.toISOString();return r.substring(0,r.length-1)+mt(t)}function gu(e,t){const r=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return r.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+mt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return Lr(r,"first");case"T":case"t":return Lr(r,"second");case"O":case"o":return pu(r,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Y4(r,t,!0)}function wu(e,t){const r=e.kind===1;if(typeof t!="string")return r?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return r?Lr(e,"first"):e.toLocaleDateString();case"T":case"t":return r?Lr(e,"second"):e.toLocaleTimeString();case"O":case"o":return mu(e,r);default:throw new Error("Unrecognized Date print format")}else return Y4(e,t,r)}function an(e,t,r){return e.offset!=null?gu(e,t):wu(e,t)}function P3(e,t){const r=new Date(e);return r.kind=(t??0)|0,r}function yu(){return P3(-621355968e5,1)}function A8(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 r=new Date(e),n=null;if(isNaN(r.getTime())){const i=/^\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(i!=null){let o,s=0;if(i[2]!=null){const a=i[2].split(":"),l=parseInt(a[0],10);s=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),i[3]!=null&&i[3].toUpperCase()==="PM"&&l<12&&(s+=720)}if(i[4]!=null){if(i[1]!=null)o=new Date(i[1]+" UTC");else{const a=new Date;o=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(i[4]==="Z")n="Z";else{let a=parseInt(i[5],10)*60+parseInt(i[6]||"0",10);i[4][0]==="-"&&(a*=-1),n=a,s-=a*60}}else if(i[1]!=null)o=new Date(i[1]);else{const a=new Date;o=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}r=new Date(o.getTime()+s*1e3),r=new Date(r.getTime()+(r.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(r.getTime())&&t()}return[r,n]}function vu(e,t=!1){const[r,n]=A8(e),i=n!=null?t&&n==="Z"?1:2:0;return P3(r.getTime(),i)}function bu(e,t){try{return t.contents=vu(e),!0}catch{return!1}}function _u(e){return e.kind===1?e:P3(e.getTime(),1)}function Cu(e){return e.kind===2?e:P3(e.getTime(),2)}function f7(e){return e.kind===1?e.getUTCDate():e.getDate()}function ar(e){return e.kind===1?e.getUTCHours():e.getHours()}function lr(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function h7(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function ur(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function m7(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function p7(e){return e.kind===1?e.getUTCDay():e.getDay()}function xu(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let r="gu";return r+=t&1?"i":"",r+=t&2?"m":"",r+=t&16?"s":"",new RegExp(e,r)}function ln(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function g7(e,t,r=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=r;const n=[];let i,o=-1;for(;(i=e.exec(t))!=null;)i.index===o?e.lastIndex++:(o=i.index,n.push(i));return n}function un(e,t,r,n,i=0){function o(){let s=arguments[0];if(n){n--;const a=[],l=arguments.length,u=typeof arguments[l-1]!="string";let d=u?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],u&&(a.groups=arguments[d]),s=r(a)}return s}if(typeof e=="string"){const s=e;e=xu(t,n??0),t=s,n=void 0}if(typeof r=="function")return n=n??-1,t.substring(0,i)+t.substring(i).replace(e,o);if(r=r.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),n!=null){let s;const a=t.substring(i),l=g7(e,a),u=g7.length>n?(s=l[n-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+u.replace(e,r)+t.substring(i+u.length)}else return t.replace(e,r)}const r3=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Su=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function T8(e,t){return lu(e,t)<0}function Eu(e,t,r){return e==null?t==null?0:-1:t==null?1:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e<t?-1:1)}function Au(e,t,r){return e.length>=t.length?Eu(e.substr(e.length-t.length,t.length),t)===0:!1}function Be(e){return{input:e,cont:Mu(e)}}function M8(e,t){return typeof t=="string"?e(t):t.cont(e)}function O2(e){return M8(t=>t,e)}function N8(e){return M8(t=>{throw new Error(t)},e)}function Tu(e,t,r,n,i){let o="";if(t=t||"",i=i||"",E8(e))switch(i.toLowerCase()!=="x"&&(T8(e,0)?(e=a4(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),n=n==null?null:parseInt(n,10),i){case"f":case"F":n=n??6,e=Cr(e,n);break;case"g":case"G":e=n!=null?$r(e,n):$r(e);break;case"e":case"E":e=n!=null?Fr(e,n):Fr(e);break;case"x":e=Pr(e);break;case"X":e=Pr(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=an(e):e=n1(e);if(r=typeof r=="number"?r:parseInt(r,10),isNaN(r))e=o+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!s?" ":"0";l==="0"?(e=E3(e,r-o.length,l,a),e=o+e):e=E3(o+e,r,l,a)}return e}function k8(e,t,r,n="",i=-1){return(...o)=>{let s=n;const a=t.slice(),l=r.slice();for(const u of o){const[,,d,f,p,h]=l[0];let m=f;if(i>=0)m=i,i=-1;else if(m==="*"){if(u<0)throw new Error("Non-negative number required");i=u;continue}s+=a[0],s+=Tu(u,d,m,p,h),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):k8(e,a,l,s,i)}}function Mu(e){return t=>{r3.lastIndex=0;const r=[],n=[];let i=0,o=r3.exec(e);for(;o;){const s=o.index+(o[1]||"").length;r.push(e.substring(i,s).replace(/%%/g,"%")),n.push(o),i=r3.lastIndex,r3.lastIndex-=1,o=r3.exec(e)}return r.length===0?t(e.replace(/%%/g,"%")):(r.push(e.substring(i).replace(/%%/g,"%")),k8(t,r,n))}}function Z4(e,...t){let r;return typeof e=="object"?(r=String(t[0]),t.shift()):r=e,r.replace(Su,(n,i,o,s,a,l)=>{if(i<0||i>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[i];if(E8(u))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,u=Cr(u,a);break;case"g":case"G":u=a!=null?$r(u,a):$r(u);break;case"e":case"E":u=a!=null?Fr(u,a):Fr(u);break;case"p":case"P":a=a??2,u=Cr(a4(u,100),a)+" %";break;case"d":case"D":u=a!=null?zn(String(u),a,"0"):String(u);break;case"x":case"X":u=a!=null?zn(Pr(u),a,"0"):Pr(u),s==="X"&&(u=u.toUpperCase());break;default:if(l){let d="";u=l.replace(/([0#,]+)(\.[0#]+)?/,(f,p,h)=>{T8(u,0)&&(u=a4(u,-1),d="-"),h=h==null?"":h.substring(1),u=Cr(u,Math.max(h.length,0));let[m,g]=u.split(".");g||(g="");const y=p.replace(/,/g,"").replace(/^#+/,"").length;m=zn(m,y,"0");const _=h.replace(/#+$/,"").length;if(_>g.length?g=Nu(g,_,"0"):_<g.length&&(g=g.substring(0,_)+g.substring(_).replace(/0+$/,"")),p.indexOf(",")>0){const C=m.length%3,E=Math.floor(m.length/3);let M=C>0?m.substr(0,C)+(E>0?",":""):"";for(let O=0;O<E;O++)M+=m.substr(C+O*3,3)+(O<E-1?",":"");m=M}return g.length>0?m+"."+g:m}),u=d+u}}else u instanceof Date?u=an(u,l||s):u=n1(u);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(u=E3(String(u),Math.abs(o)," ",o<0)),u})}function K4(e){return typeof e!="string"||e.length===0}function $t(e){return typeof e!="string"||/^\s*$/.test(e)}function T1(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function E3(e,t,r,n){r=r||" ",t=t-e.length;for(let i=0;i<t;i++)e=n?e+r:r+e;return e}function zn(e,t,r){return E3(e,t,r)}function Nu(e,t,r){return E3(e,t,r,!0)}function I8(e,t,r){return e.replace(new RegExp(ln(t),"g"),r)}function O8(e,t,r,n){if(r=typeof r=="number"?r:void 0,n=typeof n=="number"?n:0,r&&r<0)throw new Error("Count cannot be less than zero");if(r===0)return[];const i=(n&1)===1,o=(n&2)===2;t=t||[],t=t.filter(d=>d).map(ln),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,u=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(u).trim():e.substring(u);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(u,d.index).trim():e.substring(u,d.index);(!i||f.length>0)&&(r!=null&&s.length+1===r?(s.push(o?e.substring(u).trim():e.substring(u)),l=!1):s.push(f)),u=a.lastIndex}}while(l);return s}function R8(e,...t){if(t.length===0)return e.trim();const r="["+ln(t.join(""))+"]+";return e.replace(new RegExp("^"+r),"").replace(new RegExp(r+"$"),"")}function J4(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+ln(t.join(""))+"]+$"),"")}function ku(e,t,r){if(t+(r||0)>e.length)throw new Error("Invalid startIndex and/or length");return r!=null?e.substr(t,r):e.substr(t)}class R2{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return re(this.value)}Equals(t){return t==null?!1:t0(this.value,t instanceof R2?t.value:t)}CompareTo(t){return t==null?1:A1(this.value,t instanceof R2?t.value:t)}}function B(e){if(e==null)throw new Error("Option has no value");return e instanceof R2?e.value:e}function w3(e){return e instanceof R2?e.value:e}function f1(e){return e==null||e instanceof R2?new R2(e):e}function D8(e){return e==null?null:B(e)}function Ft(e){return e==null?[]:[B(e)]}function Q0(e,t){return e!=null?B(e):t}function Iu(e,t){return e!=null?B(e):t()}function C1(e,t){return t!=null?f1(e(B(t))):void 0}function Ou(e,t){return t!=null?e(B(t)):void 0}class Ru{constructor(t,r,n,i){this.declaringType=t,this.tag=r,this.name=n,this.fields=i}}class j1{constructor(t,r,n,i,o,s,a){this.fullname=t,this.generics=r,this.construct=n,this.parent=i,this.fields=o,this.cases=s,this.enumCases=a}toString(){return X0(this)}GetHashCode(){return $8(this)}Equals(t){return l4(this,t)}}function Z1(e){return e.generics!=null?e.generics:[]}function $8(e){const t=Le(e.fullname),r=Z1(e).map($8);return F3([t,...r])}function l4(e,t){return e.fullname===""?t.fullname===""&&o4(T3(e),T3(t),([r,n],[i,o])=>r===i&&l4(n,o)):e.fullname===t.fullname&&o4(Z1(e),Z1(t),l4)}function n2(e,t,r,n){return new j1(e,t,r,n)}function O1(e,t,r,n){return new j1(e,t,r,void 0,n)}function ze(...e){return new j1("",void 0,void 0,void 0,()=>e)}function L3(e,t,r,n){const i=new j1(e,t,r,void 0,void 0,()=>{const o=r.prototype.cases();return n().map((s,a)=>new Ru(i,a,o[a],s))});return i}function N2(e){return new j1("Microsoft.FSharp.Core.FSharpOption`1",[e])}function i2(e){return new j1("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Du=new j1("System.Object"),D1=new j1("System.String"),A3=new j1("System.Boolean"),Z0=new j1("System.Int32");function pt(e){if(Array.isArray(e))return e[0];if(e instanceof j1){const t=B3(e);if(t!=null)return pt(t)+"[]";{const r=e.fullname.lastIndexOf(".");return r===-1?e.fullname:e.fullname.substr(r+1)}}else return e.name}function X0(e){const t=B3(e);return t!=null?X0(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(r=>X0(r)).join(",")+"]"}function F8(e){return B3(e)!=null}function B3(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function P8(e){return e.generics!=null&&e.generics.length>0}function X4(e){return e.enumCases!=null&&e.enumCases.length>0}function L8(e){return e.generics==null?e:new j1(e.fullname,e.generics.map(()=>Du))}function B8(e){var t;return(t=e.generics)==null?void 0:t[0]}function J2(e){if(X4(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function $u(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const r of e.enumCases)if(r[0]===t)return r;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const r of e.enumCases)if(r[1]===t)return r;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function X2(e,t){const r=parseInt(t,10);return $u(e,isNaN(r)?t:r)[1]}function H8(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function T3(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function V8(e){if(Q4(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function U8(e){return e instanceof j1?e.cases!=null:e instanceof j}function j8(e){return e instanceof j1?e.fields!=null:e instanceof E0}function Q4(e){return e.fullname.startsWith("System.Tuple")}function Fu(e,t){const n=H8(t)[e.tag];if(n==null)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function W8(e){return e.fields==null?[]:e.fields}function Pu(e,t){return e[t[0]]}function Lu(e,t){const r=(e.fields||[]).length;if(t.length!==r)throw new Error(`Expected an array of length ${r} but got ${t.length}`);const n=e.declaringType.construct;return n==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new n(...t):new n(e.tag,t)}function Bu(e,t){const r=T3(e);if(r.length!==t.length)throw new Error(`Expected an array of length ${r.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):r.reduce((n,[i,o],s)=>(n[i]=t[s],n),{})}function Hu(e,t){return e}const q8="Collection was empty.",Vu="The input must be non-negative.",G8="The input sequence has an insufficient number of elements.";function Et(e,t){return new Array(t)}function w7(e,t){return e>t?e:t}function y7(e,t){return e<t?e:t}function z8(e,t,r){const n=e.length|0,i=t.length|0,o=Et(r,n+i);for(let s=0;s<=n-1;s++)I1(o,s,g0(s,e));for(let s=0;s<=i-1;s++)I1(o,s+n,g0(s,t));return o}function H3(e,t,r,n){const i=t|0;return e.fill(n,i,i+r)}function Uu(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return g0(e.length-1,e)}function Y8(e,t,r){const n=t.length|0,i=Et(r,n);for(let o=0;o<=n-1;o++)I1(i,o,e(o,g0(o,t)));return i}function t1(e,t,r){const n=t.length|0,i=Et(r,n);for(let o=0;o<=n-1;o++)I1(i,o,e(g0(o,t)));return i}function Br(e,t){const r=Array.isArray(e)?e:Array.from(e);switch(r.length|0){case 0:return Et(t,0);case 1:return g0(0,r);default:{let i=0,o=0;for(let a=0;a<=r.length-1;a++){const l=g0(a,r);o=o+l.length|0}const s=Et(t,o);for(let a=0;a<=r.length-1;a++){const l=g0(a,r);for(let u=0;u<=l.length-1;u++)I1(s,i,g0(u,l)),i=i+1|0}return s}}}function ju(e,t,r,n,i){const o=Q0(r,0)|0,s=Q0(C1(l=>o+l,n),e.length)|0;return(l=>{e:for(;;){const u=l;if(u>=s)return-1;if(i.Equals(t,g0(u,e)))return u|0;l=u+1;continue e}})(o)|0}function W2(e,t,r){return ju(t,e,void 0,void 0,r)>=0}function Wu(e,t){const r=Et(t,1);return I1(r,0,e),r}function qu(e){return e.slice().reverse()}function cn(e,t){return t.find(e)}function V1(e,t,r){const n=[];for(let i=0;i<=t.length-1;i++){const o=e(g0(i,t));if(o!=null){const s=B(o);n.push(s)}}return t0(r,T0())?n:t1(i=>i,n,r)}function dn(e,t,r){const n=e;return r.reduce(n,t)}function Gu(e,t){const r=e.slice();return r.sort((n,i)=>t.Compare(n,i)),r}function zu(e,t,r){const n=t.slice();return n.sort((i,o)=>r.Compare(e(i),e(o))),n}function D2(e,t,r){if(t==null)return r==null;if(r==null)return!1;{let n=0,i=!0;const o=t.length|0,s=r.length|0;if(o>s)return!1;if(o<s)return!1;for(;n<o&&i;)i=e(g0(n,t),g0(n,r)),n=n+1|0;return i}}function v7(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return g0(0,e)}function Yu(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function g0(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function I1(e,t,r){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=r}function Z8(e,t){if(!(e<0||e>=t.length))return f1(t[e])}function K8(e,t,r){return t.reduceRight((n,i)=>e(i,n),r)}class _1 extends E0{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+T1("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const d=B(l),f=B(u);if(t0(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return u==null}})(r,t)}GetHashCode(){return((n,i,o)=>{e:for(;;){const s=n,a=i,l=o,u=l.tail;if(u!=null){const d=B(u);if(s>18)return a|0;n=s+1,i=(a<<1)+re(l.head)+631*s,o=d;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const d=B(l),f=B(u),p=A1(s.head,a.head)|0;if(p===0){i=d,o=f;continue e}else return p|0}else return 1;else return u!=null?-1:0}})(this,t)|0}GetEnumerator(){return Ku(this)}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return P0(this)}}class Zu{constructor(t){this.xs=t,this.it=this.xs,this.current=T0()}"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=B(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=T0()}Dispose(){}}function Ku(e){return new Zu(e)}function e1(){return new _1(T0(),void 0)}function V3(e,t){return new _1(e,t)}function be(e){return e.tail==null}function J8(e){return((r,n)=>{e:for(;;){const i=r,s=n.tail;if(s!=null){r=i+1,n=B(s);continue e}else return i|0}})(0,e)|0}function o2(e){if(e.tail!=null)return e.head;throw new Error(q8+"\\nParameter name: list")}function g1(e){const t=e.tail;if(t!=null)return B(t);throw new Error(q8+"\\nParameter name: list")}function l1(){return e1()}function X1(e,t){return V3(e,t)}function u0(e){return V3(e,e1())}function k0(e){return be(e)}function Q1(e){return J8(e)}function l0(e){return o2(e)}function R0(e){return g1(e)}function f2(e){const t=J8(e)|0,r=H3(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!be(a)){I1(r,s,o2(a)),i=s+1,o=g1(a);continue e}break}})(0,e),r}function xe(e,t,r){let n=t,i=r;for(;!be(i);)n=e(n,l0(i)),i=g1(i);return n}function e6(e){return xe((t,r)=>V3(r,t),e1(),e)}function Ju(e,t,r){return K8(e,f2(t),r)}function Xu(e,t,r){return((i,o,s)=>{e:for(;;){const a=i,l=o,u=s;if(be(u))return l;i=a+1,o=e(a,l,o2(u)),s=g1(u);continue e}})(0,t,r)}function M3(e,t){xe((r,n)=>{e(n)},void 0,t)}function i1(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=V3(g0(n,e),r);return r}function w(e){return i1(e,e1())}function Qu(e){let t,r;if(te(e))return w(e);if(e instanceof _1)return e;{const n=e1();let i=n;const o=P0(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,r=new _1(l,void 0),t.tail=r,r)}}finally{O0(o)}const s=i,a=e1();return s.tail=a,g1(n)}}function ec(e){const t=e1();let r=t;const n=s=>{r=xe((a,l)=>{const u=new _1(l,void 0);return a.tail=u,u},r,s)};if(te(e))e.forEach(n);else if(e instanceof _1)M3(n,e);else{const s=P0(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)n(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{O0(s)}}const i=r,o=e1();return i.tail=o,g1(t)}function U3(e,t){return xe((r,n)=>V3(n,r),t,e6(e))}function tc(e,t){let r,n;const i=e1();let o=i,s=t;for(;!be(s);){let u=e(o2(s));for(;!be(u);)o=(r=o,n=new _1(o2(u),void 0),r.tail=n,n),u=g1(u);s=g1(s)}const a=o,l=e1();return a.tail=l,g1(i)}function t6(e,t){const r=e1(),n=Xu((o,s,a)=>{const l=new _1(e(o,a),void 0);return s.tail=l,l},r,t),i=e1();return n.tail=i,g1(r)}function s2(e,t){const r=e1(),n=xe((o,s)=>{const a=new _1(e(s),void 0);return o.tail=a,a},r,t),i=e1();return n.tail=i,g1(r)}function rc(e,t){return(n=>{e:for(;;){const i=n;if(be(i))return;{const o=e(o2(i));if(o==null){n=g1(i);continue e}else return o}}})(t)}function X8(e,t){return rc(r=>e(r)?f1(r):void 0,t)}function nc(e,t){return((n,i)=>{e:for(;;){const o=n,s=i;if(be(s))return;if(e(o2(s)))return o;n=o+1,i=g1(s);continue e}})(0,t)}function Oe(e,t){const r=e1(),n=xe((o,s)=>{if(e(s)){const a=new _1(s,void 0);return o.tail=a,a}else return o},r,t),i=e1();return n.tail=i,g1(r)}function ic(e,t){const r=e1(),n=e1(),i=r,o=xe((l,u)=>{let d,f;const p=l[0],h=l[1];return e(u)?[(d=new _1(u,void 0),p.tail=d,d),h]:[p,(f=new _1(u,void 0),h.tail=f,f)]},[i,n],t),s=e1();o[0].tail=s;const a=e1();return o[1].tail=a,[g1(i),g1(n)]}function oc(e,t){const r=e1(),n=xe((o,s)=>{const a=e(s);if(a==null)return o;{const l=new _1(B(a),void 0);return o.tail=l,l}},r,t),i=e1();return n.tail=i,g1(r)}function r6(e,t){return nc(e,t)!=null}function Q8(e,t){const r=f2(t);return r.sort(e),w(r)}function sc(e,t,r){return Q8((n,i)=>r.Compare(e(n),e(i)),t)}function ac(e,t,r){return Q8((n,i)=>r.Compare(e(n),e(i))*-1,t)}function es(e,t){e:for(;;){const r=e,n=t;if(r<=0)return n;if(be(n))throw new Error(G8+"\\nParameter name: list");e=r-1,t=g1(n);continue e}}function ts(e,t){if(e<0)throw new Error(Vu+"\\nParameter name: count");const r=(s,a,l)=>{let u;e:for(;;){const d=s,f=a,p=l;if(d<=0)return f;if(be(p))throw new Error(G8+"\\nParameter name: list");s=d-1,a=(u=new _1(o2(p),void 0),f.tail=u,u),l=g1(p);continue e}},n=e1(),i=r(e,n,t),o=e1();return i.tail=o,g1(n)}function lc(e,t,r){const n=Q1(r)|0;let i;const o=Q0(e,0)|0;i=o<0?0:o;let s;const a=Q0(t,n-1)|0;return s=a>=n?n-1:a,s<i?e1():ts(s-i+1,es(i,r))}const b=Q;function uc(e){const t=w([c("style",{children:[z4]}),c("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return c("div",{children:b.Children.toArray(Array.from(t))})}function cc(e){throw new Error(e)}const dc="Enumeration already finished.",fc="Enumeration has not started. Call MoveNext.",rs="The input sequence has an insufficient number of elements.",hc="Reset is not supported on this enumerator.";function mc(){throw new Error(hc)}function n6(){throw new Error(fc)}function u4(){throw new Error(dc)}class pc{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const i=P0(t);try{for(;r<4&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+n1(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{O0(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function gc(e){return new pc(e)}class wc{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"(){mc()}Dispose(){this.dispose()}}function fn(e,t,r){return new wc(e,t,r)}function yc(e){let t,r,n=!1,i=!1,o;const s=()=>{if(i=!0,r!=null){const a=B(r);try{O0(a)}finally{r=void 0}}if(t!=null){const a=B(t);try{O0(a)}finally{t=void 0}}};return fn(()=>(n?i&&u4():n6(),o!=null?B(o):u4()),()=>{let a;if(n||(n=!0),i)return!1;{let l;for(;l==null;){const u=t,d=r;if(u!=null)if(d!=null){const f=B(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=f1(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{O0(f)}finally{r=void 0}}else{const f=B(u);f["System.Collections.IEnumerator.MoveNext"]()?r=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),P0(a)):(s(),l=!1)}else t=P0(e)}return B(l)}},()=>{i||s()})}function vc(e,t){return fn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{O0(t)}finally{}})}function ns(e,t,r){let n=!1,i,o=f1(e());const s=()=>{if(o!=null){const l=B(o);try{r(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return fn(()=>(n||n6(),i!=null?B(i):u4()),()=>{if(n||(n=!0),o!=null){const l=B(o);let u;try{u=t(l)}catch(d){throw a(),d}return u!=null?(i=u,!0):(a(),!1)}else return!1},s)}function bc(e,t){let r,n=t;return fn(()=>{if(r!=null){const i=B(r)[0];return B(r)[1],i}else return n6()},()=>(r=e(n),r!=null?(B(r)[0],n=B(r)[1],!0):!1),()=>{})}function _c(e,t){t==null&&cc(e)}function Pt(e){return gc(e)}function ne(e){return _c("source",e),P0(e)}function k(e){return Pt(()=>P0(e()))}function hn(e){return Pt(()=>yc(e))}function Cc(e,t){return Pt(()=>bc(e,t))}function c1(){return k(()=>new Array(0))}function T(e){return k(()=>Wu(e))}function He(e){return e instanceof _1?f2(e):Array.from(e)}function G(e){return te(e)?w(e):e instanceof _1?e:Qu(e)}function i6(e,t,r){return Pt(()=>ns(e,t,r))}function is(e,t,r){return Pt(()=>{let n=-1;return ns(e,i=>(n=n+1|0,t(n,i)),r)})}function H(e,t){return hn([e,t])}function xc(e,t){return i6(()=>ne(t),r=>{let n;for(;n==null&&r["System.Collections.IEnumerator.MoveNext"]();)n=e(r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n},r=>{O0(r)})}function Sc(e,t,r){const n=ne(t);try{const i=ne(r);try{let o=0,s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&s&&a;)o=e(n["System.Collections.Generic.IEnumerator`1.get_Current"](),i["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:s?1:a?-1:0)|0}finally{O0(i)}}finally{O0(n)}}function Q2(e,t,r){const n=ne(t);try{let i=!1;for(;!i&&n["System.Collections.IEnumerator.MoveNext"]();)i=r.Equals(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{O0(n)}}function mn(e,t){return xc(r=>{if(e(r))return f1(r)},t)}function j3(e,t,r){const n=ne(r);try{let i=t;for(;n["System.Collections.IEnumerator.MoveNext"]();)i=e(i,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{O0(n)}}function je(e,t){j3((r,n)=>{e(n)},void 0,t)}function os(e,t){j3((r,n)=>(e(r,n),r+1|0),0,t)}function Ec(e){if(te(e))return e.length|0;if(e instanceof _1)return Q1(e)|0;{const t=ne(e);try{let r=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)r=r+1|0;return r|0}finally{O0(t)}}}function V0(e,t){return i6(()=>ne(t),r=>r["System.Collections.IEnumerator.MoveNext"]()?f1(e(r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{O0(r)})}function Ac(e,t){return is(()=>ne(t),(r,n)=>n["System.Collections.IEnumerator.MoveNext"]()?f1(e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{O0(r)})}function Tc(e,t,r){return i6(()=>[ne(t),ne(r)],n=>{const i=n[0],o=n[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?f1(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},n=>{try{O0(n[0])}finally{O0(n[1])}})}function Mc(e){return k(()=>qu(He(e)))}function Nc(e,t){return Pt(()=>{const r=ne(t);try{for(let n=1;n<=e;n++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(rs+"\\nParameter name: source");return vc(()=>{},r)}catch(n){throw O0(r),n}})}function kc(e,t){return is(()=>ne(t),(r,n)=>{if(r<e){if(n["System.Collections.IEnumerator.MoveNext"]())return f1(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(rs+"\\nParameter name: source")}else return},r=>{O0(r)})}function Ic(e,t){return Tc((r,n)=>[r,n],e,t)}function pn(e,t){return k(()=>hn(V0(e,t)))}const ss=(e,t)=>{L0(()=>{const r=e();return()=>{r.Dispose()}},t)},Oc=e=>{Ce(()=>{const t=e();return()=>{t.Dispose()}})};function Rc(e){return{Dispose(){je(t=>{O0(t)},Ft(e))}}}class as{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 r=this._id;return this._listeners.set(this._id++,t),r}removeListener(t){return this._listeners.delete(t)}register(t,r){const n=this,i=this.addListener(r==null?t:()=>t(r));return{Dispose(){n.removeListener(i)}}}Dispose(){}}class gn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,gn.prototype)}}class o6{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>o6.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function Re(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new gn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(r){t.onError(Dr(r))}});else try{e(t)}catch(r){t.onError(Dr(r))}}}function Dc(e,t){return Re(r=>{e({onSuccess:n=>{try{t(n)(r)}catch(i){r.onError(Dr(i))}},onError:r.onError,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function $c(e){return Re(t=>t.onSuccess(e))}class Fc{Bind(t,r){return Dc(t,r)}Combine(t,r){return this.Bind(t,()=>r)}Delay(t){return Re(r=>t()(r))}For(t,r){const n=t[Symbol.iterator]();let i=n.next();return this.While(()=>!i.done,this.Delay(()=>{const o=r(i.value);return i=n.next(),o}))}Return(t){return $c(t)}ReturnFrom(t){return t}TryFinally(t,r){return Re(n=>{t({onSuccess:i=>{r(),n.onSuccess(i)},onError:i=>{r(),n.onError(i)},onCancel:i=>{r(),n.onCancel(i)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(t,r){return Re(n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:i=>{try{r(i)(n)}catch(o){n.onError(Dr(o))}}})})}Using(t,r){return this.TryFinally(r(t),()=>t.Dispose())}While(t,r){return t()?this.Bind(r,()=>this.While(t,r)):this.Return(void 0)}Zero(){return Re(t=>t.onSuccess(void 0))}}const z=new Fc;function Pc(e){return new ls(0,[e])}function Lc(e){return new ls(1,[e])}class ls extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Choice1Of2","Choice2Of2"]}}function Bc(e){return Pc(e)}function Hc(e){return Lc(e)}function Yn(e){}function Vc(e){return new as(!1)}function Uc(e){e.cancel()}function jc(e){return e!=null&&e.isCancelled}const Wc=new as;function qc(e){return Re(t=>{e({onSuccess:r=>t.onSuccess(Bc(r)),onError:r=>t.onSuccess(Hc(r)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Gc(e){return Re(t=>e([t.onSuccess,t.onError,t.onCancel]))}function us(e){return Re(t=>{let r;const n=setTimeout(()=>{t.cancelToken.removeListener(r),t.onSuccess(void 0)},e);r=t.cancelToken.addListener(()=>{clearTimeout(n),t.onCancel(new gn)})})}function zc(e,t){return Yc(e,t)}function Lt(e,t){return zc(e,t)}function Yc(e,t,r,n,i){typeof t!="function"&&(i=t,t=void 0);const o=new o6;e({onSuccess:t||Yn,onError:Yn,onCancel:Yn,cancelToken:i||Wc,trampoline:o})}function Zc(e,t){return t}function Kc(e,t,r,n){const i=b.memo(e,J0(Q0(C1(Je,r),T0())));return je(o=>{e.displayName=o},Ft(t)),o=>{const s=Zc(n,o);return b.createElement(i,s)}}function s6(e){return{Dispose(){e()}}}function wn(e){const t=b.useRef(!1);b.useEffect(()=>{t.current||(t.current=!0,e())},[])}function cs(e){const t=b.useRef(void 0),r=b.useRef(!1),n=b.useRef(!1);r.current&&(n.current=!0),ss(()=>Rc(r.current?void 0:(r.current=!0,t.current=f1(e()),n.current?t.current:void 0)),[])}function ds(e){const t=b.useRef(e),r=b.useCallback(n=>t.current(n),[]);return Oc(n=>(t.current=e,s6(()=>{}))),r}class Bt extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class yn extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Empty","Text","Binary","Form"]}}class vn extends E0{constructor(t,r,n,i,o,s,a,l){super(),this.url=t,this.method=r,this.headers=n,this.withCredentials=i,this.overridenMimeType=o,this.overridenResponseType=s,this.timeout=a,this.content=l}}class lt extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class fs extends E0{constructor(t,r,n,i,o,s){super(),this.statusCode=t|0,this.responseText=r,this.responseType=n,this.responseUrl=i,this.responseHeaders=o,this.content=s}}class hs{constructor(t,r){this.k=t,this.v=r}}function At(e,t){return new hs(e,t)}function d1(e){return e.k}function p1(e){return e.v}class h1 extends hs{constructor(t,r,n,i,o){super(t,r),this.left=n,this.right=i,this.h=o|0}}function k2(e,t,r,n,i){return new h1(e,t,r,n,i)}function s1(e){return e.left}function a1(e){return e.right}function e2(e){return e.h}function ms(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=B(n);if(i instanceof h1){const o=i;e=ms(r+1,s1(o)),t=a1(o);continue e}else return r+1|0}else return r|0}}function ps(e){return ms(0,e)}function G1(e,t,r,n){let i,o,s;const a=e;if(a!=null){const f=B(a);s=f instanceof h1?(i=f,e2(i)):1}else s=0;let l;const u=n;if(u!=null){const f=B(u);l=f instanceof h1?(o=f,e2(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?At(t,r):k2(t,r,e,n,d+1)}function Hr(e,t,r,n){let i,o,s,a,l,u,d,f,p;const h=e;if(h!=null){const y=B(h);p=y instanceof h1?(i=y,e2(i)):1}else p=0;let m;const g=n;if(g!=null){const y=B(g);m=y instanceof h1?(o=y,e2(o)):1}else m=0;if(m>p+2){const y=B(n);if(y instanceof h1){const _=y;if(s=s1(_),(s!=null?(a=B(s),a instanceof h1?(l=a,e2(l)):1):0)>p+1){const C=B(s1(_));if(C instanceof h1){const E=C;return G1(G1(e,t,r,s1(E)),d1(E),p1(E),G1(a1(E),d1(_),p1(_),a1(_)))}else throw new Error("internal error: Map.rebalance")}else return G1(G1(e,t,r,s1(_)),d1(_),p1(_),a1(_))}else throw new Error("internal error: Map.rebalance")}else if(p>m+2){const y=B(e);if(y instanceof h1){const _=y;if(u=a1(_),(u!=null?(d=B(u),d instanceof h1?(f=d,e2(f)):1):0)>m+1){const C=B(a1(_));if(C instanceof h1){const E=C;return G1(G1(s1(_),d1(_),p1(_),s1(E)),d1(E),p1(E),G1(a1(E),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return G1(s1(_),d1(_),p1(_),G1(a1(_),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return G1(e,t,r,n)}function Tt(e,t,r,n){if(n!=null){const i=B(n),o=e.Compare(t,d1(i))|0;if(i instanceof h1){const s=i;return o<0?Hr(Tt(e,t,r,s1(s)),d1(s),p1(s),a1(s)):o===0?k2(t,r,s1(s),a1(s),e2(s)):Hr(s1(s),d1(s),p1(s),Tt(e,t,r,a1(s)))}else return o<0?k2(t,r,void 0,n,2):o===0?At(t,r):k2(t,r,n,void 0,2)}else return At(t,r)}function a6(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=B(o),a=n.Compare(i,d1(s))|0;if(a===0)return f1(p1(s));if(s instanceof h1){const l=s;e=n,t=i,r=a<0?s1(l):a1(l);continue e}else return}else return}}function Jc(e,t,r){const n=a6(e,t,r);if(n==null)throw new Error;return B(n)}function gs(e){if(e!=null){const t=B(e);if(t instanceof h1){const r=t;if(s1(r)==null)return[d1(r),p1(r),a1(r)];{const n=gs(s1(r));return[n[0],n[1],G1(n[2],d1(r),p1(r),a1(r))]}}else return[d1(t),p1(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function c4(e,t,r,n){if(n!=null){const i=B(n);if(i instanceof h1){const o=i,s=e.Compare(t,d1(o))|0;if(s<0)return Hr(c4(e,t,r,s1(o)),d1(o),p1(o),a1(o));if(s===0){const a=r(f1(p1(o)));if(a!=null)return k2(t,B(a),s1(o),a1(o),e2(o));if(s1(o)==null)return a1(o);if(a1(o)==null)return s1(o);{const l=gs(a1(o));return G1(s1(o),l[0],l[1],l[2])}}else return Hr(s1(o),d1(o),p1(o),c4(e,t,r,a1(o)))}else{const o=e.Compare(t,d1(i))|0;if(o<0){const s=r(void 0);return s!=null?k2(t,B(s),void 0,n,2):n}else if(o===0){const s=r(f1(p1(i)));return s!=null?At(t,B(s)):void 0}else{const s=r(void 0);return s!=null?k2(t,B(s),n,void 0,2):n}}}else{const i=r(void 0);return i!=null?At(t,B(i)):n}}function Xc(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=B(o),a=n.Compare(i,d1(s))|0;if(s instanceof h1){const l=s;if(a<0){e=n,t=i,r=s1(l);continue e}else{if(a===0)return!0;e=n,t=i,r=a1(l);continue e}}else return a===0}else return!1}}function ws(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=B(n);if(i instanceof h1){const o=i;ws(r,s1(o)),r(d1(o),p1(o)),e=r,t=a1(o);continue e}else r(d1(i),p1(i))}break}}function Qc(e,t){ws(e,t)}function ys(e,t,r){let n=r;Qc((i,o)=>{I1(t,n,[i,o]),n=n+1|0},e)}function ed(e){const t=ps(e)|0,r=H3(new Array(t),0,t,[null,null]);return ys(e,r,0),r}function td(e,t){return xe((r,n)=>Tt(e,n[0],n[1],r),void 0,t)}function rd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=n,t=Tt(n,s[0],s[1],i),r=o;continue e}else return i}}function nd(e,t){let r=void 0;for(let n=0;n<=t.length-1;n++){const i=g0(n,t);r=Tt(e,i[0],i[1],r)}return r}function vs(e,t){if(te(t))return nd(e,t);if(t instanceof _1)return td(e,t);{const r=P0(t);try{return rd(e,void 0,r)}finally{O0(r)}}}class id extends E0{constructor(t,r){super(),this.stack=t,this.started=r}}function bs(e){e:for(;;){const t=e;if(k0(t))return l1();{const r=R0(t),n=l0(t);if(n!=null){const i=B(n);if(i instanceof h1){const o=i;e=i1([s1(o),At(d1(o),p1(o)),a1(o)],r);continue e}else return t}else{e=r;continue e}}}}function b7(e){return new id(bs(u0(e)),!1)}function od(){throw new Error("enumeration not started")}function sd(){throw new Error("enumeration already finished")}function _7(e){if(e.started){const t=e.stack;if(k0(t))return sd();if(l0(t)!=null){const r=B(l0(t));if(r instanceof h1)throw new Error("Please report error: Map iterator, unexpected stack for current");return[d1(r),p1(r)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return od()}function ad(e){if(e.started){const t=e.stack;if(k0(t))return!1;if(l0(t)!=null){if(B(l0(t))instanceof h1)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=bs(R0(t)),!k0(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!k0(e.stack)}function C7(e){let t=b7(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return _7(t)},"System.Collections.IEnumerator.get_Current"(){return _7(t)},"System.Collections.IEnumerator.MoveNext"(){return ad(t)},"System.Collections.IEnumerator.Reset"(){t=b7(e)},Dispose(){}}}class Vr{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return fd(this)|0}Equals(t){const r=this;if(t instanceof Vr){const n=t,i=P0(r);try{const o=P0(n);try{const s=()=>{const a=i["System.Collections.IEnumerator.MoveNext"]();if(a===o["System.Collections.IEnumerator.MoveNext"]())if(a){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"](),u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return t0(l[0],u[0])&&t0(l[1],u[1])?s():!1}else return!0;else return!1};return s()}finally{O0(o)}}finally{O0(i)}}else return!1}toString(){return"map ["+T1("; ",V0(r=>Z4("({0}, {1})",r[0],r[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return C7(this.tree)}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return C7(this.tree)}CompareTo(t){const r=this;if(t instanceof Vr)return Sc((i,o)=>{const s=r.comparer.Compare(i[0],o[0])|0;return(s!==0?s:A1(i[1],o[1]))|0},r,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 r=this;return x7(r,t[0])&&t0($2(r,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){ys(this.tree,t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Zn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Zn(this)|0}get size(){return Zn(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return V0(r=>[r[0],r[1]],this)}get(t){return $2(this,t)}has(t){return x7(this,t)}keys(){return V0(r=>r[0],this)}set(t,r){throw new Error("Map cannot be mutated")}values(){return V0(r=>r[1],this)}forEach(t,r){const n=this;je(i=>{t(i[1],i[0],n)},n)}}function W3(e,t){return new Vr(e,t)}function ld(e){return W3(e,void 0)}function ud(e,t,r){return W3(e.comparer,Tt(e.comparer,t,r,e.tree))}function cd(e,t,r){return W3(e.comparer,c4(e.comparer,t,r,e.tree))}function $2(e,t){return Jc(e.comparer,t,e.tree)}function Zn(e){return ps(e.tree)}function x7(e,t){return Xc(e.comparer,t,e.tree)}function dd(e,t,r){const n=a6(e.comparer,t,e.tree);if(n==null)return!1;{const i=B(n);return r.contents=i,!0}}function S7(e){return t1(t=>t[1],ed(e.tree))}function A2(e,t){return a6(e.comparer,t,e.tree)}function fd(e){const t=(i,o)=>(i<<1)+o+631;let r=0;const n=P0(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r=t(r,re(i[0]))|0,r=t(r,re(i[1]))|0}}finally{O0(n)}return r|0}function _s(e,t,r){return ud(r,e,t)}function cr(e,t,r){return cd(r,e,t)}function Cs(e,t){return A2(t,e)}function hd(e){return V0(t=>[t[0],t[1]],e)}function gt(e,t){return W3(t,vs(t,e))}function md(e,t){return W3(t,vs(t,e))}function l6(e){return ld(e)}const w2=new vn("",new Bt(0,[]),l1(),!1,void 0,void 0,void 0,new yn(0,[]));new fs(0,"","","",l6({Compare:j2}),new lt(0,[""]));function E7(e,t){return K4(t)?new Array(0):O8(t,[e],void 0,0)}function pd(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 q3(e){return new vn(e,w2.method,w2.headers,w2.withCredentials,w2.overridenMimeType,w2.overridenResponseType,w2.timeout,w2.content)}function G3(e,t){return new vn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function u6(e,t){return new vn(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function A7(e){return Gc(t=>{const r=new XMLHttpRequest;r.open(pd(e.method),e.url),r.onreadystatechange=()=>{let l,u,d,f,p,h,m;r.readyState===4&&t[0]((l=(u=r.responseType,u===""||u==="text"?r.responseText:""),d=r.status|0,f=r.responseType,p=(h=r.responseType,h===""?new lt(0,[r.responseText]):h==="text"?new lt(0,[r.responseText]):h==="arraybuffer"?new lt(2,[r.response]):h==="blob"?new lt(1,[r.response]):new lt(3,[r.response])),m=md(V1(g=>{const y=w(E7(":",g));if(!k0(y))return[l0(y).toLocaleLowerCase(),T1(":",R0(y)).trim()]},E7(`\r
|
|
4
|
+
`,r.getAllResponseHeaders())),{Compare:j2}),new fs(d,l,f,r.responseURL,m,p)))};const n=P0(e.headers);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const l=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r.setRequestHeader(l.fields[0],l.fields[1])}}finally{O0(n)}r.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(i!=null){const l=i;r.overrideMimeType(l)}const o=e.overridenResponseType;if(o!=null)switch(o.tag){case 1:{r.responseType="blob";break}case 2:{r.responseType="arraybuffer";break}default:r.responseType="text"}const s=e.timeout;if(s!=null){const l=s|0;r.timeout=l|0}const a=e.content;switch(a.tag){case 1:{r.send(f1(a.fields[0]));break}case 3:{r.send(f1(a.fields[0]));break}case 2:{r.send(f1(a.fields[0]));break}default:r.send()}})}function gd(e){return new I(0,[e])}function xs(e){return new I(1,[e])}class I extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Ok","Error"]}}function Ve(e,t){return t.tag===0?gd(e(t.fields[0])):xs(t.fields[0])}function wd(e,t){return t.tag===0?e(t.fields[0]):xs(t.fields[0])}const C2={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Kn(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 yd(e,t){switch(t){case C2.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case C2.SnakeCase:return Kn(e,"_");case C2.SnakeCaseAllCaps:return Kn(e,"_").toUpperCase();case C2.KebabCase:return Kn(e,"-");case C2.None:default:return e}}function We(e,t=C2.None){const r={},n=t;function i(s){throw new Error("Cannot infer key and value of "+String(s))}function o(s,a,l){s=yd(s,a),r[s]=l}for(let s of e){let a=C2.None;if(s==null&&i(s),s instanceof j){const l=s.cases()[s.tag];s=s.fields.length===0?l:[l].concat(s.fields),a=n}if(Array.isArray(s))switch(s.length){case 0:i(s);break;case 1:o(s[0],a,!0);break;case 2:const l=s[1];o(s[0],a,l);break;default:o(s[0],a,s.slice(1))}else typeof s=="string"?o(s,a,!0):i(s)}return r}function c6(e,t,r){return e.has(t)?(r.contents=e.get(t),!0):!1}function Ss(e,t){return t.has(e)?!1:(t.add(e),!0)}function vd(e,t,r){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,r)}function a2(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class n0 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Ue extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function T7(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Es(e,t){switch(e.tag){case 2:return un(T7(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return T7(t)}}const bd=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,M7=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,_d=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Cd(e){function t(n){return n.replace(M7,"$1-$2-$3-$4-$5")}const r=e.trim().toLowerCase();if(bd.test(r))return R8(r,"{","}","(",")");if(M7.test(r))return t(r);if(_d.test(r))return t(r.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function xd(e,t){try{return t.contents=Cd(e),!0}catch{return!1}}function As(){let e="";for(let t=0;t++<36;)e+=t*51&52?(t^15?8^Math.random()*(t^20?16:4):4).toString(16):"-";return e}var d4;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(d4||(d4={}));function Sd(e,t){const[,r,n,i]=e;return{sign:r||"",prefix:n||"",digits:i,radix:t}}function N7(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 Ed(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 Ad(e,t){if(t&d4.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 Td(e,t,r){const i=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(i!=null){const[,,o,s]=i;if(r=r||Ad(o,t),!Ed(r).test(s))return Sd(i,r)}return null}function Md(e,t,r,n,i){const o=Td(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=N7(!0,n);!r&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-n>>32-n);const[u,d]=N7(r,n);if(s>=u&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function Ht(e,t,r,n,i){try{return i.contents=Md(e,t,r,n),!0}catch{return!1}}function Ts(e,t){Nd(t);const r=new Date(e);return r.offset=t??new Date().getTimezoneOffset()*-6e4,r}function Nd(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 kd(){return Ts(-621355968e5,0)}function Id(e){const[t,r]=A8(e),n=r==null?t.getTimezoneOffset()*-6e4:r==="Z"?0:r*6e4;return Ts(t.getTime(),n)}function Od(e,t){try{return t.contents=Id(e),!0}catch{return!1}}function z3(e){return e<0?Math.ceil(e):Math.floor(e)}function k7(e=0,t=0,r=0,n=0,i=0){switch(arguments.length){case 1:return Rd(arguments[0]);case 3:e=0,t=arguments[0],r=arguments[1],n=arguments[2],i=0;break}return e*864e5+t*36e5+r*6e4+n*1e3+i}function Rd(e){return Number(BigInt(e)/10000n)}function Dd(e){return z3(e/864e5)}function $d(e){return z3(e%864e5/36e5)}function Fd(e){return z3(e%36e5/6e4)}function Pd(e){return z3(e%6e4/1e3)}function Ld(e){return z3(e%1e3)}function Bd(e,t="c",r){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const n=Math.abs(Dd(e)),i=Math.abs($d(e)),o=Math.abs(Fd(e)),s=Math.abs(Pd(e)),a=Math.abs(Ld(e));return`${e<0?"-":""}${n===0&&(t==="c"||t==="g")?"":t==="c"?n+".":n+":"}${t==="g"?i:W0(i,2)}:${W0(o,2)}:${W0(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+W0(a,3):"."+Ul(a,3,7)}`}function Hd(e){const t=e.search("\\."),r=e.search("\\:");if(t===-1&&r===-1){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return k7(n,0,0,0,0)}if(r>0){const n=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(n!=null&&n[4]!=null&&n[5]!=null){let i=0,o=0,s=0;const a=n[1]!=null&&n[1]==="-"?-1:1,l=+n[4],u=+n[5];if(n[3]!=null&&(i=+n[3]),n[7]!=null&&(s=+n[7]),n[8]!=null)switch(n[8].length){case 1:o=+n[8]*100;break;case 2:o=+n[8]*10;break;case 3:o=+n[8];break;case 4:o=+n[8]/10;break;case 5:o=+n[8]/100;break;case 6:o=+n[8]/1e3;break;case 7:o=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*k7(i,l,u,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Vd(e,t){try{return t.contents=Hd(e),!0}catch{return!1}}class Ms{constructor(t,r){const n=new S1(T0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=P0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();Jn(n.contents,o)}}finally{O0(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return P0(this)}GetEnumerator(){return P0(hn(this.hashMap.values()))}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){Jn(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){I7(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return R7(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){os((i,o)=>{I1(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return O7(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return D7(this,t)}get size(){return O7(this)|0}add(t){const r=this;return Jn(r,t),r}clear(){I7(this)}delete(t){return D7(this,t)}has(t){return R7(this,t)}keys(){return V0(r=>r,this)}values(){return V0(r=>r,this)}entries(){return V0(r=>[r,r],this)}forEach(t,r){const n=this;je(i=>{t(i,i,n)},n)}}function d6(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=T0();return n=[c6(e.hashMap,r,new S1(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,r,-1]}function I7(e){e.hashMap.clear()}function O7(e){let t=0,r=P0(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{O0(r)}return t|0}function Jn(e,t){const r=d6(e,t);return r[0]?r[2]>-1?!1:(a2(e.hashMap,r[1]).push(t),!0):(e.hashMap.set(r[1],[t]),!0)}function R7(e,t){const r=d6(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function D7(e,t){const r=d6(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return a2(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}class Ns{constructor(t){this.k=t}}function z1(e){return new Ns(e)}function x0(e){return e.k}class H0 extends Ns{constructor(t,r,n,i){super(t),this.left=r,this.right=n,this.h=i|0}}function Y1(e,t,r,n){return new H0(e,t,r,n)}function Y0(e){return e.left}function G0(e){return e.right}function ht(e){return e.h}function ks(e,t){e:for(;;){const r=e,n=t;if(r!=null){const i=B(r);if(i instanceof H0){const o=i;e=Y0(o),t=ks(G0(o),n+1);continue e}else return n+1|0}else return n|0}}function Ud(e){return ks(e,0)}function oe(e,t,r){let n,i,o;const s=e;if(s!=null){const d=B(s);o=d instanceof H0?(n=d,ht(n)):1}else o=0;let a;const l=r;if(l!=null){const d=B(l);a=d instanceof H0?(i=d,ht(i)):1}else a=0;const u=(o<a?a:o)|0;return u===0?z1(t):Y1(t,e,r,u+1)}function $7(e,t,r){let n,i,o,s,a,l,u,d,f;const p=e;if(p!=null){const g=B(p);f=g instanceof H0?(n=g,ht(n)):1}else f=0;let h;const m=r;if(m!=null){const g=B(m);h=g instanceof H0?(i=g,ht(i)):1}else h=0;if(h>f+2){const g=B(r);if(g instanceof H0){const y=g;if(o=Y0(y),(o!=null?(s=B(o),s instanceof H0?(a=s,ht(a)):1):0)>f+1){const _=B(Y0(y));if(_ instanceof H0){const C=_;return oe(oe(e,t,Y0(C)),x0(C),oe(G0(C),x0(y),G0(y)))}else throw new Error("internal error: Set.rebalance")}else return oe(oe(e,t,Y0(y)),x0(y),G0(y))}else throw new Error("internal error: Set.rebalance")}else if(f>h+2){const g=B(e);if(g instanceof H0){const y=g;if(l=G0(y),(l!=null?(u=B(l),u instanceof H0?(d=u,ht(d)):1):0)>h+1){const _=B(G0(y));if(_ instanceof H0){const C=_;return oe(oe(Y0(y),x0(y),Y0(C)),x0(C),oe(G0(C),t,r))}else throw new Error("internal error: Set.rebalance")}else return oe(Y0(y),x0(y),oe(G0(y),t,r))}else throw new Error("internal error: Set.rebalance")}else return oe(e,t,r)}function Mt(e,t,r){if(r!=null){const n=B(r),i=e.Compare(t,x0(n))|0;if(n instanceof H0){const o=n;return i<0?$7(Mt(e,t,Y0(o)),x0(o),G0(o)):i===0?r:$7(Y0(o),x0(o),Mt(e,t,G0(o)))}else{const o=e.Compare(t,x0(n))|0;return o<0?Y1(t,void 0,r,2):o===0?r:Y1(t,r,void 0,2)}}else return z1(t)}function Is(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=B(o),a=n.Compare(i,x0(s))|0;if(s instanceof H0){const l=s;if(a<0){e=n,t=i,r=Y0(l);continue e}else{if(a===0)return!0;e=n,t=i,r=G0(l);continue e}}else return a===0}else return!1}}function Os(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=B(n);if(i instanceof H0){const o=i;Os(r,Y0(o)),r(x0(o)),e=r,t=G0(o);continue e}else r(x0(i))}break}}class jd extends E0{constructor(t,r){super(),this.stack=t,this.started=r}}function Rs(e){e:for(;;){const t=e;if(k0(t))return l1();{const r=l0(t),n=R0(t);if(r!=null){const i=B(r);if(i instanceof H0){const o=i;e=i1([Y0(o),z1(x0(o)),G0(o)],n);continue e}else return t}else{e=n;continue e}}}}function F7(e){return new jd(Rs(u0(e)),!1)}function Wd(){throw new Error("Enumeration not started")}function qd(){throw new Error("Enumeration already started")}function P7(e){if(e.started){const t=e.stack;if(k0(t))return qd();if(l0(t)!=null){const r=B(l0(t));return x0(r)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Wd()}function Gd(e){if(e.started){const t=e.stack;if(k0(t))return!1;if(l0(t)!=null){if(B(l0(t))instanceof H0)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Rs(R0(t)),!k0(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!k0(e.stack)}function L7(e){let t=F7(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return P7(t)},"System.Collections.IEnumerator.get_Current"(){return P7(t)},"System.Collections.IEnumerator.MoveNext"(){return Gd(t)},"System.Collections.IEnumerator.Reset"(){t=F7(e)},Dispose(){}}}function zd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(k0(i))return k0(o)?0:-1;if(k0(o))return 1;if(l0(o)!=null)if(l0(i)!=null){const s=B(l0(i)),a=B(l0(o));if(s instanceof H0){const l=s;if(Y0(l)==null)if(a instanceof H0){const u=a;if(Y0(u)==null){const d=n.Compare(x0(l),x0(u))|0;if(d!==0)return d|0;e=n,t=X1(G0(l),R0(i)),r=X1(G0(u),R0(o));continue e}else{let d,f,p,h,m;switch(k0(i)?k0(o)?d=2:l0(o)!=null?(d=1,h=R0(o),m=B(l0(o))):d=2:l0(i)!=null?(d=0,f=R0(i),p=B(l0(i))):k0(o)?d=2:l0(o)!=null?(d=1,h=R0(o),m=B(l0(o))):d=2,d){case 0:if(p instanceof H0){const g=p;e=n,t=i1([Y0(g),Y1(x0(g),void 0,G0(g),0)],f),r=o;continue e}else{e=n,t=i1([void 0,z1(x0(p))],f),r=o;continue e}case 1:if(m instanceof H0){const g=m;e=n,t=i,r=i1([Y0(g),Y1(x0(g),void 0,G0(g),0)],h);continue e}else{e=n,t=i,r=i1([void 0,z1(x0(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=n.Compare(x0(l),x0(a))|0;if(u!==0)return u|0;e=n,t=X1(G0(l),R0(i)),r=X1(void 0,R0(o));continue e}else{let u,d,f,p,h;switch(k0(i)?k0(o)?u=2:l0(o)!=null?(u=1,p=R0(o),h=B(l0(o))):u=2:l0(i)!=null?(u=0,d=R0(i),f=B(l0(i))):k0(o)?u=2:l0(o)!=null?(u=1,p=R0(o),h=B(l0(o))):u=2,u){case 0:if(f instanceof H0){const m=f;e=n,t=i1([Y0(m),Y1(x0(m),void 0,G0(m),0)],d),r=o;continue e}else{e=n,t=i1([void 0,z1(x0(f))],d),r=o;continue e}case 1:if(h instanceof H0){const m=h;e=n,t=i,r=i1([Y0(m),Y1(x0(m),void 0,G0(m),0)],p);continue e}else{e=n,t=i,r=i1([void 0,z1(x0(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof H0){const l=a;if(Y0(l)==null){const u=n.Compare(x0(s),x0(l))|0;if(u!==0)return u|0;e=n,t=X1(void 0,R0(i)),r=X1(G0(l),R0(o));continue e}else{let u,d,f,p,h;switch(k0(i)?k0(o)?u=2:l0(o)!=null?(u=1,p=R0(o),h=B(l0(o))):u=2:l0(i)!=null?(u=0,d=R0(i),f=B(l0(i))):k0(o)?u=2:l0(o)!=null?(u=1,p=R0(o),h=B(l0(o))):u=2,u){case 0:if(f instanceof H0){const m=f;e=n,t=i1([Y0(m),Y1(x0(m),void 0,G0(m),0)],d),r=o;continue e}else{e=n,t=i1([void 0,z1(x0(f))],d),r=o;continue e}case 1:if(h instanceof H0){const m=h;e=n,t=i,r=i1([Y0(m),Y1(x0(m),void 0,G0(m),0)],p);continue e}else{e=n,t=i,r=i1([void 0,z1(x0(h))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=n.Compare(x0(s),x0(a))|0;if(l!==0)return l|0;e=n,t=R0(i),r=R0(o);continue e}}else{B(l0(o));let s,a,l,u,d;switch(k0(i)?k0(o)?s=2:l0(o)!=null?(s=1,u=R0(o),d=B(l0(o))):s=2:l0(i)!=null?(s=0,a=R0(i),l=B(l0(i))):k0(o)?s=2:l0(o)!=null?(s=1,u=R0(o),d=B(l0(o))):s=2,s){case 0:if(l instanceof H0){const f=l;e=n,t=i1([Y0(f),Y1(x0(f),void 0,G0(f),0)],a),r=o;continue e}else{e=n,t=i1([void 0,z1(x0(l))],a),r=o;continue e}case 1:if(d instanceof H0){const f=d;e=n,t=i,r=i1([Y0(f),Y1(x0(f),void 0,G0(f),0)],u);continue e}else{e=n,t=i,r=i1([void 0,z1(x0(d))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(l0(i)!=null){B(l0(i));let s,a,l,u,d;switch(k0(i)?k0(o)?s=2:l0(o)!=null?(s=1,u=R0(o),d=B(l0(o))):s=2:l0(i)!=null?(s=0,a=R0(i),l=B(l0(i))):k0(o)?s=2:l0(o)!=null?(s=1,u=R0(o),d=B(l0(o))):s=2,s){case 0:if(l instanceof H0){const f=l;e=n,t=i1([Y0(f),Y1(x0(f),void 0,G0(f),0)],a),r=o;continue e}else{e=n,t=i1([void 0,z1(x0(l))],a),r=o;continue e}case 1:if(d instanceof H0){const f=d;e=n,t=i,r=i1([Y0(f),Y1(x0(f),void 0,G0(f),0)],u);continue e}else{e=n,t=i,r=i1([void 0,z1(x0(d))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=n,t=R0(i),r=R0(o);continue e}}}function B7(e,t,r){return t==null?r==null?0:-1:r==null?1:zd(e,u0(t),u0(r))|0}function Yd(e,t,r){let n=r;Os(i=>{I1(t,n,i),n=n+1|0},e)}function Zd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){e=n,t=Mt(n,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),r=o;continue e}else return i}}function Kd(e,t){return dn((r,n)=>Mt(e,n,r),void 0,t)}function Jd(e,t){return xe((r,n)=>Mt(e,n,r),void 0,t)}function Ds(e,t){if(te(t))return Kd(e,t);if(t instanceof _1)return Jd(e,t);{const r=P0(t);try{return Zd(e,void 0,r)}finally{O0(r)}}}class f6{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return ef(this)|0}Equals(t){let r;const n=this;return t instanceof f6&&(r=t,B7(wt(n),se(n),se(r))===0)}toString(){return"set ["+T1("; ",V0(r=>n1(r),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const r=this;return B7(wt(r),se(r),se(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 r=this;return Is(wt(r),t,se(r))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Yd(se(this),t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Xn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Xn(this)|0}GetEnumerator(){return L7(se(this))}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return L7(se(this))}get size(){return Xn(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 $s(this,t)}keys(){return V0(r=>r,this)}values(){return V0(r=>r,this)}entries(){return V0(r=>[r,r],this)}forEach(t,r){const n=this;je(i=>{t(i,i,n)},n)}}function bn(e,t){return new f6(e,t)}function wt(e){return e.comparer}function se(e){return e.tree}function Xd(e){return bn(e,void 0)}function Qd(e,t){return bn(wt(e),Mt(wt(e),t,se(e)))}function Xn(e){return Ud(se(e))}function $s(e,t){return Is(wt(e),t,se(e))}function ef(e){let t=0;const r=P0(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+re(n)+631|0}}finally{O0(r)}return Math.abs(t)|0}function f4(e,t){return $s(t,e)}function tf(e,t){return Qd(t,e)}function rf(e){return Xd(e)}function nf(e,t){return bn(t,Ds(t,e))}function of(e,t){return bn(t,Ds(t,e))}function n3(e,t,r){try{return"Expecting "+e+" but instead got:"+(r?`
|
|
5
|
+
`:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(r?`
|
|
6
|
+
`:" ")}}function sf(e,t){const r=t.tag===2?n3(t.fields[0],t.fields[1],!0):t.tag===1?n3(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?n3(t.fields[0],t.fields[1],!0):t.tag===4?n3(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
8
8
|
`+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
|
|
9
9
|
|
|
10
|
-
`+
|
|
10
|
+
`+T1(`
|
|
11
11
|
|
|
12
|
-
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:n3(t.fields[0],t.fields[1],!1);return t.tag===7?r:"Error at: `"+e+"`\n"+r}function Fs(e,t,r){const n=t(e,r);if(n.tag===1){const i=n.fields[0];return new I(1,[sf(i[0],i[1])])}else return new I(0,[n.fields[0]])}function _n(e,t){try{return Fs("$",e,JSON.parse(t))}catch(r){if(r instanceof SyntaxError)return new I(1,["Given an invalid JSON: "+r.message]);throw r}}function Ps(e,t){return typeof t=="string"?new I(0,[t]):new I(1,[[e,new n0(0,["a string",t])]])}function af(e,t){if(typeof t=="string"){const r=t;return r.length===1?new I(0,[r[0]]):new I(1,[[e,new n0(0,["a single character string",t])]])}else return new I(1,[[e,new n0(0,["a char",t])]])}function lf(e,t){if(typeof t=="string"){let r,n="00000000-0000-0000-0000-000000000000";return r=[xd(t,new S1(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new n0(0,["a guid",t])]])}else return new I(1,[[e,new n0(0,["a guid",t])]])}function uf(e,t){return t==null?new I(0,[void 0]):new I(1,[[e,new n0(0,["null",t])]])}const H7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-128<=i&&i<=127?new I(0,[(i+128&255)-128]):new I(1,[[r,new n0(1,["a sbyte",i,"Value was either too large or too small for a sbyte"])]]):new I(1,[[r,new n0(1,["a sbyte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!1,8,new S1(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["a sbyte",n])]])}else return new I(1,[[r,new n0(0,["a sbyte",n])]])},V7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=255?new I(0,[i&255]):new I(1,[[r,new n0(1,["a byte",i,"Value was either too large or too small for a byte"])]]):new I(1,[[r,new n0(1,["a byte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!0,8,new S1(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["a byte",n])]])}else return new I(1,[[r,new n0(0,["a byte",n])]])},U7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-32768<=i&&i<=32767?new I(0,[(i+32768&65535)-32768]):new I(1,[[r,new n0(1,["an int16",i,"Value was either too large or too small for an int16"])]]):new I(1,[[r,new n0(1,["an int16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!1,16,new S1(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["an int16",n])]])}else return new I(1,[[r,new n0(0,["an int16",n])]])},j7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=65535?new I(0,[i&65535]):new I(1,[[r,new n0(1,["an uint16",i,"Value was either too large or too small for an uint16"])]]):new I(1,[[r,new n0(1,["an uint16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!0,16,new S1(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["an uint16",n])]])}else return new I(1,[[r,new n0(0,["an uint16",n])]])},W7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-2147483648<=i&&i<=2147483647?new I(0,[~~i]):new I(1,[[r,new n0(1,["an int",i,"Value was either too large or too small for an int"])]]):new I(1,[[r,new n0(1,["an int",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!1,32,new S1(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["an int",n])]])}else return new I(1,[[r,new n0(0,["an int",n])]])},q7=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=4294967295?new I(0,[i>>>0]):new I(1,[[r,new n0(1,["an uint32",i,"Value was either too large or too small for an uint32"])]]):new I(1,[[r,new n0(1,["an uint32",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[Ht(n,511,!0,32,new S1(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new n0(0,["an uint32",n])]])}else return new I(1,[[r,new n0(0,["an uint32",n])]])};function cf(e,t){return typeof t=="boolean"?new I(0,[t]):new I(1,[[e,new n0(0,["a boolean",t])]])}function df(e,t){return typeof t=="number"?new I(0,[t]):new I(1,[[e,new n0(0,["a float",t])]])}function ff(e,t){return typeof t=="number"?new I(0,[t]):new I(1,[[e,new n0(0,["a float32",t])]])}function hf(e,t){if(typeof t=="string"){let r,n=yu();return r=[bu(t,new S1(()=>n,i=>{n=i})),n],r[0]?new I(0,[_u(r[1])]):new I(1,[[e,new n0(0,["a datetime",t])]])}else return new I(1,[[e,new n0(0,["a datetime",t])]])}function mf(e,t){if(typeof t=="string"){let r,n=kd();return r=[Od(t,new S1(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new n0(0,["a datetimeoffset",t])]])}else return new I(1,[[e,new n0(0,["a datetime",t])]])}function pf(e,t){if(typeof t=="string"){let r,n=0;return r=[Vd(t,new S1(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new n0(0,["a timespan",t])]])}else return new I(1,[[e,new n0(0,["a timespan",t])]])}function G7(e,t,r,n){let i;const o=r+".["+de(e)+"]";if(Array.isArray(n)){const s=n;return e<s.length?t(o,g0(e,s)):new I(1,[[o,new n0(5,["a longer array. Need index `"+de(e)+"` but there are only `"+(i=s.length,de(i))+"` entries",n])]])}else return new I(1,[[o,new n0(0,["an array",n])]])}function gf(e,t,r){return r==null?new I(0,[void 0]):Ve(f1,e(t,r))}function z7(e,t,r){if(Array.isArray(r)){let n=-1;return Ve(e6,dn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+de(n)+"]",o);return s.tag===0?new I(0,[X1(s.fields[0],i.fields[0])]):new I(1,[s.fields[0]])}else return i},new I(0,[l1()]),r))}else return new I(1,[[t,new n0(0,["a list",r])]])}function wf(e,t,r){if(Array.isArray(r)){let n=-1;return Ve(Mc,dn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+de(n)+"]",o);return s.tag===0?new I(0,[H([s.fields[0]],i.fields[0])]):new I(1,[s.fields[0]])}else return i},new I(0,[[]]),r))}else return new I(1,[[t,new n0(0,["a seq",r])]])}function Y7(e,t,r){if(Array.isArray(r)){let n=-1;const i=r;return dn((o,s)=>{if(n=n+1|0,o.tag===0){const a=o.fields[0],l=e(t+".["+de(n)+"]",s);return l.tag===0?(I1(a,n,l.fields[0]),new I(0,[a])):new I(1,[l.fields[0]])}else return o},new I(0,[H3(new Array(i.length),0,i.length,null)]),i)}else return new I(1,[[t,new n0(0,["an array",r])]])}function yf(e,t,r){return((i,o)=>{e:for(;;){const s=i,a=o;if(k0(s))return new I(1,[[t,new n0(7,[a])]]);{const l=Fs(t,J0(l0(s)),r);if(l.tag===1){i=R0(s),o=U3(a,u0(l.fields[0]));continue e}else return new I(0,[l.fields[0]])}}})(e,l1())}function vf(e,t,r){return new I(0,[e])}function Z7(e,t,r,n){const i=t(r,n);return i.tag===0?e(i.fields[0],r,n):new I(1,[i.fields[0]])}function bf(e,t,r,n){const i=t(r,n);return i.tag===1?new I(1,[i.fields[0]]):new I(0,[e(i.fields[0])])}function _f(e,t){let r;const n=e;return r=i=>o=>G7(0,n,i,o),i=>o=>Z7(s4(s=>{let a;const l=t;return a=u=>d=>G7(1,l,u,d),u=>d=>Z7((f,p,h)=>vf([s,f]),J0(a),u,d)}),J0(r),i,o)}function Cf(e){return gt(e,{Compare:A1})}function xf(e){return of(e,{Compare:A1})}function Sf(e,t,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?K8((n,i)=>{const o=n[0];return i.tag===0?Ve(s=>X1(s,i.fields[0]),n[1](t+"."+o)(r[o])):i},e,new I(0,[l1()])):new I(1,[[t,new n0(0,["an object",r])]])}function Ef(e,t,r,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?j3((i,o)=>{if(i.tag===0){const s=e(r,o);if(s.tag===0){const a=t(r+"."+o,n[o]);return a.tag===0?new I(0,[X1([s.fields[0],a.fields[0]],i.fields[0])]):new I(1,[a.fields[0]])}else return new I(1,[s.fields[0]])}else return i},new I(0,[l1()]),Object.keys(n)):new I(1,[[r,new n0(0,["an object",n])]])}function Ls(e,t,r,n){let i;const o=t.length+e|0;if(o!==n.length)return new I(1,[[r,new n0(6,[(i=n.length|0,O2(Be("Expected array of length %i but got %i"))(o)(i))])]]);{let s=new I(0,[l1()]);for(let a=e;a<=n.length-1;a++)if(s.tag===0){const l=s.fields[0],u=O2(Be("%s[%i]"))(r)(a),d=g0(a-e,t),f=g0(a,n);s=Ve(p=>X1(p,l),d(u)(f))}return Ve(e6,s)}}function K7(e,t,r,n,i,o){const s=cn(a=>pt(a)===n,H8(r));if(s!=null){const a=s,l=t1(u=>ae(e,t,!1,u[1]),W8(a));return Ve(u=>Lu(a,f2(u)),l.length===0&&o.length<=1?new I(0,[l1()]):Ls(1,l,i,o))}else return new I(1,[[i,new n0(6,["Cannot find case "+n+" in "+X0(r)])]])}function J7(e,t,r,n){let i;const o=new S1(T0());let s;const a=X0(n);s=a===""?e:_s(a,o,e);let l;if(j8(n)){const u=t1(d=>[Es(t,pt(d)),ae(s,t,!1,d[1])],T3(n));l=d=>f=>Ve(p=>Bu(n,f2(p)),Sf(u,d,f))}else if(U8(n))l=u=>d=>{if(typeof d=="string")return K7(s,t,n,d,u,[]);if(Array.isArray(d)){const f=d;return wd(p=>K7(s,t,n,p,u,f),Ps(u+"[0]",g0(0,f)))}else return new I(1,[[u,new n0(0,["a string or array",d])]])};else if(r)l=u=>d=>new I(1,[[u,new n0(2,["an extra coder for "+X0(n),d])]]);else throw new Error((i=X0(n),O2(Be(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
13
13
|
|
|
14
|
-
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function
|
|
14
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function ae(e,t,r,n){let i,o,s,a;const l=X0(n),u=Cs(l,e);if(u==null)if(F8(n)){const d=ae(e,t,!1,B3(n));return f=>p=>Y7(J0(d),f,p)}else if(X4(n))switch(X0(B8(n))){case"System.SByte":return f=>p=>{const h=n,m=f,g=p,y=H7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0]|0;return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,_.toString())]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};case"System.Byte":return f=>p=>{const h=n,m=f,g=p,y=V7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0];return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,_.toString())]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};case"System.Int16":return f=>p=>{const h=n,m=f,g=p,y=U7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0]|0;return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,jl(_))]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt16":return f=>p=>{const h=n,m=f,g=p,y=j7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0];return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,_.toString())]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};case"System.Int32":return f=>p=>{const h=n,m=f,g=p,y=W7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0]|0;return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,de(_))]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt32":return f=>p=>{const h=n,m=f,g=p,y=q7(m)(g);if(y.tag===1)return new I(1,[y.fields[0]]);{const _=y.fields[0];return Q2(_,J2(h),{Equals:(C,E)=>C===E,GetHashCode:le})?new I(0,[X2(h,_.toString())]):new I(1,[[m,new n0(1,[X0(h),g,"Unkown value provided for the enum"])]])}};default:{const f=X0(n),p=N8(Be(`Cannot generate auto decoder for %s.
|
|
15
15
|
Thoth.Json.Net only support the following enum types:
|
|
16
16
|
- sbyte
|
|
17
17
|
- byte
|
|
@@ -20,9 +20,9 @@ Thoth.Json.Net only support the following enum types:
|
|
|
20
20
|
- int
|
|
21
21
|
- uint32
|
|
22
22
|
If you can't use one of these types, please pass an extra decoder.
|
|
23
|
-
`))(f);return
|
|
23
|
+
`))(f);return h=>p(h)}}else if(P8(n))if(Q4(n)){const d=t1(f=>ae(e,t,!1,f),V8(n));return f=>p=>Array.isArray(p)?Ve(h=>Hu(f2(h)),Ls(0,d,f,p)):new I(1,[[f,new n0(0,["an array",p])]])}else switch(X0(L8(n))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return i=ae(e,t,!0,g0(0,Z1(n))),f=>p=>gf(J0(i),f,p);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return o=ae(e,t,!1,g0(0,Z1(n))),f=>p=>z7(J0(o),f,p);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=ae(e,t,!1,g0(0,Z1(n))),f=>p=>wf(J0(s),f,p);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const f=ae(e,t,!1,g0(0,Z1(n))),p=ae(e,t,!1,g0(1,Z1(n)));let h;const m=w([g=>y=>Ef(J0(f),J0(p),g,y),(a=_f(J0(f),J0(p)),g=>y=>z7(J0(a),g,y))]);return h=g=>y=>yf(m,g,y),g=>y=>bf(Cf,J0(h),g,y)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const f=ae(e,t,!1,g0(0,Z1(n)));return p=>h=>{const m=Y7(J0(f),p,h);return m.tag===0?new I(0,[xf(m.fields[0])]):new I(1,[m.fields[0]])}}default:return J7(e,t,r,n)}else switch(l){case"System.Boolean":return d=>f=>cf(d,f);case"Microsoft.FSharp.Core.Unit":return d=>f=>uf(d,f);case"System.String":return d=>f=>Ps(d,f);case"System.Char":return d=>f=>af(d,f);case"System.SByte":return H7;case"System.Byte":return V7;case"System.Int16":return U7;case"System.UInt16":return j7;case"System.Int32":return W7;case"System.UInt32":return q7;case"System.Double":return d=>f=>df(d,f);case"System.Single":return d=>f=>ff(d,f);case"System.DateTime":return d=>f=>hf(d,f);case"System.DateTimeOffset":return d=>f=>mf(d,f);case"System.TimeSpan":return d=>f=>pf(d,f);case"System.Guid":return d=>f=>lf(d,f);case"System.Object":return d=>f=>new I(0,[f]);default:return J7(e,t,r,n)}else{const d=u;return f=>p=>d.contents(f)(p)}}function Af(e){return l6({Compare:j2})}function Cn(e,t,r){const n=Q0(t,new Ue(0,[]));return ae(Af(),n,!1,e)}class Tf extends E0{constructor(t,r){super(),this.Name=t,this.Email=r}}function h6(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.UserDto",[],Tf,()=>[["Name",D1],["Email",N2(D1)]])}class Bs extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Profiles","Tax"]}}function Hs(){return L3("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ImportStageDto",[],Bs,()=>[[],[]])}class Mf extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Invite","RevokeInvite"]}}function Nf(){return L3("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestTypeDto",[],Mf,()=>[[],[]])}class kf extends E0{constructor(t,r,n,i){super(),this.User=t,this.ProfileCount=r|0,this.RequestType=n,this.RequestedAt=i}}function If(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestInfoDto",[],kf,()=>[["User",h6()],["ProfileCount",Z0],["RequestType",Nf()],["RequestedAt",n2("System.DateTime")]])}class Of extends E0{constructor(t,r,n,i,o,s){super(),this.Stage=t,this.InputRowCount=r|0,this.StartTime=n,this.SucceededRowCount=i,this.FailedRowCount=o,this.RemainingRowCount=s}}function Rf(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.RunningStageDto",[],Of,()=>[["Stage",Hs()],["InputRowCount",Z0],["StartTime",n2("System.DateTime")],["SucceededRowCount",N2(Z0)],["FailedRowCount",N2(Z0)],["RemainingRowCount",N2(Z0)]])}class Df extends E0{constructor(t,r,n,i,o,s){super(),this.Stage=t,this.InputRowCount=r|0,this.SucceededRowCount=n|0,this.FailedRowCount=i|0,this.StartTime=o,this.StopTime=s}}function Vs(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.CompletedStageDto",[],Df,()=>[["Stage",Hs()],["InputRowCount",Z0],["SucceededRowCount",Z0],["FailedRowCount",Z0],["StartTime",n2("System.DateTime")],["StopTime",n2("System.DateTime")]])}class $f extends E0{constructor(t,r,n,i,o,s,a){super(),this.ImportId=t|0,this.User=r,this.Filename=n,this.NumberOfRecords=i|0,this.CurrentStage=o,this.CompletedStages=s,this.StartTime=a}}function Ff(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ActiveImportDto",[],$f,()=>[["ImportId",Z0],["User",h6()],["Filename",D1],["NumberOfRecords",Z0],["CurrentStage",N2(Rf())],["CompletedStages",i2(Vs())],["StartTime",n2("System.DateTime")]])}class Pf extends E0{constructor(t,r,n,i,o,s,a,l){super(),this.ImportId=t|0,this.User=r,this.Filename=n,this.NumberOfRecords=i|0,this.CompletedStages=o,this.BenefitsRequests=s,this.StartTime=a,this.StopTime=l}}function Lf(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.PastImportDto",[],Pf,()=>[["ImportId",Z0],["User",h6()],["Filename",D1],["NumberOfRecords",Z0],["CompletedStages",i2(Vs())],["BenefitsRequests",i2(If())],["StartTime",n2("System.DateTime")],["StopTime",n2("System.DateTime")]])}class Bf extends E0{constructor(t,r){super(),this.ActiveImport=t,this.ImportHistory=r}}function Hf(){return O1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.AccountImportsDto",[],Bf,()=>[["ActiveImport",N2(Ff())],["ImportHistory",i2(Lf())]])}function Vf(e){return e}const Us=T0();function dr(e){return Array.from(e)}function Uf(e){return an(e,"O")}function jf(e){return Bd(e)}function Wf(){return T0()}function qf(e){return an(e,"O")}function m6(e,t){return JSON.stringify(t,void 0,f1(e))}function Gf(e){return t=>Iu(C1(e,t),()=>Us)}function X7(e,t,r,n){let i;const o=new S1(T0());let s;const a=X0(n);s=a===""?e:_s(a,o,e);let l;if(j8(n)){const u=t1(d=>{const f=Es(t,pt(d)),p=Me(s,t,r,d[1]);return h=>m=>{const g=Pu(h,d);return(!r||r&&g!=null)&&(m[f]=p(g)),m}},T3(n));l=d=>j3((f,p)=>p(d)(f),{},u)}else if(U8(n))l=u=>{const d=Fu(u,n),f=d[0],p=d[1],h=p.length|0;if(h===0)return pt(f);{const m=h|0,g=W8(f),y=H3(new Array(m+1),0,m+1,null);I1(y,0,pt(f));for(let _=1;_<=m;_++){const C=Me(s,t,r,g0(_-1,g)[1]);I1(y,_,C(g0(_-1,p)))}return y}};else throw new Error((i=X0(n),O2(Be(`Cannot generate auto encoder for %s. Please pass an extra encoder.
|
|
24
24
|
|
|
25
|
-
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function
|
|
25
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function Me(e,t,r,n){const i=X0(n),o=Cs(i,e);if(o==null)if(F8(n)){const s=Me(e,t,r,B3(n));return a=>dr(V0(s,a))}else if(X4(n))switch(X0(B8(n))){case"System.SByte":return a=>a;case"System.Byte":return a=>a;case"System.Int16":return a=>a;case"System.UInt16":return a=>a;case"System.Int32":return a=>a;case"System.UInt32":return a=>a;default:{const a=X0(n);return N8(Be(`Cannot generate auto encoder for %s.
|
|
26
26
|
Thoth.Json.Net only support the following enum types:
|
|
27
27
|
- sbyte
|
|
28
28
|
- byte
|
|
@@ -34,7 +34,7 @@ Thoth.Json.Net only support the following enum types:
|
|
|
34
34
|
If you can't use one of these types, please pass an extra encoder.
|
|
35
35
|
|
|
36
36
|
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders
|
|
37
|
-
`))(a)}}else if(Xf(r))if(iu(r)){const s=et(a=>kn(e,t,n,a),t0(r));return a=>Qo(Vg((l,u)=>pe(l,s)(u),a))}else{const s=Xe(Jf(r));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new t1(()=>i2(kn(e,t,n,pe(0,qt(r)))));return l=>l==null?nm:a.Value(l)}else if(s==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||s==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||s==="System.Collections.Generic.IEnumerable`1[System.Object]"){const a=kn(e,t,n,pe(0,qt(r)));return l=>Qo(Le(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=pe(0,qt(r)),l=kn(e,t,n,pe(1,qt(r)));if(Xe(a)==="System.String"||Xe(a)==="System.Guid")return u=>Mo((d,f)=>{const p=f;return d[p[0]]=l(p[1]),d},{},u);{let u;return u=kn(e,t,n,a),f=>Qo(Le(p=>{const m=p;return[u(m[0]),l(m[1])]},f))}}else return nd(e,t,n,r)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return n2;case"System.String":return s=>s;case"System.Char":return s=>s;case"System.SByte":return s=>s;case"System.Byte":return s=>s;case"System.Int16":return s=>s;case"System.UInt16":return s=>s;case"System.Int32":return s=>s;case"System.UInt32":return s=>s;case"System.Double":return s=>s;case"System.Single":return s=>s;case"System.DateTime":return r2;case"System.DateTimeOffset":return e2;case"System.TimeSpan":return t2;case"System.Guid":return Qy;case"System.Object":return s=>s;default:return nd(e,t,n,r)}else{const s=o;return a=>s.contents(a)}}function o2(e){return mu({Compare:jr})}function bu(e,t,n,r){const i=Je(t,new Hn(0,[])),o=Je(r,!0);return kn(o2(),i,o,e)}class _u extends Ce{constructor(t,n){super(),this.RowId=t|0,this.Data=n}}function rm(){return Mt("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],_u,()=>[["RowId",qe],["Data",tr("Microsoft.FSharp.Collections.FSharpMap`2",[Dt,Dt])]])}let im=class extends Ce{constructor(t,n){super(),this.IncludesEmploymentInfo=t,this.Data=n}};function s2(){return Mt("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],im,()=>[["IncludesEmploymentInfo",ho],["Data",nr(rm())]])}class a2 extends Ce{constructor(t,n,r){super(),this.Column=t,this.PropName=n,this.Message=r}}function l2(){return Mt("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],a2,()=>[["Column",Dt],["PropName",Dt],["Message",Dt]])}class u2 extends Ce{constructor(t,n){super(),this.RowId=t|0,this.FieldErrors=n}}function c2(){return Mt("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],u2,()=>[["RowId",qe],["FieldErrors",nr(l2())]])}class d2 extends Ce{constructor(t,n){super(),this.Errors=t,this.DuplicateEmailCount=n|0}}function f2(){return Mt("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],d2,()=>[["Errors",nr(c2())],["DuplicateEmailCount",qe]])}class om extends Ce{constructor(t,n,r){super(),this.IncludesEmploymentInfo=t,this.InviteNow=n,this.Data=r}}function m2(){return Mt("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],om,()=>[["IncludesEmploymentInfo",ho],["InviteNow",ho],["Data",nr(rm())]])}class h2 extends Ce{constructor(t){super(),this.ImportId=t|0}}function p2(){return Mt("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],h2,()=>[["ImportId",qe]])}class g2 extends Ce{constructor(t,n){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=n|0}}function w2(){return Mt("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],g2,()=>[["DuplicateEmailCount",qe],["OtherFailuresCount",qe]])}class y2 extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function v2(){return Ao("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],y2,()=>[[["count",qe]],[["rowId",qe]],[["Item",w2()]]])}class b2 extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InProgress","Done"]}}function _2(){return Ao("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],b2,()=>[[],[["Item",v2()]]])}class fn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested"]}}function x2(){return Ao("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],fn,()=>[[["Item",Gn(["Section",Dt])]],[["Item",Gn(["Success",ho])]],[["Item",Gn(["From",Dt])]],[["Item",Gn(["From",Dt],["To",Dt])]],[["Item",Gn(["Field",Dt])]],[["Item",Gn(["RowCount",qe])]],[["Item",Gn(["DuplicateCount",qe],["RowCount",qe],["SuccessCount",qe],["TotalFailedCount",qe])]],[],[["Item",Gn(["ImportId",qe],["UsersInvited",ho])]]])}class sm extends Ce{constructor(t,n){super(),this.SessionId=t,this.Data=n}}function C2(){return Mt("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],sm,()=>[["SessionId",kr(Dt)],["Data",x2()]])}function Fo(e){return`${e}/import/workspace/v1.0`}function Po(e){return Y.Delay(()=>Y.Bind($c(e),t=>{const n=t;return n.statusCode===429||n.statusCode>=500?Y.ReturnFrom($c(e)):Y.Return(n)}))}function S2(e,t){return Y.Delay(()=>{let n;const r=Po(Ro(new Ii(0,[]),Do(Fo(e)+"/accounts/current/imports")));return n=Y.Bind(r,i=>Y.Return(new M(0,[i]))),Y.Bind(n,i=>{const o=i;if(o.tag===1)return Y.Return(new M(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const u=aa(Ke(la(Jy(),new Hn(1,[]))),s.responseText);return l=u.tag===1?new M(1,[u.fields[0]]):new M(0,[u.fields[0]]),Y.Return(l)}case 404:return Y.Return(new M(0,[void 0]));default:return Y.Return(new M(1,["Failed to get account imports"]))}}})})}function E2(e,t){return Y.Delay(()=>{let n,r;const i=Po((n=Ro(new Ii(1,[]),Do(Fo(e)+"/accounts/current/import/validate")),hu(new ia(1,[vu(0,bu(s2(),new Hn(1,[]),void 0,void 0)(t))]),n)));return r=Y.Bind(i,o=>Y.Return(new M(0,[o]))),Y.Bind(r,o=>{const s=o;if(s.tag===1)return Y.Return(new M(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=aa(Ke(la(f2(),new Hn(1,[]))),a.responseText);return Y.Return(l)}else return Y.Return(new M(1,[`Failed to validate: ${a.responseText}`]))}})})}function A2(e,t){return Y.Delay(()=>{let n,r;const i=Po((n=Ro(new Ii(1,[]),Do(Fo(e)+"/accounts/current/import/start")),hu(new ia(1,[vu(0,bu(m2(),new Hn(1,[]),void 0,void 0)(t))]),n)));return r=Y.Bind(i,o=>Y.Return(new M(0,[o]))),Y.Bind(r,o=>{const s=o;if(s.tag===1)return Y.Return(new M(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=aa(Ke(la(p2(),new Hn(1,[]))),a.responseText);return Y.Return(l)}else return Y.Return(new M(1,[`Failed to start import: ${a.responseText}`]))}})})}function k2(e,t){return Y.Delay(()=>{let n;const r=Po(Ro(new Ii(0,[]),Do(Fo(e)+`/accounts/current/import/${t}/status`)));return n=Y.Bind(r,i=>Y.Return(new M(0,[i]))),Y.Bind(n,i=>{const o=i;if(o.tag===1)return Y.Return(new M(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=aa(Ke(la(_2(),new Hn(1,[]))),s.responseText);return Y.Return(a)}else return Y.Return(new M(1,[`Failed to get import status: ${s.responseText}`]))}})})}function am(e,t,n){return Y.Delay(()=>{let r;const i=new sm(t,n);return Y.Bind(Po((r=Ro(new Ii(1,[]),Do(Fo(e)+"/analytics")),hu(new ia(1,[vu(0,bu(C2(),new Hn(1,[]),void 0,void 0)(i))]),r))),o=>{const s=o;return s.statusCode===200||console.warn(ct("Failed to send analytics: "),s.responseText),Y.Zero()})})}function N2(){return at()}function xu(e){return At("/",e)}function T2(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+xu(t),n])}function lm(e,t,n){try{Me(n)}catch(r){e(["Error stopping subscription: "+xu(t),r])}}function $2(e,t,n,r){try{return[n,r(t)]}catch(i){e(["Error starting subscription: "+xu(n),i]);return}}function M2(e,t){go(n=>{lm(e,n[0],n[1])},t)}function rd(e,t,n,r,i,o){return go(s=>{T2(e,s)},n),go(s=>{lm(e,s[0],s[1])},r),$o(i,yg(s=>$2(e,t,s[0],s[1]),o))}function I2(){return[at(),py({Compare:Et}),at()]}function D2(e,t,n,r,i){return gl(e,r)?[Xt(e,n),r,i]:[n,hy(e,r),Xt([e,t],i)]}function R2(e){return cg((t,n)=>D2(t[0],t[1],n[0],n[1],n[2]),e,I2())}const O2=at();function id(e,t){const n=gy(ir(s=>s[0],e),{Compare:Et}),r=R2(t),i=r[1],o=r[0];if(n.Equals(i))return[o,at(),e,at()];{const s=wg(a=>gl(a[0],i),e);return[o,s[1],s[0],Mn(a=>!gl(a[0],n),r[2])]}}class F2{constructor(t,n,r){this.OnNext=t,this.OnError=n||(i=>{}),this.OnCompleted=r||(()=>{})}}function P2(e,t){t.Subscribe(new F2(e))}class L2{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 H2(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const i=n===void 0?t:(r=t,n);this.delegates.forEach(o=>{o(r,i)})}}let V2=class extends L2{};function H2(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(i,o)=>n.OnNext(o);return e(r),{Dispose(){t(r)}}}}}class j2{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 V2}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function B2(e,t){console.error(ct(e),t)}function U2(e,t){let n,r=new j2(e);r.AutoReset=!1,n=r,P2(t,n.Elapsed()),n.Enabled=!0,n.Start()}function od(e,t,n){go(r=>{try{r(t)}catch(i){e(i)}},n)}function ve(){return at()}function um(e){return mg(e)}function cm(e){return ce(e)}function dm(e,t,n,r){return ce(i=>{e(Y.Delay(()=>Y.Bind(iw(t(n)),o=>{const s=o;return s.tag===0&&i(r(s.fields[0])),Y.Zero()})))})}function fm(e){U2(1,t=>{Mi(e)})}function W2(e,t,n,r){const i=Et(e,n)|0;if(i===0)throw new Error("The step of a range cannot be zero");const o=i>0;return s=>{const a=Et(s,t)|0;return o&&a<=0||!o&&a>=0?[s,r(s,e)]:void 0}}function G2(e,t,n,r,i){const o=W2(t,n,r,i);return $(()=>Og(o,e))}function Cu(e,t,n){return G2(e,t,n,0,(r,i)=>r+i)}class ci extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class z2{constructor(t){this.state=new ci(0,[No(new Array(_c(t,10)),0,_c(t,10),null),0])}}function q2(e){return new z2(e)}function sd(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,i=t.fields[0],o=(r+1)%i.length|0;return o===n?e.state=new ci(0,[i,n]):e.state=new ci(1,[i,n,o]),ct(pe(r,i))}else return}function Y2(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,i=n.fields[2]|0,o=n.fields[0];$t(o,r,t);const s=(r+1)%o.length|0;s===i?e.state=new ci(1,[Z2(e,i,o),o.length,0]):e.state=new ci(1,[o,s,i])}else{const r=n.fields[1]|0,i=n.fields[0];$t(i,r,t);const o=(r+1)%i.length|0;e.state=new ci(1,[i,o,r])}}function Z2(e,t,n){return Array.from($(()=>H(Bg(t,n),$(()=>H(Ug(t,n),$(()=>ta(r=>k(Ae()),Cu(0,1,n.length))))))))}class Su extends Ce{constructor(t,n,r,i,o,s,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=i,this.setState=o,this.onError=s,this.termination=a}}function Br(e,t,n){return new Su(e,t,r=>N2(),n,Ke(r=>{const i=Zn(n)(r);return o=>{i(o)}}),r=>{B2(r[0],r[1])},[r=>!1,r=>{}])}function K2(e,t){return new Su(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function X2(e){return e.init}function J2(e,t,n,r,i,o,s){const a=Zn(e)(s.init),l=Ma(t)(Zn(s.update)),u=Ma(n)(Zn(s.view)),d=Ma(r)(Zn(s.setState));return new Su(a,Ke(l),Zn(i)(s.subscribe),Ke(u),Ke(d),s.onError,o(s.termination))}function Q2(e,t,n){let r;const i=n.init(t),o=i[0],s=n.subscribe(o),a=n.termination,l=q2(10);let u=!1,d=o,f=O2,p=!1;const m=v=>{p||(Y2(l,v),u||(u=!0,b(),u=!1))},h=Zn(e)(m),b=()=>{let v,_=sd(l);for(;!p&&_!=null;){const x=V(_);if(a[0](x))M2(n.onError,f),a[1](d),p=!0;else{const E=n.update(x,d),T=E[0],I=n.subscribe(T);n.setState(T,h),od(O=>{n.onError([$r(Pn("Error handling the message: %A"))(x),O])},h,E[1]),d=T,f=(v=id(f,I),rd(n.onError,h,v[0],v[1],v[2],v[3])),_=sd(l)}}};u=!0,n.setState(o,h),od(v=>{n.onError([$r(Pn("Error intitializing:")),v])},h,i[1]),f=(r=id(f,s),rd(n.onError,h,r[0],r[1],r[2],r[3])),b(),u=!1}function ev(e,t){Q2(Ke(n=>n),e,t)}function tv(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var La={exports:{}},Va={};const nv=tv(vs);/**
|
|
37
|
+
`))(a)}}else if(P8(n))if(Q4(n)){const s=t1(a=>Me(e,t,r,a),V8(n));return a=>dr(Ac((l,u)=>g0(l,s)(u),a))}else{const s=X0(L8(n));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new Vl(()=>Gf(Me(e,t,r,g0(0,Z1(n)))));return l=>l==null?Us:a.Value(l)}else if(s==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||s==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||s==="System.Collections.Generic.IEnumerable`1[System.Object]"){const a=Me(e,t,r,g0(0,Z1(n)));return l=>dr(V0(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=g0(0,Z1(n)),l=Me(e,t,r,g0(1,Z1(n)));if(X0(a)==="System.String"||X0(a)==="System.Guid")return u=>j3((d,f)=>{const p=f;return d[p[0]]=l(p[1]),d},{},u);{let u;return u=Me(e,t,r,a),f=>dr(V0(p=>{const h=p;return[u(h[0]),l(h[1])]},f))}}else return X7(e,t,r,n)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return Wf;case"System.String":return s=>s;case"System.Char":return s=>s;case"System.SByte":return s=>s;case"System.Byte":return s=>s;case"System.Int16":return s=>s;case"System.UInt16":return s=>s;case"System.Int32":return s=>s;case"System.UInt32":return s=>s;case"System.Double":return s=>s;case"System.Single":return s=>s;case"System.DateTime":return qf;case"System.DateTimeOffset":return Uf;case"System.TimeSpan":return jf;case"System.Guid":return Vf;case"System.Object":return s=>s;default:return X7(e,t,r,n)}else{const s=o;return a=>s.contents(a)}}function zf(e){return l6({Compare:j2})}function p6(e,t,r,n){const i=Q0(t,new Ue(0,[])),o=Q0(n,!0);return Me(zf(),i,o,e)}class g6 extends E0{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function js(){return O1("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],g6,()=>[["RowId",Z0],["Data",n2("Microsoft.FSharp.Collections.FSharpMap`2",[D1,D1])]])}let Ws=class extends E0{constructor(t,r){super(),this.IncludesEmploymentInfo=t,this.Data=r}};function Yf(){return O1("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],Ws,()=>[["IncludesEmploymentInfo",A3],["Data",i2(js())]])}class Zf extends E0{constructor(t,r,n){super(),this.Column=t,this.PropName=r,this.Message=n}}function Kf(){return O1("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],Zf,()=>[["Column",D1],["PropName",D1],["Message",D1]])}class Jf extends E0{constructor(t,r){super(),this.RowId=t|0,this.FieldErrors=r}}function Xf(){return O1("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],Jf,()=>[["RowId",Z0],["FieldErrors",i2(Kf())]])}class Qf extends E0{constructor(t,r){super(),this.Errors=t,this.DuplicateEmailCount=r|0}}function eh(){return O1("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],Qf,()=>[["Errors",i2(Xf())],["DuplicateEmailCount",Z0]])}class qs extends E0{constructor(t,r,n){super(),this.IncludesEmploymentInfo=t,this.InviteNow=r,this.Data=n}}function th(){return O1("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],qs,()=>[["IncludesEmploymentInfo",A3],["InviteNow",A3],["Data",i2(js())]])}class rh extends E0{constructor(t){super(),this.ImportId=t|0}}function nh(){return O1("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],rh,()=>[["ImportId",Z0]])}class ih extends E0{constructor(t,r){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=r|0}}function oh(){return O1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],ih,()=>[["DuplicateEmailCount",Z0],["OtherFailuresCount",Z0]])}class sh extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function ah(){return L3("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],sh,()=>[[["count",Z0]],[["rowId",Z0]],[["Item",oh()]]])}class lh extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function uh(){return L3("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],lh,()=>[[],[["Item",ah()]]])}class fe extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested"]}}function ch(){return L3("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],fe,()=>[[["Item",ze(["Section",D1])]],[["Item",ze(["Success",A3])]],[["Item",ze(["From",D1])]],[["Item",ze(["From",D1],["To",D1])]],[["Item",ze(["Field",D1])]],[["Item",ze(["RowCount",Z0])]],[["Item",ze(["DuplicateCount",Z0],["RowCount",Z0],["SuccessCount",Z0],["TotalFailedCount",Z0])]],[],[["Item",ze(["ImportId",Z0],["UsersInvited",A3])]]])}class Gs extends E0{constructor(t,r){super(),this.SessionId=t,this.Data=r}}function dh(){return O1("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],Gs,()=>[["SessionId",N2(D1)],["Data",ch()]])}function Y3(e){return`${e}/import/workspace/v1.0`}function Z3(e){return z.Delay(()=>z.Bind(A7(e),t=>{const r=t;return r.statusCode===429||r.statusCode>=500?z.ReturnFrom(A7(e)):z.Return(r)}))}function fh(e,t){return z.Delay(()=>{let r;const n=Z3(G3(new Bt(0,[]),q3(Y3(e)+"/accounts/current/imports")));return r=z.Bind(n,i=>z.Return(new I(0,[i]))),z.Bind(r,i=>{const o=i;if(o.tag===1)return z.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const u=_n(J0(Cn(Hf(),new Ue(1,[]))),s.responseText);return l=u.tag===1?new I(1,[u.fields[0]]):new I(0,[u.fields[0]]),z.Return(l)}case 404:return z.Return(new I(0,[void 0]));default:return z.Return(new I(1,["Failed to get account imports"]))}}})})}function hh(e,t){return z.Delay(()=>{let r,n;const i=Z3((r=G3(new Bt(1,[]),q3(Y3(e)+"/accounts/current/import/validate")),u6(new yn(1,[m6(0,p6(Yf(),new Ue(1,[]),void 0,void 0)(t))]),r)));return n=z.Bind(i,o=>z.Return(new I(0,[o]))),z.Bind(n,o=>{const s=o;if(s.tag===1)return z.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=_n(J0(Cn(eh(),new Ue(1,[]))),a.responseText);return z.Return(l)}else return z.Return(new I(1,[`Failed to validate: ${a.responseText}`]))}})})}function mh(e,t){return z.Delay(()=>{let r,n;const i=Z3((r=G3(new Bt(1,[]),q3(Y3(e)+"/accounts/current/import/start")),u6(new yn(1,[m6(0,p6(th(),new Ue(1,[]),void 0,void 0)(t))]),r)));return n=z.Bind(i,o=>z.Return(new I(0,[o]))),z.Bind(n,o=>{const s=o;if(s.tag===1)return z.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=_n(J0(Cn(nh(),new Ue(1,[]))),a.responseText);return z.Return(l)}else return z.Return(new I(1,[`Failed to start import: ${a.responseText}`]))}})})}function ph(e,t){return z.Delay(()=>{let r;const n=Z3(G3(new Bt(0,[]),q3(Y3(e)+`/accounts/current/import/${t}/status`)));return r=z.Bind(n,i=>z.Return(new I(0,[i]))),z.Bind(r,i=>{const o=i;if(o.tag===1)return z.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=_n(J0(Cn(uh(),new Ue(1,[]))),s.responseText);return z.Return(a)}else return z.Return(new I(1,[`Failed to get import status: ${s.responseText}`]))}})})}function zs(e,t,r){return z.Delay(()=>{let n;const i=new Gs(t,r);return z.Bind(Z3((n=G3(new Bt(1,[]),q3(Y3(e)+"/analytics")),u6(new yn(1,[m6(0,p6(dh(),new Ue(1,[]),void 0,void 0)(i))]),n))),o=>{const s=o;return s.statusCode===200||console.warn(f1("Failed to send analytics: "),s.responseText),z.Zero()})})}function gh(){return l1()}function w6(e){return T1("/",e)}function wh(e,t){const r=new Error("Duplicate SubId");return e(["Duplicate SubId: "+w6(t),r])}function Ys(e,t,r){try{O0(r)}catch(n){e(["Error stopping subscription: "+w6(t),n])}}function yh(e,t,r,n){try{return[r,n(t)]}catch(i){e(["Error starting subscription: "+w6(r),i]);return}}function vh(e,t){M3(r=>{Ys(e,r[0],r[1])},t)}function Q7(e,t,r,n,i,o){return M3(s=>{wh(e,s)},r),M3(s=>{Ys(e,s[0],s[1])},n),U3(i,oc(s=>yh(e,t,s[0],s[1]),o))}function bh(){return[l1(),rf({Compare:A1}),l1()]}function _h(e,t,r,n,i){return f4(e,n)?[X1(e,r),n,i]:[r,tf(e,n),X1([e,t],i)]}function Ch(e){return Ju((t,r)=>_h(t[0],t[1],r[0],r[1],r[2]),e,bh())}const xh=l1();function ei(e,t){const r=nf(s2(s=>s[0],e),{Compare:A1}),n=Ch(t),i=n[1],o=n[0];if(r.Equals(i))return[o,l1(),e,l1()];{const s=ic(a=>f4(a[0],i),e);return[o,s[1],s[0],Oe(a=>!f4(a[0],r),n[2])]}}class Sh{constructor(t,r,n){this.OnNext=t,this.OnError=r||(i=>{}),this.OnCompleted=n||(()=>{})}}function Eh(e,t){t.Subscribe(new Sh(e))}class Ah{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const r=this.delegates.indexOf(t);r>-1&&this.delegates.splice(r,1)}get Publish(){return Mh(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,r){let n=null;const i=r===void 0?t:(n=t,r);this.delegates.forEach(o=>{o(n,i)})}}let Th=class extends Ah{};function Mh(e,t){return{AddHandler(r){e(r)},RemoveHandler(r){t(r)},Subscribe(r){const n=(i,o)=>r.OnNext(o);return e(n),{Dispose(){t(n)}}}}}class Nh{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 Th}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function kh(e,t){console.error(f1(e),t)}function Ih(e,t){let r,n=new Nh(e);n.AutoReset=!1,r=n,Eh(t,r.Elapsed()),r.Enabled=!0,r.Start()}function ti(e,t,r){M3(n=>{try{n(t)}catch(i){e(i)}},r)}function C0(){return l1()}function y6(e){return ec(e)}function v6(e){return u0(e)}function Zs(e,t,r,n){return u0(i=>{e(z.Delay(()=>z.Bind(qc(t(r)),o=>{const s=o;return s.tag===0&&i(n(s.fields[0])),z.Zero()})))})}function Ks(e){Ih(1,t=>{Lt(e)})}function Oh(e,t,r,n){const i=A1(e,r)|0;if(i===0)throw new Error("The step of a range cannot be zero");const o=i>0;return s=>{const a=A1(s,t)|0;return o&&a<=0||!o&&a>=0?[s,n(s,e)]:void 0}}function Rh(e,t,r,n,i){const o=Oh(t,r,n,i);return k(()=>Cc(o,e))}function b6(e,t,r){return Rh(e,t,r,0,(n,i)=>n+i)}class yt extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Writable","ReadWritable"]}}class Dh{constructor(t){this.state=new yt(0,[H3(new Array(w7(t,10)),0,w7(t,10),null),0])}}function $h(e){return new Dh(e)}function ri(e){const t=e.state;if(t.tag===1){const r=t.fields[1]|0,n=t.fields[2]|0,i=t.fields[0],o=(n+1)%i.length|0;return o===r?e.state=new yt(0,[i,r]):e.state=new yt(1,[i,r,o]),f1(g0(n,i))}else return}function Fh(e,t){const r=e.state;if(r.tag===1){const n=r.fields[1]|0,i=r.fields[2]|0,o=r.fields[0];I1(o,n,t);const s=(n+1)%o.length|0;s===i?e.state=new yt(1,[Ph(e,i,o),o.length,0]):e.state=new yt(1,[o,s,i])}else{const n=r.fields[1]|0,i=r.fields[0];I1(i,n,t);const o=(n+1)%i.length|0;e.state=new yt(1,[i,o,n])}}function Ph(e,t,r){return Array.from(k(()=>H(Nc(t,r),k(()=>H(kc(t,r),k(()=>pn(n=>T(T0()),b6(0,1,r.length))))))))}class _6 extends E0{constructor(t,r,n,i,o,s,a){super(),this.init=t,this.update=r,this.subscribe=n,this.view=i,this.setState=o,this.onError=s,this.termination=a}}function q2(e,t,r){return new _6(e,t,n=>gh(),r,J0(n=>{const i=Je(r)(n);return o=>{i(o)}}),n=>{kh(n[0],n[1])},[n=>!1,n=>{}])}function Lh(e,t){return new _6(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Bh(e){return e.init}function Hh(e,t,r,n,i,o,s){const a=Je(e)(s.init),l=Gn(t)(Je(s.update)),u=Gn(r)(Je(s.view)),d=Gn(n)(Je(s.setState));return new _6(a,J0(l),Je(i)(s.subscribe),J0(u),J0(d),s.onError,o(s.termination))}function Vh(e,t,r){let n;const i=r.init(t),o=i[0],s=r.subscribe(o),a=r.termination,l=$h(10);let u=!1,d=o,f=xh,p=!1;const h=y=>{p||(Fh(l,y),u||(u=!0,g(),u=!1))},m=Je(e)(h),g=()=>{let y,_=ri(l);for(;!p&&_!=null;){const C=B(_);if(a[0](C))vh(r.onError,f),a[1](d),p=!0;else{const E=r.update(C,d),M=E[0],O=r.subscribe(M);r.setState(M,m),ti(R=>{r.onError([O2(Be("Error handling the message: %A"))(C),R])},m,E[1]),d=M,f=(y=ei(f,O),Q7(r.onError,m,y[0],y[1],y[2],y[3])),_=ri(l)}}};u=!0,r.setState(o,m),ti(y=>{r.onError([O2(Be("Error intitializing:")),y])},m,i[1]),f=(n=ei(f,s),Q7(r.onError,m,n[0],n[1],n[2],n[3])),g(),u=!1}function Uh(e,t){Vh(J0(r=>r),e,t)}function jh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Qn={exports:{}},e5={};const Wh=jh(Ir);/**
|
|
38
38
|
* @license React
|
|
39
39
|
* use-sync-external-store-shim.production.min.js
|
|
40
40
|
*
|
|
@@ -42,26 +42,38 @@ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation
|
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var ad;function rv(){if(ad)return Va;ad=1;var e=nv;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,p){var m=p(),h=r({inst:{value:m,getSnapshot:p}}),b=h[0].inst,v=h[1];return o(function(){b.value=m,b.getSnapshot=p,l(b)&&v({inst:b})},[f,m,p]),i(function(){return l(b)&&v({inst:b}),f(function(){l(b)&&v({inst:b})})},[f]),s(m),m}function l(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!n(f,m)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return Va.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Va}var ld;function iv(){return ld||(ld=1,La.exports=rv()),La.exports}var ov=iv();class sv{constructor(t,n,r){this.arg=n,this.dependencies=r;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=X2(i)(this.arg);let l=a[0],u=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],u],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const p=ll(this.state[0]);return ev(this.arg,K2((m,h)=>{const b=this.state;this.finalDispatch=h,this.state=[m,b[1],!0,o],m!==b[0]&&d()},J2((m,h)=>{const b=this.cmd;return this.cmd=ve(),[this.state[0],b]},(m,h,b)=>m(h)(this.state[0]),cl(m=>m),cl(m=>m),Ke(m=>m),m=>[h=>m[0](h)?!0:p&&f,h=>{const b=h;ll(b)?Me(b):m[1](h)}],i))),()=>{f=!0}}}}function ud(e,t,n){return new sv(e,t,n)}function av(e){return e.state}function lv(e){return e.subscribe}function uv(e,t,n){return te(e.arg,t)?!te(e.dependencies,n):!0}function Ur(e,t,n){const r=xe(()=>ud(e,t,n)),i=r[0];uv(i,t,n)&&r[1](ud(e,t,n));const o=ov.useSyncExternalStore(lv(i),()=>av(i)),s=o[2],a=o[3],l=o[1];return Fe(()=>{if(s&&a.length>0){let u=Oe(a);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const d=u["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{Me(u)}d1(a)}},[s,a]),[o[0],l]}class wl extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Asc","Desc"]}}function cv(e){return e.tag===1?new wl(0,[]):new wl(1,[])}function dv(e,t,n){return e.tag===1?bg(t,n,{Compare:Et}):vg(t,n,{Compare:Et})}class ua extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}function Rn(e,t){return cm(n=>{e(t)})}let ds=class extends Ce{constructor(t){super(),this.View=t}},fs=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded","Error"]}},mm=class extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["GetAccountImports"]}};function fv(){return[new ds(new fs(0,[])),ce(e=>{e(new mm(new ua(0,[void 0])))})]}function mv(e,t,n){return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[new ds(new fs(2,[t.fields[0].fields[0].fields[0]])),ve()]:[new ds(new fs(1,[t.fields[0].fields[0].fields[0]])),ve()]:[new ds(new fs(0,[])),dm(r=>{fm(r)},e,void 0,r=>new mm(new ua(1,[r])))]}class hv extends Ce{constructor(t){super(),this.UserActivities=t}}class cd extends Ce{constructor(t,n,r){super(),this.Timestamp=t,this.User=n,this.Activity=r}}function pv(e,t){const n=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(n)>=0?!0:Je(_t(r=>r.toLocaleLowerCase().indexOf(n)>=0,e.Email),!1)}function gv(e){return $o(g(Ni(_t(t=>new cd(t.StartTime,t.User,`Processing ${t.NumberOfRecords} records`),e.ActiveImport))),ir(t=>new cd(t.StartTime,t.User,Je(_t(n=>`Added ${n.SucceededRowCount} users via Csv`,f0(n=>te(n.Stage,new Q0(0,[])),t.CompletedStages)),`Processed ${t.NumberOfRecords} records`)),e.ImportHistory))}function wv(e){return new hv(Je(_t(gv,e),at()))}class dd extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Error","TableData"]}}class yv extends Ce{constructor(t,n){super(),this.Data=t,this.IsFiltered=n}}class Lo extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class vv extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class bv extends Ce{constructor(t,n){super(),this.SortInfo=t,this.SortDirectionToggledHandler=n}}class hm extends Ce{constructor(t,n){super(),this.Column=t,this.Direction=n}}class _v extends W{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class $s extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class xv extends Ce{constructor(t,n,r,i,o){super(),this.CurrentPage=t|0,this.FirstRowIndex=n|0,this.LastRowIndex=r|0,this.TotalRecordsNumber=i|0,this.PageSize=o|0}}function Cv(e){return e.tag===1?pm(e.fields[0].Data):ym()}function Sv(e){return e.tag===1?Ri(e.fields[0].Data):new $s(1,[])}function Ev(e){const t=Eu(ym(),e);return new Lo([bm(Jt(e),20),t])}function Vo(e){return e.fields[0][1]}function pm(e){return wm(Vo(e))}function Av(e){return Au(Vo(e))}function Ri(e){return e.fields[0][0]}function kv(e){const t=Ri(e);if(t.tag===0){const n=t.fields[0],r=h0(n.FirstRowIndex,Av(e));return p0(Vv(n),r)}else return at()}function gm(e,t){const n=Eu(pm(e),t);return new Lo([Fv(Ri(e),Jt(Au(n))),n])}function Nv(e){return new Lo([Ri(e),Mv(Vo(e))])}function Tv(e){return new Lo([Ov(Ri(e)),Vo(e)])}function $v(e){return new Lo([Rv(Ri(e)),Vo(e)])}function Eu(e,t){return new vv([e,dv(e.Direction,n=>n.Timestamp,t)])}function Au(e){return e.fields[0][1]}function wm(e){return e.fields[0][0]}function Mv(e){return Eu(Iv(wm(e)),Au(e))}function ym(){return new hm(new _v,new wl(0,[]))}function Iv(e){return new hm(e.Column,cv(e.Direction))}function vm(e,t){return~~(e/t)+(e%t===0?0:1)}function ca(e,t,n){if(e<=0)return new $s(1,[]);{const r=xc(n,vm(e,t))|0,i=(r-1)*t|0;return new $s(0,[new xv(r,i,xc(i+t-1,e-1),e,t)])}}function bm(e,t){return ca(e,t,1)}function Dv(e){if(e.tag===0){const t=e.fields[0];return vm(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function _m(e){return e.tag===0?e.fields[0].CurrentPage<Dv(e):!1}function xm(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function Rv(e){const t=xm(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return ca(r.TotalRecordsNumber,r.PageSize,r.CurrentPage-1)}default:return e}}function Ov(e){const t=_m(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return ca(r.TotalRecordsNumber,r.PageSize,r.CurrentPage+1)}default:return e}}function Fv(e,t){return t<=0?new $s(1,[]):e.tag===0?ca(t,20,e.fields[0].CurrentPage):bm(t,20)}function Pv(e){return e.FirstRowIndex+1}function Lv(e){return e.LastRowIndex+1}function Vv(e){return e.LastRowIndex-e.FirstRowIndex+1}let sr=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["LoadingError","ValidState"]}};class Oi extends Ce{constructor(t,n,r){super(),this.ImportHistory=t,this.View=n,this.PaginatedList=r}}class ku extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","Filtered"]}}function Hv(e){if(e.tag===1)return Cm(e.fields[0])}function jv(e){return e.tag===0}function Bv(e){return e.tag===1?new dd(1,[Zv(e.fields[0])]):new dd(0,[])}function Cm(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Uv(e){return Cm(e)!=null}function Wv(e,t){return new sr(1,[new Oi(e.ImportHistory,new ku(1,[t]),gm(e.PaginatedList,Mn(n=>pv(n.User,t),e.ImportHistory.UserActivities)))])}function Gv(e){return new sr(1,[new Oi(e.ImportHistory,new ku(0,[]),gm(e.PaginatedList,e.ImportHistory.UserActivities))])}function zv(e){return new sr(1,[new Oi(e.ImportHistory,e.View,Nv(e.PaginatedList))])}function qv(e){return new sr(1,[new Oi(e.ImportHistory,e.View,Tv(e.PaginatedList))])}function Yv(e){return new sr(1,[new Oi(e.ImportHistory,e.View,$v(e.PaginatedList))])}function Zv(e){return new yv(e.PaginatedList,Uv(e))}let di=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function Kv(e){let t;return[e.tag===1?new sr(0,[]):(t=e.fields[0],new sr(1,[new Oi(t,new ku(0,[]),Ev(t.UserActivities))])),ve()]}function Sm(e,t){return e.tag===1?t(e.fields[0]):[new sr(0,[]),ve()]}function Xv(e,t){return Sm(e,n=>[t(n),ve()])}function Jv(e,t){const n=r=>Xv(t,r);switch(e.tag){case 1:return n(Gv);case 2:return n(zv);case 3:return n(qv);case 4:return n(Yv);default:{const r=e.fields[0];return Sm(t,i=>tu(r)?[t,ce(o=>{o(new di(1,[]))})]:[Wv(i,r),ve()])}}}function Qv(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M6.77835 19.8844C6.74702 19.9444 6.7414 20.0146 6.76278 20.0789C6.78416 20.1432 6.83071 20.196 6.89177 20.2254L7.82464 20.6734C7.9462 20.7317 8.09214 20.6832 8.15452 20.5636L16.5023 4.56364C16.5337 4.50358 16.5393 4.43338 16.5179 4.3691C16.4965 4.30482 16.45 4.25197 16.3889 4.22264L15.4561 3.77464C15.3345 3.71627 15.1886 3.76481 15.1262 3.88436L6.77835 19.8844Z",["d",r]),["fill","#D1D5DB"],["stroke","#D1D5DB"],["strokeWidth",.5],["strokeLinejoin","round"]])))),["children",y.Children.toArray(Array.from(n))])])))}function eb(){let e,t,n;return c("div",w(g([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[c("div",w(g([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[c("div",{className:"text-gray-900 text-2xl font-bold font-['BR Sonoma'] leading-7",children:"Users"}),c("div",w(g([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(n=[Qv(24,24)],["children",y.Children.toArray(Array.from(n))])]))),c("div",{className:"text-gray-900 text-2xl font-bold font-['BR Sonoma'] leading-7",children:"Past activities"})],["children",y.Children.toArray(Array.from(t))])])))],["children",y.Children.toArray(Array.from(e))])])))}function tb(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([["clipRule","evenodd"],(r="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",r]),["fill","#9CA3AF"]])))),["children",y.Children.toArray(Array.from(n))])])))}function Ms(e,t){let n,r;return c("svg",w(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",r]),["fill","currentColor"]])))),["children",y.Children.toArray(Array.from(n))])])))}class fd extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFilter","ClearFilter"]}}function nb(e){let t,n;const r=Je(e.Value,"");return c("div",w(g([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[c("div",w(g([["className",At(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(n=K($(()=>{let i;return H(k(c("div",w(g([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[tb(20,20)],["children",y.Children.toArray(Array.from(i))])])))),$(()=>{let o;return H(k(c("input",w(g([(o="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",o]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",s=>{e.ActionHandler(new fd(0,[s.target.value]))}],["value",r],["disabled",e.Disabled]])))),$(()=>{let s;return tu(r)?k(Ae()):k(c("div",w(g([["onClick",a=>{e.ActionHandler(new fd(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[Ms(10,10)],["children",y.Children.toArray(Array.from(s))])]))))}))}))})),["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}function rb(e){let t,n;const r=e.height,i=e.width;return c("svg",w(g([["fill","none"],["height",r],["width",i],["viewBox","0 0 "+i+" "+r],["xmlns","http://www.w3.org/2000/svg"],(t=ce(c("path",w(g([(n="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",n]),["fill","#111827"]])))),["children",y.Children.toArray(Array.from(t))])])))}function ib(e){let t;const n=e.sortDirectionChangeHandler,r=e.sortDirection;return c("div",w(g([["className",At(" ",K($(()=>H(k("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),$(()=>r.tag===1?k("rotate-180"):k(""))))))],["onClick",i=>{n(void 0)}],(t=[c(rb,{width:10,height:7})],["children",y.Children.toArray(Array.from(t))])])))}function ob(e){const t=e.toggleSortDirection,n=e.props;return c(ib,{sortDirection:n.Direction,sortDirectionChangeHandler:t})}function sb(e){let t,n,r,i;const o=c(ob,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return c("div",w(g([["className","flex-none grid grid-cols-7"],(t=[c("div",w(g([["className","col-span-1 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(n=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),o],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","col-span-2 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(r=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",y.Children.toArray(Array.from(r))])]))),c("div",w(g([["className","col-span-4 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(i=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",y.Children.toArray(Array.from(i))])])))],["children",y.Children.toArray(Array.from(t))])])))}function Is(e){"@babel/helpers - typeof";return Is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Is(e)}function Rr(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Ft(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Cn(e){Ft(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Is(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ab(e,t){Ft(2,arguments);var n=Cn(e).getTime(),r=Rr(t);return new Date(n+r)}var lb={};function da(){return lb}function ub(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function cb(e){return Ft(1,arguments),e instanceof Date||Is(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function db(e){if(Ft(1,arguments),!cb(e)&&typeof e!="number")return!1;var t=Cn(e);return!isNaN(Number(t))}function fb(e,t){Ft(2,arguments);var n=Rr(t);return ab(e,-n)}var mb=864e5;function hb(e){Ft(1,arguments);var t=Cn(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/mb)+1}function Ds(e){Ft(1,arguments);var t=1,n=Cn(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Em(e){Ft(1,arguments);var t=Cn(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=Ds(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var s=Ds(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function pb(e){Ft(1,arguments);var t=Em(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Ds(n);return r}var gb=6048e5;function wb(e){Ft(1,arguments);var t=Cn(e),n=Ds(t).getTime()-pb(t).getTime();return Math.round(n/gb)+1}function Rs(e,t){var n,r,i,o,s,a,l,u;Ft(1,arguments);var d=da(),f=Rr((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&r!==void 0?r:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Cn(e),m=p.getUTCDay(),h=(m<f?7:0)+m-f;return p.setUTCDate(p.getUTCDate()-h),p.setUTCHours(0,0,0,0),p}function Am(e,t){var n,r,i,o,s,a,l,u;Ft(1,arguments);var d=Cn(e),f=d.getUTCFullYear(),p=da(),m=Rr((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:p.firstWeekContainsDate)!==null&&r!==void 0?r:(l=p.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(f+1,0,m),h.setUTCHours(0,0,0,0);var b=Rs(h,t),v=new Date(0);v.setUTCFullYear(f,0,m),v.setUTCHours(0,0,0,0);var _=Rs(v,t);return d.getTime()>=b.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function yb(e,t){var n,r,i,o,s,a,l,u;Ft(1,arguments);var d=da(),f=Rr((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&r!==void 0?r:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),p=Am(e,t),m=new Date(0);m.setUTCFullYear(p,0,f),m.setUTCHours(0,0,0,0);var h=Rs(m,t);return h}var vb=6048e5;function bb(e,t){Ft(1,arguments);var n=Cn(e),r=Rs(n,t).getTime()-yb(n,t).getTime();return Math.round(r/vb)+1}function He(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var zn={y:function(t,n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return He(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):He(r+1,2)},d:function(t,n){return He(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return He(t.getUTCHours()%12||12,n.length)},H:function(t,n){return He(t.getUTCHours(),n.length)},m:function(t,n){return He(t.getUTCMinutes(),n.length)},s:function(t,n){return He(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return He(o,n.length)}},Zr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_b={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return zn.y(t,n)},Y:function(t,n,r,i){var o=Am(t,i),s=o>0?o:1-o;if(n==="YY"){var a=s%100;return He(a,2)}return n==="Yo"?r.ordinalNumber(s,{unit:"year"}):He(s,n.length)},R:function(t,n){var r=Em(t);return He(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return He(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return He(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return He(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return zn.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return He(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var o=bb(t,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):He(o,n.length)},I:function(t,n,r){var i=wb(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):He(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):zn.d(t,n)},D:function(t,n,r){var i=hb(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):He(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return He(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return He(s,n.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return He(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),o;switch(i===12?o=Zr.noon:i===0?o=Zr.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),o;switch(i>=17?o=Zr.evening:i>=12?o=Zr.afternoon:i>=4?o=Zr.morning:o=Zr.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return zn.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):zn.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):He(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):He(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):zn.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):zn.s(t,n)},S:function(t,n){return zn.S(t,n)},X:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();if(s===0)return"Z";switch(n){case"X":return hd(s);case"XXXX":case"XX":return wr(s);case"XXXXX":case"XXX":default:return wr(s,":")}},x:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"x":return hd(s);case"xxxx":case"xx":return wr(s);case"xxxxx":case"xxx":default:return wr(s,":")}},O:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+md(s,":");case"OOOO":default:return"GMT"+wr(s,":")}},z:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+md(s,":");case"zzzz":default:return"GMT"+wr(s,":")}},t:function(t,n,r,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return He(s,n.length)},T:function(t,n,r,i){var o=i._originalDate||t,s=o.getTime();return He(s,n.length)}};function md(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var s=t;return n+String(i)+s+He(o,2)}function hd(e,t){if(e%60===0){var n=e>0?"-":"+";return n+He(Math.abs(e)/60,2)}return wr(e,t)}function wr(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=He(Math.floor(i/60),2),s=He(i%60,2);return r+o+n+s}var pd=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},km=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},xb=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return pd(t,n);var s;switch(i){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",pd(i,n)).replace("{{time}}",km(o,n))},Cb={p:km,P:xb},Sb=["D","DD"],Eb=["YY","YYYY"];function Ab(e){return Sb.indexOf(e)!==-1}function kb(e){return Eb.indexOf(e)!==-1}function gd(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Nb={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tb=function(t,n,r){var i,o=Nb[t];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function Ha(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var $b={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Mb={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ib={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Db={date:Ha({formats:$b,defaultWidth:"full"}),time:Ha({formats:Mb,defaultWidth:"full"}),dateTime:Ha({formats:Ib,defaultWidth:"full"})},Rb={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ob=function(t,n,r,i){return Rb[t]};function Zi(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[a]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var Fb={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pb={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Lb={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Vb={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Hb={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},jb={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Bb=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Ub={ordinalNumber:Bb,era:Zi({values:Fb,defaultWidth:"wide"}),quarter:Zi({values:Pb,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Zi({values:Lb,defaultWidth:"wide"}),day:Zi({values:Vb,defaultWidth:"wide"}),dayPeriod:Zi({values:Hb,defaultWidth:"wide",formattingValues:jb,defaultFormattingWidth:"wide"})};function Ki(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?Gb(a,function(f){return f.test(s)}):Wb(a,function(f){return f.test(s)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var d=t.slice(s.length);return{value:u,rest:d}}}function Wb(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Gb(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function zb(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=t.slice(i.length);return{value:s,rest:a}}}var qb=/^(\d+)(th|st|nd|rd)?/i,Yb=/\d+/i,Zb={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Kb={any:[/^b/i,/^(a|c)/i]},Xb={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Jb={any:[/1/i,/2/i,/3/i,/4/i]},Qb={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},e_={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},t_={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},n_={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},r_={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},i_={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},o_={ordinalNumber:zb({matchPattern:qb,parsePattern:Yb,valueCallback:function(t){return parseInt(t,10)}}),era:Ki({matchPatterns:Zb,defaultMatchWidth:"wide",parsePatterns:Kb,defaultParseWidth:"any"}),quarter:Ki({matchPatterns:Xb,defaultMatchWidth:"wide",parsePatterns:Jb,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ki({matchPatterns:Qb,defaultMatchWidth:"wide",parsePatterns:e_,defaultParseWidth:"any"}),day:Ki({matchPatterns:t_,defaultMatchWidth:"wide",parsePatterns:n_,defaultParseWidth:"any"}),dayPeriod:Ki({matchPatterns:r_,defaultMatchWidth:"any",parsePatterns:i_,defaultParseWidth:"any"})},s_={code:"en-US",formatDistance:Tb,formatLong:Db,formatRelative:Ob,localize:Ub,match:o_,options:{weekStartsOn:0,firstWeekContainsDate:1}},a_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,l_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,u_=/^'([^]*?)'?$/,c_=/''/g,d_=/[a-zA-Z]/;function Nm(e,t,n){var r,i,o,s,a,l,u,d,f,p,m,h,b,v;Ft(2,arguments);var _=String(t),x=da(),E=(r=(i=void 0)!==null&&i!==void 0?i:x.locale)!==null&&r!==void 0?r:s_,T=Rr((o=(s=(a=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&a!==void 0?a:x.firstWeekContainsDate)!==null&&s!==void 0?s:(u=x.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Rr((f=(p=(m=(h=void 0)!==null&&h!==void 0?h:void 0)!==null&&m!==void 0?m:x.weekStartsOn)!==null&&p!==void 0?p:(b=x.locale)===null||b===void 0||(v=b.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&f!==void 0?f:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var O=Cn(e);if(!db(O))throw new RangeError("Invalid time value");var F=ub(O),S=fb(O,F),C={firstWeekContainsDate:T,weekStartsOn:I,locale:E,_originalDate:O},A=_.match(l_).map(function(N){var D=N[0];if(D==="p"||D==="P"){var P=Cb[D];return P(N,E.formatLong)}return N}).join("").match(a_).map(function(N){if(N==="''")return"'";var D=N[0];if(D==="'")return f_(N);var P=_b[D];if(P)return kb(N)&&gd(N,t,String(e)),Ab(N)&&gd(N,t,String(e)),P(S,N,E.localize,C);if(D.match(d_))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");return N}).join("");return A}function f_(e){var t=e.match(u_);return t?t[1].replace(c_,"'"):e}function m_(e){return Nm(e,"d MMM, yyyy")}function h_(e){return Nm(e,"h:mm a")}function p_(e){let t,n,r,i,o,s,a;return c("div",w(g([["className","grid grid-cols-7"],(t=[c("div",w(g([["className","col-span-1 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(n=[c("div",w(g([["className"," flex flex-col justify-center items-start"],(r=[c("div",w(g([["className","self-stretch justify-start items-center gap-2 inline-flex"],(i=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:m_(e.Timestamp)})],["children",y.Children.toArray(Array.from(i))])]))),c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:h_(e.Timestamp)})],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","col-span-2 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-start gap-4"],(o=[c("div",w(g([["className","justify-center items-start flex flex-col"],(s=K($(()=>{let l;return H(k(c("div",w(g([["className","self-stretch justify-start items-center gap-2 inline-flex"],(l=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:e.User.Name})],["children",y.Children.toArray(Array.from(l))])])))),$(()=>{const u=e.User.Email;return u==null?k(Ae()):k(c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:u}))}))})),["children",y.Children.toArray(Array.from(s))])])))],["children",y.Children.toArray(Array.from(o))])]))),c("div",w(g([["className","col-span-4 px-6 py-4 bg-white border-b border-gray-200 justify-start items-center gap-1 flex"],(a=[c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:e.Activity})],["children",y.Children.toArray(Array.from(a))])])))],["children",y.Children.toArray(Array.from(t))])])))}function g_(e){const t=ir(n=>c(p_,n),e.Data);return c("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:y.Children.toArray(Array.from(t))})}function w_(e){let t,n,r,i,o;const s=e.height,a=e.width;return c("svg",w(g([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=g([c("path",w(g([(n="M60 100C37.9441 100 20 82.0567 20 60C20 37.9433 37.9441 20 60 20C82.0559 20 100 37.9433 100 60C100 82.0567 82.0559 100 60 100Z",["d",n]),["fill","url(#paint0_linear_3770_593)"]]))),c("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",w(g([(r="M60 76C60.5523 76 61 75.5523 61 75C61 74.4477 60.5523 74 60 74C59.4477 74 59 74.4477 59 75C59 75.5523 59.4477 76 60 76Z",["d",r]),["stroke","#111827"],["strokeWidth",2],["strokeLinecap","round"],["strokeLinejoin","round"]]))),(i=ce(c("linearGradient",w(g([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=g([c("stop",{offset:0,stopColor:"#FFD84D"}),c("stop",{offset:1,stopColor:"#FF876F"})]),["children",y.Children.toArray(Array.from(o))])])))),c("defs",{children:y.Children.toArray(Array.from(i))}))]),["children",y.Children.toArray(Array.from(t))])])))}function y_(){let e;return c("div",w(g([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[c(w_,{width:120,height:120})],["children",y.Children.toArray(Array.from(e))])])))}function v_(){let e,t,n,r;return c("div",w(g([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[c(y_,null),c("div",w(g([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[c("div",w(g([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(n=[c("div",w(g([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(r=[c("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),c("div",{className:"self-stretch text-center text-gray-500 text-sm font-normal leading-tight",children:"Something went wrong while retrieving your activities. Please refresh the page to try again."})],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))],["children",y.Children.toArray(Array.from(e))])])))}function b_(e){return{Data:kv(e.Data)}}function __(e){let t;const n=e.props,r=n.tag===1?c(g_,b_(n.fields[0])):c(v_,null);return c("div",w(g([["className","relative h-full grow"],(t=[c("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:y.Children.toArray([r])})],["children",y.Children.toArray(Array.from(t))])])))}class wd extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Prev","Next"]}}function x_(e){let t,n;const r=e.pageChangedHandler,i=e.pagingInfo;return c("div",w(g([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[c("div",{className:"self-stretch h-px bg-gray-200"}),c("div",w(g([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(n=K($(()=>{let o,s,a;return H((o=i,o.tag===1?k(c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],k((a=g([c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:dn(Pv(s))}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:dn(Lv(s))}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:dn(s.TotalRecordsNumber)}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),c("div",{children:y.Children.toArray(Array.from(a))}))))),$(()=>{let l,u,d;return k(c("div",w(g([["className","justify-start items-start gap-3 flex"],(l=[c("button",w(g([["type","button"],(u="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",u]),["children","Previous"],["onClick",f=>{r(new wd(0,[]))}],["disabled",!xm(i)]]))),c("button",w(g([["type","button"],(d="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",d]),["children","Next"],["onClick",f=>{r(new wd(1,[]))}],["disabled",!_m(i)]])))],["children",y.Children.toArray(Array.from(l))])]))))}))})),["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}class yl extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function C_(e,t){e(t.tag===0?new yl(2,[]):new yl(1,[]))}function S_(e){let t,n;const r=e.actionHandler,i=e.props;return c("div",w(g([(t="self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(n=[c(sb,new bv(Cv(i),()=>{r(new yl(0,[]))})),c(__,{props:i}),c(x_,{pagingInfo:Sv(i),pageChangedHandler:o=>{C_(r,o)}})],["children",y.Children.toArray(Array.from(n))])])))}function E_(e,t){t.tag===0?e(new di(0,[t.fields[0]])):e(new di(1,[]))}function A_(e,t){switch(t.tag){case 2:{e(new di(4,[]));break}case 0:{e(new di(2,[]));break}default:e(new di(3,[]))}}function yd(e){let t,n;const r=e.importHistory;let i;const o=Kv(r);i=Ur(()=>Br(()=>o,Jv,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const u=Hv(s);return l={ActionHandler:d=>{E_(a,d)},Disabled:jv(s),Value:io(u)},c("div",w(g([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[c(eb,null),c("div",w(g([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(n=[c(nb,l),c(S_,{props:Bv(s),actionHandler:d=>{A_(a,d)}})],["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}class vd extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Header","Row"]}}function k_(e,t){let n;const r=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return c("div",w(g([["className",At(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",r[0],r[2],t])],(n=[c("div",{className:At(" ",["w-full h-4 relative rounded",r[1]])})],["children",y.Children.toArray(Array.from(n))])])))}function bd(e){const t=ir(n=>k_(e,n),g(["col-span-1","col-span-2","col-span-4"]));return c("div",{className:"grid grid-cols-7",children:y.Children.toArray(Array.from(t))})}function N_(){let e,t;return c("div",w(g([(e="self-stretch animate-pulse grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",e]),(t=$o(ce(bd(new vd(0,[]))),ir(n=>bd(new vd(1,[])),K(Cu(1,1,5)))),["children",y.Children.toArray(Array.from(t))])])))}function T_(e){ra(()=>{Mi(am(e.backendUrl,void 0,new fn(0,[{Section:"user past activities"}])))});let t;const n=Ur(()=>Br(fv,(i,o)=>mv(()=>S2(e.backendUrl),i),(i,o)=>{}),void 0,[])[0].View;t=n.tag===2?c(yd,{importHistory:new M(1,[void 0])}):n.tag===1?c(yd,{importHistory:new M(0,[wv(n.fields[0])])}):c(N_,null);const r=[c("style",{children:[Xl]}),t];return c(Ye,{},...r)}function $_(){Ll(e=>c(T_,e),"apollo-import-workspace-past-history")}function vl(e,t){if(t.startsWith(e))return t}function _d(e,t){if(t.endsWith(e))return t}function M_(e){return t=>{let n,r;return n=vl("/",t),n!=null?(r=n,r):"/"+t}}function I_(e,t){return M_()(At("/",ir(n=>n.indexOf("?")>=0||n.startsWith("#")||n.startsWith("/")?n:encodeURIComponent(n),e)))}function Tm(e,t,n){history.pushState(void 0,"",I_(e));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function D_(e,t){return hg(n=>{if(ki(n))return at();{const r=nu(n,"#");if(r==="?")return at();if(vl("?",r)!=null)return ce(r);{const i=r.split("?");if(!Ir((o,s)=>o===s,i,Ae())&&i.length===1){const o=pe(0,i);return ce(decodeURIComponent(o))}else if(!Ir((o,s)=>o===s,i,Ae())&&i.length===2)if(pe(1,i)===""){const o=pe(0,i);return ce(decodeURIComponent(o))}else{const o=pe(0,i),s=pe(1,i);return g([decodeURIComponent(o),"?"+s])}else return at()}}},g(qf(vl("#",e)!=null?U1(e,1,e.length-1):t===1&&(_d("#",e)!=null||_d("#/",e)!=null)?"":e,["/"],void 0,0)))}function R_(e,t,n){return t(D_(e===2?window.location.pathname+window.location.search:window.location.hash,e))}uw(e=>{const t=E0(r=>{const i=Je(e.onUrlChanged,o=>{});R_(Je(e.hashMode,1),i)});S0(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),du(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),ra(()=>{const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)});const n=e.application;return n??Ae()},void 0,void 0,void 0);class O_{constructor(t,n){const r=new Ct(Ae());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Oe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();ja(r.contents,o[0],o[1])}}finally{Me(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Oe(this)}GetEnumerator(){return Oe(Qs(this.hashMap.values()))}[Symbol.iterator](){return Ei(Oe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){ja(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){xd(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=ms(this,t[0]);let i;switch(r!=null&&te(V(r)[1],t[1])?(i=0,V(r)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){v0((i,o)=>{$t(t,n+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Cd(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const n=this,r=ms(n,t[0]);return r!=null?(te(V(r)[1],t[1])&&Ba(n,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,n){ja(this,t,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return Ad(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return Sd(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,n){Ed(this,t,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return Ln($(()=>Le(n=>n[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return Ba(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,n){const i=ms(this,t);if(i!=null){const o=V(i);return n.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return Ln($(()=>Le(n=>n[1],t)))}get size(){return Cd(this)|0}clear(){xd(this)}delete(t){return Ba(this,t)}entries(){return Le(n=>[n[0],n[1]],this)}get(t){return Sd(this,t)}has(t){return Ad(this,t)}keys(){return Le(n=>n[0],this)}set(t,n){const r=this;return Ed(r,t,n),r}values(){return Le(n=>n[1],this)}forEach(t,n){const r=this;jn(i=>{t(i[1],i[0],r)},r)}}function Ho(e,t){const n=e.comparer.GetHashCode(t)|0;let r,i=Ae();return r=[pu(e.hashMap,n,new Ct(()=>i,o=>{i=o})),i],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,n,-1]}function ms(e,t){const n=Ho(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return or(e.hashMap,n[1])[n[2]];default:return}}function xd(e){e.hashMap.clear()}function Cd(e){let t=0,n=Oe(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{Me(n)}return t|0}function Sd(e,t){const n=ms(e,t);if(n!=null)return V(n)[1];throw new Error("The item was not found in collection")}function Ed(e,t,n){const r=Ho(e,t);r[0]?r[2]>-1?or(e.hashMap,r[1])[r[2]]=[t,n]:or(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function ja(e,t,n){const r=Ho(e,t);if(r[0]){if(r[2]>-1)throw new Error(eu("An item with the same key has already been added. Key: {0}",t));or(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Ad(e,t){const n=Ho(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;default:return!1}}function Ba(e,t){const n=Ho(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return or(e.hashMap,n[1]).splice(n[2],1),!0;default:return!1}}function F_(e,t){return $(()=>{const n=new B0([],t);return ea(r=>L0(r,n),e)})}function P_(e,t,n){return $(()=>{const r=new B0(e,n);return ea(i=>L0(i,r),t)})}function L_(e,t,n){return $(()=>{const r=new O_([],n),i=[],o=Oe(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,u=Ae();l=[pu(r,a,new Ct(()=>u,d=>{u=d})),u],l[0]?l[1].push(s):(Iw(r,a,[s]),i.push(a))}}finally{Me(o)}return Le(s=>[s,or(r,s)],i)})}function $m(e,t){return Ln(F_(e,t))}function Mm(e,t,n){return Ln(P_(e,t,n))}function V_(e,t,n){return Ln(Le(r=>[r[0],Ln(r[1])],L_(e,t,n)))}class H_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class j_ extends Ce{constructor(t,n,r,i){super(),this.FirstName=t,this.LastName=n,this.Email=r,this.MobilePhone=i}}class B_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class lo extends Ce{constructor(t,n,r,i,o){super(),this.FirstName=t,this.LastName=n,this.Email=r,this.MobilePhone=i,this.EmploymentBasis=o}}new lo(void 0,void 0,void 0,void 0,void 0);function kd(e,t){return new lo(e.FirstName,e.LastName,e.Email,e.MobilePhone,_t(n=>n.fields[0],t))}class U_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class ht extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function Im(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function W_(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function G_(e){switch(e){case"FullTime":return new ht(0,[]);case"PartTime":return new ht(1,[]);case"Casual":return new ht(2,[]);case"LabourHire":return new ht(3,[]);default:return}}class z_ extends Ce{constructor(t,n){super(),this.Head=t,this.Tail=n}}function q_(e){return li(et(t=>[t[1].fields[0],W_(t[0])],a0([e.Head],e.Tail)),{Compare:jr})}class Y_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class Kr extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class En extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}class Z_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class K_ extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class Dm extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function X_(e,t){let n;return new Y_(et(r=>new U_(r),sg(r=>r,$m((n=et(r=>pe(t.fields[0].fields[0],r.fields[0]),e.fields[0]),n.filter(r=>!ki(r))),{Equals:(r,i)=>r===i,GetHashCode:cr}),{Compare:jr})))}function J_(e){return e.fields[0].length}class Rm extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class Q_ extends Ce{constructor(t,n,r,i){super(),this.Name=t,this.HeaderRow=n,this.DataRows=r,this.SizeInBytes=i|0}}class Nt extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InviteNow","InviteLater"]}}class es extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Draft","Valid"]}}class re extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function wo(e){switch(e.tag){case 1:return"Last name";case 2:return"Email";case 3:return"Mobile phone";case 4:return"Employment basis";default:return"First name"}}function _r(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function Om(e){switch(e){case"firstName":return new re(0,[]);case"lastName":return new re(1,[]);case"email":return new re(2,[]);case"mobileNumber":return new re(3,[]);case"employmentBasis":return new re(4,[]);default:return}}function ex(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let qn=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Set","Clear","Preview","ClosePreview"]}};class Xi extends Ce{constructor(t,n){super(),this.ColumnIndex=t,this.IncomingFields=n}}class tx extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class Nn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Available","Unavailable"]}}let yr=class extends Ce{constructor(t,n,r,i,o,s,a,l,u,d){super(),this.FirstName=t,this.LastName=n,this.Email=r,this.MobilePhone=i,this.EmploymentBasis=o,this.Preview=s,this.NumberOfIncomingFields=a|0,this.NumberOfDestinationFieldsMapped=l|0,this.NumberOfIncomingFieldsDiscarded=u|0,this.Status=d}};function nx(e,t){const n=t.tag===1?["lastname","surname","familyname"]:t.tag===2?["email"]:t.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:t.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return _t(r=>r[0],Ks(r=>Ti(Ql(r[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(i,o)=>i===o,GetHashCode:cr}),e))}function rx(e,t){return new tx(et(n=>{const r=n[0];return[r,n[1],Ti(r,t,{Equals:te,GetHashCode:_s})?new Nn(1,[]):new Nn(0,[])]},e))}function Fm(e,t,n){switch(t.tag){case 1:return[e.FirstName.ColumnIndex,n,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 2:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,n,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 3:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,n,e.EmploymentBasis.ColumnIndex];case 4:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,n];default:return[n,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex]}}function ti(e,t){return Yt(n=>n,et(n=>u0(e.fields[0],n.fields[0]),t.fields[0].slice(void 0,10)))}function Nu(e,t,n,r,i,o,s){let a,l,u;const d=h=>rx(e,h);let f;f=Yt(h=>h,[n,r,i,o,s]).length;const m=n!=null?r!=null?i!=null?(a=i,l=n,u=r,new es(1,[new j_(l,u,a,o),_t(h=>new B_(h),s)])):new es(0,[new lo(n,r,i,o,s)]):new es(0,[new lo(n,r,i,o,s)]):new es(0,[new lo(n,r,i,o,s)]);return new yr(new Xi(n,d(Yt(h=>h,[r,i,o,s]))),new Xi(r,d(Yt(h=>h,[n,i,o,s]))),new Xi(i,d(Yt(h=>h,[n,r,o,s]))),new Xi(o,d(Yt(h=>h,[n,r,i,s]))),new Xi(s,d(Yt(h=>h,[n,r,i,o]))),t,e.length,f,e.length-f,m)}function Ji(e,t,n,r,i){let o,s,a;const l=[r,i];return a=Fm(n,l[0],l[1]),Nu(e,(o=n.Preview,o!=null&&te(o[0],r)?(s=o[0],[s,ti(i,t)]):n.Preview),a[0],a[1],a[2],a[3],a[4])}function Qi(e,t,n){let r,i;const o=[n,void 0];return i=Fm(t,o[0],o[1]),Nu(e,(r=t.Preview,r!=null&&te(r[0],n)?(r[0],void 0):t.Preview),i[0],i[1],i[2],i[3],i[4])}function Pm(e,t){switch(t.tag){case 1:return e.LastName.ColumnIndex!=null;case 2:return e.Email.ColumnIndex!=null;case 3:return e.MobilePhone.ColumnIndex!=null;case 4:return e.EmploymentBasis.ColumnIndex!=null;default:return e.FirstName.ColumnIndex!=null}}const ix=e=>t=>Pm(e,t);function ox(e,t){const n=Pm(e,t),r=e.Preview;let i;switch(n?r==null?i=2:te(r[0],t)?(i=1,r[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function sx(e,t){let n,r,i,o,s,a,l,u,d;const f=p=>nx(e,p);return[(n=t==null?(r=f(new re(0,[])),i=f(new re(1,[])),o=f(new re(2,[])),s=f(new re(3,[])),a=f(new re(4,[])),l=Yt(p=>p,[r,i,o,s,a]),u=p=>{let m,h;switch(p!=null?(m=p,l.filter(b=>te(b,m)).length>1?h=0:h=1):h=1,h){case 0:return;default:return p}},[u(r),u(i),u(o),u(s),u(a)]):(d=t,[d.FirstName,d.LastName,d.Email,d.MobilePhone,d.EmploymentBasis]),Nu(e,void 0,n[0],n[1],n[2],n[3],n[4])),ve()]}function ax(e,t,n,r,i){let o,s,a,l,u,d,f,p,m,h;const b=N=>Rn(e,new fn(4,[{Field:ex(N)}]));let v,_,x,E,T,I,O,F,S,C,A;switch(r.tag){case 1:{switch(r.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?v=6:v=16;break}case 2:{i.Email.ColumnIndex!=null?v=7:v=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?v=8:v=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?v=9:v=16;break}default:i.FirstName.ColumnIndex!=null?v=5:v=16}break}case 2:{switch(r.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(v=11,F=i.LastName.ColumnIndex):v=16;break}case 2:{i.Email.ColumnIndex!=null?(v=12,S=i.Email.ColumnIndex):v=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(v=13,C=i.MobilePhone.ColumnIndex):v=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(v=14,A=i.EmploymentBasis.ColumnIndex):v=16;break}default:i.FirstName.ColumnIndex!=null?(v=10,O=i.FirstName.ColumnIndex):v=16}break}case 3:{v=15;break}default:switch(r.fields[0].tag){case 1:{d=r.fields[1],!te(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(N=>te(d,N[0])?te(N[2],new Nn(0,[])):!1)?(v=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],x=r.fields[1]):v=16;break}case 2:{f=r.fields[1],!te(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(N=>te(f,N[0])?te(N[2],new Nn(0,[])):!1)?(v=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],E=r.fields[1]):v=16;break}case 3:{p=r.fields[1],!te(i.MobilePhone.ColumnIndex,p)&&i.MobilePhone.IncomingFields.fields[0].some(N=>te(p,N[0])?te(N[2],new Nn(0,[])):!1)?(v=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],T=r.fields[1]):v=16;break}case 4:{m=r.fields[1],!te(i.EmploymentBasis.ColumnIndex,m)&&i.EmploymentBasis.IncomingFields.fields[0].some(N=>te(m,N[0])?te(N[2],new Nn(0,[])):!1)?(v=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],I=r.fields[1]):v=16;break}default:h=r.fields[1],!te(i.FirstName.ColumnIndex,h)&&i.FirstName.IncomingFields.fields[0].some(N=>te(h,N[0])?te(N[2],new Nn(0,[])):!1)?(v=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=r.fields[1]):v=16}}switch(v){case 0:return[(o=[new re(0,[]),_],Ji(t,n,i,o[0],o[1])),ve()];case 1:return[(s=[new re(1,[]),x],Ji(t,n,i,s[0],s[1])),ve()];case 2:return[(a=[new re(2,[]),E],Ji(t,n,i,a[0],a[1])),ve()];case 3:return[(l=[new re(3,[]),T],Ji(t,n,i,l[0],l[1])),ve()];case 4:return[(u=[new re(4,[]),I],Ji(t,n,i,u[0],u[1])),ve()];case 5:return[Qi(t,i,new re(0,[])),ve()];case 6:return[Qi(t,i,new re(1,[])),ve()];case 7:return[Qi(t,i,new re(2,[])),ve()];case 8:return[Qi(t,i,new re(3,[])),ve()];case 9:return[Qi(t,i,new re(4,[])),ve()];case 10:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new re(0,[]),ti(O,n)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),b(new re(0,[]))];case 11:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new re(1,[]),ti(F,n)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),b(new re(1,[]))];case 12:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new re(2,[]),ti(S,n)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),b(new re(2,[]))];case 13:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new re(3,[]),ti(C,n)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),b(new re(3,[]))];case 14:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new re(4,[]),ti(A,n)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),b(new re(4,[]))];case 15:return[new yr(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status),ve()];default:return[i,ve()]}}const Lm=typeof document<"u"?Q.useLayoutEffect:()=>{};function lx(e){const t=se(null);return Lm(()=>{t.current=e},[e]),Re((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const jo=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Er=e=>e&&"window"in e&&e.window===e?e:jo(e).defaultView||window;function ux(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function cx(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Vm(e){let t=null;return()=>(t==null&&(t=e()),t)}const dx=Vm(function(){return cx(/^Mac/i)}),fx=Vm(function(){return ux(/Android/i)});function mx(e){return e.mozInputSource===0&&e.isTrusted?!0:fx()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class hx{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function Hm(e){let t=se({isFocused:!1,observer:null});Lm(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=lx(r=>{e==null||e(r)});return Re(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r.target,o=s=>{t.current.isFocused=!1,i.disabled&&n(new hx("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function px(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const o=Re(l=>{if(l.target===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),s=Hm(o),a=Re(l=>{const u=jo(l.target);l.target===l.currentTarget&&u.activeElement===l.target&&(n&&n(l),i&&i(!0),s(l))},[i,n,s]);return{focusProps:{onFocus:!t&&(n||i||r)?a:void 0,onBlur:!t&&(r||i)?o:void 0}}}let Bo=null,bl=new Set,uo=new Map,Or=!1,_l=!1;const gx={Tab:!0,Escape:!0};function Tu(e,t){for(let n of bl)n(e,t)}function wx(e){return!(e.metaKey||!dx()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Os(e){Or=!0,wx(e)&&(Bo="keyboard",Tu("keyboard",e))}function Qt(e){Bo="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Or=!0,Tu("pointer",e))}function jm(e){mx(e)&&(Or=!0,Bo="virtual")}function Bm(e){e.target===window||e.target===document||(!Or&&!_l&&(Bo="virtual",Tu("virtual",e)),Or=!1,_l=!1)}function Um(){Or=!1,_l=!0}function xl(e){if(typeof window>"u"||uo.get(Er(e)))return;const t=Er(e),n=jo(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Or=!0,r.apply(this,arguments)},n.addEventListener("keydown",Os,!0),n.addEventListener("keyup",Os,!0),n.addEventListener("click",jm,!0),t.addEventListener("focus",Bm,!0),t.addEventListener("blur",Um,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Qt,!0),n.addEventListener("pointermove",Qt,!0),n.addEventListener("pointerup",Qt,!0)):(n.addEventListener("mousedown",Qt,!0),n.addEventListener("mousemove",Qt,!0),n.addEventListener("mouseup",Qt,!0)),t.addEventListener("beforeunload",()=>{Wm(e)},{once:!0}),uo.set(t,{focus:r})}const Wm=(e,t)=>{const n=Er(e),r=jo(e);t&&r.removeEventListener("DOMContentLoaded",t),uo.has(n)&&(n.HTMLElement.prototype.focus=uo.get(n).focus,r.removeEventListener("keydown",Os,!0),r.removeEventListener("keyup",Os,!0),r.removeEventListener("click",jm,!0),n.removeEventListener("focus",Bm,!0),n.removeEventListener("blur",Um,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Qt,!0),r.removeEventListener("pointermove",Qt,!0),r.removeEventListener("pointerup",Qt,!0)):(r.removeEventListener("mousedown",Qt,!0),r.removeEventListener("mousemove",Qt,!0),r.removeEventListener("mouseup",Qt,!0)),uo.delete(n))};function yx(e){const t=jo(e);let n;return t.readyState!=="loading"?xl(e):(n=()=>{xl(e)},t.addEventListener("DOMContentLoaded",n)),()=>Wm(e,n)}typeof document<"u"&&yx();function Gm(){return Bo!=="pointer"}const vx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function bx(e,t,n){var r;const i=typeof window<"u"?Er(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Er(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?Er(n==null?void 0:n.target).HTMLElement:HTMLElement,a=typeof window<"u"?Er(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof i&&!vx.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof o||(n==null?void 0:n.target)instanceof s&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof a&&!gx[n.key])}function _x(e,t,n){xl(),Fe(()=>{let r=(i,o)=>{bx(!!(n!=null&&n.isTextInput),i,o)&&e(Gm())};return bl.add(r),()=>{bl.delete(r)}},t)}function xx(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=se({isFocusWithin:!1}),s=Re(u=>{o.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(o.current.isFocusWithin=!1,n&&n(u),i&&i(!1))},[n,i,o]),a=Hm(s),l=Re(u=>{!o.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),i&&i(!0),o.current.isFocusWithin=!0,a(u))},[r,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Fs=!1,Ua=0;function Cl(){Fs=!0,setTimeout(()=>{Fs=!1},50)}function Nd(e){e.pointerType==="touch"&&Cl()}function Cx(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Nd):document.addEventListener("touchend",Cl),Ua++,()=>{Ua--,!(Ua>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Nd):document.removeEventListener("touchend",Cl))}}function Sx(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,s]=xe(!1),a=se({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;Fe(Cx,[]);let{hoverProps:l,triggerHoverEnd:u}=me(()=>{let d=(m,h)=>{if(a.pointerType=h,i||h==="touch"||a.isHovered||!m.currentTarget.contains(m.target))return;a.isHovered=!0;let b=m.currentTarget;a.target=b,t&&t({type:"hoverstart",target:b,pointerType:h}),n&&n(!0),s(!0)},f=(m,h)=>{if(a.pointerType="",a.target=null,h==="touch"||!a.isHovered)return;a.isHovered=!1;let b=m.currentTarget;r&&r({type:"hoverend",target:b,pointerType:h}),n&&n(!1),s(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Fs&&m.pointerType==="mouse"||d(m,m.pointerType)},p.onPointerLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(p.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!a.ignoreEmulatedMouseEvents&&!Fs&&d(m,"mouse"),a.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,n,r,i,a]);return Fe(()=>{i&&u({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function Ex(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=se({isFocused:!1,isFocusVisible:t||Gm()}),[o,s]=xe(!1),[a,l]=xe(()=>i.current.isFocused&&i.current.isFocusVisible),u=Re(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=Re(m=>{i.current.isFocused=m,s(m),u()},[u]);_x(m=>{i.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:f}=px({isDisabled:r,onFocusChange:d}),{focusWithinProps:p}=xx({isDisabled:!r,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:r?p:f}}var Ax=Object.defineProperty,kx=(e,t,n)=>t in e?Ax(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wa=(e,t,n)=>(kx(e,typeof t!="symbol"?t+"":t,n),n);let Nx=class{constructor(){Wa(this,"current",this.detect()),Wa(this,"handoffState","pending"),Wa(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Tr=new Nx;function Fi(e){return Tr.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function fa(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Un(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return fa(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=Un();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function fr(){let[e]=xe(Un);return Fe(()=>()=>e.dispose(),[e]),e}let tt=(e,t)=>{Tr.isServer?Fe(e,t):_n(e,t)};function mr(e){let t=se(e);return tt(()=>{t.current=e},[e]),t}let fe=function(e){let t=mr(e);return Q.useCallback((...n)=>t.current(...n),[t])};function Tx(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function $x(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Mx({disabled:e=!1}={}){let t=se(null),[n,r]=xe(!1),i=fr(),o=fe(()=>{t.current=null,r(!1),i.dispose()}),s=fe(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,r(!0);{let l=Fi(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",u=>{if(t.current){let d=Tx(u);r($x(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let Ix=lt(void 0);function $u(){return Ve(Ix)}function Sl(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Vt(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Vt),r}var _i=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(_i||{}),Qn=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Qn||{});function St(){let e=Rx();return Re(t=>Dx({mergeRefs:e,...t}),[e])}function Dx({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??Ox;let l=zm(t,e);if(o)return ts(l,n,r,s,a);let u=i??0;if(u&2){let{static:d=!1,...f}=l;if(d)return ts(f,n,r,s,a)}if(u&1){let{unmount:d=!0,...f}=l;return Vt(d?0:1,{0(){return null},1(){return ts({...f,hidden:!0,style:{display:"none"}},n,r,s,a)}})}return ts(l,n,r,s,a)}function ts(e,t={},n,r,i){let{as:o=n,children:s,refName:a="ref",...l}=Ga(e,["unmount","static"]),u=e.ref!==void 0?{[a]:e.ref}:{},d=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let p=!1,m=[];for(let[h,b]of Object.entries(t))typeof b=="boolean"&&(p=!0),b===!0&&m.push(h.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(p){f["data-headlessui-state"]=m.join(" ");for(let h of m)f[`data-${h}`]=""}}if(o===Ye&&(Object.keys(Yn(l)).length>0||Object.keys(Yn(f)).length>0))if(!Si(d)||Array.isArray(d)&&d.length>1){if(Object.keys(Yn(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Yn(l)).concat(Object.keys(Yn(f))).map(p=>` - ${p}`).join(`
|
|
45
|
+
*/var ni;function qh(){if(ni)return e5;ni=1;var e=Wh;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,p){var h=p(),m=n({inst:{value:h,getSnapshot:p}}),g=m[0].inst,y=m[1];return o(function(){g.value=h,g.getSnapshot=p,l(g)&&y({inst:g})},[f,h,p]),i(function(){return l(g)&&y({inst:g}),f(function(){l(g)&&y({inst:g})})},[f]),s(h),h}function l(f){var p=f.getSnapshot;f=f.value;try{var h=p();return!r(f,h)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return e5.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,e5}var ii;function Gh(){return ii||(ii=1,Qn.exports=qh()),Qn.exports}var zh=Gh();class Yh{constructor(t,r,n){this.arg=r,this.dependencies=n;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=Bh(i)(this.arg);let l=a[0],u=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],u],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const p=i4(this.state[0]);return Uh(this.arg,Lh((h,m)=>{const g=this.state;this.finalDispatch=m,this.state=[h,g[1],!0,o],h!==g[0]&&d()},Hh((h,m)=>{const g=this.cmd;return this.cmd=C0(),[this.state[0],g]},(h,m,g)=>h(m)(this.state[0]),s4(h=>h),s4(h=>h),J0(h=>h),h=>[m=>h[0](m)?!0:p&&f,m=>{const g=m;i4(g)?O0(g):h[1](m)}],i))),()=>{f=!0}}}}function oi(e,t,r){return new Yh(e,t,r)}function Zh(e){return e.state}function Kh(e){return e.subscribe}function Jh(e,t,r){return t0(e.arg,t)?!t0(e.dependencies,r):!0}function G2(e,t,r){const n=S0(()=>oi(e,t,r)),i=n[0];Jh(i,t,r)&&n[1](oi(e,t,r));const o=zh.useSyncExternalStore(Kh(i),()=>Zh(i)),s=o[2],a=o[3],l=o[1];return L0(()=>{if(s&&a.length>0){let u=P0(a);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const d=u["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{O0(u)}Jl(a)}},[s,a]),[o[0],l]}class h4 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Asc","Desc"]}}function Xh(e){return e.tag===1?new h4(0,[]):new h4(1,[])}function Qh(e,t,r){return e.tag===1?ac(t,r,{Compare:A1}):sc(t,r,{Compare:A1})}class xn extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Requested","Finished"]}}function $e(e,t){return v6(r=>{e(t)})}function em(e){return v6(t=>{e()})}let xr=class extends E0{constructor(t){super(),this.View=t}},Sr=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Loading","Loaded","Error"]}},Js=class extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["GetAccountImports"]}};function tm(){return[new xr(new Sr(0,[])),u0(e=>{e(new Js(new xn(0,[void 0])))})]}function rm(e,t,r){return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[new xr(new Sr(2,[t.fields[0].fields[0].fields[0]])),C0()]:[new xr(new Sr(1,[t.fields[0].fields[0].fields[0]])),C0()]:[new xr(new Sr(0,[])),Zs(n=>{Ks(n)},e,void 0,n=>new Js(new xn(1,[n])))]}class nm extends E0{constructor(t){super(),this.UserActivities=t}}class si extends E0{constructor(t,r,n){super(),this.Timestamp=t,this.User=r,this.Activity=n}}function im(e,t){const r=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(r)>=0?!0:Q0(C1(n=>n.toLocaleLowerCase().indexOf(r)>=0,e.Email),!1)}function om(e){return U3(w(Ft(C1(t=>new si(t.StartTime,t.User,`Processing ${t.NumberOfRecords} records`),e.ActiveImport))),s2(t=>new si(t.StartTime,t.User,Q0(C1(r=>`Added ${r.SucceededRowCount} users via CSV`,X8(r=>t0(r.Stage,new Bs(0,[])),t.CompletedStages)),`Processed ${t.NumberOfRecords} records`)),e.ImportHistory))}function sm(e){return new nm(Q0(C1(om,e),l1()))}class ai extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Error","TableData"]}}class am extends E0{constructor(t,r){super(),this.Data=t,this.IsFiltered=r}}class K3 extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class lm extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class um extends E0{constructor(t,r){super(),this.SortInfo=t,this.SortDirectionToggledHandler=r}}class Xs extends E0{constructor(t,r){super(),this.Column=t,this.Direction=r}}class cm extends j{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class Ur extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class dm extends E0{constructor(t,r,n,i,o){super(),this.CurrentPage=t|0,this.FirstRowIndex=r|0,this.LastRowIndex=n|0,this.TotalRecordsNumber=i|0,this.PageSize=o|0}}function fm(e){return e.tag===1?Qs(e.fields[0].Data):ra()}function hm(e){return e.tag===1?Vt(e.fields[0].Data):new Ur(1,[])}function mm(e){const t=C6(ra(),e);return new K3([ia(Q1(e),20),t])}function J3(e){return e.fields[0][1]}function Qs(e){return ta(J3(e))}function pm(e){return x6(J3(e))}function Vt(e){return e.fields[0][0]}function gm(e){const t=Vt(e);if(t.tag===0){const r=t.fields[0],n=es(r.FirstRowIndex,pm(e));return ts(Mm(r),n)}else return l1()}function ea(e,t){const r=C6(Qs(e),t);return new K3([Em(Vt(e),Q1(x6(r))),r])}function wm(e){return new K3([Vt(e),bm(J3(e))])}function ym(e){return new K3([Sm(Vt(e)),J3(e)])}function vm(e){return new K3([xm(Vt(e)),J3(e)])}function C6(e,t){return new lm([e,Qh(e.Direction,r=>r.Timestamp,t)])}function x6(e){return e.fields[0][1]}function ta(e){return e.fields[0][0]}function bm(e){return C6(_m(ta(e)),x6(e))}function ra(){return new Xs(new cm,new h4(0,[]))}function _m(e){return new Xs(e.Column,Xh(e.Direction))}function na(e,t){return~~(e/t)+(e%t===0?0:1)}function Sn(e,t,r){if(e<=0)return new Ur(1,[]);{const n=y7(r,na(e,t))|0,i=(n-1)*t|0;return new Ur(0,[new dm(n,i,y7(i+t-1,e-1),e,t)])}}function ia(e,t){return Sn(e,t,1)}function Cm(e){if(e.tag===0){const t=e.fields[0];return na(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function oa(e){return e.tag===0?e.fields[0].CurrentPage<Cm(e):!1}function sa(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function xm(e){const t=sa(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return Sn(n.TotalRecordsNumber,n.PageSize,n.CurrentPage-1)}default:return e}}function Sm(e){const t=oa(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return Sn(n.TotalRecordsNumber,n.PageSize,n.CurrentPage+1)}default:return e}}function Em(e,t){return t<=0?new Ur(1,[]):e.tag===0?Sn(t,20,e.fields[0].CurrentPage):ia(t,20)}function Am(e){return e.FirstRowIndex+1}function Tm(e){return e.LastRowIndex+1}function Mm(e){return e.LastRowIndex-e.FirstRowIndex+1}let l2=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["LoadingError","ValidState"]}};class Ut extends E0{constructor(t,r,n){super(),this.ImportHistory=t,this.View=r,this.PaginatedList=n}}class S6 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Default","Filtered"]}}function Nm(e){if(e.tag===1)return aa(e.fields[0])}function km(e){return e.tag===0}function Im(e){return e.tag===1?new ai(1,[Lm(e.fields[0])]):new ai(0,[])}function aa(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Om(e){return aa(e)!=null}function Rm(e,t){return new l2(1,[new Ut(e.ImportHistory,new S6(1,[t]),ea(e.PaginatedList,Oe(r=>im(r.User,t),e.ImportHistory.UserActivities)))])}function Dm(e){return new l2(1,[new Ut(e.ImportHistory,new S6(0,[]),ea(e.PaginatedList,e.ImportHistory.UserActivities))])}function $m(e){return new l2(1,[new Ut(e.ImportHistory,e.View,wm(e.PaginatedList))])}function Fm(e){return new l2(1,[new Ut(e.ImportHistory,e.View,ym(e.PaginatedList))])}function Pm(e){return new l2(1,[new Ut(e.ImportHistory,e.View,vm(e.PaginatedList))])}function Lm(e){return new am(e.PaginatedList,Om(e))}let vt=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function Bm(e){let t;return[e.tag===1?new l2(0,[]):(t=e.fields[0],new l2(1,[new Ut(t,new S6(0,[]),mm(t.UserActivities))])),C0()]}function la(e,t){return e.tag===1?t(e.fields[0]):[new l2(0,[]),C0()]}function Hm(e,t){return la(e,r=>[t(r),C0()])}function Vm(e,t){const r=n=>Hm(t,n);switch(e.tag){case 1:return r(Dm);case 2:return r($m);case 3:return r(Fm);case 4:return r(Pm);default:{const n=e.fields[0];return la(t,i=>K4(n)?[t,u0(o=>{o(new vt(1,[]))})]:[Rm(i,n),C0()])}}}function Um(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M6.77835 19.8844C6.74702 19.9444 6.7414 20.0146 6.76278 20.0789C6.78416 20.1432 6.83071 20.196 6.89177 20.2254L7.82464 20.6734C7.9462 20.7317 8.09214 20.6832 8.15452 20.5636L16.5023 4.56364C16.5337 4.50358 16.5393 4.43338 16.5179 4.3691C16.4965 4.30482 16.45 4.25197 16.3889 4.22264L15.4561 3.77464C15.3345 3.71627 15.1886 3.76481 15.1262 3.88436L6.77835 19.8844Z",["d",n]),["fill","#D1D5DB"],["stroke","#D1D5DB"],["strokeWidth",.5],["strokeLinejoin","round"]])))),["children",b.Children.toArray(Array.from(r))])])))}function jm(){let e,t,r;return c("div",v(w([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[c("div",v(w([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[c("div",{className:"text-gray-900 text-2xl font-bold font-['BR Sonoma'] leading-7",children:"Users"}),c("div",v(w([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(r=[Um(24,24)],["children",b.Children.toArray(Array.from(r))])]))),c("div",{className:"text-gray-900 text-2xl font-bold font-['BR Sonoma'] leading-7",children:"Past activities"})],["children",b.Children.toArray(Array.from(t))])])))],["children",b.Children.toArray(Array.from(e))])])))}function Wm(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([["clipRule","evenodd"],(n="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",n]),["fill","#9CA3AF"]])))),["children",b.Children.toArray(Array.from(r))])])))}function jr(e,t){let r,n;return c("svg",v(w([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",n]),["fill","currentColor"]])))),["children",b.Children.toArray(Array.from(r))])])))}class li extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UpdateFilter","ClearFilter"]}}function qm(e){let t,r;const n=Q0(e.Value,"");return c("div",v(w([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[c("div",v(w([["className",T1(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(r=G(k(()=>{let i;return H(T(c("div",v(w([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[Wm(20,20)],["children",b.Children.toArray(Array.from(i))])])))),k(()=>{let o;return H(T(c("input",v(w([(o="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",o]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",s=>{e.ActionHandler(new li(0,[s.target.value]))}],["value",n],["disabled",e.Disabled]])))),k(()=>{let s;return K4(n)?T(T0()):T(c("div",v(w([["onClick",a=>{e.ActionHandler(new li(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[jr(10,10)],["children",b.Children.toArray(Array.from(s))])]))))}))}))})),["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}function Gm(e){let t,r;const n=e.height,i=e.width;return c("svg",v(w([["fill","none"],["height",n],["width",i],["viewBox","0 0 "+i+" "+n],["xmlns","http://www.w3.org/2000/svg"],(t=u0(c("path",v(w([(r="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",r]),["fill","#111827"]])))),["children",b.Children.toArray(Array.from(t))])])))}function zm(e){let t;const r=e.sortDirectionChangeHandler,n=e.sortDirection;return c("div",v(w([["className",T1(" ",G(k(()=>H(T("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),k(()=>n.tag===1?T("rotate-180"):T(""))))))],["onClick",i=>{r(void 0)}],(t=[c(Gm,{width:10,height:7})],["children",b.Children.toArray(Array.from(t))])])))}function Ym(e){const t=e.toggleSortDirection,r=e.props;return c(zm,{sortDirection:r.Direction,sortDirectionChangeHandler:t})}function Zm(e){let t,r,n,i;const o=c(Ym,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return c("div",v(w([["className","flex-none grid grid-cols-7"],(t=[c("div",v(w([["className","col-span-1 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(r=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),o],["children",b.Children.toArray(Array.from(r))])]))),c("div",v(w([["className","col-span-2 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(n=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",b.Children.toArray(Array.from(n))])]))),c("div",v(w([["className","col-span-4 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(i=[c("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(t))])])))}function Wr(e){"@babel/helpers - typeof";return Wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wr(e)}function F2(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function P1(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Se(e){P1(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Wr(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Km(e,t){P1(2,arguments);var r=Se(e).getTime(),n=F2(t);return new Date(r+n)}var Jm={};function En(){return Jm}function Xm(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Qm(e){return P1(1,arguments),e instanceof Date||Wr(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ep(e){if(P1(1,arguments),!Qm(e)&&typeof e!="number")return!1;var t=Se(e);return!isNaN(Number(t))}function tp(e,t){P1(2,arguments);var r=F2(t);return Km(e,-r)}var rp=864e5;function np(e){P1(1,arguments);var t=Se(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/rp)+1}function qr(e){P1(1,arguments);var t=1,r=Se(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function ua(e){P1(1,arguments);var t=Se(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=qr(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=qr(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function ip(e){P1(1,arguments);var t=ua(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=qr(r);return n}var op=6048e5;function sp(e){P1(1,arguments);var t=Se(e),r=qr(t).getTime()-ip(t).getTime();return Math.round(r/op)+1}function Gr(e,t){var r,n,i,o,s,a,l,u;P1(1,arguments);var d=En(),f=F2((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Se(e),h=p.getUTCDay(),m=(h<f?7:0)+h-f;return p.setUTCDate(p.getUTCDate()-m),p.setUTCHours(0,0,0,0),p}function ca(e,t){var r,n,i,o,s,a,l,u;P1(1,arguments);var d=Se(e),f=d.getUTCFullYear(),p=En(),h=F2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:p.firstWeekContainsDate)!==null&&n!==void 0?n:(l=p.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(f+1,0,h),m.setUTCHours(0,0,0,0);var g=Gr(m,t),y=new Date(0);y.setUTCFullYear(f,0,h),y.setUTCHours(0,0,0,0);var _=Gr(y,t);return d.getTime()>=g.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function ap(e,t){var r,n,i,o,s,a,l,u;P1(1,arguments);var d=En(),f=F2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1),p=ca(e,t),h=new Date(0);h.setUTCFullYear(p,0,f),h.setUTCHours(0,0,0,0);var m=Gr(h,t);return m}var lp=6048e5;function up(e,t){P1(1,arguments);var r=Se(e),n=Gr(r,t).getTime()-ap(r,t).getTime();return Math.round(n/lp)+1}function j0(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var Ye={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return j0(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):j0(n+1,2)},d:function(t,r){return j0(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return j0(t.getUTCHours()%12||12,r.length)},H:function(t,r){return j0(t.getUTCHours(),r.length)},m:function(t,r){return j0(t.getUTCMinutes(),r.length)},s:function(t,r){return j0(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return j0(o,r.length)}},et={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},cp={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return Ye.y(t,r)},Y:function(t,r,n,i){var o=ca(t,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return j0(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):j0(s,r.length)},R:function(t,r){var n=ua(t);return j0(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return j0(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return j0(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return j0(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return Ye.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return j0(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=up(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):j0(o,r.length)},I:function(t,r,n){var i=sp(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):j0(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ye.d(t,r)},D:function(t,r,n){var i=np(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):j0(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return j0(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return j0(s,r.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return j0(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),o;switch(i===12?o=et.noon:i===0?o=et.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),o;switch(i>=17?o=et.evening:i>=12?o=et.afternoon:i>=4?o=et.morning:o=et.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Ye.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Ye.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):j0(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):j0(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Ye.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Ye.s(t,r)},S:function(t,r){return Ye.S(t,r)},X:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();if(s===0)return"Z";switch(r){case"X":return ci(s);case"XXXX":case"XX":return v2(s);case"XXXXX":case"XXX":default:return v2(s,":")}},x:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"x":return ci(s);case"xxxx":case"xx":return v2(s);case"xxxxx":case"xxx":default:return v2(s,":")}},O:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+ui(s,":");case"OOOO":default:return"GMT"+v2(s,":")}},z:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+ui(s,":");case"zzzz":default:return"GMT"+v2(s,":")}},t:function(t,r,n,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return j0(s,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,s=o.getTime();return j0(s,r.length)}};function ui(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var s=t;return r+String(i)+s+j0(o,2)}function ci(e,t){if(e%60===0){var r=e>0?"-":"+";return r+j0(Math.abs(e)/60,2)}return v2(e,t)}function v2(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=j0(Math.floor(i/60),2),s=j0(i%60,2);return n+o+r+s}var di=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},da=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},dp=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return di(t,r);var s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",di(i,r)).replace("{{time}}",da(o,r))},fp={p:da,P:dp},hp=["D","DD"],mp=["YY","YYYY"];function pp(e){return hp.indexOf(e)!==-1}function gp(e){return mp.indexOf(e)!==-1}function fi(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var wp={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},yp=function(t,r,n){var i,o=wp[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function t5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var vp={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bp={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_p={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cp={date:t5({formats:vp,defaultWidth:"full"}),time:t5({formats:bp,defaultWidth:"full"}),dateTime:t5({formats:_p,defaultWidth:"full"})},xp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Sp=function(t,r,n,i){return xp[t]};function i3(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[a]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var Ep={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ap={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Tp={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Mp={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Np={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},kp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ip=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Op={ordinalNumber:Ip,era:i3({values:Ep,defaultWidth:"wide"}),quarter:i3({values:Ap,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:i3({values:Tp,defaultWidth:"wide"}),day:i3({values:Mp,defaultWidth:"wide"}),dayPeriod:i3({values:Np,defaultWidth:"wide",formattingValues:kp,defaultFormattingWidth:"wide"})};function o3(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],a=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?Dp(a,function(f){return f.test(s)}):Rp(a,function(f){return f.test(s)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var d=t.slice(s.length);return{value:u,rest:d}}}function Rp(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Dp(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function $p(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=r.valueCallback?r.valueCallback(s):s;var a=t.slice(i.length);return{value:s,rest:a}}}var Fp=/^(\d+)(th|st|nd|rd)?/i,Pp=/\d+/i,Lp={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Bp={any:[/^b/i,/^(a|c)/i]},Hp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Vp={any:[/1/i,/2/i,/3/i,/4/i]},Up={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},jp={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Wp={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},qp={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Gp={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},zp={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Yp={ordinalNumber:$p({matchPattern:Fp,parsePattern:Pp,valueCallback:function(t){return parseInt(t,10)}}),era:o3({matchPatterns:Lp,defaultMatchWidth:"wide",parsePatterns:Bp,defaultParseWidth:"any"}),quarter:o3({matchPatterns:Hp,defaultMatchWidth:"wide",parsePatterns:Vp,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:o3({matchPatterns:Up,defaultMatchWidth:"wide",parsePatterns:jp,defaultParseWidth:"any"}),day:o3({matchPatterns:Wp,defaultMatchWidth:"wide",parsePatterns:qp,defaultParseWidth:"any"}),dayPeriod:o3({matchPatterns:Gp,defaultMatchWidth:"any",parsePatterns:zp,defaultParseWidth:"any"})},Zp={code:"en-US",formatDistance:yp,formatLong:Cp,formatRelative:Sp,localize:Op,match:Yp,options:{weekStartsOn:0,firstWeekContainsDate:1}},Kp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xp=/^'([^]*?)'?$/,Qp=/''/g,eg=/[a-zA-Z]/;function fa(e,t,r){var n,i,o,s,a,l,u,d,f,p,h,m,g,y;P1(2,arguments);var _=String(t),C=En(),E=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:Zp,M=F2((o=(s=(a=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&a!==void 0?a:C.firstWeekContainsDate)!==null&&s!==void 0?s:(u=C.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(M>=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var O=F2((f=(p=(h=(m=void 0)!==null&&m!==void 0?m:void 0)!==null&&h!==void 0?h:C.weekStartsOn)!==null&&p!==void 0?p:(g=C.locale)===null||g===void 0||(y=g.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&f!==void 0?f:0);if(!(O>=0&&O<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var R=Se(e);if(!ep(R))throw new RangeError("Invalid time value");var $=Xm(R),S=tp(R,$),x={firstWeekContainsDate:M,weekStartsOn:O,locale:E,_originalDate:R},A=_.match(Jp).map(function(N){var P=N[0];if(P==="p"||P==="P"){var F=fp[P];return F(N,E.formatLong)}return N}).join("").match(Kp).map(function(N){if(N==="''")return"'";var P=N[0];if(P==="'")return tg(N);var F=cp[P];if(F)return gp(N)&&fi(N,t,String(e)),pp(N)&&fi(N,t,String(e)),F(S,N,E.localize,x);if(P.match(eg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return N}).join("");return A}function tg(e){var t=e.match(Xp);return t?t[1].replace(Qp,"'"):e}function rg(e){return fa(e,"d MMM, yyyy")}function ng(e){return fa(e,"h:mm a")}function ig(e){let t,r,n,i,o,s,a;return c("div",v(w([["className","grid grid-cols-7"],(t=[c("div",v(w([["className","col-span-1 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(r=[c("div",v(w([["className"," flex flex-col justify-center items-start"],(n=[c("div",v(w([["className","self-stretch justify-start items-center gap-2 inline-flex"],(i=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:rg(e.Timestamp)})],["children",b.Children.toArray(Array.from(i))])]))),c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:ng(e.Timestamp)})],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(r))])]))),c("div",v(w([["className","col-span-2 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-start gap-4"],(o=[c("div",v(w([["className","justify-center items-start flex flex-col"],(s=G(k(()=>{let l;return H(T(c("div",v(w([["className","self-stretch justify-start items-center gap-2 inline-flex"],(l=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:e.User.Name})],["children",b.Children.toArray(Array.from(l))])])))),k(()=>{const u=e.User.Email;return u==null?T(T0()):T(c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:u}))}))})),["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(o))])]))),c("div",v(w([["className","col-span-4 px-6 py-4 bg-white border-b border-gray-200 justify-start items-center gap-1 flex"],(a=[c("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:e.Activity})],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(t))])])))}function og(e){const t=s2(r=>c(ig,r),e.Data);return c("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:b.Children.toArray(Array.from(t))})}function sg(e){let t,r,n,i,o;const s=e.height,a=e.width;return c("svg",v(w([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=w([c("path",v(w([(r="M60 100C37.9441 100 20 82.0567 20 60C20 37.9433 37.9441 20 60 20C82.0559 20 100 37.9433 100 60C100 82.0567 82.0559 100 60 100Z",["d",r]),["fill","url(#paint0_linear_3770_593)"]]))),c("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",v(w([(n="M60 76C60.5523 76 61 75.5523 61 75C61 74.4477 60.5523 74 60 74C59.4477 74 59 74.4477 59 75C59 75.5523 59.4477 76 60 76Z",["d",n]),["stroke","#111827"],["strokeWidth",2],["strokeLinecap","round"],["strokeLinejoin","round"]]))),(i=u0(c("linearGradient",v(w([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=w([c("stop",{offset:0,stopColor:"#FFD84D"}),c("stop",{offset:1,stopColor:"#FF876F"})]),["children",b.Children.toArray(Array.from(o))])])))),c("defs",{children:b.Children.toArray(Array.from(i))}))]),["children",b.Children.toArray(Array.from(t))])])))}function ag(){let e;return c("div",v(w([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[c(sg,{width:120,height:120})],["children",b.Children.toArray(Array.from(e))])])))}function lg(){let e,t,r,n;return c("div",v(w([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[c(ag,null),c("div",v(w([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[c("div",v(w([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(r=[c("div",v(w([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(n=[c("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),c("div",{className:"self-stretch text-center text-gray-500 text-sm font-normal leading-tight",children:"Something went wrong while retrieving your activities. Please refresh the page to try again."})],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))],["children",b.Children.toArray(Array.from(e))])])))}function ug(e){return{Data:gm(e.Data)}}function cg(e){let t;const r=e.props,n=r.tag===1?c(og,ug(r.fields[0])):c(lg,null);return c("div",v(w([["className","relative h-full grow"],(t=[c("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:b.Children.toArray([n])})],["children",b.Children.toArray(Array.from(t))])])))}class hi extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Prev","Next"]}}function dg(e){let t,r;const n=e.pageChangedHandler,i=e.pagingInfo;return c("div",v(w([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[c("div",{className:"self-stretch h-px bg-gray-200"}),c("div",v(w([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(r=G(k(()=>{let o,s,a;return H((o=i,o.tag===1?T(c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],T((a=w([c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:de(Am(s))}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:de(Tm(s))}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:de(s.TotalRecordsNumber)}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),c("div",{children:b.Children.toArray(Array.from(a))}))))),k(()=>{let l,u,d;return T(c("div",v(w([["className","justify-start items-start gap-3 flex"],(l=[c("button",v(w([["type","button"],(u="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",u]),["children","Previous"],["onClick",f=>{n(new hi(0,[]))}],["disabled",!sa(i)]]))),c("button",v(w([["type","button"],(d="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",d]),["children","Next"],["onClick",f=>{n(new hi(1,[]))}],["disabled",!oa(i)]])))],["children",b.Children.toArray(Array.from(l))])]))))}))})),["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}class m4 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function fg(e,t){e(t.tag===0?new m4(2,[]):new m4(1,[]))}function hg(e){let t,r;const n=e.actionHandler,i=e.props;return c("div",v(w([(t="self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(r=[c(Zm,new um(fm(i),()=>{n(new m4(0,[]))})),c(cg,{props:i}),c(dg,{pagingInfo:hm(i),pageChangedHandler:o=>{fg(n,o)}})],["children",b.Children.toArray(Array.from(r))])])))}function mg(e,t){t.tag===0?e(new vt(0,[t.fields[0]])):e(new vt(1,[]))}function pg(e,t){switch(t.tag){case 2:{e(new vt(4,[]));break}case 0:{e(new vt(2,[]));break}default:e(new vt(3,[]))}}function mi(e){let t,r;const n=e.importHistory;let i;const o=Bm(n);i=G2(()=>q2(()=>o,Vm,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const u=Nm(s);return l={ActionHandler:d=>{mg(a,d)},Disabled:km(s),Value:w3(u)},c("div",v(w([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[c(jm,null),c("div",v(w([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(r=[c(qm,l),c(hg,{props:Im(s),actionHandler:d=>{pg(a,d)}})],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}class pi extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Header","Row"]}}function gg(e,t){let r;const n=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return c("div",v(w([["className",T1(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",n[0],n[2],t])],(r=[c("div",{className:T1(" ",["w-full h-4 relative rounded",n[1]])})],["children",b.Children.toArray(Array.from(r))])])))}function gi(e){const t=s2(r=>gg(e,r),w(["col-span-1","col-span-2","col-span-4"]));return c("div",{className:"grid grid-cols-7",children:b.Children.toArray(Array.from(t))})}function wg(){let e,t;return c("div",v(w([(e="self-stretch animate-pulse grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",e]),(t=U3(u0(gi(new pi(0,[]))),s2(r=>gi(new pi(1,[])),G(b6(1,1,5)))),["children",b.Children.toArray(Array.from(t))])])))}function yg(e){wn(()=>{Lt(zs(e.backendUrl,void 0,new fe(0,[{Section:"user past activities"}])))});let t;const r=G2(()=>q2(tm,(i,o)=>rm(()=>fh(e.backendUrl),i),(i,o)=>{}),void 0,[])[0].View;t=r.tag===2?c(mi,{importHistory:new I(1,[void 0])}):r.tag===1?c(mi,{importHistory:new I(0,[sm(r.fields[0])])}):c(wg,null);const n=[c("style",{children:[z4]}),t];return c(K0,{},...n)}function vg(){D4(e=>c(yg,e),"apollo-import-workspace-past-history")}function p4(e,t){if(t.startsWith(e))return t}function wi(e,t){if(t.endsWith(e))return t}function bg(e){return t=>{let r,n;return r=p4("/",t),r!=null?(n=r,n):"/"+t}}function _g(e,t){return bg()(T1("/",s2(r=>r.indexOf("?")>=0||r.startsWith("#")||r.startsWith("/")?r:encodeURIComponent(r),e)))}function ha(e,t,r){history.pushState(void 0,"",_g(e));const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)}function Cg(e,t){return tc(r=>{if($t(r))return l1();{const n=J4(r,"#");if(n==="?")return l1();if(p4("?",n)!=null)return u0(n);{const i=n.split("?");if(!D2((o,s)=>o===s,i,T0())&&i.length===1){const o=g0(0,i);return u0(decodeURIComponent(o))}else if(!D2((o,s)=>o===s,i,T0())&&i.length===2)if(g0(1,i)===""){const o=g0(0,i);return u0(decodeURIComponent(o))}else{const o=g0(0,i),s=g0(1,i);return w([decodeURIComponent(o),"?"+s])}else return l1()}}},w(O8(p4("#",e)!=null?ku(e,1,e.length-1):t===1&&(wi("#",e)!=null||wi("#/",e)!=null)?"":e,["/"],void 0,0)))}function xg(e,t,r){return t(Cg(e===2?window.location.pathname+window.location.search:window.location.hash,e))}Kc(e=>{const t=ds(n=>{const i=Q0(e.onUrlChanged,o=>{});xg(Q0(e.hashMode,1),i)});cs(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),s6(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),wn(()=>{const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)});const r=e.application;return r??T0()},void 0,void 0,void 0);class Sg{constructor(t,r){const n=new S1(T0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=P0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();r5(n.contents,o[0],o[1])}}finally{O0(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return P0(this)}GetEnumerator(){return P0(hn(this.hashMap.values()))}[Symbol.iterator](){return Rt(P0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){r5(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){yi(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=Er(this,t[0]);let i;switch(n!=null&&t0(B(n)[1],t[1])?(i=0,B(n)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){os((i,o)=>{I1(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return vi(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const r=this,n=Er(r,t[0]);return n!=null?(t0(B(n)[1],t[1])&&n5(r,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,r){r5(this,t,r)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return Ci(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return bi(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,r){_i(this,t,r)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return He(k(()=>V0(r=>r[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return n5(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,r){const i=Er(this,t);if(i!=null){const o=B(i);return r.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return He(k(()=>V0(r=>r[1],t)))}get size(){return vi(this)|0}clear(){yi(this)}delete(t){return n5(this,t)}entries(){return V0(r=>[r[0],r[1]],this)}get(t){return bi(this,t)}has(t){return Ci(this,t)}keys(){return V0(r=>r[0],this)}set(t,r){const n=this;return _i(n,t,r),n}values(){return V0(r=>r[1],this)}forEach(t,r){const n=this;je(i=>{t(i[1],i[0],n)},n)}}function X3(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=T0();return n=[c6(e.hashMap,r,new S1(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,r,-1]}function Er(e,t){const r=X3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return a2(e.hashMap,r[1])[r[2]];default:return}}function yi(e){e.hashMap.clear()}function vi(e){let t=0,r=P0(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{O0(r)}return t|0}function bi(e,t){const r=Er(e,t);if(r!=null)return B(r)[1];throw new Error("The item was not found in collection")}function _i(e,t,r){const n=X3(e,t);n[0]?n[2]>-1?a2(e.hashMap,n[1])[n[2]]=[t,r]:a2(e.hashMap,n[1]).push([t,r]):e.hashMap.set(n[1],[[t,r]])}function r5(e,t,r){const n=X3(e,t);if(n[0]){if(n[2]>-1)throw new Error(Z4("An item with the same key has already been added. Key: {0}",t));a2(e.hashMap,n[1]).push([t,r])}else e.hashMap.set(n[1],[[t,r]])}function Ci(e,t){const r=X3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function n5(e,t){const r=X3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return a2(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}function Eg(e,t){return k(()=>{const r=new Ms([],t);return mn(n=>Ss(n,r),e)})}function Ag(e,t,r){return k(()=>{const n=new Ms(e,r);return mn(i=>Ss(i,n),t)})}function Tg(e,t,r){return k(()=>{const n=new Sg([],r),i=[],o=P0(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,u=T0();l=[c6(n,a,new S1(()=>u,d=>{u=d})),u],l[0]?l[1].push(s):(vd(n,a,[s]),i.push(a))}}finally{O0(o)}return V0(s=>[s,a2(n,s)],i)})}function ma(e,t){return He(Eg(e,t))}function pa(e,t,r){return He(Ag(e,t,r))}function Mg(e,t,r){return He(V0(n=>[n[0],He(n[1])],Tg(e,t,r)))}class Ng extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class kg extends E0{constructor(t,r,n,i){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i}}class Ig extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class _3 extends E0{constructor(t,r,n,i,o){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o}}new _3(void 0,void 0,void 0,void 0,void 0);function xi(e,t){return new _3(e.FirstName,e.LastName,e.Email,e.MobilePhone,C1(r=>r.fields[0],t))}class Og extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class m1 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function ga(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function Rg(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function Dg(e){switch(e){case"FullTime":return new m1(0,[]);case"PartTime":return new m1(1,[]);case"Casual":return new m1(2,[]);case"LabourHire":return new m1(3,[]);default:return}}class $g extends E0{constructor(t,r){super(),this.Head=t,this.Tail=r}}function Fg(e){return gt(t1(t=>[t[1].fields[0],Rg(t[0])],z8([e.Head],e.Tail)),{Compare:j2})}class Pg extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class tt extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class Ae extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}class Lg extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class Bg extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class wa extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function Hg(e,t){let r;return new Pg(t1(n=>new Og(n),zu(n=>n,ma((r=t1(n=>g0(t.fields[0].fields[0],n.fields[0]),e.fields[0]),r.filter(n=>!$t(n))),{Equals:(n,i)=>n===i,GetHashCode:Le}),{Compare:j2})))}function Vg(e){return e.fields[0].length}class ya extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class Ug extends E0{constructor(t,r,n,i){super(),this.Name=t,this.HeaderRow=r,this.DataRows=n,this.SizeInBytes=i|0}}class N1 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InviteNow","InviteLater"]}}class fr extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Draft","Valid"]}}class r0 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function N3(e){switch(e.tag){case 1:return"Last name";case 2:return"Email";case 3:return"Mobile phone";case 4:return"Employment basis";default:return"First name"}}function x2(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function va(e){switch(e){case"firstName":return new r0(0,[]);case"lastName":return new r0(1,[]);case"email":return new r0(2,[]);case"mobileNumber":return new r0(3,[]);case"employmentBasis":return new r0(4,[]);default:return}}function jg(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let Ze=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear","Preview","ClosePreview"]}};class s3 extends E0{constructor(t,r){super(),this.ColumnIndex=t,this.IncomingFields=r}}class Wg extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class Ne extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}let b2=class extends E0{constructor(t,r,n,i,o,s,a,l,u,d,f){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o,this.Preview=s,this.NumberOfIncomingFields=a|0,this.NumberOfDestinationFieldsMapped=l|0,this.NumberOfIncomingFieldsDiscarded=u|0,this.Status=d,this.IsPrefilled=f}};function qg(e,t){const r=t.tag===1?["lastname","surname","familyname"]:t.tag===2?["email"]:t.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:t.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return C1(n=>n[0],cn(n=>W2(un(n[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:Le}),e))}function Gg(e,t){return new Wg(t1(r=>{const n=r[0];return[n,r[1],W2(n,t,{Equals:t0,GetHashCode:Rr})?new Ne(1,[]):new Ne(0,[])]},e))}function ba(e,t,r){switch(t.tag){case 1:return[e.FirstName.ColumnIndex,r,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 2:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,r,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 3:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,r,e.EmploymentBasis.ColumnIndex];case 4:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,r];default:return[r,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex]}}function ut(e,t){return V1(r=>r,t1(r=>Z8(e.fields[0],r.fields[0]),t.fields[0].slice(void 0,10)))}function E6(e,t,r,n,i,o,s,a){let l,u,d;const f=g=>Gg(e,g);let p;p=V1(g=>g,[n,i,o,s,a]).length;const m=n!=null?i!=null?o!=null?(l=o,u=n,d=i,new fr(1,[new kg(u,d,l,s),C1(g=>new Ig(g),a)])):new fr(0,[new _3(n,i,o,s,a)]):new fr(0,[new _3(n,i,o,s,a)]):new fr(0,[new _3(n,i,o,s,a)]);return new b2(new s3(n,f(V1(g=>g,[i,o,s,a]))),new s3(i,f(V1(g=>g,[n,o,s,a]))),new s3(o,f(V1(g=>g,[n,i,s,a]))),new s3(s,f(V1(g=>g,[n,i,o,a]))),new s3(a,f(V1(g=>g,[n,i,o,s]))),t,e.length,p,e.length-p,m,r)}function a3(e,t,r,n,i){let o,s,a;const l=[n,i];return a=ba(r,l[0],l[1]),E6(e,(o=r.Preview,o!=null&&t0(o[0],n)?(s=o[0],[s,ut(i,t)]):r.Preview),r.IsPrefilled,a[0],a[1],a[2],a[3],a[4])}function l3(e,t,r){let n,i;const o=[r,void 0];return i=ba(t,o[0],o[1]),E6(e,(n=t.Preview,n!=null&&t0(n[0],r)?(n[0],void 0):t.Preview),t.IsPrefilled,i[0],i[1],i[2],i[3],i[4])}function _a(e,t){switch(t.tag){case 1:return e.LastName.ColumnIndex!=null;case 2:return e.Email.ColumnIndex!=null;case 3:return e.MobilePhone.ColumnIndex!=null;case 4:return e.EmploymentBasis.ColumnIndex!=null;default:return e.FirstName.ColumnIndex!=null}}const zg=e=>t=>_a(e,t);function Yg(e,t){const r=_a(e,t),n=e.Preview;let i;switch(r?n==null?i=2:t0(n[0],t)?(i=1,n[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function Zg(e,t){let r,n,i,o,s,a,l,u,d,f,p,h;const m=g=>qg(e,g);return[(r=t==null?(n=m(new r0(0,[])),i=m(new r0(1,[])),o=m(new r0(2,[])),s=m(new r0(3,[])),a=m(new r0(4,[])),l=V1(g=>g,[n,i,o,s,a]),u=g=>{let y,_;switch(g!=null?(y=g,l.filter(C=>t0(C,y)).length>1?_=0:_=1):_=1,_){case 0:return;default:return g}},d=[u(n),u(i),u(o),u(s),u(a)],[(f=V1(g=>g,[d[0],d[1],d[2],d[3],d[4]]),f.length!==0),d]):(p=t,[!1,[p.FirstName,p.LastName,p.Email,p.MobilePhone,p.EmploymentBasis]]),h=r[1],E6(e,void 0,r[0],h[0],h[1],h[2],h[3],h[4])),C0()]}function Kg(e,t,r,n,i){let o,s,a,l,u,d,f,p,h,m;const g=N=>$e(e,new fe(4,[{Field:jg(N)}]));let y,_,C,E,M,O,R,$,S,x,A;switch(n.tag){case 1:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?y=6:y=16;break}case 2:{i.Email.ColumnIndex!=null?y=7:y=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?y=8:y=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?y=9:y=16;break}default:i.FirstName.ColumnIndex!=null?y=5:y=16}break}case 2:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(y=11,$=i.LastName.ColumnIndex):y=16;break}case 2:{i.Email.ColumnIndex!=null?(y=12,S=i.Email.ColumnIndex):y=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(y=13,x=i.MobilePhone.ColumnIndex):y=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(y=14,A=i.EmploymentBasis.ColumnIndex):y=16;break}default:i.FirstName.ColumnIndex!=null?(y=10,R=i.FirstName.ColumnIndex):y=16}break}case 3:{y=15;break}default:switch(n.fields[0].tag){case 1:{d=n.fields[1],!t0(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(N=>t0(d,N[0])?t0(N[2],new Ne(0,[])):!1)?(y=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],C=n.fields[1]):y=16;break}case 2:{f=n.fields[1],!t0(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(N=>t0(f,N[0])?t0(N[2],new Ne(0,[])):!1)?(y=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],E=n.fields[1]):y=16;break}case 3:{p=n.fields[1],!t0(i.MobilePhone.ColumnIndex,p)&&i.MobilePhone.IncomingFields.fields[0].some(N=>t0(p,N[0])?t0(N[2],new Ne(0,[])):!1)?(y=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],M=n.fields[1]):y=16;break}case 4:{h=n.fields[1],!t0(i.EmploymentBasis.ColumnIndex,h)&&i.EmploymentBasis.IncomingFields.fields[0].some(N=>t0(h,N[0])?t0(N[2],new Ne(0,[])):!1)?(y=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],O=n.fields[1]):y=16;break}default:m=n.fields[1],!t0(i.FirstName.ColumnIndex,m)&&i.FirstName.IncomingFields.fields[0].some(N=>t0(m,N[0])?t0(N[2],new Ne(0,[])):!1)?(y=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=n.fields[1]):y=16}}switch(y){case 0:return[(o=[new r0(0,[]),_],a3(t,r,i,o[0],o[1])),C0()];case 1:return[(s=[new r0(1,[]),C],a3(t,r,i,s[0],s[1])),C0()];case 2:return[(a=[new r0(2,[]),E],a3(t,r,i,a[0],a[1])),C0()];case 3:return[(l=[new r0(3,[]),M],a3(t,r,i,l[0],l[1])),C0()];case 4:return[(u=[new r0(4,[]),O],a3(t,r,i,u[0],u[1])),C0()];case 5:return[l3(t,i,new r0(0,[])),C0()];case 6:return[l3(t,i,new r0(1,[])),C0()];case 7:return[l3(t,i,new r0(2,[])),C0()];case 8:return[l3(t,i,new r0(3,[])),C0()];case 9:return[l3(t,i,new r0(4,[])),C0()];case 10:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(0,[]),ut(R,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),g(new r0(0,[]))];case 11:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(1,[]),ut($,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),g(new r0(1,[]))];case 12:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(2,[]),ut(S,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),g(new r0(2,[]))];case 13:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(3,[]),ut(x,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),g(new r0(3,[]))];case 14:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(4,[]),ut(A,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),g(new r0(4,[]))];case 15:return[new b2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),C0()];default:return[i,C0()]}}const Ca=typeof document<"u"?Q.useLayoutEffect:()=>{};function Jg(e){const t=i0(null);return Ca(()=>{t.current=e},[e]),$0((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const Q3=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},T2=e=>e&&"window"in e&&e.window===e?e:Q3(e).defaultView||window;function Xg(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Qg(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function xa(e){let t=null;return()=>(t==null&&(t=e()),t)}const ew=xa(function(){return Qg(/^Mac/i)}),tw=xa(function(){return Xg(/Android/i)});function rw(e){return e.mozInputSource===0&&e.isTrusted?!0:tw()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class nw{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function Sa(e){let t=i0({isFocused:!1,observer:null});Ca(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Jg(n=>{e==null||e(n)});return $0(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,o=s=>{t.current.isFocused=!1,i.disabled&&r(new nw("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function iw(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=$0(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=Sa(o),a=$0(l=>{const u=Q3(l.target);l.target===l.currentTarget&&u.activeElement===l.target&&(r&&r(l),i&&i(!0),s(l))},[i,r,s]);return{focusProps:{onFocus:!t&&(r||i||n)?a:void 0,onBlur:!t&&(n||i)?o:void 0}}}let er=null,g4=new Set,C3=new Map,P2=!1,w4=!1;const ow={Tab:!0,Escape:!0};function A6(e,t){for(let r of g4)r(e,t)}function sw(e){return!(e.metaKey||!ew()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function zr(e){P2=!0,sw(e)&&(er="keyboard",A6("keyboard",e))}function ee(e){er="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(P2=!0,A6("pointer",e))}function Ea(e){rw(e)&&(P2=!0,er="virtual")}function Aa(e){e.target===window||e.target===document||(!P2&&!w4&&(er="virtual",A6("virtual",e)),P2=!1,w4=!1)}function Ta(){P2=!1,w4=!0}function y4(e){if(typeof window>"u"||C3.get(T2(e)))return;const t=T2(e),r=Q3(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){P2=!0,n.apply(this,arguments)},r.addEventListener("keydown",zr,!0),r.addEventListener("keyup",zr,!0),r.addEventListener("click",Ea,!0),t.addEventListener("focus",Aa,!0),t.addEventListener("blur",Ta,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",ee,!0),r.addEventListener("pointermove",ee,!0),r.addEventListener("pointerup",ee,!0)):(r.addEventListener("mousedown",ee,!0),r.addEventListener("mousemove",ee,!0),r.addEventListener("mouseup",ee,!0)),t.addEventListener("beforeunload",()=>{Ma(e)},{once:!0}),C3.set(t,{focus:n})}const Ma=(e,t)=>{const r=T2(e),n=Q3(e);t&&n.removeEventListener("DOMContentLoaded",t),C3.has(r)&&(r.HTMLElement.prototype.focus=C3.get(r).focus,n.removeEventListener("keydown",zr,!0),n.removeEventListener("keyup",zr,!0),n.removeEventListener("click",Ea,!0),r.removeEventListener("focus",Aa,!0),r.removeEventListener("blur",Ta,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",ee,!0),n.removeEventListener("pointermove",ee,!0),n.removeEventListener("pointerup",ee,!0)):(n.removeEventListener("mousedown",ee,!0),n.removeEventListener("mousemove",ee,!0),n.removeEventListener("mouseup",ee,!0)),C3.delete(r))};function aw(e){const t=Q3(e);let r;return t.readyState!=="loading"?y4(e):(r=()=>{y4(e)},t.addEventListener("DOMContentLoaded",r)),()=>Ma(e,r)}typeof document<"u"&&aw();function Na(){return er!=="pointer"}const lw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function uw(e,t,r){var n;const i=typeof window<"u"?T2(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?T2(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?T2(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?T2(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!lw.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof s&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof a&&!ow[r.key])}function cw(e,t,r){y4(),L0(()=>{let n=(i,o)=>{uw(!!(r!=null&&r.isTextInput),i,o)&&e(Na())};return g4.add(n),()=>{g4.delete(n)}},t)}function dw(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=i0({isFocusWithin:!1}),s=$0(u=>{o.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(u),i&&i(!1))},[r,i,o]),a=Sa(s),l=$0(u=>{!o.current.isFocusWithin&&document.activeElement===u.target&&(n&&n(u),i&&i(!0),o.current.isFocusWithin=!0,a(u))},[n,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Yr=!1,i5=0;function v4(){Yr=!0,setTimeout(()=>{Yr=!1},50)}function Si(e){e.pointerType==="touch"&&v4()}function fw(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Si):document.addEventListener("touchend",v4),i5++,()=>{i5--,!(i5>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Si):document.removeEventListener("touchend",v4))}}function hw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,s]=S0(!1),a=i0({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;L0(fw,[]);let{hoverProps:l,triggerHoverEnd:u}=f0(()=>{let d=(h,m)=>{if(a.pointerType=m,i||m==="touch"||a.isHovered||!h.currentTarget.contains(h.target))return;a.isHovered=!0;let g=h.currentTarget;a.target=g,t&&t({type:"hoverstart",target:g,pointerType:m}),r&&r(!0),s(!0)},f=(h,m)=>{if(a.pointerType="",a.target=null,m==="touch"||!a.isHovered)return;a.isHovered=!1;let g=h.currentTarget;n&&n({type:"hoverend",target:g,pointerType:m}),r&&r(!1),s(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=h=>{Yr&&h.pointerType==="mouse"||d(h,h.pointerType)},p.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(p.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=h=>{!a.ignoreEmulatedMouseEvents&&!Yr&&d(h,"mouse"),a.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:p,triggerHoverEnd:f}},[t,r,n,i,a]);return L0(()=>{i&&u({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function mw(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=i0({isFocused:!1,isFocusVisible:t||Na()}),[o,s]=S0(!1),[a,l]=S0(()=>i.current.isFocused&&i.current.isFocusVisible),u=$0(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=$0(h=>{i.current.isFocused=h,s(h),u()},[u]);cw(h=>{i.current.isFocusVisible=h,u()},[],{isTextInput:r});let{focusProps:f}=iw({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=dw({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?p:f}}var pw=Object.defineProperty,gw=(e,t,r)=>t in e?pw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o5=(e,t,r)=>(gw(e,typeof t!="symbol"?t+"":t,r),r);let ww=class{constructor(){o5(this,"current",this.detect()),o5(this,"handoffState","pending"),o5(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},I2=new ww;function jt(e){return I2.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function An(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function qe(){let e=[],t={addEventListener(r,n,i,o){return r.addEventListener(n,i,o),t.add(()=>r.removeEventListener(n,i,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return An(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,i){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:i}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=qe();return r(n),this.add(()=>n.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let i of e.splice(n,1))i()}},dispose(){for(let r of e.splice(0))r()}};return t}function h2(){let[e]=S0(qe);return L0(()=>()=>e.dispose(),[e]),e}let r1=(e,t)=>{I2.isServer?L0(e,t):Ce(e,t)};function m2(e){let t=i0(e);return r1(()=>{t.current=e},[e]),t}let c0=function(e){let t=m2(e);return Q.useCallback((...r)=>t.current(...r),[t])};function yw(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function vw(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function bw({disabled:e=!1}={}){let t=i0(null),[r,n]=S0(!1),i=h2(),o=c0(()=>{t.current=null,n(!1),i.dispose()}),s=c0(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,n(!0);{let l=jt(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",u=>{if(t.current){let d=yw(u);n(vw(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let _w=u1(void 0);function T6(){return U0(_w)}function b4(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function U1(e,t,...r){if(e in t){let i=t[e];return typeof i=="function"?i(...r):i}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,U1),n}var Nt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Nt||{}),t2=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(t2||{});function E1(){let e=xw();return $0(t=>Cw({mergeRefs:e,...t}),[e])}function Cw({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??Sw;let l=ka(t,e);if(o)return hr(l,r,n,s,a);let u=i??0;if(u&2){let{static:d=!1,...f}=l;if(d)return hr(f,r,n,s,a)}if(u&1){let{unmount:d=!0,...f}=l;return U1(d?0:1,{0(){return null},1(){return hr({...f,hidden:!0,style:{display:"none"}},r,n,s,a)}})}return hr(l,r,n,s,a)}function hr(e,t={},r,n,i){let{as:o=r,children:s,refName:a="ref",...l}=s5(e,["unmount","static"]),u=e.ref!==void 0?{[a]:e.ref}:{},d=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let p=!1,h=[];for(let[m,g]of Object.entries(t))typeof g=="boolean"&&(p=!0),g===!0&&h.push(m.replace(/([A-Z])/g,y=>`-${y.toLowerCase()}`));if(p){f["data-headlessui-state"]=h.join(" ");for(let m of h)f[`data-${m}`]=""}}if(o===K0&&(Object.keys(Ke(l)).length>0||Object.keys(Ke(f)).length>0))if(!Ot(d)||Array.isArray(d)&&d.length>1){if(Object.keys(Ke(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Ke(l)).concat(Object.keys(Ke(f))).map(p=>` - ${p}`).join(`
|
|
46
46
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(`
|
|
47
47
|
`)].join(`
|
|
48
|
-
`))}else{let p=d.props,m=p==null?void 0:p.className,h=typeof m=="function"?(..._)=>Sl(m(..._),l.className):Sl(m,l.className),b=h?{className:h}:{},v=zm(d.props,Yn(Ga(l,["ref"])));for(let _ in f)_ in v&&delete f[_];return Zl(d,Object.assign({},v,f,u,{ref:i(Fx(d),u.ref)},b))}return c(o,Object.assign({},Ga(l,["ref"]),o!==Ye&&u,o!==Ye&&f),d)}function Rx(){let e=se([]),t=Re(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function Ox(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function zm(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[i=>{var o;return(o=i==null?void 0:i.preventDefault)==null?void 0:o.call(i)}]);for(let r in n)Object.assign(t,{[r](i,...o){let s=n[r];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function qm(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];for(let r in n)Object.assign(t,{[r](...i){let o=n[r];for(let s of o)s==null||s(...i)}});return t}function wt(e){var t;return Object.assign(zl(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Yn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Ga(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Fx(e){return Q.version.split(".")[0]>="19"?e.props.ref:e.ref}function Px(e,t,n){let[r,i]=xe(n),o=e!==void 0,s=se(o),a=se(!1),l=se(!1);return o&&!s.current&&!a.current?(a.current=!0,s.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&s.current&&!l.current&&(l.current=!0,s.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:r,fe(u=>(o||i(u),t==null?void 0:t(u)))]}function Lx(e){let[t]=xe(e);return t}function Ym(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))Km(n,Zm(t,r),i);return n}function Zm(e,t){return e?e+"["+t+"]":t}function Km(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())Km(e,Zm(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Ym(n,t,e)}function Vx(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}let Hx="span";var xi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(xi||{});function jx(e,t){var n;let{features:r=1,...i}=e,o={ref:t,"aria-hidden":(r&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return St()({ourProps:o,theirProps:i,slot:{},defaultTag:Hx,name:"Hidden"})}let yo=wt(jx),Bx=lt(null);function Ux({children:e}){let t=Ve(Bx);if(!t)return Q.createElement(Q.Fragment,null,e);let{target:n}=t;return n?zs(Q.createElement(Q.Fragment,null,e),n):null}function Wx({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[o,s]=xe(null),a=fr();return Fe(()=>{if(r&&o)return a.addEventListener(o,"reset",r)},[o,t,r]),Q.createElement(Ux,null,Q.createElement(Gx,{setForm:s,formId:t}),Ym(e).map(([l,u])=>Q.createElement(yo,{features:xi.Hidden,...Yn({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:l,value:u,...i})})))}function Gx({setForm:e,formId:t}){return Fe(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:Q.createElement(yo,{features:xi.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let zx=lt(void 0);function Xm(){return Ve(zx)}function qx(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&Yx(n)?!1:r}function Yx(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Jm=Symbol();function Zx(e,t=!0){return Object.assign(e,{[Jm]:t})}function It(...e){let t=se(e);Fe(()=>{t.current=e},[e]);let n=fe(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Jm]))?void 0:n}let ma=lt(null);ma.displayName="DescriptionContext";function Qm(){let e=Ve(ma);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Qm),t}return e}function Kx(){var e,t;return(t=(e=Ve(ma))==null?void 0:e.value)!=null?t:void 0}function Xx(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,me(()=>function(n){let r=fe(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=me(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return Q.createElement(ma.Provider,{value:i},n.children)},[t])]}let Jx="p";function Qx(e,t){let n=rn(),r=$u(),{id:i=`headlessui-description-${n}`,...o}=e,s=Qm(),a=It(t);tt(()=>s.register(i),[i,s.register]);let l=r||!1,u=me(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return St()({ourProps:d,theirProps:o,slot:u,defaultTag:Jx,name:s.name||"Description"})}let e3=wt(Qx),t3=Object.assign(e3,{});var yt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(yt||{});let ha=lt(null);ha.displayName="LabelContext";function eh(){let e=Ve(ha);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,eh),t}return e}function th(e){var t,n,r;let i=(n=(t=Ve(ha))==null?void 0:t.value)!=null?n:void 0;return((r=e==null?void 0:e.length)!=null?r:0)>0?[i,...e].filter(Boolean).join(" "):i}function n3({inherit:e=!1}={}){let t=th(),[n,r]=xe([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,me(()=>function(o){let s=fe(l=>(r(u=>[...u,l]),()=>r(u=>{let d=u.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=me(()=>({register:s,slot:o.slot,name:o.name,props:o.props,value:o.value}),[s,o.slot,o.name,o.props,o.value]);return Q.createElement(ha.Provider,{value:a},o.children)},[r])]}let r3="label";function i3(e,t){var n;let r=rn(),i=eh(),o=Xm(),s=$u(),{id:a=`headlessui-label-${r}`,htmlFor:l=o??((n=i.props)==null?void 0:n.htmlFor),passive:u=!1,...d}=e,f=It(t);tt(()=>i.register(a),[a,i.register]);let p=fe(v=>{let _=v.currentTarget;if(_ instanceof HTMLLabelElement&&v.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(v),_ instanceof HTMLLabelElement){let x=document.getElementById(_.htmlFor);if(x){let E=x.getAttribute("disabled");if(E==="true"||E==="")return;let T=x.getAttribute("aria-disabled");if(T==="true"||T==="")return;(x instanceof HTMLInputElement&&(x.type==="radio"||x.type==="checkbox")||x.role==="radio"||x.role==="checkbox"||x.role==="switch")&&x.click(),x.focus({preventScroll:!0})}}}),m=s||!1,h=me(()=>({...i.slot,disabled:m}),[i.slot,m]),b={ref:f,...i.props,id:a,htmlFor:l,onClick:p};return u&&("onClick"in b&&(delete b.htmlFor,delete b.onClick),"onClick"in d&&delete d.onClick),St()({ourProps:b,theirProps:d,slot:h,defaultTag:l?r3:"div",name:i.name||"Label"})}let o3=wt(i3),s3=Object.assign(o3,{}),a3=lt(()=>{});function l3({value:e,children:t}){return Q.createElement(a3.Provider,{value:e},t)}function u3(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function c3(e=u3){return Re((t,n)=>{if(typeof e=="string"){let r=e;return(t==null?void 0:t[r])===(n==null?void 0:n[r])}return e(t,n)},[e])}function d3(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function f3(e,t=!1){let[n,r]=Hr(()=>({}),{}),i=me(()=>d3(e),[e,n]);return tt(()=>{if(!e)return;let o=new ResizeObserver(r);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}let m3=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function nh(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let s=t[i].call(n,...o);s&&(n=s,r.forEach(a=>a()))}}}function rh(e){return Gs(e.subscribe,e.getSnapshot,e.getSnapshot)}let h3=new m3(()=>nh(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function Pi(e,t){let n=h3.get(t),r=rn(),i=rh(n);if(tt(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let o=i.indexOf(r),s=i.length;return o===-1&&(o=s,s+=1),o===s-1}let El=new Map,co=new Map;function Td(e){var t;let n=(t=co.get(e))!=null?t:0;return co.set(e,n+1),n!==0?()=>$d(e):(El.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>$d(e))}function $d(e){var t;let n=(t=co.get(e))!=null?t:1;if(n===1?co.delete(e):co.set(e,n-1),n!==1)return;let r=El.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,El.delete(e))}function ih(e,{allowed:t,disallowed:n}={}){let r=Pi(e,"inert-others");tt(()=>{var i,o;if(!r)return;let s=Un();for(let l of(i=n==null?void 0:n())!=null?i:[])l&&s.add(Td(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let u=Fi(l);if(!u)continue;let d=l.parentElement;for(;d&&d!==u.body;){for(let f of d.children)a.some(p=>f.contains(p))||s.add(Td(f));d=d.parentElement}}return s.dispose},[r,t,n])}function oh(e,t,n){let r=mr(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&n()});Fe(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=Un();if(typeof ResizeObserver<"u"){let s=new ResizeObserver(()=>r.current(i));s.observe(i),o.add(()=>s.disconnect())}if(typeof IntersectionObserver<"u"){let s=new IntersectionObserver(()=>r.current(i));s.observe(i),o.add(()=>s.disconnect())}return()=>o.dispose()},[t,r,e])}let Ps=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),p3=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var un=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(un||{}),Al=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Al||{}),g3=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(g3||{});function sh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ps)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function w3(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(p3)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Mu=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Mu||{});function ah(e,t=0){var n;return e===((n=Fi(e))==null?void 0:n.body)?!1:Vt(t,{0(){return e.matches(Ps)},1(){let r=e;for(;r!==null;){if(r.matches(Ps))return!0;r=r.parentElement}return!1}})}var y3=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(y3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function On(e){e==null||e.focus({preventScroll:!0})}let v3=["textarea","input"].join(",");function b3(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,v3))!=null?n:!1}function lh(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _3(e,t){return fi(sh(),t,{relativeTo:e})}function fi(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?lh(e):e:t&64?w3(e):sh(e);i.length>0&&s.length>1&&(s=s.filter(m=>!i.some(h=>h!=null&&"current"in h?(h==null?void 0:h.current)===m:h===m))),r=r??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=s.length,p;do{if(d>=f||d+f<=0)return 0;let m=l+d;if(t&16)m=(m+f)%f;else{if(m<0)return 3;if(m>=f)return 1}p=s[m],p==null||p.focus(u),d+=a}while(p!==o.activeElement);return t&6&&b3(p)&&p.select(),2}function uh(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function x3(){return/Android/gi.test(window.navigator.userAgent)}function C3(){return uh()||x3()}function eo(e,t,n,r){let i=mr(n);Fe(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,r),()=>document.removeEventListener(t,o,r)},[e,t,r])}function ch(e,t,n,r){let i=mr(n);Fe(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,r),()=>window.removeEventListener(t,o,r)},[e,t,r])}const Md=30;function dh(e,t,n){let r=Pi(e,"outside-click"),i=mr(n),o=Re(function(l,u){if(l.defaultPrevented)return;let d=u(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function p(m){return typeof m=="function"?p(m()):Array.isArray(m)||m instanceof Set?m:[m]}(t);for(let p of f)if(p!==null&&(p.contains(d)||l.composed&&l.composedPath().includes(p)))return;return!ah(d,Mu.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=se(null);eo(r,"pointerdown",l=>{var u,d;s.current=((d=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:d[0])||l.target},!0),eo(r,"mousedown",l=>{var u,d;s.current=((d=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:d[0])||l.target},!0),eo(r,"click",l=>{C3()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=se({x:0,y:0});eo(r,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),eo(r,"touchend",l=>{let u={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(u.x-a.current.x)>=Md||Math.abs(u.y-a.current.y)>=Md))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),ch(r,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Li(...e){return me(()=>Fi(...e),[...e])}function fh(e,t,n,r){let i=mr(n);Fe(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function S3(e,t){return me(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function E3(){let e;return{before({doc:t}){var n;let r=t.documentElement,i=(n=t.defaultView)!=null?n:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);n.style(r,"paddingRight",`${o}px`)}}}function A3(){return uh()?{before({doc:e,d:t,meta:n}){function r(i){return n.containers.flatMap(o=>o()).some(o=>o.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=Un();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,s=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:u}=new URL(l.href),d=e.querySelector(u);d&&!r(d)&&(s=d)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(r(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;o!==l&&window.scrollTo(0,o),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function k3(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function N3(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Ar=nh(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Un(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:N3(n)},i=[A3(),E3(),k3()];i.forEach(({before:o})=>o==null?void 0:o(r)),i.forEach(({after:o})=>o==null?void 0:o(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Ar.subscribe(()=>{let e=Ar.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&Ar.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Ar.dispatch("TEARDOWN",n)}});function T3(e,t,n=()=>({containers:[]})){let r=rh(Ar),i=t?r.get(t):void 0,o=i?i.count>0:!1;return tt(()=>{if(!(!t||!e))return Ar.dispatch("PUSH",t,n),()=>Ar.dispatch("POP",t,n)},[e,t]),o}function mh(e,t,n=()=>[document.body]){let r=Pi(e,"scroll-lock");T3(r,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],n]}})}function Id(e){return[e.screenX,e.screenY]}function $3(){let e=se([-1,-1]);return{wasMoved(t){let n=Id(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Id(t)}}}function M3(e=0){let[t,n]=xe(e),r=Re(l=>n(l),[t]),i=Re(l=>n(u=>u|l),[t]),o=Re(l=>(t&l)===l,[t]),s=Re(l=>n(u=>u&~l),[n]),a=Re(l=>n(u=>u^l),[n]);return{flags:t,setFlag:r,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var I3={},Dd,Rd;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Dd=process==null?void 0:I3)==null?void 0:Dd.NODE_ENV)==="test"&&typeof((Rd=Element==null?void 0:Element.prototype)==null?void 0:Rd.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
49
|
-
`)),[]});var D3=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(D3||{});function hh(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function ph(e,t,n,r){let[i,o]=xe(n),{hasFlag:s,addFlag:a,removeFlag:l}=M3(e&&i?3:0),u=se(!1),d=se(!1),f=fr();return tt(()=>{var p;if(e){if(n&&o(!0),!t){n&&a(3);return}return(p=r==null?void 0:r.start)==null||p.call(r,n),R3(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(n?(a(3),l(4)):(a(4),l(2)))},run(){d.current?n?(l(3),a(4)):(l(4),a(3)):n?l(1):a(1)},done(){var m;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(u.current=!1,l(7),n||o(!1),(m=r==null?void 0:r.end)==null||m.call(r,n))}})}},[e,n,t,f]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function R3(e,{prepare:t,run:n,done:r,inFlight:i}){let o=Un();return F3(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(O3(e,r))})}),o.dispose}function O3(e,t){var n,r;let i=Un();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(a=>a instanceof CSSTransition))!=null?r:[];return s.length===0?(t(),i.dispose):(Promise.allSettled(s.map(a=>a.finished)).then(()=>{o||t()}),i.dispose)}function F3(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function Iu(e,t){let n=se([]),r=fe(e);Fe(()=>{let i=[...n.current];for(let[o,s]of t.entries())if(n.current[o]!==s){let a=r(t,i);return n.current=t,a}},[r,...t])}function pa(){return typeof window<"u"}function Vi(e){return gh(e)?(e.nodeName||"").toLowerCase():"#document"}function Kt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Sn(e){var t;return(t=(gh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gh(e){return pa()?e instanceof Node||e instanceof Kt(e).Node:!1}function Rt(e){return pa()?e instanceof Element||e instanceof Kt(e).Element:!1}function bn(e){return pa()?e instanceof HTMLElement||e instanceof Kt(e).HTMLElement:!1}function Od(e){return!pa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Kt(e).ShadowRoot}function Uo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function P3(e){return["table","td","th"].includes(Vi(e))}function ga(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Du(e){const t=Ru(),n=Rt(e)?mn(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function L3(e){let t=ar(e);for(;bn(t)&&!Ci(t);){if(Du(t))return t;if(ga(t))return null;t=ar(t)}return null}function Ru(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ci(e){return["html","body","#document"].includes(Vi(e))}function mn(e){return Kt(e).getComputedStyle(e)}function wa(e){return Rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Vi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Od(e)&&e.host||Sn(e);return Od(t)?t.host:t}function wh(e){const t=ar(e);return Ci(t)?e.ownerDocument?e.ownerDocument.body:e.body:bn(t)&&Uo(t)?t:wh(t)}function vo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=wh(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=Kt(i);if(o){const a=kl(s);return t.concat(s,s.visualViewport||[],Uo(i)?i:[],a&&n?vo(a):[])}return t.concat(i,vo(i,[],n))}function kl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function V3(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const Fr=Math.min,Tt=Math.max,bo=Math.round,ns=Math.floor,yn=e=>({x:e,y:e}),H3={left:"right",right:"left",bottom:"top",top:"bottom"},j3={start:"end",end:"start"};function Fd(e,t,n){return Tt(e,Fr(t,n))}function Hi(e,t){return typeof e=="function"?e(t):e}function lr(e){return e.split("-")[0]}function Wo(e){return e.split("-")[1]}function yh(e){return e==="x"?"y":"x"}function vh(e){return e==="y"?"height":"width"}function Pr(e){return["top","bottom"].includes(lr(e))?"y":"x"}function bh(e){return yh(Pr(e))}function B3(e,t,n){n===void 0&&(n=!1);const r=Wo(e),i=bh(e),o=vh(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Ls(s)),[s,Ls(s)]}function U3(e){const t=Ls(e);return[Nl(e),t,Nl(t)]}function Nl(e){return e.replace(/start|end/g,t=>j3[t])}function W3(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function G3(e,t,n,r){const i=Wo(e);let o=W3(lr(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Nl)))),o}function Ls(e){return e.replace(/left|right|bottom|top/g,t=>H3[t])}function z3(e){return{top:0,right:0,bottom:0,left:0,...e}}function q3(e){return typeof e!="number"?z3(e):{top:e,right:e,bottom:e,left:e}}function Vs(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Pd(e,t,n){let{reference:r,floating:i}=e;const o=Pr(t),s=bh(t),a=vh(s),l=lr(t),u=o==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[a]/2-i[a]/2;let m;switch(l){case"top":m={x:d,y:r.y-i.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-i.width,y:f};break;default:m={x:r.x,y:r.y}}switch(Wo(t)){case"start":m[s]-=p*(n&&u?-1:1);break;case"end":m[s]+=p*(n&&u?-1:1);break}return m}const Y3=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Pd(u,r,l),p=r,m={},h=0;for(let b=0;b<a.length;b++){const{name:v,fn:_}=a[b],{x,y:E,data:T,reset:I}=await _({x:d,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:m,rects:u,platform:s,elements:{reference:e,floating:t}});d=x??d,f=E??f,m={...m,[v]:{...m[v],...T}},I&&h<=50&&(h++,typeof I=="object"&&(I.placement&&(p=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):I.rects),{x:d,y:f}=Pd(u,p,l)),b=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:m}};async function ya(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=Hi(t,e),h=q3(m),v=a[p?f==="floating"?"reference":"floating":f],_=Vs(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),x=f==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),T=await(o.isElement==null?void 0:o.isElement(E))?await(o.getScale==null?void 0:o.getScale(E))||{x:1,y:1}:{x:1,y:1},I=Vs(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:E,strategy:l}):x);return{top:(_.top-I.top+h.top)/T.y,bottom:(I.bottom-_.bottom+h.bottom)/T.y,left:(_.left-I.left+h.left)/T.x,right:(I.right-_.right+h.right)/T.x}}const Z3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,...v}=Hi(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const _=lr(i),x=Pr(a),E=lr(a)===a,T=await(l.isRTL==null?void 0:l.isRTL(u.floating)),I=p||(E||!b?[Ls(a)]:U3(a)),O=h!=="none";!p&&O&&I.push(...G3(a,b,h,T));const F=[a,...I],S=await ya(t,v),C=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&C.push(S[_]),f){const j=B3(i,s,T);C.push(S[j[0]],S[j[1]])}if(A=[...A,{placement:i,overflows:C}],!C.every(j=>j<=0)){var N,D;const j=(((N=o.flip)==null?void 0:N.index)||0)+1,ae=F[j];if(ae)return{data:{index:j,overflows:A},reset:{placement:ae}};let X=(D=A.filter(J=>J.overflows[0]<=0).sort((J,L)=>J.overflows[1]-L.overflows[1])[0])==null?void 0:D.placement;if(!X)switch(m){case"bestFit":{var P;const J=(P=A.filter(L=>{if(O){const G=Pr(L.placement);return G===x||G==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(G=>G>0).reduce((G,B)=>G+B,0)]).sort((L,G)=>L[1]-G[1])[0])==null?void 0:P[0];J&&(X=J);break}case"initialPlacement":X=a;break}if(i!==X)return{reset:{placement:X}}}return{}}}};async function K3(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=lr(n),a=Wo(n),l=Pr(n)==="y",u=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=Hi(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(m=a==="end"?h*-1:h),l?{x:m*d,y:p*u}:{x:p*u,y:m*d}}const X3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await K3(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},J3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:_,y:x}=v;return{x:_,y:x}}},...l}=Hi(e,t),u={x:n,y:r},d=await ya(t,l),f=Pr(lr(i)),p=yh(f);let m=u[p],h=u[f];if(o){const v=p==="y"?"top":"left",_=p==="y"?"bottom":"right",x=m+d[v],E=m-d[_];m=Fd(x,m,E)}if(s){const v=f==="y"?"top":"left",_=f==="y"?"bottom":"right",x=h+d[v],E=h-d[_];h=Fd(x,h,E)}const b=a.fn({...t,[p]:m,[f]:h});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[p]:o,[f]:s}}}}}},Q3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=Hi(e,t),d=await ya(t,u),f=lr(i),p=Wo(i),m=Pr(i)==="y",{width:h,height:b}=o.floating;let v,_;f==="top"||f==="bottom"?(v=f,_=p===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,v=p==="end"?"top":"bottom");const x=b-d.top-d.bottom,E=h-d.left-d.right,T=Fr(b-d[v],x),I=Fr(h-d[_],E),O=!t.middlewareData.shift;let F=T,S=I;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=E),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(F=x),O&&!p){const A=Tt(d.left,0),N=Tt(d.right,0),D=Tt(d.top,0),P=Tt(d.bottom,0);m?S=h-2*(A!==0||N!==0?A+N:Tt(d.left,d.right)):F=b-2*(D!==0||P!==0?D+P:Tt(d.top,d.bottom))}await l({...t,availableWidth:S,availableHeight:F});const C=await s.getDimensions(a.floating);return h!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}};function _h(e){const t=mn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=bn(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=bo(n)!==o||bo(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Ou(e){return Rt(e)?e:e.contextElement}function mi(e){const t=Ou(e);if(!bn(t))return yn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=_h(t);let s=(o?bo(n.width):n.width)/r,a=(o?bo(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const e5=yn(0);function xh(e){const t=Kt(e);return!Ru()||!t.visualViewport?e5:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function t5(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Kt(e)?!1:t}function Lr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Ou(e);let s=yn(1);t&&(r?Rt(r)&&(s=mi(r)):s=mi(e));const a=t5(o,n,r)?xh(o):yn(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const p=Kt(o),m=r&&Rt(r)?Kt(r):r;let h=p,b=kl(h);for(;b&&r&&m!==h;){const v=mi(b),_=b.getBoundingClientRect(),x=mn(b),E=_.left+(b.clientLeft+parseFloat(x.paddingLeft))*v.x,T=_.top+(b.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,u*=v.y,d*=v.x,f*=v.y,l+=E,u+=T,h=Kt(b),b=kl(h)}}return Vs({width:d,height:f,x:l,y:u})}function Fu(e,t){const n=wa(e).scrollLeft;return t?t.left+n:Lr(Sn(e)).left+n}function Ch(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Fu(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function n5(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=Sn(r),a=t?ga(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=yn(1);const d=yn(0),f=bn(r);if((f||!f&&!o)&&((Vi(r)!=="body"||Uo(s))&&(l=wa(r)),bn(r))){const m=Lr(r);u=mi(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}const p=s&&!f&&!o?Ch(s,l,!0):yn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function r5(e){return Array.from(e.getClientRects())}function i5(e){const t=Sn(e),n=wa(e),r=e.ownerDocument.body,i=Tt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Tt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Fu(e);const a=-n.scrollTop;return mn(r).direction==="rtl"&&(s+=Tt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function o5(e,t){const n=Kt(e),r=Sn(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=Ru();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function s5(e,t){const n=Lr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=bn(e)?mi(e):yn(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,u=r*o.y;return{width:s,height:a,x:l,y:u}}function Ld(e,t,n){let r;if(t==="viewport")r=o5(e,n);else if(t==="document")r=i5(Sn(e));else if(Rt(t))r=s5(t,n);else{const i=xh(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Vs(r)}function Sh(e,t){const n=ar(e);return n===t||!Rt(n)||Ci(n)?!1:mn(n).position==="fixed"||Sh(n,t)}function a5(e,t){const n=t.get(e);if(n)return n;let r=vo(e,[],!1).filter(a=>Rt(a)&&Vi(a)!=="body"),i=null;const o=mn(e).position==="fixed";let s=o?ar(e):e;for(;Rt(s)&&!Ci(s);){const a=mn(s),l=Du(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Uo(s)&&!l&&Sh(e,s))?r=r.filter(d=>d!==s):i=a,s=ar(s)}return t.set(e,r),r}function l5(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?ga(t)?[]:a5(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,d)=>{const f=Ld(t,d,i);return u.top=Tt(f.top,u.top),u.right=Fr(f.right,u.right),u.bottom=Fr(f.bottom,u.bottom),u.left=Tt(f.left,u.left),u},Ld(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function u5(e){const{width:t,height:n}=_h(e);return{width:t,height:n}}function c5(e,t,n){const r=bn(t),i=Sn(t),o=n==="fixed",s=Lr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=yn(0);if(r||!r&&!o)if((Vi(t)!=="body"||Uo(i))&&(a=wa(t)),r){const p=Lr(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=Fu(i));const u=i&&!r&&!o?Ch(i,a):yn(0),d=s.left+a.scrollLeft-l.x-u.x,f=s.top+a.scrollTop-l.y-u.y;return{x:d,y:f,width:s.width,height:s.height}}function za(e){return mn(e).position==="static"}function Vd(e,t){if(!bn(e)||mn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Sn(e)===n&&(n=n.ownerDocument.body),n}function Eh(e,t){const n=Kt(e);if(ga(e))return n;if(!bn(e)){let i=ar(e);for(;i&&!Ci(i);){if(Rt(i)&&!za(i))return i;i=ar(i)}return n}let r=Vd(e,t);for(;r&&P3(r)&&za(r);)r=Vd(r,t);return r&&Ci(r)&&za(r)&&!Du(r)?n:r||L3(e)||n}const d5=async function(e){const t=this.getOffsetParent||Eh,n=this.getDimensions,r=await n(e.floating);return{reference:c5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function f5(e){return mn(e).direction==="rtl"}const m5={convertOffsetParentRelativeRectToViewportRelativeRect:n5,getDocumentElement:Sn,getClippingRect:l5,getOffsetParent:Eh,getElementRects:d5,getClientRects:r5,getDimensions:u5,getScale:mi,isElement:Rt,isRTL:f5};function Ah(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function h5(e,t){let n=null,r;const i=Sn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:m}=u;if(a||t(),!p||!m)return;const h=ns(f),b=ns(i.clientWidth-(d+p)),v=ns(i.clientHeight-(f+m)),_=ns(d),E={rootMargin:-h+"px "+-b+"px "+-v+"px "+-_+"px",threshold:Tt(0,Fr(1,l))||1};let T=!0;function I(O){const F=O[0].intersectionRatio;if(F!==l){if(!T)return s();F?s(!1,F):r=setTimeout(()=>{s(!1,1e-7)},1e3)}F===1&&!Ah(u,e.getBoundingClientRect())&&s(),T=!1}try{n=new IntersectionObserver(I,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(I,E)}n.observe(e)}return s(!0),o}function p5(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Ou(e),d=i||o?[...u?vo(u):[],...vo(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",n,{passive:!0}),o&&_.addEventListener("resize",n)});const f=u&&a?h5(u,n):null;let p=-1,m=null;s&&(m=new ResizeObserver(_=>{let[x]=_;x&&x.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var E;(E=m)==null||E.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,b=l?Lr(e):null;l&&v();function v(){const _=Lr(e);b&&!Ah(b,_)&&n(),b=_,h=requestAnimationFrame(v)}return n(),()=>{var _;d.forEach(x=>{i&&x.removeEventListener("scroll",n),o&&x.removeEventListener("resize",n)}),f==null||f(),(_=m)==null||_.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const qa=ya,g5=X3,w5=J3,y5=Z3,v5=Q3,b5=(e,t,n)=>{const r=new Map,i={platform:m5,...n},o={...i.platform,_c:r};return Y3(e,t,{...i,platform:o})};var hs=typeof document<"u"?_n:Fe;function Hs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Hs(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Hs(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function kh(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Hd(e,t){const n=kh(e);return Math.round(t*n)/n}function Ya(e){const t=se(e);return hs(()=>{t.current=e}),t}function _5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=xe({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=xe(r);Hs(p,r)||m(r);const[h,b]=xe(null),[v,_]=xe(null),x=Re(L=>{L!==O.current&&(O.current=L,b(L))},[]),E=Re(L=>{L!==F.current&&(F.current=L,_(L))},[]),T=o||h,I=s||v,O=se(null),F=se(null),S=se(d),C=l!=null,A=Ya(l),N=Ya(i),D=Ya(u),P=Re(()=>{if(!O.current||!F.current)return;const L={placement:t,strategy:n,middleware:p};N.current&&(L.platform=N.current),b5(O.current,F.current,L).then(G=>{const B={...G,isPositioned:D.current!==!1};j.current&&!Hs(S.current,B)&&(S.current=B,Zt(()=>{f(B)}))})},[p,t,n,N,D]);hs(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,f(L=>({...L,isPositioned:!1})))},[u]);const j=se(!1);hs(()=>(j.current=!0,()=>{j.current=!1}),[]),hs(()=>{if(T&&(O.current=T),I&&(F.current=I),T&&I){if(A.current)return A.current(T,I,P);P()}},[T,I,P,A,C]);const ae=me(()=>({reference:O,floating:F,setReference:x,setFloating:E}),[x,E]),X=me(()=>({reference:T,floating:I}),[T,I]),J=me(()=>{const L={position:n,left:0,top:0};if(!X.floating)return L;const G=Hd(X.floating,d.x),B=Hd(X.floating,d.y);return a?{...L,transform:"translate("+G+"px, "+B+"px)",...kh(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:G,top:B}},[n,a,X.floating,d.x,d.y]);return me(()=>({...d,update:P,refs:ae,elements:X,floatingStyles:J}),[d,P,ae,X,J])}const Nh=(e,t)=>({...g5(e),options:[e,t]}),x5=(e,t)=>({...w5(e),options:[e,t]}),C5=(e,t)=>({...y5(e),options:[e,t]}),S5=(e,t)=>({...v5(e),options:[e,t]}),Th={...vs},E5=Th.useInsertionEffect,A5=E5||(e=>e());function $h(e){const t=se(()=>{});return A5(()=>{t.current=e}),Re(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}var Tl=typeof document<"u"?_n:Fe;let jd=!1,k5=0;const Bd=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+k5++;function N5(){const[e,t]=xe(()=>jd?Bd():void 0);return Tl(()=>{e==null&&t(Bd())},[]),Fe(()=>{jd=!0},[]),e}const T5=Th.useId,$5=T5||N5;function M5(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(i=>i!==n))||[])}}}const I5=lt(null),D5=lt(null),R5=()=>{var e;return((e=Ve(I5))==null?void 0:e.id)||null},O5=()=>Ve(D5),F5="data-floating-ui-focusable";function P5(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=$5(),o=se({}),[s]=xe(()=>M5()),a=R5()!=null,[l,u]=xe(r.reference),d=$h((m,h,b)=>{o.current.openEvent=m?h:void 0,s.emit("openchange",{open:m,event:h,reason:b,nested:a}),n==null||n(m,h,b)}),f=me(()=>({setPositionReference:u}),[]),p=me(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return me(()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:s,floatingId:i,refs:f}),[t,d,p,s,i,f])}function L5(e){e===void 0&&(e={});const{nodeId:t}=e,n=P5({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[o,s]=xe(null),[a,l]=xe(null),d=(i==null?void 0:i.domReference)||o,f=se(null),p=O5();Tl(()=>{d&&(f.current=d)},[d]);const m=_5({...e,elements:{...i,...a&&{reference:a}}}),h=Re(E=>{const T=Rt(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;l(T),m.refs.setReference(T)},[m.refs]),b=Re(E=>{(Rt(E)||E===null)&&(f.current=E,s(E)),(Rt(m.refs.reference.current)||m.refs.reference.current===null||E!==null&&!Rt(E))&&m.refs.setReference(E)},[m.refs]),v=me(()=>({...m.refs,setReference:b,setPositionReference:h,domReference:f}),[m.refs,b,h]),_=me(()=>({...m.elements,domReference:d}),[m.elements,d]),x=me(()=>({...m,...r,refs:v,elements:_,nodeId:t}),[m,v,_,t,r]);return Tl(()=>{r.dataRef.current.floatingContext=x;const E=p==null?void 0:p.nodesRef.current.find(T=>T.id===t);E&&(E.context=x)}),me(()=>({...m,context:x,refs:v,elements:_}),[m,v,_,x])}const Ud="active",Wd="selected";function Za(e,t,n){const r=new Map,i=n==="item";let o=e;if(i&&e){const{[Ud]:s,[Wd]:a,...l}=e;o=l}return{...n==="floating"&&{tabIndex:-1,[F5]:""},...o,...t.map(s=>{const a=s?s[n]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[u,d]=l;if(!(i&&[Ud,Wd].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var f;(f=r.get(u))==null||f.push(d),s[u]=function(){for(var p,m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];return(p=r.get(u))==null?void 0:p.map(v=>v(...h)).find(v=>v!==void 0)}}}else s[u]=d}),s),{})}}function V5(e){e===void 0&&(e=[]);const t=e.map(a=>a==null?void 0:a.reference),n=e.map(a=>a==null?void 0:a.floating),r=e.map(a=>a==null?void 0:a.item),i=Re(a=>Za(a,e,"reference"),t),o=Re(a=>Za(a,e,"floating"),n),s=Re(a=>Za(a,e,"item"),r);return me(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Gd(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const H5=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:i,offset:o=0,index:s=0,minItemsVisible:a=4,referenceOverflowThreshold:l=0,scrollRef:u,...d}=Hi(e,t),{rects:f,elements:{floating:p}}=t,m=n.current[s],h=(u==null?void 0:u.current)||p,b=p.clientTop||h.clientTop,v=p.clientTop!==0,_=h.clientTop!==0,x=p===h;if(!m)return{};const E={...t,...await Nh(-m.offsetTop-p.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},T=await qa(Gd(E,h.scrollHeight+b+p.clientTop),d),I=await qa(E,{...d,elementContext:"reference"}),O=Tt(0,T.top),F=E.y+O,A=(h.scrollHeight>h.clientHeight?N=>N:bo)(Tt(0,h.scrollHeight+(v&&x||_?b*2:0)-O-Tt(0,T.bottom)));if(h.style.maxHeight=A+"px",h.scrollTop=O,i){const N=h.offsetHeight<m.offsetHeight*Fr(a,n.current.length)-1||I.top>=-l||I.bottom>=-l;Zt(()=>i(N))}return r&&(r.current=await qa(Gd({...E,y:F},h.offsetHeight+b+p.clientTop),d)),{y:F}}});function j5(e,t){const{open:n,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=$h(a),u=se(!1),d=se(null),f=se(null);Fe(()=>{if(!i)return;function m(b){if(b.ctrlKey||!h||o.current==null)return;const v=b.deltaY,_=o.current.top>=-.5,x=o.current.bottom>=-.5,E=h.scrollHeight-h.clientHeight,T=v<0?-1:1,I=v<0?"max":"min";h.scrollHeight<=h.clientHeight||(!_&&v>0||!x&&v<0?(b.preventDefault(),Zt(()=>{l(O=>O+Math[I](v,E*T))})):/firefox/i.test(V3())&&(h.scrollTop+=v))}const h=(s==null?void 0:s.current)||r.floating;if(n&&h)return h.addEventListener("wheel",m),requestAnimationFrame(()=>{d.current=h.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,h.removeEventListener("wheel",m)}},[i,n,r.floating,o,s,l]);const p=me(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const m=(s==null?void 0:s.current)||r.floating;if(!(!o.current||!m||!u.current)){if(d.current!==null){const h=m.scrollTop-d.current;(o.current.bottom<-.5&&h<-1||o.current.top<-.5&&h>1)&&Zt(()=>l(b=>b+h))}requestAnimationFrame(()=>{d.current=m.scrollTop})}}}),[r.floating,l,o,s]);return me(()=>i?{floating:p}:{},[i,p])}let ji=lt({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});ji.displayName="FloatingContext";let Pu=lt(null);Pu.displayName="PlacementContext";function B5(e){return me(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function U5(){return Ve(ji).setReference}function W5(){return Ve(ji).getReferenceProps}function G5(){let{getFloatingProps:e,slot:t}=Ve(ji);return Re((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function z5(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=Ve(Pu),n=me(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);tt(()=>{t==null||t(n??null)},[t,n]);let r=Ve(ji);return me(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let zd=4;function q5({children:e,enabled:t=!0}){let[n,r]=xe(null),[i,o]=xe(0),s=se(null),[a,l]=xe(null);Y5(a);let u=t&&n!==null&&a!==null,{to:d="bottom",gap:f=0,offset:p=0,padding:m=0,inner:h}=Z5(n,a),[b,v="center"]=d.split(" ");tt(()=>{u&&o(0)},[u]);let{refs:_,floatingStyles:x,context:E}=L5({open:u,placement:b==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${b}`:`${b}-${v}`,strategy:"absolute",transform:!1,middleware:[Nh({mainAxis:b==="selection"?0:f,crossAxis:p}),x5({padding:m}),b!=="selection"&&C5({padding:m}),b==="selection"&&h?H5({...h,padding:m,overflowRef:s,offset:i,minItemsVisible:zd,referenceOverflowThreshold:m,onFallbackChange(N){var D,P;if(!N)return;let j=E.elements.floating;if(!j)return;let ae=parseFloat(getComputedStyle(j).scrollPaddingBottom)||0,X=Math.min(zd,j.childElementCount),J=0,L=0;for(let G of(P=(D=E.elements.floating)==null?void 0:D.childNodes)!=null?P:[])if(G instanceof HTMLElement){let B=G.offsetTop,de=B+G.clientHeight+ae,q=j.scrollTop,R=q+j.clientHeight;if(B>=q&&de<=R)X--;else{L=Math.max(0,Math.min(de,R)-Math.max(B,q)),J=G.clientHeight;break}}X>=1&&o(G=>{let B=J*X-L+ae;return G>=B?G:B})}}):null,S5({padding:m,apply({availableWidth:N,availableHeight:D,elements:P}){Object.assign(P.floating.style,{overflow:"auto",maxWidth:`${N}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${D}px)`})}})].filter(Boolean),whileElementsMounted:p5}),[T=b,I=v]=E.placement.split("-");b==="selection"&&(T="selection");let O=me(()=>({anchor:[T,I].filter(Boolean).join(" ")}),[T,I]),F=j5(E,{overflowRef:s,onChange:o}),{getReferenceProps:S,getFloatingProps:C}=V5([F]),A=fe(N=>{l(N),_.setFloating(N)});return c(Pu.Provider,{value:r},c(ji.Provider,{value:{setFloating:A,setReference:_.setReference,styles:x,getReferenceProps:S,getFloatingProps:C,slot:O}},e))}function Y5(e){tt(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let i=parseInt(n);isNaN(i)||r!==i&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function Z5(e,t){var n,r,i;let o=Ka((n=e==null?void 0:e.gap)!=null?n:"var(--anchor-gap, 0)",t),s=Ka((r=e==null?void 0:e.offset)!=null?r:"var(--anchor-offset, 0)",t),a=Ka((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function Ka(e,t,n=void 0){let r=fr(),i=fe((l,u)=>{if(l==null)return[n,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!u)return[n,null];let d=qd(l,u);return[d,f=>{let p=Mh(l);{let m=p.map(h=>window.getComputedStyle(u).getPropertyValue(h));r.requestAnimationFrame(function h(){r.nextFrame(h);let b=!1;for(let[_,x]of p.entries()){let E=window.getComputedStyle(u).getPropertyValue(x);if(m[_]!==E){m[_]=E,b=!0;break}}if(!b)return;let v=qd(l,u);d!==v&&(f(v),d=v)})}return r.dispose}]}return[n,null]}),o=me(()=>i(e,t)[0],[e,t]),[s=o,a]=xe();return tt(()=>{let[l,u]=i(e,t);if(a(l),!!u)return u(a)},[e,t]),s}function Mh(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),i=t[1].slice(n+1).trim();return i?[r,...Mh(i)]:[r]}return[]}function qd(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function K5(e,t){let[n,r]=xe(t);return!e&&n!==t&&r(t),e?n:t}let va=lt(null);va.displayName="OpenClosedContext";var Ot=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ot||{});function Go(){return Ve(va)}function Ih({value:e,children:t}){return Q.createElement(va.Provider,{value:e},t)}function X5({children:e}){return Q.createElement(va.Provider,{value:null},e)}function J5(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Kn=[];J5(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||Kn[0]===t.target)return;let n=t.target;n=n.closest(Ps),Kn.unshift(n??t.target),Kn=Kn.filter(r=>r!=null&&r.isConnected),Kn.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Q5(e){throw new Error("Unexpected object: "+e)}var vt=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(vt||{});function Xa(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:{for(let o=0;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 1:{i===-1&&(i=n.length);for(let o=i-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 2:{for(let o=i+1;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 3:{for(let o=n.length-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 4:{for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return r}case 5:return null;default:Q5(e)}}function Dh(e){let t=fe(e),n=se(!1);Fe(()=>(n.current=!1,()=>{n.current=!0,fa(()=>{n.current&&t()})}),[t])}function eC(){let e=typeof document>"u";return"useSyncExternalStore"in vs?(t=>t.useSyncExternalStore)(vs)(()=>()=>{},()=>!1,()=>!e):!1}function zo(){let e=eC(),[t,n]=xe(Tr.isHandoffComplete);return t&&Tr.isHandoffComplete===!1&&n(!1),Fe(()=>{t!==!0&&n(!0)},[t]),Fe(()=>Tr.handoff(),[]),e?!1:t}let Rh=lt(!1);function tC(){return Ve(Rh)}function Yd(e){return Q.createElement(Rh.Provider,{value:e.force},e.children)}function nC(e){let t=tC(),n=Ve(Fh),r=Li(e),[i,o]=xe(()=>{var s;if(!t&&n!==null)return(s=n.current)!=null?s:null;if(Tr.isServer)return null;let a=r==null?void 0:r.getElementById("headlessui-portal-root");if(a)return a;if(r===null)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return Fe(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),Fe(()=>{t||n!==null&&o(n.current)},[n,o,t]),i}let Oh=Ye,rC=wt(function(e,t){let n=e,r=se(null),i=It(Zx(f=>{r.current=f}),t),o=Li(r),s=nC(r),[a]=xe(()=>{var f;return Tr.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=Ve($l),u=zo();tt(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),tt(()=>{if(a&&l)return l.register(a)},[l,a]),Dh(()=>{var f;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((f=s.parentElement)==null||f.removeChild(s)))});let d=St();return u?!s||!a?null:zs(d({ourProps:{ref:i},theirProps:n,slot:{},defaultTag:Oh,name:"Portal"}),a):null});function iC(e,t){let n=It(t),{enabled:r=!0,...i}=e,o=St();return r?Q.createElement(rC,{...i,ref:n}):o({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:Oh,name:"Portal"})}let oC=Ye,Fh=lt(null);function sC(e,t){let{target:n,...r}=e,i={ref:It(t)},o=St();return Q.createElement(Fh.Provider,{value:n},o({ourProps:i,theirProps:r,defaultTag:oC,name:"Popover.Group"}))}let $l=lt(null);function aC(){let e=Ve($l),t=se([]),n=fe(o=>(t.current.push(o),e&&e.register(o),()=>r(o))),r=fe(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=me(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,me(()=>function({children:o}){return Q.createElement($l.Provider,{value:i},o)},[i])]}let lC=wt(iC),Ph=wt(sC),Lh=Object.assign(lC,{Group:Ph});function uC(e,t=typeof document<"u"?document.defaultView:null,n){let r=Pi(e,"escape");fh(t,"keydown",i=>{r&&(i.defaultPrevented||i.key===yt.Escape&&n(i))})}function cC(){var e;let[t]=xe(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=xe((e=t==null?void 0:t.matches)!=null?e:!1);return tt(()=>{if(!t)return;function i(o){r(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),n}function dC({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=Li(n),i=fe(()=>{var o,s;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"current"in l&&l.current instanceof HTMLElement&&a.push(l.current));if(t!=null&&t.current)for(let l of t.current)a.push(l);for(let l of(o=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?o:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(n&&(l.contains(n)||l.contains((s=n==null?void 0:n.getRootNode())==null?void 0:s.host))||a.some(u=>l.contains(u))||a.push(l));return a});return{resolveContainers:i,contains:fe(o=>i().some(s=>s.contains(o)))}}let Vh=lt(null);function Zd({children:e,node:t}){let[n,r]=xe(null),i=Hh(t??n);return Q.createElement(Vh.Provider,{value:i},e,i===null&&Q.createElement(yo,{features:xi.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=Fi(o))==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?a:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l!=null&&l.contains(o)){r(l);break}}}}))}function Hh(e=null){var t;return(t=Ve(Vh))!=null?t:e}function Lu(){let e=se(!1);return tt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var oo=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(oo||{});function fC(){let e=se(0);return ch(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function jh(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let mC="div";var xr=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(xr||{});function hC(e,t){let n=se(null),r=It(n,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;zo()||(a=0);let u=Li(n);yC(a,{ownerDocument:u});let d=vC(a,{ownerDocument:u,container:n,initialFocus:i,initialFocusFallback:o});bC(a,{ownerDocument:u,container:n,containers:s,previousActiveElement:d});let f=fC(),p=fe(x=>{let E=n.current;E&&(T=>T())(()=>{Vt(f.current,{[oo.Forwards]:()=>{fi(E,un.First,{skipElements:[x.relatedTarget,o]})},[oo.Backwards]:()=>{fi(E,un.Last,{skipElements:[x.relatedTarget,o]})}})})}),m=Pi(!!(a&2),"focus-trap#tab-lock"),h=fr(),b=se(!1),v={ref:r,onKeyDown(x){x.key=="Tab"&&(b.current=!0,h.requestAnimationFrame(()=>{b.current=!1}))},onBlur(x){if(!(a&4))return;let E=jh(s);n.current instanceof HTMLElement&&E.add(n.current);let T=x.relatedTarget;T instanceof HTMLElement&&T.dataset.headlessuiFocusGuard!=="true"&&(Bh(E,T)||(b.current?fi(n.current,Vt(f.current,{[oo.Forwards]:()=>un.Next,[oo.Backwards]:()=>un.Previous})|un.WrapAround,{relativeTo:x.target}):x.target instanceof HTMLElement&&On(x.target)))}},_=St();return Q.createElement(Q.Fragment,null,m&&Q.createElement(yo,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:xi.Focusable}),_({ourProps:v,theirProps:l,defaultTag:mC,name:"FocusTrap"}),m&&Q.createElement(yo,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:xi.Focusable}))}let pC=wt(hC),gC=Object.assign(pC,{features:xr});function wC(e=!0){let t=se(Kn.slice());return Iu(([n],[r])=>{r===!0&&n===!1&&fa(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Kn.slice())},[e,Kn,t]),fe(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function yC(e,{ownerDocument:t}){let n=!!(e&8),r=wC(n);Iu(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&On(r())},[n]),Dh(()=>{n&&On(r())})}function vC(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:i}){let o=se(null),s=Pi(!!(e&1),"focus-trap#initial-focus"),a=Lu();return Iu(()=>{if(e===0)return;if(!s){i!=null&&i.current&&On(i.current);return}let l=n.current;l&&fa(()=>{if(!a.current)return;let u=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===u){o.current=u;return}}else if(l.contains(u)){o.current=u;return}if(r!=null&&r.current)On(r.current);else{if(e&16){if(fi(l,un.First|un.AutoFocus)!==Al.Error)return}else if(fi(l,un.First)!==Al.Error)return;if(i!=null&&i.current&&(On(i.current),(t==null?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}o.current=t==null?void 0:t.activeElement})},[i,s,e]),o}function bC(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:i}){let o=Lu(),s=!!(e&4);fh(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=jh(r);n.current instanceof HTMLElement&&l.add(n.current);let u=i.current;if(!u)return;let d=a.target;d&&d instanceof HTMLElement?Bh(l,d)?(i.current=d,On(d)):(a.preventDefault(),a.stopPropagation(),On(u)):On(i.current)},!0)}function Bh(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Uh(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Gh)!==Ye||Q.Children.count(e.children)===1}let ba=lt(null);ba.displayName="TransitionContext";var _C=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_C||{});function xC(){let e=Ve(ba);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function CC(){let e=Ve(_a);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let _a=lt(null);_a.displayName="NestingContext";function xa(e){return"children"in e?xa(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Wh(e,t){let n=mr(e),r=se([]),i=Lu(),o=fr(),s=fe((m,h=Qn.Hidden)=>{let b=r.current.findIndex(({el:v})=>v===m);b!==-1&&(Vt(h,{[Qn.Unmount](){r.current.splice(b,1)},[Qn.Hidden](){r.current[b].state="hidden"}}),o.microTask(()=>{var v;!xa(r)&&i.current&&((v=n.current)==null||v.call(n))}))}),a=fe(m=>{let h=r.current.find(({el:b})=>b===m);return h?h.state!=="visible"&&(h.state="visible"):r.current.push({el:m,state:"visible"}),()=>s(m,Qn.Unmount)}),l=se([]),u=se(Promise.resolve()),d=se({enter:[],leave:[]}),f=fe((m,h,b)=>{l.current.splice(0),t&&(t.chains.current[h]=t.chains.current[h].filter(([v])=>v!==m)),t==null||t.chains.current[h].push([m,new Promise(v=>{l.current.push(v)})]),t==null||t.chains.current[h].push([m,new Promise(v=>{Promise.all(d.current[h].map(([_,x])=>x)).then(()=>v())})]),h==="enter"?u.current=u.current.then(()=>t==null?void 0:t.wait.current).then(()=>b(h)):b(h)}),p=fe((m,h,b)=>{Promise.all(d.current[h].splice(0).map(([v,_])=>_)).then(()=>{var v;(v=l.current.shift())==null||v()}).then(()=>b(h))});return me(()=>({children:r,register:a,unregister:s,onStart:f,onStop:p,wait:u,chains:d}),[a,s,r,f,p,d,u])}let Gh=Ye,zh=_i.RenderStrategy;function SC(e,t){var n,r;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:u,enterFrom:d,enterTo:f,entered:p,leave:m,leaveFrom:h,leaveTo:b,...v}=e,[_,x]=xe(null),E=se(null),T=Uh(e),I=It(...T?[E,t,x]:t===null?[]:[t]),O=(n=v.unmount)==null||n?Qn.Unmount:Qn.Hidden,{show:F,appear:S,initial:C}=xC(),[A,N]=xe(F?"visible":"hidden"),D=CC(),{register:P,unregister:j}=D;tt(()=>P(E),[P,E]),tt(()=>{if(O===Qn.Hidden&&E.current){if(F&&A!=="visible"){N("visible");return}return Vt(A,{hidden:()=>j(E),visible:()=>P(E)})}},[A,E,P,j,F,O]);let ae=zo();tt(()=>{if(T&&ae&&A==="visible"&&E.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,A,ae,T]);let X=C&&!S,J=S&&F&&C,L=se(!1),G=Wh(()=>{L.current||(N("hidden"),j(E))},D),B=fe(ge=>{L.current=!0;let z=ge?"enter":"leave";G.onStart(E,z,Se=>{Se==="enter"?o==null||o():Se==="leave"&&(a==null||a())})}),de=fe(ge=>{let z=ge?"enter":"leave";L.current=!1,G.onStop(E,z,Se=>{Se==="enter"?s==null||s():Se==="leave"&&(l==null||l())}),z==="leave"&&!xa(G)&&(N("hidden"),j(E))});Fe(()=>{T&&i||(B(F),de(F))},[F,T,i]);let q=!(!i||!T||!ae||X),[,R]=ph(q,_,F,{start:B,end:de}),le=Yn({ref:I,className:((r=Sl(v.className,J&&u,J&&d,R.enter&&u,R.enter&&R.closed&&d,R.enter&&!R.closed&&f,R.leave&&m,R.leave&&!R.closed&&h,R.leave&&R.closed&&b,!R.transition&&F&&p))==null?void 0:r.trim())||void 0,...hh(R)}),U=0;A==="visible"&&(U|=Ot.Open),A==="hidden"&&(U|=Ot.Closed),R.enter&&(U|=Ot.Opening),R.leave&&(U|=Ot.Closing);let ye=St();return Q.createElement(_a.Provider,{value:G},Q.createElement(Ih,{value:U},ye({ourProps:le,theirProps:v,defaultTag:Gh,features:zh,visible:A==="visible",name:"Transition.Child"})))}function EC(e,t){let{show:n,appear:r=!1,unmount:i=!0,...o}=e,s=se(null),a=Uh(e),l=It(...a?[s,t]:t===null?[]:[t]);zo();let u=Go();if(n===void 0&&u!==null&&(n=(u&Ot.Open)===Ot.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=xe(n?"visible":"hidden"),p=Wh(()=>{n||f("hidden")}),[m,h]=xe(!0),b=se([n]);tt(()=>{m!==!1&&b.current[b.current.length-1]!==n&&(b.current.push(n),h(!1))},[b,n]);let v=me(()=>({show:n,appear:r,initial:m}),[n,r,m]);tt(()=>{n?f("visible"):!xa(p)&&s.current!==null&&f("hidden")},[n,p]);let _={unmount:i},x=fe(()=>{var I;m&&h(!1),(I=e.beforeEnter)==null||I.call(e)}),E=fe(()=>{var I;m&&h(!1),(I=e.beforeLeave)==null||I.call(e)}),T=St();return Q.createElement(_a.Provider,{value:p},Q.createElement(ba.Provider,{value:v},T({ourProps:{..._,as:Ye,children:Q.createElement(qh,{ref:l,..._,...o,beforeEnter:x,beforeLeave:E})},theirProps:{},defaultTag:Ye,features:zh,visible:d==="visible",name:"Transition"})))}function AC(e,t){let n=Ve(ba)!==null,r=Go()!==null;return Q.createElement(Q.Fragment,null,!n&&r?Q.createElement(Ml,{ref:t,...e}):Q.createElement(qh,{ref:t,...e}))}let Ml=wt(EC),qh=wt(SC),Vu=wt(AC),Yh=Object.assign(Ml,{Child:Vu,Root:Ml});var kC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(kC||{}),NC=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(NC||{});let TC={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Hu=lt(null);Hu.displayName="DialogContext";function Ca(e){let t=Ve(Hu);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ca),n}return t}function $C(e,t){return Vt(t.type,TC,e,t)}let Kd=wt(function(e,t){let n=rn(),{id:r=`headlessui-dialog-${n}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:u=!1,unmount:d=!1,...f}=e,p=se(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(p.current||(p.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let m=Go();i===void 0&&m!==null&&(i=(m&Ot.Open)===Ot.Open);let h=se(null),b=It(h,t),v=Li(h),_=i?0:1,[x,E]=Hr($C,{titleId:null,descriptionId:null,panelRef:Ws()}),T=fe(()=>o(!1)),I=fe(de=>E({type:0,id:de})),O=zo()?_===0:!1,[F,S]=aC(),C={get current(){var de;return(de=x.panelRef.current)!=null?de:h.current}},A=Hh(),{resolveContainers:N}=dC({mainTreeNode:A,portals:F,defaultContainers:[C]}),D=m!==null?(m&Ot.Closing)===Ot.Closing:!1;ih(u||D?!1:O,{allowed:fe(()=>{var de,q;return[(q=(de=h.current)==null?void 0:de.closest("[data-headlessui-portal]"))!=null?q:null]}),disallowed:fe(()=>{var de;return[(de=A==null?void 0:A.closest("body > *:not(#headlessui-portal-root)"))!=null?de:null]})}),dh(O,N,de=>{de.preventDefault(),T()}),uC(O,v==null?void 0:v.defaultView,de=>{de.preventDefault(),de.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),T()}),mh(u||D?!1:O,v,N),oh(O,h,T);let[P,j]=Xx(),ae=me(()=>[{dialogState:_,close:T,setTitleId:I,unmount:d},x],[_,x,T,I,d]),X=me(()=>({open:_===0}),[_]),J={ref:b,id:r,role:a,tabIndex:-1,"aria-modal":u?void 0:_===0?!0:void 0,"aria-labelledby":x.titleId,"aria-describedby":P,unmount:d},L=!cC(),G=xr.None;O&&!u&&(G|=xr.RestoreFocus,G|=xr.TabLock,l&&(G|=xr.AutoFocus),L&&(G|=xr.InitialFocus));let B=St();return Q.createElement(X5,null,Q.createElement(Yd,{force:!0},Q.createElement(Lh,null,Q.createElement(Hu.Provider,{value:ae},Q.createElement(Ph,{target:h},Q.createElement(Yd,{force:!1},Q.createElement(j,{slot:X},Q.createElement(S,null,Q.createElement(gC,{initialFocus:s,initialFocusFallback:h,containers:N,features:G},Q.createElement(l3,{value:T},B({ourProps:J,theirProps:f,slot:X,defaultTag:MC,features:IC,visible:_===0,name:"Dialog"})))))))))))}),MC="div",IC=_i.RenderStrategy|_i.Static;function DC(e,t){let{transition:n=!1,open:r,...i}=e,o=Go(),s=e.hasOwnProperty("open")||o!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!i.static?Q.createElement(Zd,null,Q.createElement(Yh,{show:r,transition:n,unmount:i.unmount},Q.createElement(Kd,{ref:t,...i}))):Q.createElement(Zd,null,Q.createElement(Kd,{ref:t,open:r,...i}))}let RC="div";function OC(e,t){let n=rn(),{id:r=`headlessui-dialog-panel-${n}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=Ca("Dialog.Panel"),u=It(t,l.panelRef),d=me(()=>({open:s===0}),[s]),f=fe(v=>{v.stopPropagation()}),p={ref:u,id:r,onClick:f},m=i?Vu:Ye,h=i?{unmount:a}:{},b=St();return Q.createElement(m,{...h},b({ourProps:p,theirProps:o,slot:d,defaultTag:RC,name:"Dialog.Panel"}))}let FC="div";function PC(e,t){let{transition:n=!1,...r}=e,[{dialogState:i,unmount:o}]=Ca("Dialog.Backdrop"),s=me(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=n?Vu:Ye,u=n?{unmount:o}:{},d=St();return Q.createElement(l,{...u},d({ourProps:a,theirProps:r,slot:s,defaultTag:FC,name:"Dialog.Backdrop"}))}let LC="h2";function VC(e,t){let n=rn(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:o,setTitleId:s}]=Ca("Dialog.Title"),a=It(t);Fe(()=>(s(r),()=>s(null)),[r,s]);let l=me(()=>({open:o===0}),[o]),u={ref:a,id:r};return St()({ourProps:u,theirProps:i,slot:l,defaultTag:LC,name:"Dialog.Title"})}let HC=wt(DC),jC=wt(OC),BC=wt(PC),UC=wt(VC),ju=Object.assign(HC,{Panel:jC,Title:UC,Description:t3});function WC(e,t){let n=se({left:0,top:0});if(tt(()=>{if(!t)return;let i=t.getBoundingClientRect();i&&(n.current=i)},[e,t]),t==null||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}let Xd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Jd(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let a of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))a.remove(),o=!0;let s=o?(n=i.innerText)!=null?n:"":r;return Xd.test(s)&&(s=s.replace(Xd,"")),s}function GC(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let o=document.getElementById(i);if(o){let s=o.getAttribute("aria-label");return typeof s=="string"?s.trim():Jd(o).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Jd(e).trim()}function zC(e){let t=se(""),n=se("");return fe(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let o=GC(r).trim().toLowerCase();return t.current=i,n.current=o,o})}var qC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(qC||{}),YC=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(YC||{}),ZC=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ZC||{}),KC=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(KC||{});function Ja(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=lh(t(e.options.slice()),o=>o.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let XC={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(i=>n(i.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,i,o,s;if(e.dataRef.current.disabled||e.listboxState===1)return e;let a={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===vt.Nothing)return{...a,activeOptionIndex:null};if(t.focus===vt.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===vt.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,p=Xa(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(p!==null){let m=e.options[p].dataRef.current.domRef;if(((r=f.current)==null?void 0:r.previousElementSibling)===m.current||((i=m.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:p}}}}else if(t.focus===vt.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,p=Xa(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(p!==null){let m=e.options[p].dataRef.current.domRef;if(((o=f.current)==null?void 0:o.nextElementSibling)===m.current||((s=m.current)==null?void 0:s.nextElementSibling)===null)return{...a,activeOptionIndex:p}}}}let l=Ja(e),u=Xa(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:u}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(s=>{var a;return!s.dataRef.current.disabled&&((a=s.dataRef.current.textValue)==null?void 0:a.startsWith(r))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=Ja(e,i=>[...i,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=Ja(e,r=>{let i=r.findIndex(o=>o.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Bu=lt(null);Bu.displayName="ListboxActionsContext";function Sa(e){let t=Ve(Bu);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Sa),n}return t}let Ea=lt(null);Ea.displayName="ListboxDataContext";function qo(e){let t=Ve(Ea);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,qo),n}return t}function JC(e,t){return Vt(t.type,XC,e,t)}let QC=Ye;function e6(e,t){var n;let r=$u(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:u,invalid:d=!1,disabled:f=r||!1,horizontal:p=!1,multiple:m=!1,__demoMode:h=!1,...b}=e;const v=p?"horizontal":"vertical";let _=It(t),x=Lx(o),[E=m?[]:void 0,T]=Px(i,l,x),[I,O]=Hr(JC,{dataRef:Ws(),listboxState:h?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:h}),F=se({static:!1,hold:!1}),S=se(new Map),C=c3(u),A=Re(ie=>Vt(N.mode,{1:()=>E.some(he=>C(he,ie)),0:()=>C(E,ie)}),[E]),N=me(()=>({...I,value:E,disabled:f,invalid:d,mode:m?1:0,orientation:v,compare:C,isSelected:A,optionsPropsRef:F,listRef:S}),[E,f,d,m,I,S]);tt(()=>{I.dataRef.current=N},[N]);let D=N.listboxState===0;dh(D,[N.buttonElement,N.optionsElement],(ie,he)=>{var ee;O({type:1}),ah(he,Mu.Loose)||(ie.preventDefault(),(ee=N.buttonElement)==null||ee.focus())});let P=me(()=>({open:N.listboxState===0,disabled:f,invalid:d,value:E}),[N,f,E,d]),j=fe(ie=>{let he=N.options.find(ee=>ee.id===ie);he&&de(he.dataRef.current.value)}),ae=fe(()=>{if(N.activeOptionIndex!==null){let{dataRef:ie,id:he}=N.options[N.activeOptionIndex];de(ie.current.value),O({type:2,focus:vt.Specific,id:he})}}),X=fe(()=>O({type:0})),J=fe(()=>O({type:1})),L=fr(),G=fe((ie,he,ee)=>{L.dispose(),L.microTask(()=>ie===vt.Specific?O({type:2,focus:vt.Specific,id:he,trigger:ee}):O({type:2,focus:ie,trigger:ee}))}),B=fe((ie,he)=>(O({type:5,id:ie,dataRef:he}),()=>O({type:6,id:ie}))),de=fe(ie=>Vt(N.mode,{0(){return T==null?void 0:T(ie)},1(){let he=N.value.slice(),ee=he.findIndex(ne=>C(ne,ie));return ee===-1?he.push(ie):he.splice(ee,1),T==null?void 0:T(he)}})),q=fe(ie=>O({type:3,value:ie})),R=fe(()=>O({type:4})),le=fe(ie=>{O({type:7,element:ie})}),U=fe(ie=>{O({type:8,element:ie})}),ye=me(()=>({onChange:de,registerOption:B,goToOption:G,closeListbox:J,openListbox:X,selectActiveOption:ae,selectOption:j,search:q,clearSearch:R,setButtonElement:le,setOptionsElement:U}),[]),[ge,z]=n3({inherit:!0}),Se={ref:_},we=Re(()=>{if(x!==void 0)return T==null?void 0:T(x)},[T,x]),$e=St();return Q.createElement(z,{value:ge,props:{htmlFor:(n=N.buttonElement)==null?void 0:n.id},slot:{open:N.listboxState===0,disabled:f}},Q.createElement(q5,null,Q.createElement(Bu.Provider,{value:ye},Q.createElement(Ea.Provider,{value:N},Q.createElement(Ih,{value:Vt(N.listboxState,{0:Ot.Open,1:Ot.Closed})},a!=null&&E!=null&&Q.createElement(Wx,{disabled:f,data:{[a]:E},form:s,onReset:we}),$e({ourProps:Se,theirProps:b,slot:P,defaultTag:QC,name:"Listbox"}))))))}let t6="button";function n6(e,t){var n;let r=qo("Listbox.Button"),i=Sa("Listbox.Button"),o=rn(),s=Xm(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=r.disabled||!1,autoFocus:u=!1,...d}=e,f=It(t,U5(),i.setButtonElement),p=W5(),m=fe(N=>{switch(N.key){case yt.Enter:Vx(N.currentTarget);break;case yt.Space:case yt.ArrowDown:N.preventDefault(),Zt(()=>i.openListbox()),r.value||i.goToOption(vt.First);break;case yt.ArrowUp:N.preventDefault(),Zt(()=>i.openListbox()),r.value||i.goToOption(vt.Last);break}}),h=fe(N=>{switch(N.key){case yt.Space:N.preventDefault();break}}),b=fe(N=>{var D;if(qx(N.currentTarget))return N.preventDefault();r.listboxState===0?(Zt(()=>i.closeListbox()),(D=r.buttonElement)==null||D.focus({preventScroll:!0})):(N.preventDefault(),i.openListbox())}),v=fe(N=>N.preventDefault()),_=th([a]),x=Kx(),{isFocusVisible:E,focusProps:T}=Ex({autoFocus:u}),{isHovered:I,hoverProps:O}=Sx({isDisabled:l}),{pressed:F,pressProps:S}=Mx({disabled:l}),C=me(()=>({open:r.listboxState===0,active:F||r.listboxState===0,disabled:l,invalid:r.invalid,value:r.value,hover:I,focus:E,autofocus:u}),[r.listboxState,r.value,l,I,E,F,r.invalid,u]),A=qm(p(),{ref:f,id:a,type:S3(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.listboxState===0,"aria-labelledby":_,"aria-describedby":x,disabled:l||void 0,autoFocus:u,onKeyDown:m,onKeyUp:h,onKeyPress:v,onClick:b},T,O,S);return St()({ourProps:A,theirProps:d,slot:C,defaultTag:t6,name:"Listbox.Button"})}let Zh=lt(!1),r6="div",i6=_i.RenderStrategy|_i.Static;function o6(e,t){var n,r;let i=rn(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:u=!1,...d}=e,f=B5(s),[p,m]=xe(null);f&&(a=!0);let h=qo("Listbox.Options"),b=Sa("Listbox.Options"),v=Li(h.optionsElement),_=Go(),[x,E]=ph(u,p,_!==null?(_&Ot.Open)===Ot.Open:h.listboxState===0);oh(x,h.buttonElement,b.closeListbox);let T=h.__demoMode?!1:l&&h.listboxState===0;mh(T,v);let I=h.__demoMode?!1:l&&h.listboxState===0;ih(I,{allowed:Re(()=>[h.buttonElement,h.optionsElement],[h.buttonElement,h.optionsElement])});let O=h.listboxState!==0,F=WC(O,h.buttonElement)?!1:x,S=x&&h.listboxState===1,C=K5(S,h.value),A=fe(R=>h.compare(C,R)),N=me(()=>{var R;if(f==null||!((R=f==null?void 0:f.to)!=null&&R.includes("selection")))return null;let le=h.options.findIndex(U=>A(U.dataRef.current.value));return le===-1&&(le=0),le},[f,h.options]),D=(()=>{if(f==null)return;if(N===null)return{...f,inner:void 0};let R=Array.from(h.listRef.current.values());return{...f,inner:{listRef:{current:R},index:N}}})(),[P,j]=z5(D),ae=G5(),X=It(t,f?P:null,b.setOptionsElement,m),J=fr();Fe(()=>{var R;let le=h.optionsElement;le&&h.listboxState===0&&le!==((R=Fi(le))==null?void 0:R.activeElement)&&(le==null||le.focus({preventScroll:!0}))},[h.listboxState,h.optionsElement]);let L=fe(R=>{var le,U;switch(J.dispose(),R.key){case yt.Space:if(h.searchQuery!=="")return R.preventDefault(),R.stopPropagation(),b.search(R.key);case yt.Enter:if(R.preventDefault(),R.stopPropagation(),h.activeOptionIndex!==null){let{dataRef:ye}=h.options[h.activeOptionIndex];b.onChange(ye.current.value)}h.mode===0&&(Zt(()=>b.closeListbox()),(le=h.buttonElement)==null||le.focus({preventScroll:!0}));break;case Vt(h.orientation,{vertical:yt.ArrowDown,horizontal:yt.ArrowRight}):return R.preventDefault(),R.stopPropagation(),b.goToOption(vt.Next);case Vt(h.orientation,{vertical:yt.ArrowUp,horizontal:yt.ArrowLeft}):return R.preventDefault(),R.stopPropagation(),b.goToOption(vt.Previous);case yt.Home:case yt.PageUp:return R.preventDefault(),R.stopPropagation(),b.goToOption(vt.First);case yt.End:case yt.PageDown:return R.preventDefault(),R.stopPropagation(),b.goToOption(vt.Last);case yt.Escape:R.preventDefault(),R.stopPropagation(),Zt(()=>b.closeListbox()),(U=h.buttonElement)==null||U.focus({preventScroll:!0});return;case yt.Tab:R.preventDefault(),R.stopPropagation(),Zt(()=>b.closeListbox()),_3(h.buttonElement,R.shiftKey?un.Previous:un.Next);break;default:R.key.length===1&&(b.search(R.key),J.setTimeout(()=>b.clearSearch(),350));break}}),G=(n=h.buttonElement)==null?void 0:n.id,B=me(()=>({open:h.listboxState===0}),[h.listboxState]),de=qm(f?ae():{},{id:o,ref:X,"aria-activedescendant":h.activeOptionIndex===null||(r=h.options[h.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":h.mode===1?!0:void 0,"aria-labelledby":G,"aria-orientation":h.orientation,onKeyDown:L,role:"listbox",tabIndex:h.listboxState===0?0:void 0,style:{...d.style,...j,"--button-width":f3(h.buttonElement,!0).width},...hh(E)}),q=St();return Q.createElement(Lh,{enabled:a?e.static||x:!1},Q.createElement(Ea.Provider,{value:h.mode===1?h:{...h,isSelected:A}},q({ourProps:de,theirProps:d,slot:B,defaultTag:r6,features:i6,visible:F,name:"Listbox.Options"})))}let s6="div";function a6(e,t){let n=rn(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:o,...s}=e,a=Ve(Zh)===!0,l=qo("Listbox.Option"),u=Sa("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===r:!1,f=l.isSelected(o),p=se(null),m=zC(p),h=mr({disabled:i,value:o,domRef:p,get textValue(){return m()}}),b=It(t,p,C=>{C?l.listRef.current.set(r,C):l.listRef.current.delete(r)});tt(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return Un().requestAnimationFrame(()=>{var C,A;(A=(C=p.current)==null?void 0:C.scrollIntoView)==null||A.call(C,{block:"nearest"})})},[p,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),tt(()=>{if(!a)return u.registerOption(r,h)},[h,r,a]);let v=fe(C=>{var A;if(i)return C.preventDefault();u.onChange(o),l.mode===0&&(Zt(()=>u.closeListbox()),(A=l.buttonElement)==null||A.focus({preventScroll:!0}))}),_=fe(()=>{if(i)return u.goToOption(vt.Nothing);u.goToOption(vt.Specific,r)}),x=$3(),E=fe(C=>{x.update(C),!i&&(d||u.goToOption(vt.Specific,r,0))}),T=fe(C=>{x.wasMoved(C)&&(i||d||u.goToOption(vt.Specific,r,0))}),I=fe(C=>{x.wasMoved(C)&&(i||d&&u.goToOption(vt.Nothing))}),O=me(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),F=a?{}:{id:r,ref:b,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:v,onFocus:_,onPointerEnter:E,onMouseEnter:E,onPointerMove:T,onMouseMove:T,onPointerLeave:I,onMouseLeave:I},S=St();return!f&&a?null:S({ourProps:F,theirProps:s,slot:O,defaultTag:s6,name:"Listbox.Option"})}let l6=Ye;function u6(e,t){let{options:n,placeholder:r,...i}=e,o={ref:It(t)},s=qo("ListboxSelectedOption"),a=me(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,u=St();return Q.createElement(Zh.Provider,{value:!0},u({ourProps:o,theirProps:{...i,children:Q.createElement(Q.Fragment,null,r&&l?r:n)},slot:a,defaultTag:l6,name:"ListboxSelectedOption"}))}let c6=wt(e6),Kh=wt(n6),d6=s3,Xh=wt(o6),Jh=wt(a6),f6=wt(u6),m6=Object.assign(c6,{Button:Kh,Label:d6,Options:Xh,Option:Jh,SelectedOption:f6}),xt=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function Bi(e){return c(ju,Bn(e,1))}class ur extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Key","ClassName","Children"]}}function Ui(e){return c(ju.Panel,Bn(e,1))}class js extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["As","Key","ClassName","Children"]}}function Qh(e){return c(ju.Title,Bn(e,1))}class Wi extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["As","Key","ClassName"]}}function Gi(e){return c(BC,Bn(e,1))}function Wr(e,t){let n;return c("svg",w(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",y.Children.toArray(Array.from(n))])])))}function h6(e,t){let n,r,i,o,s;return Bi(g([new xt(3,[e]),new xt(4,[t]),new xt(5,[[Gi(ce(new Wi(2,["fixed inset-0 bg-gray-500/50"]))),c("div",w(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[Ui(ce(new ur(2,[[c("div",w(g([["className","flex flex-col mt-6 mb-6 px-6"],(r=[c("div",w(g([["className","flex flex-row justify-between"],(i=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),c("button",w(g([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[Wr(24,24)],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(i))])]))),c("div",w(g([["className","text-sm text-gray-600 pt-6"],(s="Mapping involves pairing each incoming CSV field with its correct destination field. This step is important because it makes sure that your data is organised correctly, minimising the risk of errors and ensuring a smooth import process.",["children",s])])))],["children",y.Children.toArray(Array.from(r))])])))]])))],["children",y.Children.toArray(Array.from(n))])])))]])]))}function Aa(e){return c("span",{className:"font-sonoma text-black font-semibold text-lg",children:e})}function ka(e){return c("span",{className:"text-sm font-normal pt-2",children:e})}function _o(e,t){return c("button",{className:"rounded-2xl text-xs font-medium text-gray-600 border px-3.5 py-1.5 bg-white hover:bg-gray-50",onClick:n=>{t()},type:"button",children:y.Children.toArray([e])})}function p6(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([["clipRule","evenodd"],["fill-rule","evenodd"],(r="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM11 6C11 6.55228 10.5523 7 10 7C9.44772 7 9 6.55228 9 6C9 5.44772 9.44772 5 10 5C10.5523 5 11 5.44772 11 6ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11V14C9 14.5523 9.44772 15 10 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13V10C11 9.44772 10.5523 9 10 9H9Z",["d",r]),["fill","#60A5FA"]])))),["children",y.Children.toArray(Array.from(n))])])))}function ep(){let e,t,n;return c("div",w(g([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(e=[p6(20,20),c("div",w(g([["className","grow shrink basis-0 h-[60px] justify-between items-center flex"],(t=[c("div",w(g([["className","grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight"],(n="We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.",["children",n])])))],["children",y.Children.toArray(Array.from(t))])])))],["children",y.Children.toArray(Array.from(e))])])))}function tp(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M15.8008 12.5263L9.48383 0.880306C9.32803 0.591371 9.09045 0.354828 8.80083 0.200306C8.40735 -0.0102628 7.94665 -0.0569536 7.51893 0.0703896C7.0912 0.197733 6.73106 0.488809 6.51683 0.880306L0.20083 12.5263C0.0627228 12.7826 -0.00633038 13.0704 0.00045607 13.3614C0.00724252 13.6525 0.0896351 13.9368 0.239538 14.1863C0.38944 14.4359 0.601694 14.6422 0.855444 14.7849C1.10919 14.9276 1.39571 15.0018 1.68683 15.0003H14.3148C14.5939 15.0003 14.8686 14.9316 15.1148 14.8003C15.3099 14.6968 15.4825 14.5556 15.6228 14.3851C15.763 14.2145 15.8681 14.0178 15.932 13.8064C15.9958 13.595 16.0172 13.373 15.9949 13.1533C15.9726 12.9336 15.9069 12.7205 15.8018 12.5263H15.8008ZM8.00083 13.0003C7.80305 13.0003 7.60971 12.9417 7.44526 12.8318C7.28081 12.7219 7.15264 12.5657 7.07695 12.383C7.00126 12.2003 6.98146 11.9992 7.02004 11.8052C7.05863 11.6112 7.15387 11.4331 7.29372 11.2932C7.43358 11.1533 7.61176 11.0581 7.80574 11.0195C7.99972 10.9809 8.20079 11.0007 8.38351 11.0764C8.56624 11.1521 8.72242 11.2803 8.8323 11.4447C8.94218 11.6092 9.00083 11.8025 9.00083 12.0003C9.00083 12.2655 8.89547 12.5199 8.70794 12.7074C8.5204 12.8949 8.26605 13.0003 8.00083 13.0003ZM9.00083 9.50031C9.00083 9.63291 8.94815 9.76009 8.85438 9.85386C8.76062 9.94763 8.63344 10.0003 8.50083 10.0003H7.50083C7.36822 10.0003 7.24104 9.94763 7.14728 9.85386C7.05351 9.76009 7.00083 9.63291 7.00083 9.50031V5.50031C7.00083 5.3677 7.05351 5.24052 7.14728 5.14675C7.24104 5.05298 7.36822 5.00031 7.50083 5.00031H8.50083C8.63344 5.00031 8.76062 5.05298 8.85438 5.14675C8.94815 5.24052 9.00083 5.3677 9.00083 5.50031V9.50031Z",["d",r]),["fill","#F87171"]])))),["children",y.Children.toArray(Array.from(n))])])))}function np(e){let t,n;return c("div",w(g([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[tp(16,15),c("div",w(g([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(n=[c("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}function Na(e,t){let n;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(n=g([c("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",y.Children.toArray(Array.from(n))])])))}let hi=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Value","OnChange","Children"]}};function rp(e){return c(m6,Bn(e,1))}class Bs extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ClassName","Children"]}}function ip(e){return c(Kh,Bn(e,1))}class op extends W{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function sp(e,t){return c(Xh,Bn(e,1),...t)}class wn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function ap(e){return c(Jh,Bn(e,1))}function lp(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([["clipRule","evenodd"],["fill-rule","evenodd"],(r="M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.7071 7.29289L9.99999 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68341 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",["d",r]),["fill","#6B7280"]])))),["children",y.Children.toArray(Array.from(n))])])))}class to extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Below","Above"]}}function no(e,t,n,r,i,o,s,a,l){let u,d,f,p,m,h,b;const v=i.fields[0],_=Yf(_t(x=>x[1].fields[0],G1(x=>u0(x.fields[0],v),r)));return c("div",w(g([["key",nt(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(u=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(d=[c("div",w(K($(()=>H(k(["className",`${r==null?"bg-gray-50 border-gray-200 text-gray-500":"bg-emerald-50 border-emerald-200 text-emerald-700"} px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden`]),$(()=>{let x;return k((x=K($(()=>H(k(c("div",{className:"text-sm font-medium leading-tight",children:wo(e)})),$(()=>k(t?c("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):Ae()))))),["children",y.Children.toArray(Array.from(x))]))}))))))],["children",y.Children.toArray(Array.from(d))])]))),c("div",w(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(f=[Na(16,12)],["children",y.Children.toArray(Array.from(f))])]))),c("div",w(g([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(p=[rp(g([new hi(0,[_]),new hi(1,[x=>{jn(E=>{s(E[0])},Ni(Ks(E=>E[1].fields[0]===x?te(E[2],new Nn(0,[])):!1,v)))}]),new hi(2,[[c("div",w(g([["className","relative w-full"],(m=[ip(K($(()=>{let x;return H(k(new Bs(0,[`${x=t&&n,x&&r==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),$(()=>{let E;return k(new Bs(1,[[c("span",w(K($(()=>{let T;const I=t&&n;return T=r!=null?[_,""]:I?["Select a field","text-red-900"]:["Select a field","text-gray-500"],H(k(["className",`${T[1]} col-start-1 row-start-1 truncate pr-6`]),$(()=>k(["children",T[0]])))})))),c("span",w(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(E=[lp(20,20)],["children",y.Children.toArray(Array.from(E))])])))]]))}))}))),sp(K($(()=>k(new op(`z-10 absolute ${o.tag===1?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),K($(()=>ta(x=>{const E=x[2],T=x[1].fields[0];return k(ap(g([new wn(0,[dn(x[0].fields[0])]),new wn(1,[T]),new wn(2,[te(E,new Nn(1,[]))]),new wn(3,["relative select-none"]),new wn(4,[I=>[c("span",{className:"px-4 py-2 block truncate "+(E.tag===0?I.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:T})]])])))},v))))],["children",y.Children.toArray(Array.from(m))])])))]])]))],["children",y.Children.toArray(Array.from(p))])]))),c("div",w(g([(h="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",h]),(b=[c("button",w(K($(()=>H(k(["children","Clear"]),$(()=>H(a==null?k(["className","opacity-50 cursor-not-allowed"]):k(["className","cursor-pointer py-3 hover:text-gray-700"]),$(()=>{const x=a;if(x==null)return ft();{const E=x;return k(["onClick",T=>{E()}])}})))))))),c("button",w(K($(()=>H(k(["children","Preview"]),$(()=>H(l==null?k(["className","opacity-50 cursor-not-allowed"]):k(["className","cursor-pointer py-3 hover:text-gray-700"]),$(()=>{const x=l;if(x==null)return ft();{const E=x;return k(["onClick",T=>{E()}])}}))))))))],["children",y.Children.toArray(Array.from(b))])])))],["children",y.Children.toArray(Array.from(u))])])))}function up(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([["clipRule","evenodd"],["fill-rule","evenodd"],(r="M6.3001 1.40002C6.03495 1.40002 5.79257 1.54983 5.674 1.78697L5.16747 2.80002H2.8001C2.4135 2.80002 2.1001 3.11342 2.1001 3.50002C2.1001 3.88662 2.4135 4.20002 2.8001 4.20002L2.8001 11.2C2.8001 11.9732 3.4269 12.6 4.2001 12.6H9.80009C10.5733 12.6 11.2001 11.9732 11.2001 11.2V4.20002C11.5867 4.20002 11.9001 3.88662 11.9001 3.50002C11.9001 3.11342 11.5867 2.80002 11.2001 2.80002H8.83272L8.32619 1.78697C8.20762 1.54983 7.96523 1.40002 7.70009 1.40002H6.3001ZM4.9001 5.60002C4.9001 5.21342 5.2135 4.90002 5.60009 4.90002C5.98669 4.90002 6.30009 5.21342 6.30009 5.60002V9.80002C6.30009 10.1866 5.98669 10.5 5.60009 10.5C5.2135 10.5 4.9001 10.1866 4.9001 9.80002V5.60002ZM8.40009 4.90002C8.01349 4.90002 7.70009 5.21342 7.70009 5.60002V9.80002C7.70009 10.1866 8.01349 10.5 8.40009 10.5C8.78669 10.5 9.10009 10.1866 9.10009 9.80002V5.60002C9.10009 5.21342 8.78669 4.90002 8.40009 4.90002Z",["d",r]),["fill","#9CA3AF"]])))),["children",y.Children.toArray(Array.from(n))])])))}function Uu(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M9.99992 0.833328C4.94575 0.833328 0.833252 4.94583 0.833252 10C0.833252 15.0542 4.94575 19.1667 9.99992 19.1667C15.0541 19.1667 19.1666 15.0542 19.1666 10C19.1666 4.94583 15.0541 0.833328 9.99992 0.833328ZM8.37409 14.5525L4.65492 10.8333L5.83325 9.655L8.29242 12.1142L14.0883 5.49083L15.3424 6.58833L8.37409 14.5525Z",["d",r]),["fill","#10B981"]])))),["children",y.Children.toArray(Array.from(n))])])))}function cp(e){let t,n,r;return c("div",w(g([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[c("span",w(g([["className","text-emerald-700"],(n=[Uu(20,20)],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(r=[c("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(t))])])))}function Wu(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M8.83429 0.234315C9.14671 -0.0781049 9.65324 -0.0781049 9.96566 0.234315L13.1657 3.43431C13.4781 3.74673 13.4781 4.25327 13.1657 4.56569L9.96566 7.76569C9.65324 8.0781 9.14671 8.0781 8.83429 7.76569C8.52187 7.45327 8.52187 6.94673 8.83429 6.63432L10.6686 4.8H1.39998C0.958148 4.8 0.599976 4.44183 0.599976 4C0.599976 3.55817 0.958148 3.2 1.39998 3.2H10.6686L8.83429 1.36569C8.52187 1.05327 8.52187 0.546734 8.83429 0.234315Z",["d",r]),["fill","white"]])))),["children",y.Children.toArray(Array.from(n))])])))}function g6(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function w6(e){return e.startsWith("4")&&e.length===9?`+614${e.slice(1,e.length)}`:e.startsWith("04")&&e.length===10?`+614${e.slice(2,e.length)}`:e}function dp(e){return w6(g6(zf(e," ","")))}function y6(e,t,n){let r,i,o,s,a,l,u,d;return c("div",w(g([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(r=[c("div",w(g([(i="grow shrink basis-0 p-4 bg-white rounded-lg shadow-lg border border-gray-100 flex-col justify-start items-start gap-3 inline-flex overflow-hidden",["className",i]),(o=[c("div",w(g([["className","flex justify-between w-full"],(s=[c("span",{className:"text-black text-base font-semibold leading-normal",children:`Previewing “${wo(e)}”`}),c("button",w(g([["onClick",f=>{n()}],["type","button"],["className","text-gray-600"],(a=[Wr(24,24)],["children",y.Children.toArray(Array.from(a))])])))],["children",y.Children.toArray(Array.from(s))])]))),c("div",w(g([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[c("div",w(g([["className","self-stretch flex-col justify-center items-start flex"],(u=l0((f,p)=>c("div",w(K($(()=>H(k(["className",`${f%2===0?"bg-white":"bg-gray-50"} self-stretch h-10 px-3 py-3.5 border-b border-gray-200 justify-start items-center gap-1 inline-flex overflow-hidden`]),$(()=>{let m;return k((m=K($(()=>{const h=ki(p);return k(h?c("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):c("div",w(K($(()=>H(k(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),$(()=>e.tag===3?k(["children",dp(p)]):k(["children",p]))))))))})),["children",y.Children.toArray(Array.from(m))]))})))))),t),["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(l))])]))),c("div",w(g([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[c("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",y.Children.toArray(Array.from(d))])])))],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(r))])])))}function v6(e){let t,n,r;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,u=e.existingMappings;let d;const f=sx(l,u);d=Ur(()=>Br(()=>f,(T,I)=>ax(i,l,a,T,I),(T,I)=>{}),void 0,void 0);const p=d[0],m=d[1],h=y.useState(!1),b=h[1],v=y.useState(!1),_=v[0],x=T=>{if(ix(p)(T))return()=>{m(new qn(1,[T]))}},E=T=>{if(ox(p,T))return()=>{m(new qn(2,[T]))}};return c("div",w(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[h6(h[0],()=>{b(!1)}),Aa("Map fields"),ka("Match the fields from your CSV to the corresponding destination fields."),c("div",w(g([["className","flex flex-row pt-3 gap-2"],(n=[_o("What is mapping and why is it important?",()=>{b(!0)})],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","justify-start items-start gap-12 inline-flex"],(r=K($(()=>{let T;return H(k(c("div",w(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(T=K($(()=>H(u==null?k(ep()):k(Ae()),$(()=>H(_&&p.Status.tag===0?k(np("Some required fields are incomplete. Fill in all required fields to continue.")):k(Ae()),$(()=>{let I,O,F,S,C,A,N,D;return k(c("div",w(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(I=[c("div",w(g([(O="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",O]),(F=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(S=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),c("div",w(K($(()=>H(k(["className",`${p.NumberOfDestinationFieldsMapped===5?"bg-emerald-100 text-emerald-800":"bg-blue-100 text-blue-800"} px-2.5 py-0.5 rounded-[10px] justify-center items-center flex`]),$(()=>{let P;return k((P=[c("div",{className:"text-center text-xs font-medium leading-none",children:`${p.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",y.Children.toArray(Array.from(P))]))}))))))],["children",y.Children.toArray(Array.from(S))])]))),c("div",{className:"w-5 h-5 px-3 py-3.5"}),c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(C=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),c("div",w(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(A=[c("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${p.NumberOfDestinationFieldsMapped} of ${p.NumberOfIncomingFields} used`})],["children",y.Children.toArray(Array.from(A))])])))],["children",y.Children.toArray(Array.from(C))])])))],["children",y.Children.toArray(Array.from(F))])]))),c("div",w(g([["className","w-[640px] pt-2 pb-24 flex-col justify-start items-start gap-2 flex overflow-hidden"],(N=[c("div",w(ce((D=K($(()=>H(k(no(new re(0,[]),!0,_,p.FirstName.ColumnIndex,p.FirstName.IncomingFields,new to(0,[]),P=>{let j;m((j=[new re(0,[]),P],new qn(0,[j[0],j[1]])))},x(new re(0,[])),E(new re(0,[])))),$(()=>H(k(no(new re(1,[]),!0,_,p.LastName.ColumnIndex,p.LastName.IncomingFields,new to(0,[]),P=>{let j;m((j=[new re(1,[]),P],new qn(0,[j[0],j[1]])))},x(new re(1,[])),E(new re(1,[])))),$(()=>H(k(no(new re(2,[]),!0,_,p.Email.ColumnIndex,p.Email.IncomingFields,new to(0,[]),P=>{let j;m((j=[new re(2,[]),P],new qn(0,[j[0],j[1]])))},x(new re(2,[])),E(new re(2,[])))),$(()=>H(k(no(new re(3,[]),!1,_,p.MobilePhone.ColumnIndex,p.MobilePhone.IncomingFields,new to(0,[]),P=>{let j;m((j=[new re(3,[]),P],new qn(0,[j[0],j[1]])))},x(new re(3,[])),E(new re(3,[])))),$(()=>H(k(no(new re(4,[]),!1,_,p.EmploymentBasis.ColumnIndex,p.EmploymentBasis.IncomingFields,new to(1,[]),P=>{let j;m((j=[new re(4,[]),P],new qn(0,[j[0],j[1]])))},x(new re(4,[])),E(new re(4,[])))),$(()=>{let P,j,ae,X,J,L;return H(p.NumberOfIncomingFieldsDiscarded===0?k(Ae()):k(c("div",w(g([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(P=[c("div",w(g([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(j=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(ae=[up(14,14),c("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",y.Children.toArray(Array.from(ae))])]))),c("div",w(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(X=[Na(16,12)],["children",y.Children.toArray(Array.from(X))])]))),c("div",w(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(J=[c("div",w(g([["className","w-[218px] pl-3 items-center inline-flex"],(L=[c("div",w(K($(()=>H(k(["className","text-gray-500 text-sm font-medium"]),$(()=>{const G=p.NumberOfIncomingFieldsDiscarded|0;return k(G===1?["children","Remaining 1 unused field"]:["children",`Remaining ${G} unused fields`])}))))))],["children",y.Children.toArray(Array.from(L))])])))],["children",y.Children.toArray(Array.from(J))])])))],["children",y.Children.toArray(Array.from(j))])])))],["children",y.Children.toArray(Array.from(P))])])))),$(()=>{let G;return k(c("div",w(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(G=K($(()=>H(p.NumberOfDestinationFieldsMapped===5?k(cp("All destination fields have been mapped. You’re good to go.")):k(Ae()),$(()=>{let B,de,q,R,le,U,ye,ge,z;return k(c("div",w(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(B=[c("div",w(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(de=[c("div",w(g([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(q=[c("div",w(g([["className","grow shrink basis-0 text-right"],(R=[c("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),c("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),c("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",y.Children.toArray(Array.from(R))])])))],["children",y.Children.toArray(Array.from(q))])]))),c("div",w(g([["className","justify-start items-center gap-2 flex"],(le=[c("button",w(g([(U="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",U]),["onClick",Se=>{o(p.Status)}],(ye=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",y.Children.toArray(Array.from(ye))])]))),c("button",w(g([(ge="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",ge]),["disabled",_&&p.Status.tag===0],["onClick",Se=>{const we=p.Status;we.tag===0?v[1](!0):s([we.fields[0],we.fields[1]])}],(z=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:p.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),Wu(13,8)],["children",y.Children.toArray(Array.from(z))])])))],["children",y.Children.toArray(Array.from(le))])])))],["children",y.Children.toArray(Array.from(de))])])))],["children",y.Children.toArray(Array.from(B))])]))))})))),["children",y.Children.toArray(Array.from(G))])]))))}))})))))))))))),["children",y.Children.toArray(Array.from(D))]))))],["children",y.Children.toArray(Array.from(N))])])))],["children",y.Children.toArray(Array.from(I))])]))))})))))),["children",y.Children.toArray(Array.from(T))])])))),$(()=>{const I=p.Preview;return I==null?k(Ae()):k(y6(I[0],I[1],()=>{m(new qn(3,[]))}))}))})),["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(t))])])))}class rs extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}}class Qa extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}}let gr=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Next","Back"]}},is=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Add","Clear","Remove","Set"]}},b6=class extends Ce{constructor(t,n,r,i,o,s,a){super(),this.IncomingValues=t,this.Selections=n,this.NumberOfIncomingValuesUsed=r|0,this.NumberOfDestinationValuesMapped=i|0,this.DiscardedValues=o,this.ValidatedMappings=s,this.Prefilled=a}};class xo extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Available","Unavailable"]}}const Xn=[void 0];function fp(e,t,n){let r;const i=t.fields[0],o=Yt(s=>s,ks(Nc(n)));return new b6(et(s=>[s,Ti(s,o,{Equals:te,GetHashCode:_s})?new xo(1,[]):new xo(0,[])],i),n,o.length,Lg(ea(s=>{let a;return a=Yt(l=>l,s),a.length!==0},Nc(n))),Mm(o,i,{Equals:te,GetHashCode:_s}),(r=g(Yt(s=>s,ks(Le(s=>et(a=>{if(a!=null)return[s[0],a]},s[1]),n)))),Te(r)?void 0:new z_(ue(r),dr(De(r)))),e)}function _6(e,t){const n=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(r=>Ti(Ql(r.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(i,o)=>i===o,GetHashCode:cr}))}function x6(e,t){let n;if(t==null){let r=!1;const i=o=>{const s=_6(e,o);return!Ir(te,s,Ae())&&s.length===0?Xn:(r=!0,et(a=>a,s))};n=[li([[new ht(0,[]),i(new ht(0,[]))],[new ht(1,[]),i(new ht(1,[]))],[new ht(2,[]),i(new ht(2,[]))],[new ht(3,[]),i(new ht(3,[]))]],{Compare:Et}),r]}else{const r=t,i=li(et(o=>[o[0],et(s=>s[1],og(o[1],{Compare:Kl}))],V_(o=>o[0],ks([r.Tail,[r.Head]]),{Equals:te,GetHashCode:_s})),{Compare:Et});n=[li([[new ht(0,[]),Je(Sr(i,new ht(0,[])),Xn)],[new ht(1,[]),Je(Sr(i,new ht(1,[])),Xn)],[new ht(2,[]),Je(Sr(i,new ht(2,[])),Xn)],[new ht(3,[]),Je(Sr(i,new ht(3,[])),Xn)]],{Compare:Et}),!1]}return[fp(n[1],e,n[0]),ve()]}function mp(e,t){const n=Dr(e.Selections,t);let r;switch(!Ir(te,n,Ae())&&n.length===1&&pe(0,n)!=null?r=0:r=1,r){case 0:return!0;default:return!1}}function hp(e,t){let n;return e.DiscardedValues.length>0?(n=Dr(e.Selections,t),!n.some(r=>r==null)):!1}function C6(e,t,n){const r=Dr(e.Selections,t);return!Ir(te,r,Ae())&&r.length===1?!1:Ti(n,r,{Equals:te,GetHashCode:tn})}function S6(e,t,n,r){return!te(n,r)&&e.IncomingValues.some(i=>te(i[0],r)?te(i[1],new xo(0,[])):!1)?Ti(n,Dr(e.Selections,t),{Equals:te,GetHashCode:tn}):!1}function E6(e,t,n){let r,i;const o=h=>fp(n.Prefilled,e,h);let s,a,l,u,d,f,p,m;switch(t.tag){case 1:{mp(n,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{C6(n,t.fields[0],t.fields[1])?(s=2,u=t.fields[0],d=t.fields[1]):s=4;break}case 3:{S6(n,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],p=t.fields[1],m=t.fields[2]):s=4;break}default:hp(n,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(Jo(a,h=>_t(b=>a0(b,Xn),h),n.Selections)),ve()];case 1:return[o(Jo(l,h=>_t(b=>Xn,h),n.Selections)),ve()];case 2:return[o(Jo(u,(r=(i=[d],h=>Mm(i,h,{Equals:te,GetHashCode:tn})),h=>_t(r,h)),n.Selections)),ve()];case 3:return[o(Jo(f,h=>_t(b=>et(v=>te(v,p)?m:v,b),h),n.Selections)),ve()];default:return[n,ve()]}}function A6(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([["clipRule","evenodd"],["fill-rule","evenodd"],(r="M6.9999 12.6C10.0927 12.6 12.5999 10.0928 12.5999 7.00002C12.5999 3.90723 10.0927 1.40002 6.9999 1.40002C3.90711 1.40002 1.3999 3.90723 1.3999 7.00002C1.3999 10.0928 3.90711 12.6 6.9999 12.6ZM7.6999 4.90002C7.6999 4.51342 7.3865 4.20002 6.9999 4.20002C6.6133 4.20002 6.2999 4.51342 6.2999 4.90002V6.30002H4.8999C4.5133 6.30002 4.1999 6.61342 4.1999 7.00002C4.1999 7.38662 4.5133 7.70002 4.8999 7.70002H6.2999V9.10002C6.2999 9.48662 6.6133 9.80002 6.9999 9.80002C7.3865 9.80002 7.6999 9.48662 7.6999 9.10002V7.70002H9.0999C9.4865 7.70002 9.7999 7.38662 9.7999 7.00002C9.7999 6.61342 9.4865 6.30002 9.0999 6.30002H7.6999V4.90002Z",["d",r]),["fill","currentColor"]])))),["children",y.Children.toArray(Array.from(n))])])))}function k6(e,t,n,r,i,o,s){let a,l,u,d,f,p;return c("div",w(g([["key",nt(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[c("div",w(g([["className",At(" ",K($(()=>H(Ir(te,t,Xn)?k("bg-gray-50 border-gray-200 text-gray-500"):k("bg-emerald-50 border-emerald-200 text-emerald-700"),$(()=>k("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(u=[c("div",{className:"text-sm font-medium leading-tight",children:Im(e)})],["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(l))])]))),c("div",w(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[Na(16,12)],["children",y.Children.toArray(Array.from(d))])]))),c("div",w(g([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[c("div",w(ce((p=K($(()=>Le(m=>{let h,b,v;return c("div",w(g([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(h=[c("div",w(g([["className","justify-start items-end flex flex-col w-[206px]"],(b=K($(()=>H(k(rp(K($(()=>{const _=Yf(_t(x=>x.fields[0],m));return H(k(new hi(0,[_])),$(()=>H(k(new hi(1,[x=>{jn(E=>{s([m,E[0]])},Ni(Ks(E=>E[0].fields[0]===x?te(E[1],new xo(0,[])):!1,n)))}])),$(()=>{let x,E;return k(new hi(2,[[c("div",w(g([["className","relative w-full"],(x=[ip(g([new Bs(0,["outline-gray-300 grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2"]),new Bs(1,[[c("span",w(K($(()=>{const T=m!=null?[_,""]:["Select a value","text-gray-500"];return H(k(["className",`${T[1]} col-start-1 row-start-1 truncate pr-6`]),$(()=>k(["children",T[0]])))})))),c("span",w(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(E=[lp(20,20)],["children",y.Children.toArray(Array.from(E))])])))]])])),sp(ce(new op("z-10 absolute mt-0.5 max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm")),K($(()=>ta(T=>{const I=T[1],O=T[0].fields[0];return k(ap(g([new wn(0,[O]),new wn(1,[O]),new wn(2,[te(I,new xo(1,[]))&&O!==_]),new wn(3,["relative select-none"]),new wn(4,[F=>[c("span",{className:At(" ",K($(()=>H(k("px-4 py-2 block truncate"),$(()=>{const S=F.active;let C;switch(F.selected?S?C=2:C=1:I.tag===1?C=0:S?C=2:C=1,C){case 0:return k("text-gray-700 opacity-50 cursor-not-allowed");case 1:return k("text-gray-700");default:return k("bg-primary-600 text-white")}}))))),children:O})]])])))},n))))],["children",y.Children.toArray(Array.from(x))])])))]]))}))))})))),$(()=>te(m,tg(t))?k(c("button",w(K($(()=>{let _;return H(k((_=[A6(14,14),c("span",{children:["Map additional value"]})],["children",y.Children.toArray(Array.from(_))])),$(()=>H(k(["className",At(" ",K($(()=>H(k("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),$(()=>i==null?k("opacity-50 cursor-not-allowed underline"):k("cursor-pointer underline hover:text-gray-700"))))))]),$(()=>{const x=i;if(x==null)return ft();{const E=x;return k(["onClick",T=>{E()}])}}))))}))))):ft())))),["children",y.Children.toArray(Array.from(b))])]))),c("div",w(g([["className","text-gray-500 text-xs font-normal pl-1"],(v=K($(()=>{if(o!=null){const _=o;return k(c("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:x=>{_(m)}}))}else return k(c("button",w(K($(()=>H(k(["children","Clear"]),$(()=>H(r==null?k(["className","opacity-50 underline cursor-not-allowed mt-2"]):k(["className","cursor-pointer underline py-2 hover:text-gray-700"]),$(()=>{const _=r;if(_==null)return ft();{const x=_;return k(["onClick",E=>{x()}])}})))))))))})),["children",y.Children.toArray(Array.from(v))])])))],["children",y.Children.toArray(Array.from(h))])])))},t))),["children",y.Children.toArray(Array.from(p))]))))],["children",y.Children.toArray(Array.from(f))])])))],["children",y.Children.toArray(Array.from(a))])])))}function N6(e){let t,n,r;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const u=x6(s,a);l=Ur(()=>Br(()=>u,(h,b)=>E6(s,h,b),(h,b)=>{}),void 0,void 0);const d=l[0],f=l[1],p=y.useState(!1),m=p[0];return c("div",w(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[Aa("Map values - Employment basis"),ka("Match the values from your CSV to the corresponding destination values."),c("div",w(g([["className","justify-start items-start gap-12 inline-flex"],(n=[c("div",w(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(r=K($(()=>H(d.Prefilled?k(ep()):k(Ae()),$(()=>H(m&&d.ValidatedMappings==null?k(np("Map at least one value to continue.")):k(Ae()),$(()=>{let h,b,v,_,x,E,T,I,O;return k(c("div",w(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(h=[c("div",w(g([(b="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",b]),(v=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),c("div",w(g([["className",At(" ",K($(()=>H(d.NumberOfDestinationValuesMapped===4?k("bg-emerald-100 text-emerald-800"):k("bg-blue-100 text-blue-800"),$(()=>k("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(x=[c("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",y.Children.toArray(Array.from(x))])])))],["children",y.Children.toArray(Array.from(_))])]))),c("div",{className:"w-5 h-5 px-3 py-3.5"}),c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(E=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),c("div",w(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(T=[c("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",y.Children.toArray(Array.from(T))])])))],["children",y.Children.toArray(Array.from(E))])])))],["children",y.Children.toArray(Array.from(v))])]))),c("div",w(g([["className","w-[640px] pt-2 pb-24 flex-col justify-start items-start gap-2 flex overflow-hidden"],(I=[c("div",w(ce((O=K($(()=>H(ta(F=>{let S,C,A;const N=F[0];return k(k6(N,F[1],d.IncomingValues,(S=N,mp(d,S)?()=>{f(new is(1,[S]))}:void 0),(C=N,hp(d,C)?()=>{f(new is(0,[C]))}:void 0),(A=N,Dr(d.Selections,A).length>1?D=>{let P;f((P=[A,D],new is(2,[P[0],P[1]])))}:void 0),D=>{let P;f((P=[N,D[0],D[1]],new is(3,[P[0],P[1],P[2]])))}))},Aw(d.Selections)),$(()=>{let F,S,C,A,N,D;return H(d.DiscardedValues.length===0?k(Ae()):k(c("div",w(g([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(F=[c("div",w(g([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(S=[c("div",w(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(C=[up(14,14),c("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",y.Children.toArray(Array.from(C))])]))),c("div",w(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(A=[Na(16,12)],["children",y.Children.toArray(Array.from(A))])]))),c("div",w(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(N=[c("div",w(g([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(D=K($(()=>H(k(c("div",w(K($(()=>H(k(["className","font-medium"]),$(()=>{const P=d.DiscardedValues.length|0;return k(P===1?["children","Remaining 1 unused field:"]:["children",`Remaining ${P} unused fields:`])}))))))),$(()=>{let P;return k(c("ul",w(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(P=et(j=>c("li",{children:[j]}),ks(Ln($(()=>H(k(et(j=>j.fields[0],d.DiscardedValues.slice(void 0,8))),$(()=>d.DiscardedValues.length>8?k(["... and 0 other values"]):ft())))))),["children",y.Children.toArray(Array.from(P))])]))))})))),["children",y.Children.toArray(Array.from(D))])])))],["children",y.Children.toArray(Array.from(N))])])))],["children",y.Children.toArray(Array.from(S))])])))],["children",y.Children.toArray(Array.from(F))])])))),$(()=>{let P;return k(c("div",w(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(P=K($(()=>H(d.DiscardedValues.length===0?k(cp("All incoming values have been mapped.")):k(Ae()),$(()=>{let j,ae,X,J,L,G,B;return k(c("div",w(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(j=[c("div",w(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(ae=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",w(g([["className","justify-start items-center gap-2 flex"],(X=[c("button",w(g([(J="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",J]),["onClick",de=>{i(d.ValidatedMappings)}],(L=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",y.Children.toArray(Array.from(L))])]))),c("button",w(g([(G="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",G]),["disabled",m&&d.ValidatedMappings==null],["onClick",de=>{const q=d.ValidatedMappings;q==null?p[1](!0):o(q)}],(B=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),Wu(13,8)],["children",y.Children.toArray(Array.from(B))])])))],["children",y.Children.toArray(Array.from(X))])])))],["children",y.Children.toArray(Array.from(ae))])])))],["children",y.Children.toArray(Array.from(j))])]))))})))),["children",y.Children.toArray(Array.from(P))])]))))}))})))),["children",y.Children.toArray(Array.from(O))]))))],["children",y.Children.toArray(Array.from(I))])])))],["children",y.Children.toArray(Array.from(h))])]))))})))))),["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}class T6 extends Ce{constructor(t,n,r,i,o,s,a,l,u){super(),this.RowNumber=t|0,this.FirstName=n,this.LastName=r,this.Email=i,this.MobilePhone=o,this.EmploymentBasis=s,this.HasDuplicateEmailError=a,this.HasErrorOtherThanDuplicateEmail=l,this.Errors=u}}class Qd extends Ce{constructor(t,n){super(),this.Summary=t,this.Details=n}}function os(e){if(!ki(e))return e}function pp(e,t,n){const r=n!=null?[n[0].fields[0].fields[0],q_(n[1])]:void 0;return g(et(i=>{let o,s,a,l,u,d,f,p,m,h,b,v,_,x,E,T,I;const O=i.fields[0];return li(Yt(F=>F,[(o=os(pe(t.FirstName.fields[0],O)),o==null?void 0:(s=o,[_r(new re(0,[])),s])),(a=os(pe(t.LastName.fields[0],O)),a==null?void 0:(l=a,[_r(new re(1,[])),l])),(u=os(pe(t.Email.fields[0],O)),u==null?void 0:(d=u,[_r(new re(2,[])),d])),(f=(p=t.MobilePhone,p==null?void 0:(m=os(pe(p.fields[0],O)),m==null?void 0:dp(m))),f==null?void 0:(h=f,[_r(new re(3,[])),h])),(b=(v=r,v==null?void 0:(_=v,x=(E=pe(_[0],O),T=Ae(),[Sw(_[1],E,new Ct(()=>T,F=>{T=F})),T]),x[0]?x[1]:void 0)),b==null?void 0:(I=b,[_r(new re(4,[])),I]))]),{Compare:jr})},e.fields[0]))}function $6(e,t,n){const r=_r(n);return[Sr(e.Data,r),!au(i=>i.PropName===r,t)]}function M6(e,t){const n=Om(t.PropName);if(n==null)return["Invalid or missing field",!1];{const r=n,i=wo(r).toLocaleLowerCase();if(Sr(e.Data,_r(r))!=null){let s;switch(r.tag===2&&t.Message.startsWith("Duplicate")?s=0:s=1,s){case 0:return[`Duplicate ${i}`,!1];default:return[`Invalid ${i}`,!0]}}else return[`Missing ${i}`,!1]}}function ef(e){const t=Om(e.PropName);if(t==null)return e.Message;{const n=t;let r;switch(n.tag===2&&e.Message.startsWith("Duplicate")?r=0:r=1,r){case 0:return`${wo(n)} exists in multiple rows`;default:return zf(e.Message,e.Column,wo(n))}}}function I6(e,t,n,r){return Y.Delay(()=>Y.TryWith(Y.Delay(()=>{let i,o,s;return Y.ReturnFrom((i=new im(r!=null,su((a,l)=>new _u(a+2,l),(o=[t,n,r],pp(o[0],o[1],o[2])))),s=e(i),Y.Bind(s,a=>{let l;const u=a;return l=u.tag===1?new M(1,[u.fields[0]]):new M(0,[ir(d=>{let f,p,m,h,b;const v=Je((f=f0(x=>x.RowId===d.RowId,u.fields[0].Errors),f==null?void 0:f.FieldErrors),at()),_=x=>$6(d,v,x);return new T6(d.RowId-2+1,_(new re(0,[])),_(new re(1,[])),_(new re(2,[])),_(new re(3,[])),(p=_(new re(4,[])),[(m=(h=p[0],h==null?void 0:G_(h)),m==null?void 0:Im(m)),p[1]]),au(x=>x.Message.startsWith("Duplicate Email"),v),!Te(Mn(x=>!x.Message.startsWith("Duplicate Email"),v)),Te(v)?void 0:Te(De(v))?(b=M6(d,ue(v)),new Qd(b[0],b[1]?ce(ef(ue(v))):void 0)):new Qd("Multiple invalid or missing fields",ir(ef,v)))},i.Data)]),Y.Return(l)})))}),i=>Y.Return(new M(1,[nt(i)]))))}function D6(e,t,n,r,i){return Y.Delay(()=>Y.TryWith(Y.Delay(()=>{let o;return Y.Bind(e(new om(r!=null,te(i,new Nt(0,[])),su((s,a)=>new _u(s+2,a),(o=[t,n,r],pp(o[0],o[1],o[2]))))),s=>{let a;return Y.Return((a=s,a.tag===1?new M(1,[a.fields[0]]):new M(0,[a.fields[0].ImportId])))})}),o=>Y.Return(new M(1,[nt(o)]))))}let ni=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Validated","SetInviteTiming","ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},ri=class extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Validating","Reviewing"]}};class ro extends Ce{constructor(t,n,r,i,o,s,a,l,u,d,f,p,m){super(),this.Data=t,this.InviteTiming=n,this.DuplicateEmailCount=r|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=i|0,this.NumberOfInvalidRows=o|0,this.NumberOfRows=s|0,this.NumberOfValidRows=a|0,this.ShowingOnlyRowsWithErrors=l,this.HasErrors=u,this.RowFrom=d|0,this.RowTo=f|0,this.Page=p,this.PageNo=m|0}}function R6(e,t,n){return[new ri(0,[]),um(g([Rn(t,new fn(5,[{RowCount:J_(n)}])),dm(r=>{fm(r)},e,void 0,r=>new ni(0,[r]))]))]}function ss(e,t,n){const r=(e-1)*20|0,i=_g(r,e*20-1,n?Mn(o=>o.Errors!=null,t):t);if(Te(i))return[0,0,at()];{const o=i;return[r+1,r+Jt(o),o]}}function gp(e){return e.PageNo>1}function wp(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function O6(e,t){const n=Mn(r=>r.Errors!=null,e.Data);return $o(ce(`Error detail,First name,Last name,Email,Mobile phone${t?",Employment basis":""},Original row #
|
|
50
|
-
`),
|
|
51
|
-
`;return t?`${o},${s},${a},${l},${u},${Je(i.EmploymentBasis[0],"")},${i.RowNumber}${d}`:`${o},${s},${a},${l},${u},${i.RowNumber}${d}`},n))}function F6(e,t,n,r){let i,o,s,a,l,u,d,f,p,m,h;switch(n.tag){case 1:{r.tag===1?(o=2,l=n.fields[0],u=r.fields[0]):(o=7,h=r);break}case 2:{r.tag===1?(i=r.fields[0],i.HasErrors&&i.ShowingOnlyRowsWithErrors!==n.fields[0]?(o=3,d=r.fields[0],f=n.fields[0]):(o=7,h=r)):(o=7,h=r);break}case 3:{r.tag===1&&wp(r.fields[0])?(o=4,p=r.fields[0]):(o=7,h=r);break}case 4:{r.tag===1&&gp(r.fields[0])?(o=5,m=r.fields[0]):(o=7,h=r);break}case 5:{r.tag===1&&r.fields[0].HasErrors?o=6:(o=7,h=r);break}default:n.fields[0].tag===1?r.tag===0?(o=1,a=n.fields[0].fields[0]):(o=7,h=r):r.tag===0?(o=0,s=n.fields[0].fields[0]):(o=7,h=r)}switch(o){case 0:{let b;const v=[s,!1];b=ss(1,v[0],v[1]);const _=Jt(Mn(T=>T.Errors==null,s))|0,x=Jt(Mn(T=>T.HasDuplicateEmailError,s))|0,E=Jt(Mn(T=>T.Errors!=null,s))|0;return[new ri(1,[new ro(s,new Nt(1,[]),x,Jt(Mn(T=>T.HasErrorOtherThanDuplicateEmail,s)),E,Jt(s),_,!1,au(T=>T.Errors!=null,s),b[0],b[1],b[2],1)]),Rn(t,new fn(6,[{DuplicateCount:x,RowCount:Jt(s),SuccessCount:_,TotalFailedCount:E}]))]}case 1:return[r,Rn(e,a)];case 2:return[new ri(1,[new ro(u.Data,l,u.DuplicateEmailCount,u.NumberOfRowsWithErrorsOtherThanDuplicateEmail,u.NumberOfInvalidRows,u.NumberOfRows,u.NumberOfValidRows,u.ShowingOnlyRowsWithErrors,u.HasErrors,u.RowFrom,u.RowTo,u.Page,u.PageNo)]),ve()];case 3:{let b;const v=[d.Data,f];return b=ss(1,v[0],v[1]),[new ri(1,[new ro(d.Data,d.InviteTiming,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfValidRows,f,d.HasErrors,b[0],b[1],b[2],1)]),ve()]}case 4:{const b=p.PageNo+1|0;let v;const _=[p.Data,p.ShowingOnlyRowsWithErrors];return v=ss(b,_[0],_[1]),[new ri(1,[new ro(p.Data,p.InviteTiming,p.DuplicateEmailCount,p.NumberOfRowsWithErrorsOtherThanDuplicateEmail,p.NumberOfInvalidRows,p.NumberOfRows,p.NumberOfValidRows,p.ShowingOnlyRowsWithErrors,p.HasErrors,v[0],v[1],v[2],b)]),ve()]}case 5:{const b=m.PageNo-1|0;let v;const _=[m.Data,m.ShowingOnlyRowsWithErrors];return v=ss(b,_[0],_[1]),[new ri(1,[new ro(m.Data,m.InviteTiming,m.DuplicateEmailCount,m.NumberOfRowsWithErrorsOtherThanDuplicateEmail,m.NumberOfInvalidRows,m.NumberOfRows,m.NumberOfValidRows,m.ShowingOnlyRowsWithErrors,m.HasErrors,v[0],v[1],v[2],b)]),ve()]}case 6:return[r,Rn(t,new fn(7,[]))];default:return[h,ve()]}}function yp(e,t){let n,r,i;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=g([c("path",w(g([(r="M12.6666 14.6667H3.33328C2.23062 14.6667 1.33328 13.7693 1.33328 12.6667V10H2.66662V12.6667C2.66662 13.034 2.96595 13.3333 3.33328 13.3333H12.6666C13.0339 13.3333 13.3333 13.034 13.3333 12.6667V10H14.6666V12.6667C14.6666 13.7693 13.7693 14.6667 12.6666 14.6667Z",["d",r]),["fill","#2E66F7"]]))),c("path",w(g([(i="M11.3333 5.72395L8.66667 8.39062V1.33328H7.33333V8.39062L4.66667 5.72395L3.724 6.66662L8 10.9426L12.276 6.66662L11.3333 5.72395Z",["d",i]),["fill","#2E66F7"]])))]),["children",y.Children.toArray(Array.from(n))])])))}function vp(e,t,n){let r,i,o,s,a,l,u,d,f,p,m,h,b,v,_,x,E,T,I,O,F,S;return Bi(g([new xt(3,[t]),new xt(4,[n]),new xt(5,[[Gi(ce(new Wi(2,["fixed inset-0 bg-gray-500/50"]))),c("div",w(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[Ui(ce(new ur(2,[[c("div",w(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[c("div",w(g([["className","flex flex-row justify-between"],(o=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),c("button",w(g([["onClick",C=>{n()}],["type","button"],["className","text-gray-600"],(s=[Wr(24,24)],["children",y.Children.toArray(Array.from(s))])])))],["children",y.Children.toArray(Array.from(o))])]))),c("div",w(g([["className","text-gray-600 text-sm pt-6"],(a=[c("span",{children:"Fields marked with "}),c("span",{className:"text-red-600",children:"*"}),c("span",w(ce((l=" are required to create a user. While “Mobile number” and “Employment basis” are optional, they are recommended for improved searching and filtering.",["children",l]))))],["children",y.Children.toArray(Array.from(a))])]))),c("div",w(g([["className","grid grid-cols-2 mt-3"],(u=[c("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),c("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),c("div",w(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[c("span",{children:"First name "}),c("span",{className:"text-red-600",children:"*"})],["children",y.Children.toArray(Array.from(d))])]))),c("div",w(ce((f=[c("div",w(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(p=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",y.Children.toArray(Array.from(p))])])))],["children",y.Children.toArray(Array.from(f))])))),c("div",w(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(m=[c("span",{children:"Last name "}),c("span",{className:"text-red-600",children:"*"})],["children",y.Children.toArray(Array.from(m))])]))),c("div",w(ce((h=[c("div",w(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(b=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",y.Children.toArray(Array.from(b))])])))],["children",y.Children.toArray(Array.from(h))])))),c("div",w(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(v=[c("span",{children:"Email "}),c("span",{className:"text-red-600",children:"*"})],["children",y.Children.toArray(Array.from(v))])]))),c("div",w(ce((_=[c("div",w(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(x=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",y.Children.toArray(Array.from(x))])])))],["children",y.Children.toArray(Array.from(_))])))),c("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),c("div",w(ce((E=[c("div",w(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(T=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"+61432368712"})],["children",y.Children.toArray(Array.from(T))])])))],["children",y.Children.toArray(Array.from(E))])))),c("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),c("div",w(ce((I=[c("div",w(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(O=[c("span",{children:"One of the following options:"}),c("br",{}),c("ul",w(g([["className","italic list-disc px-3"],(F=[c("li",{children:"Full-time"}),c("li",{children:"Part-time"}),c("li",{children:"Labour hire"}),c("li",{children:"Casual"})],["children",y.Children.toArray(Array.from(F))])])))],["children",y.Children.toArray(Array.from(O))])])))],["children",y.Children.toArray(Array.from(I))])))),c("a",w(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users"],(S=[c("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),yp(16,16)],["children",y.Children.toArray(Array.from(S))])])))],["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(i))])])))]])))],["children",y.Children.toArray(Array.from(r))])])))]])]))}function P6(e,t){let n,r,i,o,s,a,l,u,d,f,p,m,h;return Bi(g([new xt(3,[e]),new xt(4,[t]),new xt(5,[[Gi(ce(new Wi(2,["fixed inset-0 bg-gray-500/50"]))),c("div",w(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[Ui(ce(new ur(2,[[c("div",w(g([["className","flex flex-col mt-6 mb-6 px-6"],(r=[c("div",w(g([["className","flex flex-row justify-between"],(i=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),c("button",w(g([["onClick",b=>{t()}],["type","button"],["className","text-gray-600"],(o=[Wr(24,24)],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(i))])]))),c("div",w(g([["className","text-gray-500 text-sm font-normal pt-6"],(s=[c("p",w(ce((a=[c("span",{children:["Workplace benefits is a"]}),c("span",{className:"font-semibold",children:" free platform "}),(l="for your entire workforce – including full-time, part-time, casual employees, and volunteers. It allows you to share company benefits while supporting employee wellbeing.",c("span",{children:[l]}))],["children",y.Children.toArray(Array.from(a))])))),c("p",w(g([["className","pt-3"],(u=[(d="With workplace benefits, your people can access everyday savings from top Australian brands like Woolworths, Kmart, Harvey Norman, The Iconic, and more – all through the ",c("span",{children:[d]})),c("span",{className:"font-semibold",children:" Flare App"}),c("span",{children:["."]})],["children",y.Children.toArray(Array.from(u))])]))),c("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),c("ul",w(g([["className","list-inside list-disc pt-3"],(f=[c("li",w(ce((p=[c("span",{className:"font-semibold",children:"Savings "}),c("span",{children:["on essentials like food, fuel, and more."]})],["children",y.Children.toArray(Array.from(p))])))),c("li",w(g([["className","pt-2"],(m=[c("span",{className:"font-semibold",children:"Exclusive offers "}),c("span",{children:["from leading brands and retailers."]})],["children",y.Children.toArray(Array.from(m))])]))),c("li",w(g([["className","pt-2"],(h=[c("span",{className:"font-semibold",children:"Tax savings "}),c("span",{children:["with salary packaging."]})],["children",y.Children.toArray(Array.from(h))])])))],["children",y.Children.toArray(Array.from(f))])])))],["children",y.Children.toArray(Array.from(s))])])))],["children",y.Children.toArray(Array.from(r))])])))]])))],["children",y.Children.toArray(Array.from(n))])])))]])]))}const L6=e=>c("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{id:"Group 67"},c("path",{id:"Vector",d:"M24.2605 17.5933C17.766 17.5933 12.5005 22.9015 12.5005 29.4469V53.1561H36.0205V29.4469C36.0205 22.8995 30.7549 17.5933 24.2605 17.5933Z",fill:"url(#paint0_linear_4467_4223)"}),c("g",{id:"Group",opacity:.95},c("path",{id:"Vector_2",d:"M35.76 35.646C29.2655 35.646 24 40.9115 24 47.406V53.1558H47.52V47.406C47.52 40.9115 42.2544 35.646 35.76 35.646Z",fill:"url(#paint1_linear_4467_4223)"})),c("path",{id:"Vector_3",opacity:.95,d:"M12.24 35.646C5.74553 35.646 0.47998 40.9115 0.47998 47.406V53.1558H24V47.406C24 40.9115 18.7344 35.646 12.24 35.646Z",fill:"url(#paint2_linear_4467_4223)"}),c("path",{id:"Vector_4",d:"M24.1303 16.8098C28.5328 16.8098 32.1018 13.2408 32.1018 8.83827C32.1018 4.43569 28.5328 0.866699 24.1303 0.866699C19.7277 0.866699 16.1587 4.43569 16.1587 8.83827C16.1587 13.2408 19.7277 16.8098 24.1303 16.8098Z",fill:"#0095F2"}),c("path",{id:"Vector_5",opacity:.93,d:"M13.1537 35.1253C17.5563 35.1253 21.1253 31.5563 21.1253 27.1537C21.1253 22.7511 17.5563 19.1821 13.1537 19.1821C8.75112 19.1821 5.18213 22.7511 5.18213 27.1537C5.18213 31.5563 8.75112 35.1253 13.1537 35.1253Z",fill:"#FF876F"}),c("path",{id:"Vector_6",opacity:.93,d:"M35.89 35.1253C40.2926 35.1253 43.8616 31.5563 43.8616 27.1537C43.8616 22.7511 40.2926 19.1821 35.89 19.1821C31.4875 19.1821 27.9185 22.7511 27.9185 27.1537C27.9185 31.5563 31.4875 35.1253 35.89 35.1253Z",fill:"#A650FF"})),c("defs",null,c("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#161E37"}),c("stop",{offset:.11,stopColor:"#172243"}),c("stop",{offset:.31,stopColor:"#1B2E62"}),c("stop",{offset:.57,stopColor:"#214196"}),c("stop",{offset:.89,stopColor:"#2A5CDD"}),c("stop",{offset:1,stopColor:"#2E66F7"})),c("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},c("stop",{offset:.11,stopColor:"#FF876F"}),c("stop",{offset:.99,stopColor:"#A650FF"})),c("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#0095F2"}),c("stop",{offset:.29,stopColor:"#307CF6"}),c("stop",{offset:.61,stopColor:"#6163FB"}),c("stop",{offset:.86,stopColor:"#7F54FD"}),c("stop",{offset:1,stopColor:"#8B4FFF"})))),V6=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},c("path",{d:"M6.00033 0.666504C3.05966 0.666504 0.666992 3.05917 0.666992 5.99984C0.666992 8.9405 3.05966 11.3332 6.00033 11.3332C8.94099 11.3332 11.3337 8.9405 11.3337 5.99984C11.3337 3.05917 8.94099 0.666504 6.00033 0.666504ZM6.50033 8.54584C6.50033 8.82184 6.27633 9.04584 6.00033 9.04584C5.72433 9.04584 5.50033 8.82184 5.50033 8.54584V5.49984C5.50033 5.22384 5.72433 4.99984 6.00033 4.99984C6.27633 4.99984 6.50033 5.22384 6.50033 5.49984V8.54584ZM6.00033 4.49984C5.63233 4.49984 5.33366 4.2005 5.33366 3.83317C5.33366 3.46584 5.63233 3.1665 6.00033 3.1665C6.36833 3.1665 6.66699 3.46584 6.66699 3.83317C6.66699 4.2005 6.36833 4.49984 6.00033 4.49984Z",fill:"currentColor"})),H6=e=>c("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),c("g",{clipPath:"url(#clip0_4584_4202)"},c("path",{d:"M9.24302 26.953L18.152 10.111C18.33 9.77467 18.5963 9.49321 18.9222 9.2969C19.2482 9.10059 19.6215 8.99686 20.002 8.99686C20.3825 8.99686 20.7559 9.10059 21.0818 9.2969C21.4078 9.49321 21.6741 9.77467 21.852 10.111L30.761 26.953C30.9282 27.2708 31.0103 27.6266 30.9991 27.9855C30.988 28.3445 30.8841 28.6944 30.6975 29.0013C30.5109 29.3081 30.2479 29.5614 29.9343 29.7364C29.6207 29.9115 29.2672 30.0023 28.908 30H11.092C10.7332 30.0016 10.3801 29.9103 10.0671 29.735C9.75404 29.5597 9.49169 29.3063 9.30555 28.9996C9.11942 28.6928 9.01583 28.3431 9.00488 27.9845C8.99392 27.6259 9.07596 27.2705 9.24302 26.953V26.953Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20 27C20.8284 27 21.5 26.3284 21.5 25.5C21.5 24.6716 20.8284 24 20 24C19.1716 24 18.5 24.6716 18.5 25.5C18.5 26.3284 19.1716 27 20 27Z",fill:"#DC2626"})),c("defs",null,c("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#FECACA"}),c("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),c("clipPath",{id:"clip0_4584_4202"},c("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),j6=e=>c("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.3272 22.6261C28.5428 23.1983 28.2016 23.8306 27.6205 24.025C26.6465 24.3503 25.3424 24.6628 23.7902 24.7151C23.7699 24.6508 23.7476 24.5864 23.7234 24.522C23.042 22.7136 21.7109 21.2192 20.0107 20.3308C20.9217 19.6032 22.0762 19.1683 23.3339 19.1683C25.6205 19.1683 27.5661 20.6061 28.3272 22.6261Z",fill:"#93C5FD"}),c("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",fill:"#93C5FD"}),c("path",{d:"M16.3892 19.1667C17.6165 19.1667 18.6114 18.1718 18.6114 16.9445C18.6114 15.7172 17.6165 14.7222 16.3892 14.7222C15.1619 14.7222 14.167 15.7172 14.167 16.9445C14.167 18.1718 15.1619 19.1667 16.3892 19.1667Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20.6771 26.8022C21.2583 26.6078 21.5994 25.9756 21.3838 25.4033C20.6227 23.3833 18.6771 21.9456 16.3905 21.9456C14.1038 21.9456 12.1583 23.3833 11.3971 25.4033C11.1816 25.9767 11.5227 26.6089 12.1038 26.8022C13.1727 27.1589 14.6383 27.5 16.3916 27.5C18.1449 27.5 19.6094 27.1589 20.6771 26.8022Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M24.1664 24.6967C25.553 24.6111 26.7264 24.3233 27.6208 24.0245C28.2019 23.83 28.543 23.1978 28.3275 22.6256C27.5664 20.6056 25.6208 19.1678 23.3341 19.1678C22.2486 19.1678 21.2397 19.4922 20.3975 20.0489",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("defs",null,c("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#D6E2FC"}),c("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),B6=e=>c("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{clipPath:"url(#clip0_3030_30757)"},c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.40895 5.42706C5.79785 4.83985 8.86151 3.00302 11.0249 0.261313C11.1152 0.153807 11.235 0.0767261 11.3686 0.0401219C11.5021 0.00351777 11.6434 0.0090886 11.7738 0.056108C11.9043 0.103127 12.0179 0.189414 12.0999 0.303716C12.1819 0.418018 12.2285 0.555032 12.2335 0.696894L12.2335 11.4663C12.2313 11.588 12.1985 11.7071 12.1382 11.812C12.078 11.9168 11.9924 12.0039 11.8897 12.0648C11.787 12.1257 11.6708 12.1583 11.5522 12.1594C11.4336 12.1606 11.3168 12.1303 11.213 12.0714L2.17962 6.71732C2.06323 6.6422 1.97142 6.53301 1.91604 6.40381C1.86067 6.27462 1.84426 6.13136 1.86894 5.9925C1.89362 5.85364 1.95825 5.72556 2.05451 5.62478C2.15076 5.52399 2.27422 5.45513 2.40895 5.42706ZM2.40895 22.6054C5.79785 23.1926 8.86151 25.0295 11.0249 27.7712C11.1152 27.8787 11.235 27.9557 11.3686 27.9923C11.5021 28.029 11.6434 28.0234 11.7738 27.9764C11.9043 27.9293 12.0179 27.8431 12.0999 27.7288C12.1819 27.6145 12.2285 27.4774 12.2335 27.3356L12.2335 16.5756C12.2328 16.453 12.2012 16.3328 12.1416 16.2267C12.082 16.1205 11.9965 16.0321 11.8936 15.9701C11.7906 15.9081 11.6738 15.8747 11.5544 15.8731C11.4351 15.8715 11.3174 15.9018 11.213 15.961L2.17962 21.3151C2.06323 21.3903 1.97142 21.4995 1.91604 21.6287C1.86067 21.7578 1.84426 21.9011 1.86894 22.04C1.89362 22.1788 1.95825 22.3069 2.05451 22.4077C2.15076 22.5085 2.27422 22.5773 2.40895 22.6054ZM0.20511 8.8811C1.43425 12.1754 1.45137 15.8168 0.253269 19.1231C0.21046 19.2568 0.207545 19.4007 0.244898 19.5361C0.28225 19.6715 0.358167 19.7924 0.462907 19.8833C0.567647 19.9741 0.696433 20.0307 0.832742 20.0459C0.96905 20.0611 1.10666 20.0341 1.22793 19.9684L10.2567 14.6166C10.3578 14.5537 10.4414 14.465 10.4994 14.3592C10.5574 14.2535 10.5879 14.1341 10.5879 14.0127C10.5879 13.8913 10.5574 13.772 10.4994 13.6662C10.4414 13.5604 10.3578 13.4717 10.2567 13.4088L1.17518 8.02406C1.05302 7.95812 0.914374 7.93142 0.777244 7.94743C0.640114 7.96344 0.510844 8.02142 0.406231 8.11384C0.301618 8.20627 0.226497 8.32886 0.190631 8.46568C0.154764 8.60251 0.159809 8.74725 0.20511 8.8811ZM23.6634 22.6054C20.2745 23.1926 17.2108 25.0295 15.0474 27.7712C14.9571 27.8787 14.8374 27.9557 14.7038 27.9923C14.5702 28.029 14.4289 28.0234 14.2985 27.9764C14.168 27.9293 14.0544 27.8431 13.9724 27.7288C13.8904 27.6145 13.8439 27.4774 13.8388 27.3356L13.8388 16.5756C13.8397 16.4534 13.8714 16.3335 13.9309 16.2277C13.9904 16.1219 14.0756 16.0337 14.1781 15.9718C14.2807 15.9098 14.3972 15.8763 14.5162 15.8744C14.6352 15.8725 14.7527 15.9024 14.8571 15.961L23.8927 21.3152C24.0091 21.3903 24.1009 21.4995 24.1563 21.6287C24.2117 21.7579 24.2281 21.9011 24.2034 22.04C24.1787 22.1788 24.1141 22.3069 24.0178 22.4077C23.9216 22.5085 23.7981 22.5773 23.6634 22.6054ZM15.0474 0.261313C17.2108 3.00302 20.2745 4.83985 23.6634 5.42706C23.7981 5.45513 23.9216 5.52399 24.0178 5.62478C24.1141 5.72556 24.1787 5.85364 24.2034 5.9925C24.2281 6.13136 24.2117 6.27462 24.1563 6.40381C24.1009 6.53301 24.0091 6.6422 23.8927 6.71732L14.8571 12.0714C14.7533 12.1297 14.6367 12.1596 14.5185 12.1581C14.4002 12.1567 14.2844 12.124 14.182 12.0632C14.0797 12.0024 13.9943 11.9155 13.9342 11.8109C13.8741 11.7064 13.8412 11.5877 13.8388 11.4663L13.8388 0.696894C13.8439 0.555032 13.8904 0.418018 13.9724 0.303716C14.0544 0.189414 14.168 0.103127 14.2985 0.056108C14.4289 0.0090886 14.5702 0.00351777 14.7038 0.0401219C14.8374 0.0767261 14.9571 0.153807 15.0474 0.261313ZM25.8168 8.90935C24.6184 12.2158 24.6363 15.8576 25.8672 19.1514C25.913 19.2855 25.9182 19.4307 25.8823 19.5679C25.8464 19.7052 25.7711 19.8281 25.666 19.9207C25.561 20.0133 25.4312 20.0711 25.2936 20.0868C25.1561 20.1024 25.0171 20.0751 24.8949 20.0084L15.8111 14.6237C15.71 14.5607 15.6264 14.4721 15.5684 14.3663C15.5104 14.2605 15.4799 14.1412 15.4799 14.0198C15.4799 13.8984 15.5104 13.779 15.5684 13.6732C15.6264 13.5674 15.71 13.4788 15.8111 13.4158L24.8421 8.06409C24.9634 7.9984 25.101 7.97141 25.2373 7.98657C25.3736 8.00174 25.5024 8.05837 25.6072 8.14921C25.7119 8.24004 25.7878 8.36093 25.8252 8.49637C25.8625 8.63181 25.8596 8.77562 25.8168 8.90935Z",fill:"#2696EC"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2209 10.9851V23.8468H35.8118V10.9851H33.4648V7.92778H35.8118V6.51672C35.8118 4.91439 36.1765 3.76595 36.9061 3.0714C37.6356 2.37685 38.8454 2.02879 40.5355 2.02722H42.4442V4.82816H41.2857C40.5347 4.82816 40.0032 4.98495 39.6912 5.29851C39.3769 5.6207 39.2209 6.16396 39.2209 6.94474V7.93718H42.3891V10.9945L39.2209 10.9851ZM48.9092 2.03663L45.4679 2.03663V23.8421L48.9092 23.8421V2.03663ZM67.5974 23.8468V7.93718L64.2755 7.93718V10.1196C63.6573 9.3308 62.873 8.69564 61.9813 8.26172C61.0863 7.83165 60.1089 7.61228 59.1205 7.6197C58.0959 7.5972 57.0782 7.79484 56.1327 8.19987C55.1871 8.60491 54.3348 9.20838 53.6305 9.97145C52.1393 11.5597 51.3937 13.5195 51.3937 15.8508C51.3952 18.2324 52.1202 20.2032 53.5686 21.7632C55.017 23.3232 56.8362 24.1031 59.0264 24.1031C60.0369 24.1101 61.0362 23.886 61.9515 23.447C62.8575 23.009 63.6545 22.3657 64.2823 21.5656V23.8468H67.5974ZM55.138 17.7811C54.9016 17.1671 54.7876 16.5107 54.8028 15.8508C54.7876 15.1909 54.9016 14.5346 55.138 13.9206C55.3744 13.3066 55.7285 12.7475 56.1794 12.2762C56.6129 11.8155 57.1322 11.4489 57.7066 11.1979C58.281 10.947 58.8988 10.8169 59.5231 10.8153C60.1475 10.8138 60.7658 10.9409 61.3414 11.189C61.917 11.4371 62.4381 11.8012 62.8737 12.2597C63.3183 12.7374 63.6661 13.3008 63.8968 13.9172C64.1276 14.5337 64.2368 15.1909 64.2181 15.8508C64.2368 16.5108 64.1276 17.168 63.8968 17.7844C63.6661 18.4009 63.3183 18.9642 62.8737 19.442C62.4381 19.9005 61.917 20.2646 61.3414 20.5127C60.7658 20.7608 60.1475 20.8879 59.5231 20.8863C58.8988 20.8848 58.281 20.7547 57.7066 20.5038C57.1322 20.2528 56.6129 19.8861 56.1794 19.4255C55.7285 18.9542 55.3744 18.395 55.138 17.7811ZM74.317 14.254V23.8468H70.9079V7.93718L74.223 7.93718V9.54108C74.592 8.94917 75.0969 8.45902 75.6935 8.11357C76.2985 7.77921 76.977 7.60919 77.6642 7.6197C78.1147 7.61511 78.5633 7.68012 78.9948 7.81254C79.3586 7.91663 79.6949 8.10308 79.979 8.35815L78.2584 11.4366C78.0425 11.2918 77.8055 11.1831 77.5564 11.1144C77.3265 11.052 77.0899 11.0196 76.8521 11.018C76.4954 11.0017 76.1402 11.0733 75.8161 11.2268C75.4919 11.3802 75.2084 11.611 74.9892 11.8999C74.5411 12.4863 74.317 13.271 74.317 14.254ZM95.8271 16.467C95.8432 16.34 95.8432 16.1472 95.8432 15.8908C95.8355 13.4967 95.0815 11.5197 93.5811 9.95969C92.0807 8.3997 90.1835 7.6197 87.8893 7.6197C85.5676 7.61186 83.642 8.38872 82.1126 9.95029C80.5831 11.5119 79.8184 13.4897 79.8184 15.8838C79.8184 18.2982 80.5587 20.2698 82.0392 21.7984C83.5197 23.3271 85.4384 24.0914 87.7952 24.0914C89.5346 24.1334 91.2443 23.6242 92.691 22.6333C94.0578 21.6868 95.0674 20.2892 95.5518 18.6729H91.9546C91.5609 19.4036 90.9761 20.0071 90.266 20.4156C89.5283 20.8295 88.6981 21.0394 87.8572 21.0247C86.7294 21.0612 85.6315 20.65 84.7922 19.877C83.977 19.1229 83.4975 18.1038 83.3537 16.8198H95.7812C95.8037 16.7033 95.819 16.5855 95.8271 16.467ZM87.8324 10.6957C87.8338 10.6957 87.8351 10.6958 87.8365 10.6958H87.8274C87.829 10.6958 87.8307 10.6957 87.8324 10.6957ZM84.9413 11.7212C85.7535 11.0344 86.7798 10.6704 87.8324 10.6957C88.8902 10.6749 89.9201 11.0447 90.7341 11.7376C91.5425 12.4257 92.0583 13.409 92.1725 14.4798L83.3927 14.4798C83.5781 13.4028 84.1261 12.4266 84.9413 11.7212Z",fill:"#143057"})),c("defs",null,c("clipPath",{id:"clip0_3030_30757"},c("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),U6=e=>c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5C8.14219 5 5 8.14219 5 12C5 15.8578 8.14219 19 12 19C15.8578 19 19 15.8578 19 12C19 8.14219 15.8578 5 12 5ZM3 12C3 7.03763 7.03763 3 12 3C16.9624 3 21 7.03763 21 12C21 16.9624 16.9624 21 12 21C7.03763 21 3 16.9624 3 12Z",fill:"#10B981"}),c("path",{d:"M11.707 14.707C11.3165 15.0975 10.6834 15.0975 10.2928 14.707L8.29294 12.7071C7.90247 12.3166 7.90247 11.6835 8.29294 11.2931C8.6834 10.9026 9.31647 10.9026 9.70694 11.2931L10.9999 12.5861L14.2929 9.29306C14.6834 8.90259 15.3165 8.90259 15.7069 9.29306C16.0974 9.68353 16.0974 10.3166 15.7069 10.7071L11.707 14.707Z",fill:"#10B981"})),W6=e=>c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("path",{d:"M12.0004 2.40002C6.72039 2.40002 2.40039 6.72002 2.40039 12C2.40039 17.28 6.72039 21.6 12.0004 21.6C17.2804 21.6 21.6004 17.28 21.6004 12C21.6004 6.72002 17.2804 2.40002 12.0004 2.40002ZM12.0004 19.2C8.04039 19.2 4.80039 15.96 4.80039 12C4.80039 8.04002 8.04039 4.80002 12.0004 4.80002C15.9604 4.80002 19.2004 8.04002 19.2004 12C19.2004 15.96 15.9604 19.2 12.0004 19.2Z",fill:"#DC2626"}),c("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),c("path",{d:"M12.0008 16.8C12.6635 16.8 13.2008 16.2628 13.2008 15.6C13.2008 14.9373 12.6635 14.4 12.0008 14.4C11.338 14.4 10.8008 14.9373 10.8008 15.6C10.8008 16.2628 11.338 16.8 12.0008 16.8Z",fill:"#DC2626"})),G6=e=>c("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{id:"Clock"},c("path",{id:"Icon",d:"M12.5 8V12L15.5 15M21.5 12C21.5 16.9706 17.4706 21 12.5 21C7.52944 21 3.5 16.9706 3.5 12C3.5 7.02944 7.52944 3 12.5 3C17.4706 3 21.5 7.02944 21.5 12Z",stroke:"#FB923C",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})));function hr(e,t){return y.createElement(e,w(t))}function z6(e){return hr(L6,e)}function q6(e){return hr(V6,e)}function Y6(e){return hr(H6,e)}function Z6(e){return hr(j6,e)}function K6(e){return hr(B6,e)}function X6(e){return hr(U6,e)}function J6(e){return hr(W6,e)}function Q6(e){return hr(G6,e)}function e4(e,t,n,r){let i,o,s,a,l,u,d,f,p,m,h;return Bi(g([new xt(3,[e]),new xt(4,[n]),new xt(5,[[Gi(ce(new Wi(2,["fixed inset-0 bg-gray-500/50"]))),c("div",w(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[c("div",w(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[Ui(g([new ur(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new ur(2,[[c("div",w(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[c("button",w(g([["type","button"],["onClick",b=>{n()}],["className","text-gray-600"],(a=[Wr(24,24)],["children",y.Children.toArray(Array.from(a))])])))],["children",y.Children.toArray(Array.from(s))])]))),c("div",w(g([["className","sm:flex sm:items-start"],(l=[c("div",w(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(u=[Z6([])],["children",y.Children.toArray(Array.from(u))])]))),c("div",w(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[Qh(g([new js(2,["text-gray-900 text-lg font-bold"]),new js(3,[[`Import ${t} users`]])])),c("div",w(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[c("p",{children:[`Are you sure you want to import ${t} users?`]})],["children",y.Children.toArray(Array.from(f))])])))],["children",y.Children.toArray(Array.from(d))])])))],["children",y.Children.toArray(Array.from(l))])]))),c("div",w(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[c("button",w(g([["type","button"],["onClick",b=>{r()}],(m="inline-flex w-full justify-center rounded-md bg-emerald-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-emerald-700 sm:ml-3 sm:w-auto",["className",m]),["children","Confirm import"]]))),c("button",w(g([["type","button"],["onClick",b=>{n()}],(h="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",h]),["children","Cancel"]])))],["children",y.Children.toArray(Array.from(p))])])))]])]))],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(i))])])))]])]))}function t4(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=ce(c("path",w(g([(r="M17.8008 14.5263L11.4838 2.88031C11.328 2.59137 11.0904 2.35483 10.8008 2.20031C10.4074 1.98974 9.94665 1.94305 9.51893 2.07039C9.0912 2.19773 8.73106 2.48881 8.51683 2.88031L2.20083 14.5263C2.06272 14.7826 1.99367 15.0704 2.00046 15.3614C2.00724 15.6525 2.08964 15.9368 2.23954 16.1863C2.38944 16.4359 2.60169 16.6422 2.85544 16.7849C3.10919 16.9276 3.39571 17.0018 3.68683 17.0003H16.3148C16.5939 17.0003 16.8686 16.9316 17.1148 16.8003C17.3099 16.6968 17.4825 16.5556 17.6228 16.3851C17.763 16.2145 17.8681 16.0178 17.932 15.8064C17.9958 15.595 18.0172 15.373 17.9949 15.1533C17.9726 14.9336 17.9069 14.7205 17.8018 14.5263H17.8008ZM10.0008 15.0003C9.80305 15.0003 9.60971 14.9417 9.44526 14.8318C9.28081 14.7219 9.15264 14.5657 9.07695 14.383C9.00126 14.2003 8.98146 13.9992 9.02004 13.8052C9.05863 13.6112 9.15387 13.4331 9.29372 13.2932C9.43358 13.1533 9.61176 13.0581 9.80574 13.0195C9.99972 12.9809 10.2008 13.0007 10.3835 13.0764C10.5662 13.1521 10.7224 13.2803 10.8323 13.4447C10.9422 13.6092 11.0008 13.8025 11.0008 14.0003C11.0008 14.2655 10.8955 14.5199 10.7079 14.7074C10.5204 14.8949 10.266 15.0003 10.0008 15.0003ZM11.0008 11.5003C11.0008 11.6329 10.9482 11.7601 10.8544 11.8539C10.7606 11.9476 10.6334 12.0003 10.5008 12.0003H9.50083C9.36822 12.0003 9.24104 11.9476 9.14728 11.8539C9.05351 11.7601 9.00083 11.6329 9.00083 11.5003V7.50031C9.00083 7.3677 9.05351 7.24052 9.14728 7.14675C9.24104 7.05298 9.36822 7.00031 9.50083 7.00031H10.5008C10.6334 7.00031 10.7606 7.05298 10.8544 7.14675C10.9482 7.24052 11.0008 7.3677 11.0008 7.50031V11.5003Z",["d",r]),["fill","#FBBF24"]])))),["children",y.Children.toArray(Array.from(n))])])))}function n4(e){return`${nu(e,".")}.`}function tf(e){return nu(e,".")}function r4(e){let t;const n=e.children,r=e.text,i=y.useState(!1),o=i[1];return c("div",w(g([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=K($(()=>H(n,$(()=>{let s,a;return i[0]?k(c("div",w(g([(s="absolute top-0 left-full -translate-y-1/4 ml-1 text-left text-white text-xs leading-5 font-medium ring-1 ring-black ring-opacity-5 shadow-md rounded-md bg-gray-900 pl-6 pr-3 py-2 w-60 text-wrap",["className",s]),(a=K($(()=>{let l;return Te(r)?k(c("ul",w(g([["className","list-outside list-disc"],(l=K($(()=>Le(u=>c("li",{children:[tf(u)]}),r))),["children",y.Children.toArray(Array.from(l))])])))):Te(De(r))?k(c("p",{children:[n4(ue(r))]})):k(c("ul",w(g([["className","list-outside list-disc"],(l=K($(()=>Le(u=>c("li",{children:[tf(u)]}),r))),["children",y.Children.toArray(Array.from(l))])]))))})),["children",y.Children.toArray(Array.from(a))])])))):ft()})))),["children",y.Children.toArray(Array.from(t))])])))}function Xr(e,t){let n;return c("div",w(g([["className",At(" ",["animate-pulse w-full relative",e,t])],(n=[c("div",{className:At(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",y.Children.toArray(Array.from(n))])])))}function i4(){let e,t,n,r,i,o,s,a,l,u,d,f;return c("div",w(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[c("div",w(g([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[c("div",w(g([["className","justify-start items-center gap-2 inline-flex"],(n=[c("input",{type:"checkbox",defaultChecked:!1,disabled:!0,className:"rounded-sm border border-gray-300 bg-white"}),c("span",{className:"text-gray-400 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[c("div",w(g([["className","w-[1030px]"],(i=K($(()=>{let p,m,h,b;return H(k(c("div",w(g([["className","bg-gray-100 flex"],(p=[c("div",w(g([["className","px-3 py-2.5 text-left w-[128px]"],(m=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(m))])]))),c("div",w(g([["className","px-3 py-2.5 text-left w-[148px]"],(h=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(h))])]))),c("div",w(g([["className","px-3 py-2.5 text-left flex-1"],(b=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(b))])])))],["children",y.Children.toArray(Array.from(p))])])))),$(()=>Le(v=>c("div",w(K($(()=>H(v%2===1?k(["className","bg-white border-t border-gray-200 flex"]):k(["className","bg-gray-50 border-t border-gray-200 flex"]),$(()=>{let _,x,E,T;return k((_=[c("div",w(g([["className","px-3 py-2.5 text-left w-[128px]"],(x=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(x))])]))),c("div",w(g([["className","px-3 py-2.5 text-left w-[148px]"],(E=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(E))])]))),c("div",w(g([["className","px-3 py-2.5 text-left flex-1"],(T=[Xr("h-5","w-full")],["children",y.Children.toArray(Array.from(T))])])))],["children",y.Children.toArray(Array.from(_))]))})))))),K(Cu(0,1,9)))))})),["children",y.Children.toArray(Array.from(i))])])))],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(t))])]))),c("div",w(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(o=[c("div",w(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(s=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",w(g([["className","justify-start items-center gap-2 flex"],(a=[c("button",w(g([(l="px-[13px] py-[9px] bg-white opacity-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex",["className",l]),["disabled",!0],(u=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",y.Children.toArray(Array.from(u))])]))),c("button",w(g([(d="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",d]),["disabled",!0],(f=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",y.Children.toArray(Array.from(f))])])))],["children",y.Children.toArray(Array.from(a))])])))],["children",y.Children.toArray(Array.from(s))])])))],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(e))])])))}function o4(e){const t=et(r=>r,dr(e)),n=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(n)}const s4=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function a4(e){let t,n,r;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,u=e.baseColumnMappings,d=e.dataRows,f=e.apiCallAsync;let p;const m=R6(()=>I6(f,d,u,l),i,d);p=Ur(()=>Br(()=>m,(O,F)=>F6(o,i,O,F),(O,F)=>{}),void 0,void 0);const h=p[1],b=y.useState(!1),v=b[1],_=y.useState(!1),x=_[1],E=y.useState(!1),T=E[0],I=E[1];return c("div",w(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[vp(s4,b[0],()=>{v(!1)}),P6(_[0],()=>{x(!1)}),Aa("Review"),ka("Preview your data and confirm that everything is mapped correctly."),c("div",w(g([["className","flex flex-row pt-3 gap-2"],(n=[_o("What kind of data do I need?",()=>{v(!0)})],["children",y.Children.toArray(Array.from(n))])]))),c("div",w(g([["className","justify-start items-start gap-12 inline-flex"],(r=[c("div",w(K($(()=>H(k(["className","pt-6 flex-col justify-start items-start gap-4 inline-flex"]),$(()=>{let O,F,S;const C=p[0];if(C.tag===1){const A=C.fields[0],N=ae=>{h(new ni(1,[ae]))},D=ae=>{h(new ni(2,[ae]))},P=wp(A)?ae=>{h(new ni(3,[]))}:void 0,j=gp(A)?ae=>{h(new ni(4,[]))}:void 0;return k((O=[c("div",w(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(F=K($(()=>H(k(e4(T,A.NumberOfValidRows,()=>{T&&I(!1)},()=>{T&&a([new Dm(Ln(Le(ae=>ae[0],ea(ae=>ae[1].Errors==null,Wg(d.fields[0],A.Data))))),A.InviteTiming])})),$(()=>{let ae,X,J,L,G,B,de,q;return H(A.HasErrors?k(c("div",w(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(ae=[t4(20,20),c("div",w(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(X=[c("div",w(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(J=[c("span",{children:[`We found some issues across ${A.NumberOfInvalidRows} rows in your CSV:`]})],["children",y.Children.toArray(Array.from(J))])]))),c("ul",w(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(L=K($(()=>{let R;return H(A.DuplicateEmailCount>0?k((R=g([c("span",{className:"font-medium",children:`${A.DuplicateEmailCount} rows `}),c("span",{children:["have "]}),c("span",{className:"font-medium",children:"duplicate email addresses"})]),c("li",{children:y.Children.toArray(Array.from(R))}))):ft(),$(()=>{let le;return A.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?k((le=g([c("span",{className:"font-medium",children:`${A.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `}),c("span",{children:["have "]}),c("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),c("li",{children:y.Children.toArray(Array.from(le))}))):ft()}))})),["children",y.Children.toArray(Array.from(L))])]))),c("div",w(g([["className","px-2 py-1.5"],(G=[c("div",w(g([["className","text-amber-700 text-sm leading-tight"],(B=[c("span",{children:[`You can continue the import without these ${A.NumberOfInvalidRows} rows—we’ll automatically skip them. To import them later, download the error report, fix the issues, and re-upload your file as a new import.`]})],["children",y.Children.toArray(Array.from(B))])])))],["children",y.Children.toArray(Array.from(G))])]))),c("div",w(g([["className","px-2 py-1.5"],(de=[c("a",{className:"text-amber-800 text-sm font-medium leading-tight",children:"Download Error Report (.csv)",href:o4((q=[A,l!=null],O6(q[0],q[1]))),onClick:R=>{h(new ni(5,[]))},download:"import_users_error_rows"})],["children",y.Children.toArray(Array.from(de))])])))],["children",y.Children.toArray(Array.from(X))])])))],["children",y.Children.toArray(Array.from(ae))])])))):ft(),$(()=>{let R;return H(k(c("div",w(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(R=K($(()=>{let le,U;return H(A.HasErrors?k(c("div",w(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3"],["onClick",ye=>{D(!A.ShowingOnlyRowsWithErrors)}],(le=[c("input",w(g([["type","checkbox"],["checked",A.ShowingOnlyRowsWithErrors],(U="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",U]),["onKeyPress",ye=>{ye.preventDefault(),ye.key==="Enter"&&D(!A.ShowingOnlyRowsWithErrors)}]]))),c("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",y.Children.toArray(Array.from(le))])])))):ft(),$(()=>{let ye,ge,z,Se,we,$e,ie,he,ee,ne,Ie;return k(c("div",w(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(ye=[c("div",w(ce((ge=[c("div",w(g([["className","w-full max-h-[470px] overflow-auto"],(z=[c("table",w(g([["className","w-full divide-y divide-gray-300"],(Se=[c("thead",w(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(we=[($e=K($(()=>H(k(c("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),$(()=>H(k(c("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"Error detail"})),$(()=>{let Z;return H(k(c("th",w(g([["scope","col"],["className","px-3 py-2.5 text-left"],(Z=[c("span",{children:["First name "]}),c("span",{className:"text-red-500",children:"*"})],["children",y.Children.toArray(Array.from(Z))])])))),$(()=>{let Ue;return H(k(c("th",w(g([["scope","col"],["className","px-3 py-2.5 text-left"],(Ue=[c("span",{children:["Last name "]}),c("span",{className:"text-red-500",children:"*"})],["children",y.Children.toArray(Array.from(Ue))])])))),$(()=>{let be;return H(k(c("th",w(g([["scope","col"],["className","px-3 py-2.5 text-left"],(be=[c("span",{children:["Email "]}),c("span",{className:"text-red-500",children:"*"})],["children",y.Children.toArray(Array.from(be))])])))),$(()=>H(k(c("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"Mobile Phone"})),$(()=>l!=null?k(c("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"Employment Basis"})):ft()))))}))}))})))))),c("tr",{children:y.Children.toArray(Array.from($e))}))],["children",y.Children.toArray(Array.from(we))])]))),c("tbody",w(g([["className","divide-y divide-gray-200"],(ie=K($(()=>Le(Z=>c("tr",w(K($(()=>H(k(["key",Z.RowNumber]),$(()=>{let Ue;return H((Ue=Z.RowNumber%2|0,Z.Errors==null?k(Ue===1?["className","bg-white"]:["className","bg-gray-50"]):k(["className","bg-amber-50"])),$(()=>{let be;return k((be=K($(()=>H(k(c("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:Z.RowNumber})),$(()=>H(k(c("td",w(K($(()=>H(k(["className","whitespace-nowrap px-3 py-2.5"]),$(()=>{let Ne,Be,Ee;return Z.Errors!=null?k((Ne=[c("div",w(g([(Be="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",Be]),(Ee=K($(()=>H(k(c("span",{children:[V(Z.Errors).Summary]})),$(()=>{let dt;const Pt=V(Z.Errors).Details;return Pt==null?ft():k(c("div",w(g([["className","pl-1 text-amber-700 items-center inline-flex"],(dt=[c(r4,{text:Pt,children:[q6([])]})],["children",y.Children.toArray(Array.from(dt))])]))))})))),["children",y.Children.toArray(Array.from(Ee))])])))],["children",y.Children.toArray(Array.from(Ne))])):ft()}))))))),$(()=>H(k(c("td",w(K($(()=>{let Ne,Be;const Ee=Z.FirstName;return Ee[0]==null?ft():Ee[1]?(Ne=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),$(()=>k(["children",Ne])))):(Be=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),$(()=>k(["children",Be]))))}))))),$(()=>H(k(c("td",w(K($(()=>{let Ne,Be;const Ee=Z.LastName;return Ee[0]==null?ft():Ee[1]?(Ne=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),$(()=>k(["children",Ne])))):(Be=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),$(()=>k(["children",Be]))))}))))),$(()=>H(k(c("td",w(K($(()=>{let Ne,Be;const Ee=Z.Email;return Ee[0]==null?ft():Ee[1]?(Ne=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),$(()=>k(["children",Ne])))):(Be=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),$(()=>k(["children",Be]))))}))))),$(()=>H(k(c("td",w(K($(()=>{let Ne,Be;const Ee=Z.MobilePhone;return Ee[0]==null?ft():Ee[1]?(Ne=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),$(()=>k(["children",Ne])))):(Be=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),$(()=>k(["children",Be]))))}))))),$(()=>l!=null?k(c("td",w(K($(()=>{let Ne,Be;const Ee=Z.EmploymentBasis;return Ee[0]==null?ft():Ee[1]?(Ne=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),$(()=>k(["children",Ne])))):(Be=Ee[0],H(k(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),$(()=>k(["children",Be]))))}))))):ft())))))))))))))),["children",y.Children.toArray(Array.from(be))]))}))})))))),A.Page))),["children",y.Children.toArray(Array.from(ie))])])))],["children",y.Children.toArray(Array.from(Se))])])))],["children",y.Children.toArray(Array.from(z))])]))),c("div",w(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(he=[c("div",w(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(ee=[(ne=g([c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.RowFrom}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.RowTo}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.ShowingOnlyRowsWithErrors?A.NumberOfInvalidRows:A.NumberOfRows}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),c("div",{children:y.Children.toArray(Array.from(ne))})),c("div",w(g([["className","justify-start items-start gap-3 flex"],(Ie=[c("button",w(K($(()=>{let Z;return H((Z=j,Z==null?k(["disabled",!0]):k(["onClick",Z])),$(()=>{let Ue;return H(k((Ue="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",Ue])),$(()=>{let be;return k((be=[c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",y.Children.toArray(Array.from(be))]))}))}))})))),c("button",w(K($(()=>{let Z;return H((Z=P,Z==null?k(["disabled",!0]):k(["onClick",Z])),$(()=>{let Ue;return H(k((Ue="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",Ue])),$(()=>{let be;return k((be=[c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",y.Children.toArray(Array.from(be))]))}))}))}))))],["children",y.Children.toArray(Array.from(Ie))])])))],["children",y.Children.toArray(Array.from(ee))])])))],["children",y.Children.toArray(Array.from(he))])])))],["children",y.Children.toArray(Array.from(ge))]))))],["children",y.Children.toArray(Array.from(ye))])]))))}))})),["children",y.Children.toArray(Array.from(R))])])))),$(()=>{let le,U,ye,ge,z,Se,we,$e,ie,he,ee,ne,Ie,Z,Ue;return H(A.NumberOfValidRows>0?k(c("div",w(g([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(le=[z6([]),c("div",w(g([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(U=[c("div",w(g([["className","flex-col justify-start items-start gap-2 flex"],(ye=[c("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${A.NumberOfValidRows} users to workplace benefits`})],["children",y.Children.toArray(Array.from(ye))])]))),_o("What is workplace benefits?",()=>{x(!0)}),c("div",w(ce((ge=[c("div",w(g([["className","flex-col justify-start items-start gap-2 flex"],(z=[c("div",w(g([["key",nt(new Nt(1,[]))],["className","relative flex items-start"],(Se=[c("div",w(g([["className","flex h-6 items-center py-2"],["onClick",be=>{N(new Nt(1,[]))}],(we=[c("input",w(g([["id",nt(new Nt(1,[]))],["name","InviteTiming"],["type","radio"],($e="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",$e]),["checked",te(A.InviteTiming,new Nt(1,[]))],["onChange",be=>{be.target.checked,N(new Nt(1,[]))}]])))],["children",y.Children.toArray(Array.from(we))])]))),c("div",w(g([["className","ml-3 text-sm/6"],(ie=[c("label",{for:nt(new Nt(1,[])),className:"text-gray-700 text-sm font-medium leading-tight",children:"Import now, Invite later"}),c("p",{id:`${nt(new Nt(1,[]))}-description`,className:"text-gray-500 text-sm font-normal leading-tight",children:"We’ll import your users now. You can invite them to workplace benefits at any time later."})],["children",y.Children.toArray(Array.from(ie))])])))],["children",y.Children.toArray(Array.from(Se))])])))],["children",y.Children.toArray(Array.from(z))])]))),c("div",w(ce((he=[c("div",w(g([["key",nt(new Nt(0,[]))],["className","relative flex items-start"],(ee=[c("div",w(g([["className","flex h-6 items-center py-2"],["onClick",be=>{N(new Nt(0,[]))}],(ne=[c("input",w(g([["id",nt(new Nt(0,[]))],["name","InviteTiming"],["type","radio"],(Ie="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",Ie]),["checked",te(A.InviteTiming,new Nt(0,[]))],["onChange",be=>{be.target.checked,N(new Nt(0,[]))}]])))],["children",y.Children.toArray(Array.from(ne))])]))),c("div",w(g([["className","ml-3 text-sm/6"],(Z=[c("label",{for:nt(new Nt(0,[])),className:"text-gray-700 text-sm font-medium leading-tight",children:"Import and invite now"}),c("p",w(g([["id",`${nt(new Nt(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(Ue="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",Ue])])))],["children",y.Children.toArray(Array.from(Z))])])))],["children",y.Children.toArray(Array.from(ee))])])))],["children",y.Children.toArray(Array.from(he))]))))],["children",y.Children.toArray(Array.from(ge))]))))],["children",y.Children.toArray(Array.from(U))])])))],["children",y.Children.toArray(Array.from(le))])])))):ft(),$(()=>{let be,Ne,Be,Ee,dt,Pt,Ze;return k(c("div",w(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(be=[c("div",w(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(Ne=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",w(g([["className","justify-start items-center gap-2 flex"],(Be=[c("button",w(g([(Ee="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",Ee]),["onClick",jt=>{s()}],(dt=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",y.Children.toArray(Array.from(dt))])]))),c("button",w(g([(Pt="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-emerald-600 hover:enabled:bg-emerald-700 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Pt]),["onClick",jt=>{T||I(!0)}],["disabled",A.NumberOfValidRows===0],(Ze=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:`Import ${A.NumberOfValidRows} users`})],["children",y.Children.toArray(Array.from(Ze))])])))],["children",y.Children.toArray(Array.from(Be))])])))],["children",y.Children.toArray(Array.from(Ne))])])))],["children",y.Children.toArray(Array.from(be))])]))))}))}))}))})))),["children",y.Children.toArray(Array.from(F))])])))],["children",y.Children.toArray(Array.from(O))]))}else return k((S=[i4()],["children",y.Children.toArray(Array.from(S))]))}))))))],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(t))])])))}class An extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class ps extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Parse","CancelParsing","Remove"]}}var gs={exports:{}};/* @license
|
|
48
|
+
`))}else{let p=d.props,h=p==null?void 0:p.className,m=typeof h=="function"?(..._)=>b4(h(..._),l.className):b4(h,l.className),g=m?{className:m}:{},y=ka(d.props,Ke(s5(l,["ref"])));for(let _ in f)_ in y&&delete f[_];return q4(d,Object.assign({},y,f,u,{ref:i(Ew(d),u.ref)},g))}return c(o,Object.assign({},s5(l,["ref"]),o!==K0&&u,o!==K0&&f),d)}function xw(){let e=i0([]),t=$0(r=>{for(let n of e.current)n!=null&&(typeof n=="function"?n(r):n.current=r)},[]);return(...r)=>{if(!r.every(n=>n==null))return e.current=r,t}}function Sw(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function ka(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];if(t.disabled||t["aria-disabled"])for(let n in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(n)&&(r[n]=[i=>{var o;return(o=i==null?void 0:i.preventDefault)==null?void 0:o.call(i)}]);for(let n in r)Object.assign(t,{[n](i,...o){let s=r[n];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function Ia(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];for(let n in r)Object.assign(t,{[n](...i){let o=r[n];for(let s of o)s==null||s(...i)}});return t}function w1(e){var t;return Object.assign(U4(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Ke(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function s5(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Ew(e){return Q.version.split(".")[0]>="19"?e.props.ref:e.ref}function Aw(e,t,r){let[n,i]=S0(r),o=e!==void 0,s=i0(o),a=i0(!1),l=i0(!1);return o&&!s.current&&!a.current?(a.current=!0,s.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&s.current&&!l.current&&(l.current=!0,s.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:n,c0(u=>(o||i(u),t==null?void 0:t(u)))]}function Tw(e){let[t]=S0(e);return t}function Oa(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))Da(r,Ra(t,n),i);return r}function Ra(e,t){return e?e+"["+t+"]":t}function Da(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())Da(e,Ra(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):typeof r=="boolean"?e.push([t,r?"1":"0"]):typeof r=="string"?e.push([t,r]):typeof r=="number"?e.push([t,`${r}`]):r==null?e.push([t,""]):Oa(r,t,e)}function Mw(e){var t,r;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let i of n.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(r=n.requestSubmit)==null||r.call(n)}}let Nw="span";var kt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(kt||{});function kw(e,t){var r;let{features:n=1,...i}=e,o={ref:t,"aria-hidden":(n&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return E1()({ourProps:o,theirProps:i,slot:{},defaultTag:Nw,name:"Hidden"})}let k3=w1(kw),Iw=u1(null);function Ow({children:e}){let t=U0(Iw);if(!t)return Q.createElement(Q.Fragment,null,e);let{target:r}=t;return r?on(Q.createElement(Q.Fragment,null,e),r):null}function Rw({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[o,s]=S0(null),a=h2();return L0(()=>{if(n&&o)return a.addEventListener(o,"reset",n)},[o,t,n]),Q.createElement(Ow,null,Q.createElement(Dw,{setForm:s,formId:t}),Oa(e).map(([l,u])=>Q.createElement(k3,{features:kt.Hidden,...Ke({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:l,value:u,...i})})))}function Dw({setForm:e,formId:t}){return L0(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:Q.createElement(k3,{features:kt.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:r=>{if(!r)return;let n=r.closest("form");n&&e(n)}})}let $w=u1(void 0);function $a(){return U0($w)}function Fw(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(t==null?void 0:t.getAttribute("disabled"))==="";return n&&Pw(r)?!1:n}function Pw(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Fa=Symbol();function Lw(e,t=!0){return Object.assign(e,{[Fa]:t})}function R1(...e){let t=i0(e);L0(()=>{t.current=e},[e]);let r=c0(n=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(n):i.current=n)});return e.every(n=>n==null||(n==null?void 0:n[Fa]))?void 0:r}let Tn=u1(null);Tn.displayName="DescriptionContext";function Pa(){let e=U0(Tn);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Pa),t}return e}function Bw(){var e,t;return(t=(e=U0(Tn))==null?void 0:e.value)!=null?t:void 0}function Hw(){let[e,t]=S0([]);return[e.length>0?e.join(" "):void 0,f0(()=>function(r){let n=c0(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=f0(()=>({register:n,slot:r.slot,name:r.name,props:r.props,value:r.value}),[n,r.slot,r.name,r.props,r.value]);return Q.createElement(Tn.Provider,{value:i},r.children)},[t])]}let Vw="p";function Uw(e,t){let r=ie(),n=T6(),{id:i=`headlessui-description-${r}`,...o}=e,s=Pa(),a=R1(t);r1(()=>s.register(i),[i,s.register]);let l=n||!1,u=f0(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return E1()({ourProps:d,theirProps:o,slot:u,defaultTag:Vw,name:s.name||"Description"})}let jw=w1(Uw),Ww=Object.assign(jw,{});var v1=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(v1||{});let Mn=u1(null);Mn.displayName="LabelContext";function La(){let e=U0(Mn);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,La),t}return e}function Ba(e){var t,r,n;let i=(r=(t=U0(Mn))==null?void 0:t.value)!=null?r:void 0;return((n=e==null?void 0:e.length)!=null?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function qw({inherit:e=!1}={}){let t=Ba(),[r,n]=S0([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,f0(()=>function(o){let s=c0(l=>(n(u=>[...u,l]),()=>n(u=>{let d=u.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=f0(()=>({register:s,slot:o.slot,name:o.name,props:o.props,value:o.value}),[s,o.slot,o.name,o.props,o.value]);return Q.createElement(Mn.Provider,{value:a},o.children)},[n])]}let Gw="label";function zw(e,t){var r;let n=ie(),i=La(),o=$a(),s=T6(),{id:a=`headlessui-label-${n}`,htmlFor:l=o??((r=i.props)==null?void 0:r.htmlFor),passive:u=!1,...d}=e,f=R1(t);r1(()=>i.register(a),[a,i.register]);let p=c0(y=>{let _=y.currentTarget;if(_ instanceof HTMLLabelElement&&y.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(y),_ instanceof HTMLLabelElement){let C=document.getElementById(_.htmlFor);if(C){let E=C.getAttribute("disabled");if(E==="true"||E==="")return;let M=C.getAttribute("aria-disabled");if(M==="true"||M==="")return;(C instanceof HTMLInputElement&&(C.type==="radio"||C.type==="checkbox")||C.role==="radio"||C.role==="checkbox"||C.role==="switch")&&C.click(),C.focus({preventScroll:!0})}}}),h=s||!1,m=f0(()=>({...i.slot,disabled:h}),[i.slot,h]),g={ref:f,...i.props,id:a,htmlFor:l,onClick:p};return u&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in d&&delete d.onClick),E1()({ourProps:g,theirProps:d,slot:m,defaultTag:l?Gw:"div",name:i.name||"Label"})}let Yw=w1(zw),Zw=Object.assign(Yw,{}),Kw=u1(()=>{});function Jw({value:e,children:t}){return Q.createElement(Kw.Provider,{value:e},t)}function Xw(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function Qw(e=Xw){return $0((t,r)=>{if(typeof e=="string"){let n=e;return(t==null?void 0:t[n])===(r==null?void 0:r[n])}return e(t,r)},[e])}function ey(e){if(e===null)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function ty(e,t=!1){let[r,n]=U2(()=>({}),{}),i=f0(()=>ey(e),[e,r]);return r1(()=>{if(!e)return;let o=new ResizeObserver(n);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}let ry=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};function Ha(e,t){let r=e(),n=new Set;return{getSnapshot(){return r},subscribe(i){return n.add(i),()=>n.delete(i)},dispatch(i,...o){let s=t[i].call(r,...o);s&&(r=s,n.forEach(a=>a()))}}}function Va(e){return nn(e.subscribe,e.getSnapshot,e.getSnapshot)}let ny=new ry(()=>Ha(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let r=this.slice();return r.splice(t,1),r}}));function Wt(e,t){let r=ny.get(t),n=ie(),i=Va(r);if(r1(()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)},[r,e]),!e)return!1;let o=i.indexOf(n),s=i.length;return o===-1&&(o=s,s+=1),o===s-1}let _4=new Map,x3=new Map;function Ei(e){var t;let r=(t=x3.get(e))!=null?t:0;return x3.set(e,r+1),r!==0?()=>Ai(e):(_4.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Ai(e))}function Ai(e){var t;let r=(t=x3.get(e))!=null?t:1;if(r===1?x3.delete(e):x3.set(e,r-1),r!==1)return;let n=_4.get(e);n&&(n["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,_4.delete(e))}function Ua(e,{allowed:t,disallowed:r}={}){let n=Wt(e,"inert-others");r1(()=>{var i,o;if(!n)return;let s=qe();for(let l of(i=r==null?void 0:r())!=null?i:[])l&&s.add(Ei(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let u=jt(l);if(!u)continue;let d=l.parentElement;for(;d&&d!==u.body;){for(let f of d.children)a.some(p=>f.contains(p))||s.add(Ei(f));d=d.parentElement}}return s.dispose},[n,t,r])}function ja(e,t,r){let n=m2(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});L0(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=qe();if(typeof ResizeObserver<"u"){let s=new ResizeObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}if(typeof IntersectionObserver<"u"){let s=new IntersectionObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}return()=>o.dispose()},[t,n,e])}let Zr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),iy=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ue=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(ue||{}),C4=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(C4||{}),oy=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(oy||{});function Wa(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Zr)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function sy(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(iy)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var M6=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(M6||{});function qa(e,t=0){var r;return e===((r=jt(e))==null?void 0:r.body)?!1:U1(t,{0(){return e.matches(Zr)},1(){let n=e;for(;n!==null;){if(n.matches(Zr))return!0;n=n.parentElement}return!1}})}var ay=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ay||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Fe(e){e==null||e.focus({preventScroll:!0})}let ly=["textarea","input"].join(",");function uy(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,ly))!=null?r:!1}function Ga(e,t=r=>r){return e.slice().sort((r,n)=>{let i=t(r),o=t(n);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function cy(e,t){return bt(Wa(),t,{relativeTo:e})}function bt(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?Ga(e):e:t&64?sy(e):Wa(e);i.length>0&&s.length>1&&(s=s.filter(h=>!i.some(m=>m!=null&&"current"in m?(m==null?void 0:m.current)===h:m===h))),n=n??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(n))-1;if(t&4)return Math.max(0,s.indexOf(n))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=s.length,p;do{if(d>=f||d+f<=0)return 0;let h=l+d;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}p=s[h],p==null||p.focus(u),d+=a}while(p!==o.activeElement);return t&6&&uy(p)&&p.select(),2}function za(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function dy(){return/Android/gi.test(window.navigator.userAgent)}function fy(){return za()||dy()}function u3(e,t,r,n){let i=m2(r);L0(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,n),()=>document.removeEventListener(t,o,n)},[e,t,n])}function Ya(e,t,r,n){let i=m2(r);L0(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,n),()=>window.removeEventListener(t,o,n)},[e,t,n])}const Ti=30;function Za(e,t,r){let n=Wt(e,"outside-click"),i=m2(r),o=$0(function(l,u){if(l.defaultPrevented)return;let d=u(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function p(h){return typeof h=="function"?p(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let p of f)if(p!==null&&(p.contains(d)||l.composed&&l.composedPath().includes(p)))return;return!qa(d,M6.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=i0(null);u3(n,"pointerdown",l=>{var u,d;s.current=((d=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:d[0])||l.target},!0),u3(n,"mousedown",l=>{var u,d;s.current=((d=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:d[0])||l.target},!0),u3(n,"click",l=>{fy()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=i0({x:0,y:0});u3(n,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),u3(n,"touchend",l=>{let u={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(u.x-a.current.x)>=Ti||Math.abs(u.y-a.current.y)>=Ti))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),Ya(n,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function qt(...e){return f0(()=>jt(...e),[...e])}function Ka(e,t,r,n){let i=m2(r);L0(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function hy(e,t){return f0(()=>{var r;if(e.type)return e.type;let n=(r=e.as)!=null?r:"button";if(typeof n=="string"&&n.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function my(){let e;return{before({doc:t}){var r;let n=t.documentElement,i=(r=t.defaultView)!=null?r:window;e=Math.max(0,i.innerWidth-n.clientWidth)},after({doc:t,d:r}){let n=t.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,e-i);r.style(n,"paddingRight",`${o}px`)}}}function py(){return za()?{before({doc:e,d:t,meta:r}){function n(i){return r.containers.flatMap(o=>o()).some(o=>o.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=qe();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,s=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:u}=new URL(l.href),d=e.querySelector(u);d&&!n(d)&&(s=d)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(n(a.target)){let l=a.target;for(;l.parentElement&&n(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(n(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;o!==l&&window.scrollTo(0,o),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function gy(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function wy(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let M2=Ha(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:qe(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:wy(r)},i=[py(),my(),gy()];i.forEach(({before:o})=>o==null?void 0:o(n)),i.forEach(({after:o})=>o==null?void 0:o(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});M2.subscribe(()=>{let e=M2.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let n=t.get(r.doc)==="hidden",i=r.count!==0;(i&&!n||!i&&n)&&M2.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&M2.dispatch("TEARDOWN",r)}});function yy(e,t,r=()=>({containers:[]})){let n=Va(M2),i=t?n.get(t):void 0,o=i?i.count>0:!1;return r1(()=>{if(!(!t||!e))return M2.dispatch("PUSH",t,r),()=>M2.dispatch("POP",t,r)},[e,t]),o}function Ja(e,t,r=()=>[document.body]){let n=Wt(e,"scroll-lock");yy(n,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function Mi(e){return[e.screenX,e.screenY]}function vy(){let e=i0([-1,-1]);return{wasMoved(t){let r=Mi(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=Mi(t)}}}function by(e=0){let[t,r]=S0(e),n=$0(l=>r(l),[t]),i=$0(l=>r(u=>u|l),[t]),o=$0(l=>(t&l)===l,[t]),s=$0(l=>r(u=>u&~l),[r]),a=$0(l=>r(u=>u^l),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var _y={},Ni,ki;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Ni=process==null?void 0:_y)==null?void 0:Ni.NODE_ENV)==="test"&&typeof((ki=Element==null?void 0:Element.prototype)==null?void 0:ki.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
49
|
+
`)),[]});var Cy=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Cy||{});function Xa(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function Qa(e,t,r,n){let[i,o]=S0(r),{hasFlag:s,addFlag:a,removeFlag:l}=by(e&&i?3:0),u=i0(!1),d=i0(!1),f=h2();return r1(()=>{var p;if(e){if(r&&o(!0),!t){r&&a(3);return}return(p=n==null?void 0:n.start)==null||p.call(n,r),xy(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(r?(a(3),l(4)):(a(4),l(2)))},run(){d.current?r?(l(3),a(4)):(l(4),a(3)):r?l(1):a(1)},done(){var h;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(u.current=!1,l(7),r||o(!1),(h=n==null?void 0:n.end)==null||h.call(n,r))}})}},[e,r,t,f]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function xy(e,{prepare:t,run:r,done:n,inFlight:i}){let o=qe();return Ey(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(Sy(e,n))})}),o.dispose}function Sy(e,t){var r,n;let i=qe();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=(n=(r=e.getAnimations)==null?void 0:r.call(e).filter(a=>a instanceof CSSTransition))!=null?n:[];return s.length===0?(t(),i.dispose):(Promise.allSettled(s.map(a=>a.finished)).then(()=>{o||t()}),i.dispose)}function Ey(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}function N6(e,t){let r=i0([]),n=c0(e);L0(()=>{let i=[...r.current];for(let[o,s]of t.entries())if(r.current[o]!==s){let a=n(t,i);return r.current=t,a}},[n,...t])}function Nn(){return typeof window<"u"}function Gt(e){return e9(e)?(e.nodeName||"").toLowerCase():"#document"}function J1(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ee(e){var t;return(t=(e9(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function e9(e){return Nn()?e instanceof Node||e instanceof J1(e).Node:!1}function $1(e){return Nn()?e instanceof Element||e instanceof J1(e).Element:!1}function _e(e){return Nn()?e instanceof HTMLElement||e instanceof J1(e).HTMLElement:!1}function Ii(e){return!Nn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J1(e).ShadowRoot}function tr(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=he(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Ay(e){return["table","td","th"].includes(Gt(e))}function kn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function k6(e){const t=I6(),r=$1(e)?he(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ty(e){let t=u2(e);for(;_e(t)&&!It(t);){if(k6(t))return t;if(kn(t))return null;t=u2(t)}return null}function I6(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function It(e){return["html","body","#document"].includes(Gt(e))}function he(e){return J1(e).getComputedStyle(e)}function In(e){return $1(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function u2(e){if(Gt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ii(e)&&e.host||Ee(e);return Ii(t)?t.host:t}function t9(e){const t=u2(e);return It(t)?e.ownerDocument?e.ownerDocument.body:e.body:_e(t)&&tr(t)?t:t9(t)}function I3(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=t9(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=J1(i);if(o){const a=x4(s);return t.concat(s,s.visualViewport||[],tr(i)?i:[],a&&r?I3(a):[])}return t.concat(i,I3(i,[],r))}function x4(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function My(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}const L2=Math.min,k1=Math.max,O3=Math.round,mr=Math.floor,ve=e=>({x:e,y:e}),Ny={left:"right",right:"left",bottom:"top",top:"bottom"},ky={start:"end",end:"start"};function Oi(e,t,r){return k1(e,L2(t,r))}function zt(e,t){return typeof e=="function"?e(t):e}function c2(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function r9(e){return e==="x"?"y":"x"}function n9(e){return e==="y"?"height":"width"}function B2(e){return["top","bottom"].includes(c2(e))?"y":"x"}function i9(e){return r9(B2(e))}function Iy(e,t,r){r===void 0&&(r=!1);const n=rr(e),i=i9(e),o=n9(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Kr(s)),[s,Kr(s)]}function Oy(e){const t=Kr(e);return[S4(e),t,S4(t)]}function S4(e){return e.replace(/start|end/g,t=>ky[t])}function Ry(e,t,r){const n=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?o:s;default:return[]}}function Dy(e,t,r,n){const i=rr(e);let o=Ry(c2(e),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(S4)))),o}function Kr(e){return e.replace(/left|right|bottom|top/g,t=>Ny[t])}function $y(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fy(e){return typeof e!="number"?$y(e):{top:e,right:e,bottom:e,left:e}}function Jr(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Ri(e,t,r){let{reference:n,floating:i}=e;const o=B2(t),s=i9(t),a=n9(s),l=c2(t),u=o==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,p=n[a]/2-i[a]/2;let h;switch(l){case"top":h={x:d,y:n.y-i.height};break;case"bottom":h={x:d,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:f};break;case"left":h={x:n.x-i.width,y:f};break;default:h={x:n.x,y:n.y}}switch(rr(t)){case"start":h[s]-=p*(r&&u?-1:1);break;case"end":h[s]+=p*(r&&u?-1:1);break}return h}const Py=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Ri(u,n,l),p=n,h={},m=0;for(let g=0;g<a.length;g++){const{name:y,fn:_}=a[g],{x:C,y:E,data:M,reset:O}=await _({x:d,y:f,initialPlacement:n,placement:p,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});d=C??d,f=E??f,h={...h,[y]:{...h[y],...M}},O&&m<=50&&(m++,typeof O=="object"&&(O.placement&&(p=O.placement),O.rects&&(u=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:d,y:f}=Ri(u,p,l)),g=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:h}};async function On(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=zt(t,e),m=Fy(h),y=a[p?f==="floating"?"reference":"floating":f],_=Jr(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(y)))==null||r?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),C=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),M=await(o.isElement==null?void 0:o.isElement(E))?await(o.getScale==null?void 0:o.getScale(E))||{x:1,y:1}:{x:1,y:1},O=Jr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:E,strategy:l}):C);return{top:(_.top-O.top+m.top)/M.y,bottom:(O.bottom-_.bottom+m.bottom)/M.y,left:(_.left-O.left+m.left)/M.x,right:(O.right-_.right+m.right)/M.x}}const Ly=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=zt(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const _=c2(i),C=B2(a),E=c2(a)===a,M=await(l.isRTL==null?void 0:l.isRTL(u.floating)),O=p||(E||!g?[Kr(a)]:Oy(a)),R=m!=="none";!p&&R&&O.push(...Dy(a,g,m,M));const $=[a,...O],S=await On(t,y),x=[];let A=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&x.push(S[_]),f){const V=Iy(i,s,M);x.push(S[V[0]],S[V[1]])}if(A=[...A,{placement:i,overflows:x}],!x.every(V=>V<=0)){var N,P;const V=(((N=o.flip)==null?void 0:N.index)||0)+1,o0=$[V];if(o0)return{data:{index:V,overflows:A},reset:{placement:o0}};let J=(P=A.filter(X=>X.overflows[0]<=0).sort((X,L)=>X.overflows[1]-L.overflows[1])[0])==null?void 0:P.placement;if(!J)switch(h){case"bestFit":{var F;const X=(F=A.filter(L=>{if(R){const q=B2(L.placement);return q===C||q==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(q=>q>0).reduce((q,U)=>q+U,0)]).sort((L,q)=>L[1]-q[1])[0])==null?void 0:F[0];X&&(J=X);break}case"initialPlacement":J=a;break}if(i!==J)return{reset:{placement:J}}}return{}}}};async function By(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=c2(r),a=rr(r),l=B2(r)==="y",u=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=zt(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof m=="number"&&(h=a==="end"?m*-1:m),l?{x:h*d,y:p*u}:{x:p*u,y:h*d}}const Hy=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await By(t,e);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},Vy=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:_,y:C}=y;return{x:_,y:C}}},...l}=zt(e,t),u={x:r,y:n},d=await On(t,l),f=B2(c2(i)),p=r9(f);let h=u[p],m=u[f];if(o){const y=p==="y"?"top":"left",_=p==="y"?"bottom":"right",C=h+d[y],E=h-d[_];h=Oi(C,h,E)}if(s){const y=f==="y"?"top":"left",_=f==="y"?"bottom":"right",C=m+d[y],E=m-d[_];m=Oi(C,m,E)}const g=a.fn({...t,[p]:h,[f]:m});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[p]:o,[f]:s}}}}}},Uy=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=zt(e,t),d=await On(t,u),f=c2(i),p=rr(i),h=B2(i)==="y",{width:m,height:g}=o.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=p===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,y=p==="end"?"top":"bottom");const C=g-d.top-d.bottom,E=m-d.left-d.right,M=L2(g-d[y],C),O=L2(m-d[_],E),R=!t.middlewareData.shift;let $=M,S=O;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(S=E),(n=t.middlewareData.shift)!=null&&n.enabled.y&&($=C),R&&!p){const A=k1(d.left,0),N=k1(d.right,0),P=k1(d.top,0),F=k1(d.bottom,0);h?S=m-2*(A!==0||N!==0?A+N:k1(d.left,d.right)):$=g-2*(P!==0||F!==0?P+F:k1(d.top,d.bottom))}await l({...t,availableWidth:S,availableHeight:$});const x=await s.getDimensions(a.floating);return m!==x.width||g!==x.height?{reset:{rects:!0}}:{}}}};function o9(e){const t=he(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=_e(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=O3(r)!==o||O3(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function O6(e){return $1(e)?e:e.contextElement}function _t(e){const t=O6(e);if(!_e(t))return ve(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=o9(t);let s=(o?O3(r.width):r.width)/n,a=(o?O3(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const jy=ve(0);function s9(e){const t=J1(e);return!I6()||!t.visualViewport?jy:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wy(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==J1(e)?!1:t}function H2(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=O6(e);let s=ve(1);t&&(n?$1(n)&&(s=_t(n)):s=_t(e));const a=Wy(o,r,n)?s9(o):ve(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const p=J1(o),h=n&&$1(n)?J1(n):n;let m=p,g=x4(m);for(;g&&n&&h!==m;){const y=_t(g),_=g.getBoundingClientRect(),C=he(g),E=_.left+(g.clientLeft+parseFloat(C.paddingLeft))*y.x,M=_.top+(g.clientTop+parseFloat(C.paddingTop))*y.y;l*=y.x,u*=y.y,d*=y.x,f*=y.y,l+=E,u+=M,m=J1(g),g=x4(m)}}return Jr({width:d,height:f,x:l,y:u})}function R6(e,t){const r=In(e).scrollLeft;return t?t.left+r:H2(Ee(e)).left+r}function a9(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:R6(e,n)),o=n.top+t.scrollTop;return{x:i,y:o}}function qy(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",s=Ee(n),a=t?kn(t.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},u=ve(1);const d=ve(0),f=_e(n);if((f||!f&&!o)&&((Gt(n)!=="body"||tr(s))&&(l=In(n)),_e(n))){const h=H2(n);u=_t(n),d.x=h.x+n.clientLeft,d.y=h.y+n.clientTop}const p=s&&!f&&!o?a9(s,l,!0):ve(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:r.y*u.y-l.scrollTop*u.y+d.y+p.y}}function Gy(e){return Array.from(e.getClientRects())}function zy(e){const t=Ee(e),r=In(e),n=e.ownerDocument.body,i=k1(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=k1(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+R6(e);const a=-r.scrollTop;return he(n).direction==="rtl"&&(s+=k1(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}function Yy(e,t){const r=J1(e),n=Ee(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=I6();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function Zy(e,t){const r=H2(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=_e(e)?_t(e):ve(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,u=n*o.y;return{width:s,height:a,x:l,y:u}}function Di(e,t,r){let n;if(t==="viewport")n=Yy(e,r);else if(t==="document")n=zy(Ee(e));else if($1(t))n=Zy(t,r);else{const i=s9(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Jr(n)}function l9(e,t){const r=u2(e);return r===t||!$1(r)||It(r)?!1:he(r).position==="fixed"||l9(r,t)}function Ky(e,t){const r=t.get(e);if(r)return r;let n=I3(e,[],!1).filter(a=>$1(a)&&Gt(a)!=="body"),i=null;const o=he(e).position==="fixed";let s=o?u2(e):e;for(;$1(s)&&!It(s);){const a=he(s),l=k6(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||tr(s)&&!l&&l9(e,s))?n=n.filter(d=>d!==s):i=a,s=u2(s)}return t.set(e,n),n}function Jy(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=[...r==="clippingAncestors"?kn(t)?[]:Ky(t,this._c):[].concat(r),n],a=s[0],l=s.reduce((u,d)=>{const f=Di(t,d,i);return u.top=k1(f.top,u.top),u.right=L2(f.right,u.right),u.bottom=L2(f.bottom,u.bottom),u.left=k1(f.left,u.left),u},Di(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Xy(e){const{width:t,height:r}=o9(e);return{width:t,height:r}}function Qy(e,t,r){const n=_e(t),i=Ee(t),o=r==="fixed",s=H2(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=ve(0);if(n||!n&&!o)if((Gt(t)!=="body"||tr(i))&&(a=In(t)),n){const p=H2(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=R6(i));const u=i&&!n&&!o?a9(i,a):ve(0),d=s.left+a.scrollLeft-l.x-u.x,f=s.top+a.scrollTop-l.y-u.y;return{x:d,y:f,width:s.width,height:s.height}}function a5(e){return he(e).position==="static"}function $i(e,t){if(!_e(e)||he(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ee(e)===r&&(r=r.ownerDocument.body),r}function u9(e,t){const r=J1(e);if(kn(e))return r;if(!_e(e)){let i=u2(e);for(;i&&!It(i);){if($1(i)&&!a5(i))return i;i=u2(i)}return r}let n=$i(e,t);for(;n&&Ay(n)&&a5(n);)n=$i(n,t);return n&&It(n)&&a5(n)&&!k6(n)?r:n||Ty(e)||r}const ev=async function(e){const t=this.getOffsetParent||u9,r=this.getDimensions,n=await r(e.floating);return{reference:Qy(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function tv(e){return he(e).direction==="rtl"}const rv={convertOffsetParentRelativeRectToViewportRelativeRect:qy,getDocumentElement:Ee,getClippingRect:Jy,getOffsetParent:u9,getElementRects:ev,getClientRects:Gy,getDimensions:Xy,getScale:_t,isElement:$1,isRTL:tv};function c9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function nv(e,t){let r=null,n;const i=Ee(e);function o(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=u;if(a||t(),!p||!h)return;const m=mr(f),g=mr(i.clientWidth-(d+p)),y=mr(i.clientHeight-(f+h)),_=mr(d),E={rootMargin:-m+"px "+-g+"px "+-y+"px "+-_+"px",threshold:k1(0,L2(1,l))||1};let M=!0;function O(R){const $=R[0].intersectionRatio;if($!==l){if(!M)return s();$?s(!1,$):n=setTimeout(()=>{s(!1,1e-7)},1e3)}$===1&&!c9(u,e.getBoundingClientRect())&&s(),M=!1}try{r=new IntersectionObserver(O,{...E,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,E)}r.observe(e)}return s(!0),o}function iv(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=O6(e),d=i||o?[...u?I3(u):[],...I3(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",r,{passive:!0}),o&&_.addEventListener("resize",r)});const f=u&&a?nv(u,r):null;let p=-1,h=null;s&&(h=new ResizeObserver(_=>{let[C]=_;C&&C.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var E;(E=h)==null||E.observe(t)})),r()}),u&&!l&&h.observe(u),h.observe(t));let m,g=l?H2(e):null;l&&y();function y(){const _=H2(e);g&&!c9(g,_)&&r(),g=_,m=requestAnimationFrame(y)}return r(),()=>{var _;d.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),f==null||f(),(_=h)==null||_.disconnect(),h=null,l&&cancelAnimationFrame(m)}}const l5=On,ov=Hy,sv=Vy,av=Ly,lv=Uy,uv=(e,t,r)=>{const n=new Map,i={platform:rv,...r},o={...i.platform,_c:n};return Py(e,t,{...i,platform:o})};var Ar=typeof document<"u"?Ce:L0;function Xr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Xr(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&e.$$typeof)&&!Xr(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function d9(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fi(e,t){const r=d9(e);return Math.round(t*r)/r}function u5(e){const t=i0(e);return Ar(()=>{t.current=e}),t}function cv(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=S0({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=S0(n);Xr(p,n)||h(n);const[m,g]=S0(null),[y,_]=S0(null),C=$0(L=>{L!==R.current&&(R.current=L,g(L))},[]),E=$0(L=>{L!==$.current&&($.current=L,_(L))},[]),M=o||m,O=s||y,R=i0(null),$=i0(null),S=i0(d),x=l!=null,A=u5(l),N=u5(i),P=u5(u),F=$0(()=>{if(!R.current||!$.current)return;const L={placement:t,strategy:r,middleware:p};N.current&&(L.platform=N.current),uv(R.current,$.current,L).then(q=>{const U={...q,isPositioned:P.current!==!1};V.current&&!Xr(S.current,U)&&(S.current=U,K1(()=>{f(U)}))})},[p,t,r,N,P]);Ar(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,f(L=>({...L,isPositioned:!1})))},[u]);const V=i0(!1);Ar(()=>(V.current=!0,()=>{V.current=!1}),[]),Ar(()=>{if(M&&(R.current=M),O&&($.current=O),M&&O){if(A.current)return A.current(M,O,F);F()}},[M,O,F,A,x]);const o0=f0(()=>({reference:R,floating:$,setReference:C,setFloating:E}),[C,E]),J=f0(()=>({reference:M,floating:O}),[M,O]),X=f0(()=>{const L={position:r,left:0,top:0};if(!J.floating)return L;const q=Fi(J.floating,d.x),U=Fi(J.floating,d.y);return a?{...L,transform:"translate("+q+"px, "+U+"px)",...d9(J.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:q,top:U}},[r,a,J.floating,d.x,d.y]);return f0(()=>({...d,update:F,refs:o0,elements:J,floatingStyles:X}),[d,F,o0,J,X])}const f9=(e,t)=>({...ov(e),options:[e,t]}),dv=(e,t)=>({...sv(e),options:[e,t]}),fv=(e,t)=>({...av(e),options:[e,t]}),hv=(e,t)=>({...lv(e),options:[e,t]}),h9={...Ir},mv=h9.useInsertionEffect,pv=mv||(e=>e());function m9(e){const t=i0(()=>{});return pv(()=>{t.current=e}),$0(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current==null?void 0:t.current(...n)},[])}var E4=typeof document<"u"?Ce:L0;let Pi=!1,gv=0;const Li=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+gv++;function wv(){const[e,t]=S0(()=>Pi?Li():void 0);return E4(()=>{e==null&&t(Li())},[]),L0(()=>{Pi=!0},[]),e}const yv=h9.useId,vv=yv||wv;function bv(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(i=>i(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,((n=e.get(t))==null?void 0:n.filter(i=>i!==r))||[])}}}const _v=u1(null),Cv=u1(null),xv=()=>{var e;return((e=U0(_v))==null?void 0:e.id)||null},Sv=()=>U0(Cv),Ev="data-floating-ui-focusable";function Av(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=vv(),o=i0({}),[s]=S0(()=>bv()),a=xv()!=null,[l,u]=S0(n.reference),d=m9((h,m,g)=>{o.current.openEvent=h?m:void 0,s.emit("openchange",{open:h,event:m,reason:g,nested:a}),r==null||r(h,m,g)}),f=f0(()=>({setPositionReference:u}),[]),p=f0(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return f0(()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:s,floatingId:i,refs:f}),[t,d,p,s,i,f])}function Tv(e){e===void 0&&(e={});const{nodeId:t}=e,r=Av({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[o,s]=S0(null),[a,l]=S0(null),d=(i==null?void 0:i.domReference)||o,f=i0(null),p=Sv();E4(()=>{d&&(f.current=d)},[d]);const h=cv({...e,elements:{...i,...a&&{reference:a}}}),m=$0(E=>{const M=$1(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;l(M),h.refs.setReference(M)},[h.refs]),g=$0(E=>{($1(E)||E===null)&&(f.current=E,s(E)),($1(h.refs.reference.current)||h.refs.reference.current===null||E!==null&&!$1(E))&&h.refs.setReference(E)},[h.refs]),y=f0(()=>({...h.refs,setReference:g,setPositionReference:m,domReference:f}),[h.refs,g,m]),_=f0(()=>({...h.elements,domReference:d}),[h.elements,d]),C=f0(()=>({...h,...n,refs:y,elements:_,nodeId:t}),[h,y,_,t,n]);return E4(()=>{n.dataRef.current.floatingContext=C;const E=p==null?void 0:p.nodesRef.current.find(M=>M.id===t);E&&(E.context=C)}),f0(()=>({...h,context:C,refs:y,elements:_}),[h,y,_,C])}const Bi="active",Hi="selected";function c5(e,t,r){const n=new Map,i=r==="item";let o=e;if(i&&e){const{[Bi]:s,[Hi]:a,...l}=e;o=l}return{...r==="floating"&&{tabIndex:-1,[Ev]:""},...o,...t.map(s=>{const a=s?s[r]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[u,d]=l;if(!(i&&[Bi,Hi].includes(u)))if(u.indexOf("on")===0){if(n.has(u)||n.set(u,[]),typeof d=="function"){var f;(f=n.get(u))==null||f.push(d),s[u]=function(){for(var p,h=arguments.length,m=new Array(h),g=0;g<h;g++)m[g]=arguments[g];return(p=n.get(u))==null?void 0:p.map(y=>y(...m)).find(y=>y!==void 0)}}}else s[u]=d}),s),{})}}function Mv(e){e===void 0&&(e=[]);const t=e.map(a=>a==null?void 0:a.reference),r=e.map(a=>a==null?void 0:a.floating),n=e.map(a=>a==null?void 0:a.item),i=$0(a=>c5(a,e,"reference"),t),o=$0(a=>c5(a,e,"floating"),r),s=$0(a=>c5(a,e,"item"),n);return f0(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Vi(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Nv=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:n,onFallbackChange:i,offset:o=0,index:s=0,minItemsVisible:a=4,referenceOverflowThreshold:l=0,scrollRef:u,...d}=zt(e,t),{rects:f,elements:{floating:p}}=t,h=r.current[s],m=(u==null?void 0:u.current)||p,g=p.clientTop||m.clientTop,y=p.clientTop!==0,_=m.clientTop!==0,C=p===m;if(!h)return{};const E={...t,...await f9(-h.offsetTop-p.clientTop-f.reference.height/2-h.offsetHeight/2-o).fn(t)},M=await l5(Vi(E,m.scrollHeight+g+p.clientTop),d),O=await l5(E,{...d,elementContext:"reference"}),R=k1(0,M.top),$=E.y+R,A=(m.scrollHeight>m.clientHeight?N=>N:O3)(k1(0,m.scrollHeight+(y&&C||_?g*2:0)-R-k1(0,M.bottom)));if(m.style.maxHeight=A+"px",m.scrollTop=R,i){const N=m.offsetHeight<h.offsetHeight*L2(a,r.current.length)-1||O.top>=-l||O.bottom>=-l;K1(()=>i(N))}return n&&(n.current=await l5(Vi({...E,y:$},m.offsetHeight+g+p.clientTop),d)),{y:$}}});function kv(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=m9(a),u=i0(!1),d=i0(null),f=i0(null);L0(()=>{if(!i)return;function h(g){if(g.ctrlKey||!m||o.current==null)return;const y=g.deltaY,_=o.current.top>=-.5,C=o.current.bottom>=-.5,E=m.scrollHeight-m.clientHeight,M=y<0?-1:1,O=y<0?"max":"min";m.scrollHeight<=m.clientHeight||(!_&&y>0||!C&&y<0?(g.preventDefault(),K1(()=>{l(R=>R+Math[O](y,E*M))})):/firefox/i.test(My())&&(m.scrollTop+=y))}const m=(s==null?void 0:s.current)||n.floating;if(r&&m)return m.addEventListener("wheel",h),requestAnimationFrame(()=>{d.current=m.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,m.removeEventListener("wheel",h)}},[i,r,n.floating,o,s,l]);const p=f0(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const h=(s==null?void 0:s.current)||n.floating;if(!(!o.current||!h||!u.current)){if(d.current!==null){const m=h.scrollTop-d.current;(o.current.bottom<-.5&&m<-1||o.current.top<-.5&&m>1)&&K1(()=>l(g=>g+m))}requestAnimationFrame(()=>{d.current=h.scrollTop})}}}),[n.floating,l,o,s]);return f0(()=>i?{floating:p}:{},[i,p])}let Yt=u1({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Yt.displayName="FloatingContext";let D6=u1(null);D6.displayName="PlacementContext";function Iv(e){return f0(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function Ov(){return U0(Yt).setReference}function Rv(){return U0(Yt).getReferenceProps}function Dv(){let{getFloatingProps:e,slot:t}=U0(Yt);return $0((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor}),[e,t])}function $v(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=U0(D6),r=f0(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);r1(()=>{t==null||t(r??null)},[t,r]);let n=U0(Yt);return f0(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}let Ui=4;function Fv({children:e,enabled:t=!0}){let[r,n]=S0(null),[i,o]=S0(0),s=i0(null),[a,l]=S0(null);Pv(a);let u=t&&r!==null&&a!==null,{to:d="bottom",gap:f=0,offset:p=0,padding:h=0,inner:m}=Lv(r,a),[g,y="center"]=d.split(" ");r1(()=>{u&&o(0)},[u]);let{refs:_,floatingStyles:C,context:E}=Tv({open:u,placement:g==="selection"?y==="center"?"bottom":`bottom-${y}`:y==="center"?`${g}`:`${g}-${y}`,strategy:"absolute",transform:!1,middleware:[f9({mainAxis:g==="selection"?0:f,crossAxis:p}),dv({padding:h}),g!=="selection"&&fv({padding:h}),g==="selection"&&m?Nv({...m,padding:h,overflowRef:s,offset:i,minItemsVisible:Ui,referenceOverflowThreshold:h,onFallbackChange(N){var P,F;if(!N)return;let V=E.elements.floating;if(!V)return;let o0=parseFloat(getComputedStyle(V).scrollPaddingBottom)||0,J=Math.min(Ui,V.childElementCount),X=0,L=0;for(let q of(F=(P=E.elements.floating)==null?void 0:P.childNodes)!=null?F:[])if(q instanceof HTMLElement){let U=q.offsetTop,h0=U+q.clientHeight+o0,Y=V.scrollTop,D=Y+V.clientHeight;if(U>=Y&&h0<=D)J--;else{L=Math.max(0,Math.min(h0,D)-Math.max(U,Y)),X=q.clientHeight;break}}J>=1&&o(q=>{let U=X*J-L+o0;return q>=U?q:U})}}):null,hv({padding:h,apply({availableWidth:N,availableHeight:P,elements:F}){Object.assign(F.floating.style,{overflow:"auto",maxWidth:`${N}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${P}px)`})}})].filter(Boolean),whileElementsMounted:iv}),[M=g,O=y]=E.placement.split("-");g==="selection"&&(M="selection");let R=f0(()=>({anchor:[M,O].filter(Boolean).join(" ")}),[M,O]),$=kv(E,{overflowRef:s,onChange:o}),{getReferenceProps:S,getFloatingProps:x}=Mv([$]),A=c0(N=>{l(N),_.setFloating(N)});return c(D6.Provider,{value:n},c(Yt.Provider,{value:{setFloating:A,setReference:_.setReference,styles:C,getReferenceProps:S,getFloatingProps:x,slot:R}},e))}function Pv(e){r1(()=>{if(!e)return;let t=new MutationObserver(()=>{let r=window.getComputedStyle(e).maxHeight,n=parseFloat(r);if(isNaN(n))return;let i=parseInt(r);isNaN(i)||n!==i&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function Lv(e,t){var r,n,i;let o=d5((r=e==null?void 0:e.gap)!=null?r:"var(--anchor-gap, 0)",t),s=d5((n=e==null?void 0:e.offset)!=null?n:"var(--anchor-offset, 0)",t),a=d5((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function d5(e,t,r=void 0){let n=h2(),i=c0((l,u)=>{if(l==null)return[r,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!u)return[r,null];let d=ji(l,u);return[d,f=>{let p=p9(l);{let h=p.map(m=>window.getComputedStyle(u).getPropertyValue(m));n.requestAnimationFrame(function m(){n.nextFrame(m);let g=!1;for(let[_,C]of p.entries()){let E=window.getComputedStyle(u).getPropertyValue(C);if(h[_]!==E){h[_]=E,g=!0;break}}if(!g)return;let y=ji(l,u);d!==y&&(f(y),d=y)})}return n.dispose}]}return[r,null]}),o=f0(()=>i(e,t)[0],[e,t]),[s=o,a]=S0();return r1(()=>{let[l,u]=i(e,t);if(a(l),!!u)return u(a)},[e,t]),s}function p9(e){let t=/var\((.*)\)/.exec(e);if(t){let r=t[1].indexOf(",");if(r===-1)return[t[1]];let n=t[1].slice(0,r).trim(),i=t[1].slice(r+1).trim();return i?[n,...p9(i)]:[n]}return[]}function ji(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}function Bv(e,t){let[r,n]=S0(t);return!e&&r!==t&&n(t),e?r:t}let Rn=u1(null);Rn.displayName="OpenClosedContext";var F1=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(F1||{});function nr(){return U0(Rn)}function g9({value:e,children:t}){return Q.createElement(Rn.Provider,{value:e},t)}function Hv({children:e}){return Q.createElement(Rn.Provider,{value:null},e)}function Vv(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Xe=[];Vv(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||Xe[0]===t.target)return;let r=t.target;r=r.closest(Zr),Xe.unshift(r??t.target),Xe=Xe.filter(n=>n!=null&&n.isConnected),Xe.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Uv(e){throw new Error("Unexpected object: "+e)}var b1=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(b1||{});function f5(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=n??-1;switch(e.focus){case 0:{for(let o=0;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 1:{i===-1&&(i=r.length);for(let o=i-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 2:{for(let o=i+1;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 3:{for(let o=r.length-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 4:{for(let o=0;o<r.length;++o)if(t.resolveId(r[o],o,r)===e.id)return o;return n}case 5:return null;default:Uv(e)}}function w9(e){let t=c0(e),r=i0(!1);L0(()=>(r.current=!1,()=>{r.current=!0,An(()=>{r.current&&t()})}),[t])}function jv(){let e=typeof document>"u";return"useSyncExternalStore"in Ir?(t=>t.useSyncExternalStore)(Ir)(()=>()=>{},()=>!1,()=>!e):!1}function ir(){let e=jv(),[t,r]=S0(I2.isHandoffComplete);return t&&I2.isHandoffComplete===!1&&r(!1),L0(()=>{t!==!0&&r(!0)},[t]),L0(()=>I2.handoff(),[]),e?!1:t}let y9=u1(!1);function Wv(){return U0(y9)}function Wi(e){return Q.createElement(y9.Provider,{value:e.force},e.children)}function qv(e){let t=Wv(),r=U0(b9),n=qt(e),[i,o]=S0(()=>{var s;if(!t&&r!==null)return(s=r.current)!=null?s:null;if(I2.isServer)return null;let a=n==null?void 0:n.getElementById("headlessui-portal-root");if(a)return a;if(n===null)return null;let l=n.createElement("div");return l.setAttribute("id","headlessui-portal-root"),n.body.appendChild(l)});return L0(()=>{i!==null&&(n!=null&&n.body.contains(i)||n==null||n.body.appendChild(i))},[i,n]),L0(()=>{t||r!==null&&o(r.current)},[r,o,t]),i}let v9=K0,Gv=w1(function(e,t){let r=e,n=i0(null),i=R1(Lw(f=>{n.current=f}),t),o=qt(n),s=qv(n),[a]=S0(()=>{var f;return I2.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=U0(A4),u=ir();r1(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),r1(()=>{if(a&&l)return l.register(a)},[l,a]),w9(()=>{var f;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((f=s.parentElement)==null||f.removeChild(s)))});let d=E1();return u?!s||!a?null:on(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:v9,name:"Portal"}),a):null});function zv(e,t){let r=R1(t),{enabled:n=!0,...i}=e,o=E1();return n?Q.createElement(Gv,{...i,ref:r}):o({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:v9,name:"Portal"})}let Yv=K0,b9=u1(null);function Zv(e,t){let{target:r,...n}=e,i={ref:R1(t)},o=E1();return Q.createElement(b9.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:Yv,name:"Popover.Group"}))}let A4=u1(null);function Kv(){let e=U0(A4),t=i0([]),r=c0(o=>(t.current.push(o),e&&e.register(o),()=>n(o))),n=c0(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=f0(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,f0(()=>function({children:o}){return Q.createElement(A4.Provider,{value:i},o)},[i])]}let Jv=w1(zv),_9=w1(Zv),C9=Object.assign(Jv,{Group:_9});function Xv(e,t=typeof document<"u"?document.defaultView:null,r){let n=Wt(e,"escape");Ka(t,"keydown",i=>{n&&(i.defaultPrevented||i.key===v1.Escape&&r(i))})}function Qv(){var e;let[t]=S0(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=S0((e=t==null?void 0:t.matches)!=null?e:!1);return r1(()=>{if(!t)return;function i(o){n(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),r}function eb({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=qt(r),i=c0(()=>{var o,s;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"current"in l&&l.current instanceof HTMLElement&&a.push(l.current));if(t!=null&&t.current)for(let l of t.current)a.push(l);for(let l of(o=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?o:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(r&&(l.contains(r)||l.contains((s=r==null?void 0:r.getRootNode())==null?void 0:s.host))||a.some(u=>l.contains(u))||a.push(l));return a});return{resolveContainers:i,contains:c0(o=>i().some(s=>s.contains(o)))}}let x9=u1(null);function qi({children:e,node:t}){let[r,n]=S0(null),i=S9(t??r);return Q.createElement(x9.Provider,{value:i},e,i===null&&Q.createElement(k3,{features:kt.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=jt(o))==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?a:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l!=null&&l.contains(o)){n(l);break}}}}))}function S9(e=null){var t;return(t=U0(x9))!=null?t:e}function $6(){let e=i0(!1);return r1(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var y3=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(y3||{});function tb(){let e=i0(0);return Ya(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function E9(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}let rb="div";var S2=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(S2||{});function nb(e,t){let r=i0(null),n=R1(r,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;ir()||(a=0);let u=qt(r);ab(a,{ownerDocument:u});let d=lb(a,{ownerDocument:u,container:r,initialFocus:i,initialFocusFallback:o});ub(a,{ownerDocument:u,container:r,containers:s,previousActiveElement:d});let f=tb(),p=c0(C=>{let E=r.current;E&&(M=>M())(()=>{U1(f.current,{[y3.Forwards]:()=>{bt(E,ue.First,{skipElements:[C.relatedTarget,o]})},[y3.Backwards]:()=>{bt(E,ue.Last,{skipElements:[C.relatedTarget,o]})}})})}),h=Wt(!!(a&2),"focus-trap#tab-lock"),m=h2(),g=i0(!1),y={ref:n,onKeyDown(C){C.key=="Tab"&&(g.current=!0,m.requestAnimationFrame(()=>{g.current=!1}))},onBlur(C){if(!(a&4))return;let E=E9(s);r.current instanceof HTMLElement&&E.add(r.current);let M=C.relatedTarget;M instanceof HTMLElement&&M.dataset.headlessuiFocusGuard!=="true"&&(A9(E,M)||(g.current?bt(r.current,U1(f.current,{[y3.Forwards]:()=>ue.Next,[y3.Backwards]:()=>ue.Previous})|ue.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&Fe(C.target)))}},_=E1();return Q.createElement(Q.Fragment,null,h&&Q.createElement(k3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:kt.Focusable}),_({ourProps:y,theirProps:l,defaultTag:rb,name:"FocusTrap"}),h&&Q.createElement(k3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:kt.Focusable}))}let ib=w1(nb),ob=Object.assign(ib,{features:S2});function sb(e=!0){let t=i0(Xe.slice());return N6(([r],[n])=>{n===!0&&r===!1&&An(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=Xe.slice())},[e,Xe,t]),c0(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function ab(e,{ownerDocument:t}){let r=!!(e&8),n=sb(r);N6(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&Fe(n())},[r]),w9(()=>{r&&Fe(n())})}function lb(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let o=i0(null),s=Wt(!!(e&1),"focus-trap#initial-focus"),a=$6();return N6(()=>{if(e===0)return;if(!s){i!=null&&i.current&&Fe(i.current);return}let l=r.current;l&&An(()=>{if(!a.current)return;let u=t==null?void 0:t.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===u){o.current=u;return}}else if(l.contains(u)){o.current=u;return}if(n!=null&&n.current)Fe(n.current);else{if(e&16){if(bt(l,ue.First|ue.AutoFocus)!==C4.Error)return}else if(bt(l,ue.First)!==C4.Error)return;if(i!=null&&i.current&&(Fe(i.current),(t==null?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}o.current=t==null?void 0:t.activeElement})},[i,s,e]),o}function ub(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let o=$6(),s=!!(e&4);Ka(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=E9(n);r.current instanceof HTMLElement&&l.add(r.current);let u=i.current;if(!u)return;let d=a.target;d&&d instanceof HTMLElement?A9(l,d)?(i.current=d,Fe(d)):(a.preventDefault(),a.stopPropagation(),Fe(u)):Fe(i.current)},!0)}function A9(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function T9(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:N9)!==K0||Q.Children.count(e.children)===1}let Dn=u1(null);Dn.displayName="TransitionContext";var cb=(e=>(e.Visible="visible",e.Hidden="hidden",e))(cb||{});function db(){let e=U0(Dn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function fb(){let e=U0($n);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let $n=u1(null);$n.displayName="NestingContext";function Fn(e){return"children"in e?Fn(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function M9(e,t){let r=m2(e),n=i0([]),i=$6(),o=h2(),s=c0((h,m=t2.Hidden)=>{let g=n.current.findIndex(({el:y})=>y===h);g!==-1&&(U1(m,{[t2.Unmount](){n.current.splice(g,1)},[t2.Hidden](){n.current[g].state="hidden"}}),o.microTask(()=>{var y;!Fn(n)&&i.current&&((y=r.current)==null||y.call(r))}))}),a=c0(h=>{let m=n.current.find(({el:g})=>g===h);return m?m.state!=="visible"&&(m.state="visible"):n.current.push({el:h,state:"visible"}),()=>s(h,t2.Unmount)}),l=i0([]),u=i0(Promise.resolve()),d=i0({enter:[],leave:[]}),f=c0((h,m,g)=>{l.current.splice(0),t&&(t.chains.current[m]=t.chains.current[m].filter(([y])=>y!==h)),t==null||t.chains.current[m].push([h,new Promise(y=>{l.current.push(y)})]),t==null||t.chains.current[m].push([h,new Promise(y=>{Promise.all(d.current[m].map(([_,C])=>C)).then(()=>y())})]),m==="enter"?u.current=u.current.then(()=>t==null?void 0:t.wait.current).then(()=>g(m)):g(m)}),p=c0((h,m,g)=>{Promise.all(d.current[m].splice(0).map(([y,_])=>_)).then(()=>{var y;(y=l.current.shift())==null||y()}).then(()=>g(m))});return f0(()=>({children:n,register:a,unregister:s,onStart:f,onStop:p,wait:u,chains:d}),[a,s,n,f,p,d,u])}let N9=K0,k9=Nt.RenderStrategy;function hb(e,t){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:u,enterFrom:d,enterTo:f,entered:p,leave:h,leaveFrom:m,leaveTo:g,...y}=e,[_,C]=S0(null),E=i0(null),M=T9(e),O=R1(...M?[E,t,C]:t===null?[]:[t]),R=(r=y.unmount)==null||r?t2.Unmount:t2.Hidden,{show:$,appear:S,initial:x}=db(),[A,N]=S0($?"visible":"hidden"),P=fb(),{register:F,unregister:V}=P;r1(()=>F(E),[F,E]),r1(()=>{if(R===t2.Hidden&&E.current){if($&&A!=="visible"){N("visible");return}return U1(A,{hidden:()=>V(E),visible:()=>F(E)})}},[A,E,F,V,$,R]);let o0=ir();r1(()=>{if(M&&o0&&A==="visible"&&E.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,A,o0,M]);let J=x&&!S,X=S&&$&&x,L=i0(!1),q=M9(()=>{L.current||(N("hidden"),V(E))},P),U=c0(N0=>{L.current=!0;let Z=N0?"enter":"leave";q.onStart(E,Z,w0=>{w0==="enter"?o==null||o():w0==="leave"&&(a==null||a())})}),h0=c0(N0=>{let Z=N0?"enter":"leave";L.current=!1,q.onStop(E,Z,w0=>{w0==="enter"?s==null||s():w0==="leave"&&(l==null||l())}),Z==="leave"&&!Fn(q)&&(N("hidden"),V(E))});L0(()=>{M&&i||(U($),h0($))},[$,M,i]);let Y=!(!i||!M||!o0||J),[,D]=Qa(Y,_,$,{start:U,end:h0}),s0=Ke({ref:O,className:((n=b4(y.className,X&&u,X&&d,D.enter&&u,D.enter&&D.closed&&d,D.enter&&!D.closed&&f,D.leave&&h,D.leave&&!D.closed&&m,D.leave&&D.closed&&g,!D.transition&&$&&p))==null?void 0:n.trim())||void 0,...Xa(D)}),m0=0;A==="visible"&&(m0|=F1.Open),A==="hidden"&&(m0|=F1.Closed),D.enter&&(m0|=F1.Opening),D.leave&&(m0|=F1.Closing);let W=E1();return Q.createElement($n.Provider,{value:q},Q.createElement(g9,{value:m0},W({ourProps:s0,theirProps:y,defaultTag:N9,features:k9,visible:A==="visible",name:"Transition.Child"})))}function mb(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=i0(null),a=T9(e),l=R1(...a?[s,t]:t===null?[]:[t]);ir();let u=nr();if(r===void 0&&u!==null&&(r=(u&F1.Open)===F1.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=S0(r?"visible":"hidden"),p=M9(()=>{r||f("hidden")}),[h,m]=S0(!0),g=i0([r]);r1(()=>{h!==!1&&g.current[g.current.length-1]!==r&&(g.current.push(r),m(!1))},[g,r]);let y=f0(()=>({show:r,appear:n,initial:h}),[r,n,h]);r1(()=>{r?f("visible"):!Fn(p)&&s.current!==null&&f("hidden")},[r,p]);let _={unmount:i},C=c0(()=>{var O;h&&m(!1),(O=e.beforeEnter)==null||O.call(e)}),E=c0(()=>{var O;h&&m(!1),(O=e.beforeLeave)==null||O.call(e)}),M=E1();return Q.createElement($n.Provider,{value:p},Q.createElement(Dn.Provider,{value:y},M({ourProps:{..._,as:K0,children:Q.createElement(I9,{ref:l,..._,...o,beforeEnter:C,beforeLeave:E})},theirProps:{},defaultTag:K0,features:k9,visible:d==="visible",name:"Transition"})))}function pb(e,t){let r=U0(Dn)!==null,n=nr()!==null;return Q.createElement(Q.Fragment,null,!r&&n?Q.createElement(T4,{ref:t,...e}):Q.createElement(I9,{ref:t,...e}))}let T4=w1(mb),I9=w1(hb),F6=w1(pb),O9=Object.assign(T4,{Child:F6,Root:T4});var gb=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gb||{}),wb=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(wb||{});let yb={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},P6=u1(null);P6.displayName="DialogContext";function Pn(e){let t=U0(P6);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pn),r}return t}function vb(e,t){return U1(t.type,yb,e,t)}let Gi=w1(function(e,t){let r=ie(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:u=!1,unmount:d=!1,...f}=e,p=i0(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(p.current||(p.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let h=nr();i===void 0&&h!==null&&(i=(h&F1.Open)===F1.Open);let m=i0(null),g=R1(m,t),y=qt(m),_=i?0:1,[C,E]=U2(vb,{titleId:null,descriptionId:null,panelRef:rn()}),M=c0(()=>o(!1)),O=c0(h0=>E({type:0,id:h0})),R=ir()?_===0:!1,[$,S]=Kv(),x={get current(){var h0;return(h0=C.panelRef.current)!=null?h0:m.current}},A=S9(),{resolveContainers:N}=eb({mainTreeNode:A,portals:$,defaultContainers:[x]}),P=h!==null?(h&F1.Closing)===F1.Closing:!1;Ua(u||P?!1:R,{allowed:c0(()=>{var h0,Y;return[(Y=(h0=m.current)==null?void 0:h0.closest("[data-headlessui-portal]"))!=null?Y:null]}),disallowed:c0(()=>{var h0;return[(h0=A==null?void 0:A.closest("body > *:not(#headlessui-portal-root)"))!=null?h0:null]})}),Za(R,N,h0=>{h0.preventDefault(),M()}),Xv(R,y==null?void 0:y.defaultView,h0=>{h0.preventDefault(),h0.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),M()}),Ja(u||P?!1:R,y,N),ja(R,m,M);let[F,V]=Hw(),o0=f0(()=>[{dialogState:_,close:M,setTitleId:O,unmount:d},C],[_,C,M,O,d]),J=f0(()=>({open:_===0}),[_]),X={ref:g,id:n,role:a,tabIndex:-1,"aria-modal":u?void 0:_===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":F,unmount:d},L=!Qv(),q=S2.None;R&&!u&&(q|=S2.RestoreFocus,q|=S2.TabLock,l&&(q|=S2.AutoFocus),L&&(q|=S2.InitialFocus));let U=E1();return Q.createElement(Hv,null,Q.createElement(Wi,{force:!0},Q.createElement(C9,null,Q.createElement(P6.Provider,{value:o0},Q.createElement(_9,{target:m},Q.createElement(Wi,{force:!1},Q.createElement(V,{slot:J},Q.createElement(S,null,Q.createElement(ob,{initialFocus:s,initialFocusFallback:m,containers:N,features:q},Q.createElement(Jw,{value:M},U({ourProps:X,theirProps:f,slot:J,defaultTag:bb,features:_b,visible:_===0,name:"Dialog"})))))))))))}),bb="div",_b=Nt.RenderStrategy|Nt.Static;function Cb(e,t){let{transition:r=!1,open:n,...i}=e,o=nr(),s=e.hasOwnProperty("open")||o!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(n!==void 0||r)&&!i.static?Q.createElement(qi,null,Q.createElement(O9,{show:n,transition:r,unmount:i.unmount},Q.createElement(Gi,{ref:t,...i}))):Q.createElement(qi,null,Q.createElement(Gi,{ref:t,open:n,...i}))}let xb="div";function Sb(e,t){let r=ie(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=Pn("Dialog.Panel"),u=R1(t,l.panelRef),d=f0(()=>({open:s===0}),[s]),f=c0(y=>{y.stopPropagation()}),p={ref:u,id:n,onClick:f},h=i?F6:K0,m=i?{unmount:a}:{},g=E1();return Q.createElement(h,{...m},g({ourProps:p,theirProps:o,slot:d,defaultTag:xb,name:"Dialog.Panel"}))}let Eb="div";function Ab(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:o}]=Pn("Dialog.Backdrop"),s=f0(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=r?F6:K0,u=r?{unmount:o}:{},d=E1();return Q.createElement(l,{...u},d({ourProps:a,theirProps:n,slot:s,defaultTag:Eb,name:"Dialog.Backdrop"}))}let Tb="h2";function Mb(e,t){let r=ie(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:o,setTitleId:s}]=Pn("Dialog.Title"),a=R1(t);L0(()=>(s(n),()=>s(null)),[n,s]);let l=f0(()=>({open:o===0}),[o]),u={ref:a,id:n};return E1()({ourProps:u,theirProps:i,slot:l,defaultTag:Tb,name:"Dialog.Title"})}let Nb=w1(Cb),kb=w1(Sb),Ib=w1(Ab),Ob=w1(Mb),L6=Object.assign(Nb,{Panel:kb,Title:Ob,Description:Ww});function Rb(e,t){let r=i0({left:0,top:0});if(r1(()=>{if(!t)return;let i=t.getBoundingClientRect();i&&(r.current=i)},[e,t]),t==null||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}let zi=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Yi(e){var t,r;let n=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return n;let o=!1;for(let a of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))a.remove(),o=!0;let s=o?(r=i.innerText)!=null?r:"":n;return zi.test(s)&&(s=s.replace(zi,"")),s}function Db(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let n=r.split(" ").map(i=>{let o=document.getElementById(i);if(o){let s=o.getAttribute("aria-label");return typeof s=="string"?s.trim():Yi(o).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return Yi(e).trim()}function $b(e){let t=i0(""),r=i0("");return c0(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=Db(n).trim().toLowerCase();return t.current=i,r.current=o,o})}var Fb=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Fb||{}),Pb=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Pb||{}),Lb=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Lb||{}),Bb=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(Bb||{});function h5(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=Ga(t(e.options.slice()),o=>o.dataRef.current.domRef.current),i=r?n.indexOf(r):null;return i===-1&&(i=null),{options:n,activeOptionIndex:i}}let Hb={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));return n!==-1&&(t=n),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var r,n,i,o,s;if(e.dataRef.current.disabled||e.listboxState===1)return e;let a={...e,searchQuery:"",activationTrigger:(r=t.trigger)!=null?r:1,__demoMode:!1};if(t.focus===b1.Nothing)return{...a,activeOptionIndex:null};if(t.focus===b1.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===b1.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,p=f5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(p!==null){let h=e.options[p].dataRef.current.domRef;if(((n=f.current)==null?void 0:n.previousElementSibling)===h.current||((i=h.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:p}}}}else if(t.focus===b1.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,p=f5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(p!==null){let h=e.options[p].dataRef.current.domRef;if(((o=f.current)==null?void 0:o.nextElementSibling)===h.current||((s=h.current)==null?void 0:s.nextElementSibling)===null)return{...a,activeOptionIndex:p}}}}let l=h5(e),u=f5(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:u}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,n=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(s=>{var a;return!s.dataRef.current.disabled&&((a=s.dataRef.current.textValue)==null?void 0:a.startsWith(n))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},n=h5(e,i=>[...i,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(r)),{...e,...n}},6:(e,t)=>{let r=h5(e,n=>{let i=n.findIndex(o=>o.id===t.id);return i!==-1&&n.splice(i,1),n});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},B6=u1(null);B6.displayName="ListboxActionsContext";function Ln(e){let t=U0(B6);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ln),r}return t}let Bn=u1(null);Bn.displayName="ListboxDataContext";function or(e){let t=U0(Bn);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,or),r}return t}function Vb(e,t){return U1(t.type,Hb,e,t)}let Ub=K0;function jb(e,t){var r;let n=T6(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:u,invalid:d=!1,disabled:f=n||!1,horizontal:p=!1,multiple:h=!1,__demoMode:m=!1,...g}=e;const y=p?"horizontal":"vertical";let _=R1(t),C=Tw(o),[E=h?[]:void 0,M]=Aw(i,l,C),[O,R]=U2(Vb,{dataRef:rn(),listboxState:m?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:m}),$=i0({static:!1,hold:!1}),S=i0(new Map),x=Qw(u),A=$0(K=>U1(N.mode,{1:()=>E.some(v0=>x(v0,K)),0:()=>x(E,K)}),[E]),N=f0(()=>({...O,value:E,disabled:f,invalid:d,mode:h?1:0,orientation:y,compare:x,isSelected:A,optionsPropsRef:$,listRef:S}),[E,f,d,h,O,S]);r1(()=>{O.dataRef.current=N},[N]);let P=N.listboxState===0;Za(P,[N.buttonElement,N.optionsElement],(K,v0)=>{var d0;R({type:1}),qa(v0,M6.Loose)||(K.preventDefault(),(d0=N.buttonElement)==null||d0.focus())});let F=f0(()=>({open:N.listboxState===0,disabled:f,invalid:d,value:E}),[N,f,E,d]),V=c0(K=>{let v0=N.options.find(d0=>d0.id===K);v0&&h0(v0.dataRef.current.value)}),o0=c0(()=>{if(N.activeOptionIndex!==null){let{dataRef:K,id:v0}=N.options[N.activeOptionIndex];h0(K.current.value),R({type:2,focus:b1.Specific,id:v0})}}),J=c0(()=>R({type:0})),X=c0(()=>R({type:1})),L=h2(),q=c0((K,v0,d0)=>{L.dispose(),L.microTask(()=>K===b1.Specific?R({type:2,focus:b1.Specific,id:v0,trigger:d0}):R({type:2,focus:K,trigger:d0}))}),U=c0((K,v0)=>(R({type:5,id:K,dataRef:v0}),()=>R({type:6,id:K}))),h0=c0(K=>U1(N.mode,{0(){return M==null?void 0:M(K)},1(){let v0=N.value.slice(),d0=v0.findIndex(A0=>x(A0,K));return d0===-1?v0.push(K):v0.splice(d0,1),M==null?void 0:M(v0)}})),Y=c0(K=>R({type:3,value:K})),D=c0(()=>R({type:4})),s0=c0(K=>{R({type:7,element:K})}),m0=c0(K=>{R({type:8,element:K})}),W=f0(()=>({onChange:h0,registerOption:U,goToOption:q,closeListbox:X,openListbox:J,selectActiveOption:o0,selectOption:V,search:Y,clearSearch:D,setButtonElement:s0,setOptionsElement:m0}),[]),[N0,Z]=qw({inherit:!0}),w0={ref:_},y0=$0(()=>{if(C!==void 0)return M==null?void 0:M(C)},[M,C]),b0=E1();return Q.createElement(Z,{value:N0,props:{htmlFor:(r=N.buttonElement)==null?void 0:r.id},slot:{open:N.listboxState===0,disabled:f}},Q.createElement(Fv,null,Q.createElement(B6.Provider,{value:W},Q.createElement(Bn.Provider,{value:N},Q.createElement(g9,{value:U1(N.listboxState,{0:F1.Open,1:F1.Closed})},a!=null&&E!=null&&Q.createElement(Rw,{disabled:f,data:{[a]:E},form:s,onReset:y0}),b0({ourProps:w0,theirProps:g,slot:F,defaultTag:Ub,name:"Listbox"}))))))}let Wb="button";function qb(e,t){var r;let n=or("Listbox.Button"),i=Ln("Listbox.Button"),o=ie(),s=$a(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=n.disabled||!1,autoFocus:u=!1,...d}=e,f=R1(t,Ov(),i.setButtonElement),p=Rv(),h=c0(N=>{switch(N.key){case v1.Enter:Mw(N.currentTarget);break;case v1.Space:case v1.ArrowDown:N.preventDefault(),K1(()=>i.openListbox()),n.value||i.goToOption(b1.First);break;case v1.ArrowUp:N.preventDefault(),K1(()=>i.openListbox()),n.value||i.goToOption(b1.Last);break}}),m=c0(N=>{switch(N.key){case v1.Space:N.preventDefault();break}}),g=c0(N=>{var P;if(Fw(N.currentTarget))return N.preventDefault();n.listboxState===0?(K1(()=>i.closeListbox()),(P=n.buttonElement)==null||P.focus({preventScroll:!0})):(N.preventDefault(),i.openListbox())}),y=c0(N=>N.preventDefault()),_=Ba([a]),C=Bw(),{isFocusVisible:E,focusProps:M}=mw({autoFocus:u}),{isHovered:O,hoverProps:R}=hw({isDisabled:l}),{pressed:$,pressProps:S}=bw({disabled:l}),x=f0(()=>({open:n.listboxState===0,active:$||n.listboxState===0,disabled:l,invalid:n.invalid,value:n.value,hover:O,focus:E,autofocus:u}),[n.listboxState,n.value,l,O,E,$,n.invalid,u]),A=Ia(p(),{ref:f,id:a,type:hy(e,n.buttonElement),"aria-haspopup":"listbox","aria-controls":(r=n.optionsElement)==null?void 0:r.id,"aria-expanded":n.listboxState===0,"aria-labelledby":_,"aria-describedby":C,disabled:l||void 0,autoFocus:u,onKeyDown:h,onKeyUp:m,onKeyPress:y,onClick:g},M,R,S);return E1()({ourProps:A,theirProps:d,slot:x,defaultTag:Wb,name:"Listbox.Button"})}let R9=u1(!1),Gb="div",zb=Nt.RenderStrategy|Nt.Static;function Yb(e,t){var r,n;let i=ie(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:u=!1,...d}=e,f=Iv(s),[p,h]=S0(null);f&&(a=!0);let m=or("Listbox.Options"),g=Ln("Listbox.Options"),y=qt(m.optionsElement),_=nr(),[C,E]=Qa(u,p,_!==null?(_&F1.Open)===F1.Open:m.listboxState===0);ja(C,m.buttonElement,g.closeListbox);let M=m.__demoMode?!1:l&&m.listboxState===0;Ja(M,y);let O=m.__demoMode?!1:l&&m.listboxState===0;Ua(O,{allowed:$0(()=>[m.buttonElement,m.optionsElement],[m.buttonElement,m.optionsElement])});let R=m.listboxState!==0,$=Rb(R,m.buttonElement)?!1:C,S=C&&m.listboxState===1,x=Bv(S,m.value),A=c0(D=>m.compare(x,D)),N=f0(()=>{var D;if(f==null||!((D=f==null?void 0:f.to)!=null&&D.includes("selection")))return null;let s0=m.options.findIndex(m0=>A(m0.dataRef.current.value));return s0===-1&&(s0=0),s0},[f,m.options]),P=(()=>{if(f==null)return;if(N===null)return{...f,inner:void 0};let D=Array.from(m.listRef.current.values());return{...f,inner:{listRef:{current:D},index:N}}})(),[F,V]=$v(P),o0=Dv(),J=R1(t,f?F:null,g.setOptionsElement,h),X=h2();L0(()=>{var D;let s0=m.optionsElement;s0&&m.listboxState===0&&s0!==((D=jt(s0))==null?void 0:D.activeElement)&&(s0==null||s0.focus({preventScroll:!0}))},[m.listboxState,m.optionsElement]);let L=c0(D=>{var s0,m0;switch(X.dispose(),D.key){case v1.Space:if(m.searchQuery!=="")return D.preventDefault(),D.stopPropagation(),g.search(D.key);case v1.Enter:if(D.preventDefault(),D.stopPropagation(),m.activeOptionIndex!==null){let{dataRef:W}=m.options[m.activeOptionIndex];g.onChange(W.current.value)}m.mode===0&&(K1(()=>g.closeListbox()),(s0=m.buttonElement)==null||s0.focus({preventScroll:!0}));break;case U1(m.orientation,{vertical:v1.ArrowDown,horizontal:v1.ArrowRight}):return D.preventDefault(),D.stopPropagation(),g.goToOption(b1.Next);case U1(m.orientation,{vertical:v1.ArrowUp,horizontal:v1.ArrowLeft}):return D.preventDefault(),D.stopPropagation(),g.goToOption(b1.Previous);case v1.Home:case v1.PageUp:return D.preventDefault(),D.stopPropagation(),g.goToOption(b1.First);case v1.End:case v1.PageDown:return D.preventDefault(),D.stopPropagation(),g.goToOption(b1.Last);case v1.Escape:D.preventDefault(),D.stopPropagation(),K1(()=>g.closeListbox()),(m0=m.buttonElement)==null||m0.focus({preventScroll:!0});return;case v1.Tab:D.preventDefault(),D.stopPropagation(),K1(()=>g.closeListbox()),cy(m.buttonElement,D.shiftKey?ue.Previous:ue.Next);break;default:D.key.length===1&&(g.search(D.key),X.setTimeout(()=>g.clearSearch(),350));break}}),q=(r=m.buttonElement)==null?void 0:r.id,U=f0(()=>({open:m.listboxState===0}),[m.listboxState]),h0=Ia(f?o0():{},{id:o,ref:J,"aria-activedescendant":m.activeOptionIndex===null||(n=m.options[m.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":m.mode===1?!0:void 0,"aria-labelledby":q,"aria-orientation":m.orientation,onKeyDown:L,role:"listbox",tabIndex:m.listboxState===0?0:void 0,style:{...d.style,...V,"--button-width":ty(m.buttonElement,!0).width},...Xa(E)}),Y=E1();return Q.createElement(C9,{enabled:a?e.static||C:!1},Q.createElement(Bn.Provider,{value:m.mode===1?m:{...m,isSelected:A}},Y({ourProps:h0,theirProps:d,slot:U,defaultTag:Gb,features:zb,visible:$,name:"Listbox.Options"})))}let Zb="div";function Kb(e,t){let r=ie(),{id:n=`headlessui-listbox-option-${r}`,disabled:i=!1,value:o,...s}=e,a=U0(R9)===!0,l=or("Listbox.Option"),u=Ln("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===n:!1,f=l.isSelected(o),p=i0(null),h=$b(p),m=m2({disabled:i,value:o,domRef:p,get textValue(){return h()}}),g=R1(t,p,x=>{x?l.listRef.current.set(n,x):l.listRef.current.delete(n)});r1(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var x,A;(A=(x=p.current)==null?void 0:x.scrollIntoView)==null||A.call(x,{block:"nearest"})})},[p,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),r1(()=>{if(!a)return u.registerOption(n,m)},[m,n,a]);let y=c0(x=>{var A;if(i)return x.preventDefault();u.onChange(o),l.mode===0&&(K1(()=>u.closeListbox()),(A=l.buttonElement)==null||A.focus({preventScroll:!0}))}),_=c0(()=>{if(i)return u.goToOption(b1.Nothing);u.goToOption(b1.Specific,n)}),C=vy(),E=c0(x=>{C.update(x),!i&&(d||u.goToOption(b1.Specific,n,0))}),M=c0(x=>{C.wasMoved(x)&&(i||d||u.goToOption(b1.Specific,n,0))}),O=c0(x=>{C.wasMoved(x)&&(i||d&&u.goToOption(b1.Nothing))}),R=f0(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),$=a?{}:{id:n,ref:g,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:y,onFocus:_,onPointerEnter:E,onMouseEnter:E,onPointerMove:M,onMouseMove:M,onPointerLeave:O,onMouseLeave:O},S=E1();return!f&&a?null:S({ourProps:$,theirProps:s,slot:R,defaultTag:Zb,name:"Listbox.Option"})}let Jb=K0;function Xb(e,t){let{options:r,placeholder:n,...i}=e,o={ref:R1(t)},s=or("ListboxSelectedOption"),a=f0(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,u=E1();return Q.createElement(R9.Provider,{value:!0},u({ourProps:o,theirProps:{...i,children:Q.createElement(Q.Fragment,null,n&&l?n:r)},slot:a,defaultTag:Jb,name:"ListboxSelectedOption"}))}let Qb=w1(jb),D9=w1(qb),e_=Zw,$9=w1(Yb),F9=w1(Kb),t_=w1(Xb),r_=Object.assign(Qb,{Button:D9,Label:e_,Options:$9,Option:F9,SelectedOption:t_}),x1=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function Zt(e){return c(L6,We(e,1))}class d2 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","ClassName","Children"]}}function Kt(e){return c(L6.Panel,We(e,1))}class Qr extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Children"]}}function P9(e){return c(L6.Title,We(e,1))}class Jt extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName"]}}function Xt(e){return c(Ib,We(e,1))}function z2(e,t){let r;return c("svg",v(w([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",b.Children.toArray(Array.from(r))])])))}function n_(e,t){let r,n,i,o,s;return Zt(w([new x1(3,[e]),new x1(4,[t]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[Kt(u0(new d2(2,[[c("div",v(w([["className","flex flex-col mt-6 mb-6 px-6"],(n=[c("div",v(w([["className","flex flex-row justify-between"],(i=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),c("button",v(w([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[z2(24,24)],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(i))])]))),c("div",v(w([["className","text-sm text-gray-600 pt-6"],(s="Mapping involves pairing each incoming CSV field with its correct destination field. This step is important because it makes sure that your data is organised correctly, minimising the risk of errors and ensuring a smooth import process.",["children",s])])))],["children",b.Children.toArray(Array.from(n))])])))]])))],["children",b.Children.toArray(Array.from(r))])])))]])]))}function Hn(e){return c("span",{className:"font-['BR Sonoma'] text-black font-semibold text-lg",children:e})}function Vn(e){return c("span",{className:"text-sm font-normal pt-2",children:e})}function R3(e,t){return c("button",{className:"rounded-2xl text-xs font-medium text-gray-600 border px-3.5 py-1.5 bg-white hover:bg-gray-50",onClick:r=>{t()},type:"button",children:b.Children.toArray([e])})}function i_(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM11 6C11 6.55228 10.5523 7 10 7C9.44772 7 9 6.55228 9 6C9 5.44772 9.44772 5 10 5C10.5523 5 11 5.44772 11 6ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11V14C9 14.5523 9.44772 15 10 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13V10C11 9.44772 10.5523 9 10 9H9Z",["d",n]),["fill","#60A5FA"]])))),["children",b.Children.toArray(Array.from(r))])])))}function L9(){let e,t,r;return c("div",v(w([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(e=[i_(20,20),c("div",v(w([["className","grow shrink basis-0 h-[60px] justify-between items-center flex"],(t=[c("div",v(w([["className","grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight"],(r="We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.",["children",r])])))],["children",b.Children.toArray(Array.from(t))])])))],["children",b.Children.toArray(Array.from(e))])])))}function B9(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M15.8008 12.5263L9.48383 0.880306C9.32803 0.591371 9.09045 0.354828 8.80083 0.200306C8.40735 -0.0102628 7.94665 -0.0569536 7.51893 0.0703896C7.0912 0.197733 6.73106 0.488809 6.51683 0.880306L0.20083 12.5263C0.0627228 12.7826 -0.00633038 13.0704 0.00045607 13.3614C0.00724252 13.6525 0.0896351 13.9368 0.239538 14.1863C0.38944 14.4359 0.601694 14.6422 0.855444 14.7849C1.10919 14.9276 1.39571 15.0018 1.68683 15.0003H14.3148C14.5939 15.0003 14.8686 14.9316 15.1148 14.8003C15.3099 14.6968 15.4825 14.5556 15.6228 14.3851C15.763 14.2145 15.8681 14.0178 15.932 13.8064C15.9958 13.595 16.0172 13.373 15.9949 13.1533C15.9726 12.9336 15.9069 12.7205 15.8018 12.5263H15.8008ZM8.00083 13.0003C7.80305 13.0003 7.60971 12.9417 7.44526 12.8318C7.28081 12.7219 7.15264 12.5657 7.07695 12.383C7.00126 12.2003 6.98146 11.9992 7.02004 11.8052C7.05863 11.6112 7.15387 11.4331 7.29372 11.2932C7.43358 11.1533 7.61176 11.0581 7.80574 11.0195C7.99972 10.9809 8.20079 11.0007 8.38351 11.0764C8.56624 11.1521 8.72242 11.2803 8.8323 11.4447C8.94218 11.6092 9.00083 11.8025 9.00083 12.0003C9.00083 12.2655 8.89547 12.5199 8.70794 12.7074C8.5204 12.8949 8.26605 13.0003 8.00083 13.0003ZM9.00083 9.50031C9.00083 9.63291 8.94815 9.76009 8.85438 9.85386C8.76062 9.94763 8.63344 10.0003 8.50083 10.0003H7.50083C7.36822 10.0003 7.24104 9.94763 7.14728 9.85386C7.05351 9.76009 7.00083 9.63291 7.00083 9.50031V5.50031C7.00083 5.3677 7.05351 5.24052 7.14728 5.14675C7.24104 5.05298 7.36822 5.00031 7.50083 5.00031H8.50083C8.63344 5.00031 8.76062 5.05298 8.85438 5.14675C8.94815 5.24052 9.00083 5.3677 9.00083 5.50031V9.50031Z",["d",n]),["fill","#F87171"]])))),["children",b.Children.toArray(Array.from(r))])])))}function H9(e){let t,r;return c("div",v(w([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[B9(16,15),c("div",v(w([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(r=[c("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}function Un(e,t){let r;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=w([c("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",b.Children.toArray(Array.from(r))])])))}let Ct=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Value","OnChange","Children"]}};function V9(e){return c(r_,We(e,1))}class en extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ClassName","Children"]}}function U9(e){return c(D9,We(e,1))}class j9 extends j{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function W9(e,t){return c($9,We(e,1),...t)}class ye extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function q9(e){return c(F9,We(e,1))}function G9(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.7071 7.29289L9.99999 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68341 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",["d",n]),["fill","#6B7280"]])))),["children",b.Children.toArray(Array.from(r))])])))}function c3(e,t,r,n,i,o,s,a){let l,u,d,f,p,h,m;const g=i.fields[0],y=D8(C1(_=>_[1].fields[0],Ou(_=>Z8(_.fields[0],g),n)));return c("div",v(w([["key",n1(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(l=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(u=[c("div",v(G(k(()=>H(T(["className",`${n==null?"bg-gray-50 border-gray-200 text-gray-500":"bg-emerald-50 border-emerald-200 text-emerald-700"} px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden`]),k(()=>{let _;return T((_=G(k(()=>H(T(c("div",{className:"text-sm font-medium leading-tight",children:N3(e)})),k(()=>T(t?c("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):T0()))))),["children",b.Children.toArray(Array.from(_))]))}))))))],["children",b.Children.toArray(Array.from(u))])]))),c("div",v(w([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[Un(16,12)],["children",b.Children.toArray(Array.from(d))])]))),c("div",v(w([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(f=[V9(w([new Ct(0,[y]),new Ct(1,[_=>{je(C=>{o(C[0])},Ft(cn(C=>C[1].fields[0]===_?t0(C[2],new Ne(0,[])):!1,g)))}]),new Ct(2,[[c("div",v(w([["className","relative w-full"],(p=[U9(G(k(()=>{let _;return H(T(new en(0,[`${_=t&&r,_&&n==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),k(()=>{let C;return T(new en(1,[[c("span",v(G(k(()=>{let E;const M=t&&r;return E=n!=null?[y,""]:M?["Select a field","text-red-900"]:["Select a field","text-gray-500"],H(T(["className",`${E[1]} col-start-1 row-start-1 truncate pr-6`]),k(()=>T(["children",E[0]])))})))),c("span",v(w([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(C=[G9(20,20)],["children",b.Children.toArray(Array.from(C))])])))]]))}))}))),W9(G(k(()=>T(new j9(`z-10 absolute ${e.tag===4?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),G(k(()=>pn(_=>{const C=_[2],E=_[1].fields[0];return T(q9(w([new ye(0,[de(_[0].fields[0])]),new ye(1,[E]),new ye(2,[t0(C,new Ne(1,[]))]),new ye(3,["relative select-none"]),new ye(4,[M=>[c("span",{className:"px-4 py-2 block truncate "+(C.tag===0?M.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:E})]])])))},g))))],["children",b.Children.toArray(Array.from(p))])])))]])]))],["children",b.Children.toArray(Array.from(f))])]))),c("div",v(w([(h="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",h]),(m=[c("button",v(G(k(()=>H(T(["children","Clear"]),k(()=>H(s==null?T(["className","opacity-50 cursor-not-allowed"]):T(["className","cursor-pointer py-3 hover:text-gray-700"]),k(()=>{const _=s;if(_==null)return c1();{const C=_;return T(["onClick",E=>{C()}])}})))))))),c("button",v(G(k(()=>H(T(["children","Preview"]),k(()=>H(a==null?T(["className","opacity-50 cursor-not-allowed"]):T(["className","cursor-pointer py-3 hover:text-gray-700"]),k(()=>{const _=a;if(_==null)return c1();{const C=_;return T(["onClick",E=>{C()}])}}))))))))],["children",b.Children.toArray(Array.from(m))])])))],["children",b.Children.toArray(Array.from(l))])])))}function z9(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.3001 1.40002C6.03495 1.40002 5.79257 1.54983 5.674 1.78697L5.16747 2.80002H2.8001C2.4135 2.80002 2.1001 3.11342 2.1001 3.50002C2.1001 3.88662 2.4135 4.20002 2.8001 4.20002L2.8001 11.2C2.8001 11.9732 3.4269 12.6 4.2001 12.6H9.80009C10.5733 12.6 11.2001 11.9732 11.2001 11.2V4.20002C11.5867 4.20002 11.9001 3.88662 11.9001 3.50002C11.9001 3.11342 11.5867 2.80002 11.2001 2.80002H8.83272L8.32619 1.78697C8.20762 1.54983 7.96523 1.40002 7.70009 1.40002H6.3001ZM4.9001 5.60002C4.9001 5.21342 5.2135 4.90002 5.60009 4.90002C5.98669 4.90002 6.30009 5.21342 6.30009 5.60002V9.80002C6.30009 10.1866 5.98669 10.5 5.60009 10.5C5.2135 10.5 4.9001 10.1866 4.9001 9.80002V5.60002ZM8.40009 4.90002C8.01349 4.90002 7.70009 5.21342 7.70009 5.60002V9.80002C7.70009 10.1866 8.01349 10.5 8.40009 10.5C8.78669 10.5 9.10009 10.1866 9.10009 9.80002V5.60002C9.10009 5.21342 8.78669 4.90002 8.40009 4.90002Z",["d",n]),["fill","#9CA3AF"]])))),["children",b.Children.toArray(Array.from(r))])])))}function jn(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M9.99992 0.833328C4.94575 0.833328 0.833252 4.94583 0.833252 10C0.833252 15.0542 4.94575 19.1667 9.99992 19.1667C15.0541 19.1667 19.1666 15.0542 19.1666 10C19.1666 4.94583 15.0541 0.833328 9.99992 0.833328ZM8.37409 14.5525L4.65492 10.8333L5.83325 9.655L8.29242 12.1142L14.0883 5.49083L15.3424 6.58833L8.37409 14.5525Z",["d",n]),["fill","#10B981"]])))),["children",b.Children.toArray(Array.from(r))])])))}function Y9(e){let t,r,n;return c("div",v(w([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[c("span",v(w([["className","text-emerald-700"],(r=[jn(20,20)],["children",b.Children.toArray(Array.from(r))])]))),c("div",v(w([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(n=[c("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))}function H6(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M8.83429 0.234315C9.14671 -0.0781049 9.65324 -0.0781049 9.96566 0.234315L13.1657 3.43431C13.4781 3.74673 13.4781 4.25327 13.1657 4.56569L9.96566 7.76569C9.65324 8.0781 9.14671 8.0781 8.83429 7.76569C8.52187 7.45327 8.52187 6.94673 8.83429 6.63432L10.6686 4.8H1.39998C0.958148 4.8 0.599976 4.44183 0.599976 4C0.599976 3.55817 0.958148 3.2 1.39998 3.2H10.6686L8.83429 1.36569C8.52187 1.05327 8.52187 0.546734 8.83429 0.234315Z",["d",n]),["fill","white"]])))),["children",b.Children.toArray(Array.from(r))])])))}function o_(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function s_(e){return e.startsWith("4")&&e.length===9?`+614${e.slice(1,e.length)}`:e.startsWith("04")&&e.length===10?`+614${e.slice(2,e.length)}`:e}function Z9(e){return s_(o_(I8(e," ","")))}function a_(e,t,r){let n,i,o,s,a,l,u,d;return c("div",v(w([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(n=[c("div",v(w([(i="grow shrink basis-0 p-4 bg-white rounded-lg shadow-lg border border-gray-100 flex-col justify-start items-start gap-3 inline-flex overflow-hidden",["className",i]),(o=[c("div",v(w([["className","flex justify-between w-full"],(s=[c("span",{className:"text-black text-base font-semibold leading-normal text-nowrap",children:`Previewing “${N3(e)}”`}),c("button",v(w([["onClick",f=>{r()}],["type","button"],["className","text-gray-600"],(a=[z2(24,24)],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(s))])]))),c("div",v(w([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[c("div",v(w([["className","self-stretch flex-col justify-center items-start flex"],(u=Y8((f,p)=>c("div",v(G(k(()=>H(T(["className",`${f%2===0?"bg-white":"bg-gray-50"} self-stretch h-10 px-3 py-3.5 border-b border-gray-200 justify-start items-center gap-1 inline-flex overflow-hidden`]),k(()=>{let h;return T((h=G(k(()=>{const m=$t(p);return T(m?c("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):c("div",v(G(k(()=>H(T(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),k(()=>e.tag===3?T(["children",Z9(p)]):T(["children",p]))))))))})),["children",b.Children.toArray(Array.from(h))]))})))))),t),["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(l))])]))),c("div",v(w([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[c("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(n))])])))}function l_(e){let t,r,n;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,u=e.existingMappings;let d;const f=Zg(l,u);d=G2(()=>q2(()=>f,(M,O)=>Kg(i,l,a,M,O),(M,O)=>{}),void 0,void 0);const p=d[0],h=d[1],m=b.useState(!1),g=m[1],y=b.useState(!1),_=y[0],C=M=>{if(zg(p)(M))return()=>{h(new Ze(1,[M]))}},E=M=>{if(Yg(p,M))return()=>{h(new Ze(2,[M]))}};return c("div",v(w([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[n_(m[0],()=>{g(!1)}),Hn("Map fields"),Vn("Match the fields from your CSV to the corresponding destination fields."),c("div",v(w([["className","flex flex-row pt-3 gap-2"],(r=[R3("What is mapping and why is it important?",()=>{g(!0)})],["children",b.Children.toArray(Array.from(r))])]))),c("div",v(w([["className","justify-start items-start gap-12 inline-flex"],(n=G(k(()=>{let M;return H(T(c("div",v(w([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(M=G(k(()=>H(p.IsPrefilled?T(L9()):T(T0()),k(()=>H(_&&p.Status.tag===0?T(H9("Some required fields are incomplete. Fill in all required fields to continue.")):T(T0()),k(()=>{let O,R,$,S,x,A,N,P;return T(c("div",v(w([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(O=[c("div",v(w([(R="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",R]),($=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(S=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),c("div",v(G(k(()=>H(T(["className",`${p.NumberOfDestinationFieldsMapped===5?"bg-emerald-100 text-emerald-800":"bg-blue-100 text-blue-800"} px-2.5 py-0.5 rounded-[10px] justify-center items-center flex`]),k(()=>{let F;return T((F=[c("div",{className:"text-center text-xs font-medium leading-none",children:`${p.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",b.Children.toArray(Array.from(F))]))}))))))],["children",b.Children.toArray(Array.from(S))])]))),c("div",{className:"w-5 h-5 px-3 py-3.5"}),c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(x=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),c("div",v(w([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(A=[c("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${p.NumberOfDestinationFieldsMapped} of ${p.NumberOfIncomingFields} used`})],["children",b.Children.toArray(Array.from(A))])])))],["children",b.Children.toArray(Array.from(x))])])))],["children",b.Children.toArray(Array.from($))])]))),c("div",v(w([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(N=[c("div",v(u0((P=G(k(()=>H(T(c3(new r0(0,[]),!0,_,p.FirstName.ColumnIndex,p.FirstName.IncomingFields,F=>{let V;h((V=[new r0(0,[]),F],new Ze(0,[V[0],V[1]])))},C(new r0(0,[])),E(new r0(0,[])))),k(()=>H(T(c3(new r0(1,[]),!0,_,p.LastName.ColumnIndex,p.LastName.IncomingFields,F=>{let V;h((V=[new r0(1,[]),F],new Ze(0,[V[0],V[1]])))},C(new r0(1,[])),E(new r0(1,[])))),k(()=>H(T(c3(new r0(2,[]),!0,_,p.Email.ColumnIndex,p.Email.IncomingFields,F=>{let V;h((V=[new r0(2,[]),F],new Ze(0,[V[0],V[1]])))},C(new r0(2,[])),E(new r0(2,[])))),k(()=>H(T(c3(new r0(3,[]),!1,_,p.MobilePhone.ColumnIndex,p.MobilePhone.IncomingFields,F=>{let V;h((V=[new r0(3,[]),F],new Ze(0,[V[0],V[1]])))},C(new r0(3,[])),E(new r0(3,[])))),k(()=>H(T(c3(new r0(4,[]),!1,_,p.EmploymentBasis.ColumnIndex,p.EmploymentBasis.IncomingFields,F=>{let V;h((V=[new r0(4,[]),F],new Ze(0,[V[0],V[1]])))},C(new r0(4,[])),E(new r0(4,[])))),k(()=>{let F,V,o0,J,X,L;return H(p.NumberOfIncomingFieldsDiscarded===0?T(T0()):T(c("div",v(w([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(F=[c("div",v(w([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(V=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(o0=[z9(14,14),c("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",b.Children.toArray(Array.from(o0))])]))),c("div",v(w([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(J=[Un(16,12)],["children",b.Children.toArray(Array.from(J))])]))),c("div",v(w([["className","flex-col justify-start items-start gap-2 inline-flex"],(X=[c("div",v(w([["className","w-[218px] pl-3 items-center inline-flex"],(L=[c("div",v(G(k(()=>H(T(["className","text-gray-500 text-sm font-medium"]),k(()=>{const q=p.NumberOfIncomingFieldsDiscarded|0;return T(q===1?["children","Remaining 1 unused field"]:["children",`Remaining ${q} unused fields`])}))))))],["children",b.Children.toArray(Array.from(L))])])))],["children",b.Children.toArray(Array.from(X))])])))],["children",b.Children.toArray(Array.from(V))])])))],["children",b.Children.toArray(Array.from(F))])])))),k(()=>{let q;return T(c("div",v(w([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(q=G(k(()=>H(p.NumberOfDestinationFieldsMapped===5?T(Y9("All destination fields have been mapped. You’re good to go.")):T(T0()),k(()=>{let U,h0,Y,D,s0,m0,W,N0,Z;return T(c("div",v(w([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(U=[c("div",v(w([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(h0=[c("div",v(w([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(Y=[c("div",v(w([["className","grow shrink basis-0 text-right"],(D=[c("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),c("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),c("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",b.Children.toArray(Array.from(D))])])))],["children",b.Children.toArray(Array.from(Y))])]))),c("div",v(w([["className","justify-start items-center gap-2 flex"],(s0=[c("button",v(w([(m0="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",m0]),["onClick",w0=>{o(p.Status)}],(W=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",b.Children.toArray(Array.from(W))])]))),c("button",v(w([(N0="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",N0]),["disabled",_&&p.Status.tag===0],["onClick",w0=>{const y0=p.Status;y0.tag===0?y[1](!0):s([y0.fields[0],y0.fields[1]])}],(Z=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:p.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),H6(13,8)],["children",b.Children.toArray(Array.from(Z))])])))],["children",b.Children.toArray(Array.from(s0))])])))],["children",b.Children.toArray(Array.from(h0))])])))],["children",b.Children.toArray(Array.from(U))])]))))})))),["children",b.Children.toArray(Array.from(q))])]))))}))})))))))))))),["children",b.Children.toArray(Array.from(P))]))))],["children",b.Children.toArray(Array.from(N))])])))],["children",b.Children.toArray(Array.from(O))])]))))})))))),["children",b.Children.toArray(Array.from(M))])])))),k(()=>{const O=p.Preview;return O==null?T(T0()):T(a_(O[0],O[1],()=>{h(new Ze(3,[]))}))}))})),["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))}class pr extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}}class m5 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}}let y2=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}},gr=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Add","Clear","Remove","Set"]}},u_=class extends E0{constructor(t,r,n,i,o,s,a){super(),this.IncomingValues=t,this.Selections=r,this.NumberOfIncomingValuesUsed=n|0,this.NumberOfDestinationValuesMapped=i|0,this.DiscardedValues=o,this.ValidatedMappings=s,this.Prefilled=a}};class D3 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}const Qe=[void 0];function K9(e,t,r){let n;const i=t.fields[0],o=V1(s=>s,Br(S7(r)));return new u_(t1(s=>[s,W2(s,o,{Equals:t0,GetHashCode:Rr})?new D3(1,[]):new D3(0,[])],i),r,o.length,Ec(mn(s=>{let a;return a=V1(l=>l,s),a.length!==0},S7(r))),pa(o,i,{Equals:t0,GetHashCode:Rr}),(n=w(V1(s=>s,Br(V0(s=>t1(a=>{if(a!=null)return[s[0],a]},s[1]),r)))),k0(n)?void 0:new $g(l0(n),f2(R0(n)))),e)}function c_(e,t){const r=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(n=>W2(un(n.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:Le}))}function d_(e,t){let r;if(t==null){let n=!1;const i=o=>{const s=c_(e,o);return!D2(t0,s,T0())&&s.length===0?Qe:(n=!0,t1(a=>a,s))};r=[gt([[new m1(0,[]),i(new m1(0,[]))],[new m1(1,[]),i(new m1(1,[]))],[new m1(2,[]),i(new m1(2,[]))],[new m1(3,[]),i(new m1(3,[]))]],{Compare:A1}),n]}else{const n=t,i=gt(t1(o=>[o[0],t1(s=>s[1],Gu(o[1],{Compare:G4}))],Mg(o=>o[0],Br([n.Tail,[n.Head]]),{Equals:t0,GetHashCode:Rr})),{Compare:A1});r=[gt([[new m1(0,[]),Q0(A2(i,new m1(0,[])),Qe)],[new m1(1,[]),Q0(A2(i,new m1(1,[])),Qe)],[new m1(2,[]),Q0(A2(i,new m1(2,[])),Qe)],[new m1(3,[]),Q0(A2(i,new m1(3,[])),Qe)]],{Compare:A1}),!1]}return[K9(r[1],e,r[0]),C0()]}function J9(e,t){const r=$2(e.Selections,t);let n;switch(!D2(t0,r,T0())&&r.length===1&&g0(0,r)!=null?n=0:n=1,n){case 0:return!0;default:return!1}}function X9(e,t){let r;return e.DiscardedValues.length>0?(r=$2(e.Selections,t),!r.some(n=>n==null)):!1}function f_(e,t,r){const n=$2(e.Selections,t);return!D2(t0,n,T0())&&n.length===1?!1:W2(r,n,{Equals:t0,GetHashCode:re})}function h_(e,t,r,n){return!t0(r,n)&&e.IncomingValues.some(i=>t0(i[0],n)?t0(i[1],new D3(0,[])):!1)?W2(r,$2(e.Selections,t),{Equals:t0,GetHashCode:re}):!1}function m_(e,t,r){let n,i;const o=m=>K9(r.Prefilled,e,m);let s,a,l,u,d,f,p,h;switch(t.tag){case 1:{J9(r,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{f_(r,t.fields[0],t.fields[1])?(s=2,u=t.fields[0],d=t.fields[1]):s=4;break}case 3:{h_(r,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],p=t.fields[1],h=t.fields[2]):s=4;break}default:X9(r,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(cr(a,m=>C1(g=>z8(g,Qe),m),r.Selections)),C0()];case 1:return[o(cr(l,m=>C1(g=>Qe,m),r.Selections)),C0()];case 2:return[o(cr(u,(n=(i=[d],m=>pa(i,m,{Equals:t0,GetHashCode:re})),m=>C1(n,m)),r.Selections)),C0()];case 3:return[o(cr(f,m=>C1(g=>t1(y=>t0(y,p)?h:y,g),m),r.Selections)),C0()];default:return[r,C0()]}}function p_(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.9999 12.6C10.0927 12.6 12.5999 10.0928 12.5999 7.00002C12.5999 3.90723 10.0927 1.40002 6.9999 1.40002C3.90711 1.40002 1.3999 3.90723 1.3999 7.00002C1.3999 10.0928 3.90711 12.6 6.9999 12.6ZM7.6999 4.90002C7.6999 4.51342 7.3865 4.20002 6.9999 4.20002C6.6133 4.20002 6.2999 4.51342 6.2999 4.90002V6.30002H4.8999C4.5133 6.30002 4.1999 6.61342 4.1999 7.00002C4.1999 7.38662 4.5133 7.70002 4.8999 7.70002H6.2999V9.10002C6.2999 9.48662 6.6133 9.80002 6.9999 9.80002C7.3865 9.80002 7.6999 9.48662 7.6999 9.10002V7.70002H9.0999C9.4865 7.70002 9.7999 7.38662 9.7999 7.00002C9.7999 6.61342 9.4865 6.30002 9.0999 6.30002H7.6999V4.90002Z",["d",n]),["fill","currentColor"]])))),["children",b.Children.toArray(Array.from(r))])])))}function g_(e,t,r,n,i,o,s){let a,l,u,d,f,p;return c("div",v(w([["key",n1(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[c("div",v(w([["className",T1(" ",G(k(()=>H(D2(t0,t,Qe)?T("bg-gray-50 border-gray-200 text-gray-500"):T("bg-emerald-50 border-emerald-200 text-emerald-700"),k(()=>T("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(u=[c("div",{className:"text-sm font-medium leading-tight",children:ga(e)})],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(l))])]))),c("div",v(w([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[Un(16,12)],["children",b.Children.toArray(Array.from(d))])]))),c("div",v(w([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[c("div",v(u0((p=G(k(()=>V0(h=>{let m,g,y;return c("div",v(w([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(m=[c("div",v(w([["className","justify-start items-end flex flex-col w-[206px]"],(g=G(k(()=>H(T(V9(G(k(()=>{const _=D8(C1(C=>C.fields[0],h));return H(T(new Ct(0,[_])),k(()=>H(T(new Ct(1,[C=>{je(E=>{s([h,E[0]])},Ft(cn(E=>E[0].fields[0]===C?t0(E[1],new D3(0,[])):!1,r)))}])),k(()=>{let C,E;return T(new Ct(2,[[c("div",v(w([["className","relative w-full"],(C=[U9(w([new en(0,["outline-gray-300 grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2"]),new en(1,[[c("span",v(G(k(()=>{const M=h!=null?[_,""]:["Select a value","text-gray-500"];return H(T(["className",`${M[1]} col-start-1 row-start-1 truncate pr-6`]),k(()=>T(["children",M[0]])))})))),c("span",v(w([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(E=[G9(20,20)],["children",b.Children.toArray(Array.from(E))])])))]])])),W9(G(k(()=>T(new j9(`z-10 absolute ${e.tag===3?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),G(k(()=>pn(M=>{const O=M[1],R=M[0].fields[0];return T(q9(w([new ye(0,[R]),new ye(1,[R]),new ye(2,[t0(O,new D3(1,[]))&&R!==_]),new ye(3,["relative select-none"]),new ye(4,[$=>[c("span",{className:T1(" ",G(k(()=>H(T("px-4 py-2 block truncate"),k(()=>{const S=$.active;let x;switch($.selected?S?x=2:x=1:O.tag===1?x=0:S?x=2:x=1,x){case 0:return T("text-gray-700 opacity-50 cursor-not-allowed");case 1:return T("text-gray-700");default:return T("bg-primary-600 text-white")}}))))),children:R})]])])))},r))))],["children",b.Children.toArray(Array.from(C))])])))]]))}))))})))),k(()=>t0(h,Uu(t))?T(c("button",v(G(k(()=>{let _;return H(T((_=[p_(14,14),c("span",{children:["Map additional value"]})],["children",b.Children.toArray(Array.from(_))])),k(()=>H(T(["className",T1(" ",G(k(()=>H(T("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),k(()=>i==null?T("opacity-50 cursor-not-allowed underline"):T("cursor-pointer underline hover:text-gray-700"))))))]),k(()=>{const C=i;if(C==null)return c1();{const E=C;return T(["onClick",M=>{E()}])}}))))}))))):c1())))),["children",b.Children.toArray(Array.from(g))])]))),c("div",v(w([["className","text-gray-500 text-xs font-normal pl-1"],(y=G(k(()=>{if(o!=null){const _=o;return T(c("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:C=>{_(h)}}))}else return T(c("button",v(G(k(()=>H(T(["children","Clear"]),k(()=>H(n==null?T(["className","opacity-50 underline cursor-not-allowed mt-2"]):T(["className","cursor-pointer underline py-2 hover:text-gray-700"]),k(()=>{const _=n;if(_==null)return c1();{const C=_;return T(["onClick",E=>{C()}])}})))))))))})),["children",b.Children.toArray(Array.from(y))])])))],["children",b.Children.toArray(Array.from(m))])])))},t))),["children",b.Children.toArray(Array.from(p))]))))],["children",b.Children.toArray(Array.from(f))])])))],["children",b.Children.toArray(Array.from(a))])])))}function w_(e){let t,r,n;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const u=d_(s,a);l=G2(()=>q2(()=>u,(m,g)=>m_(s,m,g),(m,g)=>{}),void 0,void 0);const d=l[0],f=l[1],p=b.useState(!1),h=p[0];return c("div",v(w([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[Hn("Map values - Employment basis"),Vn("Match the values from your CSV to the corresponding destination values."),c("div",v(w([["className","justify-start items-start gap-12 inline-flex"],(r=[c("div",v(w([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(n=G(k(()=>H(d.Prefilled?T(L9()):T(T0()),k(()=>H(h&&d.ValidatedMappings==null?T(H9("Map at least one value to continue.")):T(T0()),k(()=>{let m,g,y,_,C,E,M,O,R;return T(c("div",v(w([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(m=[c("div",v(w([(g="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",g]),(y=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),c("div",v(w([["className",T1(" ",G(k(()=>H(d.NumberOfDestinationValuesMapped===4?T("bg-emerald-100 text-emerald-800"):T("bg-blue-100 text-blue-800"),k(()=>T("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(C=[c("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",b.Children.toArray(Array.from(C))])])))],["children",b.Children.toArray(Array.from(_))])]))),c("div",{className:"w-5 h-5 px-3 py-3.5"}),c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(E=[c("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),c("div",v(w([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(M=[c("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",b.Children.toArray(Array.from(M))])])))],["children",b.Children.toArray(Array.from(E))])])))],["children",b.Children.toArray(Array.from(y))])]))),c("div",v(w([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(O=[c("div",v(u0((R=G(k(()=>H(pn($=>{let S,x,A;const N=$[0];return T(g_(N,$[1],d.IncomingValues,(S=N,J9(d,S)?()=>{f(new gr(1,[S]))}:void 0),(x=N,X9(d,x)?()=>{f(new gr(0,[x]))}:void 0),(A=N,$2(d.Selections,A).length>1?P=>{let F;f((F=[A,P],new gr(2,[F[0],F[1]])))}:void 0),P=>{let F;f((F=[N,P[0],P[1]],new gr(3,[F[0],F[1],F[2]])))}))},hd(d.Selections)),k(()=>{let $,S,x,A,N,P;return H(d.DiscardedValues.length===0?T(T0()):T(c("div",v(w([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],($=[c("div",v(w([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(S=[c("div",v(w([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(x=[z9(14,14),c("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",b.Children.toArray(Array.from(x))])]))),c("div",v(w([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(A=[Un(16,12)],["children",b.Children.toArray(Array.from(A))])]))),c("div",v(w([["className","flex-col justify-start items-start gap-2 inline-flex"],(N=[c("div",v(w([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(P=G(k(()=>H(T(c("div",v(G(k(()=>H(T(["className","font-medium"]),k(()=>{const F=d.DiscardedValues.length|0;return T(F===1?["children","Remaining 1 unused value:"]:["children",`Remaining ${F} unused values:`])}))))))),k(()=>{let F;return T(c("ul",v(w([["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(F=t1(V=>c("li",{children:[V]}),Br(He(k(()=>H(T(t1(V=>V.fields[0],d.DiscardedValues.slice(void 0,8))),k(()=>d.DiscardedValues.length>8?T([`... and ${d.DiscardedValues.length-8} other values`]):c1())))))),["children",b.Children.toArray(Array.from(F))])]))))})))),["children",b.Children.toArray(Array.from(P))])])))],["children",b.Children.toArray(Array.from(N))])])))],["children",b.Children.toArray(Array.from(S))])])))],["children",b.Children.toArray(Array.from($))])])))),k(()=>{let F;return T(c("div",v(w([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(F=G(k(()=>H(d.DiscardedValues.length===0?T(Y9("All incoming values have been mapped.")):T(T0()),k(()=>{let V,o0,J,X,L,q,U;return T(c("div",v(w([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(V=[c("div",v(w([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o0=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",v(w([["className","justify-start items-center gap-2 flex"],(J=[c("button",v(w([(X="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",X]),["onClick",h0=>{i(d.ValidatedMappings)}],(L=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",b.Children.toArray(Array.from(L))])]))),c("button",v(w([(q="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",q]),["disabled",h&&d.ValidatedMappings==null],["onClick",h0=>{const Y=d.ValidatedMappings;Y==null?p[1](!0):o(Y)}],(U=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),H6(13,8)],["children",b.Children.toArray(Array.from(U))])])))],["children",b.Children.toArray(Array.from(J))])])))],["children",b.Children.toArray(Array.from(o0))])])))],["children",b.Children.toArray(Array.from(V))])]))))})))),["children",b.Children.toArray(Array.from(F))])]))))}))})))),["children",b.Children.toArray(Array.from(R))]))))],["children",b.Children.toArray(Array.from(O))])])))],["children",b.Children.toArray(Array.from(m))])]))))})))))),["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}class y_ extends E0{constructor(t,r,n,i,o,s,a,l,u){super(),this.RowNumber=t|0,this.FirstName=r,this.LastName=n,this.Email=i,this.MobilePhone=o,this.EmploymentBasis=s,this.HasDuplicateEmailError=a,this.HasErrorOtherThanDuplicateEmail=l,this.Errors=u}}class Zi extends E0{constructor(t,r){super(),this.Summary=t,this.Details=r}}function wr(e){if(!$t(e))return e}function Q9(e,t,r){const n=r!=null?[r[0].fields[0].fields[0],Fg(r[1])]:void 0;return w(t1(i=>{let o,s,a,l,u,d,f,p,h,m,g,y,_,C,E,M,O;const R=i.fields[0];return gt(V1($=>$,[(o=wr(g0(t.FirstName.fields[0],R)),o==null?void 0:(s=o,[x2(new r0(0,[])),s])),(a=wr(g0(t.LastName.fields[0],R)),a==null?void 0:(l=a,[x2(new r0(1,[])),l])),(u=wr(g0(t.Email.fields[0],R)),u==null?void 0:(d=u,[x2(new r0(2,[])),d])),(f=(p=t.MobilePhone,p==null?void 0:(h=wr(g0(p.fields[0],R)),h==null?void 0:Z9(h))),f==null?void 0:(m=f,[x2(new r0(3,[])),m])),(g=(y=n,y==null?void 0:(_=y,C=(E=g0(_[0],R),M=T0(),[dd(_[1],E,new S1(()=>M,$=>{M=$})),M]),C[0]?C[1]:void 0)),g==null?void 0:(O=g,[x2(new r0(4,[])),O]))]),{Compare:j2})},e.fields[0]))}function v_(e,t,r){const n=x2(r);return[A2(e.Data,n),!r6(i=>i.PropName===n,t)]}function b_(e,t){const r=va(t.PropName);if(r==null)return["Invalid or missing field",!1];{const n=r,i=N3(n).toLocaleLowerCase();if(A2(e.Data,x2(n))!=null){let s;switch(n.tag===2&&t.Message.startsWith("Duplicate")?s=0:s=1,s){case 0:return[`Duplicate ${i}`,!1];default:return[`Invalid ${i}`,!0]}}else return[`Missing ${i}`,!1]}}function Ki(e){const t=va(e.PropName);if(t==null)return e.Message;{const r=t;let n;switch(r.tag===2&&e.Message.startsWith("Duplicate")?n=0:n=1,n){case 0:return`${N3(r)} exists in multiple rows`;default:return I8(e.Message,e.Column,N3(r))}}}function __(e,t,r,n){return z.Delay(()=>z.TryWith(z.Delay(()=>{let i,o,s;return z.ReturnFrom((i=new Ws(n!=null,t6((a,l)=>new g6(a+2,l),(o=[t,r,n],Q9(o[0],o[1],o[2])))),s=e(i),z.Bind(s,a=>{let l;const u=a;return l=u.tag===1?new I(1,[u.fields[0]]):new I(0,[s2(d=>{let f,p,h,m,g;const y=Q0((f=X8(C=>C.RowId===d.RowId,u.fields[0].Errors),f==null?void 0:f.FieldErrors),l1()),_=C=>v_(d,y,C);return new y_(d.RowId-2+1,_(new r0(0,[])),_(new r0(1,[])),_(new r0(2,[])),_(new r0(3,[])),(p=_(new r0(4,[])),[(h=(m=p[0],m==null?void 0:Dg(m)),h==null?void 0:ga(h)),p[1]]),r6(C=>C.Message.startsWith("Duplicate Email"),y),!k0(Oe(C=>!C.Message.startsWith("Duplicate Email"),y)),k0(y)?void 0:k0(R0(y))?(g=b_(d,l0(y)),new Zi(g[0],g[1]?u0(Ki(l0(y))):void 0)):new Zi("Multiple invalid or missing fields",s2(Ki,y)))},i.Data)]),z.Return(l)})))}),i=>z.Return(new I(1,[n1(i)]))))}function C_(e,t,r,n,i){return z.Delay(()=>z.TryWith(z.Delay(()=>{let o;return z.Bind(e(new qs(n!=null,t0(i,new N1(0,[])),t6((s,a)=>new g6(s+2,a),(o=[t,r,n],Q9(o[0],o[1],o[2]))))),s=>{let a;return z.Return((a=s,a.tag===1?new I(1,[a.fields[0]]):new I(0,[a.fields[0].ImportId])))})}),o=>z.Return(new I(1,[n1(o)]))))}let ct=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validated","SetInviteTiming","ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},dt=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validating","Reviewing"]}};class d3 extends E0{constructor(t,r,n,i,o,s,a,l,u,d,f,p,h){super(),this.Data=t,this.InviteTiming=r,this.DuplicateEmailCount=n|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=i|0,this.NumberOfInvalidRows=o|0,this.NumberOfRows=s|0,this.NumberOfValidRows=a|0,this.ShowingOnlyRowsWithErrors=l,this.HasErrors=u,this.RowFrom=d|0,this.RowTo=f|0,this.Page=p,this.PageNo=h|0}}function x_(e,t,r){return[new dt(0,[]),y6(w([$e(t,new fe(5,[{RowCount:Vg(r)}])),Zs(n=>{Ks(n)},e,void 0,n=>new ct(0,[n]))]))]}function yr(e,t,r){const n=(e-1)*20|0,i=lc(n,e*20-1,r?Oe(o=>o.Errors!=null,t):t);if(k0(i))return[0,0,l1()];{const o=i;return[n+1,n+Q1(o),o]}}function el(e){return e.PageNo>1}function tl(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function S_(e,t){const r=Oe(n=>n.Errors!=null,e.Data);return U3(u0(`Error detail,First name,Last name,Email,Mobile phone${t?",Employment basis":""},Original row #
|
|
50
|
+
`),t6((n,i)=>{const o=Q0(C1(f=>f.Summary,i.Errors),""),s=Q0(i.FirstName[0],""),a=Q0(i.LastName[0],""),l=Q0(i.Email[0],""),u=Q0(i.MobilePhone[0],""),d=n===Q1(r)-1?"":`
|
|
51
|
+
`;return t?`${o},${s},${a},${l},${u},${Q0(i.EmploymentBasis[0],"")},${i.RowNumber}${d}`:`${o},${s},${a},${l},${u},${i.RowNumber}${d}`},r))}function E_(e,t,r,n){let i,o,s,a,l,u,d,f,p,h,m;switch(r.tag){case 1:{n.tag===1?(o=2,l=r.fields[0],u=n.fields[0]):(o=7,m=n);break}case 2:{n.tag===1?(i=n.fields[0],i.HasErrors&&i.ShowingOnlyRowsWithErrors!==r.fields[0]?(o=3,d=n.fields[0],f=r.fields[0]):(o=7,m=n)):(o=7,m=n);break}case 3:{n.tag===1&&tl(n.fields[0])?(o=4,p=n.fields[0]):(o=7,m=n);break}case 4:{n.tag===1&&el(n.fields[0])?(o=5,h=n.fields[0]):(o=7,m=n);break}case 5:{n.tag===1&&n.fields[0].HasErrors?o=6:(o=7,m=n);break}default:r.fields[0].tag===1?n.tag===0?(o=1,a=r.fields[0].fields[0]):(o=7,m=n):n.tag===0?(o=0,s=r.fields[0].fields[0]):(o=7,m=n)}switch(o){case 0:{let g;const y=[s,!1];g=yr(1,y[0],y[1]);const _=Q1(Oe(M=>M.Errors==null,s))|0,C=Q1(Oe(M=>M.HasDuplicateEmailError,s))|0,E=Q1(Oe(M=>M.Errors!=null,s))|0;return[new dt(1,[new d3(s,new N1(1,[]),C,Q1(Oe(M=>M.HasErrorOtherThanDuplicateEmail,s)),E,Q1(s),_,!1,r6(M=>M.Errors!=null,s),g[0],g[1],g[2],1)]),$e(t,new fe(6,[{DuplicateCount:C,RowCount:Q1(s),SuccessCount:_,TotalFailedCount:E}]))]}case 1:return[n,$e(e,a)];case 2:return[new dt(1,[new d3(u.Data,l,u.DuplicateEmailCount,u.NumberOfRowsWithErrorsOtherThanDuplicateEmail,u.NumberOfInvalidRows,u.NumberOfRows,u.NumberOfValidRows,u.ShowingOnlyRowsWithErrors,u.HasErrors,u.RowFrom,u.RowTo,u.Page,u.PageNo)]),C0()];case 3:{let g;const y=[d.Data,f];return g=yr(1,y[0],y[1]),[new dt(1,[new d3(d.Data,d.InviteTiming,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfValidRows,f,d.HasErrors,g[0],g[1],g[2],1)]),C0()]}case 4:{const g=p.PageNo+1|0;let y;const _=[p.Data,p.ShowingOnlyRowsWithErrors];return y=yr(g,_[0],_[1]),[new dt(1,[new d3(p.Data,p.InviteTiming,p.DuplicateEmailCount,p.NumberOfRowsWithErrorsOtherThanDuplicateEmail,p.NumberOfInvalidRows,p.NumberOfRows,p.NumberOfValidRows,p.ShowingOnlyRowsWithErrors,p.HasErrors,y[0],y[1],y[2],g)]),C0()]}case 5:{const g=h.PageNo-1|0;let y;const _=[h.Data,h.ShowingOnlyRowsWithErrors];return y=yr(g,_[0],_[1]),[new dt(1,[new d3(h.Data,h.InviteTiming,h.DuplicateEmailCount,h.NumberOfRowsWithErrorsOtherThanDuplicateEmail,h.NumberOfInvalidRows,h.NumberOfRows,h.NumberOfValidRows,h.ShowingOnlyRowsWithErrors,h.HasErrors,y[0],y[1],y[2],g)]),C0()]}case 6:return[n,$e(t,new fe(7,[]))];default:return[m,C0()]}}function rl(e,t){let r,n,i;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=w([c("path",v(w([(n="M12.6666 14.6667H3.33328C2.23062 14.6667 1.33328 13.7693 1.33328 12.6667V10H2.66662V12.6667C2.66662 13.034 2.96595 13.3333 3.33328 13.3333H12.6666C13.0339 13.3333 13.3333 13.034 13.3333 12.6667V10H14.6666V12.6667C14.6666 13.7693 13.7693 14.6667 12.6666 14.6667Z",["d",n]),["fill","#2E66F7"]]))),c("path",v(w([(i="M11.3333 5.72395L8.66667 8.39062V1.33328H7.33333V8.39062L4.66667 5.72395L3.724 6.66662L8 10.9426L12.276 6.66662L11.3333 5.72395Z",["d",i]),["fill","#2E66F7"]])))]),["children",b.Children.toArray(Array.from(r))])])))}function nl(e,t,r){let n,i,o,s,a,l,u,d,f,p,h,m,g,y,_,C,E,M,O,R,$,S,x;return Zt(w([new x1(3,[t]),new x1(4,[r]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[Kt(u0(new d2(2,[[c("div",v(w([["className","flex flex-col mt-6 mb-6 px-6"],(i=[c("div",v(w([["className","flex flex-row justify-between"],(o=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),c("button",v(w([["onClick",A=>{r()}],["type","button"],["className","text-gray-600"],(s=[z2(24,24)],["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(o))])]))),c("div",v(w([["className","text-gray-600 text-sm pt-6"],(a=[c("span",{children:"Fields marked with "}),c("span",{className:"text-red-600",children:"*"}),c("span",v(u0((l=" are required to create a user. While “Mobile number” and “Employment basis” are optional, they are recommended for improved searching and filtering.",["children",l]))))],["children",b.Children.toArray(Array.from(a))])]))),c("div",v(w([["className","grid grid-cols-2 mt-3"],(u=[c("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),c("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),c("div",v(w([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[c("span",{children:"First name "}),c("span",{className:"text-red-600",children:"*"})],["children",b.Children.toArray(Array.from(d))])]))),c("div",v(u0((f=[c("div",v(w([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(p=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",b.Children.toArray(Array.from(p))])])))],["children",b.Children.toArray(Array.from(f))])))),c("div",v(w([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(h=[c("span",{children:"Last name "}),c("span",{className:"text-red-600",children:"*"})],["children",b.Children.toArray(Array.from(h))])]))),c("div",v(u0((m=[c("div",v(w([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(g=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",b.Children.toArray(Array.from(g))])])))],["children",b.Children.toArray(Array.from(m))])))),c("div",v(w([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(y=[c("span",{children:"Email "}),c("span",{className:"text-red-600",children:"*"})],["children",b.Children.toArray(Array.from(y))])]))),c("div",v(u0((_=[c("div",v(w([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(C=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",b.Children.toArray(Array.from(C))])])))],["children",b.Children.toArray(Array.from(_))])))),c("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),c("div",v(u0((E=[c("div",v(w([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(M=[c("span",{children:"For example:"}),c("br",{}),c("span",{className:"italic",children:"+61432368712"})],["children",b.Children.toArray(Array.from(M))])])))],["children",b.Children.toArray(Array.from(E))])))),c("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),c("div",v(u0((O=[c("div",v(w([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(R=[c("span",{children:"One of the following options:"}),c("br",{}),c("ul",v(w([["className","italic list-disc px-3"],($=[c("li",{children:"Full-time"}),c("li",{children:"Part-time"}),c("li",{children:"Labour hire"}),c("li",{children:"Casual"})],["children",b.Children.toArray(Array.from($))])])))],["children",b.Children.toArray(Array.from(R))])])))],["children",b.Children.toArray(Array.from(O))])))),c("a",v(w([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users"],(S=[c("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),c("span",v(w([["className","pb-0.5"],(x=[rl(16,16)],["children",b.Children.toArray(Array.from(x))])])))],["children",b.Children.toArray(Array.from(S))])])))],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(i))])])))]])))],["children",b.Children.toArray(Array.from(n))])])))]])]))}function A_(e,t){let r,n,i,o,s,a,l,u,d,f,p,h,m;return Zt(w([new x1(3,[e]),new x1(4,[t]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[Kt(u0(new d2(2,[[c("div",v(w([["className","flex flex-col mt-6 mb-6 px-6"],(n=[c("div",v(w([["className","flex flex-row justify-between"],(i=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),c("button",v(w([["onClick",g=>{t()}],["type","button"],["className","text-gray-600"],(o=[z2(24,24)],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(i))])]))),c("div",v(w([["className","text-gray-500 text-sm font-normal pt-6"],(s=[c("p",v(u0((a=[c("span",{children:["Workplace benefits is a"]}),c("span",{className:"font-semibold",children:" free platform "}),(l="for your entire workforce – including full-time, part-time, casual employees, and volunteers. It allows you to share company benefits while supporting employee wellbeing.",c("span",{children:[l]}))],["children",b.Children.toArray(Array.from(a))])))),c("p",v(w([["className","pt-3"],(u=[(d="With workplace benefits, your people can access everyday savings from top Australian brands like Woolworths, Kmart, Harvey Norman, The Iconic, and more – all through the ",c("span",{children:[d]})),c("span",{className:"font-semibold text-nowrap",children:" Flare App"}),c("span",{children:["."]})],["children",b.Children.toArray(Array.from(u))])]))),c("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),c("ul",v(w([["className","list-inside list-disc pt-3"],(f=[c("li",v(u0((p=[c("span",{className:"font-semibold",children:"Savings "}),c("span",{children:["on essentials like food, fuel, and more."]})],["children",b.Children.toArray(Array.from(p))])))),c("li",v(w([["className","pt-2"],(h=[c("span",{className:"font-semibold",children:"Exclusive offers "}),c("span",{children:["from leading brands and retailers."]})],["children",b.Children.toArray(Array.from(h))])]))),c("li",v(w([["className","pt-2"],(m=[c("span",{className:"font-semibold",children:"Tax savings "}),c("span",{children:["with salary packaging."]})],["children",b.Children.toArray(Array.from(m))])])))],["children",b.Children.toArray(Array.from(f))])])))],["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(n))])])))]])))],["children",b.Children.toArray(Array.from(r))])])))]])]))}const T_=e=>c("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{id:"Group 67"},c("path",{id:"Vector",d:"M24.2605 17.5933C17.766 17.5933 12.5005 22.9015 12.5005 29.4469V53.1561H36.0205V29.4469C36.0205 22.8995 30.7549 17.5933 24.2605 17.5933Z",fill:"url(#paint0_linear_4467_4223)"}),c("g",{id:"Group",opacity:.95},c("path",{id:"Vector_2",d:"M35.76 35.646C29.2655 35.646 24 40.9115 24 47.406V53.1558H47.52V47.406C47.52 40.9115 42.2544 35.646 35.76 35.646Z",fill:"url(#paint1_linear_4467_4223)"})),c("path",{id:"Vector_3",opacity:.95,d:"M12.24 35.646C5.74553 35.646 0.47998 40.9115 0.47998 47.406V53.1558H24V47.406C24 40.9115 18.7344 35.646 12.24 35.646Z",fill:"url(#paint2_linear_4467_4223)"}),c("path",{id:"Vector_4",d:"M24.1303 16.8098C28.5328 16.8098 32.1018 13.2408 32.1018 8.83827C32.1018 4.43569 28.5328 0.866699 24.1303 0.866699C19.7277 0.866699 16.1587 4.43569 16.1587 8.83827C16.1587 13.2408 19.7277 16.8098 24.1303 16.8098Z",fill:"#0095F2"}),c("path",{id:"Vector_5",opacity:.93,d:"M13.1537 35.1253C17.5563 35.1253 21.1253 31.5563 21.1253 27.1537C21.1253 22.7511 17.5563 19.1821 13.1537 19.1821C8.75112 19.1821 5.18213 22.7511 5.18213 27.1537C5.18213 31.5563 8.75112 35.1253 13.1537 35.1253Z",fill:"#FF876F"}),c("path",{id:"Vector_6",opacity:.93,d:"M35.89 35.1253C40.2926 35.1253 43.8616 31.5563 43.8616 27.1537C43.8616 22.7511 40.2926 19.1821 35.89 19.1821C31.4875 19.1821 27.9185 22.7511 27.9185 27.1537C27.9185 31.5563 31.4875 35.1253 35.89 35.1253Z",fill:"#A650FF"})),c("defs",null,c("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#161E37"}),c("stop",{offset:.11,stopColor:"#172243"}),c("stop",{offset:.31,stopColor:"#1B2E62"}),c("stop",{offset:.57,stopColor:"#214196"}),c("stop",{offset:.89,stopColor:"#2A5CDD"}),c("stop",{offset:1,stopColor:"#2E66F7"})),c("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},c("stop",{offset:.11,stopColor:"#FF876F"}),c("stop",{offset:.99,stopColor:"#A650FF"})),c("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#0095F2"}),c("stop",{offset:.29,stopColor:"#307CF6"}),c("stop",{offset:.61,stopColor:"#6163FB"}),c("stop",{offset:.86,stopColor:"#7F54FD"}),c("stop",{offset:1,stopColor:"#8B4FFF"})))),M_=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},c("path",{d:"M6.00033 0.666504C3.05966 0.666504 0.666992 3.05917 0.666992 5.99984C0.666992 8.9405 3.05966 11.3332 6.00033 11.3332C8.94099 11.3332 11.3337 8.9405 11.3337 5.99984C11.3337 3.05917 8.94099 0.666504 6.00033 0.666504ZM6.50033 8.54584C6.50033 8.82184 6.27633 9.04584 6.00033 9.04584C5.72433 9.04584 5.50033 8.82184 5.50033 8.54584V5.49984C5.50033 5.22384 5.72433 4.99984 6.00033 4.99984C6.27633 4.99984 6.50033 5.22384 6.50033 5.49984V8.54584ZM6.00033 4.49984C5.63233 4.49984 5.33366 4.2005 5.33366 3.83317C5.33366 3.46584 5.63233 3.1665 6.00033 3.1665C6.36833 3.1665 6.66699 3.46584 6.66699 3.83317C6.66699 4.2005 6.36833 4.49984 6.00033 4.49984Z",fill:"currentColor"})),N_=e=>c("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),c("g",{clipPath:"url(#clip0_4584_4202)"},c("path",{d:"M9.24302 26.953L18.152 10.111C18.33 9.77467 18.5963 9.49321 18.9222 9.2969C19.2482 9.10059 19.6215 8.99686 20.002 8.99686C20.3825 8.99686 20.7559 9.10059 21.0818 9.2969C21.4078 9.49321 21.6741 9.77467 21.852 10.111L30.761 26.953C30.9282 27.2708 31.0103 27.6266 30.9991 27.9855C30.988 28.3445 30.8841 28.6944 30.6975 29.0013C30.5109 29.3081 30.2479 29.5614 29.9343 29.7364C29.6207 29.9115 29.2672 30.0023 28.908 30H11.092C10.7332 30.0016 10.3801 29.9103 10.0671 29.735C9.75404 29.5597 9.49169 29.3063 9.30555 28.9996C9.11942 28.6928 9.01583 28.3431 9.00488 27.9845C8.99392 27.6259 9.07596 27.2705 9.24302 26.953V26.953Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20 27C20.8284 27 21.5 26.3284 21.5 25.5C21.5 24.6716 20.8284 24 20 24C19.1716 24 18.5 24.6716 18.5 25.5C18.5 26.3284 19.1716 27 20 27Z",fill:"#DC2626"})),c("defs",null,c("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#FECACA"}),c("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),c("clipPath",{id:"clip0_4584_4202"},c("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),k_=e=>c("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.3272 22.6261C28.5428 23.1983 28.2016 23.8306 27.6205 24.025C26.6465 24.3503 25.3424 24.6628 23.7902 24.7151C23.7699 24.6508 23.7476 24.5864 23.7234 24.522C23.042 22.7136 21.7109 21.2192 20.0107 20.3308C20.9217 19.6032 22.0762 19.1683 23.3339 19.1683C25.6205 19.1683 27.5661 20.6061 28.3272 22.6261Z",fill:"#93C5FD"}),c("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",fill:"#93C5FD"}),c("path",{d:"M16.3892 19.1667C17.6165 19.1667 18.6114 18.1718 18.6114 16.9445C18.6114 15.7172 17.6165 14.7222 16.3892 14.7222C15.1619 14.7222 14.167 15.7172 14.167 16.9445C14.167 18.1718 15.1619 19.1667 16.3892 19.1667Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M20.6771 26.8022C21.2583 26.6078 21.5994 25.9756 21.3838 25.4033C20.6227 23.3833 18.6771 21.9456 16.3905 21.9456C14.1038 21.9456 12.1583 23.3833 11.3971 25.4033C11.1816 25.9767 11.5227 26.6089 12.1038 26.8022C13.1727 27.1589 14.6383 27.5 16.3916 27.5C18.1449 27.5 19.6094 27.1589 20.6771 26.8022Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M24.1664 24.6967C25.553 24.6111 26.7264 24.3233 27.6208 24.0245C28.2019 23.83 28.543 23.1978 28.3275 22.6256C27.5664 20.6056 25.6208 19.1678 23.3341 19.1678C22.2486 19.1678 21.2397 19.4922 20.3975 20.0489",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),c("defs",null,c("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},c("stop",{stopColor:"#D6E2FC"}),c("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),I_=e=>c("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{clipPath:"url(#clip0_3030_30757)"},c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.40895 5.42706C5.79785 4.83985 8.86151 3.00302 11.0249 0.261313C11.1152 0.153807 11.235 0.0767261 11.3686 0.0401219C11.5021 0.00351777 11.6434 0.0090886 11.7738 0.056108C11.9043 0.103127 12.0179 0.189414 12.0999 0.303716C12.1819 0.418018 12.2285 0.555032 12.2335 0.696894L12.2335 11.4663C12.2313 11.588 12.1985 11.7071 12.1382 11.812C12.078 11.9168 11.9924 12.0039 11.8897 12.0648C11.787 12.1257 11.6708 12.1583 11.5522 12.1594C11.4336 12.1606 11.3168 12.1303 11.213 12.0714L2.17962 6.71732C2.06323 6.6422 1.97142 6.53301 1.91604 6.40381C1.86067 6.27462 1.84426 6.13136 1.86894 5.9925C1.89362 5.85364 1.95825 5.72556 2.05451 5.62478C2.15076 5.52399 2.27422 5.45513 2.40895 5.42706ZM2.40895 22.6054C5.79785 23.1926 8.86151 25.0295 11.0249 27.7712C11.1152 27.8787 11.235 27.9557 11.3686 27.9923C11.5021 28.029 11.6434 28.0234 11.7738 27.9764C11.9043 27.9293 12.0179 27.8431 12.0999 27.7288C12.1819 27.6145 12.2285 27.4774 12.2335 27.3356L12.2335 16.5756C12.2328 16.453 12.2012 16.3328 12.1416 16.2267C12.082 16.1205 11.9965 16.0321 11.8936 15.9701C11.7906 15.9081 11.6738 15.8747 11.5544 15.8731C11.4351 15.8715 11.3174 15.9018 11.213 15.961L2.17962 21.3151C2.06323 21.3903 1.97142 21.4995 1.91604 21.6287C1.86067 21.7578 1.84426 21.9011 1.86894 22.04C1.89362 22.1788 1.95825 22.3069 2.05451 22.4077C2.15076 22.5085 2.27422 22.5773 2.40895 22.6054ZM0.20511 8.8811C1.43425 12.1754 1.45137 15.8168 0.253269 19.1231C0.21046 19.2568 0.207545 19.4007 0.244898 19.5361C0.28225 19.6715 0.358167 19.7924 0.462907 19.8833C0.567647 19.9741 0.696433 20.0307 0.832742 20.0459C0.96905 20.0611 1.10666 20.0341 1.22793 19.9684L10.2567 14.6166C10.3578 14.5537 10.4414 14.465 10.4994 14.3592C10.5574 14.2535 10.5879 14.1341 10.5879 14.0127C10.5879 13.8913 10.5574 13.772 10.4994 13.6662C10.4414 13.5604 10.3578 13.4717 10.2567 13.4088L1.17518 8.02406C1.05302 7.95812 0.914374 7.93142 0.777244 7.94743C0.640114 7.96344 0.510844 8.02142 0.406231 8.11384C0.301618 8.20627 0.226497 8.32886 0.190631 8.46568C0.154764 8.60251 0.159809 8.74725 0.20511 8.8811ZM23.6634 22.6054C20.2745 23.1926 17.2108 25.0295 15.0474 27.7712C14.9571 27.8787 14.8374 27.9557 14.7038 27.9923C14.5702 28.029 14.4289 28.0234 14.2985 27.9764C14.168 27.9293 14.0544 27.8431 13.9724 27.7288C13.8904 27.6145 13.8439 27.4774 13.8388 27.3356L13.8388 16.5756C13.8397 16.4534 13.8714 16.3335 13.9309 16.2277C13.9904 16.1219 14.0756 16.0337 14.1781 15.9718C14.2807 15.9098 14.3972 15.8763 14.5162 15.8744C14.6352 15.8725 14.7527 15.9024 14.8571 15.961L23.8927 21.3152C24.0091 21.3903 24.1009 21.4995 24.1563 21.6287C24.2117 21.7579 24.2281 21.9011 24.2034 22.04C24.1787 22.1788 24.1141 22.3069 24.0178 22.4077C23.9216 22.5085 23.7981 22.5773 23.6634 22.6054ZM15.0474 0.261313C17.2108 3.00302 20.2745 4.83985 23.6634 5.42706C23.7981 5.45513 23.9216 5.52399 24.0178 5.62478C24.1141 5.72556 24.1787 5.85364 24.2034 5.9925C24.2281 6.13136 24.2117 6.27462 24.1563 6.40381C24.1009 6.53301 24.0091 6.6422 23.8927 6.71732L14.8571 12.0714C14.7533 12.1297 14.6367 12.1596 14.5185 12.1581C14.4002 12.1567 14.2844 12.124 14.182 12.0632C14.0797 12.0024 13.9943 11.9155 13.9342 11.8109C13.8741 11.7064 13.8412 11.5877 13.8388 11.4663L13.8388 0.696894C13.8439 0.555032 13.8904 0.418018 13.9724 0.303716C14.0544 0.189414 14.168 0.103127 14.2985 0.056108C14.4289 0.0090886 14.5702 0.00351777 14.7038 0.0401219C14.8374 0.0767261 14.9571 0.153807 15.0474 0.261313ZM25.8168 8.90935C24.6184 12.2158 24.6363 15.8576 25.8672 19.1514C25.913 19.2855 25.9182 19.4307 25.8823 19.5679C25.8464 19.7052 25.7711 19.8281 25.666 19.9207C25.561 20.0133 25.4312 20.0711 25.2936 20.0868C25.1561 20.1024 25.0171 20.0751 24.8949 20.0084L15.8111 14.6237C15.71 14.5607 15.6264 14.4721 15.5684 14.3663C15.5104 14.2605 15.4799 14.1412 15.4799 14.0198C15.4799 13.8984 15.5104 13.779 15.5684 13.6732C15.6264 13.5674 15.71 13.4788 15.8111 13.4158L24.8421 8.06409C24.9634 7.9984 25.101 7.97141 25.2373 7.98657C25.3736 8.00174 25.5024 8.05837 25.6072 8.14921C25.7119 8.24004 25.7878 8.36093 25.8252 8.49637C25.8625 8.63181 25.8596 8.77562 25.8168 8.90935Z",fill:"#2696EC"}),c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2209 10.9851V23.8468H35.8118V10.9851H33.4648V7.92778H35.8118V6.51672C35.8118 4.91439 36.1765 3.76595 36.9061 3.0714C37.6356 2.37685 38.8454 2.02879 40.5355 2.02722H42.4442V4.82816H41.2857C40.5347 4.82816 40.0032 4.98495 39.6912 5.29851C39.3769 5.6207 39.2209 6.16396 39.2209 6.94474V7.93718H42.3891V10.9945L39.2209 10.9851ZM48.9092 2.03663L45.4679 2.03663V23.8421L48.9092 23.8421V2.03663ZM67.5974 23.8468V7.93718L64.2755 7.93718V10.1196C63.6573 9.3308 62.873 8.69564 61.9813 8.26172C61.0863 7.83165 60.1089 7.61228 59.1205 7.6197C58.0959 7.5972 57.0782 7.79484 56.1327 8.19987C55.1871 8.60491 54.3348 9.20838 53.6305 9.97145C52.1393 11.5597 51.3937 13.5195 51.3937 15.8508C51.3952 18.2324 52.1202 20.2032 53.5686 21.7632C55.017 23.3232 56.8362 24.1031 59.0264 24.1031C60.0369 24.1101 61.0362 23.886 61.9515 23.447C62.8575 23.009 63.6545 22.3657 64.2823 21.5656V23.8468H67.5974ZM55.138 17.7811C54.9016 17.1671 54.7876 16.5107 54.8028 15.8508C54.7876 15.1909 54.9016 14.5346 55.138 13.9206C55.3744 13.3066 55.7285 12.7475 56.1794 12.2762C56.6129 11.8155 57.1322 11.4489 57.7066 11.1979C58.281 10.947 58.8988 10.8169 59.5231 10.8153C60.1475 10.8138 60.7658 10.9409 61.3414 11.189C61.917 11.4371 62.4381 11.8012 62.8737 12.2597C63.3183 12.7374 63.6661 13.3008 63.8968 13.9172C64.1276 14.5337 64.2368 15.1909 64.2181 15.8508C64.2368 16.5108 64.1276 17.168 63.8968 17.7844C63.6661 18.4009 63.3183 18.9642 62.8737 19.442C62.4381 19.9005 61.917 20.2646 61.3414 20.5127C60.7658 20.7608 60.1475 20.8879 59.5231 20.8863C58.8988 20.8848 58.281 20.7547 57.7066 20.5038C57.1322 20.2528 56.6129 19.8861 56.1794 19.4255C55.7285 18.9542 55.3744 18.395 55.138 17.7811ZM74.317 14.254V23.8468H70.9079V7.93718L74.223 7.93718V9.54108C74.592 8.94917 75.0969 8.45902 75.6935 8.11357C76.2985 7.77921 76.977 7.60919 77.6642 7.6197C78.1147 7.61511 78.5633 7.68012 78.9948 7.81254C79.3586 7.91663 79.6949 8.10308 79.979 8.35815L78.2584 11.4366C78.0425 11.2918 77.8055 11.1831 77.5564 11.1144C77.3265 11.052 77.0899 11.0196 76.8521 11.018C76.4954 11.0017 76.1402 11.0733 75.8161 11.2268C75.4919 11.3802 75.2084 11.611 74.9892 11.8999C74.5411 12.4863 74.317 13.271 74.317 14.254ZM95.8271 16.467C95.8432 16.34 95.8432 16.1472 95.8432 15.8908C95.8355 13.4967 95.0815 11.5197 93.5811 9.95969C92.0807 8.3997 90.1835 7.6197 87.8893 7.6197C85.5676 7.61186 83.642 8.38872 82.1126 9.95029C80.5831 11.5119 79.8184 13.4897 79.8184 15.8838C79.8184 18.2982 80.5587 20.2698 82.0392 21.7984C83.5197 23.3271 85.4384 24.0914 87.7952 24.0914C89.5346 24.1334 91.2443 23.6242 92.691 22.6333C94.0578 21.6868 95.0674 20.2892 95.5518 18.6729H91.9546C91.5609 19.4036 90.9761 20.0071 90.266 20.4156C89.5283 20.8295 88.6981 21.0394 87.8572 21.0247C86.7294 21.0612 85.6315 20.65 84.7922 19.877C83.977 19.1229 83.4975 18.1038 83.3537 16.8198H95.7812C95.8037 16.7033 95.819 16.5855 95.8271 16.467ZM87.8324 10.6957C87.8338 10.6957 87.8351 10.6958 87.8365 10.6958H87.8274C87.829 10.6958 87.8307 10.6957 87.8324 10.6957ZM84.9413 11.7212C85.7535 11.0344 86.7798 10.6704 87.8324 10.6957C88.8902 10.6749 89.9201 11.0447 90.7341 11.7376C91.5425 12.4257 92.0583 13.409 92.1725 14.4798L83.3927 14.4798C83.5781 13.4028 84.1261 12.4266 84.9413 11.7212Z",fill:"#143057"})),c("defs",null,c("clipPath",{id:"clip0_3030_30757"},c("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),O_=e=>c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5C8.14219 5 5 8.14219 5 12C5 15.8578 8.14219 19 12 19C15.8578 19 19 15.8578 19 12C19 8.14219 15.8578 5 12 5ZM3 12C3 7.03763 7.03763 3 12 3C16.9624 3 21 7.03763 21 12C21 16.9624 16.9624 21 12 21C7.03763 21 3 16.9624 3 12Z",fill:"#10B981"}),c("path",{d:"M11.707 14.707C11.3165 15.0975 10.6834 15.0975 10.2928 14.707L8.29294 12.7071C7.90247 12.3166 7.90247 11.6835 8.29294 11.2931C8.6834 10.9026 9.31647 10.9026 9.70694 11.2931L10.9999 12.5861L14.2929 9.29306C14.6834 8.90259 15.3165 8.90259 15.7069 9.29306C16.0974 9.68353 16.0974 10.3166 15.7069 10.7071L11.707 14.707Z",fill:"#10B981"})),R_=e=>c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("path",{d:"M12.0004 2.40002C6.72039 2.40002 2.40039 6.72002 2.40039 12C2.40039 17.28 6.72039 21.6 12.0004 21.6C17.2804 21.6 21.6004 17.28 21.6004 12C21.6004 6.72002 17.2804 2.40002 12.0004 2.40002ZM12.0004 19.2C8.04039 19.2 4.80039 15.96 4.80039 12C4.80039 8.04002 8.04039 4.80002 12.0004 4.80002C15.9604 4.80002 19.2004 8.04002 19.2004 12C19.2004 15.96 15.9604 19.2 12.0004 19.2Z",fill:"#DC2626"}),c("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),c("path",{d:"M12.0008 16.8C12.6635 16.8 13.2008 16.2628 13.2008 15.6C13.2008 14.9373 12.6635 14.4 12.0008 14.4C11.338 14.4 10.8008 14.9373 10.8008 15.6C10.8008 16.2628 11.338 16.8 12.0008 16.8Z",fill:"#DC2626"})),D_=e=>c("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c("g",{id:"Clock"},c("path",{id:"Icon",d:"M12.5 8V12L15.5 15M21.5 12C21.5 16.9706 17.4706 21 12.5 21C7.52944 21 3.5 16.9706 3.5 12C3.5 7.02944 7.52944 3 12.5 3C17.4706 3 21.5 7.02944 21.5 12Z",stroke:"#FB923C",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})));function p2(e,t){return b.createElement(e,v(t))}function $_(e){return p2(T_,e)}function F_(e){return p2(M_,e)}function P_(e){return p2(N_,e)}function L_(e){return p2(k_,e)}function B_(e){return p2(I_,e)}function H_(e){return p2(O_,e)}function V_(e){return p2(R_,e)}function U_(e){return p2(D_,e)}function j_(e,t,r,n){let i,o,s,a,l,u,d,f,p,h,m;return Zt(w([new x1(3,[e]),new x1(4,[r]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[c("div",v(w([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[Kt(w([new d2(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new d2(2,[[c("div",v(w([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[c("button",v(w([["type","button"],["onClick",g=>{r()}],["className","text-gray-600"],(a=[z2(24,24)],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(s))])]))),c("div",v(w([["className","sm:flex sm:items-start"],(l=[c("div",v(w([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(u=[L_([])],["children",b.Children.toArray(Array.from(u))])]))),c("div",v(w([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[P9(w([new Qr(2,["text-gray-900 text-lg font-bold"]),new Qr(3,[[`Import ${t} users`]])])),c("div",v(w([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[c("p",{children:[`Are you sure you want to import ${t} users?`]})],["children",b.Children.toArray(Array.from(f))])])))],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(l))])]))),c("div",v(w([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[c("button",v(w([["type","button"],["onClick",g=>{n()}],(h="inline-flex w-full justify-center rounded-md bg-emerald-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-emerald-700 sm:ml-3 sm:w-auto",["className",h]),["children","Confirm import"]]))),c("button",v(w([["type","button"],["onClick",g=>{r()}],(m="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",m]),["children","Cancel"]])))],["children",b.Children.toArray(Array.from(p))])])))]])]))],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(i))])])))]])]))}function W_(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=u0(c("path",v(w([(n="M17.8008 14.5263L11.4838 2.88031C11.328 2.59137 11.0904 2.35483 10.8008 2.20031C10.4074 1.98974 9.94665 1.94305 9.51893 2.07039C9.0912 2.19773 8.73106 2.48881 8.51683 2.88031L2.20083 14.5263C2.06272 14.7826 1.99367 15.0704 2.00046 15.3614C2.00724 15.6525 2.08964 15.9368 2.23954 16.1863C2.38944 16.4359 2.60169 16.6422 2.85544 16.7849C3.10919 16.9276 3.39571 17.0018 3.68683 17.0003H16.3148C16.5939 17.0003 16.8686 16.9316 17.1148 16.8003C17.3099 16.6968 17.4825 16.5556 17.6228 16.3851C17.763 16.2145 17.8681 16.0178 17.932 15.8064C17.9958 15.595 18.0172 15.373 17.9949 15.1533C17.9726 14.9336 17.9069 14.7205 17.8018 14.5263H17.8008ZM10.0008 15.0003C9.80305 15.0003 9.60971 14.9417 9.44526 14.8318C9.28081 14.7219 9.15264 14.5657 9.07695 14.383C9.00126 14.2003 8.98146 13.9992 9.02004 13.8052C9.05863 13.6112 9.15387 13.4331 9.29372 13.2932C9.43358 13.1533 9.61176 13.0581 9.80574 13.0195C9.99972 12.9809 10.2008 13.0007 10.3835 13.0764C10.5662 13.1521 10.7224 13.2803 10.8323 13.4447C10.9422 13.6092 11.0008 13.8025 11.0008 14.0003C11.0008 14.2655 10.8955 14.5199 10.7079 14.7074C10.5204 14.8949 10.266 15.0003 10.0008 15.0003ZM11.0008 11.5003C11.0008 11.6329 10.9482 11.7601 10.8544 11.8539C10.7606 11.9476 10.6334 12.0003 10.5008 12.0003H9.50083C9.36822 12.0003 9.24104 11.9476 9.14728 11.8539C9.05351 11.7601 9.00083 11.6329 9.00083 11.5003V7.50031C9.00083 7.3677 9.05351 7.24052 9.14728 7.14675C9.24104 7.05298 9.36822 7.00031 9.50083 7.00031H10.5008C10.6334 7.00031 10.7606 7.05298 10.8544 7.14675C10.9482 7.24052 11.0008 7.3677 11.0008 7.50031V11.5003Z",["d",n]),["fill","#FBBF24"]])))),["children",b.Children.toArray(Array.from(r))])])))}function q_(e){return`${J4(e,".")}.`}function Ji(e){return J4(e,".")}function G_(e){let t;const r=e.children,n=e.text,i=b.useState(!1),o=i[1];return c("div",v(w([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=G(k(()=>H(r,k(()=>{let s,a;return i[0]?T(c("div",v(w([(s="absolute z-50 top-0 left-full -translate-y-1/4 ml-1 text-left text-white text-xs leading-5 font-medium ring-1 ring-black ring-opacity-5 shadow-md rounded-md bg-gray-900 pl-6 pr-3 py-2 w-60 text-wrap",["className",s]),(a=G(k(()=>{let l;return k0(n)?T(c("ul",v(w([["className","list-outside list-disc"],(l=G(k(()=>V0(u=>c("li",{children:[Ji(u)]}),n))),["children",b.Children.toArray(Array.from(l))])])))):k0(R0(n))?T(c("p",{children:[q_(l0(n))]})):T(c("ul",v(w([["className","list-outside list-disc"],(l=G(k(()=>V0(u=>c("li",{children:[Ji(u)]}),n))),["children",b.Children.toArray(Array.from(l))])]))))})),["children",b.Children.toArray(Array.from(a))])])))):c1()})))),["children",b.Children.toArray(Array.from(t))])])))}function rt(e,t){let r;return c("div",v(w([["className",T1(" ",["animate-pulse w-full relative",e,t])],(r=[c("div",{className:T1(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",b.Children.toArray(Array.from(r))])])))}function z_(){let e,t,r,n,i,o,s,a,l,u,d;return c("div",v(w([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[c("div",v(w([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[c("div",v(w([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[c("div",v(w([["className","w-[1030px]"],(n=G(k(()=>{let f,p,h,m;return H(T(c("div",v(w([["className","bg-gray-100 flex"],(f=[c("div",v(w([["className","px-3 py-2.5 text-left w-[128px]"],(p=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(p))])]))),c("div",v(w([["className","px-3 py-2.5 text-left w-[148px]"],(h=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(h))])]))),c("div",v(w([["className","px-3 py-2.5 text-left flex-1"],(m=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(m))])])))],["children",b.Children.toArray(Array.from(f))])])))),k(()=>V0(g=>c("div",v(G(k(()=>H(g%2===1?T(["className","bg-white border-t border-gray-200 flex"]):T(["className","bg-gray-50 border-t border-gray-200 flex"]),k(()=>{let y,_,C,E;return T((y=[c("div",v(w([["className","px-3 py-2.5 text-left w-[128px]"],(_=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(_))])]))),c("div",v(w([["className","px-3 py-2.5 text-left w-[148px]"],(C=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(C))])]))),c("div",v(w([["className","px-3 py-2.5 text-left flex-1"],(E=[rt("h-5","w-full")],["children",b.Children.toArray(Array.from(E))])])))],["children",b.Children.toArray(Array.from(y))]))})))))),G(b6(0,1,9)))))})),["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])]))),c("div",v(w([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(i=[c("div",v(w([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",v(w([["className","justify-start items-center gap-2 flex"],(s=[c("button",v(w([(a="px-[13px] py-[9px] bg-white opacity-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex",["className",a]),["disabled",!0],(l=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",b.Children.toArray(Array.from(l))])]))),c("button",v(w([(u="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",u]),["disabled",!0],(d=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(e))])])))}function Y_(e){const t=t1(n=>n,f2(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}const Z_=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function K_(e){let t,r,n;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,u=e.baseColumnMappings,d=e.dataRows,f=e.apiCallAsync;let p;const h=x_(()=>__(f,d,u,l),i,d);p=G2(()=>q2(()=>h,(R,$)=>E_(o,i,R,$),(R,$)=>{}),void 0,void 0);const m=p[1],g=b.useState(!1),y=g[1],_=b.useState(!1),C=_[1],E=b.useState(!1),M=E[0],O=E[1];return c("div",v(w([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[nl(Z_,g[0],()=>{y(!1)}),A_(_[0],()=>{C(!1)}),Hn("Review"),Vn("Preview your data and confirm that everything is mapped correctly."),c("div",v(w([["className","flex flex-row pt-3 gap-2"],(r=[R3("What kind of data do I need?",()=>{y(!0)})],["children",b.Children.toArray(Array.from(r))])]))),c("div",v(w([["className","justify-start items-start gap-12 inline-flex"],(n=[c("div",v(G(k(()=>H(T(["className","pt-6 flex-col justify-start items-start gap-4 inline-flex"]),k(()=>{let R,$,S;const x=p[0];if(x.tag===1){const A=x.fields[0],N=o0=>{m(new ct(1,[o0]))},P=o0=>{m(new ct(2,[o0]))},F=tl(A)?o0=>{m(new ct(3,[]))}:void 0,V=el(A)?o0=>{m(new ct(4,[]))}:void 0;return T((R=[c("div",v(w([["className","flex-col justify-start items-start gap-6 inline-flex"],($=G(k(()=>H(T(j_(M,A.NumberOfValidRows,()=>{M&&O(!1)},()=>{M&&a([new wa(He(V0(o0=>o0[0],mn(o0=>o0[1].Errors==null,Ic(d.fields[0],A.Data))))),A.InviteTiming])})),k(()=>{let o0,J,X,L,q,U,h0,Y;return H(A.HasErrors?T(c("div",v(w([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(o0=[W_(20,20),c("div",v(w([["className","flex-col justify-start items-start gap-2 inline-flex"],(J=[c("div",v(w([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(X=[c("span",{children:[A.NumberOfInvalidRows>1?`We found some issues across ${A.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",b.Children.toArray(Array.from(X))])]))),c("ul",v(w([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(L=G(k(()=>{let D;return H(A.DuplicateEmailCount>0?T((D=w([c("span",{className:"font-medium",children:`${A.DuplicateEmailCount} rows `}),c("span",{children:["have "]}),c("span",{className:"font-medium",children:"duplicate email addresses"})]),c("li",{children:b.Children.toArray(Array.from(D))}))):c1(),k(()=>{let s0;return A.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?T((s0=w([c("span",{className:"font-medium",children:A.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${A.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),c("span",{children:[A.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),c("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),c("li",{children:b.Children.toArray(Array.from(s0))}))):c1()}))})),["children",b.Children.toArray(Array.from(L))])]))),c("div",v(w([["className","px-2 py-1.5"],(q=[c("div",v(w([["className","text-amber-700 text-sm leading-tight"],(U=[c("span",{children:[A.NumberOfValidRows===0?"To import these rows later, download the error report, fix the issues, and re-upload your file as a new import.":`You can continue the import without these ${A.NumberOfInvalidRows} rows—we’ll automatically skip them. To import them later, download the error report, fix the issues, and re-upload your file as a new import.`]})],["children",b.Children.toArray(Array.from(U))])])))],["children",b.Children.toArray(Array.from(q))])]))),c("div",v(w([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(h0=[c("a",{className:"px-2 py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:Y_((Y=[A,l!=null],S_(Y[0],Y[1]))),onClick:D=>{m(new ct(5,[]))},download:"import_users_error_rows"})],["children",b.Children.toArray(Array.from(h0))])])))],["children",b.Children.toArray(Array.from(J))])])))],["children",b.Children.toArray(Array.from(o0))])])))):c1(),k(()=>{let D;return H(T(c("div",v(w([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(D=G(k(()=>{let s0,m0,W;return H(A.HasErrors?T(c("div",v(w([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",N0=>{P(!A.ShowingOnlyRowsWithErrors)}],(s0=[c("input",v(w([["type","checkbox"],["checked",A.ShowingOnlyRowsWithErrors],(m0="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",m0]),["onKeyPress",N0=>{N0.preventDefault(),N0.key==="Enter"&&P(!A.ShowingOnlyRowsWithErrors)}]]))),c("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",b.Children.toArray(Array.from(s0))])])))):T(c("div",v(w([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(W=[jn(20,20),c("span",{children:"No errors"})],["children",b.Children.toArray(Array.from(W))])])))),k(()=>{let N0,Z,w0,y0,b0,K,v0,d0,A0,D0,p0;return T(c("div",v(w([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(N0=[c("div",v(u0((Z=[c("div",v(w([["className","w-full max-h-[470px] overflow-auto"],(w0=[c("table",v(w([["className","w-full divide-y divide-gray-300"],(y0=[c("thead",v(w([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(b0=[(K=G(k(()=>H(T(c("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),k(()=>H(A.HasErrors?T(c("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):c1(),k(()=>{let a0;return H(T(c("th",v(w([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(a0=[c("span",{children:["First name "]}),c("span",{className:"text-red-500",children:"*"})],["children",b.Children.toArray(Array.from(a0))])])))),k(()=>{let e0;return H(T(c("th",v(w([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(e0=[c("span",{children:["Last name "]}),c("span",{className:"text-red-500",children:"*"})],["children",b.Children.toArray(Array.from(e0))])])))),k(()=>{let I0;return H(T(c("th",v(w([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(I0=[c("span",{children:["Email "]}),c("span",{className:"text-red-500",children:"*"})],["children",b.Children.toArray(Array.from(I0))])])))),k(()=>H(T(c("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Mobile Phone"})),k(()=>l!=null?T(c("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Employment Basis"})):c1()))))}))}))})))))),c("tr",{children:b.Children.toArray(Array.from(K))}))],["children",b.Children.toArray(Array.from(b0))])]))),c("tbody",v(w([["className","divide-y divide-gray-200"],(v0=G(k(()=>V0(a0=>c("tr",v(G(k(()=>H(T(["key",a0.RowNumber]),k(()=>{let e0;return H((e0=a0.RowNumber%2|0,a0.Errors==null?T(e0===1?["className","bg-white"]:["className","bg-gray-50"]):T(["className","bg-amber-50"])),k(()=>{let I0;return T((I0=G(k(()=>H(T(c("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:a0.RowNumber})),k(()=>H(A.HasErrors?T(c("td",v(G(k(()=>H(T(["className","whitespace-nowrap px-3 py-2.5"]),k(()=>{let F0,B0,_0;return a0.Errors!=null?T((F0=[c("div",v(w([(B0="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",B0]),(_0=G(k(()=>H(T(c("span",{children:[B(a0.Errors).Summary]})),k(()=>{let L1;const q0=B(a0.Errors).Details;return q0==null?c1():T(c("div",v(w([["className","pl-1 text-amber-700 items-center inline-flex"],(L1=[c(G_,{text:q0,children:[F_([])]})],["children",b.Children.toArray(Array.from(L1))])]))))})))),["children",b.Children.toArray(Array.from(_0))])])))],["children",b.Children.toArray(Array.from(F0))])):c1()}))))))):c1(),k(()=>H(T(c("td",v(G(k(()=>{let F0,B0;const _0=a0.FirstName;return _0[0]==null?c1():_0[1]?(F0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),k(()=>T(["children",F0])))):(B0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),k(()=>T(["children",B0]))))}))))),k(()=>H(T(c("td",v(G(k(()=>{let F0,B0;const _0=a0.LastName;return _0[0]==null?c1():_0[1]?(F0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),k(()=>T(["children",F0])))):(B0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),k(()=>T(["children",B0]))))}))))),k(()=>H(T(c("td",v(G(k(()=>{let F0,B0;const _0=a0.Email;return _0[0]==null?c1():_0[1]?(F0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),k(()=>T(["children",F0])))):(B0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),k(()=>T(["children",B0]))))}))))),k(()=>H(T(c("td",v(G(k(()=>{let F0,B0;const _0=a0.MobilePhone;return _0[0]==null?c1():_0[1]?(F0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),k(()=>T(["children",F0])))):(B0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),k(()=>T(["children",B0]))))}))))),k(()=>l!=null?T(c("td",v(G(k(()=>{let F0,B0;const _0=a0.EmploymentBasis;return _0[0]==null?c1():_0[1]?(F0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),k(()=>T(["children",F0])))):(B0=_0[0],H(T(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),k(()=>T(["children",B0]))))}))))):c1())))))))))))))),["children",b.Children.toArray(Array.from(I0))]))}))})))))),A.Page))),["children",b.Children.toArray(Array.from(v0))])])))],["children",b.Children.toArray(Array.from(y0))])])))],["children",b.Children.toArray(Array.from(w0))])]))),c("div",v(w([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(d0=[c("div",v(w([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(A0=[(D0=w([c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.RowFrom}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.RowTo}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:A.ShowingOnlyRowsWithErrors?A.NumberOfInvalidRows:A.NumberOfRows}),c("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),c("div",{children:b.Children.toArray(Array.from(D0))})),c("div",v(w([["className","justify-start items-start gap-3 flex"],(p0=[c("button",v(G(k(()=>{let a0;return H((a0=V,a0==null?T(["disabled",!0]):T(["onClick",a0])),k(()=>{let e0;return H(T((e0="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",e0])),k(()=>{let I0;return T((I0=[c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",b.Children.toArray(Array.from(I0))]))}))}))})))),c("button",v(G(k(()=>{let a0;return H((a0=F,a0==null?T(["disabled",!0]):T(["onClick",a0])),k(()=>{let e0;return H(T((e0="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",e0])),k(()=>{let I0;return T((I0=[c("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",b.Children.toArray(Array.from(I0))]))}))}))}))))],["children",b.Children.toArray(Array.from(p0))])])))],["children",b.Children.toArray(Array.from(A0))])])))],["children",b.Children.toArray(Array.from(d0))])])))],["children",b.Children.toArray(Array.from(Z))]))))],["children",b.Children.toArray(Array.from(N0))])]))))}))})),["children",b.Children.toArray(Array.from(D))])])))),k(()=>{let s0,m0,W,N0,Z,w0,y0,b0,K,v0,d0,A0,D0,p0,a0;return H(A.NumberOfValidRows>0?T(c("div",v(w([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(s0=[$_([]),c("div",v(w([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(m0=[c("div",v(w([["className","flex-col justify-start items-start gap-2 flex"],(W=[c("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${A.NumberOfValidRows} users to workplace benefits`})],["children",b.Children.toArray(Array.from(W))])]))),R3("What is workplace benefits?",()=>{C(!0)}),c("div",v(u0((N0=[c("div",v(w([["className","flex-col justify-start items-start gap-2 flex"],(Z=[c("div",v(w([["key",n1(new N1(1,[]))],["className","relative flex items-start"],(w0=[c("div",v(w([["className","flex h-6 items-center py-2"],["onClick",e0=>{N(new N1(1,[]))}],(y0=[c("input",v(w([["id",n1(new N1(1,[]))],["name","InviteTiming"],["type","radio"],(b0="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",b0]),["checked",t0(A.InviteTiming,new N1(1,[]))],["onChange",e0=>{e0.target.checked,N(new N1(1,[]))}]])))],["children",b.Children.toArray(Array.from(y0))])]))),c("div",v(w([["className","ml-3 text-sm/6"],(K=[c("label",{for:n1(new N1(1,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import now, invite later"}),c("p",{id:`${n1(new N1(1,[]))}-description`,className:"text-gray-500 text-sm font-normal leading-tight",children:"We’ll import your users now. You can invite them to workplace benefits at any time later."})],["children",b.Children.toArray(Array.from(K))])])))],["children",b.Children.toArray(Array.from(w0))])])))],["children",b.Children.toArray(Array.from(Z))])]))),c("div",v(u0((v0=[c("div",v(w([["key",n1(new N1(0,[]))],["className","relative flex items-start"],(d0=[c("div",v(w([["className","flex h-6 items-center py-2"],["onClick",e0=>{N(new N1(0,[]))}],(A0=[c("input",v(w([["id",n1(new N1(0,[]))],["name","InviteTiming"],["type","radio"],(D0="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",D0]),["checked",t0(A.InviteTiming,new N1(0,[]))],["onChange",e0=>{e0.target.checked,N(new N1(0,[]))}]])))],["children",b.Children.toArray(Array.from(A0))])]))),c("div",v(w([["className","ml-3 text-sm/6"],(p0=[c("label",{for:n1(new N1(0,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import and invite now"}),c("p",v(w([["id",`${n1(new N1(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(a0="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",a0])])))],["children",b.Children.toArray(Array.from(p0))])])))],["children",b.Children.toArray(Array.from(d0))])])))],["children",b.Children.toArray(Array.from(v0))]))))],["children",b.Children.toArray(Array.from(N0))]))))],["children",b.Children.toArray(Array.from(m0))])])))],["children",b.Children.toArray(Array.from(s0))])])))):c1(),k(()=>{let e0,I0,F0,B0,_0,L1,q0;return T(c("div",v(w([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(e0=[c("div",v(w([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(I0=[c("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),c("div",v(w([["className","justify-start items-center gap-2 flex"],(F0=[c("button",v(w([(B0="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",B0]),["onClick",B1=>{s()}],(_0=[c("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",b.Children.toArray(Array.from(_0))])]))),c("button",v(w([(L1="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-emerald-600 hover:enabled:bg-emerald-700 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",L1]),["onClick",B1=>{M||O(!0)}],["disabled",A.NumberOfValidRows===0],(q0=[c("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:`Import ${A.NumberOfValidRows} users`})],["children",b.Children.toArray(Array.from(q0))])])))],["children",b.Children.toArray(Array.from(F0))])])))],["children",b.Children.toArray(Array.from(I0))])])))],["children",b.Children.toArray(Array.from(e0))])]))))}))}))}))})))),["children",b.Children.toArray(Array.from($))])])))],["children",b.Children.toArray(Array.from(R))]))}else return T((S=[z_()],["children",b.Children.toArray(Array.from(S))]))}))))))],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))}var nt={},p5,Xi;function y1(){return Xi||(Xi=1,p5={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),p5}var g5,Qi;function Y2(){if(Qi)return g5;Qi=1;var e=y1();function t(){this.reset=function(){this._mState=e.detecting},this.getCharsetName=function(){return null},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(r){},this.getState=function(){return this._mState},this.getConfidence=function(){return 0},this.filterHighBitOnly=function(r){return r=r.replace(/[\x00-\x7F]+/g," "),r},this.filterWithoutEnglishLetters=function(r){return r=r.replace(/[A-Za-z]+/g," "),r},this.removeXmlTags=function(r){for(var n="",i=!1,o=0,s=0;s<r.length;s++){var a=r[s];a==">"&&r[s-1]!=="?"?(o=s+1,i=!1):a=="<"&&r[s+1]!=="?"&&(s>o&&!i&&(n=n+r.substring(o,s)+" "),i=!0)}return i||(n=n+r.substring(o)),n}}return g5=t,g5}var it={},eo;function Z2(){return eo||(eo=1,it.log=function(){},it.setLogger=function(t){it.enabled=!0,it.log=t}),it}var w5,to;function il(){if(to)return w5;to=1;var e=y1(),t=Y2(),r=Z2();function n(){t.apply(this);var i=this;function o(){i._mActiveNum=0,i._mProbers=[],i._mBestGuessProber=null}this.reset=function(){n.prototype.reset.apply(this),this._mActiveNum=0;for(var s=0,a;a=this._mProbers[s];s++)a&&(a.reset(),a.active=!0,this._mActiveNum++);this._mBestGuessProber=null},this.getCharsetName=function(){return!this._mBestGuessProber&&(this.getConfidence(),!this._mBestGuessProber)?null:this._mBestGuessProber.getCharsetName()},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(s){for(var a=0,l;l=this._mProbers[a];a++)if(!(!l||!l.active)){var u=l.feed(s);if(u){if(u==e.foundIt)return this._mBestGuessProber=l,this.getState();if(u==e.notMe&&(l.active=!1,this._mActiveNum--,this._mActiveNum<=0))return this._mState=e.notMe,this.getState()}}return this.getState()},this.getConfidence=function(){var s=this.getState();if(s==e.foundIt)return .99;if(s==e.notMe)return .01;var a=0;this._mBestGuessProber=null;for(var l=0,u;u=this._mProbers[l];l++)if(u){if(!u.active){r.log(u.getCharsetName()+` not active
|
|
52
|
+
`);continue}var d=u.getConfidence();r.log(u.getCharsetName()+" confidence = "+d+`
|
|
53
|
+
`),a<d&&(a=d,this._mBestGuessProber=u)}return this._mBestGuessProber?a:0},o()}return n.prototype=new t,w5=n,w5}var y5,ro;function g2(){if(ro)return y5;ro=1;var e=y1();function t(r){var n=this;function i(o){n._mModel=o,n._mCurrentBytePos=0,n._mCurrentCharLen=0,n.reset()}this.reset=function(){this._mCurrentState=e.start},this.nextState=function(o){var s=this._mModel.classTable[o.charCodeAt(0)];return this._mCurrentState==e.start&&(this._mCurrentBytePos=0,this._mCurrentCharLen=this._mModel.charLenTable[s]),this._mCurrentState=this._mModel.stateTable[this._mCurrentState*this._mModel.classFactor+s],this._mCurrentBytePos++,this._mCurrentState},this.getCurrentCharLen=function(){return this._mCurrentCharLen},this.getCodingStateMachine=function(){return this._mModel.name},i(r)}return y5=t,y5}var v5,no;function Qt(){if(no)return v5;no=1;var e=Y2(),t=y1(),r=Z2();function n(){e.apply(this),this.reset=function(){n.prototype.reset.apply(this),this._mCodingSM&&this._mCodingSM.reset(),this._mDistributionAnalyzer&&this._mDistributionAnalyzer.reset(),this._mLastChar=["\0","\0"]},this.getCharsetName=function(){},this.feed=function(i){for(var o=i.length,s=0;s<o;s++){var a=this._mCodingSM.nextState(i[s]);if(a==t.error){r.log(this.getCharsetName()+" prober hit error at byte "+s+`
|
|
54
|
+
`),this._mState=t.notMe;break}else if(a==t.itsMe){this._mState=t.foundIt;break}else if(a==t.start){var l=this._mCodingSM.getCurrentCharLen();s==0?(this._mLastChar[1]=i[0],this._mDistributionAnalyzer.feed(this._mLastChar.join(""),l)):this._mDistributionAnalyzer.feed(i.slice(s-1,s+1),l)}}return this._mLastChar[0]=i[o-1],this.getState()==t.detecting&&this._mDistributionAnalyzer.gotEnoughData()&&this.getConfidence()>t.SHORTCUT_THRESHOLD&&(this._mState=t.foundIt),this.getState()},this.getConfidence=function(){return this._mDistributionAnalyzer.getConfidence()}}return n.prototype=new e,v5=n,v5}var b5,io;function J_(){if(io)return b5;io=1;var e=y1(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,1,1,2,0];return b5={classTable:t,classFactor:5,stateTable:r,charLenTable:n,name:"Big5"},b5}var Te={},f3={},oo;function X_(){return oo||(oo=1,f3.JIS_TYPICAL_DISTRIBUTION_RATIO=3,f3.JIS_TABLE_SIZE=4368,f3.JISCharToFreqOrder=[40,1,6,182,152,180,295,2127,285,381,3295,4304,3068,4606,3165,3510,3511,1822,2785,4607,1193,2226,5070,4608,171,2996,1247,18,179,5071,856,1661,1262,5072,619,127,3431,3512,3230,1899,1700,232,228,1294,1298,284,283,2041,2042,1061,1062,48,49,44,45,433,434,1040,1041,996,787,2997,1255,4305,2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928,5081,3296,3432,290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375,1691,3297,4306,4307,4611,452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117,5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472,598,618,820,1205,1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172,1875,2043,2149,1793,1382,2973,925,2404,1067,1241,960,1377,2935,1491,919,1217,1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804,2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998,3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161,26,3377,2,3929,20,3691,47,4100,50,17,16,35,268,27,243,42,155,24,154,29,184,4,91,14,92,53,396,33,289,9,37,64,620,21,39,321,5,12,11,52,13,3,208,138,0,7,60,526,141,151,1069,181,275,1591,83,132,1475,126,331,829,15,69,160,59,22,157,55,1079,312,109,38,23,25,10,19,79,5195,61,382,1124,8,30,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,89,62,74,34,2416,112,139,196,271,149,84,607,131,765,46,88,153,683,76,874,101,258,57,80,32,364,121,1508,169,1547,68,235,145,2999,41,360,3027,70,63,31,43,259,262,1383,99,533,194,66,93,846,217,192,56,106,58,565,280,272,311,256,146,82,308,71,100,128,214,655,110,261,104,1140,54,51,36,87,67,3070,185,2618,2936,2020,28,1066,2390,2059,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238,5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247,4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,363,642,2787,2878,2788,2789,2316,3232,2317,3434,2011,165,1942,3930,3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,2044,2060,4621,997,1235,473,1186,4622,920,3378,6115,6116,379,1108,4313,2657,2735,3934,6117,3809,636,3233,573,1026,3693,3435,2974,3300,2298,4105,854,2937,2463,393,2581,2417,539,752,1280,2750,2480,140,1161,440,708,1569,665,2497,1746,1291,1523,3e3,164,1603,847,1331,537,1997,486,508,1693,2418,1970,2227,878,1220,299,1030,969,652,2751,624,1137,3301,2619,65,3302,2045,1761,1859,3120,1930,3694,3516,663,1767,852,835,3695,269,767,2826,2339,1305,896,1150,770,1616,6118,506,1502,2075,1012,2519,775,2520,2975,2340,2938,4314,3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557,175,597,985,3517,2419,2521,1416,3029,585,938,1931,1007,1052,1932,1685,6120,3379,4316,4623,804,599,3121,1333,2128,2539,1159,1554,2032,3810,687,2033,2904,952,675,1467,3436,6121,2241,1096,1786,2440,1543,1924,980,1813,2228,781,2692,1879,728,1918,3696,4624,548,1950,4625,1809,1088,1356,3303,2522,1944,502,972,373,513,2827,586,2377,2391,1003,1976,1631,6122,2464,1084,648,1776,4626,2141,324,962,2012,2177,2076,1384,742,2178,1448,1173,1810,222,102,301,445,125,2420,662,2498,277,200,1476,1165,1068,224,2562,1378,1446,450,1880,659,791,582,4627,2939,3936,1516,1274,555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229,412,2114,1900,2392,3518,512,2597,427,1925,2341,3122,1653,1686,2465,2499,697,330,273,380,2162,951,832,780,991,1301,3073,965,2270,3519,668,2523,2636,1286,535,1407,518,671,957,2658,2378,267,611,2197,3030,6123,248,2299,967,1799,2356,850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879,2829,499,2179,676,4629,557,2329,2214,2090,325,3234,464,811,3001,992,2342,2481,1232,1469,303,2242,466,1070,2163,603,1777,2091,4630,2752,4631,2714,322,2659,1964,1768,481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849,2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634,1604,943,1724,1454,917,868,2215,1169,2940,552,1145,1800,1228,1823,1955,316,1080,2510,361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127,541,1263,1229,1148,2540,545,465,1833,2880,3438,1901,3074,2482,816,3937,713,1788,2500,122,1575,195,1451,2501,1111,6128,859,374,1225,2243,2483,4317,390,1033,3439,3075,2524,1687,266,793,1440,2599,946,779,802,507,897,1081,528,2189,1292,711,1866,1725,1167,1640,753,398,2661,1053,246,348,4318,137,1024,3440,1600,2077,2129,825,4319,698,238,521,187,2300,1157,2423,1641,1605,1464,1610,1097,2541,1260,1436,759,2255,1814,2150,705,3235,409,2563,3304,561,3033,2005,2564,726,1956,2343,3698,4109,949,3812,3813,3520,1669,653,1379,2525,881,2198,632,2256,1027,778,1074,733,1957,514,1481,2466,554,2180,702,3938,1606,1017,1398,6129,1380,3521,921,993,1313,594,449,1489,1617,1166,768,1426,1360,495,1794,3601,1177,3602,1170,4320,2344,476,425,3167,4635,3168,1424,401,2662,1171,3382,1998,1089,4110,477,3169,474,6130,1909,596,2831,1842,494,693,1051,1028,1207,3076,606,2115,727,2790,1473,1115,743,3522,630,805,1532,4321,2021,366,1057,838,684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090,1536,3939,3523,3306,1455,2199,336,369,2331,1035,584,2393,902,718,2600,6131,2753,463,2151,1149,1611,2467,715,1308,3124,1268,343,1413,3236,1517,1347,2663,2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980,872,2368,2441,2943,320,2369,2116,1082,679,1933,3941,2791,3815,625,1143,2023,422,2200,3816,6133,730,1695,356,2257,1626,2301,2858,2637,1627,1778,937,883,2906,2693,3002,1769,1086,400,1063,1325,3307,2792,4111,3077,456,2345,1046,747,6134,1524,884,1094,3383,1474,2164,1059,974,1688,2181,2258,1047,345,1665,1187,358,875,3170,305,660,3524,2190,1334,1135,3171,1540,1649,2542,1527,927,968,2793,885,1972,1850,482,500,2638,1218,1109,1085,2543,1654,2034,876,78,2287,1482,1277,861,1675,1083,1779,724,2754,454,397,1132,1612,2332,893,672,1237,257,2259,2370,135,3384,337,2244,547,352,340,709,2485,1400,788,1138,2511,540,772,1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533,407,576,3308,1254,2071,978,3385,170,136,1201,3125,2664,3172,2394,213,912,873,3603,1713,2202,699,3604,3699,813,3442,493,531,1054,468,2907,1483,304,281,4112,1726,1252,2094,339,2319,2130,2639,756,1563,2944,748,571,2976,1588,2425,2715,1851,1460,2426,1528,1392,1973,3237,288,3309,685,3386,296,892,2716,2216,1570,2245,722,1747,2217,905,3238,1103,6135,1893,1441,1965,251,1805,2371,3700,2601,1919,1078,75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817,524,706,1075,292,3818,1756,2602,317,98,3173,3605,3525,1844,2218,3819,2502,814,567,385,2908,1534,6137,534,1642,3239,797,6138,1670,1529,953,4323,188,1071,538,178,729,3240,2109,1226,1374,2e3,2357,2977,731,2468,1116,2014,2051,6139,1261,1593,803,2859,2736,3443,556,682,823,1541,6140,1369,2289,1706,2794,845,462,2603,2665,1361,387,162,2358,1740,739,1770,1720,1304,1401,3241,1049,627,1571,2427,3526,1877,3942,1852,1500,431,1910,1503,677,297,2795,286,1433,1038,1198,2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442,108,712,4640,2372,866,3701,2755,3242,1348,834,1945,1408,3527,2395,3243,1811,824,994,1179,2110,1548,1453,790,3003,690,4324,4325,2832,2909,3820,1860,3821,225,1748,310,346,1780,2470,821,1993,2717,2796,828,877,3528,2860,2471,1702,2165,2910,2486,1789,453,359,2291,1676,73,1164,1461,1127,3311,421,604,314,1037,589,116,2487,737,837,1180,111,244,735,6142,2261,1861,1362,986,523,418,581,2666,3822,103,855,503,1414,1867,2488,1091,657,1597,979,605,1316,4641,1021,2443,2078,2001,1209,96,587,2166,1032,260,1072,2153,173,94,226,3244,819,2006,4642,4114,2203,231,1744,782,97,2667,786,3387,887,391,442,2219,4326,1425,6143,2694,633,1544,1202,483,2015,592,2052,1958,2472,1655,419,129,4327,3444,3312,1714,1257,3078,4328,1518,1098,865,1310,1019,1885,1512,1734,469,2444,148,773,436,1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643,579,1238,932,2320,353,205,801,115,2428,944,2321,1881,399,2565,1211,678,766,3944,335,2101,1459,1781,1402,3945,2737,2131,1010,844,981,1326,1013,550,1816,1545,2620,1335,1008,371,2881,936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503,416,1643,4330,806,1126,229,591,3946,1314,1981,1576,1837,1666,347,1790,977,3313,764,2861,1853,688,2429,1920,1462,77,595,415,2002,3034,798,1192,4115,6144,2978,4331,3035,2695,2582,2072,2566,430,2430,1727,842,1396,3947,3702,613,377,278,236,1417,3388,3314,3174,757,1869,107,3530,6145,1194,623,2262,207,1253,2167,3446,3948,492,1117,1935,536,1838,2757,1246,4332,696,2095,2406,1393,1572,3175,1782,583,190,253,1390,2230,830,3126,3389,934,3245,1703,1749,2979,1870,2545,1656,2204,869,2346,4116,3176,1817,496,1764,4644,942,1504,404,1903,1122,1580,3606,2945,1022,515,372,1735,955,2431,3036,6146,2797,1110,2302,2798,617,6147,441,762,1771,3447,3607,3608,1904,840,3037,86,939,1385,572,1370,2445,1336,114,3703,898,294,203,3315,703,1583,2274,429,961,4333,1854,1951,3390,2373,3704,4334,1318,1381,966,1911,2322,1006,1155,309,989,458,2718,1795,1372,1203,252,1689,1363,3177,517,1936,168,1490,562,193,3823,1042,4117,1835,551,470,4645,395,489,3448,1871,1465,2583,2641,417,1493,279,1295,511,1236,1119,72,1231,1982,1812,3004,871,1564,984,3449,1667,2696,2096,4646,2347,2833,1673,3609,695,3246,2668,807,1183,4647,890,388,2333,1801,1457,2911,1765,1477,1031,3316,3317,1278,3391,2799,2292,2526,163,3450,4335,2669,1404,1802,6148,2323,2407,1584,1728,1494,1824,1269,298,909,3318,1034,1632,375,776,1683,2061,291,210,1123,809,1249,1002,2642,3038,206,1011,2132,144,975,882,1565,342,667,754,1442,2143,1299,2303,2062,447,626,2205,1221,2739,2912,1144,1214,2206,2584,760,1715,614,950,1281,2670,2621,810,577,1287,2546,4648,242,2168,250,2643,691,123,2644,647,313,1029,689,1357,2946,1650,216,771,1339,1306,808,2063,549,913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079,406,2671,2117,3949,4649,487,1825,2220,6150,2915,448,2348,1073,6151,2397,1707,130,900,1598,329,176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155,3706,1912,1513,1614,6153,1988,646,392,2304,1589,3320,3039,1826,1239,1352,1340,2916,505,2567,1709,1437,2408,2547,906,6154,2672,384,1458,1594,1100,1329,710,423,3531,2064,2231,2622,1989,2673,1087,1882,333,841,3005,1296,2882,2379,580,1937,1827,1293,2585,601,574,249,1772,4118,2079,1120,645,901,1176,1690,795,2207,478,1434,516,1190,1530,761,2080,930,1264,355,435,1552,644,1791,987,220,1364,1163,1121,1538,306,2169,1327,1222,546,2645,218,241,610,1704,3321,1984,1839,1966,2528,451,6155,2586,3707,2568,907,3178,254,2947,186,1845,4650,745,432,1757,428,1633,888,2246,2221,2489,3611,2118,1258,1265,956,3127,1784,4337,2490,319,510,119,457,3612,274,2035,2007,4651,1409,3128,970,2758,590,2800,661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111,485,2491,1429,1156,6156,2548,2183,1495,831,1840,2529,2446,501,1657,307,1894,3247,1341,666,899,2156,1539,2549,1559,886,349,2208,3081,2305,1736,3824,2170,2759,1014,1913,1386,542,1397,2948,490,368,716,362,159,282,2569,1129,1658,1288,1750,2674,276,649,2016,751,1496,658,1818,1284,1862,2209,2087,2512,3451,622,2834,376,117,1060,2053,1208,1721,1101,1443,247,1250,3179,1792,3952,2760,2398,3953,6157,2144,3708,446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082,424,2222,1251,2449,2119,2836,504,1581,4338,602,817,857,3825,2349,2306,357,3826,1470,1883,2883,255,958,929,2917,3248,302,4653,1050,1271,1751,2307,1952,1430,2697,2719,2359,354,3180,777,158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232,3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428,637,931,2721,2145,914,2550,2587,81,2450,612,827,2646,1242,4655,1118,2884,472,1855,3181,3533,3534,569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152,1938,134,1830,471,3710,2276,1112,1535,3323,3453,3535,982,1337,2950,488,826,674,1058,1628,4120,2017,522,2399,211,568,1367,3454,350,293,1872,1139,3249,1399,1946,3006,1300,2360,3324,588,736,6160,2606,744,669,3536,3828,6161,1358,199,723,848,933,851,1939,1505,1514,1338,1618,1831,4656,1634,3613,443,2740,3829,717,1947,491,1914,6162,2551,1542,4121,1025,6163,1099,1223,198,3040,2722,370,410,1905,2589,998,1248,3182,2380,519,1449,4122,1710,947,928,1153,4341,2277,344,2624,1511,615,105,161,1212,1076,1960,3130,2054,1926,1175,1906,2473,414,1873,2801,6164,2309,315,1319,3325,318,2018,2146,2157,963,631,223,4342,4343,2675,479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886,2184,1674,1330,1711,1635,1506,799,219,3250,3083,3954,1677,3713,3326,2081,3614,1652,2073,4657,1147,3041,1752,643,1961,147,1974,3955,6167,1716,2037,918,3007,1994,120,1537,118,609,3184,4345,740,3455,1219,332,1615,3830,6168,1621,2980,1582,783,212,553,2350,3714,1349,2433,2082,4124,889,6169,2310,1275,1410,973,166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658,629,822,3008,763,940,1990,2862,439,2409,1566,1240,1622,926,1282,1907,2764,654,2210,1607,327,1130,3956,1678,1623,6170,2434,2192,686,608,3831,3715,903,3957,3042,6171,2741,1522,1915,1105,1555,2552,1359,323,3251,4346,3457,738,1354,2553,2311,2334,1828,2003,3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847,520,1204,2607,264,4659,836,2677,2102,600,4660,3833,2278,3084,6174,4347,3615,1342,640,532,543,2608,1888,2400,2591,1009,4348,1497,341,1737,3616,2723,1394,529,3252,1321,983,4661,1515,2120,971,2592,924,287,1662,3186,4349,2700,4350,1519,908,1948,2452,156,796,1629,1486,2223,2055,694,4126,1259,1036,3392,1213,2249,2742,1889,1230,3958,1015,910,408,559,3617,4662,746,725,935,4663,3959,3009,1289,563,867,4664,3960,1567,2981,2038,2626,988,2263,2381,4351,143,2374,704,1895,6175,1188,3716,2088,673,3085,2362,4352,484,1608,1921,2765,2918,215,904,3618,3537,894,509,976,3043,2701,3961,4353,2837,2982,498,6176,6177,1102,3538,1332,3393,1487,1636,1637,233,245,3962,383,650,995,3044,460,1520,1206,2352,749,3327,530,700,389,1438,1560,1773,3963,2264,719,2951,2724,3834,870,1832,1644,1e3,839,2474,3717,197,1630,3394,365,2886,3964,1285,2133,734,922,818,1106,732,480,2083,1774,3458,923,2279,1350,221,3086,85,2233,2234,3835,1585,3010,2147,1387,1705,2382,1619,2475,133,239,2802,1991,1016,2084,2383,411,2838,1113,651,1985,1160,3328,990,1863,3087,1048,1276,2647,265,2627,1599,3253,2056,150,638,2019,656,853,326,1479,680,1439,4354,1001,1759,413,3459,3395,2492,1431,459,4355,1125,3329,2265,1953,1450,2065,2863,849,351,2678,3131,3254,3255,1104,1577,227,1351,1645,2453,2193,1421,2887,812,2121,634,95,2435,201,2312,4665,1646,1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189,328,2679,1077,1940,1136,558,1283,964,1195,621,2074,1199,1743,3460,3619,1896,1916,1890,3836,2952,1154,2112,1064,862,378,3011,2066,2113,2803,1568,2839,6178,3088,2919,1941,1660,2004,1992,2194,142,707,1590,1708,1624,1922,1023,1836,1233,1004,2313,789,741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721,593,2840,367,2920,1878,6180,3461,1521,628,1168,692,2211,2649,300,720,2067,2571,2953,3396,959,2504,3966,3539,3462,1977,701,6181,954,1043,800,681,183,3722,1803,1730,3540,4128,2103,815,2314,174,467,230,2454,1093,2134,755,3541,3397,1141,1162,6182,1738,2039,270,3256,2513,1005,1647,2185,3837,858,1679,1897,1719,2954,2324,1806,402,670,167,4129,1498,2158,2104,750,6183,915,189,1680,1551,455,4356,1501,2455,405,1095,2955,338,1586,1266,1819,570,641,1324,237,1556,2650,1388,3723,6184,1368,2384,1343,1978,3089,2436,879,3724,792,1191,758,3012,1411,2135,1322,4357,240,4667,1848,3725,1574,6185,420,3045,1546,1391,714,4358,1967,941,1864,863,664,426,560,1731,2680,1785,2864,1949,2363,403,3330,1415,1279,2136,1697,2335,204,721,2097,3838,90,6186,2085,2505,191,3967,124,2148,1376,1798,1178,1107,1898,1405,860,4359,1243,1272,2375,2983,1558,2456,1638,113,3621,578,1923,2609,880,386,4130,784,2186,2266,1422,2956,2172,1722,497,263,2514,1267,2412,2610,177,2703,3542,774,1927,1344,616,1432,1595,1018,172,4360,2325,911,4361,438,1468,3622,794,3968,2024,2173,1681,1829,2957,945,895,3090,575,2212,2476,475,2401,2681,785,2744,1745,2293,2555,1975,3133,2865,394,4668,3839,635,4131,639,202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457,3727,3134,4362,843,2611,437,916,4669,234,769,1884,3046,3047,3623,833,6187,1639,2250,2402,1355,1185,2010,2047,999,525,1732,1290,1488,2612,948,1578,3728,2413,2477,1216,2725,2159,334,3840,1328,3624,2921,1525,4132,564,1056,891,4363,1444,1698,2385,2251,3729,1365,2281,2235,1717,6188,864,3841,2515,444,527,2767,2922,3625,544,461,6189,566,209,2437,3398,2098,1065,2068,3331,3626,3257,2137,2138,2122,3730,2888,1995,1820,1044,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,4670,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,3187,6238,6239,3969,6240,6241,6242,6243,6244,4671,6245,6246,4672,6247,6248,4133,6249,6250,4364,6251,2923,2556,2613,4673,4365,3970,6252,6253,6254,6255,4674,6256,6257,6258,2768,2353,4366,4675,4676,3188,4367,3463,6259,4134,4677,4678,6260,2267,6261,3842,3332,4368,3543,6262,6263,6264,3013,1954,1928,4135,4679,6265,6266,2478,3091,6267,4680,4369,6268,6269,1699,6270,3544,4136,4681,6271,4137,6272,4370,2804,6273,6274,2593,3971,3972,4682,6275,2236,4683,6276,6277,4684,6278,6279,4138,3973,4685,6280,6281,3258,6282,6283,6284,6285,3974,4686,2841,3975,6286,6287,3545,6288,6289,4139,4687,4140,6290,4141,6291,4142,6292,6293,3333,6294,6295,6296,4371,6297,3399,6298,6299,4372,3976,6300,6301,6302,4373,6303,6304,3843,3731,6305,4688,4374,6306,6307,3259,2294,6308,3732,2530,4143,6309,4689,6310,6311,6312,3048,6313,6314,4690,3733,2237,6315,6316,2282,3334,6317,6318,3844,6319,6320,4691,6321,3400,4692,6322,4693,6323,3049,6324,4375,6325,3977,6326,6327,6328,3546,6329,4694,3335,6330,4695,4696,6331,6332,6333,6334,4376,3978,6335,4697,3979,4144,6336,3980,4698,6337,6338,6339,6340,6341,4699,4700,4701,6342,6343,4702,6344,6345,4703,6346,6347,4704,6348,4705,4706,3135,6349,4707,6350,4708,6351,4377,6352,4709,3734,4145,6353,2506,4710,3189,6354,3050,4711,3981,6355,3547,3014,4146,4378,3735,2651,3845,3260,3136,2224,1986,6356,3401,6357,4712,2594,3627,3137,2573,3736,3982,4713,3628,4714,4715,2682,3629,4716,6358,3630,4379,3631,6359,6360,6361,3983,6362,6363,6364,6365,4147,3846,4717,6366,6367,3737,2842,6368,4718,2628,6369,3261,6370,2386,6371,6372,3738,3984,4719,3464,4720,3402,6373,2924,3336,4148,2866,6374,2805,3262,4380,2704,2069,2531,3138,2806,2984,6375,2769,6376,4721,4722,3403,6377,6378,3548,6379,6380,2705,3092,1979,4149,2629,3337,2889,6381,3338,4150,2557,3339,4381,6382,3190,3263,3739,6383,4151,4723,4152,2558,2574,3404,3191,6384,6385,4153,6386,4724,4382,6387,6388,4383,6389,6390,4154,6391,4725,3985,6392,3847,4155,6393,6394,6395,6396,6397,3465,6398,4384,6399,6400,6401,6402,6403,6404,4156,6405,6406,6407,6408,2123,6409,6410,2326,3192,4726,6411,6412,6413,6414,4385,4157,6415,6416,4158,6417,3093,3848,6418,3986,6419,6420,3849,6421,6422,6423,4159,6424,6425,4160,6426,3740,6427,6428,6429,6430,3987,6431,4727,6432,2238,6433,6434,4386,3988,6435,6436,3632,6437,6438,2843,6439,6440,6441,6442,3633,6443,2958,6444,6445,3466,6446,2364,4387,3850,6447,4388,2959,3340,6448,3851,6449,4728,6450,6451,3264,4729,6452,3193,6453,4389,4390,2706,3341,4730,6454,3139,6455,3194,6456,3051,2124,3852,1602,4391,4161,3853,1158,3854,4162,3989,4392,3990,4731,4732,4393,2040,4163,4394,3265,6457,2807,3467,3855,6458,6459,6460,3991,3468,4733,4734,6461,3140,2960,6462,4735,6463,6464,6465,6466,4736,4737,4738,4739,6467,6468,4164,2403,3856,6469,6470,2770,2844,6471,4740,6472,6473,6474,6475,6476,6477,6478,3195,6479,4741,4395,6480,2867,6481,4742,2808,6482,2493,4165,6483,6484,6485,6486,2295,4743,6487,6488,6489,3634,6490,6491,6492,6493,6494,6495,6496,2985,4744,6497,6498,4745,6499,6500,2925,3141,4166,6501,6502,4746,6503,6504,4747,6505,6506,6507,2890,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,3469,4167,6520,6521,6522,4748,4396,3741,4397,4749,4398,3342,2125,4750,6523,4751,4752,4753,3052,6524,2961,4168,6525,4754,6526,4755,4399,2926,4169,6527,3857,6528,4400,4170,6529,4171,6530,6531,2595,6532,6533,6534,6535,3635,6536,6537,6538,6539,6540,6541,6542,4756,6543,6544,6545,6546,6547,6548,4401,6549,6550,6551,6552,4402,3405,4757,4403,6553,6554,6555,4172,3742,6556,6557,6558,3992,3636,6559,6560,3053,2726,6561,3549,4173,3054,4404,6562,6563,3993,4405,3266,3550,2809,4406,6564,6565,6566,4758,4759,6567,3743,6568,4760,3744,4761,3470,6569,6570,6571,4407,6572,3745,4174,6573,4175,2810,4176,3196,4762,6574,4177,6575,6576,2494,2891,3551,6577,6578,3471,6579,4408,6580,3015,3197,6581,3343,2532,3994,3858,6582,3094,3406,4409,6583,2892,4178,4763,4410,3016,4411,6584,3995,3142,3017,2683,6585,4179,6586,6587,4764,4412,6588,6589,4413,6590,2986,6591,2962,3552,6592,2963,3472,6593,6594,4180,4765,6595,6596,2225,3267,4414,6597,3407,3637,4766,6598,6599,3198,6600,4415,6601,3859,3199,6602,3473,4767,2811,4416,1856,3268,3200,2575,3996,3997,3201,4417,6603,3095,2927,6604,3143,6605,2268,6606,3998,3860,3096,2771,6607,6608,3638,2495,4768,6609,3861,6610,3269,2745,4769,4181,3553,6611,2845,3270,6612,6613,6614,3862,6615,6616,4770,4771,6617,3474,3999,4418,4419,6618,3639,3344,6619,4772,4182,6620,2126,6621,6622,6623,4420,4773,6624,3018,6625,4774,3554,6626,4183,2025,3746,6627,4184,2707,6628,4421,4422,3097,1775,4185,3555,6629,6630,2868,6631,6632,4423,6633,6634,4424,2414,2533,2928,6635,4186,2387,6636,4775,6637,4187,6638,1891,4425,3202,3203,6639,6640,4776,6641,3345,6642,6643,3640,6644,3475,3346,3641,4e3,6645,3144,6646,3098,2812,4188,3642,3204,6647,3863,3476,6648,3864,6649,4426,4001,6650,6651,6652,2576,6653,4189,4777,6654,6655,6656,2846,6657,3477,3205,4002,6658,4003,6659,3347,2252,6660,6661,6662,4778,6663,6664,6665,6666,6667,6668,6669,4779,4780,2048,6670,3478,3099,6671,3556,3747,4004,6672,6673,6674,3145,4005,3748,6675,6676,6677,6678,6679,3408,6680,6681,6682,6683,3206,3207,6684,6685,4781,4427,6686,4782,4783,4784,6687,6688,6689,4190,6690,6691,3479,6692,2746,6693,4428,6694,6695,6696,6697,6698,6699,4785,6700,6701,3208,2727,6702,3146,6703,6704,3409,2196,6705,4429,6706,6707,6708,2534,1996,6709,6710,6711,2747,6712,6713,6714,4786,3643,6715,4430,4431,6716,3557,6717,4432,4433,6718,6719,6720,6721,3749,6722,4006,4787,6723,6724,3644,4788,4434,6725,6726,4789,2772,6727,6728,6729,6730,6731,2708,3865,2813,4435,6732,6733,4790,4791,3480,6734,6735,6736,6737,4436,3348,6738,3410,4007,6739,6740,4008,6741,6742,4792,3411,4191,6743,6744,6745,6746,6747,3866,6748,3750,6749,6750,6751,6752,6753,6754,6755,3867,6756,4009,6757,4793,4794,6758,2814,2987,6759,6760,6761,4437,6762,6763,6764,6765,3645,6766,6767,3481,4192,6768,3751,6769,6770,2174,6771,3868,3752,6772,6773,6774,4193,4795,4438,3558,4796,4439,6775,4797,6776,6777,4798,6778,4799,3559,4800,6779,6780,6781,3482,6782,2893,6783,6784,4194,4801,4010,6785,6786,4440,6787,4011,6788,6789,6790,6791,6792,6793,4802,6794,6795,6796,4012,6797,6798,6799,6800,3349,4803,3483,6801,4804,4195,6802,4013,6803,6804,4196,6805,4014,4015,6806,2847,3271,2848,6807,3484,6808,6809,6810,4441,6811,4442,4197,4443,3272,4805,6812,3412,4016,1579,6813,6814,4017,6815,3869,6816,2964,6817,4806,6818,6819,4018,3646,6820,6821,4807,4019,4020,6822,6823,3560,6824,6825,4021,4444,6826,4198,6827,6828,4445,6829,6830,4199,4808,6831,6832,6833,3870,3019,2458,6834,3753,3413,3350,6835,4809,3871,4810,3561,4446,6836,6837,4447,4811,4812,6838,2459,4448,6839,4449,6840,6841,4022,3872,6842,4813,4814,6843,6844,4815,4200,4201,4202,6845,4023,6846,6847,4450,3562,3873,6848,6849,4816,4817,6850,4451,4818,2139,6851,3563,6852,6853,3351,6854,6855,3352,4024,2709,3414,4203,4452,6856,4204,6857,6858,3874,3875,6859,6860,4819,6861,6862,6863,6864,4453,3647,6865,6866,4820,6867,6868,6869,6870,4454,6871,2869,6872,6873,4821,6874,3754,6875,4822,4205,6876,6877,6878,3648,4206,4455,6879,4823,6880,4824,3876,6881,3055,4207,6882,3415,6883,6884,6885,4208,4209,6886,4210,3353,6887,3354,3564,3209,3485,2652,6888,2728,6889,3210,3755,6890,4025,4456,6891,4825,6892,6893,6894,6895,4211,6896,6897,6898,4826,6899,6900,4212,6901,4827,6902,2773,3565,6903,4828,6904,6905,6906,6907,3649,3650,6908,2849,3566,6909,3567,3100,6910,6911,6912,6913,6914,6915,4026,6916,3355,4829,3056,4457,3756,6917,3651,6918,4213,3652,2870,6919,4458,6920,2438,6921,6922,3757,2774,4830,6923,3356,4831,4832,6924,4833,4459,3653,2507,6925,4834,2535,6926,6927,3273,4027,3147,6928,3568,6929,6930,6931,4460,6932,3877,4461,2729,3654,6933,6934,6935,6936,2175,4835,2630,4214,4028,4462,4836,4215,6937,3148,4216,4463,4837,4838,4217,6938,6939,2850,4839,6940,4464,6941,6942,6943,4840,6944,4218,3274,4465,6945,6946,2710,6947,4841,4466,6948,6949,2894,6950,6951,4842,6952,4219,3057,2871,6953,6954,6955,6956,4467,6957,2711,6958,6959,6960,3275,3101,4843,6961,3357,3569,6962,4844,6963,6964,4468,4845,3570,6965,3102,4846,3758,6966,4847,3878,4848,4849,4029,6967,2929,3879,4850,4851,6968,6969,1733,6970,4220,6971,6972,6973,6974,6975,6976,4852,6977,6978,6979,6980,6981,6982,3759,6983,6984,6985,3486,3487,6986,3488,3416,6987,6988,6989,6990,6991,6992,6993,6994,6995,6996,6997,4853,6998,6999,4030,7e3,7001,3211,7002,7003,4221,7004,7005,3571,4031,7006,3572,7007,2614,4854,2577,7008,7009,2965,3655,3656,4855,2775,3489,3880,4222,4856,3881,4032,3882,3657,2730,3490,4857,7010,3149,7011,4469,4858,2496,3491,4859,2283,7012,7013,7014,2365,4860,4470,7015,7016,3760,7017,7018,4223,1917,7019,7020,7021,4471,7022,2776,4472,7023,7024,7025,7026,4033,7027,3573,4224,4861,4034,4862,7028,7029,1929,3883,4035,7030,4473,3058,7031,2536,3761,3884,7032,4036,7033,2966,2895,1968,4474,3276,4225,3417,3492,4226,2105,7034,7035,1754,2596,3762,4227,4863,4475,3763,4864,3764,2615,2777,3103,3765,3658,3418,4865,2296,3766,2815,7036,7037,7038,3574,2872,3277,4476,7039,4037,4477,7040,7041,4038,7042,7043,7044,7045,7046,7047,2537,7048,7049,7050,7051,7052,7053,7054,4478,7055,7056,3767,3659,4228,3575,7057,7058,4229,7059,7060,7061,3660,7062,3212,7063,3885,4039,2460,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,4866,3768,4867,7075,7076,7077,7078,4868,3358,3278,2653,7079,7080,4479,3886,7081,7082,4869,7083,7084,7085,7086,7087,7088,2538,7089,7090,7091,4040,3150,3769,4870,4041,2896,3359,4230,2930,7092,3279,7093,2967,4480,3213,4481,3661,7094,7095,7096,7097,7098,7099,7100,7101,7102,2461,3770,7103,7104,4231,3151,7105,7106,7107,4042,3662,7108,7109,4871,3663,4872,4043,3059,7110,7111,7112,3493,2988,7113,4873,7114,7115,7116,3771,4874,7117,7118,4232,4875,7119,3576,2336,4876,7120,4233,3419,4044,4877,4878,4482,4483,4879,4484,4234,7121,3772,4880,1045,3280,3664,4881,4882,7122,7123,7124,7125,4883,7126,2778,7127,4485,4486,7128,4884,3214,3887,7129,7130,3215,7131,4885,4045,7132,7133,4046,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4235,7144,4886,7145,7146,7147,4887,7148,7149,7150,4487,4047,4488,7151,7152,4888,4048,2989,3888,7153,3665,7154,4049,7155,7156,7157,7158,7159,7160,2931,4889,4890,4489,7161,2631,3889,4236,2779,7162,7163,4891,7164,3060,7165,1672,4892,7166,4893,4237,3281,4894,7167,7168,3666,7169,3494,7170,7171,4050,7172,7173,3104,3360,3420,4490,4051,2684,4052,7174,4053,7175,7176,7177,2253,4054,7178,7179,4895,7180,3152,3890,3153,4491,3216,7181,7182,7183,2968,4238,4492,4055,7184,2990,7185,2479,7186,7187,4493,7188,7189,7190,7191,7192,4896,7193,4897,2969,4494,4898,7194,3495,7195,7196,4899,4495,7197,3105,2731,7198,4900,7199,7200,7201,4056,7202,3361,7203,7204,4496,4901,4902,7205,4497,7206,7207,2315,4903,7208,4904,7209,4905,2851,7210,7211,3577,7212,3578,4906,7213,4057,3667,4907,7214,4058,2354,3891,2376,3217,3773,7215,7216,7217,7218,7219,4498,7220,4908,3282,2685,7221,3496,4909,2632,3154,4910,7222,2337,7223,4911,7224,7225,7226,4912,4913,3283,4239,4499,7227,2816,7228,7229,7230,7231,7232,7233,7234,4914,4500,4501,7235,7236,7237,2686,7238,4915,7239,2897,4502,7240,4503,7241,2516,7242,4504,3362,3218,7243,7244,7245,4916,7246,7247,4505,3363,7248,7249,7250,7251,3774,4506,7252,7253,4917,7254,7255,3284,2991,4918,4919,3219,3892,4920,3106,3497,4921,7256,7257,7258,4922,7259,4923,3364,4507,4508,4059,7260,4240,3498,7261,7262,4924,7263,2992,3893,4060,3220,7264,7265,7266,7267,7268,7269,4509,3775,7270,2817,7271,4061,4925,4510,3776,7272,4241,4511,3285,7273,7274,3499,7275,7276,7277,4062,4512,4926,7278,3107,3894,7279,7280,4927,7281,4513,7282,7283,3668,7284,7285,4242,4514,4243,7286,2058,4515,4928,4929,4516,7287,3286,4244,7288,4517,7289,7290,7291,3669,7292,7293,4930,4931,4932,2355,4933,7294,2633,4518,7295,4245,7296,7297,4519,7298,7299,4520,4521,4934,7300,4246,4522,7301,7302,7303,3579,7304,4247,4935,7305,4936,7306,7307,7308,7309,3777,7310,4523,7311,7312,7313,4248,3580,7314,4524,3778,4249,7315,3581,7316,3287,7317,3221,7318,4937,7319,7320,7321,7322,7323,7324,4938,4939,7325,4525,7326,7327,7328,4063,7329,7330,4940,7331,7332,4941,7333,4526,7334,3500,2780,1741,4942,2026,1742,7335,7336,3582,4527,2388,7337,7338,7339,4528,7340,4250,4943,7341,7342,7343,4944,7344,7345,7346,3020,7347,4945,7348,7349,7350,7351,3895,7352,3896,4064,3897,7353,7354,7355,4251,7356,7357,3898,7358,3779,7359,3780,3288,7360,7361,4529,7362,4946,4530,2027,7363,3899,4531,4947,3222,3583,7364,4948,7365,7366,7367,7368,4949,3501,4950,3781,4951,4532,7369,2517,4952,4252,4953,3155,7370,4954,4955,4253,2518,4533,7371,7372,2712,4254,7373,7374,7375,3670,4956,3671,7376,2389,3502,4065,7377,2338,7378,7379,7380,7381,3061,7382,4957,7383,7384,7385,7386,4958,4534,7387,7388,2993,7389,3062,7390,4959,7391,7392,7393,4960,3108,4961,7394,4535,7395,4962,3421,4536,7396,4963,7397,4964,1857,7398,4965,7399,7400,2176,3584,4966,7401,7402,3422,4537,3900,3585,7403,3782,7404,2852,7405,7406,7407,4538,3783,2654,3423,4967,4539,7408,3784,3586,2853,4540,4541,7409,3901,7410,3902,7411,7412,3785,3109,2327,3903,7413,7414,2970,4066,2932,7415,7416,7417,3904,3672,3424,7418,4542,4543,4544,7419,4968,7420,7421,4255,7422,7423,7424,7425,7426,4067,7427,3673,3365,4545,7428,3110,2559,3674,7429,7430,3156,7431,7432,3503,7433,3425,4546,7434,3063,2873,7435,3223,4969,4547,4548,2898,4256,4068,7436,4069,3587,3786,2933,3787,4257,4970,4971,3788,7437,4972,3064,7438,4549,7439,7440,7441,7442,7443,4973,3905,7444,2874,7445,7446,7447,7448,3021,7449,4550,3906,3588,4974,7450,7451,3789,3675,7452,2578,7453,4070,7454,7455,7456,4258,3676,7457,4975,7458,4976,4259,3790,3504,2634,4977,3677,4551,4260,7459,7460,7461,7462,3907,4261,4978,7463,7464,7465,7466,4979,4980,7467,7468,2213,4262,7469,7470,7471,3678,4981,7472,2439,7473,4263,3224,3289,7474,3908,2415,4982,7475,4264,7476,4983,2655,7477,7478,2732,4552,2854,2875,7479,7480,4265,7481,4553,4984,7482,7483,4266,7484,3679,3366,3680,2818,2781,2782,3367,3589,4554,3065,7485,4071,2899,7486,7487,3157,2462,4072,4555,4073,4985,4986,3111,4267,2687,3368,4556,4074,3791,4268,7488,3909,2783,7489,2656,1962,3158,4557,4987,1963,3159,3160,7490,3112,4988,4989,3022,4990,4991,3792,2855,7491,7492,2971,4558,7493,7494,4992,7495,7496,7497,7498,4993,7499,3426,4559,4994,7500,3681,4560,4269,4270,3910,7501,4075,4995,4271,7502,7503,4076,7504,4996,7505,3225,4997,4272,4077,2819,3023,7506,7507,2733,4561,7508,4562,7509,3369,3793,7510,3590,2508,7511,7512,4273,3113,2994,2616,7513,7514,7515,7516,7517,7518,2820,3911,4078,2748,7519,7520,4563,4998,7521,7522,7523,7524,4999,4274,7525,4564,3682,2239,4079,4565,7526,7527,7528,7529,5e3,7530,7531,5001,4275,3794,7532,7533,7534,3066,5002,4566,3161,7535,7536,4080,7537,3162,7538,7539,4567,7540,7541,7542,7543,7544,7545,5003,7546,4568,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,5004,7557,7558,7559,5005,7560,3795,7561,4569,7562,7563,7564,2821,3796,4276,4277,4081,7565,2876,7566,5006,7567,7568,2900,7569,3797,3912,7570,7571,7572,4278,7573,7574,7575,5007,7576,7577,5008,7578,7579,4279,2934,7580,7581,5009,7582,4570,7583,4280,7584,7585,7586,4571,4572,3913,7587,4573,3505,7588,5010,7589,7590,7591,7592,3798,4574,7593,7594,5011,7595,4281,7596,7597,7598,4282,5012,7599,7600,5013,3163,7601,5014,7602,3914,7603,7604,2734,4575,4576,4577,7605,7606,7607,7608,7609,3506,5015,4578,7610,4082,7611,2822,2901,2579,3683,3024,4579,3507,7612,4580,7613,3226,3799,5016,7614,7615,7616,7617,7618,7619,7620,2995,3290,7621,4083,7622,5017,7623,7624,7625,7626,7627,4581,3915,7628,3291,7629,5018,7630,7631,7632,7633,4084,7634,7635,3427,3800,7636,7637,4582,7638,5019,4583,5020,7639,3916,7640,3801,5021,4584,4283,7641,7642,3428,3591,2269,7643,2617,7644,4585,3592,7645,4586,2902,7646,7647,3227,5022,7648,4587,7649,4284,7650,7651,7652,4588,2284,7653,5023,7654,7655,7656,4589,5024,3802,7657,7658,5025,3508,4590,7659,7660,7661,1969,5026,7662,7663,3684,1821,2688,7664,2028,2509,4285,7665,2823,1841,7666,2689,3114,7667,3917,4085,2160,5027,5028,2972,7668,5029,7669,7670,7671,3593,4086,7672,4591,4087,5030,3803,7673,7674,7675,7676,7677,7678,7679,4286,2366,4592,4593,3067,2328,7680,7681,4594,3594,3918,2029,4287,7682,5031,3919,3370,4288,4595,2856,7683,3509,7684,7685,5032,5033,7686,7687,3804,2784,7688,7689,7690,7691,3371,7692,7693,2877,5034,7694,7695,3920,4289,4088,7696,7697,7698,5035,7699,5036,4290,5037,5038,5039,7700,7701,7702,5040,5041,3228,7703,1760,7704,5042,3229,4596,2106,4089,7705,4597,2824,5043,2107,3372,7706,4291,4090,5044,7707,4091,7708,5045,3025,3805,4598,4292,4293,4294,3373,7709,4599,7710,5046,7711,7712,5047,5048,3806,7713,7714,7715,5049,7716,7717,7718,7719,4600,5050,7720,7721,7722,5051,7723,4295,3429,7724,7725,7726,7727,3921,7728,3292,5052,4092,7729,7730,7731,7732,7733,7734,7735,5053,5054,7736,7737,7738,7739,3922,3685,7740,7741,7742,7743,2635,5055,7744,5056,4601,7745,7746,2560,7747,7748,7749,7750,3923,7751,7752,7753,7754,7755,4296,2903,7756,7757,7758,7759,7760,3924,7761,5057,4297,7762,7763,5058,4298,7764,4093,7765,7766,5059,3925,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,3595,7777,4299,5060,4094,7778,3293,5061,7779,7780,4300,7781,7782,4602,7783,3596,7784,7785,3430,2367,7786,3164,5062,5063,4301,7787,7788,4095,5064,5065,7789,3374,3115,7790,7791,7792,7793,7794,7795,7796,3597,4603,7797,7798,3686,3116,3807,5066,7799,7800,5067,7801,7802,4604,4302,5068,4303,4096,7803,7804,3294,7805,7806,5069,4605,2690,7807,3026,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,3926,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271]),f3}var h3={},so;function Q_(){return so||(so=1,h3.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,h3.EUCTW_TABLE_SIZE=8102,h3.EUCTWCharToFreqOrder=[1,1800,1506,255,1431,198,9,82,6,7310,177,202,3615,1256,2808,110,3735,33,3241,261,76,44,2113,16,2931,2184,1176,659,3868,26,3404,2643,1198,3869,3313,4060,410,2211,302,590,361,1963,8,204,58,4296,7311,1931,63,7312,7313,317,1614,75,222,159,4061,2412,1480,7314,3500,3068,224,2809,3616,3,10,3870,1471,29,2774,1135,2852,1939,873,130,3242,1123,312,7315,4297,2051,507,252,682,7316,142,1914,124,206,2932,34,3501,3173,64,604,7317,2494,1976,1977,155,1990,645,641,1606,7318,3405,337,72,406,7319,80,630,238,3174,1509,263,939,1092,2644,756,1440,1094,3406,449,69,2969,591,179,2095,471,115,2034,1843,60,50,2970,134,806,1868,734,2035,3407,180,995,1607,156,537,2893,688,7320,319,1305,779,2144,514,2374,298,4298,359,2495,90,2707,1338,663,11,906,1099,2545,20,2436,182,532,1716,7321,732,1376,4062,1311,1420,3175,25,2312,1056,113,399,382,1949,242,3408,2467,529,3243,475,1447,3617,7322,117,21,656,810,1297,2295,2329,3502,7323,126,4063,706,456,150,613,4299,71,1118,2036,4064,145,3069,85,835,486,2114,1246,1426,428,727,1285,1015,800,106,623,303,1281,7324,2127,2354,347,3736,221,3503,3110,7325,1955,1153,4065,83,296,1199,3070,192,624,93,7326,822,1897,2810,3111,795,2064,991,1554,1542,1592,27,43,2853,859,139,1456,860,4300,437,712,3871,164,2392,3112,695,211,3017,2096,195,3872,1608,3504,3505,3618,3873,234,811,2971,2097,3874,2229,1441,3506,1615,2375,668,2076,1638,305,228,1664,4301,467,415,7327,262,2098,1593,239,108,300,200,1033,512,1247,2077,7328,7329,2173,3176,3619,2673,593,845,1062,3244,88,1723,2037,3875,1950,212,266,152,149,468,1898,4066,4302,77,187,7330,3018,37,5,2972,7331,3876,7332,7333,39,2517,4303,2894,3177,2078,55,148,74,4304,545,483,1474,1029,1665,217,1869,1531,3113,1104,2645,4067,24,172,3507,900,3877,3508,3509,4305,32,1408,2811,1312,329,487,2355,2247,2708,784,2674,4,3019,3314,1427,1788,188,109,499,7334,3620,1717,1789,888,1217,3020,4306,7335,3510,7336,3315,1520,3621,3878,196,1034,775,7337,7338,929,1815,249,439,38,7339,1063,7340,794,3879,1435,2296,46,178,3245,2065,7341,2376,7342,214,1709,4307,804,35,707,324,3622,1601,2546,140,459,4068,7343,7344,1365,839,272,978,2257,2572,3409,2128,1363,3623,1423,697,100,3071,48,70,1231,495,3114,2193,7345,1294,7346,2079,462,586,1042,3246,853,256,988,185,2377,3410,1698,434,1084,7347,3411,314,2615,2775,4308,2330,2331,569,2280,637,1816,2518,757,1162,1878,1616,3412,287,1577,2115,768,4309,1671,2854,3511,2519,1321,3737,909,2413,7348,4069,933,3738,7349,2052,2356,1222,4310,765,2414,1322,786,4311,7350,1919,1462,1677,2895,1699,7351,4312,1424,2437,3115,3624,2590,3316,1774,1940,3413,3880,4070,309,1369,1130,2812,364,2230,1653,1299,3881,3512,3882,3883,2646,525,1085,3021,902,2e3,1475,964,4313,421,1844,1415,1057,2281,940,1364,3116,376,4314,4315,1381,7,2520,983,2378,336,1710,2675,1845,321,3414,559,1131,3022,2742,1808,1132,1313,265,1481,1857,7352,352,1203,2813,3247,167,1089,420,2814,776,792,1724,3513,4071,2438,3248,7353,4072,7354,446,229,333,2743,901,3739,1200,1557,4316,2647,1920,395,2744,2676,3740,4073,1835,125,916,3178,2616,4317,7355,7356,3741,7357,7358,7359,4318,3117,3625,1133,2547,1757,3415,1510,2313,1409,3514,7360,2145,438,2591,2896,2379,3317,1068,958,3023,461,311,2855,2677,4074,1915,3179,4075,1978,383,750,2745,2617,4076,274,539,385,1278,1442,7361,1154,1964,384,561,210,98,1295,2548,3515,7362,1711,2415,1482,3416,3884,2897,1257,129,7363,3742,642,523,2776,2777,2648,7364,141,2231,1333,68,176,441,876,907,4077,603,2592,710,171,3417,404,549,18,3118,2393,1410,3626,1666,7365,3516,4319,2898,4320,7366,2973,368,7367,146,366,99,871,3627,1543,748,807,1586,1185,22,2258,379,3743,3180,7368,3181,505,1941,2618,1991,1382,2314,7369,380,2357,218,702,1817,1248,3418,3024,3517,3318,3249,7370,2974,3628,930,3250,3744,7371,59,7372,585,601,4078,497,3419,1112,1314,4321,1801,7373,1223,1472,2174,7374,749,1836,690,1899,3745,1772,3885,1476,429,1043,1790,2232,2116,917,4079,447,1086,1629,7375,556,7376,7377,2020,1654,844,1090,105,550,966,1758,2815,1008,1782,686,1095,7378,2282,793,1602,7379,3518,2593,4322,4080,2933,2297,4323,3746,980,2496,544,353,527,4324,908,2678,2899,7380,381,2619,1942,1348,7381,1341,1252,560,3072,7382,3420,2856,7383,2053,973,886,2080,143,4325,7384,7385,157,3886,496,4081,57,840,540,2038,4326,4327,3421,2117,1445,970,2259,1748,1965,2081,4082,3119,1234,1775,3251,2816,3629,773,1206,2129,1066,2039,1326,3887,1738,1725,4083,279,3120,51,1544,2594,423,1578,2130,2066,173,4328,1879,7386,7387,1583,264,610,3630,4329,2439,280,154,7388,7389,7390,1739,338,1282,3073,693,2857,1411,1074,3747,2440,7391,4330,7392,7393,1240,952,2394,7394,2900,1538,2679,685,1483,4084,2468,1436,953,4085,2054,4331,671,2395,79,4086,2441,3252,608,567,2680,3422,4087,4088,1691,393,1261,1791,2396,7395,4332,7396,7397,7398,7399,1383,1672,3748,3182,1464,522,1119,661,1150,216,675,4333,3888,1432,3519,609,4334,2681,2397,7400,7401,7402,4089,3025,0,7403,2469,315,231,2442,301,3319,4335,2380,7404,233,4090,3631,1818,4336,4337,7405,96,1776,1315,2082,7406,257,7407,1809,3632,2709,1139,1819,4091,2021,1124,2163,2778,1777,2649,7408,3074,363,1655,3183,7409,2975,7410,7411,7412,3889,1567,3890,718,103,3184,849,1443,341,3320,2934,1484,7413,1712,127,67,339,4092,2398,679,1412,821,7414,7415,834,738,351,2976,2146,846,235,1497,1880,418,1992,3749,2710,186,1100,2147,2746,3520,1545,1355,2935,2858,1377,583,3891,4093,2573,2977,7416,1298,3633,1078,2549,3634,2358,78,3750,3751,267,1289,2099,2001,1594,4094,348,369,1274,2194,2175,1837,4338,1820,2817,3635,2747,2283,2002,4339,2936,2748,144,3321,882,4340,3892,2749,3423,4341,2901,7417,4095,1726,320,7418,3893,3026,788,2978,7419,2818,1773,1327,2859,3894,2819,7420,1306,4342,2003,1700,3752,3521,2359,2650,787,2022,506,824,3636,534,323,4343,1044,3322,2023,1900,946,3424,7421,1778,1500,1678,7422,1881,4344,165,243,4345,3637,2521,123,683,4096,764,4346,36,3895,1792,589,2902,816,626,1667,3027,2233,1639,1555,1622,3753,3896,7423,3897,2860,1370,1228,1932,891,2083,2903,304,4097,7424,292,2979,2711,3522,691,2100,4098,1115,4347,118,662,7425,611,1156,854,2381,1316,2861,2,386,515,2904,7426,7427,3253,868,2234,1486,855,2651,785,2212,3028,7428,1040,3185,3523,7429,3121,448,7430,1525,7431,2164,4348,7432,3754,7433,4099,2820,3524,3122,503,818,3898,3123,1568,814,676,1444,306,1749,7434,3755,1416,1030,197,1428,805,2821,1501,4349,7435,7436,7437,1993,7438,4350,7439,7440,2195,13,2779,3638,2980,3124,1229,1916,7441,3756,2131,7442,4100,4351,2399,3525,7443,2213,1511,1727,1120,7444,7445,646,3757,2443,307,7446,7447,1595,3186,7448,7449,7450,3639,1113,1356,3899,1465,2522,2523,7451,519,7452,128,2132,92,2284,1979,7453,3900,1512,342,3125,2196,7454,2780,2214,1980,3323,7455,290,1656,1317,789,827,2360,7456,3758,4352,562,581,3901,7457,401,4353,2248,94,4354,1399,2781,7458,1463,2024,4355,3187,1943,7459,828,1105,4101,1262,1394,7460,4102,605,4356,7461,1783,2862,7462,2822,819,2101,578,2197,2937,7463,1502,436,3254,4103,3255,2823,3902,2905,3425,3426,7464,2712,2315,7465,7466,2332,2067,23,4357,193,826,3759,2102,699,1630,4104,3075,390,1793,1064,3526,7467,1579,3076,3077,1400,7468,4105,1838,1640,2863,7469,4358,4359,137,4106,598,3078,1966,780,104,974,2938,7470,278,899,253,402,572,504,493,1339,7471,3903,1275,4360,2574,2550,7472,3640,3029,3079,2249,565,1334,2713,863,41,7473,7474,4361,7475,1657,2333,19,463,2750,4107,606,7476,2981,3256,1087,2084,1323,2652,2982,7477,1631,1623,1750,4108,2682,7478,2864,791,2714,2653,2334,232,2416,7479,2983,1498,7480,2654,2620,755,1366,3641,3257,3126,2025,1609,119,1917,3427,862,1026,4109,7481,3904,3760,4362,3905,4363,2260,1951,2470,7482,1125,817,4110,4111,3906,1513,1766,2040,1487,4112,3030,3258,2824,3761,3127,7483,7484,1507,7485,2683,733,40,1632,1106,2865,345,4113,841,2524,230,4364,2984,1846,3259,3428,7486,1263,986,3429,7487,735,879,254,1137,857,622,1300,1180,1388,1562,3907,3908,2939,967,2751,2655,1349,592,2133,1692,3324,2985,1994,4114,1679,3909,1901,2185,7488,739,3642,2715,1296,1290,7489,4115,2198,2199,1921,1563,2595,2551,1870,2752,2986,7490,435,7491,343,1108,596,17,1751,4365,2235,3430,3643,7492,4366,294,3527,2940,1693,477,979,281,2041,3528,643,2042,3644,2621,2782,2261,1031,2335,2134,2298,3529,4367,367,1249,2552,7493,3530,7494,4368,1283,3325,2004,240,1762,3326,4369,4370,836,1069,3128,474,7495,2148,2525,268,3531,7496,3188,1521,1284,7497,1658,1546,4116,7498,3532,3533,7499,4117,3327,2684,1685,4118,961,1673,2622,190,2005,2200,3762,4371,4372,7500,570,2497,3645,1490,7501,4373,2623,3260,1956,4374,584,1514,396,1045,1944,7502,4375,1967,2444,7503,7504,4376,3910,619,7505,3129,3261,215,2006,2783,2553,3189,4377,3190,4378,763,4119,3763,4379,7506,7507,1957,1767,2941,3328,3646,1174,452,1477,4380,3329,3130,7508,2825,1253,2382,2186,1091,2285,4120,492,7509,638,1169,1824,2135,1752,3911,648,926,1021,1324,4381,520,4382,997,847,1007,892,4383,3764,2262,1871,3647,7510,2400,1784,4384,1952,2942,3080,3191,1728,4121,2043,3648,4385,2007,1701,3131,1551,30,2263,4122,7511,2026,4386,3534,7512,501,7513,4123,594,3431,2165,1821,3535,3432,3536,3192,829,2826,4124,7514,1680,3132,1225,4125,7515,3262,4387,4126,3133,2336,7516,4388,4127,7517,3912,3913,7518,1847,2383,2596,3330,7519,4389,374,3914,652,4128,4129,375,1140,798,7520,7521,7522,2361,4390,2264,546,1659,138,3031,2445,4391,7523,2250,612,1848,910,796,3765,1740,1371,825,3766,3767,7524,2906,2554,7525,692,444,3032,2624,801,4392,4130,7526,1491,244,1053,3033,4131,4132,340,7527,3915,1041,2987,293,1168,87,1357,7528,1539,959,7529,2236,721,694,4133,3768,219,1478,644,1417,3331,2656,1413,1401,1335,1389,3916,7530,7531,2988,2362,3134,1825,730,1515,184,2827,66,4393,7532,1660,2943,246,3332,378,1457,226,3433,975,3917,2944,1264,3537,674,696,7533,163,7534,1141,2417,2166,713,3538,3333,4394,3918,7535,7536,1186,15,7537,1079,1070,7538,1522,3193,3539,276,1050,2716,758,1126,653,2945,3263,7539,2337,889,3540,3919,3081,2989,903,1250,4395,3920,3434,3541,1342,1681,1718,766,3264,286,89,2946,3649,7540,1713,7541,2597,3334,2990,7542,2947,2215,3194,2866,7543,4396,2498,2526,181,387,1075,3921,731,2187,3335,7544,3265,310,313,3435,2299,770,4134,54,3034,189,4397,3082,3769,3922,7545,1230,1617,1849,355,3542,4135,4398,3336,111,4136,3650,1350,3135,3436,3035,4137,2149,3266,3543,7546,2784,3923,3924,2991,722,2008,7547,1071,247,1207,2338,2471,1378,4399,2009,864,1437,1214,4400,373,3770,1142,2216,667,4401,442,2753,2555,3771,3925,1968,4138,3267,1839,837,170,1107,934,1336,1882,7548,7549,2118,4139,2828,743,1569,7550,4402,4140,582,2384,1418,3437,7551,1802,7552,357,1395,1729,3651,3268,2418,1564,2237,7553,3083,3772,1633,4403,1114,2085,4141,1532,7554,482,2446,4404,7555,7556,1492,833,1466,7557,2717,3544,1641,2829,7558,1526,1272,3652,4142,1686,1794,416,2556,1902,1953,1803,7559,3773,2785,3774,1159,2316,7560,2867,4405,1610,1584,3036,2419,2754,443,3269,1163,3136,7561,7562,3926,7563,4143,2499,3037,4406,3927,3137,2103,1647,3545,2010,1872,4144,7564,4145,431,3438,7565,250,97,81,4146,7566,1648,1850,1558,160,848,7567,866,740,1694,7568,2201,2830,3195,4147,4407,3653,1687,950,2472,426,469,3196,3654,3655,3928,7569,7570,1188,424,1995,861,3546,4148,3775,2202,2685,168,1235,3547,4149,7571,2086,1674,4408,3337,3270,220,2557,1009,7572,3776,670,2992,332,1208,717,7573,7574,3548,2447,3929,3338,7575,513,7576,1209,2868,3339,3138,4409,1080,7577,7578,7579,7580,2527,3656,3549,815,1587,3930,3931,7581,3550,3439,3777,1254,4410,1328,3038,1390,3932,1741,3933,3778,3934,7582,236,3779,2448,3271,7583,7584,3657,3780,1273,3781,4411,7585,308,7586,4412,245,4413,1851,2473,1307,2575,430,715,2136,2449,7587,270,199,2869,3935,7588,3551,2718,1753,761,1754,725,1661,1840,4414,3440,3658,7589,7590,587,14,3272,227,2598,326,480,2265,943,2755,3552,291,650,1883,7591,1702,1226,102,1547,62,3441,904,4415,3442,1164,4150,7592,7593,1224,1548,2756,391,498,1493,7594,1386,1419,7595,2055,1177,4416,813,880,1081,2363,566,1145,4417,2286,1001,1035,2558,2599,2238,394,1286,7596,7597,2068,7598,86,1494,1730,3936,491,1588,745,897,2948,843,3340,3937,2757,2870,3273,1768,998,2217,2069,397,1826,1195,1969,3659,2993,3341,284,7599,3782,2500,2137,2119,1903,7600,3938,2150,3939,4151,1036,3443,1904,114,2559,4152,209,1527,7601,7602,2949,2831,2625,2385,2719,3139,812,2560,7603,3274,7604,1559,737,1884,3660,1210,885,28,2686,3553,3783,7605,4153,1004,1779,4418,7606,346,1981,2218,2687,4419,3784,1742,797,1642,3940,1933,1072,1384,2151,896,3941,3275,3661,3197,2871,3554,7607,2561,1958,4420,2450,1785,7608,7609,7610,3942,4154,1005,1308,3662,4155,2720,4421,4422,1528,2600,161,1178,4156,1982,987,4423,1101,4157,631,3943,1157,3198,2420,1343,1241,1016,2239,2562,372,877,2339,2501,1160,555,1934,911,3944,7611,466,1170,169,1051,2907,2688,3663,2474,2994,1182,2011,2563,1251,2626,7612,992,2340,3444,1540,2721,1201,2070,2401,1996,2475,7613,4424,528,1922,2188,1503,1873,1570,2364,3342,3276,7614,557,1073,7615,1827,3445,2087,2266,3140,3039,3084,767,3085,2786,4425,1006,4158,4426,2341,1267,2176,3664,3199,778,3945,3200,2722,1597,2657,7616,4427,7617,3446,7618,7619,7620,3277,2689,1433,3278,131,95,1504,3946,723,4159,3141,1841,3555,2758,2189,3947,2027,2104,3665,7621,2995,3948,1218,7622,3343,3201,3949,4160,2576,248,1634,3785,912,7623,2832,3666,3040,3786,654,53,7624,2996,7625,1688,4428,777,3447,1032,3950,1425,7626,191,820,2120,2833,971,4429,931,3202,135,664,783,3787,1997,772,2908,1935,3951,3788,4430,2909,3203,282,2723,640,1372,3448,1127,922,325,3344,7627,7628,711,2044,7629,7630,3952,2219,2787,1936,3953,3345,2220,2251,3789,2300,7631,4431,3790,1258,3279,3954,3204,2138,2950,3955,3956,7632,2221,258,3205,4432,101,1227,7633,3280,1755,7634,1391,3281,7635,2910,2056,893,7636,7637,7638,1402,4161,2342,7639,7640,3206,3556,7641,7642,878,1325,1780,2788,4433,259,1385,2577,744,1183,2267,4434,7643,3957,2502,7644,684,1024,4162,7645,472,3557,3449,1165,3282,3958,3959,322,2152,881,455,1695,1152,1340,660,554,2153,4435,1058,4436,4163,830,1065,3346,3960,4437,1923,7646,1703,1918,7647,932,2268,122,7648,4438,947,677,7649,3791,2627,297,1905,1924,2269,4439,2317,3283,7650,7651,4164,7652,4165,84,4166,112,989,7653,547,1059,3961,701,3558,1019,7654,4167,7655,3450,942,639,457,2301,2451,993,2951,407,851,494,4440,3347,927,7656,1237,7657,2421,3348,573,4168,680,921,2911,1279,1874,285,790,1448,1983,719,2167,7658,7659,4441,3962,3963,1649,7660,1541,563,7661,1077,7662,3349,3041,3451,511,2997,3964,3965,3667,3966,1268,2564,3350,3207,4442,4443,7663,535,1048,1276,1189,2912,2028,3142,1438,1373,2834,2952,1134,2012,7664,4169,1238,2578,3086,1259,7665,700,7666,2953,3143,3668,4170,7667,4171,1146,1875,1906,4444,2601,3967,781,2422,132,1589,203,147,273,2789,2402,898,1786,2154,3968,3969,7668,3792,2790,7669,7670,4445,4446,7671,3208,7672,1635,3793,965,7673,1804,2690,1516,3559,1121,1082,1329,3284,3970,1449,3794,65,1128,2835,2913,2759,1590,3795,7674,7675,12,2658,45,976,2579,3144,4447,517,2528,1013,1037,3209,7676,3796,2836,7677,3797,7678,3452,7679,2602,614,1998,2318,3798,3087,2724,2628,7680,2580,4172,599,1269,7681,1810,3669,7682,2691,3088,759,1060,489,1805,3351,3285,1358,7683,7684,2386,1387,1215,2629,2252,490,7685,7686,4173,1759,2387,2343,7687,4448,3799,1907,3971,2630,1806,3210,4449,3453,3286,2760,2344,874,7688,7689,3454,3670,1858,91,2914,3671,3042,3800,4450,7690,3145,3972,2659,7691,3455,1202,1403,3801,2954,2529,1517,2503,4451,3456,2504,7692,4452,7693,2692,1885,1495,1731,3973,2365,4453,7694,2029,7695,7696,3974,2693,1216,237,2581,4174,2319,3975,3802,4454,4455,2694,3560,3457,445,4456,7697,7698,7699,7700,2761,61,3976,3672,1822,3977,7701,687,2045,935,925,405,2660,703,1096,1859,2725,4457,3978,1876,1367,2695,3352,918,2105,1781,2476,334,3287,1611,1093,4458,564,3146,3458,3673,3353,945,2631,2057,4459,7702,1925,872,4175,7703,3459,2696,3089,349,4176,3674,3979,4460,3803,4177,3675,2155,3980,4461,4462,4178,4463,2403,2046,782,3981,400,251,4179,1624,7704,7705,277,3676,299,1265,476,1191,3804,2121,4180,4181,1109,205,7706,2582,1e3,2156,3561,1860,7707,7708,7709,4464,7710,4465,2565,107,2477,2157,3982,3460,3147,7711,1533,541,1301,158,753,4182,2872,3562,7712,1696,370,1088,4183,4466,3563,579,327,440,162,2240,269,1937,1374,3461,968,3043,56,1396,3090,2106,3288,3354,7713,1926,2158,4467,2998,7714,3564,7715,7716,3677,4468,2478,7717,2791,7718,1650,4469,7719,2603,7720,7721,3983,2661,3355,1149,3356,3984,3805,3985,7722,1076,49,7723,951,3211,3289,3290,450,2837,920,7724,1811,2792,2366,4184,1908,1138,2367,3806,3462,7725,3212,4470,1909,1147,1518,2423,4471,3807,7726,4472,2388,2604,260,1795,3213,7727,7728,3808,3291,708,7729,3565,1704,7730,3566,1351,1618,3357,2999,1886,944,4185,3358,4186,3044,3359,4187,7731,3678,422,413,1714,3292,500,2058,2345,4188,2479,7732,1344,1910,954,7733,1668,7734,7735,3986,2404,4189,3567,3809,4190,7736,2302,1318,2505,3091,133,3092,2873,4473,629,31,2838,2697,3810,4474,850,949,4475,3987,2955,1732,2088,4191,1496,1852,7737,3988,620,3214,981,1242,3679,3360,1619,3680,1643,3293,2139,2452,1970,1719,3463,2168,7738,3215,7739,7740,3361,1828,7741,1277,4476,1565,2047,7742,1636,3568,3093,7743,869,2839,655,3811,3812,3094,3989,3e3,3813,1310,3569,4477,7744,7745,7746,1733,558,4478,3681,335,1549,3045,1756,4192,3682,1945,3464,1829,1291,1192,470,2726,2107,2793,913,1054,3990,7747,1027,7748,3046,3991,4479,982,2662,3362,3148,3465,3216,3217,1946,2794,7749,571,4480,7750,1830,7751,3570,2583,1523,2424,7752,2089,984,4481,3683,1959,7753,3684,852,923,2795,3466,3685,969,1519,999,2048,2320,1705,7754,3095,615,1662,151,597,3992,2405,2321,1049,275,4482,3686,4193,568,3687,3571,2480,4194,3688,7755,2425,2270,409,3218,7756,1566,2874,3467,1002,769,2840,194,2090,3149,3689,2222,3294,4195,628,1505,7757,7758,1763,2177,3001,3993,521,1161,2584,1787,2203,2406,4483,3994,1625,4196,4197,412,42,3096,464,7759,2632,4484,3363,1760,1571,2875,3468,2530,1219,2204,3814,2633,2140,2368,4485,4486,3295,1651,3364,3572,7760,7761,3573,2481,3469,7762,3690,7763,7764,2271,2091,460,7765,4487,7766,3002,962,588,3574,289,3219,2634,1116,52,7767,3047,1796,7768,7769,7770,1467,7771,1598,1143,3691,4198,1984,1734,1067,4488,1280,3365,465,4489,1572,510,7772,1927,2241,1812,1644,3575,7773,4490,3692,7774,7775,2663,1573,1534,7776,7777,4199,536,1807,1761,3470,3815,3150,2635,7778,7779,7780,4491,3471,2915,1911,2796,7781,3296,1122,377,3220,7782,360,7783,7784,4200,1529,551,7785,2059,3693,1769,2426,7786,2916,4201,3297,3097,2322,2108,2030,4492,1404,136,1468,1479,672,1171,3221,2303,271,3151,7787,2762,7788,2049,678,2727,865,1947,4493,7789,2013,3995,2956,7790,2728,2223,1397,3048,3694,4494,4495,1735,2917,3366,3576,7791,3816,509,2841,2453,2876,3817,7792,7793,3152,3153,4496,4202,2531,4497,2304,1166,1010,552,681,1887,7794,7795,2957,2958,3996,1287,1596,1861,3154,358,453,736,175,478,1117,905,1167,1097,7796,1853,1530,7797,1706,7798,2178,3472,2287,3695,3473,3577,4203,2092,4204,7799,3367,1193,2482,4205,1458,2190,2205,1862,1888,1421,3298,2918,3049,2179,3474,595,2122,7800,3997,7801,7802,4206,1707,2636,223,3696,1359,751,3098,183,3475,7803,2797,3003,419,2369,633,704,3818,2389,241,7804,7805,7806,838,3004,3697,2272,2763,2454,3819,1938,2050,3998,1309,3099,2242,1181,7807,1136,2206,3820,2370,1446,4207,2305,4498,7808,7809,4208,1055,2605,484,3698,7810,3999,625,4209,2273,3368,1499,4210,4e3,7811,4001,4211,3222,2274,2275,3476,7812,7813,2764,808,2606,3699,3369,4002,4212,3100,2532,526,3370,3821,4213,955,7814,1620,4214,2637,2427,7815,1429,3700,1669,1831,994,928,7816,3578,1260,7817,7818,7819,1948,2288,741,2919,1626,4215,2729,2455,867,1184,362,3371,1392,7820,7821,4003,4216,1770,1736,3223,2920,4499,4500,1928,2698,1459,1158,7822,3050,3372,2877,1292,1929,2506,2842,3701,1985,1187,2071,2014,2607,4217,7823,2566,2507,2169,3702,2483,3299,7824,3703,4501,7825,7826,666,1003,3005,1022,3579,4218,7827,4502,1813,2253,574,3822,1603,295,1535,705,3823,4219,283,858,417,7828,7829,3224,4503,4504,3051,1220,1889,1046,2276,2456,4004,1393,1599,689,2567,388,4220,7830,2484,802,7831,2798,3824,2060,1405,2254,7832,4505,3825,2109,1052,1345,3225,1585,7833,809,7834,7835,7836,575,2730,3477,956,1552,1469,1144,2323,7837,2324,1560,2457,3580,3226,4005,616,2207,3155,2180,2289,7838,1832,7839,3478,4506,7840,1319,3704,3705,1211,3581,1023,3227,1293,2799,7841,7842,7843,3826,607,2306,3827,762,2878,1439,4221,1360,7844,1485,3052,7845,4507,1038,4222,1450,2061,2638,4223,1379,4508,2585,7846,7847,4224,1352,1414,2325,2921,1172,7848,7849,3828,3829,7850,1797,1451,7851,7852,7853,7854,2922,4006,4007,2485,2346,411,4008,4009,3582,3300,3101,4509,1561,2664,1452,4010,1375,7855,7856,47,2959,316,7857,1406,1591,2923,3156,7858,1025,2141,3102,3157,354,2731,884,2224,4225,2407,508,3706,726,3583,996,2428,3584,729,7859,392,2191,1453,4011,4510,3707,7860,7861,2458,3585,2608,1675,2800,919,2347,2960,2348,1270,4511,4012,73,7862,7863,647,7864,3228,2843,2255,1550,1346,3006,7865,1332,883,3479,7866,7867,7868,7869,3301,2765,7870,1212,831,1347,4226,4512,2326,3830,1863,3053,720,3831,4513,4514,3832,7871,4227,7872,7873,4515,7874,7875,1798,4516,3708,2609,4517,3586,1645,2371,7876,7877,2924,669,2208,2665,2429,7878,2879,7879,7880,1028,3229,7881,4228,2408,7882,2256,1353,7883,7884,4518,3158,518,7885,4013,7886,4229,1960,7887,2142,4230,7888,7889,3007,2349,2350,3833,516,1833,1454,4014,2699,4231,4519,2225,2610,1971,1129,3587,7890,2766,7891,2961,1422,577,1470,3008,1524,3373,7892,7893,432,4232,3054,3480,7894,2586,1455,2508,2226,1972,1175,7895,1020,2732,4015,3481,4520,7896,2733,7897,1743,1361,3055,3482,2639,4016,4233,4521,2290,895,924,4234,2170,331,2243,3056,166,1627,3057,1098,7898,1232,2880,2227,3374,4522,657,403,1196,2372,542,3709,3375,1600,4235,3483,7899,4523,2767,3230,576,530,1362,7900,4524,2533,2666,3710,4017,7901,842,3834,7902,2801,2031,1014,4018,213,2700,3376,665,621,4236,7903,3711,2925,2430,7904,2431,3302,3588,3377,7905,4237,2534,4238,4525,3589,1682,4239,3484,1380,7906,724,2277,600,1670,7907,1337,1233,4526,3103,2244,7908,1621,4527,7909,651,4240,7910,1612,4241,2611,7911,2844,7912,2734,2307,3058,7913,716,2459,3059,174,1255,2701,4019,3590,548,1320,1398,728,4020,1574,7914,1890,1197,3060,4021,7915,3061,3062,3712,3591,3713,747,7916,635,4242,4528,7917,7918,7919,4243,7920,7921,4529,7922,3378,4530,2432,451,7923,3714,2535,2072,4244,2735,4245,4022,7924,1764,4531,7925,4246,350,7926,2278,2390,2486,7927,4247,4023,2245,1434,4024,488,4532,458,4248,4025,3715,771,1330,2391,3835,2568,3159,2159,2409,1553,2667,3160,4249,7928,2487,2881,2612,1720,2702,4250,3379,4533,7929,2536,4251,7930,3231,4252,2768,7931,2015,2736,7932,1155,1017,3716,3836,7933,3303,2308,201,1864,4253,1430,7934,4026,7935,7936,7937,7938,7939,4254,1604,7940,414,1865,371,2587,4534,4535,3485,2016,3104,4536,1708,960,4255,887,389,2171,1536,1663,1721,7941,2228,4027,2351,2926,1580,7942,7943,7944,1744,7945,2537,4537,4538,7946,4539,7947,2073,7948,7949,3592,3380,2882,4256,7950,4257,2640,3381,2802,673,2703,2460,709,3486,4028,3593,4258,7951,1148,502,634,7952,7953,1204,4540,3594,1575,4541,2613,3717,7954,3718,3105,948,3232,121,1745,3837,1110,7955,4259,3063,2509,3009,4029,3719,1151,1771,3838,1488,4030,1986,7956,2433,3487,7957,7958,2093,7959,4260,3839,1213,1407,2803,531,2737,2538,3233,1011,1537,7960,2769,4261,3106,1061,7961,3720,3721,1866,2883,7962,2017,120,4262,4263,2062,3595,3234,2309,3840,2668,3382,1954,4542,7963,7964,3488,1047,2704,1266,7965,1368,4543,2845,649,3383,3841,2539,2738,1102,2846,2669,7966,7967,1999,7968,1111,3596,2962,7969,2488,3842,3597,2804,1854,3384,3722,7970,7971,3385,2410,2884,3304,3235,3598,7972,2569,7973,3599,2805,4031,1460,856,7974,3600,7975,2885,2963,7976,2886,3843,7977,4264,632,2510,875,3844,1697,3845,2291,7978,7979,4544,3010,1239,580,4545,4265,7980,914,936,2074,1190,4032,1039,2123,7981,7982,7983,3386,1473,7984,1354,4266,3846,7985,2172,3064,4033,915,3305,4267,4268,3306,1605,1834,7986,2739,398,3601,4269,3847,4034,328,1912,2847,4035,3848,1331,4270,3011,937,4271,7987,3602,4036,4037,3387,2160,4546,3388,524,742,538,3065,1012,7988,7989,3849,2461,7990,658,1103,225,3850,7991,7992,4547,7993,4548,7994,3236,1243,7995,4038,963,2246,4549,7996,2705,3603,3161,7997,7998,2588,2327,7999,4550,8e3,8001,8002,3489,3307,957,3389,2540,2032,1930,2927,2462,870,2018,3604,1746,2770,2771,2434,2463,8003,3851,8004,3723,3107,3724,3490,3390,3725,8005,1179,3066,8006,3162,2373,4272,3726,2541,3163,3108,2740,4039,8007,3391,1556,2542,2292,977,2887,2033,4040,1205,3392,8008,1765,3393,3164,2124,1271,1689,714,4551,3491,8009,2328,3852,533,4273,3605,2181,617,8010,2464,3308,3492,2310,8011,8012,3165,8013,8014,3853,1987,618,427,2641,3493,3394,8015,8016,1244,1690,8017,2806,4274,4552,8018,3494,8019,8020,2279,1576,473,3606,4275,3395,972,8021,3607,8022,3067,8023,8024,4553,4554,8025,3727,4041,4042,8026,153,4555,356,8027,1891,2888,4276,2143,408,803,2352,8028,3854,8029,4277,1646,2570,2511,4556,4557,3855,8030,3856,4278,8031,2411,3396,752,8032,8033,1961,2964,8034,746,3012,2465,8035,4279,3728,698,4558,1892,4280,3608,2543,4559,3609,3857,8036,3166,3397,8037,1823,1302,4043,2706,3858,1973,4281,8038,4282,3167,823,1303,1288,1236,2848,3495,4044,3398,774,3859,8039,1581,4560,1304,2849,3860,4561,8040,2435,2161,1083,3237,4283,4045,4284,344,1173,288,2311,454,1683,8041,8042,1461,4562,4046,2589,8043,8044,4563,985,894,8045,3399,3168,8046,1913,2928,3729,1988,8047,2110,1974,8048,4047,8049,2571,1194,425,8050,4564,3169,1245,3730,4285,8051,8052,2850,8053,636,4565,1855,3861,760,1799,8054,4286,2209,1508,4566,4048,1893,1684,2293,8055,8056,8057,4287,4288,2210,479,8058,8059,832,8060,4049,2489,8061,2965,2490,3731,990,3109,627,1814,2642,4289,1582,4290,2125,2111,3496,4567,8062,799,4291,3170,8063,4568,2112,1737,3013,1018,543,754,4292,3309,1676,4569,4570,4050,8064,1489,8065,3497,8066,2614,2889,4051,8067,8068,2966,8069,8070,8071,8072,3171,4571,4572,2182,1722,8073,3238,3239,1842,3610,1715,481,365,1975,1856,8074,8075,1962,2491,4573,8076,2126,3611,3240,433,1894,2063,2075,8077,602,2741,8078,8079,8080,8081,8082,3014,1628,3400,8083,3172,4574,4052,2890,4575,2512,8084,2544,2772,8085,8086,8087,3310,4576,2891,8088,4577,8089,2851,4578,4579,1221,2967,4053,2513,8090,8091,8092,1867,1989,8093,8094,8095,1895,8096,8097,4580,1896,4054,318,8098,2094,4055,4293,8099,8100,485,8101,938,3862,553,2670,116,8102,3863,3612,8103,3498,2671,2773,3401,3311,2807,8104,3613,2929,4056,1747,2930,2968,8105,8106,207,8107,8108,2672,4581,2514,8109,3015,890,3614,3864,8110,1877,3732,3402,8111,2183,2353,3403,1652,8112,8113,8114,941,2294,208,3499,4057,2019,330,4294,3865,2892,2492,3733,4295,8115,8116,8117,8118,2515,1613,4582,8119,3312,3866,2516,8120,4058,8121,1637,4059,2466,4583,3867,8122,2493,3016,3734,8123,8124,2192,8125,8126,2162,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),h3}var m3={},ao;function eC(){return ao||(ao=1,m3.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,m3.EUCKR_TABLE_SIZE=2352,m3.EUCKRCharToFreqOrder=[13,130,120,1396,481,1719,1720,328,609,212,1721,707,400,299,1722,87,1397,1723,104,536,1117,1203,1724,1267,685,1268,508,1725,1726,1727,1728,1398,1399,1729,1730,1731,141,621,326,1057,368,1732,267,488,20,1733,1269,1734,945,1400,1735,47,904,1270,1736,1737,773,248,1738,409,313,786,429,1739,116,987,813,1401,683,75,1204,145,1740,1741,1742,1743,16,847,667,622,708,1744,1745,1746,966,787,304,129,1747,60,820,123,676,1748,1749,1750,1751,617,1752,626,1753,1754,1755,1756,653,1757,1758,1759,1760,1761,1762,856,344,1763,1764,1765,1766,89,401,418,806,905,848,1767,1768,1769,946,1205,709,1770,1118,1771,241,1772,1773,1774,1271,1775,569,1776,999,1777,1778,1779,1780,337,751,1058,28,628,254,1781,177,906,270,349,891,1079,1782,19,1783,379,1784,315,1785,629,754,1402,559,1786,636,203,1206,1787,710,567,1788,935,814,1789,1790,1207,766,528,1791,1792,1208,1793,1794,1795,1796,1797,1403,1798,1799,533,1059,1404,1405,1156,1406,936,884,1080,1800,351,1801,1802,1803,1804,1805,801,1806,1807,1808,1119,1809,1157,714,474,1407,1810,298,899,885,1811,1120,802,1158,1812,892,1813,1814,1408,659,1815,1816,1121,1817,1818,1819,1820,1821,1822,319,1823,594,545,1824,815,937,1209,1825,1826,573,1409,1022,1827,1210,1828,1829,1830,1831,1832,1833,556,722,807,1122,1060,1834,697,1835,900,557,715,1836,1410,540,1411,752,1159,294,597,1211,976,803,770,1412,1837,1838,39,794,1413,358,1839,371,925,1840,453,661,788,531,723,544,1023,1081,869,91,1841,392,430,790,602,1414,677,1082,457,1415,1416,1842,1843,475,327,1024,1417,795,121,1844,733,403,1418,1845,1846,1847,300,119,711,1212,627,1848,1272,207,1849,1850,796,1213,382,1851,519,1852,1083,893,1853,1854,1855,367,809,487,671,1856,663,1857,1858,956,471,306,857,1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,282,96,574,1872,502,1085,1873,1214,1874,907,1875,1876,827,977,1419,1420,1421,268,1877,1422,1878,1879,1880,308,1881,2,537,1882,1883,1215,1884,1885,127,791,1886,1273,1423,1887,34,336,404,643,1888,571,654,894,840,1889,0,886,1274,122,575,260,908,938,1890,1275,410,316,1891,1892,100,1893,1894,1123,48,1161,1124,1025,1895,633,901,1276,1896,1897,115,816,1898,317,1899,694,1900,909,734,1424,572,866,1425,691,85,524,1010,543,394,841,1901,1902,1903,1026,1904,1905,1906,1907,1908,1909,30,451,651,988,310,1910,1911,1426,810,1216,93,1912,1913,1277,1217,1914,858,759,45,58,181,610,269,1915,1916,131,1062,551,443,1e3,821,1427,957,895,1086,1917,1918,375,1919,359,1920,687,1921,822,1922,293,1923,1924,40,662,118,692,29,939,887,640,482,174,1925,69,1162,728,1428,910,1926,1278,1218,1279,386,870,217,854,1163,823,1927,1928,1929,1930,834,1931,78,1932,859,1933,1063,1934,1935,1936,1937,438,1164,208,595,1938,1939,1940,1941,1219,1125,1942,280,888,1429,1430,1220,1431,1943,1944,1945,1946,1947,1280,150,510,1432,1948,1949,1950,1951,1952,1953,1954,1011,1087,1955,1433,1043,1956,881,1957,614,958,1064,1065,1221,1958,638,1001,860,967,896,1434,989,492,553,1281,1165,1959,1282,1002,1283,1222,1960,1961,1962,1963,36,383,228,753,247,454,1964,876,678,1965,1966,1284,126,464,490,835,136,672,529,940,1088,1435,473,1967,1968,467,50,390,227,587,279,378,598,792,968,240,151,160,849,882,1126,1285,639,1044,133,140,288,360,811,563,1027,561,142,523,1969,1970,1971,7,103,296,439,407,506,634,990,1972,1973,1974,1975,645,1976,1977,1978,1979,1980,1981,236,1982,1436,1983,1984,1089,192,828,618,518,1166,333,1127,1985,818,1223,1986,1987,1988,1989,1990,1991,1992,1993,342,1128,1286,746,842,1994,1995,560,223,1287,98,8,189,650,978,1288,1996,1437,1997,17,345,250,423,277,234,512,226,97,289,42,167,1998,201,1999,2e3,843,836,824,532,338,783,1090,182,576,436,1438,1439,527,500,2001,947,889,2002,2003,2004,2005,262,600,314,447,2006,547,2007,693,738,1129,2008,71,1440,745,619,688,2009,829,2010,2011,147,2012,33,948,2013,2014,74,224,2015,61,191,918,399,637,2016,1028,1130,257,902,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,837,2027,2028,2029,2030,179,874,591,52,724,246,2031,2032,2033,2034,1167,969,2035,1289,630,605,911,1091,1168,2036,2037,2038,1441,912,2039,623,2040,2041,253,1169,1290,2042,1442,146,620,611,577,433,2043,1224,719,1170,959,440,437,534,84,388,480,1131,159,220,198,679,2044,1012,819,1066,1443,113,1225,194,318,1003,1029,2045,2046,2047,2048,1067,2049,2050,2051,2052,2053,59,913,112,2054,632,2055,455,144,739,1291,2056,273,681,499,2057,448,2058,2059,760,2060,2061,970,384,169,245,1132,2062,2063,414,1444,2064,2065,41,235,2066,157,252,877,568,919,789,580,2067,725,2068,2069,1292,2070,2071,1445,2072,1446,2073,2074,55,588,66,1447,271,1092,2075,1226,2076,960,1013,372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085,850,2086,2087,2088,2089,2090,186,2091,1068,180,2092,2093,2094,109,1227,522,606,2095,867,1448,1093,991,1171,926,353,1133,2096,581,2097,2098,2099,1294,1449,1450,2100,596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,804,2118,2119,1230,1231,805,1456,405,1136,2120,2121,2122,2123,2124,720,701,1297,992,1457,927,1004,2125,2126,2127,2128,2129,2130,22,417,2131,303,2132,385,2133,971,520,513,2134,1174,73,1096,231,274,962,1458,673,2135,1459,2136,152,1137,2137,2138,2139,2140,1005,1138,1460,1139,2141,2142,2143,2144,11,374,844,2145,154,1232,46,1461,2146,838,830,721,1233,106,2147,90,428,462,578,566,1175,352,2148,2149,538,1234,124,1298,2150,1462,761,565,2151,686,2152,649,2153,72,173,2154,460,415,2155,1463,2156,1235,305,2157,2158,2159,2160,2161,2162,579,2163,2164,2165,2166,2167,747,2168,2169,2170,2171,1464,669,2172,2173,2174,2175,2176,1465,2177,23,530,285,2178,335,729,2179,397,2180,2181,2182,1030,2183,2184,698,2185,2186,325,2187,2188,369,2189,799,1097,1015,348,2190,1069,680,2191,851,1466,2192,2193,10,2194,613,424,2195,979,108,449,589,27,172,81,1031,80,774,281,350,1032,525,301,582,1176,2196,674,1045,2197,2198,1467,730,762,2199,2200,2201,2202,1468,2203,993,2204,2205,266,1070,963,1140,2206,2207,2208,664,1098,972,2209,2210,2211,1177,1469,1470,871,2212,2213,2214,2215,2216,1471,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,2234,2235,1299,2236,2237,200,2238,477,373,2239,2240,731,825,777,2241,2242,2243,521,486,548,2244,2245,2246,1473,1300,53,549,137,875,76,158,2247,1301,1474,469,396,1016,278,712,2248,321,442,503,767,744,941,1237,1178,1475,2249,82,178,1141,1179,973,2250,1302,2251,297,2252,2253,570,2254,2255,2256,18,450,206,2257,290,292,1142,2258,511,162,99,346,164,735,2259,1476,1477,4,554,343,798,1099,2260,1100,2261,43,171,1303,139,215,2262,2263,717,775,2264,1033,322,216,2265,831,2266,149,2267,1304,2268,2269,702,1238,135,845,347,309,2270,484,2271,878,655,238,1006,1478,2272,67,2273,295,2274,2275,461,2276,478,942,412,2277,1034,2278,2279,2280,265,2281,541,2282,2283,2284,2285,2286,70,852,1071,2287,2288,2289,2290,21,56,509,117,432,2291,2292,331,980,552,1101,148,284,105,393,1180,1239,755,2293,187,2294,1046,1479,2295,340,2296,63,1047,230,2297,2298,1305,763,1306,101,800,808,494,2299,2300,2301,903,2302,37,1072,14,5,2303,79,675,2304,312,2305,2306,2307,2308,2309,1480,6,1307,2310,2311,2312,1,470,35,24,229,2313,695,210,86,778,15,784,592,779,32,77,855,964,2314,259,2315,501,380,2316,2317,83,981,153,689,1308,1481,1482,1483,2318,2319,716,1484,2320,2321,2322,2323,2324,2325,1485,2326,2327,128,57,68,261,1048,211,170,1240,31,2328,51,435,742,2329,2330,2331,635,2332,264,456,2333,2334,2335,425,2336,1486,143,507,263,943,2337,363,920,1487,256,1488,1102,243,601,1489,2338,2339,2340,2341,2342,2343,2344,861,2345,2346,2347,2348,2349,2350,395,2351,1490,1491,62,535,166,225,2352,2353,668,419,1241,138,604,928,2354,1181,2355,1492,1493,2356,2357,2358,1143,2359,696,2360,387,307,1309,682,476,2361,2362,332,12,222,156,2363,232,2364,641,276,656,517,1494,1495,1035,416,736,1496,2365,1017,586,2366,2367,2368,1497,2369,242,2370,2371,2372,1498,2373,965,713,2374,2375,2376,2377,740,982,1499,944,1500,1007,2378,2379,1310,1501,2380,2381,2382,785,329,2383,2384,1502,2385,2386,2387,932,2388,1503,2389,2390,2391,2392,1242,2393,2394,2395,2396,2397,994,950,2398,2399,2400,2401,1504,1311,2402,2403,2404,2405,1049,749,2406,2407,853,718,1144,1312,2408,1182,1505,2409,2410,255,516,479,564,550,214,1506,1507,1313,413,239,444,339,1145,1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414,176,703,497,624,593,921,302,2415,341,165,1103,1512,2416,1513,2417,2418,2419,376,2420,700,2421,2422,2423,258,768,1316,2424,1183,2425,995,608,2426,2427,2428,2429,221,2430,2431,2432,2433,2434,2435,2436,2437,195,323,726,188,897,983,1317,377,644,1050,879,2438,452,2439,2440,2441,2442,2443,2444,914,2445,2446,2447,2448,915,489,2449,1514,1184,2450,2451,515,64,427,495,2452,583,2453,483,485,1038,562,213,1515,748,666,2454,2455,2456,2457,334,2458,780,996,1008,705,1243,2459,2460,2461,2462,2463,114,2464,493,1146,366,163,1516,961,1104,2465,291,2466,1318,1105,2467,1517,365,2468,355,951,1244,2469,1319,2470,631,2471,2472,218,1320,364,320,756,1518,1519,1321,1520,1322,2473,2474,2475,2476,997,2477,2478,2479,2480,665,1185,2481,916,1521,2482,2483,2484,584,684,2485,2486,797,2487,1051,1186,2488,2489,2490,1522,2491,2492,370,2493,1039,1187,65,2494,434,205,463,1188,2495,125,812,391,402,826,699,286,398,155,781,771,585,2496,590,505,1073,2497,599,244,219,917,1018,952,646,1523,2498,1323,2499,2500,49,984,354,741,2501,625,2502,1324,2503,1019,190,357,757,491,95,782,868,2504,2505,2506,2507,2508,2509,134,1524,1074,422,1525,898,2510,161,2511,2512,2513,2514,769,2515,1526,2516,2517,411,1325,2518,472,1527,2519,2520,2521,2522,2523,2524,985,2525,2526,2527,2528,2529,2530,764,2531,1245,2532,2533,25,204,311,2534,496,2535,1052,2536,2537,2538,2539,2540,2541,2542,199,704,504,468,758,657,1528,196,44,839,1246,272,750,2543,765,862,2544,2545,1326,2546,132,615,933,2547,732,2548,2549,2550,1189,1529,2551,283,1247,1053,607,929,2552,2553,2554,930,183,872,616,1040,1147,2555,1148,1020,441,249,1075,2556,2557,2558,466,743,2559,2560,2561,92,514,426,420,526,2562,2563,2564,2565,2566,2567,2568,185,2569,2570,2571,2572,776,1530,658,2573,362,2574,361,922,1076,793,2575,2576,2577,2578,2579,2580,1531,251,2581,2582,2583,2584,1532,54,612,237,1327,2585,2586,275,408,647,111,2587,1533,1106,465,3,458,9,38,2588,107,110,890,209,26,737,498,2589,1534,2590,431,202,88,1535,356,287,1107,660,1149,2591,381,1536,986,1150,445,1248,1151,974,2592,2593,846,2594,446,953,184,1249,1250,727,2595,923,193,883,2596,2597,2598,102,324,539,817,2599,421,1041,2600,832,2601,94,175,197,406,2602,459,2603,2604,2605,2606,2607,330,555,2608,2609,2610,706,1108,389,2611,2612,2613,2614,233,2615,833,558,931,954,1251,2616,2617,1537,546,2618,2619,1009,2620,2621,2622,1538,690,1328,2623,955,2624,1539,2625,2626,772,2627,2628,2629,2630,2631,924,648,863,603,2632,2633,934,1540,864,865,2634,642,1042,670,1190,2635,2636,2637,2638,168,2639,652,873,542,1054,1541,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,1542,880,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,1543,2726,2727,2728,2729,2730,2731,2732,1544,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,1545,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,1546,2767,1547,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,1548,2787,2788,2789,1109,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,1329,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,1549,2857,2858,2859,2860,1550,2861,2862,1551,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,1110,1330,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,1331,2931,2932,2933,2934,2935,2936,2937,2938,2939,2940,2941,2942,2943,1552,2944,2945,2946,2947,2948,2949,2950,2951,2952,2953,2954,2955,2956,2957,2958,2959,2960,2961,2962,2963,2964,1252,2965,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2976,2977,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3e3,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,1553,3013,3014,3015,3016,3017,1554,3018,1332,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050,1555,3051,3052,3053,1556,1557,3054,3055,3056,3057,3058,3059,3060,3061,3062,3063,3064,3065,3066,3067,1558,3068,3069,3070,3071,3072,3073,3074,3075,3076,1559,3077,3078,3079,3080,3081,3082,3083,1253,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,1152,3109,3110,3111,3112,3113,1560,3114,3115,3116,3117,1111,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142,3143,3144,3145,3146,3147,3148,3149,3150,3151,3152,3153,3154,3155,3156,3157,3158,3159,3160,3161,3162,3163,3164,3165,3166,3167,3168,3169,3170,3171,3172,3173,3174,3175,3176,1333,3177,3178,3179,3180,3181,3182,3183,3184,3185,3186,3187,3188,3189,1561,3190,3191,1334,3192,3193,3194,3195,3196,3197,3198,3199,3200,3201,3202,3203,3204,3205,3206,3207,3208,3209,3210,3211,3212,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,1562,3235,3236,3237,3238,3239,3240,3241,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3252,3253,3254,3255,3256,3257,3258,3259,3260,3261,3262,3263,3264,3265,3266,3267,3268,3269,3270,3271,3272,3273,3274,3275,3276,3277,1563,3278,3279,3280,3281,3282,3283,3284,3285,3286,3287,3288,3289,3290,3291,3292,3293,3294,3295,3296,3297,3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,3338,3339,3340,3341,3342,3343,3344,3345,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,1335,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3387,1336,3388,3389,3390,3391,3392,3393,3394,3395,3396,3397,3398,3399,3400,3401,3402,3403,3404,3405,3406,3407,3408,3409,3410,3411,3412,3413,3414,1337,3415,3416,3417,3418,3419,1338,3420,3421,3422,1564,1565,3423,3424,3425,3426,3427,3428,3429,3430,3431,1254,3432,3433,3434,1339,3435,3436,3437,3438,3439,1566,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,1255,3455,3456,3457,3458,3459,1567,1191,3460,1568,1569,3461,3462,3463,1570,3464,3465,3466,3467,3468,1571,3469,3470,3471,3472,3473,1572,3474,3475,3476,3477,3478,3479,3480,3481,3482,3483,3484,3485,3486,1340,3487,3488,3489,3490,3491,3492,1021,3493,3494,3495,3496,3497,3498,1573,3499,1341,3500,3501,3502,3503,3504,3505,3506,3507,3508,3509,3510,3511,1342,3512,3513,3514,3515,3516,1574,1343,3517,3518,3519,1575,3520,1576,3521,3522,3523,3524,3525,3526,3527,3528,3529,3530,3531,3532,3533,3534,3535,3536,3537,3538,3539,3540,3541,3542,3543,3544,3545,3546,3547,3548,3549,3550,3551,3552,3553,3554,3555,3556,3557,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3568,3569,3570,3571,3572,3573,3574,3575,3576,3577,3578,3579,3580,1577,3581,3582,1578,3583,3584,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,1579,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,1580,3630,3631,1581,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,3643,3644,3645,3646,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,1582,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,3676,3677,3678,3679,3680,3681,3682,3683,3684,3685,3686,3687,3688,3689,3690,3691,3692,3693,3694,3695,3696,3697,3698,3699,3700,1192,3701,3702,3703,3704,1256,3705,3706,3707,3708,1583,1257,3709,3710,3711,3712,3713,3714,3715,3716,1584,3717,3718,3719,3720,3721,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3740,3741,3742,3743,3744,3745,1344,3746,3747,3748,3749,3750,3751,3752,3753,3754,3755,3756,1585,3757,3758,3759,3760,3761,3762,3763,3764,3765,3766,1586,3767,3768,3769,3770,3771,3772,3773,3774,3775,3776,3777,3778,1345,3779,3780,3781,3782,3783,3784,3785,3786,3787,3788,3789,3790,3791,3792,3793,3794,3795,1346,1587,3796,3797,1588,3798,3799,3800,3801,3802,3803,3804,3805,3806,1347,3807,3808,3809,3810,3811,1589,3812,3813,3814,3815,3816,3817,3818,3819,3820,3821,1590,3822,3823,1591,1348,3824,3825,3826,3827,3828,3829,3830,1592,3831,3832,1593,3833,3834,3835,3836,3837,3838,3839,3840,3841,3842,3843,3844,1349,3845,3846,3847,3848,3849,3850,3851,3852,3853,3854,3855,3856,3857,3858,1594,3859,3860,3861,3862,3863,3864,3865,3866,3867,3868,3869,1595,3870,3871,3872,3873,1596,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,1597,3887,3888,3889,3890,3891,3892,3893,3894,3895,1598,3896,3897,3898,1599,1600,3899,1350,3900,1351,3901,3902,1352,3903,3904,3905,3906,3907,3908,3909,3910,3911,3912,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,1258,3925,3926,3927,3928,3929,3930,3931,1193,3932,1601,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,1602,3944,3945,3946,3947,3948,1603,3949,3950,3951,3952,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,1604,3966,3967,3968,3969,3970,3971,3972,3973,3974,3975,3976,3977,1353,3978,3979,3980,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,1354,3992,3993,3994,3995,3996,3997,3998,3999,4e3,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,1355,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4036,4037,4038,4039,4040,1605,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,1606,4061,4062,4063,4064,1607,4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076,1194,4077,4078,1608,4079,4080,4081,4082,4083,4084,4085,4086,4087,1609,4088,4089,4090,4091,4092,4093,4094,4095,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,1259,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,1195,4125,4126,4127,1610,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,1356,4138,4139,4140,4141,4142,4143,4144,1611,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4159,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4170,4171,4172,4173,4174,4175,4176,4177,4178,4179,4180,4181,4182,4183,4184,4185,4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196,4197,4198,4199,4200,4201,4202,4203,4204,4205,4206,4207,4208,4209,4210,4211,4212,4213,4214,4215,4216,4217,4218,4219,1612,4220,4221,4222,4223,4224,4225,4226,4227,1357,4228,1613,4229,4230,4231,4232,4233,4234,4235,4236,4237,4238,4239,4240,4241,4242,4243,1614,4244,4245,4246,4247,4248,4249,4250,4251,4252,4253,4254,4255,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,1196,1358,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,1615,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,1616,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,1617,4361,4362,4363,4364,4365,1618,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,1619,4417,4418,4419,4420,4421,4422,4423,4424,4425,1112,4426,4427,4428,4429,4430,1620,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,1260,1261,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,1359,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,1621,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,1055,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,1622,4519,4520,4521,1623,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,1360,4536,4537,4538,4539,4540,4541,4542,4543,975,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,1624,4572,4573,4574,4575,4576,1625,4577,4578,4579,4580,4581,4582,4583,4584,1626,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,1627,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,1628,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,1361,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,1362,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4681,4682,1629,4683,4684,4685,4686,4687,1630,4688,4689,4690,4691,1153,4692,4693,4694,1113,4695,4696,4697,4698,4699,4700,4701,4702,4703,4704,4705,4706,4707,4708,4709,4710,4711,1197,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,1631,4736,1632,4737,4738,4739,4740,4741,4742,4743,4744,1633,4745,4746,4747,4748,4749,1262,4750,4751,4752,4753,4754,1363,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,1634,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,1635,4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,1636,4790,4791,4792,4793,4794,4795,4796,4797,4798,4799,4800,4801,4802,4803,4804,4805,4806,1637,4807,4808,4809,1638,4810,4811,4812,4813,4814,4815,4816,4817,4818,1639,4819,4820,4821,4822,4823,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,1077,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883,1640,4884,4885,1641,4886,4887,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,1642,4912,4913,4914,1364,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,1643,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4955,4956,4957,4958,4959,4960,4961,4962,4963,4964,4965,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,1644,4981,4982,4983,4984,1645,4985,4986,1646,4987,4988,4989,4990,4991,4992,4993,4994,4995,4996,4997,4998,4999,5e3,5001,5002,5003,5004,5005,1647,5006,1648,5007,5008,5009,5010,5011,5012,1078,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027,5028,1365,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,1649,5040,5041,5042,5043,5044,5045,1366,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,1650,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,1651,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,1652,5111,5112,5113,5114,5115,5116,5117,5118,1367,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,1653,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,1368,5150,1654,5151,1369,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,1370,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,1655,5199,5200,5201,5202,1656,5203,5204,5205,5206,1371,5207,1372,5208,5209,5210,5211,1373,5212,5213,1374,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,1657,5248,5249,5250,5251,1658,1263,5252,5253,5254,5255,5256,1375,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,1659,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,1660,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,1376,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,1198,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,1661,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,1264,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,1662,5413,5414,5415,5416,1663,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,1664,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,1154,5479,5480,5481,5482,5483,5484,5485,1665,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,1377,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,1114,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,1378,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,1379,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,1380,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,1381,1056,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,1666,5661,5662,5663,5664,5665,5666,5667,5668,1667,5669,1668,5670,5671,5672,5673,5674,5675,5676,5677,5678,1155,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,1669,5699,5700,5701,5702,5703,5704,5705,1670,5706,5707,5708,5709,5710,1671,5711,5712,5713,5714,1382,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,1672,5726,5727,1673,1674,5728,5729,5730,5731,5732,5733,5734,5735,5736,1675,5737,5738,5739,5740,5741,5742,5743,5744,1676,5745,5746,5747,5748,5749,5750,5751,1383,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,1677,5769,5770,5771,5772,5773,1678,5774,5775,5776,998,5777,5778,5779,5780,5781,5782,5783,5784,5785,1384,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,1679,5801,5802,5803,1115,1116,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,1680,5856,5857,5858,5859,5860,5861,5862,5863,5864,1681,5865,5866,5867,1682,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,1683,5880,1684,5881,5882,5883,5884,1685,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,1686,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,1687,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,1688,1689,5953,1199,5954,5955,5956,5957,5958,5959,5960,5961,1690,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,1385,5982,1386,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,1265,6028,6029,1691,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,1692,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,1693,6132,6133,6134,6135,6136,1694,6137,6138,6139,6140,6141,1695,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,1696,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,1697,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,1698,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,1200,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,1699,6303,6304,1700,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6317,6318,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,1701,6340,6341,6342,6343,6344,1387,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,1702,6414,6415,6416,6417,6418,6419,6420,6421,6422,1703,6423,6424,6425,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,1704,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,1266,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,1705,1706,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633,6634,6635,6636,6637,1388,6638,6639,6640,6641,6642,6643,6644,1707,6645,6646,6647,6648,6649,6650,6651,6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,1708,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,1201,6675,6676,6677,6678,6679,6680,6681,6682,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,1389,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,1390,1709,6737,6738,6739,6740,6741,6742,1710,6743,6744,6745,6746,1391,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,1392,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,1202,6781,6782,6783,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,1711,6810,6811,6812,6813,6814,6815,6816,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,6836,1393,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6847,6848,6849,6850,6851,6852,6853,6854,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,6878,6879,6880,6881,6882,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,1712,6903,6904,6905,6906,6907,6908,6909,6910,1713,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,1714,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,1394,6989,6990,6991,6992,6993,6994,6995,6996,6997,6998,6999,7e3,1715,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,1716,7029,7030,7031,7032,7033,7034,7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,1395,7208,7209,7210,7211,7212,7213,1717,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,1718,7314,7315,7316,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),m3}var p3={},lo;function tC(){return lo||(lo=1,p3.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,p3.GB2312_TABLE_SIZE=3760,p3.GB2312CharToFreqOrder=[1671,749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515,572,3191,2205,2361,224,2558,479,1711,963,3162,440,4060,1905,2966,2947,3580,2647,3961,3842,2204,869,4207,970,2678,5626,2944,2956,1479,4048,514,3595,588,1346,2820,3409,249,4088,1746,1873,2047,1774,581,1813,358,1174,3590,1014,1561,4844,2245,670,1636,3112,889,1286,953,556,2327,3060,1290,3141,613,185,3477,1367,850,3820,1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349,388,3098,2091,1360,3585,152,1687,1539,738,1559,59,1232,2925,2267,1388,1249,1741,1679,2960,151,1566,1125,1352,4271,924,4296,385,3166,4459,310,1245,2850,70,3285,2729,3534,3575,2398,3298,3466,1960,2265,217,3647,864,1909,2084,4401,2773,1010,3269,5152,853,3051,3121,1244,4251,1895,364,1499,1540,2313,1180,3655,2268,562,715,2417,3061,544,336,3768,2380,1752,4075,950,280,2425,4382,183,2759,3272,333,4297,2155,1688,2356,1444,1039,4540,736,1177,3349,2443,2368,2144,2225,565,196,1482,3406,927,1335,4147,692,878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,2534,1546,2393,2760,737,2494,13,447,245,2747,38,2765,2129,2589,1079,606,360,471,3755,2890,404,848,699,1785,1236,370,2221,1023,3746,2074,2026,2023,2388,1581,2119,812,1141,3091,2536,1519,804,2053,406,1596,1090,784,548,4414,1806,2264,2936,1100,343,4114,5096,622,3358,743,3668,1510,1626,5020,3567,2513,3195,4115,5627,2489,2991,24,2065,2697,1087,2719,48,1634,315,68,985,2052,198,2239,1347,1107,1439,597,2366,2172,871,3307,919,2487,2790,1867,236,2570,1413,3794,906,3365,3381,1701,1982,1818,1524,2924,1205,616,2586,2072,2004,575,253,3099,32,1365,1182,197,1714,2454,1201,554,3388,3224,2748,756,2587,250,2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153,615,911,1506,1474,2495,1265,1906,2749,3756,3280,2161,898,2714,1759,3450,2243,2444,563,26,3286,2266,3769,3344,2707,3677,611,1402,531,1028,2871,4548,1375,261,2948,835,1190,4134,353,840,2684,1900,3082,1435,2109,1207,1674,329,1872,2781,4055,2686,2104,608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,1681,1153,225,1627,2929,162,2050,2511,3687,1954,124,1859,2431,1684,3032,2894,585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209,256,518,2042,2105,3777,3657,643,2298,1148,1779,190,989,3544,414,11,2135,2063,2979,1471,403,3678,126,770,1563,671,2499,3216,2877,600,1179,307,2805,4937,1268,1297,2694,252,4032,1448,1494,1331,1394,127,2256,222,1647,1035,1481,3056,1915,1048,873,3651,210,33,1608,2516,200,1520,415,102,0,3389,1287,817,91,3299,2940,836,1814,549,2197,1396,1669,2987,3582,2297,2848,4528,1070,687,20,1819,121,1552,1364,1461,1968,2617,3540,2824,2083,177,948,4938,2291,110,4549,2066,648,3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123,208,1804,3159,2992,2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680,72,842,1990,212,1233,1154,1586,75,2027,3410,4900,1823,1337,2710,2676,728,2810,1522,3026,4995,157,755,1050,4022,710,785,1936,2194,2085,1406,2777,2400,150,1250,4049,1206,807,1910,534,529,3309,1721,1660,274,39,2827,661,2670,1578,925,3248,3815,1094,4278,4901,4252,41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,887,538,4187,3199,1294,2439,3042,2329,2343,2497,1255,107,543,1527,521,3478,3568,194,5062,15,961,3870,1241,1192,2664,66,5215,3260,2111,1295,1127,2152,3805,4135,901,1164,1976,398,1278,530,1460,748,904,1054,1966,1426,53,2909,509,523,2279,1534,536,1019,239,1685,460,2353,673,1065,2401,3600,4298,2272,1272,2363,284,1753,3679,4064,1695,81,815,2677,2757,2731,1386,859,500,4221,2190,2566,757,1006,2519,2068,1166,1455,337,2654,3203,1863,1682,1914,3025,1252,1409,1366,847,714,2834,2038,3209,964,2970,1901,885,2553,1078,1756,3049,301,1572,3326,688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088,262,1158,1254,389,1641,1812,526,1719,923,2073,1073,1902,468,489,4625,1140,857,2375,3070,3319,2863,380,116,1328,2693,1161,2244,273,1212,1884,2769,3011,1775,1142,461,3066,1200,2147,2212,790,702,2695,4222,1601,1058,434,2338,5153,3640,67,2360,4099,2502,618,3472,1329,416,1132,830,2782,1807,2653,3211,3510,1662,192,2124,296,3979,1739,1611,3684,23,118,324,446,1239,1225,293,2520,3814,3795,2535,3116,17,1074,467,2692,2201,387,2922,45,1326,3055,1645,3659,2817,958,243,1903,2320,1339,2825,1784,3289,356,576,865,2315,2381,3377,3916,1088,3122,1713,1655,935,628,4689,1034,1327,441,800,720,894,1979,2183,1528,5289,2702,1071,4046,3572,2399,1571,3281,79,761,1103,327,134,758,1899,1371,1615,879,442,215,2605,2579,173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,814,4968,3487,1548,2644,1567,1285,2,295,2636,97,946,3576,832,141,4257,3273,760,3821,3521,3156,2607,949,1024,1733,1516,1803,1920,2125,2283,2665,3180,1501,2064,3560,2171,1592,803,3518,1416,732,3897,4258,1363,1362,2458,119,1427,602,1525,2608,1605,1639,3175,694,3064,10,465,76,2e3,4846,4208,444,3781,1619,3353,2206,1273,3796,740,2483,320,1723,2377,3660,2619,1359,1137,1762,1724,2345,2842,1850,1862,912,821,1866,612,2625,1735,2573,3369,1093,844,89,937,930,1424,3564,2413,2972,1004,3046,3019,2011,711,3171,1452,4178,428,801,1943,432,445,2811,206,4136,1472,730,349,73,397,2802,2547,998,1637,1167,789,396,3217,154,1218,716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627,552,3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703,640,1045,1370,1246,4996,371,1575,2436,1621,2210,984,4033,1734,2638,16,4529,663,2755,3255,1451,3917,2257,1253,1955,2234,1263,2951,214,1229,617,485,359,1831,1969,473,2310,750,2058,165,80,2864,2419,361,4344,2416,2479,1134,796,3726,1266,2943,860,2715,938,390,2734,1313,1384,248,202,877,1064,2854,522,3907,279,1602,297,2357,395,3740,137,2075,944,4089,2584,1267,3802,62,1533,2285,178,176,780,2440,201,3707,590,478,1560,4354,2117,1075,30,74,4643,4004,1635,1441,2745,776,2596,238,1077,1692,1912,2844,605,499,1742,3947,241,3053,980,1749,936,2640,4511,2582,515,1543,2162,5322,2892,2993,890,2148,1924,665,1827,3581,1032,968,3163,339,1044,1896,270,583,1791,1720,4367,1194,3488,3669,43,2523,1657,163,2167,290,1209,1622,3378,550,634,2508,2510,695,2634,2384,2512,1476,1414,220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680,854,3227,1299,2976,3172,186,2998,1459,443,1067,3251,1495,321,1932,3054,909,753,1410,1828,436,2441,1119,1587,3164,2186,1258,227,231,1425,1890,3200,3942,247,959,725,5254,2741,577,2158,2079,929,120,174,838,2813,591,1115,417,2024,40,3240,1536,1037,291,4151,2354,632,1298,2406,2500,3535,1825,1846,3451,205,1171,345,4238,18,1163,811,685,2208,1217,425,1312,1508,1175,4308,2552,1033,587,1381,3059,2984,3482,340,1316,4023,3972,792,3176,519,777,4690,918,933,4130,2981,3741,90,3360,2911,2200,5184,4550,609,3079,2030,272,3379,2736,363,3881,1130,1447,286,779,357,1169,3350,3137,1630,1220,2687,2391,747,1277,3688,2618,2682,2601,1156,3196,5290,4034,3102,1689,3596,3128,874,219,2783,798,508,1843,2461,269,1658,1776,1392,1913,2983,3287,2866,2159,2372,829,4076,46,4253,2873,1889,1894,915,1834,1631,2181,2318,298,664,2818,3555,2735,954,3228,3117,527,3511,2173,681,2712,3033,2247,2346,3467,1652,155,2164,3382,113,1994,450,899,494,994,1237,2958,1875,2336,1926,3727,545,1577,1550,633,3473,204,1305,3072,2410,1956,2471,707,2134,841,2195,2196,2663,3843,1026,4940,990,3252,4997,368,1092,437,3212,3258,1933,1829,675,2977,2893,412,943,3723,4644,3294,3283,2230,2373,5154,2389,2241,2661,2323,1404,2524,593,787,677,3008,1275,2059,438,2709,2609,2240,2269,2246,1446,36,1568,1373,3892,1574,2301,1456,3962,693,2276,5216,2035,1143,2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090,424,1694,312,3634,3390,4179,3335,2252,1214,561,1059,3243,2295,2561,975,5155,2321,2751,3772,472,1537,3282,3398,1047,2077,2348,2878,1323,3340,3076,690,2906,51,369,170,3541,1060,2187,2688,3670,2541,1083,1683,928,3918,459,109,4427,599,3744,4286,143,2101,2730,2490,82,1588,3036,2121,281,1860,477,4035,1238,2812,3020,2716,3312,1530,2188,2055,1317,843,636,1808,1173,3495,649,181,1002,147,3641,1159,2414,3750,2289,2795,813,3123,2610,1136,4368,5,3391,4541,2174,420,429,1728,754,1228,2115,2219,347,2223,2733,735,1518,3003,2355,3134,1764,3948,3329,1888,2424,1001,1234,1972,3321,3363,1672,1021,1450,1584,226,765,655,2526,3404,3244,2302,3665,731,594,2184,319,1576,621,658,2656,4299,2099,3864,1279,2071,2598,2739,795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,2591,1084,213,2287,1963,3565,2250,822,793,4574,3187,1772,1789,3050,595,1484,1959,2770,1080,2650,456,422,2996,940,3322,4328,4345,3092,2742,965,2784,739,4124,952,1358,2498,2949,2565,332,2698,2378,660,2260,2473,4194,3856,2919,535,1260,2651,1208,1428,1300,1949,1303,2942,433,2455,2450,1251,1946,614,1269,641,1306,1810,2737,3078,2912,564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,3218,2175,1897,3063,682,1157,4040,4005,1712,1160,1941,1399,394,402,2952,1573,1151,2986,2404,862,299,2033,1489,3006,346,171,2886,3401,1726,2932,168,2533,47,2507,1030,3735,1145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,504,1036,2690,2988,2405,745,5871,849,2397,2056,3081,863,2359,3857,2096,99,1397,1769,2300,4428,1643,3455,1978,1757,3718,1440,35,4879,3742,1296,4228,2280,160,5063,1599,2013,166,520,3479,1646,3345,3012,490,1937,1545,1264,2182,2505,1096,1188,1369,1436,2421,1667,2792,2460,1270,2122,727,3167,2143,806,1706,1012,1800,3037,960,2218,1882,805,139,2456,1139,1521,851,1052,3093,3089,342,2039,744,5097,1468,1502,1585,2087,223,939,326,2140,2577,892,2481,1623,4077,982,3708,135,2131,87,2503,3114,2326,1106,876,1616,547,2997,2831,2093,3441,4530,4314,9,3256,4229,4148,659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,3274,1368,3689,4645,1477,705,3384,3635,1068,1529,2941,1458,3782,1509,100,1656,2548,718,2339,408,1590,2780,3548,1838,4117,3719,1345,3530,717,3442,2778,3220,2898,1892,4590,3614,3371,2043,1998,1224,3483,891,635,584,2559,3355,733,1766,1729,1172,3789,1891,2307,781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,3213,1189,1934,5693,3262,586,3118,1324,1598,517,1564,2217,1868,1893,4445,3728,2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287,338,1993,3129,3489,2689,1809,2815,1997,957,1855,3898,2550,3275,3057,1105,1319,627,1505,1911,1883,3526,698,3629,3456,1833,1431,746,77,1261,2017,2296,1977,1885,125,1334,1600,525,1798,1109,2222,1470,1945,559,2236,1186,3443,2476,1929,1411,2411,3135,1777,3372,2621,1841,1613,3229,668,1430,1839,2643,2916,195,1989,2671,2358,1387,629,3205,2293,5256,4439,123,1310,888,1879,4300,3021,3605,1003,1162,3192,2910,2010,140,2395,2859,55,1082,2012,2901,662,419,2081,1438,680,2774,4654,3912,1620,1731,1625,5035,4065,2328,512,1344,802,5443,2163,2311,2537,524,3399,98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,180,1113,4655,3461,2028,1698,833,2696,1235,1322,1594,4408,3623,3013,3225,2040,3022,541,2881,607,3632,2029,1665,1219,639,1385,1686,1099,2803,3231,1938,3188,2858,427,676,2772,1168,2025,454,3253,2486,3556,230,1950,580,791,1991,1280,1086,1974,2034,630,257,3338,2788,4903,1017,86,4790,966,2789,1995,1696,1131,259,3095,4188,1308,179,1463,5257,289,4107,1248,42,3413,1725,2288,896,1947,774,4474,4254,604,3430,4264,392,2514,2588,452,237,1408,3018,988,4531,1970,3034,3310,540,2370,1562,1288,2990,502,4765,1147,4,1853,2708,207,294,2814,4078,2902,2509,684,34,3105,3532,2551,644,709,2801,2344,573,1727,3573,3557,2021,1081,3100,4315,2100,3681,199,2263,1837,2385,146,3484,1195,2776,3949,997,1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076,493,117,5400,2521,972,1490,2934,1796,4542,2374,1512,2933,2657,413,2888,1135,2762,2314,2156,1355,2369,766,2007,2527,2170,3124,2491,2593,2632,4757,2437,234,3125,3591,1898,1750,1376,1942,3468,3138,570,2127,2145,3276,4131,962,132,1445,4196,19,941,3624,3480,3366,1973,1374,4461,3431,2629,283,2415,2275,808,2887,3620,2112,2563,1353,3610,955,1089,3103,1053,96,88,4097,823,3808,1583,399,292,4091,3313,421,1128,642,4006,903,2539,1877,2082,596,29,4066,1790,722,2157,130,995,1569,769,1485,464,513,2213,288,1923,1101,2453,4316,133,486,2445,50,625,487,2207,57,423,481,2962,159,3729,1558,491,303,482,501,240,2837,112,3648,2392,1783,362,8,3433,3422,610,2793,3277,1390,1284,1654,21,3823,734,367,623,193,287,374,1009,1483,816,476,313,2255,2340,1262,2150,2899,1146,2581,782,2116,1659,2018,1880,255,3586,3314,1110,2867,2137,2564,986,2767,5185,2006,650,158,926,762,881,3157,2717,2362,3587,306,3690,3245,1542,3077,2427,1691,2478,2118,2985,3490,2438,539,2305,983,129,1754,355,4201,2386,827,2923,104,1773,2838,2771,411,2905,3919,376,767,122,1114,828,2422,1817,3506,266,3460,1007,1609,4998,945,2612,4429,2274,726,1247,1964,2914,2199,2070,4002,4108,657,3323,1422,579,455,2764,4737,1222,2895,1670,824,1223,1487,2525,558,861,3080,598,2659,2515,1967,752,2583,2376,2214,4180,977,704,2464,4999,2622,4109,1210,2961,819,1541,142,2284,44,418,457,1126,3730,4347,4626,1644,1876,3671,1864,302,1063,5694,624,723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098,409,1011,2325,3704,2306,818,1732,1383,1824,1844,3757,999,2705,3497,1216,1423,2683,2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343,783,724,191,2434,1354,2220,5065,1763,2752,2472,4152,131,175,2885,3434,92,1466,4920,2616,3871,3872,3866,128,1551,1632,669,1854,3682,4691,4125,1230,188,2973,3290,1302,1213,560,3266,917,763,3909,3249,1760,868,1958,764,1782,2097,145,2277,3774,4462,64,1491,3062,971,2132,3606,2442,221,1226,1617,218,323,1185,3207,3147,571,619,1473,1005,1744,2281,449,1887,2396,3685,275,375,3816,1743,3844,3731,845,1983,2350,4210,1377,773,967,3499,3052,3743,2725,4007,1697,1022,3943,1464,3264,2855,2722,1952,1029,2839,2467,84,4383,2215,820,1391,2015,2448,3672,377,1948,2168,797,2545,3536,2578,2645,94,2874,1678,405,1259,3071,771,546,1315,470,1243,3083,895,2468,981,969,2037,846,4181,653,1276,2928,14,2594,557,3007,2474,156,902,1338,1740,2574,537,2518,973,2282,2216,2433,1928,138,2903,1293,2631,1612,646,3457,839,2935,111,496,2191,2847,589,3186,149,3994,2060,4031,2641,4067,3145,1870,37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,1301,251,2446,2599,2153,872,3246,637,334,3705,831,884,921,3065,3140,4092,2198,1944,246,2964,108,2045,1152,1921,2308,1031,203,3173,4170,1907,3890,810,1401,2003,1690,506,647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,498,666,2613,834,3817,1231,184,2851,1124,883,3197,2261,3710,1765,1553,2658,1178,2639,2351,93,1193,942,2538,2141,4402,235,1821,870,1591,2192,1709,1871,3341,1618,4126,2595,2334,603,651,69,701,268,2662,3411,2555,1380,1606,503,448,254,2371,2646,574,1187,2309,1770,322,2235,1292,1801,305,566,1133,229,2067,2057,706,167,483,2002,2672,3295,1820,3561,3067,316,378,2746,3452,1112,136,1981,507,1651,2917,1117,285,4591,182,2580,3522,1304,335,3303,1835,2504,1795,1792,2248,674,1018,2106,2449,1857,2292,2845,976,3047,1781,2600,2727,1389,1281,52,3152,153,265,3950,672,3485,3951,4463,430,1183,365,278,2169,27,1407,1336,2304,209,1340,1730,2202,1852,2403,2883,979,1737,1062,631,2829,2542,3876,2592,825,2086,2226,3048,3625,352,1417,3724,542,991,431,1351,3938,1861,2294,826,1361,2927,3142,3503,1738,463,2462,2723,582,1916,1595,2808,400,3845,3891,2868,3621,2254,58,2492,1123,910,2160,2614,1372,1603,1196,1072,3385,1700,3267,1980,696,480,2430,920,799,1570,2920,1951,2041,4047,2540,1321,4223,2469,3562,2228,1271,2602,401,2833,3351,2575,5157,907,2312,1256,410,263,3507,1582,996,678,1849,2316,1480,908,3545,2237,703,2322,667,1826,2849,1531,2604,2999,2407,3146,2151,2630,1786,3711,469,3542,497,3899,2409,858,837,4446,3393,1274,786,620,1845,2001,3311,484,308,3367,1204,1815,3691,2332,1532,2557,1842,2020,2724,1927,2333,4440,567,22,1673,2728,4475,1987,1858,1144,1597,101,1832,3601,12,974,3783,4391,951,1412,1,3720,453,4608,4041,528,1041,1027,3230,2628,1129,875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278,144,1758,3040,31,475,1680,366,2685,3184,311,1642,4008,2466,5036,1593,1493,2809,216,1420,1668,233,304,2128,3284,232,1429,1768,1040,2008,3407,2740,2967,2543,242,2133,778,1565,2022,2620,505,2189,2756,1098,2273,372,1614,708,553,2846,2094,2278,169,3626,2835,4161,228,2674,3165,809,1454,1309,466,1705,1095,900,3423,880,2667,3751,5258,2317,3109,2571,4317,2766,1503,1342,866,4447,1118,63,2076,314,1881,1348,1061,172,978,3515,1747,532,511,3970,6,601,905,2699,3300,1751,276,1467,3725,2668,65,4239,2544,2779,2556,1604,578,2451,1802,992,2331,2624,1320,3446,713,1513,1013,103,2786,2447,1661,886,1702,916,654,3574,2031,1556,751,2178,2821,2179,1498,1538,2176,271,914,2251,2080,1325,638,1953,2937,3877,2432,2754,95,3265,1716,260,1227,4083,775,106,1357,3254,426,1607,555,2480,772,1985,244,2546,474,495,1046,2611,1851,2061,71,2089,1675,2590,742,3758,2843,3222,1433,267,2180,2576,2826,2233,2092,3913,2435,956,1745,3075,856,2113,1116,451,3,1988,2896,1398,993,2463,1878,2049,1341,2718,2721,2870,2108,712,2904,4363,2753,2324,277,2872,2349,2649,384,987,435,691,3e3,922,164,3939,652,1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,2530,1434,2408,893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078,49,3770,3469,462,318,656,2259,3250,3069,679,1629,2758,344,1138,1104,3120,1836,1283,3115,2154,1437,4448,934,759,1999,794,2862,1038,533,2560,1722,2342,855,2626,1197,1663,4476,3127,85,4240,2528,25,1111,1181,3673,407,3470,4561,2679,2713,768,1925,2841,3986,1544,1165,932,373,1240,2146,1930,2673,721,4766,354,4333,391,2963,187,61,3364,1442,1102,330,1940,1767,341,3809,4118,393,2496,2062,2211,105,331,300,439,913,1332,626,379,3304,1557,328,689,3952,309,1555,931,317,2517,3027,325,569,686,2107,3084,60,1042,1333,2794,264,3177,4014,1628,258,3712,7,4464,1176,1043,1778,683,114,1975,78,1492,383,1886,510,386,645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,1282,1289,4609,697,1453,3044,2666,3611,1856,2412,54,719,1330,568,3778,2459,1748,788,492,551,1191,1e3,488,3394,3763,282,1799,348,2016,1523,3155,2390,1049,382,2019,1788,1170,729,2968,3523,897,3926,2785,2938,3292,350,2319,3238,1718,1717,2655,3453,3143,4465,161,2889,2980,2009,1421,56,1908,1640,2387,2232,1917,1874,2477,4921,148,83,3438,592,4245,2882,1822,1055,741,115,1496,1624,381,1638,4592,1020,516,3214,458,947,4575,1432,211,1514,2926,1865,2142,189,852,1221,1400,1486,882,2299,4036,351,28,1122,700,6479,6480,6481,6482,6483,5508,6484,3900,3414,3974,4441,4024,3537,4037,5628,5099,3633,6485,3148,6486,3636,5509,3257,5510,5973,5445,5872,4941,4403,3174,4627,5873,6276,2286,4230,5446,5874,5122,6102,6103,4162,5447,5123,5323,4849,6277,3980,3851,5066,4246,5774,5067,6278,3001,2807,5695,3346,5775,5974,5158,5448,6487,5975,5976,5776,3598,6279,5696,4806,4211,4154,6280,6488,6489,6490,6281,4212,5037,3374,4171,6491,4562,4807,4722,4827,5977,6104,4532,4079,5159,5324,5160,4404,3858,5359,5875,3975,4288,4610,3486,4512,5325,3893,5360,6282,6283,5560,2522,4231,5978,5186,5449,2569,3878,6284,5401,3578,4415,6285,4656,5124,5979,2506,4247,4449,3219,3417,4334,4969,4329,6492,4576,4828,4172,4416,4829,5402,6286,3927,3852,5361,4369,4830,4477,4867,5876,4173,6493,6105,4657,6287,6106,5877,5450,6494,4155,4868,5451,3700,5629,4384,6288,6289,5878,3189,4881,6107,6290,6495,4513,6496,4692,4515,4723,5100,3356,6497,6291,3810,4080,5561,3570,4430,5980,6498,4355,5697,6499,4724,6108,6109,3764,4050,5038,5879,4093,3226,6292,5068,5217,4693,3342,5630,3504,4831,4377,4466,4309,5698,4431,5777,6293,5778,4272,3706,6110,5326,3752,4676,5327,4273,5403,4767,5631,6500,5699,5880,3475,5039,6294,5562,5125,4348,4301,4482,4068,5126,4593,5700,3380,3462,5981,5563,3824,5404,4970,5511,3825,4738,6295,6501,5452,4516,6111,5881,5564,6502,6296,5982,6503,4213,4163,3454,6504,6112,4009,4450,6113,4658,6297,6114,3035,6505,6115,3995,4904,4739,4563,4942,4110,5040,3661,3928,5362,3674,6506,5292,3612,4791,5565,4149,5983,5328,5259,5021,4725,4577,4564,4517,4364,6298,5405,4578,5260,4594,4156,4157,5453,3592,3491,6507,5127,5512,4709,4922,5984,5701,4726,4289,6508,4015,6116,5128,4628,3424,4241,5779,6299,4905,6509,6510,5454,5702,5780,6300,4365,4923,3971,6511,5161,3270,3158,5985,4100,867,5129,5703,6117,5363,3695,3301,5513,4467,6118,6512,5455,4232,4242,4629,6513,3959,4478,6514,5514,5329,5986,4850,5162,5566,3846,4694,6119,5456,4869,5781,3779,6301,5704,5987,5515,4710,6302,5882,6120,4392,5364,5705,6515,6121,6516,6517,3736,5988,5457,5989,4695,2457,5883,4551,5782,6303,6304,6305,5130,4971,6122,5163,6123,4870,3263,5365,3150,4871,6518,6306,5783,5069,5706,3513,3498,4409,5330,5632,5366,5458,5459,3991,5990,4502,3324,5991,5784,3696,4518,5633,4119,6519,4630,5634,4417,5707,4832,5992,3418,6124,5993,5567,4768,5218,6520,4595,3458,5367,6125,5635,6126,4202,6521,4740,4924,6307,3981,4069,4385,6308,3883,2675,4051,3834,4302,4483,5568,5994,4972,4101,5368,6309,5164,5884,3922,6127,6522,6523,5261,5460,5187,4164,5219,3538,5516,4111,3524,5995,6310,6311,5369,3181,3386,2484,5188,3464,5569,3627,5708,6524,5406,5165,4677,4492,6312,4872,4851,5885,4468,5996,6313,5709,5710,6128,2470,5886,6314,5293,4882,5785,3325,5461,5101,6129,5711,5786,6525,4906,6526,6527,4418,5887,5712,4808,2907,3701,5713,5888,6528,3765,5636,5331,6529,6530,3593,5889,3637,4943,3692,5714,5787,4925,6315,6130,5462,4405,6131,6132,6316,5262,6531,6532,5715,3859,5716,5070,4696,5102,3929,5788,3987,4792,5997,6533,6534,3920,4809,5e3,5998,6535,2974,5370,6317,5189,5263,5717,3826,6536,3953,5001,4883,3190,5463,5890,4973,5999,4741,6133,6134,3607,5570,6e3,4711,3362,3630,4552,5041,6318,6001,2950,2953,5637,4646,5371,4944,6002,2044,4120,3429,6319,6537,5103,4833,6538,6539,4884,4647,3884,6003,6004,4758,3835,5220,5789,4565,5407,6540,6135,5294,4697,4852,6320,6321,3206,4907,6541,6322,4945,6542,6136,6543,6323,6005,4631,3519,6544,5891,6545,5464,3784,5221,6546,5571,4659,6547,6324,6137,5190,6548,3853,6549,4016,4834,3954,6138,5332,3827,4017,3210,3546,4469,5408,5718,3505,4648,5790,5131,5638,5791,5465,4727,4318,6325,6326,5792,4553,4010,4698,3439,4974,3638,4335,3085,6006,5104,5042,5166,5892,5572,6327,4356,4519,5222,5573,5333,5793,5043,6550,5639,5071,4503,6328,6139,6551,6140,3914,3901,5372,6007,5640,4728,4793,3976,3836,4885,6552,4127,6553,4451,4102,5002,6554,3686,5105,6555,5191,5072,5295,4611,5794,5296,6556,5893,5264,5894,4975,5466,5265,4699,4976,4370,4056,3492,5044,4886,6557,5795,4432,4769,4357,5467,3940,4660,4290,6141,4484,4770,4661,3992,6329,4025,4662,5022,4632,4835,4070,5297,4663,4596,5574,5132,5409,5895,6142,4504,5192,4664,5796,5896,3885,5575,5797,5023,4810,5798,3732,5223,4712,5298,4084,5334,5468,6143,4052,4053,4336,4977,4794,6558,5335,4908,5576,5224,4233,5024,4128,5469,5225,4873,6008,5045,4729,4742,4633,3675,4597,6559,5897,5133,5577,5003,5641,5719,6330,6560,3017,2382,3854,4406,4811,6331,4393,3964,4946,6561,2420,3722,6562,4926,4378,3247,1736,4442,6332,5134,6333,5226,3996,2918,5470,4319,4003,4598,4743,4744,4485,3785,3902,5167,5004,5373,4394,5898,6144,4874,1793,3997,6334,4085,4214,5106,5642,4909,5799,6009,4419,4189,3330,5899,4165,4420,5299,5720,5227,3347,6145,4081,6335,2876,3930,6146,3293,3786,3910,3998,5900,5300,5578,2840,6563,5901,5579,6147,3531,5374,6564,6565,5580,4759,5375,6566,6148,3559,5643,6336,6010,5517,6337,6338,5721,5902,3873,6011,6339,6567,5518,3868,3649,5722,6568,4771,4947,6569,6149,4812,6570,2853,5471,6340,6341,5644,4795,6342,6012,5723,6343,5724,6013,4349,6344,3160,6150,5193,4599,4514,4493,5168,4320,6345,4927,3666,4745,5169,5903,5005,4928,6346,5725,6014,4730,4203,5046,4948,3395,5170,6015,4150,6016,5726,5519,6347,5047,3550,6151,6348,4197,4310,5904,6571,5581,2965,6152,4978,3960,4291,5135,6572,5301,5727,4129,4026,5905,4853,5728,5472,6153,6349,4533,2700,4505,5336,4678,3583,5073,2994,4486,3043,4554,5520,6350,6017,5800,4487,6351,3931,4103,5376,6352,4011,4321,4311,4190,5136,6018,3988,3233,4350,5906,5645,4198,6573,5107,3432,4191,3435,5582,6574,4139,5410,6353,5411,3944,5583,5074,3198,6575,6354,4358,6576,5302,4600,5584,5194,5412,6577,6578,5585,5413,5303,4248,5414,3879,4433,6579,4479,5025,4854,5415,6355,4760,4772,3683,2978,4700,3797,4452,3965,3932,3721,4910,5801,6580,5195,3551,5907,3221,3471,3029,6019,3999,5908,5909,5266,5267,3444,3023,3828,3170,4796,5646,4979,4259,6356,5647,5337,3694,6357,5648,5338,4520,4322,5802,3031,3759,4071,6020,5586,4836,4386,5048,6581,3571,4679,4174,4949,6154,4813,3787,3402,3822,3958,3215,3552,5268,4387,3933,4950,4359,6021,5910,5075,3579,6358,4234,4566,5521,6359,3613,5049,6022,5911,3375,3702,3178,4911,5339,4521,6582,6583,4395,3087,3811,5377,6023,6360,6155,4027,5171,5649,4421,4249,2804,6584,2270,6585,4e3,4235,3045,6156,5137,5729,4140,4312,3886,6361,4330,6157,4215,6158,3500,3676,4929,4331,3713,4930,5912,4265,3776,3368,5587,4470,4855,3038,4980,3631,6159,6160,4132,4680,6161,6362,3923,4379,5588,4255,6586,4121,6587,6363,4649,6364,3288,4773,4774,6162,6024,6365,3543,6588,4274,3107,3737,5050,5803,4797,4522,5589,5051,5730,3714,4887,5378,4001,4523,6163,5026,5522,4701,4175,2791,3760,6589,5473,4224,4133,3847,4814,4815,4775,3259,5416,6590,2738,6164,6025,5304,3733,5076,5650,4816,5590,6591,6165,6592,3934,5269,6593,3396,5340,6594,5804,3445,3602,4042,4488,5731,5732,3525,5591,4601,5196,6166,6026,5172,3642,4612,3202,4506,4798,6366,3818,5108,4303,5138,5139,4776,3332,4304,2915,3415,4434,5077,5109,4856,2879,5305,4817,6595,5913,3104,3144,3903,4634,5341,3133,5110,5651,5805,6167,4057,5592,2945,4371,5593,6596,3474,4182,6367,6597,6168,4507,4279,6598,2822,6599,4777,4713,5594,3829,6169,3887,5417,6170,3653,5474,6368,4216,2971,5228,3790,4579,6369,5733,6600,6601,4951,4746,4555,6602,5418,5475,6027,3400,4665,5806,6171,4799,6028,5052,6172,3343,4800,4747,5006,6370,4556,4217,5476,4396,5229,5379,5477,3839,5914,5652,5807,4714,3068,4635,5808,6173,5342,4192,5078,5419,5523,5734,6174,4557,6175,4602,6371,6176,6603,5809,6372,5735,4260,3869,5111,5230,6029,5112,6177,3126,4681,5524,5915,2706,3563,4748,3130,6178,4018,5525,6604,6605,5478,4012,4837,6606,4534,4193,5810,4857,3615,5479,6030,4082,3697,3539,4086,5270,3662,4508,4931,5916,4912,5811,5027,3888,6607,4397,3527,3302,3798,2775,2921,2637,3966,4122,4388,4028,4054,1633,4858,5079,3024,5007,3982,3412,5736,6608,3426,3236,5595,3030,6179,3427,3336,3279,3110,6373,3874,3039,5080,5917,5140,4489,3119,6374,5812,3405,4494,6031,4666,4141,6180,4166,6032,5813,4981,6609,5081,4422,4982,4112,3915,5653,3296,3983,6375,4266,4410,5654,6610,6181,3436,5082,6611,5380,6033,3819,5596,4535,5231,5306,5113,6612,4952,5918,4275,3113,6613,6376,6182,6183,5814,3073,4731,4838,5008,3831,6614,4888,3090,3848,4280,5526,5232,3014,5655,5009,5737,5420,5527,6615,5815,5343,5173,5381,4818,6616,3151,4953,6617,5738,2796,3204,4360,2989,4281,5739,5174,5421,5197,3132,5141,3849,5142,5528,5083,3799,3904,4839,5480,2880,4495,3448,6377,6184,5271,5919,3771,3193,6034,6035,5920,5010,6036,5597,6037,6378,6038,3106,5422,6618,5423,5424,4142,6619,4889,5084,4890,4313,5740,6620,3437,5175,5307,5816,4199,5198,5529,5817,5199,5656,4913,5028,5344,3850,6185,2955,5272,5011,5818,4567,4580,5029,5921,3616,5233,6621,6622,6186,4176,6039,6379,6380,3352,5200,5273,2908,5598,5234,3837,5308,6623,6624,5819,4496,4323,5309,5201,6625,6626,4983,3194,3838,4167,5530,5922,5274,6381,6382,3860,3861,5599,3333,4292,4509,6383,3553,5481,5820,5531,4778,6187,3955,3956,4324,4389,4218,3945,4325,3397,2681,5923,4779,5085,4019,5482,4891,5382,5383,6040,4682,3425,5275,4094,6627,5310,3015,5483,5657,4398,5924,3168,4819,6628,5925,6629,5532,4932,4613,6041,6630,4636,6384,4780,4204,5658,4423,5821,3989,4683,5822,6385,4954,6631,5345,6188,5425,5012,5384,3894,6386,4490,4104,6632,5741,5053,6633,5823,5926,5659,5660,5927,6634,5235,5742,5824,4840,4933,4820,6387,4859,5928,4955,6388,4143,3584,5825,5346,5013,6635,5661,6389,5014,5484,5743,4337,5176,5662,6390,2836,6391,3268,6392,6636,6042,5236,6637,4158,6638,5744,5663,4471,5347,3663,4123,5143,4293,3895,6639,6640,5311,5929,5826,3800,6189,6393,6190,5664,5348,3554,3594,4749,4603,6641,5385,4801,6043,5827,4183,6642,5312,5426,4761,6394,5665,6191,4715,2669,6643,6644,5533,3185,5427,5086,5930,5931,5386,6192,6044,6645,4781,4013,5745,4282,4435,5534,4390,4267,6045,5746,4984,6046,2743,6193,3501,4087,5485,5932,5428,4184,4095,5747,4061,5054,3058,3862,5933,5600,6646,5144,3618,6395,3131,5055,5313,6396,4650,4956,3855,6194,3896,5202,4985,4029,4225,6195,6647,5828,5486,5829,3589,3002,6648,6397,4782,5276,6649,6196,6650,4105,3803,4043,5237,5830,6398,4096,3643,6399,3528,6651,4453,3315,4637,6652,3984,6197,5535,3182,3339,6653,3096,2660,6400,6654,3449,5934,4250,4236,6047,6401,5831,6655,5487,3753,4062,5832,6198,6199,6656,3766,6657,3403,4667,6048,6658,4338,2897,5833,3880,2797,3780,4326,6659,5748,5015,6660,5387,4351,5601,4411,6661,3654,4424,5935,4339,4072,5277,4568,5536,6402,6662,5238,6663,5349,5203,6200,5204,6201,5145,4536,5016,5056,4762,5834,4399,4957,6202,6403,5666,5749,6664,4340,6665,5936,5177,5667,6666,6667,3459,4668,6404,6668,6669,4543,6203,6670,4276,6405,4480,5537,6671,4614,5205,5668,6672,3348,2193,4763,6406,6204,5937,5602,4177,5669,3419,6673,4020,6205,4443,4569,5388,3715,3639,6407,6049,4058,6206,6674,5938,4544,6050,4185,4294,4841,4651,4615,5488,6207,6408,6051,5178,3241,3509,5835,6208,4958,5836,4341,5489,5278,6209,2823,5538,5350,5206,5429,6675,4638,4875,4073,3516,4684,4914,4860,5939,5603,5389,6052,5057,3237,5490,3791,6676,6409,6677,4821,4915,4106,5351,5058,4243,5539,4244,5604,4842,4916,5239,3028,3716,5837,5114,5605,5390,5940,5430,6210,4332,6678,5540,4732,3667,3840,6053,4305,3408,5670,5541,6410,2744,5240,5750,6679,3234,5606,6680,5607,5671,3608,4283,4159,4400,5352,4783,6681,6411,6682,4491,4802,6211,6412,5941,6413,6414,5542,5751,6683,4669,3734,5942,6684,6415,5943,5059,3328,4670,4144,4268,6685,6686,6687,6688,4372,3603,6689,5944,5491,4373,3440,6416,5543,4784,4822,5608,3792,4616,5838,5672,3514,5391,6417,4892,6690,4639,6691,6054,5673,5839,6055,6692,6056,5392,6212,4038,5544,5674,4497,6057,6693,5840,4284,5675,4021,4545,5609,6418,4454,6419,6213,4113,4472,5314,3738,5087,5279,4074,5610,4959,4063,3179,4750,6058,6420,6214,3476,4498,4716,5431,4960,4685,6215,5241,6694,6421,6216,6695,5841,5945,6422,3748,5946,5179,3905,5752,5545,5947,4374,6217,4455,6423,4412,6218,4803,5353,6696,3832,5280,6219,4327,4702,6220,6221,6059,4652,5432,6424,3749,4751,6425,5753,4986,5393,4917,5948,5030,5754,4861,4733,6426,4703,6697,6222,4671,5949,4546,4961,5180,6223,5031,3316,5281,6698,4862,4295,4934,5207,3644,6427,5842,5950,6428,6429,4570,5843,5282,6430,6224,5088,3239,6060,6699,5844,5755,6061,6431,2701,5546,6432,5115,5676,4039,3993,3327,4752,4425,5315,6433,3941,6434,5677,4617,4604,3074,4581,6225,5433,6435,6226,6062,4823,5756,5116,6227,3717,5678,4717,5845,6436,5679,5846,6063,5847,6064,3977,3354,6437,3863,5117,6228,5547,5394,4499,4524,6229,4605,6230,4306,4500,6700,5951,6065,3693,5952,5089,4366,4918,6701,6231,5548,6232,6702,6438,4704,5434,6703,6704,5953,4168,6705,5680,3420,6706,5242,4407,6066,3812,5757,5090,5954,4672,4525,3481,5681,4618,5395,5354,5316,5955,6439,4962,6707,4526,6440,3465,4673,6067,6441,5682,6708,5435,5492,5758,5683,4619,4571,4674,4804,4893,4686,5493,4753,6233,6068,4269,6442,6234,5032,4705,5146,5243,5208,5848,6235,6443,4963,5033,4640,4226,6236,5849,3387,6444,6445,4436,4437,5850,4843,5494,4785,4894,6709,4361,6710,5091,5956,3331,6237,4987,5549,6069,6711,4342,3517,4473,5317,6070,6712,6071,4706,6446,5017,5355,6713,6714,4988,5436,6447,4734,5759,6715,4735,4547,4456,4754,6448,5851,6449,6450,3547,5852,5318,6451,6452,5092,4205,6716,6238,4620,4219,5611,6239,6072,4481,5760,5957,5958,4059,6240,6453,4227,4537,6241,5761,4030,4186,5244,5209,3761,4457,4876,3337,5495,5181,6242,5959,5319,5612,5684,5853,3493,5854,6073,4169,5613,5147,4895,6074,5210,6717,5182,6718,3830,6243,2798,3841,6075,6244,5855,5614,3604,4606,5496,5685,5118,5356,6719,6454,5960,5357,5961,6720,4145,3935,4621,5119,5962,4261,6721,6455,4786,5963,4375,4582,6245,6246,6247,6076,5437,4877,5856,3376,4380,6248,4160,6722,5148,6456,5211,6457,6723,4718,6458,6724,6249,5358,4044,3297,6459,6250,5857,5615,5497,5245,6460,5498,6725,6251,6252,5550,3793,5499,2959,5396,6461,6462,4572,5093,5500,5964,3806,4146,6463,4426,5762,5858,6077,6253,4755,3967,4220,5965,6254,4989,5501,6464,4352,6726,6078,4764,2290,5246,3906,5438,5283,3767,4964,2861,5763,5094,6255,6256,4622,5616,5859,5860,4707,6727,4285,4708,4824,5617,6257,5551,4787,5212,4965,4935,4687,6465,6728,6466,5686,6079,3494,4413,2995,5247,5966,5618,6729,5967,5764,5765,5687,5502,6730,6731,6080,5397,6467,4990,6258,6732,4538,5060,5619,6733,4719,5688,5439,5018,5149,5284,5503,6734,6081,4607,6259,5120,3645,5861,4583,6260,4584,4675,5620,4098,5440,6261,4863,2379,3306,4585,5552,5689,4586,5285,6735,4864,6736,5286,6082,6737,4623,3010,4788,4381,4558,5621,4587,4896,3698,3161,5248,4353,4045,6262,3754,5183,4588,6738,6263,6739,6740,5622,3936,6741,6468,6742,6264,5095,6469,4991,5968,6743,4992,6744,6083,4897,6745,4256,5766,4307,3108,3968,4444,5287,3889,4343,6084,4510,6085,4559,6086,4898,5969,6746,5623,5061,4919,5249,5250,5504,5441,6265,5320,4878,3242,5862,5251,3428,6087,6747,4237,5624,5442,6266,5553,4539,6748,2585,3533,5398,4262,6088,5150,4736,4438,6089,6267,5505,4966,6749,6268,6750,6269,5288,5554,3650,6090,6091,4624,6092,5690,6751,5863,4270,5691,4277,5555,5864,6752,5692,4720,4865,6470,5151,4688,4825,6753,3094,6754,6471,3235,4653,6755,5213,5399,6756,3201,4589,5865,4967,6472,5866,6473,5019,3016,6757,5321,4756,3957,4573,6093,4993,5767,4721,6474,6758,5625,6759,4458,6475,6270,6760,5556,4994,5214,5252,6271,3875,5768,6094,5034,5506,4376,5769,6761,2120,6476,5253,5770,6762,5771,5970,3990,5971,5557,5558,5772,6477,6095,2787,4641,5972,5121,6096,6097,6272,6763,3703,5867,5507,6273,4206,6274,4789,6098,6764,3619,3646,3833,3804,2394,3788,4936,3978,4866,4899,6099,6100,5559,6478,6765,3599,5868,6101,5869,5870,6275,6766,4527,6767]),p3}var g3={},uo;function rC(){return uo||(uo=1,g3.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,g3.BIG5_TABLE_SIZE=5376,g3.Big5CharToFreqOrder=[1,1801,1506,255,1431,198,9,82,6,5008,177,202,3681,1256,2821,110,3814,33,3274,261,76,44,2114,16,2946,2187,1176,659,3971,26,3451,2653,1198,3972,3350,4202,410,2215,302,590,361,1964,8,204,58,4510,5009,1932,63,5010,5011,317,1614,75,222,159,4203,2417,1480,5012,3555,3091,224,2822,3682,3,10,3973,1471,29,2787,1135,2866,1940,873,130,3275,1123,312,5013,4511,2052,507,252,682,5014,142,1915,124,206,2947,34,3556,3204,64,604,5015,2501,1977,1978,155,1991,645,641,1606,5016,3452,337,72,406,5017,80,630,238,3205,1509,263,939,1092,2654,756,1440,1094,3453,449,69,2987,591,179,2096,471,115,2035,1844,60,50,2988,134,806,1869,734,2036,3454,180,995,1607,156,537,2907,688,5018,319,1305,779,2145,514,2379,298,4512,359,2502,90,2716,1338,663,11,906,1099,2553,20,2441,182,532,1716,5019,732,1376,4204,1311,1420,3206,25,2317,1056,113,399,382,1950,242,3455,2474,529,3276,475,1447,3683,5020,117,21,656,810,1297,2300,2334,3557,5021,126,4205,706,456,150,613,4513,71,1118,2037,4206,145,3092,85,835,486,2115,1246,1426,428,727,1285,1015,800,106,623,303,1281,5022,2128,2359,347,3815,221,3558,3135,5023,1956,1153,4207,83,296,1199,3093,192,624,93,5024,822,1898,2823,3136,795,2065,991,1554,1542,1592,27,43,2867,859,139,1456,860,4514,437,712,3974,164,2397,3137,695,211,3037,2097,195,3975,1608,3559,3560,3684,3976,234,811,2989,2098,3977,2233,1441,3561,1615,2380,668,2077,1638,305,228,1664,4515,467,415,5025,262,2099,1593,239,108,300,200,1033,512,1247,2078,5026,5027,2176,3207,3685,2682,593,845,1062,3277,88,1723,2038,3978,1951,212,266,152,149,468,1899,4208,4516,77,187,5028,3038,37,5,2990,5029,3979,5030,5031,39,2524,4517,2908,3208,2079,55,148,74,4518,545,483,1474,1029,1665,217,1870,1531,3138,1104,2655,4209,24,172,3562,900,3980,3563,3564,4519,32,1408,2824,1312,329,487,2360,2251,2717,784,2683,4,3039,3351,1427,1789,188,109,499,5032,3686,1717,1790,888,1217,3040,4520,5033,3565,5034,3352,1520,3687,3981,196,1034,775,5035,5036,929,1816,249,439,38,5037,1063,5038,794,3982,1435,2301,46,178,3278,2066,5039,2381,5040,214,1709,4521,804,35,707,324,3688,1601,2554,140,459,4210,5041,5042,1365,839,272,978,2262,2580,3456,2129,1363,3689,1423,697,100,3094,48,70,1231,495,3139,2196,5043,1294,5044,2080,462,586,1042,3279,853,256,988,185,2382,3457,1698,434,1084,5045,3458,314,2625,2788,4522,2335,2336,569,2285,637,1817,2525,757,1162,1879,1616,3459,287,1577,2116,768,4523,1671,2868,3566,2526,1321,3816,909,2418,5046,4211,933,3817,4212,2053,2361,1222,4524,765,2419,1322,786,4525,5047,1920,1462,1677,2909,1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213,309,1369,1130,2825,364,2234,1653,1299,3984,3567,3985,3986,2656,525,1085,3041,902,2001,1475,964,4527,421,1845,1415,1057,2286,940,1364,3141,376,4528,4529,1381,7,2527,983,2383,336,1710,2684,1846,321,3461,559,1131,3042,2752,1809,1132,1313,265,1481,1858,5049,352,1203,2826,3280,167,1089,420,2827,776,792,1724,3568,4214,2443,3281,5050,4215,5051,446,229,333,2753,901,3818,1200,1557,4530,2657,1921,395,2754,2685,3819,4216,1836,125,916,3209,2626,4531,5052,5053,3820,5054,5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146,438,2601,2910,2384,3354,1068,958,3043,461,311,2869,2686,4217,1916,3210,4218,1979,383,750,2755,2627,4219,274,539,385,1278,1442,5058,1154,1965,384,561,210,98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257,129,5060,3821,642,523,2789,2790,2658,5061,141,2235,1333,68,176,441,876,907,4220,603,2602,710,171,3464,404,549,18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534,5063,2991,368,5064,146,366,99,871,3693,1543,748,807,1586,1185,22,2263,379,3822,3211,5065,3212,505,1942,2628,1992,1382,2319,5066,380,2362,218,702,1818,1248,3465,3044,3572,3355,3282,5067,2992,3694,930,3283,3823,5068,59,5069,585,601,4221,497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071,749,1837,690,1900,3824,1773,3988,1476,429,1043,1791,2236,2117,917,4222,447,1086,1629,5072,556,5073,5074,2021,1654,844,1090,105,550,966,1758,2828,1008,1783,686,1095,5075,2287,793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825,980,2503,544,353,527,4538,908,2687,2913,5077,381,2629,1943,1348,5078,1341,1252,560,3095,5079,3467,2870,5080,2054,973,886,2081,143,4539,5081,5082,157,3989,496,4224,57,840,540,2039,4540,4541,3468,2118,1445,970,2264,1748,1966,2082,4225,3144,1234,1776,3284,2829,3695,773,1206,2130,1066,2040,1326,3990,1738,1725,4226,279,3145,51,1544,2604,423,1578,2131,2067,173,4542,1880,5083,5084,1583,264,610,3696,4543,2444,280,154,5085,5086,5087,1739,338,1282,3096,693,2871,1411,1074,3826,2445,5088,4544,5089,5090,1240,952,2399,5091,2914,1538,2688,685,1483,4227,2475,1436,953,4228,2055,4545,671,2400,79,4229,2446,3285,608,567,2689,3469,4230,4231,1691,393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672,3827,3213,1464,522,1119,661,1150,216,675,4547,3991,1432,3574,609,4548,2690,2402,5097,5098,5099,4232,3045,0,5100,2476,315,231,2447,301,3356,4549,2385,5101,233,4233,3697,1819,4550,4551,5102,96,1777,1315,2083,5103,257,5104,1810,3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097,363,1655,3214,5106,2993,5107,5108,5109,3992,1567,3993,718,103,3215,849,1443,341,3357,2949,1484,5110,1712,127,67,339,4235,2403,679,1412,821,5111,5112,834,738,351,2994,2147,846,235,1497,1881,418,1993,3828,2719,186,1100,2148,2756,3575,1545,1355,2950,2872,1377,583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363,78,3829,3830,267,1289,2100,2002,1594,4237,348,369,1274,2197,2178,1838,4552,1821,2830,3701,2757,2288,2003,4553,2951,2758,144,3358,882,4554,3995,2759,3470,4555,2915,5114,4238,1726,320,5115,3996,3046,788,2996,5116,2831,1774,1327,2873,3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660,787,2023,506,824,3702,534,323,4557,1044,3359,2024,1901,946,3471,5118,1779,1500,1678,5119,1882,4558,165,243,4559,3703,2528,123,683,4239,764,4560,36,3998,1793,589,2916,816,626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4e3,2874,1370,1228,1933,891,2084,2917,304,4240,5121,292,2997,2720,3577,691,2101,4241,1115,4561,118,662,5122,611,1156,854,2386,1316,2875,2,386,515,2918,5123,5124,3286,868,2238,1486,855,2661,785,2216,3048,5125,1040,3216,3578,5126,3146,448,5127,1525,5128,2165,4562,5129,3833,5130,4242,2833,3579,3147,503,818,4001,3148,1568,814,676,1444,306,1749,5131,3834,1416,1030,197,1428,805,2834,1501,4563,5132,5133,5134,1994,5135,4564,5136,5137,2198,13,2792,3704,2998,3149,1229,1917,5138,3835,2132,5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142,646,3836,2448,307,5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148,519,5149,128,2133,92,2289,1980,5150,4003,1512,342,3150,2199,5151,2793,2218,1981,3360,4244,290,1656,1317,789,827,2365,5152,3837,4566,562,581,4004,5153,401,4567,2252,94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156,828,1105,4245,1262,1394,5157,4246,605,4570,5158,1784,2876,5159,2835,819,2102,578,2200,2952,5160,1502,436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162,5163,2337,2068,23,4571,193,826,3838,2103,699,1630,4248,3098,390,1794,1064,3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573,137,4250,598,3101,1967,780,104,974,2953,5167,278,899,253,402,572,504,493,1339,5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253,565,1334,2722,863,41,5170,5171,4575,5172,1657,2338,19,463,2760,4251,606,5173,2999,3289,1087,2085,1323,2662,3e3,5174,1631,1623,1750,4252,2691,5175,2878,791,2723,2663,2339,232,2421,5176,3001,1498,5177,2664,2630,755,1366,3707,3290,3151,2026,1609,119,1918,3474,862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125,817,4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507,5182,2692,733,40,1632,1106,2879,345,4257,841,2531,230,4578,3002,1847,3292,3475,5183,1263,986,3476,5184,735,879,254,1137,857,622,1300,1180,1388,1562,4010,4011,2954,967,2761,2665,1349,592,2134,1692,3361,3003,1995,4258,1679,4012,1902,2188,5185,739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559,1871,2762,3004,5187,435,5188,343,1108,596,17,1751,4579,2239,3477,3709,5189,4580,294,3582,2955,1693,477,979,281,2042,3583,643,2043,3710,2631,2795,2266,1031,2340,2135,2303,3584,4581,367,1249,2560,5190,3585,5191,4582,1283,3362,2005,240,1762,3363,4583,4584,836,1069,3153,474,5192,2149,2532,268,3586,5193,3219,1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262,961,1673,2632,190,2006,2203,3841,4585,4586,5197,570,2504,3711,1490,5198,4587,2633,3293,1957,4588,584,1514,396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013,619,5202,3154,3294,215,2007,2796,2561,3220,4591,3221,4592,763,4263,3842,4593,5203,5204,1958,1767,2956,3365,3712,1174,452,1477,4594,3366,3155,5205,2838,1253,2387,2189,1091,2290,4264,492,5206,638,1169,1825,2136,1752,4014,648,926,1021,1324,4595,520,4596,997,847,1007,892,4597,3843,2267,1872,3713,2405,1785,4598,1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551,30,2268,4266,5207,2027,4600,3589,5208,501,5209,4267,594,3478,2166,1822,3590,3479,3591,3223,829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602,4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603,374,4017,652,4272,4273,375,1140,798,5216,5217,5218,2366,4604,2269,546,1659,138,3051,2450,4605,5219,2254,612,1849,910,796,3844,1740,1371,825,3845,3846,5220,2920,2562,5221,692,444,3052,2634,801,4606,4274,5222,1491,244,1053,3053,4275,4276,340,5223,4018,1041,3005,293,1168,87,1357,5224,1539,959,5225,2240,721,694,4277,3847,219,1478,644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826,730,1515,184,2840,66,4607,5228,1660,2958,246,3369,378,1457,226,3480,975,4020,2959,1264,3592,674,696,5229,163,5230,1141,2422,2167,713,3593,3370,4608,4021,5231,5232,1186,15,5233,1079,1070,5234,1522,3224,3594,276,1050,2725,758,1126,653,2960,3296,5235,2342,889,3595,4022,3104,3007,903,1250,4609,4023,3481,3596,1342,1681,1718,766,3297,286,89,2961,3715,5236,1713,5237,2607,3371,3008,5238,2962,2219,3225,2880,5239,4610,2505,2533,181,387,1075,4024,731,2190,3372,5240,3298,310,313,3482,2304,770,4278,54,3054,189,4611,3105,3848,4025,5241,1230,1617,1850,355,3597,4279,4612,3373,111,4280,3716,1350,3160,3483,3055,4281,2150,3299,3598,5242,2797,4026,4027,3009,722,2009,5243,1071,247,1207,2343,2478,1378,4613,2010,864,1437,1214,4614,373,3849,1142,2220,667,4615,442,2763,2563,3850,4028,1969,4282,3300,1840,837,170,1107,934,1336,1883,5244,5245,2119,4283,2841,743,1569,5246,4616,4284,582,2389,1418,3484,5247,1803,5248,357,1395,1729,3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250,482,2451,4618,5251,5252,1492,833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718,4286,1686,1795,416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881,4619,1610,1584,3056,2424,2764,443,3302,1163,3161,5257,5258,4029,5259,4287,2506,3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289,431,3485,5261,250,97,81,4290,5262,1648,1851,1558,160,848,5263,866,740,1694,5264,2204,2843,3226,4291,4621,3719,1687,950,2479,426,469,3227,3720,3721,4031,5265,5266,1188,424,1996,861,3601,4292,3854,2205,2694,168,1235,3602,4293,5267,2087,1674,4622,3374,3303,220,2565,1009,5268,3855,670,3010,332,1208,717,5269,5270,3603,2452,4032,3375,5271,513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534,3722,3604,815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035,1741,4036,3857,4037,5278,236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625,5281,308,5282,4626,245,4627,1852,2480,1307,2583,430,715,2137,2454,5283,270,199,2883,4038,5284,3606,2727,1753,761,1754,725,1661,1841,4628,3487,3724,5285,5286,587,14,3305,227,2608,326,480,2270,943,2765,3607,291,650,1884,5287,1702,1226,102,1547,62,3488,904,4629,3489,1164,4294,5288,5289,1224,1548,2766,391,498,1493,5290,1386,1419,5291,2056,1177,4630,813,880,1081,2368,566,1145,4631,2291,1001,1035,2566,2609,2242,394,1286,5292,5293,2069,5294,86,1494,1730,4039,491,1588,745,897,2963,843,3377,4040,2767,2884,3306,1768,998,2221,2070,397,1827,1195,1970,3725,3011,3378,284,5295,3861,2507,2138,2120,1904,5296,4041,2151,4042,4295,1036,3490,1905,114,2567,4296,209,1527,5297,5298,2964,2844,2635,2390,2728,3164,812,2568,5299,3307,5300,1559,737,1885,3726,1210,885,28,2695,3608,3862,5301,4297,1004,1780,4632,5302,346,1982,2222,2696,4633,3863,1742,797,1642,4043,1934,1072,1384,2152,896,4044,3308,3727,3228,2885,3609,5303,2569,1959,4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528,2610,161,1178,4300,1983,987,4637,1101,4301,631,4046,1157,3229,2425,1343,1241,1016,2243,2570,372,877,2344,2508,1160,555,1935,911,4047,5307,466,1170,169,1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308,992,2345,3491,1540,2730,1201,2071,2406,1997,2482,5309,4638,528,1923,2191,1503,1874,1570,2369,3379,3309,5310,557,1073,5311,1828,3492,2088,2271,3165,3059,3107,767,3108,2799,4639,1006,4302,4640,2346,1267,2179,3730,3230,778,4048,3231,2731,1597,2667,5312,4641,5313,3493,5314,5315,5316,3310,2698,1433,3311,131,95,1504,4049,723,4303,3166,1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052,4304,2584,248,1634,3864,912,5319,2845,3732,3060,3865,654,53,5320,3014,5321,1688,4642,777,3494,1032,4053,1425,5322,191,820,2121,2846,971,4643,931,3233,135,664,783,3866,1998,772,2922,1936,4054,3867,4644,2923,3234,282,2732,640,1372,3495,1127,922,325,3381,5323,5324,711,2045,5325,5326,4055,2223,2800,1937,4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058,4059,5328,2225,258,3236,4646,101,1227,5329,3313,1755,5330,1391,3314,5331,2924,2057,893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338,878,1325,1781,2801,4647,259,1385,2585,744,1183,2272,4648,5339,4060,2509,5340,684,1024,4306,5341,472,3612,3496,1165,3315,4061,4062,322,2153,881,455,1695,1152,1340,660,554,2154,4649,1058,4650,4307,830,1065,3383,4063,4651,1924,5342,1703,1919,5343,932,2273,122,5344,4652,947,677,5345,3870,2637,297,1906,1925,2274,4653,2322,3316,5346,5347,4308,5348,4309,84,4310,112,989,5349,547,1059,4064,701,3613,1019,5350,4311,5351,3497,942,639,457,2306,2456,993,2966,407,851,494,4654,3384,927,5352,1237,5353,2426,3385,573,4312,680,921,2925,1279,1875,285,790,1448,1984,719,2168,5354,5355,4655,4065,4066,1649,5356,1541,563,5357,1077,5358,3386,3061,3498,511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657,5359,535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313,1238,2586,3109,1259,5361,700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907,4658,2611,4070,781,2427,132,1589,203,147,273,2802,2407,898,1787,2155,4071,4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872,965,5369,1805,2699,1516,3614,1121,1082,1329,3317,4073,1449,3873,65,1128,2848,2927,2769,1590,3874,5370,5371,12,2668,45,976,2587,3169,4661,517,2535,1013,1037,3240,5372,3875,2849,5373,3876,5374,3499,5375,2612,614,1999,2323,3877,3110,2733,2638,5376,2588,4316,599,1269,5377,1811,3735,5378,2700,3111,759,1060,489,1806,3388,3318,1358,5379,5380,2391,1387,1215,2639,2256,490,5381,5382,4317,1759,2392,2348,5383,4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349,874,5384,5385,3501,3736,1859,91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403,3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076,2370,4667,5390,2030,5391,5392,4077,2702,1216,237,2589,4318,2324,4078,3881,4668,4669,2703,3615,3504,445,4670,5393,5394,5395,5396,2771,61,4079,3738,1823,4080,5397,687,2046,935,925,405,2670,703,1096,1860,2734,4671,4081,1877,1367,2704,3389,918,2106,1782,2483,334,3320,1611,1093,4672,564,3171,3505,3739,3390,945,2641,2058,4673,5398,1926,872,4319,5399,3506,2705,3112,349,4320,3740,4082,4674,3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047,782,4084,400,251,4323,1624,5400,5401,277,3742,299,1265,476,1191,3883,2122,4324,4325,1109,205,5402,2590,1e3,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573,107,2484,2158,4085,3507,3172,5407,1533,541,1301,158,753,4326,2886,3617,5408,1696,370,1088,4327,4680,3618,579,327,440,162,2244,269,1938,1374,3508,968,3063,56,1396,3113,2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413,2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088,5418,1076,49,5419,951,3242,3322,3323,450,2850,920,5420,1812,2805,2371,4328,1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686,2393,2614,260,1796,3244,5423,5424,3887,3324,708,5425,3620,1704,5426,3621,1351,1618,3394,3017,1887,944,4329,3395,4330,3064,3396,4331,5427,3744,422,413,1714,3325,500,2059,2350,4332,2486,5428,1344,1911,954,5429,1668,5430,5431,4089,2409,4333,3622,3888,4334,5432,2307,1318,2512,3114,133,3115,2887,4687,629,31,2851,2706,3889,4688,850,949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091,620,3245,981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434,3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439,869,2852,655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733,558,4692,3747,335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192,470,2735,2108,2806,913,1054,4093,5443,1027,5444,3066,4094,4693,982,2672,3399,3173,3512,3247,3248,1947,2807,5445,571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090,984,4695,3749,1960,5449,3750,852,923,2808,3513,3751,969,1519,999,2049,2325,1705,5450,3118,615,1662,151,597,4095,2410,2326,1049,275,4696,3752,4337,568,3753,3626,2487,4338,3754,5451,2430,2275,409,3249,5452,1566,2888,3514,1002,769,2853,194,2091,3174,3755,2226,3327,4339,628,1505,5453,5454,1763,2180,3019,4096,521,1161,2592,1788,2206,2411,4697,4097,1625,4340,4341,412,42,3119,464,5455,2642,4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328,1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092,460,5461,4701,5462,3020,962,588,3629,289,3250,2644,1116,52,5463,3067,1797,5464,5465,5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402,465,4703,1572,510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472,5473,536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809,5477,3329,1122,377,3251,5478,360,5479,5480,4343,1529,551,5481,2060,3759,1769,2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404,136,1468,1479,672,1171,3252,2308,271,3176,5483,2772,5484,2050,678,2736,865,1948,4707,5485,2014,4098,2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895,509,2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010,552,681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179,358,453,736,175,478,1117,905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632,4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932,3069,2182,3521,595,2123,5496,4100,5497,5498,4349,1707,2646,223,3762,1359,751,3121,183,3522,5499,2810,3021,419,2374,633,704,3897,2394,241,5500,5501,5502,838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136,2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615,484,3764,5506,4102,625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509,2774,808,2616,3765,3406,4105,4355,3123,2539,526,3407,3900,4356,955,5510,1620,4357,2647,2432,5511,1429,3766,1669,1832,994,928,5512,3633,1260,5513,5514,5515,1949,2293,741,2933,1626,4358,2738,2460,867,1184,362,3408,1392,5516,5517,4106,4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292,1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490,3332,5520,3769,4715,5521,5522,666,1003,3023,1022,3634,4361,5523,4716,1814,2257,574,3901,1603,295,1535,705,3902,4362,283,858,417,5524,5525,3255,4717,4718,3071,1220,1890,1046,2281,2461,4107,1393,1599,689,2575,388,4363,5526,2491,802,5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529,809,5530,5531,5532,575,2739,3524,956,1552,1469,1144,2328,5533,2329,1560,2462,3635,3257,4108,616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770,3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905,607,2311,3906,762,2892,1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723,2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451,5545,5546,5547,5548,2936,4109,4110,2492,2351,411,4111,4112,3637,3333,3124,4725,1561,2674,1452,4113,1375,5549,5550,47,2974,316,5551,1406,1591,2937,3181,5552,1025,2142,3125,3182,354,2740,884,2228,4369,2412,508,3772,726,3638,996,2433,3639,729,5553,392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813,919,2352,2975,2353,1270,4727,4115,73,5556,5557,647,5558,3259,2856,2259,1550,1346,3024,5559,1332,883,3526,5560,5561,5562,5563,3334,2775,5564,1212,831,1347,4370,4728,2331,3909,1864,3073,720,3910,4729,4730,3911,5565,4371,5566,5567,4731,5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938,669,2211,2675,2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735,3183,518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912,516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976,1422,577,1470,3026,1524,3410,5585,5586,432,4376,3074,3527,5587,2594,1455,2515,2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529,2649,4119,4377,4738,2295,895,924,4378,2171,331,2247,3076,166,1627,3077,1098,5591,1232,2894,2231,3411,4739,657,403,1196,2377,542,3775,3412,1600,4379,3530,5592,4740,2777,3261,576,530,1362,4741,4742,2540,2676,3776,4120,5593,842,3913,5594,2814,2032,1014,4121,213,2709,3413,665,621,4380,5595,3777,2939,2435,5596,2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597,724,2282,600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600,651,4384,5601,1612,4385,2621,5602,2857,5603,2743,2312,3078,5604,716,2464,3079,174,1255,2710,4122,3645,548,1320,1398,728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082,3778,3646,3779,747,5607,635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613,3415,4749,2437,451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616,4390,350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127,488,4752,458,4392,4128,3781,771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494,2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016,2745,5622,1155,1017,3782,3915,5623,3336,2313,201,1865,4397,1430,5624,4129,5625,5626,5627,5628,5629,4398,1604,5630,414,1866,371,2595,4754,4755,3532,2017,3127,4756,1708,960,4399,887,389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580,5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896,4400,5637,4401,2650,3418,2815,673,2712,2465,709,3533,4131,3648,4402,5638,1148,502,634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128,948,3263,121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133,1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816,531,2746,2545,3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018,120,4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713,1266,5650,1368,4766,2858,649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2e3,5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415,2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460,856,5659,3655,5660,2899,2978,5661,2900,3922,5662,4408,632,2517,875,3923,1697,3924,2296,5663,5664,4767,3028,1239,580,4768,4409,5665,914,936,2075,1190,4136,1039,2124,5666,5667,5668,5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137,915,3338,4411,4412,3339,1605,1835,5671,2748,398,3656,4413,3926,4138,328,1913,2860,4139,3927,1331,4414,3029,937,4415,5672,3657,4140,4141,3424,2161,4770,3425,524,742,538,3085,1012,5673,5674,3928,2466,5675,658,1103,225,3929,5676,5677,4771,5678,4772,5679,3267,1243,5680,4142,963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774,5685,5686,5687,3536,957,3426,2547,2033,1931,2941,2467,870,2019,3659,1746,2780,2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691,3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297,977,2901,2034,4144,1205,3429,5693,1765,3430,3189,2125,1271,714,1689,4775,3538,5694,2333,3931,533,4417,3660,2184,617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699,3932,1988,618,427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703,3541,4777,5704,2284,1576,473,3661,4419,3432,972,5705,3662,5706,3087,5707,5708,4778,4779,5709,3793,4145,4146,5710,153,4780,356,5711,1892,2902,4420,2144,408,803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715,2416,3433,752,5716,5717,1962,3341,2979,5718,746,3030,2470,4783,4423,3794,698,4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715,3937,1974,4425,5721,4426,3192,823,1303,1288,1236,2861,3542,4148,3435,774,3938,5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428,344,1173,288,2316,454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789,985,894,5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194,425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736,636,4791,1856,3940,760,1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213,479,5740,5741,832,5742,4153,2496,5743,2980,2497,3797,990,3132,627,1815,2652,4433,1582,4434,2126,2112,3543,4794,5744,799,4435,3195,5745,4795,2113,1737,3031,1018,543,754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903,4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270,1843,3665,1715,481,365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271,433,1895,2064,2076,5758,602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764,3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769,4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775,5776,1896,5777,5778,4808,1897,4158,318,5779,2095,4159,4437,5780,5781,485,5782,938,3941,553,2680,116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785,3668,2943,4160,1747,2944,2983,5786,5787,207,5788,4809,5789,4810,2521,5790,3033,890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795,941,2299,208,3546,4161,2020,330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798,2522,1613,4812,5799,3345,3945,2523,5800,4162,5801,1637,4163,2471,4813,3946,5802,2500,3034,3800,5803,5804,2195,4814,5805,2163,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6138,6139,6140,6141,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,3670,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,4815,6286,6287,6288,6289,6290,6291,6292,4816,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,4817,4818,6312,6313,6314,6315,6316,6317,6318,4819,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,4820,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,3441,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,4440,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,4821,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,3947,3948,6478,6479,6480,6481,3272,4441,6482,6483,6484,6485,4442,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,4822,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,2784,6557,4823,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,3949,6570,6571,6572,4824,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,4825,6584,6585,6586,3950,2785,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,4826,6613,6614,6615,4827,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,4164,6626,6627,6628,6629,6630,6631,6632,6633,6634,3547,6635,4828,6636,6637,6638,6639,6640,6641,6642,3951,2984,6643,6644,6645,6646,6647,6648,6649,4165,6650,4829,6651,6652,4830,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,4831,6663,6664,6665,6666,6667,6668,6669,6670,6671,4166,6672,4832,3952,6673,6674,6675,6676,4833,6677,6678,6679,4167,6680,6681,6682,3198,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,4834,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,4443,6735,6736,6737,6738,6739,6740,6741,6742,6743,6744,6745,4444,6746,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6781,4168,6782,6783,3442,6784,6785,6786,6787,6788,6789,6790,6791,4169,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6810,6811,4835,6812,6813,6814,4445,6815,6816,4446,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,3548,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,4836,6847,6848,6849,6850,6851,6852,6853,6854,3953,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,3199,6878,6879,6880,6881,6882,4447,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,4170,6905,6906,6907,6908,6909,6910,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,4837,6928,6929,6930,6931,6932,6933,6934,6935,6936,3346,6937,6938,4838,6939,6940,6941,4448,6942,6943,6944,6945,6946,4449,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,6989,6990,6991,6992,6993,6994,3671,6995,6996,6997,6998,4839,6999,7e3,7001,7002,3549,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,4840,7031,7032,7033,7034,7035,7036,7037,7038,4841,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,2985,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,4842,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,4450,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4843,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,4171,4172,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,4844,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,7314,7315,7316,4451,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,4173,7354,7355,4845,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,4846,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,3672,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,4452,7454,3200,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,4847,7475,7476,7477,3133,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,3347,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,4848,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,3801,4849,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,3035,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,4850,7617,7618,3802,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,4851,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,4453,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,3443,7698,7699,7700,7701,7702,4454,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,2472,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,3954,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,3134,7751,7752,4852,7753,7754,7755,4853,7756,7757,7758,7759,7760,4174,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,4854,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,4855,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,3955,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,3444,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,4175,7892,7893,7894,7895,7896,4856,4857,7897,7898,7899,7900,2598,7901,7902,7903,7904,7905,7906,7907,7908,4455,7909,7910,7911,7912,7913,7914,3201,7915,7916,7917,7918,7919,7920,7921,4858,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,4859,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,4860,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,4176,8017,8018,8019,8020,8021,8022,8023,4861,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,4862,4456,8037,8038,8039,8040,4863,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,4864,4177,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,4178,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,4865,4866,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,4179,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,4457,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,3445,8257,8258,8259,8260,8261,8262,4458,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,4459,8273,8274,8275,8276,3550,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,4460,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,4867,8308,8309,8310,8311,8312,3551,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,4868,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,4869,4461,8364,8365,8366,8367,8368,8369,8370,4870,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,4871,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,4462,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,2986,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,4180,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,4872,8565,8566,8567,8568,8569,8570,8571,8572,8573,4873,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,3803,8606,8607,8608,8609,8610,8611,8612,8613,4874,3804,8614,8615,8616,8617,8618,8619,8620,8621,3956,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,2865,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,4463,8657,8658,8659,4875,4876,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,4464,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,2261,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,4181,8734,8735,8736,8737,8738,8739,8740,8741,8742,8743,8744,8745,8746,8747,8748,8749,8750,8751,8752,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,4877,8764,8765,8766,8767,8768,8769,8770,8771,8772,8773,8774,8775,8776,8777,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,4878,8789,4879,8790,8791,8792,4880,8793,8794,8795,8796,8797,8798,8799,8800,8801,4881,8802,8803,8804,8805,8806,8807,8808,8809,8810,8811,8812,8813,8814,8815,3957,8816,8817,8818,8819,8820,8821,8822,8823,8824,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8836,8837,8838,8839,8840,8841,8842,8843,8844,8845,8846,8847,4882,8848,8849,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8881,8882,8883,8884,3202,8885,8886,8887,8888,8889,8890,8891,8892,8893,8894,8895,8896,8897,8898,8899,8900,8901,8902,8903,8904,8905,8906,8907,8908,8909,8910,8911,8912,8913,8914,8915,8916,8917,8918,8919,8920,8921,8922,8923,8924,4465,8925,8926,8927,8928,8929,8930,8931,8932,4883,8933,8934,8935,8936,8937,8938,8939,8940,8941,8942,8943,2214,8944,8945,8946,8947,8948,8949,8950,8951,8952,8953,8954,8955,8956,8957,8958,8959,8960,8961,8962,8963,8964,8965,4884,8966,8967,8968,8969,8970,8971,8972,8973,8974,8975,8976,8977,8978,8979,8980,8981,8982,8983,8984,8985,8986,8987,8988,8989,8990,8991,8992,4885,8993,8994,8995,8996,8997,8998,8999,9e3,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,4182,9022,9023,9024,9025,9026,9027,9028,9029,9030,9031,9032,9033,9034,9035,9036,9037,9038,9039,9040,9041,9042,9043,9044,9045,9046,9047,9048,9049,9050,9051,9052,9053,9054,9055,9056,9057,9058,9059,9060,9061,9062,9063,4886,9064,9065,9066,9067,9068,9069,4887,9070,9071,9072,9073,9074,9075,9076,9077,9078,9079,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,9107,9108,9109,9110,9111,9112,9113,9114,9115,9116,9117,9118,9119,9120,9121,9122,9123,9124,9125,9126,9127,9128,9129,9130,9131,9132,9133,9134,9135,9136,9137,9138,9139,9140,9141,3958,9142,9143,9144,9145,9146,9147,9148,9149,9150,9151,4888,9152,9153,9154,9155,9156,9157,9158,9159,9160,9161,9162,9163,9164,9165,9166,9167,9168,9169,9170,9171,9172,9173,9174,9175,4889,9176,9177,9178,9179,9180,9181,9182,9183,9184,9185,9186,9187,9188,9189,9190,9191,9192,9193,9194,9195,9196,9197,9198,9199,9200,9201,9202,9203,4890,9204,9205,9206,9207,9208,9209,9210,9211,9212,9213,9214,9215,9216,9217,9218,9219,9220,9221,9222,4466,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,4891,9246,9247,9248,9249,9250,9251,9252,9253,9254,9255,9256,9257,4892,9258,9259,9260,9261,4893,4894,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,4467,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,3673,9286,9287,9288,9289,9290,9291,9292,9293,9294,9295,9296,9297,9298,9299,9300,9301,9302,9303,9304,9305,9306,9307,9308,9309,9310,9311,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,4895,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,4468,9348,9349,9350,9351,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9372,9373,4896,9374,4469,9375,9376,9377,9378,9379,4897,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9398,9399,9400,9401,9402,9403,9404,9405,9406,4470,9407,2751,9408,9409,3674,3552,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,4898,9422,9423,9424,9425,9426,9427,9428,9429,3959,9430,9431,9432,9433,9434,9435,9436,4471,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9450,3348,9451,9452,9453,9454,9455,9456,9457,9458,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,9472,4899,9473,9474,9475,9476,9477,4900,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,3349,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,4901,9521,9522,9523,9524,9525,9526,4902,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,9548,9549,9550,9551,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,3805,9585,9586,9587,9588,9589,9590,9591,9592,9593,9594,9595,9596,9597,9598,9599,9600,9601,9602,4903,9603,9604,9605,9606,9607,4904,9608,9609,9610,9611,9612,9613,9614,4905,9615,9616,9617,9618,9619,9620,9621,9622,9623,9624,9625,9626,9627,9628,9629,9630,9631,9632,4906,9633,9634,9635,9636,9637,9638,9639,9640,9641,9642,9643,4907,9644,9645,9646,9647,9648,9649,9650,9651,9652,9653,9654,9655,9656,9657,9658,9659,9660,9661,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,4183,9673,9674,9675,9676,9677,4908,9678,9679,9680,9681,4909,9682,9683,9684,9685,9686,9687,9688,9689,9690,4910,9691,9692,9693,3675,9694,9695,9696,2945,9697,9698,9699,9700,9701,9702,9703,9704,9705,4911,9706,9707,9708,9709,9710,9711,9712,9713,9714,9715,9716,9717,9718,9719,9720,9721,9722,9723,9724,9725,9726,9727,9728,9729,9730,9731,9732,9733,9734,9735,4912,9736,9737,9738,9739,9740,4913,9741,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,4914,9759,9760,9761,9762,9763,9764,9765,9766,9767,9768,9769,9770,9771,9772,9773,9774,9775,9776,9777,9778,9779,9780,9781,9782,4915,9783,9784,9785,9786,9787,9788,9789,9790,9791,9792,9793,4916,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,9836,9837,9838,9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9866,9867,9868,4917,9869,9870,9871,9872,9873,9874,9875,9876,9877,9878,9879,9880,9881,9882,9883,9884,9885,9886,9887,9888,9889,9890,9891,9892,4472,9893,9894,9895,9896,9897,3806,9898,9899,9900,9901,9902,9903,9904,9905,9906,9907,9908,9909,9910,9911,9912,9913,9914,4918,9915,9916,9917,4919,9918,9919,9920,9921,4184,9922,9923,9924,9925,9926,9927,9928,9929,9930,9931,9932,9933,9934,9935,9936,9937,9938,9939,9940,9941,9942,9943,9944,9945,9946,4920,9947,9948,9949,9950,9951,9952,9953,9954,9955,4185,9956,9957,9958,9959,9960,9961,9962,9963,9964,9965,4921,9966,9967,9968,4473,9969,9970,9971,9972,9973,9974,9975,9976,9977,4474,9978,9979,9980,9981,9982,9983,9984,9985,9986,9987,9988,9989,9990,9991,9992,9993,9994,9995,9996,9997,9998,9999,1e4,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,4922,10022,4923,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,4924,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,4475,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,4476,10098,10099,10100,10101,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,2174,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,10132,10133,10134,10135,10136,10137,10138,10139,10140,3807,4186,4925,10141,10142,10143,10144,10145,10146,10147,4477,4187,10148,10149,10150,10151,10152,10153,4188,10154,10155,10156,10157,10158,10159,10160,10161,4926,10162,10163,10164,10165,10166,10167,10168,10169,10170,10171,10172,10173,10174,10175,10176,10177,10178,10179,10180,10181,10182,10183,10184,10185,10186,10187,10188,10189,10190,10191,10192,3203,10193,10194,10195,10196,10197,10198,10199,10200,4478,10201,10202,10203,10204,4479,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,4927,10235,10236,10237,10238,10239,10240,10241,10242,10243,10244,10245,10246,10247,10248,10249,10250,10251,10252,10253,10254,10255,10256,10257,10258,10259,10260,10261,10262,10263,10264,10265,10266,10267,10268,10269,10270,10271,10272,10273,4480,4928,4929,10274,10275,10276,10277,10278,10279,10280,10281,10282,10283,10284,10285,10286,10287,10288,10289,10290,10291,10292,10293,10294,10295,10296,10297,10298,10299,10300,10301,10302,10303,10304,10305,10306,10307,10308,10309,10310,10311,10312,10313,10314,10315,10316,10317,10318,10319,10320,10321,10322,10323,10324,10325,10326,10327,10328,10329,10330,10331,10332,10333,10334,4930,10335,10336,10337,10338,10339,10340,10341,10342,4931,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,10354,10355,3088,10356,2786,10357,10358,10359,10360,4189,10361,10362,10363,10364,10365,10366,10367,10368,10369,10370,10371,10372,10373,10374,10375,4932,10376,10377,10378,10379,10380,10381,10382,10383,10384,10385,10386,10387,10388,10389,10390,10391,10392,4933,10393,10394,10395,4934,10396,10397,10398,10399,10400,10401,10402,10403,10404,10405,10406,10407,10408,10409,10410,10411,10412,3446,10413,10414,10415,10416,10417,10418,10419,10420,10421,10422,10423,4935,10424,10425,10426,10427,10428,10429,10430,4936,10431,10432,10433,10434,10435,10436,10437,10438,10439,10440,10441,10442,10443,4937,10444,10445,10446,10447,4481,10448,10449,10450,10451,10452,10453,10454,10455,10456,10457,10458,10459,10460,10461,10462,10463,10464,10465,10466,10467,10468,10469,10470,10471,10472,10473,10474,10475,10476,10477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10505,4938,10506,10507,10508,10509,10510,2552,10511,10512,10513,10514,10515,10516,3447,10517,10518,10519,10520,10521,10522,10523,10524,10525,10526,10527,10528,10529,10530,10531,10532,10533,10534,10535,10536,10537,10538,10539,10540,10541,10542,10543,4482,10544,4939,10545,10546,10547,10548,10549,10550,10551,10552,10553,10554,10555,10556,10557,10558,10559,10560,10561,10562,10563,10564,10565,10566,10567,3676,4483,10568,10569,10570,10571,10572,3448,10573,10574,10575,10576,10577,10578,10579,10580,10581,10582,10583,10584,10585,10586,10587,10588,10589,10590,10591,10592,10593,10594,10595,10596,10597,10598,10599,10600,10601,10602,10603,10604,10605,10606,10607,10608,10609,10610,10611,10612,10613,10614,10615,10616,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,4484,10628,10629,10630,10631,10632,4940,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10650,10651,10652,10653,10654,10655,10656,4941,10657,10658,10659,2599,10660,10661,10662,10663,10664,10665,10666,3089,10667,10668,10669,10670,10671,10672,10673,10674,10675,10676,10677,10678,10679,10680,4942,10681,10682,10683,10684,10685,10686,10687,10688,10689,10690,10691,10692,10693,10694,10695,10696,10697,4485,10698,10699,10700,10701,10702,10703,10704,4943,10705,3677,10706,10707,10708,10709,10710,10711,10712,4944,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10728,4945,10729,10730,10731,10732,10733,10734,10735,10736,10737,10738,10739,10740,10741,10742,10743,10744,10745,10746,10747,10748,10749,10750,10751,10752,10753,10754,10755,10756,10757,10758,10759,10760,10761,4946,10762,10763,10764,10765,10766,10767,4947,4948,10768,10769,10770,10771,10772,10773,10774,10775,10776,10777,10778,10779,10780,10781,10782,10783,10784,10785,10786,10787,10788,10789,10790,10791,10792,10793,10794,10795,10796,10797,10798,10799,10800,10801,10802,10803,10804,10805,10806,10807,10808,10809,10810,10811,10812,10813,10814,10815,10816,10817,10818,10819,10820,10821,10822,10823,10824,10825,10826,10827,10828,10829,10830,10831,10832,10833,10834,10835,10836,10837,10838,10839,10840,10841,10842,10843,10844,10845,10846,10847,10848,10849,10850,10851,10852,10853,10854,10855,10856,10857,10858,10859,10860,10861,10862,10863,10864,10865,10866,10867,10868,10869,10870,10871,10872,10873,10874,10875,10876,10877,10878,4486,10879,10880,10881,10882,10883,10884,10885,4949,10886,10887,10888,10889,10890,10891,10892,10893,10894,10895,10896,10897,10898,10899,10900,10901,10902,10903,10904,10905,10906,10907,10908,10909,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,4487,10920,10921,10922,10923,10924,10925,10926,10927,10928,10929,10930,10931,10932,4950,10933,10934,10935,10936,10937,10938,10939,10940,10941,10942,10943,10944,10945,10946,10947,10948,10949,4488,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,4190,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10972,10973,10974,10975,10976,10977,10978,10979,10980,10981,10982,10983,10984,10985,10986,10987,10988,10989,10990,10991,10992,10993,10994,10995,10996,10997,10998,10999,11e3,11001,11002,11003,11004,11005,11006,3960,11007,11008,11009,11010,11011,11012,11013,11014,11015,11016,11017,11018,11019,11020,11021,11022,11023,11024,11025,11026,11027,11028,11029,11030,11031,11032,4951,11033,11034,11035,11036,11037,11038,11039,11040,11041,11042,11043,11044,11045,11046,11047,4489,11048,11049,11050,11051,4952,11052,11053,11054,11055,11056,11057,11058,4953,11059,11060,11061,11062,11063,11064,11065,11066,11067,11068,11069,11070,11071,4954,11072,11073,11074,11075,11076,11077,11078,11079,11080,11081,11082,11083,11084,11085,11086,11087,11088,11089,11090,11091,11092,11093,11094,11095,11096,11097,11098,11099,11100,11101,11102,11103,11104,11105,11106,11107,11108,11109,11110,11111,11112,11113,11114,11115,3808,11116,11117,11118,11119,11120,11121,11122,11123,11124,11125,11126,11127,11128,11129,11130,11131,11132,11133,11134,4955,11135,11136,11137,11138,11139,11140,11141,11142,11143,11144,11145,11146,11147,11148,11149,11150,11151,11152,11153,11154,11155,11156,11157,11158,11159,11160,11161,4956,11162,11163,11164,11165,11166,11167,11168,11169,11170,11171,11172,11173,11174,11175,11176,11177,11178,11179,11180,4957,11181,11182,11183,11184,11185,11186,4958,11187,11188,11189,11190,11191,11192,11193,11194,11195,11196,11197,11198,11199,11200,3678,11201,11202,11203,11204,11205,11206,4191,11207,11208,11209,11210,11211,11212,11213,11214,11215,11216,11217,11218,11219,11220,11221,11222,11223,11224,11225,11226,11227,11228,11229,11230,11231,11232,11233,11234,11235,11236,11237,11238,11239,11240,11241,11242,11243,11244,11245,11246,11247,11248,11249,11250,11251,4959,11252,11253,11254,11255,11256,11257,11258,11259,11260,11261,11262,11263,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11311,11312,11313,11314,3679,11315,11316,11317,11318,4490,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,4960,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11359,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,3961,4961,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,4192,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,4962,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,4963,11470,11471,4491,11472,11473,11474,11475,4964,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,4965,11493,11494,11495,11496,11497,11498,11499,11500,11501,11502,11503,11504,11505,11506,11507,11508,11509,11510,11511,11512,11513,11514,11515,11516,11517,11518,11519,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,3962,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11558,11559,11560,11561,11562,11563,11564,4193,4194,11565,11566,11567,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,4966,4195,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,3090,11605,11606,11607,11608,11609,11610,4967,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11624,11625,11626,11627,11628,11629,11630,11631,11632,11633,11634,11635,11636,11637,11638,11639,11640,11641,11642,11643,11644,11645,11646,11647,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11671,11672,11673,11674,4968,11675,11676,11677,11678,11679,11680,11681,11682,11683,11684,11685,11686,11687,11688,11689,11690,11691,11692,11693,3809,11694,11695,11696,11697,11698,11699,11700,11701,11702,11703,11704,11705,11706,11707,11708,11709,11710,11711,11712,11713,11714,11715,11716,11717,11718,3553,11719,11720,11721,11722,11723,11724,11725,11726,11727,11728,11729,11730,4969,11731,11732,11733,11734,11735,11736,11737,11738,11739,11740,4492,11741,11742,11743,11744,11745,11746,11747,11748,11749,11750,11751,11752,4970,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,11776,11777,11778,11779,11780,11781,11782,11783,11784,11785,11786,11787,11788,11789,11790,4971,11791,11792,11793,11794,11795,11796,11797,4972,11798,11799,11800,11801,11802,11803,11804,11805,11806,11807,11808,11809,11810,4973,11811,11812,11813,11814,11815,11816,11817,11818,11819,11820,11821,11822,11823,11824,11825,11826,11827,11828,11829,11830,11831,11832,11833,11834,3680,3810,11835,11836,4974,11837,11838,11839,11840,11841,11842,11843,11844,11845,11846,11847,11848,11849,11850,11851,11852,11853,11854,11855,11856,11857,11858,11859,11860,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,4493,11885,11886,11887,11888,11889,11890,11891,11892,11893,11894,11895,11896,11897,11898,11899,11900,11901,11902,11903,11904,11905,11906,11907,11908,11909,11910,11911,11912,11913,11914,11915,4975,11916,11917,11918,11919,11920,11921,11922,11923,11924,11925,11926,11927,11928,11929,11930,11931,11932,11933,11934,11935,11936,11937,11938,11939,11940,11941,11942,11943,11944,11945,11946,11947,11948,11949,4976,11950,11951,11952,11953,11954,11955,11956,11957,11958,11959,11960,11961,11962,11963,11964,11965,11966,11967,11968,11969,11970,11971,11972,11973,11974,11975,11976,11977,11978,11979,11980,11981,11982,11983,11984,11985,11986,11987,4196,11988,11989,11990,11991,11992,4977,11993,11994,11995,11996,11997,11998,11999,12e3,12001,12002,12003,12004,12005,12006,12007,12008,12009,12010,12011,12012,12013,12014,12015,12016,12017,12018,12019,12020,12021,12022,12023,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12035,12036,12037,12038,12039,12040,12041,12042,12043,12044,12045,12046,12047,12048,12049,12050,12051,12052,12053,12054,12055,12056,12057,12058,12059,12060,12061,4978,12062,12063,12064,12065,12066,12067,12068,12069,12070,12071,12072,12073,12074,12075,12076,12077,12078,12079,12080,12081,12082,12083,12084,12085,12086,12087,12088,12089,12090,12091,12092,12093,12094,12095,12096,12097,12098,12099,12100,12101,12102,12103,12104,12105,12106,12107,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,12119,12120,12121,12122,12123,4979,12124,12125,12126,12127,12128,4197,12129,12130,12131,12132,12133,12134,12135,12136,12137,12138,12139,12140,12141,12142,12143,12144,12145,12146,12147,12148,12149,12150,12151,12152,12153,12154,4980,12155,12156,12157,12158,12159,12160,4494,12161,12162,12163,12164,3811,12165,12166,12167,12168,12169,4495,12170,12171,4496,12172,12173,12174,12175,12176,3812,12177,12178,12179,12180,12181,12182,12183,12184,12185,12186,12187,12188,12189,12190,12191,12192,12193,12194,12195,12196,12197,12198,12199,12200,12201,12202,12203,12204,12205,12206,12207,12208,12209,12210,12211,12212,12213,12214,12215,12216,12217,12218,12219,12220,12221,4981,12222,12223,12224,12225,12226,12227,12228,12229,12230,12231,12232,12233,12234,12235,4982,12236,12237,12238,12239,12240,12241,12242,12243,12244,12245,4983,12246,12247,12248,12249,4984,12250,12251,12252,12253,12254,12255,12256,12257,12258,12259,12260,12261,12262,12263,12264,4985,12265,4497,12266,12267,12268,12269,12270,12271,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12284,12285,12286,12287,4986,12288,12289,12290,12291,12292,12293,12294,12295,12296,2473,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12307,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12319,3963,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,12330,12331,12332,4987,12333,12334,12335,12336,12337,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12351,12352,12353,12354,12355,12356,12357,12358,12359,3964,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,3965,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,4988,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,3554,12439,12440,12441,12442,12443,12444,12445,12446,12447,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,4989,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,4990,12481,12482,12483,12484,12485,12486,12487,12488,12489,4498,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12539,12540,12541,12542,12543,12544,12545,12546,12547,12548,12549,12550,12551,4991,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,3036,12579,12580,12581,12582,12583,3966,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,4499,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12687,12688,12689,12690,12691,12692,12693,12694,12695,12696,12697,12698,4992,12699,12700,12701,12702,12703,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12731,12732,12733,12734,12735,12736,12737,12738,12739,12740,12741,12742,12743,12744,12745,12746,12747,12748,12749,12750,12751,12752,12753,12754,12755,12756,12757,12758,12759,12760,12761,12762,12763,12764,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12777,12778,4993,2175,12779,12780,12781,12782,12783,12784,12785,12786,4500,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,4198,3967,12827,12828,12829,12830,12831,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12842,12843,12844,12845,12846,12847,12848,12849,12850,12851,12852,12853,12854,12855,12856,12857,12858,12859,12860,12861,4199,12862,12863,12864,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,12883,12884,12885,12886,12887,4501,12888,12889,12890,12891,12892,12893,12894,12895,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,4994,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,12924,12925,12926,12927,12928,12929,12930,12931,12932,12933,12934,12935,12936,12937,12938,12939,12940,12941,12942,12943,12944,12945,12946,12947,12948,12949,12950,12951,12952,12953,12954,12955,12956,1772,12957,12958,12959,12960,12961,12962,12963,12964,12965,12966,12967,12968,12969,12970,12971,12972,12973,12974,12975,12976,12977,12978,12979,12980,12981,12982,12983,12984,12985,12986,12987,12988,12989,12990,12991,12992,12993,12994,12995,12996,12997,4502,12998,4503,12999,13e3,13001,13002,13003,4504,13004,13005,13006,13007,13008,13009,13010,13011,13012,13013,13014,13015,13016,13017,13018,13019,13020,13021,13022,13023,13024,13025,13026,13027,13028,13029,3449,13030,13031,13032,13033,13034,13035,13036,13037,13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13050,13051,13052,13053,13054,13055,13056,13057,13058,13059,13060,13061,13062,13063,13064,13065,13066,13067,13068,13069,13070,13071,13072,13073,13074,13075,13076,13077,13078,13079,13080,13081,13082,13083,13084,13085,13086,13087,13088,13089,13090,13091,13092,13093,13094,13095,13096,13097,13098,13099,13100,13101,13102,13103,13104,13105,13106,13107,13108,13109,13110,13111,13112,13113,13114,13115,13116,13117,13118,3968,13119,4995,13120,13121,13122,13123,13124,13125,13126,13127,4505,13128,13129,13130,13131,13132,13133,13134,4996,4506,13135,13136,13137,13138,13139,4997,13140,13141,13142,13143,13144,13145,13146,13147,13148,13149,13150,13151,13152,13153,13154,13155,13156,13157,13158,13159,4998,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,4999,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,5e3,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,13225,13226,13227,4200,5001,13228,13229,13230,13231,13232,13233,13234,13235,13236,13237,13238,13239,13240,3969,13241,13242,13243,13244,3970,13245,13246,13247,13248,13249,13250,13251,13252,13253,13254,13255,13256,13257,13258,13259,13260,13261,13262,13263,13264,13265,13266,13267,13268,3450,13269,13270,13271,13272,13273,13274,13275,13276,5002,13277,13278,13279,13280,13281,13282,13283,13284,13285,13286,13287,13288,13289,13290,13291,13292,13293,13294,13295,13296,13297,13298,13299,13300,13301,13302,3813,13303,13304,13305,13306,13307,13308,13309,13310,13311,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13325,13326,13327,13328,4507,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,13341,5003,13342,13343,13344,13345,13346,13347,13348,13349,13350,13351,13352,13353,13354,13355,13356,13357,13358,13359,13360,13361,13362,13363,13364,13365,13366,13367,5004,13368,13369,13370,13371,13372,13373,13374,13375,13376,13377,13378,13379,13380,13381,13382,13383,13384,13385,13386,13387,13388,13389,13390,13391,13392,13393,13394,13395,13396,13397,13398,13399,13400,13401,13402,13403,13404,13405,13406,13407,13408,13409,13410,13411,13412,13413,13414,13415,13416,13417,13418,13419,13420,13421,13422,13423,13424,13425,13426,13427,13428,13429,13430,13431,13432,4508,13433,13434,13435,4201,13436,13437,13438,13439,13440,13441,13442,13443,13444,13445,13446,13447,13448,13449,13450,13451,13452,13453,13454,13455,13456,13457,5005,13458,13459,13460,13461,13462,13463,13464,13465,13466,13467,13468,13469,13470,4509,13471,13472,13473,13474,13475,13476,13477,13478,13479,13480,13481,13482,13483,13484,13485,13486,13487,13488,13489,13490,13491,13492,13493,13494,13495,13496,13497,13498,13499,13500,13501,13502,13503,13504,13505,13506,13507,13508,13509,13510,13511,13512,13513,13514,13515,13516,13517,13518,13519,13520,13521,13522,13523,13524,13525,13526,13527,13528,13529,13530,13531,13532,13533,13534,13535,13536,13537,13538,13539,13540,13541,13542,13543,13544,13545,13546,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13558,13559,13560,13561,13562,13563,13564,13565,13566,13567,13568,13569,13570,13571,13572,13573,13574,13575,13576,13577,13578,13579,13580,13581,13582,13583,13584,13585,13586,13587,13588,13589,13590,13591,13592,13593,13594,13595,13596,13597,13598,13599,13600,13601,13602,13603,13604,13605,13606,13607,13608,13609,13610,13611,13612,13613,13614,13615,13616,13617,13618,13619,13620,13621,13622,13623,13624,13625,13626,13627,13628,13629,13630,13631,13632,13633,13634,13635,13636,13637,13638,13639,13640,13641,13642,5006,13643,13644,13645,13646,13647,13648,13649,13650,13651,5007,13652,13653,13654,13655,13656,13657,13658,13659,13660,13661,13662,13663,13664,13665,13666,13667,13668,13669,13670,13671,13672,13673,13674,13675,13676,13677,13678,13679,13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13691,13692,13693,13694,13695,13696,13697,13698,13699,13700,13701,13702,13703,13704,13705,13706,13707,13708,13709,13710,13711,13712,13713,13714,13715,13716,13717,13718,13719,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13733,13734,13735,13736,13737,13738,13739,13740,13741,13742,13743,13744,13745,13746,13747,13748,13749,13750,13751,13752,13753,13754,13755,13756,13757,13758,13759,13760,13761,13762,13763,13764,13765,13766,13767,13768,13769,13770,13771,13772,13773,13774,3273,13775,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13793,13794,13795,13796,13797,13798,13799,13800,13801,13802,13803,13804,13805,13806,13807,13808,13809,13810,13811,13812,13813,13814,13815,13816,13817,13818,13819,13820,13821,13822,13823,13824,13825,13826,13827,13828,13829,13830,13831,13832,13833,13834,13835,13836,13837,13838,13839,13840,13841,13842,13843,13844,13845,13846,13847,13848,13849,13850,13851,13852,13853,13854,13855,13856,13857,13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883,13884,13885,13886,13887,13888,13889,13890,13891,13892,13893,13894,13895,13896,13897,13898,13899,13900,13901,13902,13903,13904,13905,13906,13907,13908,13909,13910,13911,13912,13913,13914,13915,13916,13917,13918,13919,13920,13921,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962,13963,13964,13965,13966,13967,13968,13969,13970,13971,13972]),g3}var co;function e3(){if(co)return Te;co=1;var e=X_(),t=Q_(),r=eC(),n=tC(),i=rC();function o(){var p=1024,h=.99,m=.01,g=3,y=this;function _(){y._mCharToFreqOrder=null,y._mTableSize=null,y._mTypicalDistributionRatio=null,y.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(C,E){if(E==2)var M=this.getOrder(C);else M=-1;M>=0&&(this._mTotalChars++,M<this._mTableSize&&512>this._mCharToFreqOrder[M]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=g)return m;if(this._mTotalChars!=this._mFreqChars){var C=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(C<h)return C}return h},this.gotEnoughData=function(){return this._mTotalChars>p},this.getOrder=function(C){return-1},_()}Te.CharDistributionAnalysis=o;function s(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=t.EUCTWCharToFreqOrder,p._mTableSize=t.EUCTW_TABLE_SIZE,p._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=196?94*(m.charCodeAt(0)-196)+m.charCodeAt(1)-161:-1},h()}s.prototype=new o,Te.EUCTWDistributionAnalysis=s;function a(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=r.EUCKRCharToFreqOrder,p._mTableSize=r.EUCKR_TABLE_SIZE,p._mTypicalDistributionRatio=r.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=176?94*(m.charCodeAt(0)-176)+m.charCodeAt(1)-161:-1},h()}a.prototype=new o,Te.EUCKRDistributionAnalysis=a;function l(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=n.GB2312CharToFreqOrder,p._mTableSize=n.GB2312_TABLE_SIZE,p._mTypicalDistributionRatio=n.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=176&&m.charCodeAt(1)>=161?94*(m.charCodeAt(0)-176)+m.charCodeAt(1)-161:-1},h()}l.prototype=new o,Te.GB2312DistributionAnalysis=l;function u(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=i.Big5CharToFreqOrder,p._mTableSize=i.BIG5_TABLE_SIZE,p._mTypicalDistributionRatio=i.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=164?m.charCodeAt(1)>=161?157*(m.charCodeAt(0)-164)+m.charCodeAt(1)-161+63:157*(m.charCodeAt(0)-164)+m.charCodeAt(1)-64:-1},h()}u.prototype=new o,Te.Big5DistributionAnalysis=u;function d(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=e.JISCharToFreqOrder,p._mTableSize=e.JIS_TABLE_SIZE,p._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){if(m.charCodeAt(0)>=129&&m.charCodeAt(0)<=159)var g=188*(m.charCodeAt(0)-129);else if(m.charCodeAt(0)>=224&&m.charCodeAt(0)<=239)g=188*(m.charCodeAt(0)-224+31);else return-1;return g+=m.charCodeAt(1)-64,(m.charCodeAt(1)<64||m.charCodeAt(1)===127||m.charCodeAt(1)>252)&&(g=-1),g},h()}d.prototype=new o,Te.SJISDistributionAnalysis=d;function f(){o.apply(this);var p=this;function h(){p._mCharToFreqOrder=e.JISCharToFreqOrder,p._mTableSize=e.JIS_TABLE_SIZE,p._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m[0]>=" "?94*(m.charCodeAt(0)-161)+m.charCodeAt(1)-161:-1},h()}return f.prototype=new o,Te.EUCJPDistributionAnalysis=f,Te}var _5,fo;function nC(){if(fo)return _5;fo=1;var e=g2(),t=Qt(),r=J_(),n=e3().Big5DistributionAnalysis;function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(r),o._mDistributionAnalyzer=new n,o.reset()}this.getCharsetName=function(){return"Big5"},s()}return i.prototype=new t,_5=i,_5}var C5,ho;function iC(){if(ho)return C5;ho=1;var e=y1(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,9,8,8,10,11,11,11,11,11,11,11,12,13,13,13,14,15,0,0],r=[e.error,e.start,e.error,e.error,e.error,e.error,12,10,9,11,8,7,6,5,4,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,5,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error],n=[0,1,0,0,0,0,2,3,3,3,4,4,5,5,6,6];return C5={classTable:t,classFactor:16,stateTable:r,charLenTable:n,name:"UTF-8"},C5}var x5,mo;function oC(){if(mo)return x5;mo=1;var e=g2(),t=Y2(),r=y1(),n=iC();function i(){t.apply(this);var o=.5,s=this;function a(){s._mCodingSM=new e(n),s.reset()}this.reset=function(){i.prototype.reset.apply(this),this._mCodingSM.reset(),this._mNumOfMBChar=0,this._mMBCharLen=0,this._mFullLen=0,this._mBasicAsciiLen=0},this.getCharsetName=function(){return"UTF-8"},this.feed=function(l){this._mFullLen+=l.length;for(var u=0,d;u<l.length;u++){d=l[u];var f=this._mCodingSM.nextState(d);if(f==r.error){this._mState=r.notMe;break}else if(f==r.itsMe){this._mState=r.foundIt;break}else f==r.start&&(this._mCodingSM.getCurrentCharLen()>=2?(this._mNumOfMBChar++,this._mMBCharLen+=this._mCodingSM.getCurrentCharLen()):d.charCodeAt(0)<128&&this._mBasicAsciiLen++)}return this.getState()==r.detecting&&this.getConfidence()>r.SHORTCUT_THRESHOLD&&(this._mState=r.foundIt),this.getState()},this.getConfidence=function(){var l=.99,u=0,d=this._mFullLen-this._mBasicAsciiLen;return d>0&&(u=this._mMBCharLen/d),this._mNumOfMBChar<6&&u<=.6?(l*=Math.pow(o,this._mNumOfMBChar),1-l):l},a()}return i.prototype=new t,x5=i,x5}var S5,po;function sC(){if(po)return S5;po=1;var e=y1(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start],n=[0,1,1,2,0,0];return S5={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"Shift_JIS"},S5}var E5={},go;function ol(){return go||(go=1,function(e){e.jp2CharContext=[[0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1],[2,4,0,4,0,3,0,4,0,3,4,4,4,2,4,3,3,4,3,2,3,3,4,2,3,3,3,2,4,1,4,3,3,1,5,4,3,4,3,4,3,5,3,0,3,5,4,2,0,3,1,0,3,3,0,3,3,0,1,1,0,4,3,0,3,3,0,4,0,2,0,3,5,5,5,5,4,0,4,1,0,3,4],[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[0,4,0,5,0,5,0,4,0,4,5,4,4,3,5,3,5,1,5,3,4,3,4,4,3,4,3,3,4,3,5,4,4,3,5,5,3,5,5,5,3,5,5,3,4,5,5,3,1,3,2,0,3,4,0,4,2,0,4,2,1,5,3,2,3,5,0,4,0,2,0,5,4,4,5,4,5,0,4,0,0,4,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,4,0,3,0,3,0,4,5,4,3,3,3,3,4,3,5,4,4,3,5,4,4,3,4,3,4,4,4,4,5,3,4,4,3,4,5,5,4,5,5,1,4,5,4,3,0,3,3,1,3,3,0,4,4,0,3,3,1,5,3,3,3,5,0,4,0,3,0,4,4,3,4,3,3,0,4,1,1,3,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,4,0,3,0,3,0,4,0,3,4,4,3,2,2,1,2,1,3,1,3,3,3,3,3,4,3,1,3,3,5,3,3,0,4,3,0,5,4,3,3,5,4,4,3,4,4,5,0,1,2,0,1,2,0,2,2,0,1,0,0,5,2,2,1,4,0,3,0,1,0,4,4,3,5,4,3,0,2,1,0,4,3],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,5,0,4,0,2,1,4,4,2,4,1,4,2,4,2,4,3,3,3,4,3,3,3,3,1,4,2,3,3,3,1,4,4,1,1,1,4,3,3,2,0,2,4,3,2,0,3,3,0,3,1,1,0,0,0,3,3,0,4,2,2,3,4,0,4,0,3,0,4,4,5,3,4,4,0,3,0,0,1,4],[1,4,0,4,0,4,0,4,0,3,5,4,4,3,4,3,5,4,3,3,4,3,5,4,4,4,4,3,4,2,4,3,3,1,5,4,3,2,4,5,4,5,5,4,4,5,4,4,0,3,2,2,3,3,0,4,3,1,3,2,1,4,3,3,4,5,0,3,0,2,0,4,5,5,4,5,4,0,4,0,0,5,4],[0,5,0,5,0,4,0,3,0,4,4,3,4,3,3,3,4,0,4,4,4,3,4,3,4,3,3,1,4,2,4,3,4,0,5,4,1,4,5,4,4,5,3,2,4,3,4,3,2,4,1,3,3,3,2,3,2,0,4,3,3,4,3,3,3,4,0,4,0,3,0,4,5,4,4,4,3,0,4,1,0,1,3],[0,3,1,4,0,3,0,2,0,3,4,4,3,1,4,2,3,3,4,3,4,3,4,3,4,4,3,2,3,1,5,4,4,1,4,4,3,5,4,4,3,5,5,4,3,4,4,3,1,2,3,1,2,2,0,3,2,0,3,1,0,5,3,3,3,4,3,3,3,3,4,4,4,4,5,4,2,0,3,3,2,4,3],[0,2,0,3,0,1,0,1,0,0,3,2,0,0,2,0,1,0,2,1,3,3,3,1,2,3,1,0,1,0,4,2,1,1,3,3,0,4,3,3,1,4,3,3,0,3,3,2,0,0,0,0,1,0,0,2,0,0,0,0,0,4,1,0,2,3,2,2,2,1,3,3,3,4,4,3,2,0,3,1,0,3,3],[0,4,0,4,0,3,0,3,0,4,4,4,3,3,3,3,3,3,4,3,4,2,4,3,4,3,3,2,4,3,4,5,4,1,4,5,3,5,4,5,3,5,4,0,3,5,5,3,1,3,3,2,2,3,0,3,4,1,3,3,2,4,3,3,3,4,0,4,0,3,0,4,5,4,4,5,3,0,4,1,0,3,4],[0,2,0,3,0,3,0,0,0,2,2,2,1,0,1,0,0,0,3,0,3,0,3,0,1,3,1,0,3,1,3,3,3,1,3,3,3,0,1,3,1,3,4,0,0,3,1,1,0,3,2,0,0,0,0,1,3,0,1,0,0,3,3,2,0,3,0,0,0,0,0,3,4,3,4,3,3,0,3,0,0,2,3],[2,3,0,3,0,2,0,1,0,3,3,4,3,1,3,1,1,1,3,1,4,3,4,3,3,3,0,0,3,1,5,4,3,1,4,3,2,5,5,4,4,4,4,3,3,4,4,4,0,2,1,1,3,2,0,1,2,0,0,1,0,4,1,3,3,3,0,3,0,1,0,4,4,4,5,5,3,0,2,0,0,4,4],[0,2,0,1,0,3,1,3,0,2,3,3,3,0,3,1,0,0,3,0,3,2,3,1,3,2,1,1,0,0,4,2,1,0,2,3,1,4,3,2,0,4,4,3,1,3,1,3,0,1,0,0,1,0,0,0,1,0,0,0,0,4,1,1,1,2,0,3,0,0,0,3,4,2,4,3,2,0,1,0,0,3,3],[0,1,0,4,0,5,0,4,0,2,4,4,2,3,3,2,3,3,5,3,3,3,4,3,4,2,3,0,4,3,3,3,4,1,4,3,2,1,5,5,3,4,5,1,3,5,4,2,0,3,3,0,1,3,0,4,2,0,1,3,1,4,3,3,3,3,0,3,0,1,0,3,4,4,4,5,5,0,3,0,1,4,5],[0,2,0,3,0,3,0,0,0,2,3,1,3,0,4,0,1,1,3,0,3,4,3,2,3,1,0,3,3,2,3,1,3,0,2,3,0,2,1,4,1,2,2,0,0,3,3,0,0,2,0,0,0,1,0,0,0,0,2,2,0,3,2,1,3,3,0,2,0,2,0,0,3,3,1,2,4,0,3,0,2,2,3],[2,4,0,5,0,4,0,4,0,2,4,4,4,3,4,3,3,3,1,2,4,3,4,3,4,4,5,0,3,3,3,3,2,0,4,3,1,4,3,4,1,4,4,3,3,4,4,3,1,2,3,0,4,2,0,4,1,0,3,3,0,4,3,3,3,4,0,4,0,2,0,3,5,3,4,5,2,0,3,0,0,4,5],[0,3,0,4,0,1,0,1,0,1,3,2,2,1,3,0,3,0,2,0,2,0,3,0,2,0,0,0,1,0,1,1,0,0,3,1,0,0,0,4,0,3,1,0,2,1,3,0,0,0,0,0,0,3,0,0,0,0,0,0,0,4,2,2,3,1,0,3,0,0,0,1,4,4,4,3,0,0,4,0,0,1,4],[1,4,1,5,0,3,0,3,0,4,5,4,4,3,5,3,3,4,4,3,4,1,3,3,3,3,2,1,4,1,5,4,3,1,4,4,3,5,4,4,3,5,4,3,3,4,4,4,0,3,3,1,2,3,0,3,1,0,3,3,0,5,4,4,4,4,4,4,3,3,5,4,4,3,3,5,4,0,3,2,0,4,4],[0,2,0,3,0,1,0,0,0,1,3,3,3,2,4,1,3,0,3,1,3,0,2,2,1,1,0,0,2,0,4,3,1,0,4,3,0,4,4,4,1,4,3,1,1,3,3,1,0,2,0,0,1,3,0,0,0,0,2,0,0,4,3,2,4,3,5,4,3,3,3,4,3,3,4,3,3,0,2,1,0,3,3],[0,2,0,4,0,3,0,2,0,2,5,5,3,4,4,4,4,1,4,3,3,0,4,3,4,3,1,3,3,2,4,3,0,3,4,3,0,3,4,4,2,4,4,0,4,5,3,3,2,2,1,1,1,2,0,1,5,0,3,3,2,4,3,3,3,4,0,3,0,2,0,4,4,3,5,5,0,0,3,0,2,3,3],[0,3,0,4,0,3,0,1,0,3,4,3,3,1,3,3,3,0,3,1,3,0,4,3,3,1,1,0,3,0,3,3,0,0,4,4,0,1,5,4,3,3,5,0,3,3,4,3,0,2,0,1,1,1,0,1,3,0,1,2,1,3,3,2,3,3,0,3,0,1,0,1,3,3,4,4,1,0,1,2,2,1,3],[0,1,0,4,0,4,0,3,0,1,3,3,3,2,3,1,1,0,3,0,3,3,4,3,2,4,2,0,1,0,4,3,2,0,4,3,0,5,3,3,2,4,4,4,3,3,3,4,0,1,3,0,0,1,0,0,1,0,0,0,0,4,2,3,3,3,0,3,0,0,0,4,4,4,5,3,2,0,3,3,0,3,5],[0,2,0,3,0,0,0,3,0,1,3,0,2,0,0,0,1,0,3,1,1,3,3,0,0,3,0,0,3,0,2,3,1,0,3,1,0,3,3,2,0,4,2,2,0,2,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,1,0,1,0,0,0,1,3,1,2,0,0,0,1,0,0,1,4],[0,3,0,3,0,5,0,1,0,2,4,3,1,3,3,2,1,1,5,2,1,0,5,1,2,0,0,0,3,3,2,2,3,2,4,3,0,0,3,3,1,3,3,0,2,5,3,4,0,3,3,0,1,2,0,2,2,0,3,2,0,2,2,3,3,3,0,2,0,1,0,3,4,4,2,5,4,0,3,0,0,3,5],[0,3,0,3,0,3,0,1,0,3,3,3,3,0,3,0,2,0,2,1,1,0,2,0,1,0,0,0,2,1,0,0,1,0,3,2,0,0,3,3,1,2,3,1,0,3,3,0,0,1,0,0,0,0,0,2,0,0,0,0,0,2,3,1,2,3,0,3,0,1,0,3,2,1,0,4,3,0,1,1,0,3,3],[0,4,0,5,0,3,0,3,0,4,5,5,4,3,5,3,4,3,5,3,3,2,5,3,4,4,4,3,4,3,4,5,5,3,4,4,3,4,4,5,4,4,4,3,4,5,5,4,2,3,4,2,3,4,0,3,3,1,4,3,2,4,3,3,5,5,0,3,0,3,0,5,5,5,5,4,4,0,4,0,1,4,4],[0,4,0,4,0,3,0,3,0,3,5,4,4,2,3,2,5,1,3,2,5,1,4,2,3,2,3,3,4,3,3,3,3,2,5,4,1,3,3,5,3,4,4,0,4,4,3,1,1,3,1,0,2,3,0,2,3,0,3,0,0,4,3,1,3,4,0,3,0,2,0,4,4,4,3,4,5,0,4,0,0,3,4],[0,3,0,3,0,3,1,2,0,3,4,4,3,3,3,0,2,2,4,3,3,1,3,3,3,1,1,0,3,1,4,3,2,3,4,4,2,4,4,4,3,4,4,3,2,4,4,3,1,3,3,1,3,3,0,4,1,0,2,2,1,4,3,2,3,3,5,4,3,3,5,4,4,3,3,0,4,0,3,2,2,4,4],[0,2,0,1,0,0,0,0,0,1,2,1,3,0,0,0,0,0,2,0,1,2,1,0,0,1,0,0,0,0,3,0,0,1,0,1,1,3,1,0,0,0,1,1,0,1,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,2,2,0,3,4,0,0,0,1,1,0,0,1,0,0,0,0,0,1,1],[0,1,0,0,0,1,0,0,0,0,4,0,4,1,4,0,3,0,4,0,3,0,4,0,3,0,3,0,4,1,5,1,4,0,0,3,0,5,0,5,2,0,1,0,0,0,2,1,4,0,1,3,0,0,3,0,0,3,1,1,4,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[1,4,0,5,0,3,0,2,0,3,5,4,4,3,4,3,5,3,4,3,3,0,4,3,3,3,3,3,3,2,4,4,3,1,3,4,4,5,4,4,3,4,4,1,3,5,4,3,3,3,1,2,2,3,3,1,3,1,3,3,3,5,3,3,4,5,0,3,0,3,0,3,4,3,4,4,3,0,3,0,2,4,3],[0,1,0,4,0,0,0,0,0,1,4,0,4,1,4,2,4,0,3,0,1,0,1,0,0,0,0,0,2,0,3,1,1,1,0,3,0,0,0,1,2,1,0,0,1,1,1,1,0,1,0,0,0,1,0,0,3,0,0,0,0,3,2,0,2,2,0,1,0,0,0,2,3,2,3,3,0,0,0,0,2,1,0],[0,5,1,5,0,3,0,3,0,5,4,4,5,1,5,3,3,0,4,3,4,3,5,3,4,3,3,2,4,3,4,3,3,0,3,3,1,4,4,3,4,4,4,3,4,5,5,3,2,3,1,1,3,3,1,3,1,1,3,3,2,4,5,3,3,5,0,4,0,3,0,4,4,3,5,3,3,0,3,4,0,4,3],[0,5,0,5,0,3,0,2,0,4,4,3,5,2,4,3,3,3,4,4,4,3,5,3,5,3,3,1,4,0,4,3,3,0,3,3,0,4,4,4,4,5,4,3,3,5,5,3,2,3,1,2,3,2,0,1,0,0,3,2,2,4,4,3,1,5,0,4,0,3,0,4,3,1,3,2,1,0,3,3,0,3,3],[0,4,0,5,0,5,0,4,0,4,5,5,5,3,4,3,3,2,5,4,4,3,5,3,5,3,4,0,4,3,4,4,3,2,4,4,3,4,5,4,4,5,5,0,3,5,5,4,1,3,3,2,3,3,1,3,1,0,4,3,1,4,4,3,4,5,0,4,0,2,0,4,3,4,4,3,3,0,4,0,0,5,5],[0,4,0,4,0,5,0,1,1,3,3,4,4,3,4,1,3,0,5,1,3,0,3,1,3,1,1,0,3,0,3,3,4,0,4,3,0,4,4,4,3,4,4,0,3,5,4,1,0,3,0,0,2,3,0,3,1,0,3,1,0,3,2,1,3,5,0,3,0,1,0,3,2,3,3,4,4,0,2,2,0,4,4],[2,4,0,5,0,4,0,3,0,4,5,5,4,3,5,3,5,3,5,3,5,2,5,3,4,3,3,4,3,4,5,3,2,1,5,4,3,2,3,4,5,3,4,1,2,5,4,3,0,3,3,0,3,2,0,2,3,0,4,1,0,3,4,3,3,5,0,3,0,1,0,4,5,5,5,4,3,0,4,2,0,3,5],[0,5,0,4,0,4,0,2,0,5,4,3,4,3,4,3,3,3,4,3,4,2,5,3,5,3,4,1,4,3,4,4,4,0,3,5,0,4,4,4,4,5,3,1,3,4,5,3,3,3,3,3,3,3,0,2,2,0,3,3,2,4,3,3,3,5,3,4,1,3,3,5,3,2,0,0,0,0,4,3,1,3,3],[0,1,0,3,0,3,0,1,0,1,3,3,3,2,3,3,3,0,3,0,0,0,3,1,3,0,0,0,2,2,2,3,0,0,3,2,0,1,2,4,1,3,3,0,0,3,3,3,0,1,0,0,2,1,0,0,3,0,3,1,0,3,0,0,1,3,0,2,0,1,0,3,3,1,3,3,0,0,1,1,0,3,3],[0,2,0,3,0,2,1,4,0,2,2,3,1,1,3,1,1,0,2,0,3,1,2,3,1,3,0,0,1,0,4,3,2,3,3,3,1,4,2,3,3,3,3,1,0,3,1,4,0,1,1,0,1,2,0,1,1,0,1,1,0,3,1,3,2,2,0,1,0,0,0,2,3,3,3,1,0,0,0,0,0,2,3],[0,5,0,4,0,5,0,2,0,4,5,5,3,3,4,3,3,1,5,4,4,2,4,4,4,3,4,2,4,3,5,5,4,3,3,4,3,3,5,5,4,5,5,1,3,4,5,3,1,4,3,1,3,3,0,3,3,1,4,3,1,4,5,3,3,5,0,4,0,3,0,5,3,3,1,4,3,0,4,0,1,5,3],[0,5,0,5,0,4,0,2,0,4,4,3,4,3,3,3,3,3,5,4,4,4,4,4,4,5,3,3,5,2,4,4,4,3,4,4,3,3,4,4,5,5,3,3,4,3,4,3,3,4,3,3,3,3,1,2,2,1,4,3,3,5,4,4,3,4,0,4,0,3,0,4,4,4,4,4,1,0,4,2,0,2,4],[0,4,0,4,0,3,0,1,0,3,5,2,3,0,3,0,2,1,4,2,3,3,4,1,4,3,3,2,4,1,3,3,3,0,3,3,0,0,3,3,3,5,3,3,3,3,3,2,0,2,0,0,2,0,0,2,0,0,1,0,0,3,1,2,2,3,0,3,0,2,0,4,4,3,3,4,1,0,3,0,0,2,4],[0,0,0,4,0,0,0,0,0,0,1,0,1,0,2,0,0,0,0,0,1,0,2,0,1,0,0,0,0,0,3,1,3,0,3,2,0,0,0,1,0,3,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,0,2,0,0,0,0,0,0,2],[0,2,1,3,0,2,0,2,0,3,3,3,3,1,3,1,3,3,3,3,3,3,4,2,2,1,2,1,4,0,4,3,1,3,3,3,2,4,3,5,4,3,3,3,3,3,3,3,0,1,3,0,2,0,0,1,0,0,1,0,0,4,2,0,2,3,0,3,3,0,3,3,4,2,3,1,4,0,1,2,0,2,3],[0,3,0,3,0,1,0,3,0,2,3,3,3,0,3,1,2,0,3,3,2,3,3,2,3,2,3,1,3,0,4,3,2,0,3,3,1,4,3,3,2,3,4,3,1,3,3,1,1,0,1,1,0,1,0,1,0,1,0,0,0,4,1,1,0,3,0,3,1,0,2,3,3,3,3,3,1,0,0,2,0,3,3],[0,0,0,0,0,0,0,0,0,0,3,0,2,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,3,0,3,1,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,2,3,0,0,0,0,0,0,0,0,3],[0,2,0,3,1,3,0,3,0,2,3,3,3,1,3,1,3,1,3,1,3,3,3,1,3,0,2,3,1,1,4,3,3,2,3,3,1,2,2,4,1,3,3,0,1,4,2,3,0,1,3,0,3,0,0,1,3,0,2,0,0,3,3,2,1,3,0,3,0,2,0,3,4,4,4,3,1,0,3,0,0,3,3],[0,2,0,1,0,2,0,0,0,1,3,2,2,1,3,0,1,1,3,0,3,2,3,1,2,0,2,0,1,1,3,3,3,0,3,3,1,1,2,3,2,3,3,1,2,3,2,0,0,1,0,0,0,0,0,0,3,0,1,0,0,2,1,2,1,3,0,3,0,0,0,3,4,4,4,3,2,0,2,0,0,2,4],[0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,2,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,3,1,0,0,0,0,0,0,0,3],[0,3,0,3,0,2,0,3,0,3,3,3,2,3,2,2,2,0,3,1,3,3,3,2,3,3,0,0,3,0,3,2,2,0,2,3,1,4,3,4,3,3,2,3,1,5,4,4,0,3,1,2,1,3,0,3,1,1,2,0,2,3,1,3,1,3,0,3,0,1,0,3,3,4,4,2,1,0,2,1,0,2,4],[0,1,0,3,0,1,0,2,0,1,4,2,5,1,4,0,2,0,2,1,3,1,4,0,2,1,0,0,2,1,4,1,1,0,3,3,0,5,1,3,2,3,3,1,0,3,2,3,0,1,0,0,0,0,0,0,1,0,0,0,0,4,0,1,0,3,0,2,0,1,0,3,3,3,4,3,3,0,0,0,0,2,3],[0,0,0,1,0,0,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,1,0,0,0,0,0,3],[0,1,0,3,0,4,0,3,0,2,4,3,1,0,3,2,2,1,3,1,2,2,3,1,1,1,2,1,3,0,1,2,0,1,3,2,1,3,0,5,5,1,0,0,1,3,2,1,0,3,0,0,1,0,0,0,0,0,3,4,0,1,1,1,3,2,0,2,0,1,0,2,3,3,1,2,3,0,1,0,1,0,4],[0,0,0,1,0,3,0,3,0,2,2,1,0,0,4,0,3,0,3,1,3,0,3,0,3,0,1,0,3,0,3,1,3,0,3,3,0,0,1,2,1,1,1,0,1,2,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,2,2,1,2,0,0,2,0,0,0,0,2,3,3,3,3,0,0,0,0,1,4],[0,0,0,3,0,3,0,0,0,0,3,1,1,0,3,0,1,0,2,0,1,0,0,0,0,0,0,0,1,0,3,0,2,0,2,3,0,0,2,2,3,1,2,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,2,3],[2,4,0,5,0,5,0,4,0,3,4,3,3,3,4,3,3,3,4,3,4,4,5,4,5,5,5,2,3,0,5,5,4,1,5,4,3,1,5,4,3,4,4,3,3,4,3,3,0,3,2,0,2,3,0,3,0,0,3,3,0,5,3,2,3,3,0,3,0,3,0,3,4,5,4,5,3,0,4,3,0,3,4],[0,3,0,3,0,3,0,3,0,3,3,4,3,2,3,2,3,0,4,3,3,3,3,3,3,3,3,0,3,2,4,3,3,1,3,4,3,4,4,4,3,4,4,3,2,4,4,1,0,2,0,0,1,1,0,2,0,0,3,1,0,5,3,2,1,3,0,3,0,1,2,4,3,2,4,3,3,0,3,2,0,4,4],[0,3,0,3,0,1,0,0,0,1,4,3,3,2,3,1,3,1,4,2,3,2,4,2,3,4,3,0,2,2,3,3,3,0,3,3,3,0,3,4,1,3,3,0,3,4,3,3,0,1,1,0,1,0,0,0,4,0,3,0,0,3,1,2,1,3,0,4,0,1,0,4,3,3,4,3,3,0,2,0,0,3,3],[0,3,0,4,0,1,0,3,0,3,4,3,3,0,3,3,3,1,3,1,3,3,4,3,3,3,0,0,3,1,5,3,3,1,3,3,2,5,4,3,3,4,5,3,2,5,3,4,0,1,0,0,0,0,0,2,0,0,1,1,0,4,2,2,1,3,0,3,0,2,0,4,4,3,5,3,2,0,1,1,0,3,4],[0,5,0,4,0,5,0,2,0,4,4,3,3,2,3,3,3,1,4,3,4,1,5,3,4,3,4,0,4,2,4,3,4,1,5,4,0,4,4,4,4,5,4,1,3,5,4,2,1,4,1,1,3,2,0,3,1,0,3,2,1,4,3,3,3,4,0,4,0,3,0,4,4,4,3,3,3,0,4,2,0,3,4],[1,4,0,4,0,3,0,1,0,3,3,3,1,1,3,3,2,2,3,3,1,0,3,2,2,1,2,0,3,1,2,1,2,0,3,2,0,2,2,3,3,4,3,0,3,3,1,2,0,1,1,3,1,2,0,0,3,0,1,1,0,3,2,2,3,3,0,3,0,0,0,2,3,3,4,3,3,0,1,0,0,1,4],[0,4,0,4,0,4,0,0,0,3,4,4,3,1,4,2,3,2,3,3,3,1,4,3,4,0,3,0,4,2,3,3,2,2,5,4,2,1,3,4,3,4,3,1,3,3,4,2,0,2,1,0,3,3,0,0,2,0,3,1,0,4,4,3,4,3,0,4,0,1,0,2,4,4,4,4,4,0,3,2,0,3,3],[0,0,0,1,0,4,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,3,2,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,2],[0,2,0,3,0,4,0,4,0,1,3,3,3,0,4,0,2,1,2,1,1,1,2,0,3,1,1,0,1,0,3,1,0,0,3,3,2,0,1,1,0,0,0,0,0,1,0,2,0,2,2,0,3,1,0,0,1,0,1,1,0,1,2,0,3,0,0,0,0,1,0,0,3,3,4,3,1,0,1,0,3,0,2],[0,0,0,3,0,5,0,0,0,0,1,0,2,0,3,1,0,1,3,0,0,0,2,0,0,0,1,0,0,0,1,1,0,0,4,0,0,0,2,3,0,1,4,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,3,0,0,0,0,0,3],[0,2,0,5,0,5,0,1,0,2,4,3,3,2,5,1,3,2,3,3,3,0,4,1,2,0,3,0,4,0,2,2,1,1,5,3,0,0,1,4,2,3,2,0,3,3,3,2,0,2,4,1,1,2,0,1,1,0,3,1,0,1,3,1,2,3,0,2,0,0,0,1,3,5,4,4,4,0,3,0,0,1,3],[0,4,0,5,0,4,0,4,0,4,5,4,3,3,4,3,3,3,4,3,4,4,5,3,4,5,4,2,4,2,3,4,3,1,4,4,1,3,5,4,4,5,5,4,4,5,5,5,2,3,3,1,4,3,1,3,3,0,3,3,1,4,3,4,4,4,0,3,0,4,0,3,3,4,4,5,0,0,4,3,0,4,5],[0,4,0,4,0,3,0,3,0,3,4,4,4,3,3,2,4,3,4,3,4,3,5,3,4,3,2,1,4,2,4,4,3,1,3,4,2,4,5,5,3,4,5,4,1,5,4,3,0,3,2,2,3,2,1,3,1,0,3,3,3,5,3,3,3,5,4,4,2,3,3,4,3,3,3,2,1,0,3,2,1,4,3],[0,4,0,5,0,4,0,3,0,3,5,5,3,2,4,3,4,0,5,4,4,1,4,4,4,3,3,3,4,3,5,5,2,3,3,4,1,2,5,5,3,5,5,2,3,5,5,4,0,3,2,0,3,3,1,1,5,1,4,1,0,4,3,2,3,5,0,4,0,3,0,5,4,3,4,3,0,0,4,1,0,4,4],[1,3,0,4,0,2,0,2,0,2,5,5,3,3,3,3,3,0,4,2,3,4,4,4,3,4,0,0,3,4,5,4,3,3,3,3,2,5,5,4,5,5,5,4,3,5,5,5,1,3,1,0,1,0,0,3,2,0,4,2,0,5,2,3,2,4,1,3,0,3,0,4,5,4,5,4,3,0,4,2,0,5,4],[0,3,0,4,0,5,0,3,0,3,4,4,3,2,3,2,3,3,3,3,3,2,4,3,3,2,2,0,3,3,3,3,3,1,3,3,3,0,4,4,3,4,4,1,1,4,4,2,0,3,1,0,1,1,0,4,1,0,2,3,1,3,3,1,3,4,0,3,0,1,0,3,1,3,0,0,1,0,2,0,0,4,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,3,0,2,0,3,0,1,5,4,3,3,3,1,4,2,1,2,3,4,4,2,4,4,5,0,3,1,4,3,4,0,4,3,3,3,2,3,2,5,3,4,3,2,2,3,0,0,3,0,2,1,0,1,2,0,0,0,0,2,1,1,3,1,0,2,0,4,0,3,4,4,4,5,2,0,2,0,0,1,3],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,4,2,1,1,0,1,0,3,2,0,0,3,1,1,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,0,0,0,2,0,0,0,1,4,0,4,2,1,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,3,1,0,0,0,2,0,2,1,0,0,1,2,1,0,1,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,1,3,1,0,0,0,0,0,1,0,0,2,1,0,0,0,0,0,0,0,0,2],[0,4,0,4,0,4,0,3,0,4,4,3,4,2,4,3,2,0,4,4,4,3,5,3,5,3,3,2,4,2,4,3,4,3,1,4,0,2,3,4,4,4,3,3,3,4,4,4,3,4,1,3,4,3,2,1,2,1,3,3,3,4,4,3,3,5,0,4,0,3,0,4,3,3,3,2,1,0,3,0,0,3,3],[0,4,0,3,0,3,0,3,0,3,5,5,3,3,3,3,4,3,4,3,3,3,4,4,4,3,3,3,3,4,3,5,3,3,1,3,2,4,5,5,5,5,4,3,4,5,5,3,2,2,3,3,3,3,2,3,3,1,2,3,2,4,3,3,3,4,0,4,0,2,0,4,3,2,2,1,2,0,3,0,0,4,1]];function t(){var i=6,o=-1,s=100,a=1e3,l=4,u=this;function d(){u.reset()}this.reset=function(){this._mTotalRel=0,this._mRelSample=[];for(var f=0;f<i;this._mRelSample[f++]=0);this._mNeedToSkipCharNum=0,this._mLastCharOrder=-1,this._mDone=!1},this.feed=function(f,p){if(!this._mDone)for(var h=this._mNeedToSkipCharNum;h<p;){var m=this.getOrder(f.slice(h,h+2)),g=m[0],y=m[1];if(h+=y,h>p)this._mNeedToSkipCharNum=h-p,this._mLastCharOrder=-1;else{if(g!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>a){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][g]]+=1}this._mLastCharOrder=g}}},this.gotEnoughData=function(){return this._mTotalRel>s},this.getConfidence=function(){return this._mTotalRel>l?(this._mTotalRel-this._mRelSample[0])/this._mTotalRel:o},this.getOrder=function(f){return[-1,1]},d()}function r(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=129&&i.charCodeAt(0)<=159||i.charCodeAt(0)>=224&&i.charCodeAt(0)<=252)var o=2;else o=1;return i.length>1&&i.charCodeAt(0)==130&&i.charCodeAt(1)>=159&&i.charCodeAt(0)<=241?[i.charCodeAt(1)-159,o]:[-1,o]}}r.prototype=new t,e.SJISContextAnalysis=r;function n(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=142||i.charCodeAt(0)>=161&&i.charCodeAt(0)<=254)var o=2;else i.charCodeAt(0)==143?o=3:o=1;return i.length>1&&i.charCodeAt(0)==164&&i.charCodeAt(1)>=161&&i.charCodeAt(1)<=243?[i.charCodeAt(1)-161,o]:[-1,o]}}n.prototype=new t,e.EUCJPContextAnalysis=n}(E5)),E5}var A5,wo;function aC(){if(wo)return A5;wo=1;var e=g2(),t=Qt(),r=sC(),n=e3().SJISDistributionAnalysis,i=ol().SJISContextAnalysis,o=y1(),s=Z2();function a(){t.apply(this);var l=this;function u(){l._mCodingSM=new e(r),l._mDistributionAnalyzer=new n,l._mContextAnalyzer=new i,l.reset()}this.reset=function(){a.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"SHIFT_JIS"},this.feed=function(d){for(var f=d.length,p=0;p<f;p++){var h=this._mCodingSM.nextState(d[p]);if(h==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+p+`
|
|
55
|
+
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var m=this._mCodingSM.getCurrentCharLen();p==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-m).join(""),m),this._mDistributionAnalyzer.feed(this._mLastChar.join(""),m)):(this._mContextAnalyzer.feed(d.slice(p+1-m,p+3-m),m),this._mDistributionAnalyzer.feed(d.slice(p-1,p+1),m))}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},u()}return a.prototype=new t,A5=a,A5}var T5,yo;function lC(){if(yo)return T5;yo=1;var e=y1(),t=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,4,4,4,4,4,4,4,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,1,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5],r=[3,4,3,5,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.start,e.error,e.start,e.error,e.error,e.error,e.error,e.error,e.start,e.error,e.error,e.error,3,e.error,3,e.error,e.error,e.error,e.start,e.start,e.start,e.start],n=[2,2,2,3,1,0];return T5={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"EUC-JP"},T5}var M5,vo;function uC(){if(vo)return M5;vo=1;var e=g2(),t=Qt(),r=e3().EUCJPDistributionAnalysis,n=ol().EUCJPContextAnalysis,i=lC(),o=y1(),s=Z2();function a(){t.apply(this);var l=this;function u(){l._mCodingSM=new e(i),l._mDistributionAnalyzer=new r,l._mContextAnalyzer=new n,l.reset()}this.reset=function(){a.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"EUC-JP"},this.feed=function(d){for(var f=d.length,p=0;p<f;p++){var h=this._mCodingSM.nextState(d[p]);if(h==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+p+`
|
|
56
|
+
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var m=this._mCodingSM.getCurrentCharLen();if(p==0){this._mLastChar[1]=d[0];var g=this._mLastChar.join("");this._mContextAnalyzer.feed(g,m),this._mDistributionAnalyzer.feed(g,m)}else this._mContextAnalyzer.feed(d.slice(p-1,p+1),m),this._mDistributionAnalyzer.feed(d.slice(p-1,p+1),m)}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},u()}return a.prototype=new t,M5=a,M5}var N5,bo;function cC(){if(bo)return N5;bo=1;var e=y1(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0],r=[e.error,e.start,e.start,e.start,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,4,e.error,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,1,1,1,1,1,2];return N5={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"GB2312"},N5}var k5,_o;function dC(){if(_o)return k5;_o=1;var e=Qt(),t=g2(),r=cC(),n=e3().GB2312DistributionAnalysis;function i(){e.apply(this);var o=this;function s(){o._mCodingSM=new t(r),o._mDistributionAnalyzer=new n,o.reset()}this.getCharsetName=function(){return"GB2312"},s()}return i.prototype=new e,k5=i,k5}var I5,Co;function fC(){if(Co)return I5;Co=1;var e=y1(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0],r=[e.error,e.start,3,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start],n=[0,1,2,0];return I5={classTable:t,classFactor:4,stateTable:r,charLenTable:n,name:"EUC-KR"},I5}var O5,xo;function hC(){if(xo)return O5;xo=1;var e=g2(),t=Qt(),r=e3().EUCKRDistributionAnalysis,n=fC();function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(n),o._mDistributionAnalyzer=new r,o.reset()}this.getCharsetName=function(){return"EUC-KR"},s()}return i.prototype=new t,O5=i,O5}var R5,So;function mC(){if(So)return R5;So=1;var e=y1(),t=[2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],r=[e.error,e.error,e.start,3,3,3,4,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,0,1,2,2,2,3];return R5={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"x-euc-tw"},R5}var D5,Eo;function pC(){if(Eo)return D5;Eo=1;var e=g2(),t=Qt(),r=e3().EUCTWDistributionAnalysis,n=mC();function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(n),o._mDistributionAnalyzer=new r,o.reset()}this.getCharsetName=function(){return"EUC-TW"},s()}return i.prototype=new t,D5=i,D5}var $5,Ao;function gC(){if(Ao)return $5;Ao=1;var e=il(),t=nC(),r=oC(),n=aC(),i=uC(),o=dC(),s=hC(),a=pC();function l(){e.apply(this),this._mProbers=[new r,new n,new i,new o,new s,new t,new a];const u=this._mProbers.map(d=>d.getCharsetName());this.getSupportedCharsetNames=function(){return u},this.reset()}return l.prototype=new e,$5=l,$5}var F5,To;function wC(){if(To)return F5;To=1;var e=Y2(),t=y1(),r=Z2();function n(i,o,s){e.apply(this);var a=64,l=1024,u=.95,d=.05,f=250,p=4,h=p-1,m=this;function g(y,_,C){m._mModel=y,m._mReversed=_,m._mNameProber=C,m.reset()}this.reset=function(){n.prototype.reset.apply(this),this._mLastOrder=255,this._mSeqCounters=[];for(var y=0;y<p;this._mSeqCounters[y++]=0);this._mTotalSeqs=0,this._mTotalChar=0,this._mFreqChar=0},this.getCharsetName=function(){return this._mNameProber?this._mNameProber.getCharsetName():this._mModel.charsetName},this.feed=function(y){this._mModel.keepEnglishLetter||(y=this.filterWithoutEnglishLetters(y));var _=y.length;if(!_)return this.getState();for(var C=0,E;C<_;C++){E=y.charCodeAt(C);var M=this._mModel.charToOrderMap[E];M<f&&this._mTotalChar++,M<a&&(this._mFreqChar++,this._mLastOrder<a&&(this._mTotalSeqs++,this._mReversed?this._mSeqCounters[this._mModel.precedenceMatrix[M*a+this._mLastOrder]]++:this._mSeqCounters[this._mModel.precedenceMatrix[this._mLastOrder*a+M]]++)),this._mLastOrder=M}if(this.getState()==t.detecting&&m._mTotalSeqs>l){var O=this.getConfidence();O>u?r.log(this._mModel.charsetName+" confidence = "+O+`, we have a winner
|
|
57
|
+
`):O<d&&(r.log(this._mModel.charsetName+" confidence = "+O+", below negative shortcut threshhold "+d+`
|
|
58
|
+
`),this._mState=t.notMe)}return this.getState()},this.getConfidence=function(){var y=.01;return this._mTotalSeqs>0&&(y=1*this._mSeqCounters[h]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,y*=this._mFreqChar/this._mTotalChar,y>=1&&(y=.99)),y},o=o!==void 0?o:!1,s=s!==void 0?s:null,g(i,o,s)}return n.prototype=new e,F5=n,F5}var P5={},Mo;function yC(){return Mo||(Mo=1,function(e){e.win1255_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,69,91,79,80,92,89,97,90,68,111,112,82,73,95,85,78,121,86,71,67,102,107,84,114,103,115,253,253,253,253,253,253,50,74,60,61,42,76,70,64,53,105,93,56,65,54,49,66,110,51,43,44,63,81,77,98,75,108,253,253,253,253,253,124,202,203,204,205,40,58,206,207,208,209,210,211,212,213,214,215,83,52,47,46,72,32,94,216,113,217,109,218,219,220,221,34,116,222,118,100,223,224,117,119,104,125,225,226,87,99,227,106,122,123,228,55,229,230,101,231,232,120,233,48,39,57,234,30,59,41,88,33,37,36,31,29,35,235,62,28,236,126,237,238,38,45,239,240,241,242,243,127,244,245,246,247,248,249,250,9,8,20,16,3,2,24,14,22,1,25,15,4,11,6,23,12,19,13,26,18,27,21,17,7,10,5,251,252,128,96,253],e.HebrewLangModel=[0,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,3,2,1,2,0,1,0,0,3,0,3,1,0,0,1,3,2,0,1,1,2,0,2,2,2,1,1,1,1,2,1,1,1,2,0,0,2,2,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,1,2,1,2,1,2,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,1,2,1,3,1,1,0,0,2,0,0,0,1,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,0,1,2,2,1,3,1,2,1,1,2,2,0,0,2,2,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,0,1,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,2,2,2,2,3,2,1,2,1,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,2,3,2,2,3,2,2,2,1,2,2,2,2,1,2,1,1,2,2,0,1,2,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,0,2,2,2,2,2,0,2,0,2,2,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,0,2,2,2,0,2,1,2,2,2,0,0,2,1,0,0,0,0,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,2,1,2,3,2,2,2,1,2,1,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,1,0,2,0,2,0,2,1,2,2,2,0,0,1,2,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,2,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,2,3,2,2,3,2,1,2,1,1,1,0,1,1,1,1,1,3,0,1,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,2,1,2,3,3,2,3,3,3,3,2,3,2,1,2,0,2,1,2,0,2,0,2,2,2,0,0,1,2,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,1,2,2,3,3,2,3,2,3,2,2,3,1,2,2,0,2,2,2,0,2,1,2,2,2,0,0,1,2,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,2,2,2,3,3,3,3,1,3,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,2,3,2,2,2,1,2,2,0,2,2,2,2,0,2,0,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,1,3,2,3,3,2,3,3,2,2,1,2,2,2,2,2,2,0,2,1,2,1,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,2,3,3,2,3,3,3,3,2,3,2,3,3,3,3,3,2,2,2,2,2,2,2,1,0,2,0,1,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,2,1,2,3,3,3,3,3,3,3,2,3,2,3,2,1,2,3,0,2,1,2,2,0,2,1,1,2,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,2,0,3,3,3,3,3,3,3,3,3,2,3,3,3,3,2,1,3,1,2,2,2,1,2,3,3,1,2,1,2,2,2,2,0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,0,2,3,3,3,1,3,3,3,1,2,2,2,2,1,1,2,2,2,2,2,2,0,2,0,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,2,2,3,3,3,2,1,2,3,2,3,2,2,2,2,1,2,1,1,1,2,2,0,2,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,3,1,2,2,2,2,3,2,3,1,1,2,2,1,2,2,1,1,0,2,2,2,2,0,1,0,1,2,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,0,0,1,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,0,1,0,1,1,0,1,1,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,2,2,1,2,2,2,2,2,2,2,1,2,2,1,2,2,1,1,1,1,1,1,1,1,2,1,1,0,3,3,3,0,3,0,2,2,2,2,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,1,2,2,2,1,1,1,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,0,2,2,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,1,0,2,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,2,2,2,1,2,2,2,1,1,2,2,2,2,2,2,2,1,2,2,1,0,1,1,1,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,1,1,1,1,2,1,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,0,2,1,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,1,2,1,2,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,1,2,1,1,2,1,1,1,2,1,2,1,2,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,2,2,1,2,2,2,2,2,2,2,2,1,2,1,1,1,1,1,1,2,1,2,1,1,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,0,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,1,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,0,1,1,0,0,0,1,1,1,2,1,2,2,2,0,2,0,2,0,1,1,2,1,1,1,1,2,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,2,2,0,1,0,0,1,1,2,2,1,2,0,2,0,0,0,1,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,1,2,0,2,0,0,1,1,1,1,1,1,0,1,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,2,1,1,0,1,0,0,1,1,1,2,2,0,0,1,0,0,0,1,0,0,1,1,1,2,1,0,1,1,1,0,1,0,1,1,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,2,2,1,0,2,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,1,0,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,1,1,0,1,0,0,0,1,1,0,1,2,0,1,0,1,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,1,0,0,1,1,2,1,1,2,0,1,0,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,0,0,2,1,1,2,0,2,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,1,0,1,0,0,2,2,1,2,1,1,0,1,0,0,0,1,1,0,1,2,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,2,1,1,1,0,2,1,1,0,0,0,2,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,0,2,1,1,0,1,0,0,0,1,1,0,1,2,2,1,1,1,0,1,1,0,1,1,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,1,0,1,0,0,1,1,0,1,2,1,0,2,0,0,0,1,1,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,2,1,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,1,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,2,1,1,1,1,1,0,1,0,0,0,0,1,0,1,0,1,1,1,2,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0],e.Win1255HebrewModel={charToOrderMap:e.win1255_CharToOrderMap,precedenceMatrix:e.HebrewLangModel,mTypicalPositiveRatio:.984004,keepEnglishLetter:!1,charsetName:"windows-1255"}}(P5)),P5}var L5,No;function vC(){if(No)return L5;No=1;var e=Y2(),t=y1();Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,o=Number(arguments[1])||0;for(o=o<0?Math.ceil(o):Math.floor(o),o<0&&(o+=i);o<i;o++)if(o in this&&this[o]===n)return o;return-1});function r(){e.apply(this);var n="ê",i="ë",o="í",s="î",a="ï",l="ð",u="ó",d="ô",f="õ",p=5,h=.01,m="ISO-8859-8",g="windows-1255",y=this;function _(){y._mLogicalProber=null,y._mVisualProber=null,y.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(C,E){this._mLogicalProber=C,this._mVisualProber=E},this.isFinal=function(C){return[n,o,a,u,f].indexOf(C)!=-1},this.isNonFinal=function(C){return[i,s,l,d].indexOf(C)!=-1},this.feed=function(C){if(this.getState()==t.notMe)return t.notMe;C=this.filterHighBitOnly(C);for(var E=0,M;E<C.length;E++)M=C[E],M==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&M!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=M;return t.detecting},this.getCharsetName=function(){var C=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(C>=p)return g;if(C<=-p)return m;var E=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return E>h?g:E<-h||C<0?m:g},this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},_()}return r.prototype=new e,L5=r,L5}var B5={},ko;function bC(){return ko||(ko=1,function(e){e.KOI8R_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,68,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,27,3,21,28,13,2,39,19,26,4,23,11,8,12,5,1,15,16,9,7,6,14,24,10,17,18,20,25,30,29,22,54,59,37,44,58,41,48,53,46,55,42,60,36,49,38,31,34,35,43,45,32,40,52,56,33,61,62,51,57,47,63,50,70],e.win1251_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,68,247,248,249,250,251,252,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16],e.latin5_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.macCyrillic_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,68,16,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,255],e.IBM855_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,68,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,27,59,54,70,3,37,21,44,28,58,13,41,2,48,39,53,19,46,218,219,220,221,222,223,224,26,55,4,42,225,226,227,228,23,60,229,230,231,232,233,234,235,11,36,236,237,238,239,240,241,242,243,8,49,12,38,5,31,1,34,15,244,245,246,247,35,16,248,43,9,45,7,32,6,40,14,52,24,56,10,33,17,61,249,250,18,62,20,51,25,57,30,47,29,63,22,50,251,252,255],e.IBM866_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.RussianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,1,3,3,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,2,2,2,2,2,0,0,2,3,3,3,2,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,2,2,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,2,3,3,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,2,3,1,3,3,1,3,3,3,3,2,2,3,0,2,2,2,3,3,2,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,3,3,2,2,3,2,3,3,3,2,1,2,2,0,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,3,0,2,2,3,3,2,1,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,1,2,3,2,2,3,2,3,3,3,3,2,2,3,0,3,2,2,3,1,1,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,2,3,3,3,3,2,2,2,0,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,2,3,2,3,3,3,3,3,3,2,3,2,2,0,1,3,2,1,2,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,1,3,0,1,1,1,1,2,1,1,0,2,2,2,1,2,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,2,2,2,2,1,3,2,3,2,3,2,1,2,2,0,1,1,2,1,2,1,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,2,2,3,2,3,3,3,2,2,2,2,0,2,2,2,2,3,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,2,3,2,2,3,3,3,3,3,3,3,3,3,1,3,2,0,0,3,3,3,3,2,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,3,2,2,3,3,0,2,1,0,3,2,3,2,3,0,0,1,2,0,0,1,0,1,2,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,0,2,3,3,3,3,2,3,3,3,3,1,2,2,0,0,2,3,2,2,2,3,2,3,2,2,3,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,0,2,3,2,3,0,1,2,3,3,2,0,2,3,0,0,2,3,2,2,0,1,3,1,3,2,2,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,3,0,2,3,3,3,3,3,3,3,3,2,1,3,2,0,0,2,2,3,3,3,2,3,3,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,2,2,2,3,3,0,0,1,1,1,1,1,2,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,3,3,3,3,3,0,3,2,3,3,2,3,2,0,2,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,2,2,2,2,3,1,3,2,3,1,1,2,1,0,2,2,2,2,1,3,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,1,2,2,1,3,1,0,3,0,0,3,0,0,0,1,1,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,1,1,3,3,3,2,2,1,2,2,3,1,1,2,0,0,2,2,1,3,0,0,2,1,1,2,1,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,3,3,1,2,2,2,1,2,1,3,3,1,1,2,1,2,1,2,2,0,2,0,0,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,3,2,1,3,2,2,3,2,0,3,2,0,3,0,1,0,1,1,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,3,3,3,2,2,2,3,3,1,2,1,2,1,0,1,0,1,1,0,1,0,0,2,1,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,1,1,2,1,2,3,3,2,2,1,2,2,3,0,2,1,0,0,2,2,3,2,1,2,2,2,2,2,3,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,1,1,0,1,1,2,2,1,1,3,0,0,1,3,1,1,1,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,3,3,3,2,0,0,0,2,1,0,1,0,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,2,3,2,2,2,1,2,2,2,1,2,1,0,0,1,1,1,0,2,0,1,1,1,0,0,1,1,1,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,0,0,0,0,1,0,0,0,0,3,0,1,2,1,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,1,2,0,0,1,1,2,1,0,1,1,1,1,0,1,1,1,1,0,1,0,0,1,0,0,1,1,0,2,2,3,2,2,2,3,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,0,1,0,1,1,1,0,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,1,1,0,3,3,3,2,2,2,2,3,2,2,1,1,2,2,2,2,1,1,3,1,2,1,2,0,0,1,1,0,1,0,2,1,1,1,1,1,1,2,1,0,1,1,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,1,0,2,0,0,1,0,3,2,2,2,2,1,2,1,2,1,2,0,0,0,2,1,2,2,1,1,2,2,0,1,1,0,2,1,1,1,1,1,0,1,1,1,2,1,1,1,2,1,0,1,2,1,1,1,1,0,1,1,1,0,0,1,0,0,1,1,3,2,2,2,1,1,1,2,3,0,0,0,0,2,0,2,2,1,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,2,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,2,3,2,3,2,1,2,2,2,2,1,0,0,0,2,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,2,1,1,1,2,1,0,2,0,0,1,0,1,0,0,1,0,0,1,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,3,0,0,1,0,2,2,2,3,2,2,2,2,2,2,2,0,0,0,2,1,2,1,1,1,2,2,0,0,0,1,2,1,1,1,1,1,0,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,1,2,3,2,3,3,2,0,1,1,1,0,0,1,0,2,0,1,1,3,1,0,0,0,0,0,0,0,1,0,0,2,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,0,2,3,3,3,3,1,2,2,2,2,0,1,1,0,2,1,1,1,2,1,0,1,1,0,0,1,0,1,0,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,2,0,0,1,1,2,2,1,0,0,2,0,1,1,3,0,0,1,0,0,0,0,0,1,0,1,2,1,1,1,2,0,1,1,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,1,3,2,3,2,1,0,0,2,2,2,0,1,0,2,0,1,1,1,0,1,0,0,0,3,0,1,1,0,0,2,1,1,1,1,0,1,1,0,0,0,0,1,1,0,1,0,0,2,1,1,0,1,0,0,0,1,0,1,0,0,1,1,0,3,1,2,1,1,2,2,2,2,2,2,1,2,2,1,1,0,0,0,2,2,2,0,0,0,1,2,1,0,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,1,1,1,0,1,0,1,1,0,1,1,1,0,0,1,3,0,0,0,0,2,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,1,1,0,0,1,0,1,1,1,0,0,1,0,0,0,1,0,1,1,0,0,1,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,1,1,3,3,2,2,0,0,0,2,2,0,0,0,1,2,0,1,1,2,0,0,0,0,0,0,0,0,1,0,0,2,1,0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,2,3,2,3,2,0,0,0,0,1,1,0,0,0,2,0,2,0,2,0,0,0,0,0,1,0,0,1,0,0,1,1,1,1,2,0,1,2,1,0,1,1,2,1,1,1,1,1,2,1,1,0,1,0,0,1,1,1,1,1,0,1,1,0,1,3,2,2,2,1,0,0,2,2,1,0,1,2,2,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,2,3,1,2,2,2,2,2,2,1,1,0,0,0,1,0,1,0,2,1,1,1,0,0,0,0,1,1,1,0,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,2,0,0,1,0,3,2,1,2,1,2,2,0,1,0,0,0,2,1,0,0,2,1,1,1,1,0,2,0,2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,0,1,1,1,1,0,0,0,1,1,1,1,0,1,0,0,1,1,2,2,2,2,1,0,0,1,0,0,0,0,0,2,0,1,1,1,1,0,0,0,0,1,0,1,2,0,0,2,0,1,0,1,1,1,2,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,0,2,1,2,2,2,0,3,0,1,1,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,2,2,3,2,2,0,0,1,1,2,0,1,2,1,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,2,2,1,1,2,1,2,2,2,2,2,1,2,2,0,1,0,0,0,1,2,2,2,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,1,0,0,1,1,2,2,2,2,0,1,0,2,2,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,1,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,0,2,2,2,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,0,0,1,0,0,1,1,2,0,0,0,0,1,0,1,0,0,1,0,0,2,0,0,0,1,0,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,1,1,2,0,2,1,1,1,1,0,2,2,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,2,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,2,0,1,2,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],e.Koi8rModel={charToOrderMap:e.KOI8R_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"KOI8-R"},e.Win1251CyrillicModel={charToOrderMap:e.win1251_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"windows-1251"},e.Latin5CyrillicModel={charToOrderMap:e.latin5_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.MacCyrillicModel={charToOrderMap:e.macCyrillic_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"x-mac-cyrillic"},e.Ibm866Model={charToOrderMap:e.IBM866_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM866"},e.Ibm855Model={charToOrderMap:e.IBM855_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM855"}}(B5)),B5}var H5={},Io;function _C(){return Io||(Io=1,function(e){e.Latin7_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,90,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,248,61,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.win1253_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,61,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,253,253,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.GreekLangModel=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,2,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,2,1,3,3,3,3,2,3,3,2,3,3,2,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,2,3,3,0,2,0,1,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,0,0,0,0,3,3,0,3,1,3,3,3,0,3,3,0,3,3,3,3,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,0,3,3,3,3,3,0,3,2,2,2,3,0,2,3,3,3,3,3,2,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,2,3,3,3,3,0,3,1,3,3,3,3,2,3,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,3,0,0,0,3,3,2,3,3,3,3,3,0,0,3,2,3,0,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,3,0,0,3,3,0,2,3,0,3,0,3,3,3,0,0,3,0,3,0,2,2,3,3,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,3,2,3,3,3,3,0,3,3,3,3,3,0,3,3,2,3,2,3,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,3,2,3,3,3,3,3,3,0,2,3,2,3,2,2,2,3,2,3,3,2,3,0,2,2,2,3,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,3,3,3,2,3,3,0,0,3,0,3,0,0,0,3,2,0,3,0,3,0,0,2,0,2,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,0,0,0,3,3,0,3,3,3,0,0,1,2,3,0,3,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,0,3,2,2,3,3,0,3,3,3,3,3,2,1,3,0,3,2,3,3,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,2,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,3,0,3,2,3,0,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,2,0,3,2,3,0,0,3,2,3,0,2,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,2,3,3,3,3,3,3,0,2,3,0,3,0,0,0,3,3,0,3,0,2,0,0,2,3,1,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,3,0,3,0,3,3,2,3,0,3,3,3,3,3,3,0,3,3,3,0,2,3,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,0,0,3,0,0,0,3,3,0,3,0,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,3,3,3,3,3,3,0,0,3,0,2,0,0,0,3,3,0,3,0,3,0,0,2,0,2,0,0,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,0,3,0,2,0,3,2,0,3,2,3,2,3,0,0,3,2,3,2,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,3,3,3,3,3,0,0,0,3,0,2,1,0,0,3,2,2,2,0,3,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,2,0,3,0,3,0,3,3,0,2,1,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,0,3,3,3,3,3,3,0,2,3,0,3,0,0,0,2,1,0,2,2,3,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,3,3,3,2,3,0,0,1,3,0,2,0,0,0,0,3,0,1,0,2,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,1,0,3,0,0,0,3,2,0,3,2,3,3,3,0,0,3,0,3,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,0,0,3,0,0,0,0,2,0,2,3,3,2,2,2,2,3,0,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,0,0,0,0,0,0,2,3,0,2,0,2,3,2,0,0,3,0,3,0,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,2,2,3,0,2,0,3,0,0,0,2,0,0,0,0,1,2,0,2,0,2,0,0,2,0,2,0,2,2,0,0,1,0,2,2,2,0,2,2,2,0,2,2,2,0,0,2,0,0,1,0,0,0,0,0,2,0,3,3,2,0,0,0,0,0,0,1,3,0,2,0,2,2,2,0,0,2,0,3,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,3,2,0,2,2,0,2,0,2,2,0,2,0,2,2,2,0,0,0,0,0,0,2,3,0,0,0,2,0,1,2,0,0,0,0,2,2,0,0,0,2,1,0,2,2,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,2,1,0,2,3,2,2,3,2,3,2,0,0,3,3,3,0,0,3,2,0,0,0,1,1,0,2,0,2,2,0,2,0,2,0,2,2,0,0,2,0,2,2,2,0,2,2,2,2,0,0,2,0,0,0,2,0,1,0,0,0,0,0,3,0,3,3,2,2,0,3,0,0,0,2,2,0,2,2,2,1,2,0,0,1,2,2,0,0,3,0,0,0,2,0,1,2,0,0,0,1,2,0,0,0,0,0,0,0,2,2,0,1,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,2,0,0,0,2,0,2,3,3,0,2,0,0,0,0,0,0,2,2,2,0,2,2,0,2,0,2,0,2,2,0,0,2,2,2,2,1,0,0,2,2,0,2,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,3,2,3,0,0,0,3,0,0,2,2,0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,0,2,0,0,2,2,0,0,2,2,2,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,3,2,0,2,2,2,2,2,0,0,0,2,0,0,0,0,2,0,1,0,0,2,0,1,0,0,0,0,2,2,2,0,2,2,0,1,2,0,2,2,2,0,2,2,2,2,1,2,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,2,0,2,2,0,0,0,0,1,2,1,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,0,0,2,0,0,0,2,2,0,2,0,0,0,1,0,0,2,0,2,0,2,2,0,0,0,0,0,0,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,2,3,2,2,0,0,0,0,0,0,1,3,0,2,0,2,2,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,3,2,0,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,1,1,0,0,2,1,2,0,2,2,0,1,0,0,1,0,0,0,2,0,0,0,0,0,0,0,3,0,2,2,2,0,0,2,0,0,0,2,0,0,0,2,3,0,2,0,0,0,0,0,0,2,2,0,0,0,2,0,1,2,0,0,0,1,2,2,1,0,0,0,2,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,2,2,0,2,0,0,2,0,0,0,0,1,2,1,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,3,1,2,2,0,2,0,0,0,0,2,0,0,0,2,0,0,3,0,0,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,2,0,2,2,0,0,2,2,2,2,2,0,1,2,0,0,0,2,2,0,1,0,2,0,0,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,2,0,1,2,0,0,0,0,2,2,1,0,1,0,1,0,2,2,2,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,2,0,0,2,2,0,0,0,0,1,0,0,0,0,0,0,2,0,2,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,2,2,2,2,0,0,0,3,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,0,0,0,1,2,0,0,0,0,0,0,2,2,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,2,2,2,0,0,0,2,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,2,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,2,0,0,0,0,2,2,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,2,1,0,0,0,0,0,0,2,0,0,2,0,2,2,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,2,0,0,2,0,2,2,0,0,0,0,2,0,2,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,3,0,0,0,2,2,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,1,0,0,0,0,2,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,2,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.Latin7GreekModel={charToOrderMap:e.Latin7_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"ISO-8859-7"},e.Win1253GreekModel={charToOrderMap:e.win1253_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"windows-1253"}}(H5)),H5}var V5={},Oo;function CC(){return Oo||(Oo=1,function(e){e.TIS620CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,182,106,107,100,183,184,185,101,94,186,187,108,109,110,111,188,189,190,89,95,112,113,191,192,193,194,253,253,253,253,253,253,64,72,73,114,74,115,116,102,81,201,117,90,103,78,82,96,202,91,79,84,104,105,97,98,92,203,253,253,253,253,253,209,210,211,212,213,88,214,215,216,217,218,219,220,118,221,222,223,224,99,85,83,225,226,227,228,229,230,231,232,233,234,235,236,5,30,237,24,238,75,8,26,52,34,51,119,47,58,57,49,53,55,43,20,19,44,14,48,3,17,25,39,62,31,54,45,9,16,2,61,15,239,12,42,46,18,21,76,4,66,63,22,10,1,36,23,13,40,27,32,35,86,240,241,242,243,244,11,28,41,29,33,245,50,37,6,7,67,77,38,93,246,247,68,56,59,65,69,60,70,80,71,87,248,249,250,251,252,253],e.ThaiLangModel=[0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,3,3,2,3,2,3,3,2,2,2,3,1,2,3,0,3,3,2,2,1,2,3,3,1,2,0,1,3,0,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,2,2,3,3,3,3,1,2,3,3,3,3,3,2,2,2,2,3,3,2,2,3,3,2,2,3,2,3,2,2,3,3,1,2,3,1,2,2,3,3,1,0,2,1,0,0,3,1,2,1,0,0,1,0,0,0,0,0,0,1,0,1,3,3,3,3,3,3,2,2,3,3,3,3,2,3,2,2,3,3,2,2,3,2,2,2,2,1,1,3,1,2,1,1,3,2,1,0,2,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,2,2,3,2,3,3,2,3,1,1,2,3,2,2,2,3,2,2,2,2,2,1,2,1,2,2,1,1,3,3,2,1,0,1,2,2,0,1,3,0,0,0,1,1,0,0,0,0,0,2,3,0,0,2,1,1,3,3,2,3,3,2,0,0,3,3,0,3,3,0,2,2,3,1,2,2,1,1,1,0,2,2,2,0,2,2,1,1,0,2,1,0,2,0,0,2,0,1,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,3,3,2,3,3,2,0,0,3,3,0,2,3,0,2,1,2,2,2,2,1,2,0,0,2,2,2,0,2,2,1,1,0,2,1,0,2,0,0,2,0,1,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,3,3,2,3,2,3,2,0,2,2,1,3,2,1,3,2,1,2,3,2,2,3,0,2,3,2,2,1,2,2,2,2,1,2,2,0,0,0,0,2,0,1,2,0,1,1,1,0,1,0,3,1,1,0,0,0,0,0,0,0,0,0,1,0,3,3,2,3,3,2,3,2,2,2,3,2,2,3,2,2,1,2,3,2,2,3,1,3,2,2,2,3,2,2,2,3,3,2,1,3,0,1,1,1,0,2,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,3,0,3,3,3,3,3,0,0,3,0,2,2,3,3,3,3,3,0,0,0,1,1,3,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,2,3,0,0,0,3,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,2,0,3,3,3,3,0,0,2,3,0,0,3,0,3,3,2,3,3,3,3,3,0,0,3,3,3,0,0,0,3,3,0,0,3,0,0,0,0,2,0,0,2,1,1,3,0,0,1,0,0,2,3,0,1,0,0,0,0,0,0,0,1,0,3,3,3,3,2,3,3,3,3,3,3,3,1,2,1,3,3,2,2,1,2,2,2,3,1,1,2,0,2,1,2,1,2,2,1,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,3,0,2,1,2,3,3,3,0,2,0,2,2,0,2,1,3,2,2,1,2,1,0,0,2,2,1,0,2,1,2,2,0,1,1,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,3,3,1,1,3,0,2,3,1,1,3,2,1,1,2,0,2,2,3,2,1,1,1,1,1,2,3,0,0,1,3,1,2,1,2,0,3,0,0,0,1,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,3,1,1,3,2,3,3,3,1,3,2,1,3,2,1,3,2,2,2,2,1,3,3,1,2,1,3,1,2,3,0,2,1,1,3,2,2,2,1,2,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,3,2,3,3,2,3,2,3,2,3,3,2,1,0,3,2,2,2,1,2,2,2,1,2,2,1,2,1,1,2,2,2,3,0,1,3,1,1,1,1,0,1,1,0,2,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,3,2,2,1,1,3,2,3,2,3,2,0,3,2,2,1,2,0,2,2,2,1,2,2,2,2,1,3,2,1,2,2,1,0,2,0,1,0,0,1,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,1,3,3,3,3,3,2,3,1,2,3,3,2,2,3,0,1,1,2,0,3,3,2,2,3,0,1,1,3,0,0,0,0,3,1,0,3,3,0,2,0,2,1,0,0,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,0,1,3,1,1,2,1,2,1,1,3,1,1,0,2,3,1,1,1,1,1,1,1,1,3,1,1,2,2,2,2,1,1,1,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,2,2,1,1,2,1,3,3,2,3,2,2,3,2,2,3,1,2,2,1,2,0,3,2,1,2,2,2,2,2,1,3,2,1,2,2,2,1,1,1,1,0,0,1,1,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,1,3,3,0,2,1,0,3,2,0,0,3,1,0,1,1,0,1,0,0,0,0,0,1,1,0,0,1,0,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,2,2,3,0,0,1,3,0,3,2,0,3,2,2,3,3,3,3,3,1,0,2,2,2,0,2,2,1,2,0,2,3,0,0,0,0,1,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,2,3,1,3,3,2,3,3,0,3,3,0,3,2,2,3,2,3,3,3,0,0,2,2,3,0,1,1,1,3,0,0,3,0,0,0,2,2,0,1,3,0,1,2,2,2,3,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,3,2,3,3,2,0,3,3,2,2,3,1,3,2,1,3,2,0,1,2,2,0,2,3,2,1,0,3,0,0,0,0,3,0,0,2,3,1,3,0,0,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,3,2,2,2,1,2,0,1,3,1,1,3,1,3,0,0,2,1,1,1,1,2,1,1,1,0,2,1,0,1,1,2,0,0,0,3,1,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,0,3,1,0,0,0,1,0,3,3,3,3,2,2,2,2,2,1,3,1,1,1,2,0,1,1,2,1,2,1,3,2,0,0,3,1,1,1,1,1,3,1,0,2,3,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,0,3,3,0,2,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,1,3,0,0,1,2,0,0,2,0,3,3,2,3,3,3,2,3,0,0,2,2,2,0,0,0,2,2,0,0,1,0,0,0,0,3,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,0,0,0,0,0,0,0,0,0,1,2,3,1,3,3,0,0,1,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,1,2,3,1,2,3,1,0,3,0,2,2,1,0,2,1,1,2,0,1,0,0,1,1,1,1,0,1,0,0,1,0,0,0,0,1,1,0,3,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,0,1,1,1,3,1,2,2,2,2,2,2,1,1,1,1,0,3,1,0,1,3,1,1,1,1,1,1,0,2,0,1,3,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,3,0,2,2,1,3,3,2,3,3,0,1,1,0,2,2,1,2,1,3,3,1,0,0,3,2,0,0,0,0,2,1,0,1,0,0,0,0,1,2,0,1,1,3,1,1,2,2,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,3,0,0,3,0,3,1,0,1,1,1,3,2,0,0,0,3,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,3,3,1,3,2,1,3,3,1,2,2,0,1,2,1,0,1,2,0,0,0,0,0,3,0,0,0,3,0,0,0,0,3,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,2,0,3,3,3,2,2,0,1,1,0,1,3,0,0,0,2,2,0,0,0,0,3,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,3,1,2,0,0,2,1,0,3,1,0,1,2,0,1,1,1,1,3,0,0,3,1,1,0,2,2,1,1,0,2,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,3,1,2,0,0,2,2,0,1,2,0,1,0,1,3,1,2,1,0,0,0,2,0,3,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,1,2,2,0,0,0,2,0,2,1,0,1,1,0,1,1,1,2,1,0,0,1,1,1,0,2,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,2,0,1,3,1,1,1,1,0,0,0,0,3,2,0,1,0,0,0,1,2,0,0,0,1,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,3,2,2,0,0,0,1,0,0,0,0,2,3,2,1,2,2,3,0,0,0,2,3,1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,3,3,2,2,0,1,0,0,0,0,2,0,2,0,1,0,0,0,1,1,0,0,0,2,1,0,1,0,1,1,0,0,0,1,0,2,0,0,1,0,3,0,1,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,1,0,0,1,0,0,0,0,0,1,1,2,0,0,0,0,1,0,0,1,3,1,0,0,0,0,1,1,0,0,0,1,0,0,0,0,3,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,3,3,1,1,1,1,2,3,0,0,2,1,1,1,1,1,0,2,1,1,0,0,0,2,1,0,1,2,1,1,0,1,2,1,0,3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,1,0,0,0,0,0,0,0,3,0,0,0,3,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,0,0,0,0,0,0,1,2,1,0,1,1,0,2,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,3,0,1,0,0,0,2,0,0,0,0,0,0,0,1,2,0,0,0,0,0,3,3,0,0,1,1,2,0,0,1,2,1,0,1,1,1,0,1,1,0,0,2,1,1,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,1,0,0,0,0,1,0,0,0,0,3,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,2,0,1,2,0,0,1,1,0,2,0,1,0,0,1,0,0,0,0,1,0,0,0,2,0,0,0,0,1,0,0,1,0,1,1,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,1,1,0,2,1,3,0,0,0,0,1,1,0,0,0,0,0,0,0,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,1,0,0,2,0,0,2,0,0,1,1,2,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.TIS620ThaiModel={charToOrderMap:e.TIS620CharToOrderMap,precedenceMatrix:e.ThaiLangModel,mTypicalPositiveRatio:.926386,keepEnglishLetter:!1,charsetName:"TIS-620"}}(V5)),V5}var U5={},Ro;function xC(){return Ro||(Ro=1,function(e){e.Latin2_HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,71,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,75,198,199,200,201,202,203,204,205,79,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,81,222,78,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,69,63,239,240,241,82,14,74,242,70,80,243,72,244,15,83,77,84,30,76,85,245,246,247,25,73,42,24,248,249,250,31,56,29,251,252,253],e.win1250HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,72,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,78,181,69,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,76,198,199,200,201,202,203,204,205,81,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,83,222,80,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,70,63,239,240,241,84,14,75,242,71,82,243,73,244,15,85,79,86,30,77,87,245,246,247,25,74,42,24,248,249,250,31,56,29,251,252,253],e.HungarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,2,3,3,1,1,2,2,2,2,2,1,2,3,2,2,3,3,3,3,3,2,3,3,3,3,3,3,1,2,3,3,3,3,2,3,3,1,1,3,3,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,3,2,1,3,3,3,3,3,2,3,3,3,3,3,1,1,2,3,3,3,3,3,3,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,1,1,2,3,3,3,1,3,3,3,3,3,1,3,3,2,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,2,3,3,2,3,3,3,3,3,2,3,3,2,2,3,2,3,2,0,3,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,3,3,2,3,3,3,1,2,3,2,2,3,1,2,3,3,2,2,0,3,3,3,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,3,2,3,3,3,3,2,3,3,3,3,0,2,3,2,0,0,0,1,1,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,1,1,1,3,3,2,1,3,2,2,3,2,1,3,2,2,1,0,3,3,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,1,2,3,3,3,3,1,2,1,3,3,3,3,2,2,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,2,1,3,3,3,3,3,2,2,1,3,3,3,0,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,2,3,3,3,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,2,3,2,3,3,3,1,3,2,2,2,3,1,1,3,3,1,1,0,3,3,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,2,3,3,3,2,3,2,3,3,3,2,3,3,3,3,3,1,2,3,2,2,0,2,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,2,2,3,1,3,3,2,2,1,3,3,3,1,1,3,1,2,3,2,3,2,2,2,1,0,2,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,1,1,3,3,3,3,3,1,2,3,3,3,3,1,2,1,3,3,3,2,2,3,2,1,0,3,2,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,3,3,3,3,3,1,2,3,3,3,3,1,1,0,3,3,3,3,0,2,3,0,0,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,2,2,2,2,3,3,0,1,2,3,2,3,2,2,3,2,1,2,0,2,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,1,2,3,3,3,2,1,2,3,3,2,2,2,3,2,3,3,1,3,3,1,1,0,2,3,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,1,2,2,2,2,3,3,3,1,1,1,3,3,1,1,3,1,1,3,2,1,2,3,1,1,0,2,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,1,2,1,1,3,3,1,1,1,1,3,3,1,1,2,2,1,2,1,1,2,2,1,1,0,2,2,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,1,1,2,1,1,3,3,1,0,1,1,3,3,2,0,1,1,2,3,1,0,2,2,1,0,0,1,3,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,2,1,3,3,3,3,3,1,2,3,2,3,3,2,1,1,3,2,3,2,1,2,2,0,1,2,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,2,2,2,2,3,1,2,2,1,1,3,3,0,3,2,1,2,3,2,1,3,3,1,1,0,2,1,3,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,2,2,3,2,3,3,3,2,1,1,3,3,1,1,1,2,2,3,2,3,2,2,2,1,0,2,2,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,3,3,3,3,3,0,0,3,3,2,3,0,0,0,2,3,3,1,0,1,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,3,3,3,3,3,1,2,3,3,2,2,1,1,0,3,3,2,2,1,2,2,1,0,2,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,2,1,3,1,2,3,3,2,2,1,1,2,2,1,1,1,1,3,2,1,1,1,1,2,1,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,3,3,1,1,1,1,1,3,3,3,0,1,1,3,3,1,1,1,1,1,2,2,0,3,1,1,2,0,2,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,1,0,1,2,1,2,2,0,1,2,3,1,2,0,0,0,2,1,1,1,1,1,2,0,0,1,1,0,0,0,0,1,2,1,2,2,2,1,2,1,2,0,2,0,2,2,1,1,2,1,1,2,1,1,1,0,1,0,0,0,1,1,0,1,1,1,2,3,2,3,3,0,1,2,2,3,1,0,1,0,2,1,2,2,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,3,2,2,1,0,0,3,2,3,2,0,0,0,1,1,3,0,0,1,1,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,3,3,1,0,1,3,2,3,1,1,1,0,1,1,1,1,1,3,1,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,1,2,2,2,1,0,1,2,3,3,2,0,0,0,2,1,1,1,2,1,1,1,0,1,1,1,0,0,0,1,2,2,2,2,2,1,1,1,2,0,2,1,1,1,1,1,2,1,1,1,1,1,1,0,1,1,1,0,0,1,1,3,2,2,1,0,0,1,1,2,2,0,3,0,1,2,1,1,0,0,1,1,1,0,1,1,1,1,0,2,1,1,1,2,2,1,1,1,2,1,2,1,1,1,1,1,1,1,2,1,1,1,2,3,1,1,1,1,1,1,1,1,1,0,1,2,3,3,0,1,0,0,0,3,3,1,0,0,1,2,2,1,0,0,0,0,2,0,0,1,1,1,0,2,1,1,1,2,1,1,1,1,1,1,2,1,1,0,1,1,0,1,1,1,0,1,2,1,1,0,1,1,1,1,1,1,1,0,1,2,3,3,0,1,0,0,0,2,2,0,0,0,0,1,2,2,0,0,0,0,1,0,0,1,1,0,0,2,0,1,0,2,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,0,1,3,2,2,0,1,0,1,0,2,3,2,0,0,1,2,2,1,0,0,1,1,1,0,0,2,1,0,1,2,2,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,0,2,1,0,1,1,0,1,1,1,0,1,1,2,1,1,0,1,2,2,2,0,0,1,0,0,2,2,1,1,0,0,2,1,1,0,0,0,1,2,0,0,2,1,0,0,2,1,1,1,2,1,1,1,1,2,1,2,1,1,1,2,2,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,1,1,0,1,1,2,3,0,0,0,1,0,3,2,1,0,0,1,2,1,1,0,0,0,0,2,1,0,1,1,0,0,2,1,2,1,1,1,0,0,0,1,0,1,1,1,1,1,2,0,0,1,0,0,0,2,0,0,1,1,1,1,1,1,1,1,0,1,3,0,0,2,1,2,2,1,0,0,2,1,2,2,0,0,0,2,1,1,1,0,1,1,0,0,1,1,2,0,0,0,1,2,1,2,2,1,1,2,1,2,0,1,1,1,1,1,1,1,1,1,2,1,1,0,0,1,1,1,1,0,0,1,1,3,2,0,0,0,1,0,2,2,2,0,0,0,2,2,1,0,0,0,0,3,1,1,1,1,0,0,2,1,1,1,2,1,0,1,1,1,0,1,1,1,1,1,1,1,0,2,1,0,0,1,0,1,1,0,1,1,1,1,1,1,0,1,2,3,2,0,0,0,1,0,2,2,0,0,0,0,2,1,1,0,0,0,0,2,1,0,1,1,0,0,2,1,1,0,2,1,1,1,1,2,1,2,1,2,0,1,1,1,0,2,1,1,1,2,1,1,1,1,0,1,1,1,1,1,0,1,3,1,1,2,2,2,3,2,1,1,2,2,1,1,0,1,0,2,2,1,1,1,1,1,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,0,0,0,0,2,2,0,0,0,0,2,2,1,0,0,0,1,1,0,0,1,2,0,0,2,1,1,1,2,2,1,1,1,2,1,2,1,1,0,1,1,1,1,2,1,1,1,2,1,1,1,1,0,1,2,1,1,1,0,1,1,0,0,1,2,3,2,1,0,0,2,0,1,1,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,0,0,0,1,2,1,2,1,2,1,1,1,2,0,2,1,1,1,0,1,2,0,0,1,1,1,0,0,0,0,0,0,0,0,0,2,3,2,0,0,0,0,0,1,1,2,1,0,0,1,1,1,0,0,0,0,2,0,0,1,1,0,0,2,1,1,1,2,1,1,1,1,1,1,2,1,0,1,1,1,1,0,2,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,2,2,0,1,1,1,0,2,2,2,0,0,0,3,2,1,0,0,0,1,1,0,0,1,1,0,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,0,0,1,1,1,0,1,0,1,2,1,0,2,1,1,2,2,1,1,2,1,1,1,0,0,0,1,1,0,1,1,1,1,0,0,1,1,1,0,0,0,1,2,2,2,2,2,1,1,1,2,0,2,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,1,0,1,2,3,0,0,0,1,0,2,2,0,0,0,0,2,2,0,0,0,0,0,1,0,0,1,0,0,0,2,0,1,0,2,1,1,1,1,1,0,2,0,0,0,1,2,1,1,1,1,0,1,2,0,1,0,1,0,1,1,1,0,1,0,1,2,2,2,0,0,0,1,0,2,1,2,0,0,0,1,1,2,0,0,0,0,1,0,0,1,1,0,0,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,0,1,1,2,2,0,0,0,1,0,2,2,2,0,0,0,1,1,0,0,0,0,0,1,1,0,2,0,0,1,1,1,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,0,1,1,0,1,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,1,2,1,0,0,1,1,1,2,0,0,0,1,1,0,1,0,1,1,0,0,1,0,0,0,0,0,0,2,1,2,1,1,1,1,1,2,0,2,0,1,1,0,1,2,1,0,1,1,1,0,0,0,0,0,0,1,0,0,2,1,1,0,1,2,0,0,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,0,1,0,0,0,2,1,0,1,2,2,1,1,1,1,1,2,1,1,0,1,1,1,1,2,1,1,1,2,1,1,0,1,0,1,1,1,1,1,0,1,1,2,2,0,0,0,0,0,1,1,0,0,0,0,2,1,0,0,0,0,0,2,0,0,2,2,0,0,2,0,0,1,2,1,1,1,1,1,1,1,0,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,2,0,0,3,1,0,2,1,1,1,0,0,1,1,1,0,0,0,1,1,0,0,0,1,0,0,1,0,1,0,1,2,1,0,1,1,1,2,1,1,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,1,0,0,0,1,0,0,2,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,2,0,0,0,2,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,2,1,1,0,0,1,1,1,1,1,0,1,2,1,1,1,2,1,1,1,0,1,1,2,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,2,1,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,0,0,0,1,2,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,2,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,1,1,1,2,0,0,1,0,0,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,2,0,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0,0,2,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,1,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0],e.Latin2HungarianModel={charToOrderMap:e.Latin2_HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"ISO-8859-2"},e.Win1250HungarianModel={charToOrderMap:e.win1250HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"windows-1250"}}(U5)),U5}var j5={},Do;function SC(){return Do||(Do=1,function(e){e.Latin5_BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,81,226,227,228,229,230,105,231,232,233,234,235,236,45,237,238,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,239,67,240,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,241,42,16,62,242,243,244,58,245,98,246,247,248,249,250,251,91,252,253],e.win1251BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,206,207,208,209,210,211,212,213,120,214,215,216,217,218,219,220,221,78,64,83,121,98,117,105,222,223,224,225,226,227,228,229,88,230,231,232,233,122,89,106,234,235,236,237,238,45,239,240,73,80,118,114,241,242,243,244,245,62,58,246,247,248,249,250,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,251,67,252,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,253,42,16],e.BulgarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,2,2,1,2,2,3,1,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,2,3,3,3,3,3,3,3,3,0,3,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,2,3,3,3,3,3,3,3,3,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,1,3,2,3,3,3,3,3,3,3,3,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,3,2,2,1,3,3,3,3,2,2,2,1,1,2,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,2,3,2,2,3,3,1,1,2,3,3,2,3,3,3,3,2,1,2,0,2,0,3,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,1,3,3,3,3,3,2,3,2,3,3,3,3,3,2,3,3,1,3,0,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,1,3,3,2,3,3,3,1,3,3,2,3,2,2,2,0,0,2,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,3,3,1,2,2,3,2,1,1,2,0,2,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,2,3,3,1,2,3,2,2,2,3,3,3,3,3,2,2,3,1,2,0,2,1,2,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,1,3,3,3,3,3,2,3,3,3,2,3,3,2,3,2,2,2,3,1,2,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,1,1,1,2,2,1,3,1,3,2,2,3,0,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,2,2,3,2,2,3,1,2,1,1,1,2,3,1,3,1,2,2,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,1,3,2,2,3,3,1,2,3,1,1,3,3,3,3,1,2,2,1,1,1,0,2,0,2,0,1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,2,2,3,3,3,2,2,1,1,2,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,0,1,2,1,3,3,2,3,3,3,3,3,2,3,2,1,0,3,1,2,1,2,1,2,3,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,3,3,3,3,3,3,3,3,3,3,3,3,0,0,3,1,3,3,2,3,3,2,2,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,0,3,3,3,3,3,2,1,1,2,1,3,3,0,3,1,1,1,1,3,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,3,1,1,3,1,3,3,2,3,2,2,2,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,2,3,2,1,1,1,1,1,3,1,3,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,2,0,3,2,0,3,0,2,0,0,2,1,3,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,2,1,1,1,1,2,1,1,2,1,1,1,2,2,1,2,1,1,1,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,2,1,3,1,1,2,1,3,2,1,1,0,1,2,3,2,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,2,2,1,0,1,0,0,1,0,0,0,2,1,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,2,3,2,3,3,1,3,2,1,1,1,2,1,1,2,1,3,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,3,3,2,3,2,2,2,3,1,2,2,1,1,2,1,1,2,2,0,1,1,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,3,1,0,2,2,1,3,2,1,0,0,2,0,2,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,1,2,0,2,3,1,2,3,2,0,1,3,1,2,1,1,1,0,0,1,0,0,2,2,2,3,2,2,2,2,1,2,1,1,2,2,1,1,2,0,1,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,1,3,3,3,3,3,2,1,2,2,1,2,0,2,0,1,0,1,2,1,2,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,2,3,3,1,1,3,1,0,3,2,1,0,0,0,1,2,0,2,0,1,0,0,0,1,0,1,2,1,2,2,1,1,1,1,1,1,1,2,2,2,1,1,1,1,1,1,1,0,1,2,1,1,1,0,0,0,0,0,1,1,0,0,3,1,0,1,0,2,3,2,2,2,3,2,2,2,2,2,1,0,2,1,2,1,1,1,0,1,2,1,2,2,2,1,1,1,2,2,2,2,1,2,1,1,0,1,2,1,2,2,2,1,1,1,0,1,1,1,1,2,0,1,0,0,0,0,2,3,2,3,3,0,0,2,1,0,2,1,0,0,0,0,2,3,0,2,0,0,0,0,0,1,0,0,2,0,1,2,2,1,2,1,2,2,1,1,1,2,1,1,1,0,1,2,2,1,1,1,1,1,0,1,1,1,0,0,1,2,0,0,3,3,2,2,3,0,2,3,1,1,2,0,0,0,1,0,0,2,0,2,0,0,0,1,0,1,0,1,2,0,2,2,1,1,1,1,2,1,0,1,2,2,2,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,0,2,3,2,3,3,0,0,3,0,1,1,0,1,0,0,0,2,2,1,2,0,0,0,0,0,0,0,0,2,0,1,2,2,2,1,1,1,1,1,2,2,2,1,0,2,0,1,0,1,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,3,3,3,3,2,2,2,2,2,0,2,1,1,1,1,2,1,2,1,1,0,2,0,1,0,1,0,0,2,0,1,2,1,1,1,1,1,1,1,2,2,1,1,0,2,0,1,0,2,0,0,1,1,1,0,0,2,0,0,0,1,1,0,0,2,3,3,3,3,1,0,0,0,0,0,0,0,0,0,0,2,0,0,1,1,0,0,0,0,0,0,1,2,0,1,2,2,2,2,1,1,2,1,1,2,2,2,1,2,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,0,0,2,3,3,3,3,0,2,2,0,2,1,0,0,0,1,1,1,2,0,2,0,0,0,3,0,0,0,0,2,0,2,2,1,1,1,2,1,2,1,1,2,2,2,1,2,0,1,1,1,0,1,1,1,1,0,2,1,0,0,0,1,1,0,0,2,3,3,3,3,0,2,1,0,0,2,0,0,0,0,0,1,2,0,2,0,0,0,0,0,0,0,0,2,0,1,2,1,1,1,2,1,1,1,1,2,2,2,0,1,0,1,1,1,0,0,1,1,1,0,0,1,0,0,0,0,1,0,0,3,3,2,2,3,0,1,0,1,0,0,0,0,0,0,0,1,1,0,3,0,0,0,0,0,0,0,0,1,0,2,2,1,1,1,1,1,2,1,1,2,2,1,2,2,1,0,1,1,1,1,1,0,1,0,0,1,0,0,0,1,1,0,0,3,1,0,1,0,2,2,2,2,3,2,1,1,1,2,3,0,0,1,0,2,1,1,0,1,1,1,1,2,1,1,1,1,2,2,1,2,1,2,2,1,1,0,1,2,1,2,2,1,1,1,0,0,1,1,1,2,1,0,1,0,0,0,0,2,1,0,1,0,3,1,2,2,2,2,1,2,2,1,1,1,0,2,1,2,2,1,1,2,1,1,0,2,1,1,1,1,2,2,2,2,2,2,2,1,2,0,1,1,0,2,1,1,1,1,1,0,0,1,1,1,1,0,1,0,0,0,0,2,1,1,1,1,2,2,2,2,1,2,2,2,1,2,2,1,1,2,1,2,3,2,2,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,3,2,0,1,2,0,1,2,1,1,0,1,0,1,2,1,2,0,0,0,1,1,0,0,0,1,0,0,2,1,1,0,0,1,1,0,1,1,1,1,0,2,0,1,1,1,0,0,1,1,0,0,0,0,1,0,0,0,1,0,0,2,0,0,0,0,1,2,2,2,2,2,2,2,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,2,2,2,1,1,2,1,2,1,1,1,0,2,1,2,1,1,1,0,2,1,1,1,1,0,1,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,3,2,0,0,0,0,1,0,0,0,0,0,0,1,1,0,2,0,0,0,0,0,0,0,0,1,0,1,2,1,1,1,1,1,1,0,0,2,2,2,2,2,0,1,1,0,1,1,1,1,1,0,0,1,0,0,0,1,1,0,1,2,3,1,2,1,0,1,1,0,2,2,2,0,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,1,0,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,0,1,1,0,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,2,2,2,2,2,0,0,2,0,0,2,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,2,0,2,2,1,1,1,1,1,0,0,1,2,1,1,0,1,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,2,0,1,1,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,3,2,0,0,1,0,0,1,0,0,0,0,0,0,1,0,2,0,0,0,1,0,0,0,0,0,0,0,2,1,1,0,0,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,1,2,2,2,1,2,1,2,2,1,1,2,1,1,1,0,1,1,1,1,2,0,1,0,1,1,1,1,0,1,1,1,1,2,1,1,1,1,1,1,0,0,1,2,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,1,3,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,1,0,0,1,0,2,0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,0,2,0,0,1,0,2,0,1,0,0,1,1,2,0,1,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,1,1,0,2,1,0,1,1,1,0,0,1,0,2,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,1,2,1,1,1,1,1,1,2,2,1,0,0,1,0,1,0,0,0,0,1,1,1,1,0,0,0,1,1,2,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,1,2,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,2,0,0,2,0,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,2,0,0,0,0,0,0,2,1,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],e.Latin5BulgarianModel={charToOrderMap:e.Latin5_BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.Win1251BulgarianModel={charToOrderMap:e.win1251BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"windows-1251"}}(j5)),j5}var W5,$o;function EC(){if($o)return W5;$o=1;var e=wC(),t=il(),r=yC().Win1255HebrewModel,n=vC(),i=bC(),o=_C(),s=CC().TIS620ThaiModel,a=xC(),l=SC();function u(){t.apply(this);var d=this;function f(){d._mProbers=[new e(i.Win1251CyrillicModel),new e(i.Koi8rModel),new e(i.Latin5CyrillicModel),new e(i.MacCyrillicModel),new e(i.Ibm866Model),new e(i.Ibm855Model),new e(o.Latin7GreekModel),new e(o.Win1253GreekModel),new e(l.Latin5BulgarianModel),new e(l.Win1251BulgarianModel),new e(a.Latin2HungarianModel),new e(a.Win1250HungarianModel),new e(s)];var p=new n,h=new e(r,!1,p),m=new e(r,!0,p);p.setModelProbers(h,m),d._mProbers.push(p,h,m),d._supportedCharsetNames=[];for(const g of d._mProbers)d._supportedCharsetNames.push(g.getCharsetName());d.reset()}this.getSupportedCharsetNames=function(){return d._supportedCharsetNames},f()}return u.prototype=new t,W5=u,W5}var q5,Fo;function AC(){if(Fo)return q5;Fo=1;var e=Y2(),t=y1(),r=0,n=1,i=2,o=3,s=4,a=5,l=6,u=7,d=[n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,n,n,n,n,n,n,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,n,n,n,n,n,n,r,n,u,n,n,n,n,n,n,a,n,a,r,a,r,r,n,n,n,n,n,n,n,n,n,u,n,u,r,u,a,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,s,s,s,s,s,s,a,a,s,s,s,s,s,s,s,s,a,a,s,s,s,s,s,n,s,s,s,s,s,a,a,a,l,l,l,l,l,l,u,u,l,l,l,l,l,l,l,l,u,u,l,l,l,l,l,n,l,l,l,l,l,u,u,u],f=[0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,0,3,3,3,1,1,3,3,0,3,3,3,1,2,1,2,0,3,3,3,3,3,3,3,0,3,1,3,1,1,1,3,0,3,1,3,1,1,3,3];function p(){e.apply(this);var h=4,m=8,g=this;function y(){g.reset()}this.reset=function(){this._mLastCharClass=n,this._mFreqCounter=[];for(var _=0;_<h;this._mFreqCounter[_++]=0);p.prototype.reset.apply(this)},this.getCharsetName=function(){return"windows-1252"},this.getSupportedCharsetNames=function(){return[this.getCharsetName()]},this.feed=function(_){_=this.removeXmlTags(_);for(var C=0;C<_.length;C++){var E=_.charCodeAt(C),M=d[E],O=f[this._mLastCharClass*m+M];if(O==0){this._mState=t.notMe;break}this._mFreqCounter[O]++,this._mLastCharClass=M}return this.getState()},this.getConfidence=function(){var _;if(this.getState()==t.notMe)return .01;for(var C=0,E=0;E<this._mFreqCounter.length;E++)C+=this._mFreqCounter[E];return C<.01?_=0:_=this._mFreqCounter[3]/C-this._mFreqCounter[1]*20/C,_<0&&(_=0),_=_*.95,_},y()}return p.prototype=new e,q5=p,q5}var ot={},Po;function TC(){if(Po)return ot;Po=1;var e=y1(),t=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,5,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],r=[e.start,e.error,3,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,4,e.error,5,e.error,6,e.error,5,5,4,e.error,4,e.error,4,4,4,e.error,4,e.error,4,e.itsMe,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,0,0,0,0,0];ot.HZSMModel={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"HZ-GB-2312"};var i=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],o=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,5,6,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start],s=[0,0,0,0,0,0,0,0,0];ot.ISO2022CNSMModel={classTable:i,classFactor:9,stateTable:o,charLenTable:s,name:"ISO-2022-CN"};var a=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,7,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,4,0,8,0,0,0,0,9,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],l=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,5,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,6,e.itsMe,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start,e.start],u=[0,0,0,0,0,0,0,0,0,0];ot.ISO2022JPSMModel={classTable:a,classFactor:10,stateTable:l,charLenTable:u,name:"ISO-2022-JP"};var d=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],f=[e.start,3,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.start,e.start,e.start,e.start],p=[0,0,0,0,0,0];return ot.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:f,charLenTable:p,name:"ISO-2022-KR"},ot}var G5,Lo;function MC(){if(Lo)return G5;Lo=1;var e=Y2(),t=g2(),r=TC(),n=y1();function i(){e.apply(this);var o=this;function s(){o._mCodingSM=[new t(r.HZSMModel),new t(r.ISO2022CNSMModel),new t(r.ISO2022JPSMModel),new t(r.ISO2022KRSMModel)],o._supportedCharsetNames=[];for(const a of o._mCodingSM)o._supportedCharsetNames.push(a.getCodingStateMachine());o.reset()}this.reset=function(){i.prototype.reset.apply(this);for(var a=0,l;l=this._mCodingSM[a];a++)l&&(l.active=!0,l.reset());this._mActiveSM=o._mCodingSM.length,this._mDetectedCharset=null},this.getCharsetName=function(){return this._mDetectedCharset},this.getSupportedCharsetNames=function(){return o._supportedCharsetNames},this.getConfidence=function(){return this._mDetectedCharset?.99:0},this.feed=function(a){for(var l=0,u;l<a.length;l++){u=a[l];for(var d=0,f;f=this._mCodingSM[d];d++)if(!(!f||!f.active)){var p=f.nextState(u);if(p==n.error){if(f.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=n.notMe,this.getState()}else if(p==n.itsMe)return this._mState=n.foundIt,this._mDetectedCharset=f.getCodingStateMachine(),this.getState()}}return this.getState()},s()}return i.prototype=new e,G5=i,G5}var z5,Bo;function NC(){if(Bo)return z5;Bo=1;var e=y1(),t=gC(),r=EC(),n=AC(),i=MC(),o=Z2();const s=function(){const u=["UTF-8","UTF-32LE","UTF-32BE","UTF-32BE","UTF-16LE","UTF-16BE","X-ISO-10646-UCS-4-3412","X-ISO-10646-UCS-4-2143"],d=[new i,new t,new r,new n],f=u.slice(0);for(const p of d)[].push.apply(f,p.getSupportedCharsetNames());return f}(),a=function(){const u=[];for(const d of s)u.push(d.toLocaleLowerCase(),d.toLocaleLowerCase().replace(/-/g,""));return u}();function l(u){if(u||(u={}),typeof u.minimumThreshold!="number"&&(u.detectEncodings?u.minimumThreshold=0:u.minimumThreshold=.2),u.detectEncodings){for(const m of u.detectEncodings)if(!a.includes(m.toLowerCase()))throw new Error(`Encoding ${m} is not supported. Supported encodings: ${s}.`)}var d={pureAscii:0,escAscii:1,highbyte:2},f=this;function p(){f._highBitDetector=/[\x80-\xFF]/,f._escDetector=/(\x1B|~\{)/,f._mEscCharsetProber=null,f._mCharsetProbers=[],f.reset()}function h(m){if(!u.detectEncodings)return!0;var g=u.detectEncodings.map(y=>y.toLowerCase());return g.includes(m.toLowerCase())}this.reset=function(){this.result={encoding:null,confidence:0},this.results=[],this.done=!1,this._mStart=!0,this._mGotData=!1,this._mInputState=d.pureAscii,this._mLastChar=[],this._mBOM="",this._mEscCharsetProber&&this._mEscCharsetProber.reset();for(var m=0,g;g=this._mCharsetProbers[m];m++)g.reset()},this.feed=function(m){if(!this.done){var g=m.length;if(g){if(this._mGotData||(this._mBOM+=m,this._mBOM.slice(0,3)==""&&h("UTF-8")?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"&&h("UTF-32LE")?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"&&h("UTF-32BE")?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"&&h("X-ISO-10646-UCS-4-3412")?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"&&h("X-ISO-10646-UCS-4-2143")?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"&&h("UTF-16LE")?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&h("UTF-16BE")&&(this.result={encoding:"UTF-16BE",confidence:1}),this.result.confidence>0&&(this.results=[this.result]),this._mBOM.length>3&&(this._mGotData=!0)),this.result.encoding&&this.result.confidence>0){this.done=!0;return}if(this._mInputState==d.pureAscii&&(this._highBitDetector.test(m)?this._mInputState=d.highbyte:this._escDetector.test(this._mLastChar.join("")+m)&&(this._mInputState=d.escAscii)),this._mLastChar=m.slice(-1).split(""),this._mInputState==d.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new i),this._mEscCharsetProber.feed(m)==e.foundIt&&h(this._mEscCharsetProber.getCharsetName())&&(this.result={encoding:this._mEscCharsetProber.getCharsetName(),confidence:this._mEscCharsetProber.getConfidence()},this.results=[this.result],this.done=!0);else if(this._mInputState==d.highbyte){this._mCharsetProbers.length==0&&(this._mCharsetProbers=[new t,new r,new n]);for(var y=0,_;_=this._mCharsetProbers[y];y++)if(_.feed(m)==e.foundIt&&h(_.getCharsetName())){this.result={encoding:_.getCharsetName(),confidence:_.getConfidence()},this.results=[this.result],this.done=!0;break}}}}},this.close=function(){if(!this.done){if(this._mBOM.length===0){o.log(`no data received!
|
|
59
|
+
`);return}if(this.done=!0,this._mInputState==d.pureAscii&&h("ascii"))return o.log("pure ascii"),this.result={encoding:"ascii",confidence:1},this.results.push(this.result),this.result;if(this._mInputState==d.highbyte){let _=0,C=!1;for(var m=0,g;g=this._mCharsetProbers[m];m++){if(!g)continue;const E=g.getCharsetName(),M=g.getConfidence();g.getCharsetName()==="windows-1252"&&(_=M),!(!E||!h(E))&&(this.results.push({encoding:g.getCharsetName(),confidence:M}),g.getCharsetName()==="windows-1250"&&(C=!0),o.log(g.getCharsetName()+" confidence "+M))}if(_&&!C&&h("windows-1250")&&this.results.push({encoding:"windows-1250",confidence:_-Math.pow(5/10,String(_).length-1)}),this.results.sort(function(E,M){return M.confidence-E.confidence}),this.results.length>0){var y=this.results[0];if(y.confidence>=u.minimumThreshold)return this.result=y,y}}if(o.enabled){o.log(`no probers hit minimum threshhold
|
|
60
|
+
`);for(var m=0,g;g=this._mCharsetProbers[m];m++)!g||!h(g.getCharsetName())||o.log(g.getCharsetName()+" confidence = "+g.getConfidence()+`
|
|
61
|
+
`)}}},p()}return z5=l,z5}var Ho;function kC(){if(Ho)return nt;Ho=1;var e=NC(),t=Z2().setLogger;nt.detect=function(n,i){var o=r(n,i);return o.result},nt.detectAll=function(n,i){var o=r(n,i);return o.results},nt.UniversalDetector=e,nt.enableDebug=function(){t(console.log.bind(console))};function r(n,i){var o=new e(i);return o.reset(),typeof Buffer=="function"&&n instanceof Buffer?o.feed(n.toString("binary")):o.feed(n),o.close(),o}return nt}var Y5,Vo;function IC(){return Vo||(Vo=1,Y5=kC()),Y5}var OC=IC();class ge extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class Tr extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Parse","CancelParsing","Remove"]}}var Mr={exports:{}};/* @license
|
|
52
62
|
Papa Parse
|
|
53
63
|
v5.5.1
|
|
54
64
|
https://github.com/mholt/PapaParse
|
|
55
65
|
License: MIT
|
|
56
|
-
*/var
|
|
57
|
-
`),
|
|
58
|
-
`;for(var
|
|
59
|
-
`&&
|
|
60
|
-
`:"\r"}}function
|
|
66
|
+
*/var RC=Mr.exports,Uo;function DC(){return Uo||(Uo=1,function(e,t){((r,n)=>{e.exports=n()})(RC,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},i,o=!n.document&&!!n.postMessage,s=n.IS_PAPA_WORKER||!1,a={},l=0,u={};function d(S){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(x){var A=O(x);A.chunkSize=parseInt(A.chunkSize),x.step||x.chunk||(A.chunkSize=null),this._handle=new g(A),(this._handle.streamer=this)._config=A}).call(this,S),this.parseChunk=function(x,A){var N=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<N){let F=this._config.newline;F||(P=this._config.quoteChar||'"',F=this._handle.guessLineEndings(x,P)),x=[...x.split(F).slice(N)].join(F)}this.isFirstChunk&&$(this._config.beforeFirstChunk)&&(P=this._config.beforeFirstChunk(x))!==void 0&&(x=P),this.isFirstChunk=!1,this._halted=!1;var N=this._partialLine+x,P=(this._partialLine="",this._handle.parse(N,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(x=P.meta.cursor,N=(this._finished||(this._partialLine=N.substring(x-this._baseIndex),this._baseIndex=x),P&&P.data&&(this._rowCount+=P.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),s)n.postMessage({results:P,workerId:u.WORKER_ID,finished:N});else if($(this._config.chunk)&&!A){if(this._config.chunk(P,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=P=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(P.data),this._completeResults.errors=this._completeResults.errors.concat(P.errors),this._completeResults.meta=P.meta),this._completed||!N||!$(this._config.complete)||P&&P.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),N||P&&P.meta.paused||this._nextChunk(),P}this._halted=!0},this._sendError=function(x){$(this._config.error)?this._config.error(x):s&&this._config.error&&n.postMessage({workerId:u.WORKER_ID,error:x,finished:!1})}}function f(S){var x;(S=S||{}).chunkSize||(S.chunkSize=u.RemoteChunkSize),d.call(this,S),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(A){this._input=A,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(x=new XMLHttpRequest,this._config.withCredentials&&(x.withCredentials=this._config.withCredentials),o||(x.onload=R(this._chunkLoaded,this),x.onerror=R(this._chunkError,this)),x.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var A,N=this._config.downloadRequestHeaders;for(A in N)x.setRequestHeader(A,N[A])}var P;this._config.chunkSize&&(P=this._start+this._config.chunkSize-1,x.setRequestHeader("Range","bytes="+this._start+"-"+P));try{x.send(this._config.downloadRequestBody)}catch(F){this._chunkError(F.message)}o&&x.status===0&&this._chunkError()}},this._chunkLoaded=function(){x.readyState===4&&(x.status<200||400<=x.status?this._chunkError():(this._start+=this._config.chunkSize||x.responseText.length,this._finished=!this._config.chunkSize||this._start>=(A=>(A=A.getResponseHeader("Content-Range"))!==null?parseInt(A.substring(A.lastIndexOf("/")+1)):-1)(x),this.parseChunk(x.responseText)))},this._chunkError=function(A){A=x.statusText||A,this._sendError(new Error(A))}}function p(S){(S=S||{}).chunkSize||(S.chunkSize=u.LocalChunkSize),d.call(this,S);var x,A,N=typeof FileReader<"u";this.stream=function(P){this._input=P,A=P.slice||P.webkitSlice||P.mozSlice,N?((x=new FileReader).onload=R(this._chunkLoaded,this),x.onerror=R(this._chunkError,this)):x=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var P=this._input,F=(this._config.chunkSize&&(F=Math.min(this._start+this._config.chunkSize,this._input.size),P=A.call(P,this._start,F)),x.readAsText(P,this._config.encoding));N||this._chunkLoaded({target:{result:F}})},this._chunkLoaded=function(P){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(P.target.result)},this._chunkError=function(){this._sendError(x.error)}}function h(S){var x;d.call(this,S=S||{}),this.stream=function(A){return x=A,this._nextChunk()},this._nextChunk=function(){var A,N;if(!this._finished)return A=this._config.chunkSize,x=A?(N=x.substring(0,A),x.substring(A)):(N=x,""),this._finished=!x,this.parseChunk(N)}}function m(S){d.call(this,S=S||{});var x=[],A=!0,N=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(P){this._input=P,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){N&&x.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),x.length?this.parseChunk(x.shift()):A=!0},this._streamData=R(function(P){try{x.push(typeof P=="string"?P:P.toString(this._config.encoding)),A&&(A=!1,this._checkIsFinished(),this.parseChunk(x.shift()))}catch(F){this._streamError(F)}},this),this._streamError=R(function(P){this._streamCleanUp(),this._sendError(P)},this),this._streamEnd=R(function(){this._streamCleanUp(),N=!0,this._streamData("")},this),this._streamCleanUp=R(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function g(S){var x,A,N,P,F=Math.pow(2,53),V=-F,o0=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,J=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,X=this,L=0,q=0,U=!1,h0=!1,Y=[],D={data:[],errors:[],meta:{}};function s0(Z){return S.skipEmptyLines==="greedy"?Z.join("").trim()==="":Z.length===1&&Z[0].length===0}function m0(){if(D&&N&&(N0("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),N=!1),S.skipEmptyLines&&(D.data=D.data.filter(function(K){return!s0(K)})),W()){let K=function(v0,d0){$(S.transformHeader)&&(v0=S.transformHeader(v0,d0)),Y.push(v0)};var b0=K;if(D)if(Array.isArray(D.data[0])){for(var Z=0;W()&&Z<D.data.length;Z++)D.data[Z].forEach(K);D.data.splice(0,1)}else D.data.forEach(K)}function w0(K,v0){for(var d0=S.header?{}:[],A0=0;A0<K.length;A0++){var D0=A0,p0=K[A0],p0=((a0,e0)=>(I0=>(S.dynamicTypingFunction&&S.dynamicTyping[I0]===void 0&&(S.dynamicTyping[I0]=S.dynamicTypingFunction(I0)),(S.dynamicTyping[I0]||S.dynamicTyping)===!0))(a0)?e0==="true"||e0==="TRUE"||e0!=="false"&&e0!=="FALSE"&&((I0=>{if(o0.test(I0)&&(I0=parseFloat(I0),V<I0&&I0<F))return 1})(e0)?parseFloat(e0):J.test(e0)?new Date(e0):e0===""?null:e0):e0)(D0=S.header?A0>=Y.length?"__parsed_extra":Y[A0]:D0,p0=S.transform?S.transform(p0,D0):p0);D0==="__parsed_extra"?(d0[D0]=d0[D0]||[],d0[D0].push(p0)):d0[D0]=p0}return S.header&&(A0>Y.length?N0("FieldMismatch","TooManyFields","Too many fields: expected "+Y.length+" fields but parsed "+A0,q+v0):A0<Y.length&&N0("FieldMismatch","TooFewFields","Too few fields: expected "+Y.length+" fields but parsed "+A0,q+v0)),d0}var y0;D&&(S.header||S.dynamicTyping||S.transform)&&(y0=1,!D.data.length||Array.isArray(D.data[0])?(D.data=D.data.map(w0),y0=D.data.length):D.data=w0(D.data,0),S.header&&D.meta&&(D.meta.fields=Y),q+=y0)}function W(){return S.header&&Y.length===0}function N0(Z,w0,y0,b0){Z={type:Z,code:w0,message:y0},b0!==void 0&&(Z.row=b0),D.errors.push(Z)}$(S.step)&&(P=S.step,S.step=function(Z){D=Z,W()?m0():(m0(),D.data.length!==0&&(L+=Z.data.length,S.preview&&L>S.preview?A.abort():(D.data=D.data[0],P(D,X))))}),this.parse=function(Z,w0,y0){var b0=S.quoteChar||'"',b0=(S.newline||(S.newline=this.guessLineEndings(Z,b0)),N=!1,S.delimiter?$(S.delimiter)&&(S.delimiter=S.delimiter(Z),D.meta.delimiter=S.delimiter):((b0=((K,v0,d0,A0,D0)=>{var p0,a0,e0,I0;D0=D0||[","," ","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var F0=0;F0<D0.length;F0++){for(var B0,_0=D0[F0],L1=0,q0=0,B1=0,me=(e0=void 0,new _({comments:A0,delimiter:_0,newline:v0,preview:10}).parse(K)),Ge=0;Ge<me.data.length;Ge++)d0&&s0(me.data[Ge])?B1++:(B0=me.data[Ge].length,q0+=B0,e0===void 0?e0=B0:0<B0&&(L1+=Math.abs(B0-e0),e0=B0));0<me.data.length&&(q0/=me.data.length-B1),(a0===void 0||L1<=a0)&&(I0===void 0||I0<q0)&&1.99<q0&&(a0=L1,p0=_0,I0=q0)}return{successful:!!(S.delimiter=p0),bestDelimiter:p0}})(Z,S.newline,S.skipEmptyLines,S.comments,S.delimitersToGuess)).successful?S.delimiter=b0.bestDelimiter:(N=!0,S.delimiter=u.DefaultDelimiter),D.meta.delimiter=S.delimiter),O(S));return S.preview&&S.header&&b0.preview++,x=Z,A=new _(b0),D=A.parse(x,w0,y0),m0(),U?{meta:{paused:!0}}:D||{meta:{paused:!1}}},this.paused=function(){return U},this.pause=function(){U=!0,A.abort(),x=$(S.chunk)?"":x.substring(A.getCharIndex())},this.resume=function(){X.streamer._halted?(U=!1,X.streamer.parseChunk(x,!0)):setTimeout(X.resume,3)},this.aborted=function(){return h0},this.abort=function(){h0=!0,A.abort(),D.meta.aborted=!0,$(S.complete)&&S.complete(D),x=""},this.guessLineEndings=function(K,b0){K=K.substring(0,1048576);var b0=new RegExp(y(b0)+"([^]*?)"+y(b0),"gm"),y0=(K=K.replace(b0,"")).split("\r"),b0=K.split(`
|
|
67
|
+
`),K=1<b0.length&&b0[0].length<y0[0].length;if(y0.length===1||K)return`
|
|
68
|
+
`;for(var v0=0,d0=0;d0<y0.length;d0++)y0[d0][0]===`
|
|
69
|
+
`&&v0++;return v0>=y0.length/2?`\r
|
|
70
|
+
`:"\r"}}function y(S){return S.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(S){var x=(S=S||{}).delimiter,A=S.newline,N=S.comments,P=S.step,F=S.preview,V=S.fastMode,o0=null,J=S.quoteChar==null?'"':S.quoteChar,X=J;if(S.escapeChar!==void 0&&(X=S.escapeChar),(typeof x!="string"||-1<u.BAD_DELIMITERS.indexOf(x))&&(x=","),N===x)throw new Error("Comment character same as delimiter");N===!0?N="#":(typeof N!="string"||-1<u.BAD_DELIMITERS.indexOf(N))&&(N=!1),A!==`
|
|
61
71
|
`&&A!=="\r"&&A!==`\r
|
|
62
72
|
`&&(A=`
|
|
63
|
-
`);var L=0,
|
|
64
|
-
`,
|
|
65
|
-
`,'"',u.BYTE_ORDER_MARK],u.WORKERS_SUPPORTED=!o&&!!
|
|
66
|
-
|
|
67
|
-
If errors are detected during import, you can download a CSV file that lists all the rows with issues.`,["children",l])])))],["children",y.Children.toArray(Array.from(r))])])))]])))],["children",y.Children.toArray(Array.from(n))])])))]])]))}function g4(e,t){let n,r,i;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=g([c("path",w(g([(r="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM3.99743 10C3.99743 13.3151 6.68487 16.0026 10 16.0026C13.3151 16.0026 16.0026 13.3151 16.0026 10C16.0026 6.68487 13.3151 3.99743 10 3.99743C6.68487 3.99743 3.99743 6.68487 3.99743 10Z",["d",r]),["fill","#D6E2FC"]]))),c("path",w(g([(i="M10 3C10 2.44772 10.4494 1.99356 10.9974 2.06242C11.7053 2.15137 12.3996 2.3348 13.0615 2.60896C14.0321 3.011 14.914 3.60028 15.6569 4.34315C16.3997 5.08602 16.989 5.96793 17.391 6.93853C17.6652 7.60043 17.8486 8.29473 17.9376 9.0026C18.0064 9.55057 17.5523 10 17 10C16.4477 10 16.0085 9.54925 15.9169 9.00462C15.842 8.55939 15.7169 8.12298 15.5433 7.7039C15.2417 6.97595 14.7998 6.31451 14.2426 5.75736C13.6855 5.20021 13.0241 4.75825 12.2961 4.45672C11.877 4.28313 11.4406 4.15804 10.9954 4.08314C10.4508 3.99152 10 3.55228 10 3Z",["d",i]),["fill","#2E66F7"]])))]),["children",y.Children.toArray(Array.from(n))])])))}function w4(e,t){let n,r;return c("svg",w(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=g([c("path",w(g([(r="M17 21H3C1.346 21 0 19.654 0 18V14H2V18C2 18.551 2.448 19 3 19H17C17.552 19 18 18.551 18 18V14H20V18C20 19.654 18.654 21 17 21Z",["d",r]),["fill","#9CA3AF"]]))),c("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",y.Children.toArray(Array.from(n))])])))}function y4(e,t){Mi(Y.Delay(()=>Y.Bind(C0(1e3),()=>(f4(n=>{t(new ps(0,[new ua(1,[n])]))},e),Y.Zero()))))}const el=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function v4(e){let t,n,r,i,o,s,a,l;const u=e.sendAnalytics,d=e.markDirty,f=e.cancel,p=e.next,m=e.existingCsvFile;let h;const b=m4(m);h=Ur(()=>Br(()=>b,(N,D)=>h4(d,u,N,D),(N,D)=>{}),void 0,void 0);const v=h[0],_=h[1],x=N=>{_(new ps(0,[new ua(0,[[new Rm(N.name),D=>{y4(N,D)}]])]))},E=y.useState(!1),T=E[1],I=y.useState(!1),O=I[1],F=y.useState(!1),S=F[1],C=y.useRef(void 0),A=v.tag===2;return c("div",w(g([["className","bg-gray-50 h-full"],(t=[c("div",w(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(n=[vp(el,E[0],()=>{T(!1)}),p4(F[0],()=>{S(!1)}),Aa("Upload CSV"),ka("Download and use our template, or upload your own CSV to get started."),c("a",w(g([["className","flex flex-row items-end gap-1"],["href",el],["download","import_users"],(r=[c("span",{className:"text-sm font-medium text-primary-600 pt-2",children:"Download sample CSV template"}),yp(16,16)],["children",y.Children.toArray(Array.from(r))])]))),c("div",w(g([["className","flex flex-row pt-3 gap-2"],(i=[_o("What kind of data do I need?",()=>{T(!0)}),_o("Frequently asked questions",()=>{S(!0)})],["children",y.Children.toArray(Array.from(i))])]))),c("div",w(K($(()=>H(I[0]?k(["className","h-75 border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):k(["className","h-75 border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),$(()=>{let N;return k((N=K($(()=>{let D,P,j,ae,X,J,L,G,B,de,q,R,le,U;switch(v.tag){case 2:{let ye;const ge=v.fields[0].SizeInBytes/1024/1024;return ye=ge<.01?.01:ge,k(c("div",w(g([["className","p-6 justify-between items-center inline-flex w-full"],(D=[c("div",w(g([["className","justify-start items-start gap-2 flex"],(P=[c("div",{className:"text-center text-gray-600 text-sm font-medium",children:v.fields[0].Name.fields[0]}),c("span",w(g([["className","text-emerald-700"],(j=[Uu(20,20)],["children",y.Children.toArray(Array.from(j))])])))],["children",y.Children.toArray(Array.from(P))])]))),c("div",w(g([["className","justify-start items-start gap-3 flex"],(ae=[c("div",{className:"text-center text-gray-500 text-sm font-medium",children:(X=eu("{0:F2}",ye),$r(Pn("%sMB"))(X))}),c("button",w(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",z=>{_(new ps(2,[]))}],(J=[c("div",{className:"text-center text-sm font-medium",children:"Remove"}),c("div",w(g([["className","w-4 h-4 justify-center items-center flex"],(L=[Ms(10,10)],["children",y.Children.toArray(Array.from(L))])])))],["children",y.Children.toArray(Array.from(J))])])))],["children",y.Children.toArray(Array.from(ae))])])))],["children",y.Children.toArray(Array.from(D))])]))))}case 1:return k(c("div",w(g([["className","p-6 justify-between items-center inline-flex w-full"],(G=[c("div",w(g([["className","justify-start items-start gap-2 flex"],(B=[c("div",{className:"text-center text-gray-600 text-sm font-medium",children:v.fields[0].fields[0]}),c("span",w(g([["className","animate-spin"],(de=[g4(20,20)],["children",y.Children.toArray(Array.from(de))])])))],["children",y.Children.toArray(Array.from(B))])]))),c("div",w(g([["className","justify-start items-start gap-2 flex"],(q=[c("button",w(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",ye=>{_(new ps(1,[]))}],(R=[c("div",{className:"text-center text-sm font-medium",children:"Cancel"}),c("div",w(g([["className","w-4 h-4 justify-center items-center flex"],(le=[Ms(10,10)],["children",y.Children.toArray(Array.from(le))])])))],["children",y.Children.toArray(Array.from(R))])])))],["children",y.Children.toArray(Array.from(q))])])))],["children",y.Children.toArray(Array.from(G))])]))));default:{const ye=ge=>{ge.preventDefault(),ge.stopPropagation()};return k(c("div",w(g([["className","flex flex-col items-center p-4"],["onDragEnter",ge=>{ye(ge),O(!0)}],["onDragLeave",ge=>{ye(ge),O(!1)}],["onDragOver",ge=>{ye(ge),O(!0)}],["onDrop",ge=>{let z;ye(ge),O(!1),x((z=ge,z.dataTransfer).files.item(0))}],(U=K($(()=>{let ge,z,Se,we,$e,ie;return H((ge=v.fields[0],ge==null?k(Ae()):(z=ge,k(c("div",w(g([["className","h-9 p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full"],(Se=[c("div",w(g([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(we=[tp(16,15)],["children",y.Children.toArray(Array.from(we))])]))),c("div",w(g([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],($e=[c("div",w(g([["className","self-stretch text-red-800 text-sm font-normal"],(ie=K($(()=>{let he;const ee=Z=>c("span",{className:"font-medium",children:Z}),ne=Z=>c("span",{children:[Z]}),Ie=c("a",{className:"underline",children:"sample CSV",href:el,download:"import_users"});return k((he=z.tag===1?g([ee("File is too large (over 10MB). "),ne("Upload a "),ee("smaller file"),ne(".")]):z.tag===2?g([ee("File is empty. "),ne("Ensure your file contains data before uploading.")]):z.tag===3?g([ee("Too many rows (5000+). "),ne("Upload a "),ee("file with fewer rows"),ne(".")]):z.tag===4?g([ee("Invalid CSV: Missing header field(s). "),ne("Try using our "),Ie,ne(".")]):z.tag===5?g([ee("Invalid CSV: Duplicate header fields. "),ne("Try using our "),Ie,ne(".")]):z.tag===6?g([ee("Invalid CSV: Rows have different lengths. "),ne("Check for missing or extra columns.")]):z.tag===7?g([ee("Invalid CSV format. "),ne("Try using our "),Ie,ne(".")]):g([ee("Unsupported file type. "),ne("Upload a "),ee(".csv file"),ne(".")]),c("p",{children:y.Children.toArray(Array.from(he))})))})),["children",y.Children.toArray(Array.from(ie))])])))],["children",y.Children.toArray(Array.from($e))])])))],["children",y.Children.toArray(Array.from(Se))])])))))),$(()=>{let he;return H(k(c("div",w(g([["className","pt-2"],(he=[w4(20,21)],["children",y.Children.toArray(Array.from(he))])])))),$(()=>H(k(c("input",{type:"file",onChange:ee=>{const ne=ee.target.files;ne!=null&&ne.length>0&&x(ne.item(0))},className:"hidden",ref:C})),$(()=>H(k(c("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),$(()=>H(k(c("button",{className:"rounded text-sm w-[120px] border px-3 py-2 mt-4 font-medium text-gray-700 bg-white hover:bg-gray-50",onClick:ee=>{jn(ne=>{ne.click()},Ni(C.current))},type:"button",children:y.Children.toArray(["Choose file"])})),$(()=>k(c("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",y.Children.toArray(Array.from(U))])]))))}}})),["children",y.Children.toArray(Array.from(N))]))})))))),c("div",w(g([["className","flex flex-row justify-end gap-3"],(o=[c("button",w(g([(s="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 w-[120px]",["className",s]),["onClick",N=>{f()}],["type","button"],["children",y.Children.toArray(["Cancel import"])]]))),c("button",w(g([(a="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",a]),["onClick",N=>{v.tag===2&&p(v.fields[0])}],["type","button"],["disabled",!A],(l=["Map fields",Wu(13,8)],["children",y.Children.toArray(Array.from(l))])])))],["children",y.Children.toArray(Array.from(o))])])))],["children",y.Children.toArray(Array.from(n))])])))],["children",y.Children.toArray(Array.from(t))])])))}class Ut extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}}function bp(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}class Lt extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Configuring","Importing"]}}function rf(e){return e.tag===1?"requested":bp(e.fields[0])}function b4(){return[new Lt(0,[new Ut(0,[void 0])]),ve()]}function _4(e,t,n){const r=(U,ye)=>Rn(e,new fn(3,[{From:rf(U),To:rf(ye)}]));let i,o,s,a,l,u,d,f,p,m,h,b,v,_,x,E,T,I,O,F,S,C,A,N,D,P,j,ae,X,J,L,G,B,de,q,R,le;if(t.tag===1)switch(t.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(i=13,P=n.fields[0].fields[0][1],j=n.fields[0].fields[0][0],ae=n.fields[0].fields[0][2],X=t.fields[0].fields[0]):i=14;break}case 2:{t.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(i=17,R=n.fields[0].fields[0][0],le=t.fields[0].fields[0].fields[0]):i=18:t.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(i=16,G=t.fields[0].fields[0].fields[0],B=n.fields[0].fields[0][0],de=t.fields[0].fields[0].fields[1],q=n.fields[0].fields[0][1]):i=18:n.tag===0&&n.fields[0].tag===1?(i=15,J=t.fields[0].fields[0].fields[0],L=n.fields[0].fields[0][0]):i=18;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?(i=11,C=n.fields[0].fields[0][1],A=n.fields[0].fields[0][0],N=n.fields[0].fields[0][2][0],D=n.fields[0].fields[0][2][1]):(i=10,F=n.fields[0].fields[0][1],S=n.fields[0].fields[0][0]):i=12}else switch(t.fields[0].tag){case 1:{t.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(i=4,f=t.fields[0].fields[0],p=n.fields[0].fields[0][0],m=t.fields[0].fields[1],h=n.fields[0].fields[0][1]):i=5:n.tag===0&&n.fields[0].tag===1?(i=3,u=t.fields[0].fields[0],d=n.fields[0].fields[0][0]):i=5;break}case 2:{n.tag===0&&n.fields[0].tag===2?(i=6,b=n.fields[0].fields[0][1],v=n.fields[0].fields[0][0],_=n.fields[0].fields[0][2],x=t.fields[0].fields[0]):i=7;break}case 3:{n.tag===0&&n.fields[0].tag===3?(i=8,n.fields[0].fields[0][0],E=n.fields[0].fields[0][1],T=n.fields[0].fields[0][2],I=t.fields[0].fields[1],O=t.fields[0].fields[0]):i=9;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(i=1,s=t.fields[0].fields[0],a=n.fields[0].fields[0][0],l=n.fields[0].fields[0][1]):(i=0,o=t.fields[0].fields[0]):i=2}switch(i){case 0:{const U=new Lt(0,[new Ut(1,[[o,new En(0,[void 0])]])]);return[U,r(n,U)]}case 1:{const U=te(s,a)?new Lt(0,[new Ut(1,[[a,l]])]):new Lt(0,[new Ut(1,[[s,new En(0,[void 0])]])]);return[U,r(n,U)]}case 2:return[n,ve()];case 3:{const U=new Lt(0,[new Ut(3,[[d,u,void 0]])]);return[U,r(n,U)]}case 4:{const U=new Lt(0,[new Ut(2,[[p,f,m,h.tag===1&&h.fields[0].tag===1&&te(m,h.fields[0].fields[1])?h.fields[0].fields[2]:void 0]])]);return[U,r(n,U)]}case 5:return[n,ve()];case 6:{const U=new Lt(0,[new Ut(3,[[v,b,[_,x]]])]);return[U,r(n,U)]}case 7:return[n,ve()];case 8:{const U=new Lt(1,[[O,E,T,I]]);return[U,r(n,U)]}case 9:return[n,ve()];case 10:{const U=new Lt(0,[new Ut(1,[[S,new En(1,[new Kr(0,[F])])]])]);return[U,r(n,U)]}case 11:{const U=new Lt(0,[new Ut(2,[[A,C,N,D]])]);return[U,r(n,U)]}case 12:return[n,ve()];case 13:{const U=new Lt(0,[new Ut(1,[[j,new En(1,[new Kr(1,[P,ae,X])])]])]);return[U,r(n,U)]}case 14:return[n,ve()];case 15:{const U=new Lt(0,[new Ut(0,[[L,new En(1,[new Kr(0,[J])])]])]);return[U,r(n,U)]}case 16:{const U=new Lt(0,[new Ut(0,[[B,q.tag===1?q.fields[0].tag===1?te(G,q.fields[0].fields[0])&&te(de,q.fields[0].fields[1])?q:new En(1,[new Kr(1,[G,de,void 0])]):new En(1,[new Kr(1,[G,de,void 0])]):new En(1,[new Kr(1,[G,de,void 0])])]])]);return[U,r(n,U)]}case 17:{const U=new Lt(0,[new Ut(0,[[R,new En(0,[le])]])]);return[U,r(n,U)]}default:return[n,ve()]}}function x4(e,t,n){let r,i,o,s,a,l,u,d,f,p,m;return Bi(g([new xt(3,[e]),new xt(4,[t]),new xt(5,[[Gi(ce(new Wi(2,["fixed inset-0 bg-gray-500/50"]))),c("div",w(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(r=[c("div",w(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(i=[Ui(g([new ur(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new ur(2,[[c("div",w(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(o=[c("button",w(g([["type","button"],["onClick",h=>{t()}],["className","text-gray-600"],(s=[Wr(24,24)],["children",y.Children.toArray(Array.from(s))])])))],["children",y.Children.toArray(Array.from(o))])]))),c("div",w(g([["className","sm:flex sm:items-start"],(a=[c("div",w(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(l=[Y6([])],["children",y.Children.toArray(Array.from(l))])]))),c("div",w(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(u=[Qh(g([new js(2,["text-gray-900 text-lg font-bold"]),new js(3,[["Cancel import"]])])),c("div",w(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(d=[c("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),c("br",{}),c("p",{children:["Are you sure you want to cancel and exit?"]})],["children",y.Children.toArray(Array.from(d))])])))],["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(a))])]))),c("div",w(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(f=[c("button",w(g([["type","button"],["onClick",h=>{n()}],(p="inline-flex w-full justify-center rounded-md bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-red-500 sm:ml-3 sm:w-auto",["className",p]),["children","Cancel import and exit"]]))),c("button",w(g([["type","button"],["onClick",h=>{t()}],(m="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",m]),["children","Continue import"]])))],["children",y.Children.toArray(Array.from(f))])])))]])]))],["children",y.Children.toArray(Array.from(i))])])))],["children",y.Children.toArray(Array.from(r))])])))]])]))}class tl extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function C4(e,t){let n;const r=ew();return n=y.useRef(r),S0(()=>du(()=>{tw(n.current)})),E0(i=>{nw(n.current)||Mi(Y.Delay(()=>Y.TryWith(Y.Delay(()=>(t(new tl(1,[])),Y.Bind(e(i),o=>(t(new tl(2,[o])),Y.Zero())))),o=>(t(new tl(3,[o])),Y.Zero()))),n.current)})}function S4(e,t,n,r,i,o,s){let a,l,u,d,f,p,m;return ra((a=[()=>D6(e,t,n,r,i),h=>{let b,v,_,x;switch(h.tag){case 1:case 0:{b=3;break}case 3:{b=2,x=h.fields[0];break}default:h.fields[0].tag===1?(b=1,_=h.fields[0].fields[0]):(b=0,v=h.fields[0].fields[0])}switch(b){case 0:{o(v);break}case 1:{s(_);break}case 2:{s(nt(x));break}}}],C4(a[0],a[1]))),c("div",w(g([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(l=[c("div",w(g([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(u=[c("div",w(g([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(d=[c("div",w(g([["className","relative"],(f=[K6([])],["children",y.Children.toArray(Array.from(f))])]))),c("div",w(g([["className","flex-col justify-start items-center gap-6 flex"],(p=[c("div",w(g([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(m=[c("div",{style:{animation:"progressBar 2s linear infinite"},className:"h-1.5 top-0 absolute bg-gradient-to-r from-[#a650ff] to-[#0095f2] rounded-[5px]"})],["children",y.Children.toArray(Array.from(m))])])))],["children",y.Children.toArray(Array.from(p))])])))],["children",y.Children.toArray(Array.from(d))])])))],["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(l))])])))}class gn extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Key","As","Appear","Show","ClassName","Enter","EnterFrom","EnterTo","Leave","LeaveFrom","LeaveTo","Children"]}}function E4(e){return c(Yh,Bn(e,1))}class Jr extends Ce{constructor(t,n,r){super(),this.Type=t,this.Title=n,this.Message=r}}class Qr extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Success","Failure","InProgress"]}}function A4(e,t){let n,r,i,o,s,a,l,u;return E4(g([new gn(1,["div"]),new gn(4,["pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"]),new gn(3,[!0]),new gn(5,["transform ease-out duration-300 transition"]),new gn(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new gn(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new gn(8,["transition ease-in duration-100"]),new gn(9,["opacity-100"]),new gn(10,["opacity-0"]),new gn(11,[[c("div",w(g([["key","1"],(n=[c("div",w(g([["className","p-4"],(r=[c("div",w(g([["className","flex items-start"],(i=[c("div",w(g([["className","flex-shrink-0"],(o=K($(()=>{const d=t.Type;return d.tag===1?k(J6([])):d.tag===2?k(Q6([])):k(X6([]))})),["children",y.Children.toArray(Array.from(o))])]))),c("div",w(g([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[c("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),c("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",y.Children.toArray(Array.from(s))])]))),c("div",w(g([["className","ml-4 flex flex-shrink-0"],(a=[c("button",w(g([["type","button"],(l="inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",["className",l]),["onClick",d=>{e()}],(u=[Ms(10,10)],["children",y.Children.toArray(Array.from(u))])])))],["children",y.Children.toArray(Array.from(a))])])))],["children",y.Children.toArray(Array.from(i))])])))],["children",y.Children.toArray(Array.from(r))])])))],["children",y.Children.toArray(Array.from(n))])])))]])]))}function k4(e){const t=document.getElementById("workspace-toasts-container"),n=H0(),r=A4(()=>{document.getElementById(n).remove()},e),i=document.createElement("div");ql(r,i);const o=i.children[0];o.id=n,t.appendChild(o)}const N4=3e4;function T4(e,t,n,r,i){const o=r.fields[0],s=()=>Y.Delay(()=>Y.Bind(C0(N4),()=>Y.Bind(t(n),a=>{let l,u,d,f;const p=a;return p.tag!==1&&(p.fields[0].tag!==1||(p.fields[0].fields[0].tag===1?(e(new Jr(new Qr(1,[]),"We found a duplicate user",`"${pe(i.fields[0],pe(p.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):p.fields[0].fields[0].tag===2?(l=p.fields[0].fields[0].fields[0].DuplicateEmailCount>0,u=p.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?u?new Jr(new Qr(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d)):new Jr(new Qr(1,[]),`We found ${p.fields[0].fields[0].fields[0].DuplicateEmailCount} duplicate users`,(f="One or more of the users you’re trying to add already exist in our system. These users were skipped during the import.",f)):new Jr(new Qr(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d))),!1):(e(new Jr(new Qr(0,[]),`Successfully added ${p.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?Y.Bind(s(),()=>Y.Return(void 0)):Y.Zero()})));e(new Jr(new Qr(2,[]),`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),Mi(s())}class kt extends W{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Completed","Active","Disabled"]}}class as extends Ce{constructor(t,n,r,i){super(),this.UploadingCsv=t,this.MappingColumns=n,this.MappingEmploymentBasis=r,this.Reviewing=i}}function of(){Tm(g(["admin","app","users"]))}function _p(e){Tm(g(["admin","app","oops"]))}function $4(e){switch(e.tag){case 1:return new as(new kt(0,[]),new kt(1,[]),new kt(2,[]),new kt(2,[]));case 2:return new as(new kt(0,[]),new kt(0,[]),new kt(1,[]),new kt(2,[]));case 3:return new as(new kt(0,[]),new kt(0,[]),new kt(0,[]),new kt(1,[]));default:return new as(new kt(1,[]),new kt(2,[]),new kt(2,[]),new kt(2,[]))}}function M4(e,t,n,r,i,o){switch(o.tag){case 1:{const s=o.fields[0],a=s[1].tag===1?s[1].fields[0].tag===1?[kd(s[1].fields[0].fields[0],s[1].fields[0].fields[1]),s[0].HeaderRow,s[0].DataRows]:[kd(s[1].fields[0].fields[0],void 0),s[0].HeaderRow,s[0].DataRows]:[s[1].fields[0],s[0].HeaderRow,s[0].DataRows];return c(v6,{existingMappings:io(a[0]),headerRow:a[1],dataRows:a[2],next:l=>{let u;n(new gr(0,[(u=l,new rs(1,[u[0],u[1]]))]))},back:l=>{n(new gr(1,[new Qa(2,[l])]))},sendAnalytics:i})}case 2:{const s=X_(o.fields[0][0].DataRows,o.fields[0][2]);return c(N6,{existingMappings:io(o.fields[0][3]),employmentBasisColumn:s,next:a=>{n(new gr(0,[new rs(2,[a])]))},back:a=>{n(new gr(1,[new Qa(1,[a])]))}})}case 3:return c(a4,{apiCallAsync:e,dataRows:o.fields[0][0].DataRows,baseColumnMappings:o.fields[0][1],employmentBasis:io(o.fields[0][2]),next:s=>{let a;n(new gr(0,[(a=s,new rs(3,[a[0],a[1]]))]))},back:()=>{n(new gr(1,[new Qa(0,[])]))},onError:s=>{_p()},sendAnalytics:i});default:{const s=_t(a=>a[0],o.fields[0]);return c(v4,{existingCsvFile:io(s),next:a=>{n(new gr(0,[new rs(0,[a])]))},cancel:t,markDirty:r,sendAnalytics:i})}}}function ls(e,t){let n,r,i;switch(t.tag){case 1:return c("div",w(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600"],(n=[c("span",{children:e})],["children",y.Children.toArray(Array.from(n))])])));case 2:return c("div",w(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500"],(r=[c("span",{children:e})],["children",y.Children.toArray(Array.from(r))])])));default:return c("div",w(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex"],(i=[Uu(20,20),c("span",{children:e})],["children",y.Children.toArray(Array.from(i))])])))}}function I4(e){let t,n,r,i,o,s,a,l;const u=(t=H0(),t);l=I=>am(e.backendUrl,u,I),a=I=>{Mi(l(I))},s=y.useCallback(a,[]),ra(()=>{s(new fn(0,[{Section:"user import"}]))});const d=Ur(()=>Br(b4,(I,O)=>_4(s,I,O),(I,O)=>{}),void 0,void 0),f=d[0],p=y.useState(!1),m=p[0],h=p[1],b=y.useState(!1),v=b[0],_=y.useCallback(I=>{I.preventDefault(),I.returnValue=!0},[]),x=()=>{window.removeEventListener("beforeunload",_)};b0(()=>(v?window.addEventListener("beforeunload",_):x(),{Dispose(){x()}}),[v]);let E;if(f.tag===0){const I=f.fields[0],O=()=>{m||h(!0)},F=$4(I),S=M4(C=>E2(e.backendUrl,C),O,d[1],b[1],s,I);E=c("div",w(g([["className","flex flex-col h-full"],(n=[x4(m,()=>{m&&h(!1)},()=>{m&&(s(new fn(2,[{From:bp(I)}])),x(),of())}),c("div",w(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(r=[c("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),c("button",w(g([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 w-[120px]",["className",i]),["onClick",C=>{O()}],["type","button"],["children",y.Children.toArray(["Cancel import"])]])))],["children",y.Children.toArray(Array.from(r))])]))),c("div",w(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[ls("1. Upload CSV",F.UploadingCsv),c("hr",{className:"w-16 pt-1.5"}),ls("2. Map fields",F.MappingColumns),c("hr",{className:"w-16 pt-1.5"}),ls("3. Map values",F.MappingEmploymentBasis),c("hr",{className:"w-16 pt-1.5"}),ls("4. Review",F.Reviewing)],["children",y.Children.toArray(Array.from(o))])]))),S],["children",y.Children.toArray(Array.from(n))])])))}else{const I=f.fields[0][3],O=f.fields[0][0],F=f.fields[0][1];E=S4(S=>A2(e.backendUrl,S),O,F,f.fields[0][2],I,S=>{s(new fn(8,[{ImportId:S,UsersInvited:I.tag!==1}])),x();const C=[S,O,F.Email];T4(A=>{k4(A)},A=>k2(e.backendUrl,A),C[0],C[1],C[2]),of()},S=>{x(),_p()})}const T=[c("style",{children:[Xl]}),E];return c(Ye,{},...T)}function D4(){Ll(e=>c(I4,e),"apollo-import-workspace-wizard")}Ll(e=>c(xg,e),"apollo-import-workspace-app");$_();D4();
|
|
73
|
+
`);var L=0,q=!1;this.parse=function(U,h0,Y){if(typeof U!="string")throw new Error("Input must be a string");var D=U.length,s0=x.length,m0=A.length,W=N.length,N0=$(P),Z=[],w0=[],y0=[],b0=L=0;if(!U)return _0();if(V||V!==!1&&U.indexOf(J)===-1){for(var K=U.split(A),v0=0;v0<K.length;v0++){if(y0=K[v0],L+=y0.length,v0!==K.length-1)L+=A.length;else if(Y)return _0();if(!N||y0.substring(0,W)!==N){if(N0){if(Z=[],e0(y0.split(x)),L1(),q)return _0()}else e0(y0.split(x));if(F&&F<=v0)return Z=Z.slice(0,F),_0(!0)}}return _0()}for(var d0=U.indexOf(x,L),A0=U.indexOf(A,L),D0=new RegExp(y(X)+y(J),"g"),p0=U.indexOf(J,L);;)if(U[L]===J)for(p0=L,L++;;){if((p0=U.indexOf(J,p0+1))===-1)return Y||w0.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Z.length,index:L}),F0();if(p0===D-1)return F0(U.substring(L,p0).replace(D0,J));if(J===X&&U[p0+1]===X)p0++;else if(J===X||p0===0||U[p0-1]!==X){d0!==-1&&d0<p0+1&&(d0=U.indexOf(x,p0+1));var a0=I0((A0=A0!==-1&&A0<p0+1?U.indexOf(A,p0+1):A0)===-1?d0:Math.min(d0,A0));if(U.substr(p0+1+a0,s0)===x){y0.push(U.substring(L,p0).replace(D0,J)),U[L=p0+1+a0+s0]!==J&&(p0=U.indexOf(J,L)),d0=U.indexOf(x,L),A0=U.indexOf(A,L);break}if(a0=I0(A0),U.substring(p0+1+a0,p0+1+a0+m0)===A){if(y0.push(U.substring(L,p0).replace(D0,J)),B0(p0+1+a0+m0),d0=U.indexOf(x,L),p0=U.indexOf(J,L),N0&&(L1(),q))return _0();if(F&&Z.length>=F)return _0(!0);break}w0.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Z.length,index:L}),p0++}}else if(N&&y0.length===0&&U.substring(L,L+W)===N){if(A0===-1)return _0();L=A0+m0,A0=U.indexOf(A,L),d0=U.indexOf(x,L)}else if(d0!==-1&&(d0<A0||A0===-1))y0.push(U.substring(L,d0)),L=d0+s0,d0=U.indexOf(x,L);else{if(A0===-1)break;if(y0.push(U.substring(L,A0)),B0(A0+m0),N0&&(L1(),q))return _0();if(F&&Z.length>=F)return _0(!0)}return F0();function e0(q0){Z.push(q0),b0=L}function I0(q0){var B1=0;return B1=q0!==-1&&(q0=U.substring(p0+1,q0))&&q0.trim()===""?q0.length:B1}function F0(q0){return Y||(q0===void 0&&(q0=U.substring(L)),y0.push(q0),L=D,e0(y0),N0&&L1()),_0()}function B0(q0){L=q0,e0(y0),y0=[],A0=U.indexOf(A,L)}function _0(q0){if(S.header&&!h0&&Z.length){var B1=Z[0],me={},Ge=new Set(B1);let V6=!1;for(let K2=0;K2<B1.length;K2++){let pe=B1[K2];if(me[pe=$(S.transformHeader)?S.transformHeader(pe,K2):pe]){let t3,U6=me[pe];for(;t3=pe+"_"+U6,U6++,Ge.has(t3););Ge.add(t3),B1[K2]=t3,me[pe]++,V6=!0,(o0=o0===null?{}:o0)[t3]=pe}else me[pe]=1,B1[K2]=pe;Ge.add(pe)}V6&&console.warn("Duplicate headers found and renamed.")}return{data:Z,errors:w0,meta:{delimiter:x,linebreak:A,aborted:q,truncated:!!q0,cursor:b0+(h0||0),renamedHeaders:o0}}}function L1(){P(_0()),Z=[],w0=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return L}}function C(S){var x=S.data,A=a[x.workerId],N=!1;if(x.error)A.userError(x.error,x.file);else if(x.results&&x.results.data){var P={abort:function(){N=!0,E(x.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:M,resume:M};if($(A.userStep)){for(var F=0;F<x.results.data.length&&(A.userStep({data:x.results.data[F],errors:x.results.errors,meta:x.results.meta},P),!N);F++);delete x.results}else $(A.userChunk)&&(A.userChunk(x.results,P,x.file),delete x.results)}x.finished&&!N&&E(x.workerId,x.results)}function E(S,x){var A=a[S];$(A.userComplete)&&A.userComplete(x),A.terminate(),delete a[S]}function M(){throw new Error("Not implemented.")}function O(S){if(typeof S!="object"||S===null)return S;var x,A=Array.isArray(S)?[]:{};for(x in S)A[x]=O(S[x]);return A}function R(S,x){return function(){S.apply(x,arguments)}}function $(S){return typeof S=="function"}return u.parse=function(S,x){var A=(x=x||{}).dynamicTyping||!1;if($(A)&&(x.dynamicTypingFunction=A,A={}),x.dynamicTyping=A,x.transform=!!$(x.transform)&&x.transform,!x.worker||!u.WORKERS_SUPPORTED)return A=null,u.NODE_STREAM_INPUT,typeof S=="string"?(S=(N=>N.charCodeAt(0)!==65279?N:N.slice(1))(S),A=new(x.download?f:h)(x)):S.readable===!0&&$(S.read)&&$(S.on)?A=new m(x):(n.File&&S instanceof File||S instanceof Object)&&(A=new p(x)),A.stream(S);(A=(()=>{var N;return!!u.WORKERS_SUPPORTED&&(N=(()=>{var P=n.URL||n.webkitURL||null,F=r.toString();return u.BLOB_URL||(u.BLOB_URL=P.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",F,")();"],{type:"text/javascript"})))})(),(N=new n.Worker(N)).onmessage=C,N.id=l++,a[N.id]=N)})()).userStep=x.step,A.userChunk=x.chunk,A.userComplete=x.complete,A.userError=x.error,x.step=$(x.step),x.chunk=$(x.chunk),x.complete=$(x.complete),x.error=$(x.error),delete x.worker,A.postMessage({input:S,config:x,workerId:A.id})},u.unparse=function(S,x){var A=!1,N=!0,P=",",F=`\r
|
|
74
|
+
`,V='"',o0=V+V,J=!1,X=null,L=!1,q=((()=>{if(typeof x=="object"){if(typeof x.delimiter!="string"||u.BAD_DELIMITERS.filter(function(Y){return x.delimiter.indexOf(Y)!==-1}).length||(P=x.delimiter),typeof x.quotes!="boolean"&&typeof x.quotes!="function"&&!Array.isArray(x.quotes)||(A=x.quotes),typeof x.skipEmptyLines!="boolean"&&typeof x.skipEmptyLines!="string"||(J=x.skipEmptyLines),typeof x.newline=="string"&&(F=x.newline),typeof x.quoteChar=="string"&&(V=x.quoteChar),typeof x.header=="boolean"&&(N=x.header),Array.isArray(x.columns)){if(x.columns.length===0)throw new Error("Option columns is empty");X=x.columns}x.escapeChar!==void 0&&(o0=x.escapeChar+V),x.escapeFormulae instanceof RegExp?L=x.escapeFormulae:typeof x.escapeFormulae=="boolean"&&x.escapeFormulae&&(L=/^[=+\-@\t\r].*$/)}})(),new RegExp(y(V),"g"));if(typeof S=="string"&&(S=JSON.parse(S)),Array.isArray(S)){if(!S.length||Array.isArray(S[0]))return U(null,S,J);if(typeof S[0]=="object")return U(X||Object.keys(S[0]),S,J)}else if(typeof S=="object")return typeof S.data=="string"&&(S.data=JSON.parse(S.data)),Array.isArray(S.data)&&(S.fields||(S.fields=S.meta&&S.meta.fields||X),S.fields||(S.fields=Array.isArray(S.data[0])?S.fields:typeof S.data[0]=="object"?Object.keys(S.data[0]):[]),Array.isArray(S.data[0])||typeof S.data[0]=="object"||(S.data=[S.data])),U(S.fields||[],S.data||[],J);throw new Error("Unable to serialize unrecognized input");function U(Y,D,s0){var m0="",W=(typeof Y=="string"&&(Y=JSON.parse(Y)),typeof D=="string"&&(D=JSON.parse(D)),Array.isArray(Y)&&0<Y.length),N0=!Array.isArray(D[0]);if(W&&N){for(var Z=0;Z<Y.length;Z++)0<Z&&(m0+=P),m0+=h0(Y[Z],Z);0<D.length&&(m0+=F)}for(var w0=0;w0<D.length;w0++){var y0=(W?Y:D[w0]).length,b0=!1,K=W?Object.keys(D[w0]).length===0:D[w0].length===0;if(s0&&!W&&(b0=s0==="greedy"?D[w0].join("").trim()==="":D[w0].length===1&&D[w0][0].length===0),s0==="greedy"&&W){for(var v0=[],d0=0;d0<y0;d0++){var A0=N0?Y[d0]:d0;v0.push(D[w0][A0])}b0=v0.join("").trim()===""}if(!b0){for(var D0=0;D0<y0;D0++){0<D0&&!K&&(m0+=P);var p0=W&&N0?Y[D0]:D0;m0+=h0(D[w0][p0],D0)}w0<D.length-1&&(!s0||0<y0&&!K)&&(m0+=F)}}return m0}function h0(Y,D){var s0,m0;return Y==null?"":Y.constructor===Date?JSON.stringify(Y).slice(1,25):(m0=!1,L&&typeof Y=="string"&&L.test(Y)&&(Y="'"+Y,m0=!0),s0=Y.toString().replace(q,o0),(m0=m0||A===!0||typeof A=="function"&&A(Y,D)||Array.isArray(A)&&A[D]||((W,N0)=>{for(var Z=0;Z<N0.length;Z++)if(-1<W.indexOf(N0[Z]))return!0;return!1})(s0,u.BAD_DELIMITERS)||-1<s0.indexOf(P)||s0.charAt(0)===" "||s0.charAt(s0.length-1)===" ")?V+s0+V:s0)}},u.RECORD_SEP="",u.UNIT_SEP="",u.BYTE_ORDER_MARK="\uFEFF",u.BAD_DELIMITERS=["\r",`
|
|
75
|
+
`,'"',u.BYTE_ORDER_MARK],u.WORKERS_SUPPORTED=!o&&!!n.Worker,u.NODE_STREAM_INPUT=1,u.LocalChunkSize=10485760,u.RemoteChunkSize=5242880,u.DefaultDelimiter=",",u.Parser=_,u.ParserHandle=g,u.NetworkStreamer=f,u.FileStreamer=p,u.StringStreamer=h,u.ReadableStreamStreamer=m,n.jQuery&&((i=n.jQuery).fn.parse=function(S){var x=S.config||{},A=[];return this.each(function(F){if(!(i(this).prop("tagName").toUpperCase()==="INPUT"&&i(this).attr("type").toLowerCase()==="file"&&n.FileReader)||!this.files||this.files.length===0)return!0;for(var V=0;V<this.files.length;V++)A.push({file:this.files[V],inputElem:this,instanceConfig:i.extend({},x)})}),N(),this;function N(){if(A.length===0)$(S.complete)&&S.complete();else{var F,V,o0,J,X=A[0];if($(S.before)){var L=S.before(X.file,X.inputElem);if(typeof L=="object"){if(L.action==="abort")return F="AbortError",V=X.file,o0=X.inputElem,J=L.reason,void($(S.error)&&S.error({name:F},V,o0,J));if(L.action==="skip")return void P();typeof L.config=="object"&&(X.instanceConfig=i.extend(X.instanceConfig,L.config))}else if(L==="skip")return void P()}var q=X.instanceConfig.complete;X.instanceConfig.complete=function(U){$(q)&&q(U,X.file,X.inputElem),P()},u.parse(X.file,X.instanceConfig)}}function P(){A.splice(0,1),N()}}),s&&(n.onmessage=function(S){S=S.data,u.WORKER_ID===void 0&&S&&(u.WORKER_ID=S.workerId),typeof S.input=="string"?n.postMessage({workerId:u.WORKER_ID,results:u.parse(S.input,S.config),finished:!0}):(n.File&&S.input instanceof File||S.input instanceof Object)&&(S=u.parse(S.input,S.config))&&n.postMessage({workerId:u.WORKER_ID,results:S,finished:!0})}),(f.prototype=Object.create(d.prototype)).constructor=f,(p.prototype=Object.create(d.prototype)).constructor=p,(h.prototype=Object.create(h.prototype)).constructor=h,(m.prototype=Object.create(d.prototype)).constructor=m,u})}(Mr)),Mr.exports}var $C=DC();const FC=["text/csv","application/vnd.ms-excel"];function PC(e){const t={};return t.detectEncodings=["UTF-8","windows-1252"],OC.detect(un(e.result,`\r
|
|
76
|
+
|\r|
|
|
77
|
+
`,","),t).encoding}const LC=e=>e.filter(r=>!$t(r)).length===0;function Z5(e){return R8(e.trim(),'"')}function BC(e,t){const r=Au(t.name,".csv")&&W2(t.type,FC,{Equals:(i,o)=>i===o,GetHashCode:Le}),n=t.size<=10485760;if(r)if(n){const i=new FileReader;i.onload=o=>{const s=PC(i),a={};a.complete=(l,u)=>{let d,f,p,h,m,g,y,_,C,E,M,O;e((d=l.errors,!D2(t0,d,T0())&&d.length===0?(f=(p=l.data,p.filter(R=>!LC(R))),h=f.length>1?new I(0,[void 0]):new I(1,[new ge(2,[])]),h.tag===1?new I(1,[h.fields[0]]):(m=f.length<=5001?new I(0,[void 0]):new I(1,[new ge(3,[])]),m.tag===1?new I(1,[m.fields[0]]):(g=v7(f),y=g.length|0,_=g.some($t)?new I(1,[new ge(4,[])]):new I(0,[void 0]),_.tag===1?new I(1,[_.fields[0]]):(C=(E=ma(t1(R=>Z5(R).toLocaleLowerCase(),g),{Equals:(R,$)=>R===$,GetHashCode:Le}),E.length===y?new I(0,[void 0]):new I(1,[new ge(5,[])])),C.tag===1?new I(1,[C.fields[0]]):(M=(O=f.filter(R=>R.length!==y),O.length===0?new I(0,[void 0]):new I(1,[new ge(6,[])])),M.tag===1?new I(1,[M.fields[0]]):new I(0,[new Ug(new ya(t.name),Y8((R,$)=>[new Ng(R),new Lg(Z5($))],v7(f)),new wa(t1(R=>new Bg(t1(Z5,R)),Yu(f))),t.size)])))))):new I(1,[new ge(7,[g0(0,l.errors).message])])))},a.error=(l,u)=>{e(new I(1,[new ge(7,[l])]))},a.worker=!0,a.skipEmptyLines=!0,a.encoding=s,$C.parse(t,a)},i.onerror=o=>{e(new I(1,[new ge(7,["Error reading file"])]))},i.readAsBinaryString(t)}else e(new I(1,[new ge(1,[])]));else e(new I(1,[new ge(0,[])]))}let E2=class extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","ParsingFile","FileSelected"]}};function HC(e){return e==null?[new E2(0,[void 0]),C0()]:[new E2(2,[e]),C0()]}function VC(e,t,r,n){const i=d=>$e(t,new fe(1,[{Success:d}]));let o,s,a,l,u;switch(r.tag){case 1:{n.tag===1?o=4:o=5;break}case 2:{n.tag===2?o=6:o=7;break}default:if(r.fields[0].tag===1)r.fields[0].fields[0].tag===1?n.tag===1?(o=2,u=r.fields[0].fields[0].fields[0]):o=3:n.tag===1?(o=1,l=r.fields[0].fields[0].fields[0]):o=3;else switch(n.tag){case 0:{o=0,s=r.fields[0].fields[0][0],a=r.fields[0].fields[0][1];break}case 2:{o=0,s=r.fields[0].fields[0][0],a=r.fields[0].fields[0][1];break}default:o=3}}switch(o){case 0:return[new E2(1,[s]),v6(a)];case 1:return[new E2(2,[l]),y6(w([$e(e,!0),i(!0)]))];case 2:return[new E2(0,[u]),i(!1)];case 3:return[n,C0()];case 4:return[new E2(0,[void 0]),C0()];case 5:return[n,C0()];case 6:return[new E2(0,[void 0]),$e(e,!1)];default:return[n,C0()]}}function UC(e,t){let r,n,i,o,s,a,l;return Zt(w([new x1(3,[e]),new x1(4,[t]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[Kt(u0(new d2(2,[[c("div",v(w([["className","flex flex-col mt-6 mb-6 px-6"],(n=[c("div",v(w([["className","flex flex-row justify-between"],(i=[c("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),c("button",v(w([["onClick",u=>{t()}],["type","button"],["className","text-gray-700"],(o=[z2(24,24)],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(i))])]))),c("div",{className:"font-semibold text-sm pt-6",children:"What file format is accepted for bulk import?"}),c("div",{className:"text-sm text-gray-500 pt-2",children:"The only accepted file format for bulk import is CSV."}),c("div",{className:"font-semibold text-sm pt-6",children:"What is the maximum upload file size?"}),c("div",{className:"text-sm text-gray-500 pt-2",children:"The maximum upload file size is 10 MB."}),c("div",{className:"font-semibold text-sm pt-6",children:"What is the maximum number of rows supported for bulk import?"}),c("div",{className:"text-sm text-gray-500 pt-2",children:"The maximum number of rows you can upload is 5,000."}),c("div",{className:"font-semibold text-sm pt-6",children:"What information do I need to include in the CSV file?"}),c("div",v(w([["className","text-sm text-gray-500 pt-2"],(s="You must include the required fields: “First name,” “Last name,” and “Email” to create a profile. “Mobile number” and “Employment basis” are optional but recommended, as they can help with searching and filtering.",["children",s])]))),c("div",{className:"font-semibold text-sm pt-6",children:"How do I format the CSV file?"}),c("div",v(w([["className","text-sm text-gray-500 pt-2"],(a=`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
|
|
78
|
+
If you’re using your own CSV, ensure that your data is organised correctly and that there are no extra spaces or special characters.`,["children",a])]))),c("div",{className:"font-semibold text-sm pt-6",children:"What should I do if my CSV file contains errors?"}),c("div",v(w([["className","text-sm text-gray-500 pt-2"],(l=`We recommend checking for common issues, such as missing data or incorrect formatting before upload.
|
|
79
|
+
If errors are detected during import, you can download a CSV file that lists all the rows with issues.`,["children",l])])))],["children",b.Children.toArray(Array.from(n))])])))]])))],["children",b.Children.toArray(Array.from(r))])])))]])]))}function jC(e,t){let r,n,i;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=w([c("path",v(w([(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM3.99743 10C3.99743 13.3151 6.68487 16.0026 10 16.0026C13.3151 16.0026 16.0026 13.3151 16.0026 10C16.0026 6.68487 13.3151 3.99743 10 3.99743C6.68487 3.99743 3.99743 6.68487 3.99743 10Z",["d",n]),["fill","#D6E2FC"]]))),c("path",v(w([(i="M10 3C10 2.44772 10.4494 1.99356 10.9974 2.06242C11.7053 2.15137 12.3996 2.3348 13.0615 2.60896C14.0321 3.011 14.914 3.60028 15.6569 4.34315C16.3997 5.08602 16.989 5.96793 17.391 6.93853C17.6652 7.60043 17.8486 8.29473 17.9376 9.0026C18.0064 9.55057 17.5523 10 17 10C16.4477 10 16.0085 9.54925 15.9169 9.00462C15.842 8.55939 15.7169 8.12298 15.5433 7.7039C15.2417 6.97595 14.7998 6.31451 14.2426 5.75736C13.6855 5.20021 13.0241 4.75825 12.2961 4.45672C11.877 4.28313 11.4406 4.15804 10.9954 4.08314C10.4508 3.99152 10 3.55228 10 3Z",["d",i]),["fill","#2E66F7"]])))]),["children",b.Children.toArray(Array.from(r))])])))}function WC(e,t){let r,n;return c("svg",v(w([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=w([c("path",v(w([(n="M17 21H3C1.346 21 0 19.654 0 18V14H2V18C2 18.551 2.448 19 3 19H17C17.552 19 18 18.551 18 18V14H20V18C20 19.654 18.654 21 17 21Z",["d",n]),["fill","#9CA3AF"]]))),c("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",b.Children.toArray(Array.from(r))])])))}function qC(e,t){Lt(z.Delay(()=>z.Bind(us(1e3),()=>(BC(r=>{t(new Tr(0,[new xn(1,[r])]))},e),z.Zero()))))}const K5=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function GC(e){let t,r,n,i,o,s,a,l,u,d;const f=e.sendAnalytics,p=e.markDirty,h=e.cancel,m=e.next,g=e.existingCsvFile;let y;const _=HC(g);y=G2(()=>q2(()=>_,(F,V)=>VC(p,f,F,V),(F,V)=>{}),void 0,void 0);const C=y[0],E=y[1],M=F=>{E(new Tr(0,[new xn(0,[[new ya(F.name),V=>{qC(F,V)}]])]))},O=b.useState(!1),R=O[1],$=b.useState(!1),S=$[1],x=b.useState(!1),A=x[1],N=b.useRef(void 0),P=C.tag===2;return c("div",v(w([["className","bg-gray-50 h-full"],(t=[c("div",v(w([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[nl(K5,O[0],()=>{R(!1)}),UC(x[0],()=>{A(!1)}),Hn("Upload CSV"),Vn("Download and use our template, or upload your own CSV to get started."),c("a",v(w([["className","flex flex-row items-end gap-1 text-primary-600"],["href",K5],["download","import_users"],(n=[c("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),c("span",v(w([["className","pb-0.5"],(i=[rl(16,16)],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(n))])]))),c("div",v(w([["className","flex flex-row pt-3 gap-2"],(o=[R3("What kind of data do I need?",()=>{R(!0)}),R3("Frequently asked questions",()=>{A(!0)})],["children",b.Children.toArray(Array.from(o))])]))),c("div",v(u0((s=G(k(()=>{let F,V,o0,J,X,L,q,U,h0,Y,D,s0,m0,W,N0;switch(C.tag){case 2:{let Z;const w0=C.fields[0].SizeInBytes/1024/1024;return Z=w0<.01?.01:w0,T(c("div",v(w([["className","border border-emerald-200 border-2 rounded-md my-6 bg-emerald-50 p-6"],(F=[c("div",v(w([["className","justify-between items-center inline-flex w-full"],(V=[c("div",v(w([["className","justify-start items-start gap-2 flex"],(o0=[c("div",{className:"text-center text-gray-600 text-sm font-medium",children:C.fields[0].Name.fields[0]}),c("span",v(w([["className","text-emerald-700"],(J=[jn(20,20)],["children",b.Children.toArray(Array.from(J))])])))],["children",b.Children.toArray(Array.from(o0))])]))),c("div",v(w([["className","justify-start items-start gap-3 flex"],(X=[c("div",{className:"text-center text-gray-500 text-sm font-medium",children:(L=Z4("{0:F2}",Z),O2(Be("%s MB"))(L))}),c("button",v(w([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",y0=>{E(new Tr(2,[]))}],(q=[c("div",{className:"text-center text-sm font-medium",children:"Remove"}),c("div",v(w([["className","w-4 h-4 justify-center items-center flex"],(U=[jr(10,10)],["children",b.Children.toArray(Array.from(U))])])))],["children",b.Children.toArray(Array.from(q))])])))],["children",b.Children.toArray(Array.from(X))])])))],["children",b.Children.toArray(Array.from(V))])]))),c("div",{className:"text-gray-500 text-xs font-normal",children:`${C.fields[0].DataRows.fields[0].length+1} rows`})],["children",b.Children.toArray(Array.from(F))])]))))}case 1:return T(c("div",v(w([["className","border-gray-300 border-dashed border-2 rounded-md my-6"],(h0=[c("div",v(w([["className","p-6 justify-between items-center inline-flex w-full"],(Y=[c("div",v(w([["className","justify-start items-start gap-2 flex"],(D=[c("div",{className:"text-center text-gray-600 text-sm font-medium",children:C.fields[0].fields[0]}),c("span",v(w([["className","animate-spin"],(s0=[jC(20,20)],["children",b.Children.toArray(Array.from(s0))])])))],["children",b.Children.toArray(Array.from(D))])]))),c("div",v(w([["className","justify-start items-start gap-2 flex"],(m0=[c("button",v(w([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",Z=>{E(new Tr(1,[]))}],(W=[c("div",{className:"text-center text-sm font-medium",children:"Cancel"}),c("div",v(w([["className","w-4 h-4 justify-center items-center flex"],(N0=[jr(10,10)],["children",b.Children.toArray(Array.from(N0))])])))],["children",b.Children.toArray(Array.from(W))])])))],["children",b.Children.toArray(Array.from(m0))])])))],["children",b.Children.toArray(Array.from(Y))])])))],["children",b.Children.toArray(Array.from(h0))])]))));default:{const Z=w0=>{w0.preventDefault(),w0.stopPropagation()};return T(c("div",v(G(k(()=>H($[0]?T(["className","border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):T(["className","border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),k(()=>{let w0,y0;return T((w0=[c("div",v(w([["className","flex flex-col items-center p-4"],["onDragEnter",b0=>{Z(b0),S(!0)}],["onDragLeave",b0=>{Z(b0),S(!1)}],["onDragOver",b0=>{Z(b0),S(!0)}],["onDrop",b0=>{let K;Z(b0),S(!1),M((K=b0,K.dataTransfer).files.item(0))}],(y0=G(k(()=>{let b0,K,v0,d0,A0,D0;return H((b0=C.fields[0],b0==null?T(T0()):(K=b0,T(c("div",v(w([["className","p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full mb-4"],(v0=[c("div",v(w([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(d0=[B9(16,15)],["children",b.Children.toArray(Array.from(d0))])]))),c("div",v(w([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],(A0=[c("div",v(w([["className","self-stretch text-red-800 text-sm font-normal"],(D0=G(k(()=>{let p0;const a0=F0=>c("span",{className:"font-medium",children:F0}),e0=F0=>c("span",{children:[F0]}),I0=c("a",{className:"underline",children:"sample CSV",href:K5,download:"import_users"});return T((p0=K.tag===1?w([a0("File is too large (over 10 MB). "),e0("Upload a "),a0("smaller file"),e0(".")]):K.tag===2?w([a0("File is empty. "),e0("Ensure your file contains data before uploading.")]):K.tag===3?w([a0("Too many rows (5000+). "),e0("Upload a "),a0("file with fewer rows"),e0(".")]):K.tag===4?w([a0("Invalid CSV: Missing header field(s). "),e0("Try using our "),I0,e0(".")]):K.tag===5?w([a0("Invalid CSV: Duplicate header fields. "),e0("Try using our "),I0,e0(".")]):K.tag===6?w([a0("Invalid CSV: Rows have different lengths. "),e0("Check for missing or extra columns.")]):K.tag===7?w([a0("Invalid CSV format. "),e0("Try using our "),I0,e0(".")]):w([a0("Unsupported file type. "),e0("Upload a "),a0(".csv file"),e0(".")]),c("p",{children:b.Children.toArray(Array.from(p0))})))})),["children",b.Children.toArray(Array.from(D0))])])))],["children",b.Children.toArray(Array.from(A0))])])))],["children",b.Children.toArray(Array.from(v0))])])))))),k(()=>{let p0;return H(T(c("div",v(w([["className","pt-2"],(p0=[WC(20,21)],["children",b.Children.toArray(Array.from(p0))])])))),k(()=>H(T(c("input",{type:"file",onChange:a0=>{const e0=a0.target.files;e0!=null&&e0.length>0&&M(e0.item(0))},className:"hidden",ref:N})),k(()=>H(T(c("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),k(()=>H(T(c("button",{className:"rounded text-sm w-[120px] border px-3 py-2 mt-4 font-medium text-gray-700 bg-white hover:bg-gray-50",onClick:a0=>{je(e0=>{e0.click()},Ft(N.current))},type:"button",children:b.Children.toArray(["Choose file"])})),k(()=>T(c("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",b.Children.toArray(Array.from(y0))])])))],["children",b.Children.toArray(Array.from(w0))]))})))))))}}})),["children",b.Children.toArray(Array.from(s))])))),c("div",v(w([["className","flex flex-row justify-end gap-3"],(a=[c("button",v(w([(l="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",l]),["onClick",F=>{h()}],["type","button"],["children",b.Children.toArray(["Cancel import"])]]))),c("button",v(w([(u="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm min-w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",u]),["onClick",F=>{C.tag===2&&m(C.fields[0])}],["type","button"],["disabled",!P],(d=["Map fields",H6(13,8)],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(t))])])))}class q1 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}}function sl(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}class H1 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Importing"]}}function jo(e){return e.tag===1?"requested":sl(e.fields[0])}function zC(){return[new H1(0,[new q1(0,[void 0])]),C0()]}function YC(e,t,r,n){const i=(W,N0)=>y6(w([$e(t,new fe(3,[{From:jo(W),To:jo(N0)}])),em(e)]));let o,s,a,l,u,d,f,p,h,m,g,y,_,C,E,M,O,R,$,S,x,A,N,P,F,V,o0,J,X,L,q,U,h0,Y,D,s0,m0;if(r.tag===1)switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(o=13,V=n.fields[0].fields[0][1],o0=n.fields[0].fields[0][0],J=n.fields[0].fields[0][2],X=r.fields[0].fields[0]):o=14;break}case 2:{r.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(o=17,s0=n.fields[0].fields[0][0],m0=r.fields[0].fields[0].fields[0]):o=18:r.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=16,U=r.fields[0].fields[0].fields[0],h0=n.fields[0].fields[0][0],Y=r.fields[0].fields[0].fields[1],D=n.fields[0].fields[0][1]):o=18:n.tag===0&&n.fields[0].tag===1?(o=15,L=r.fields[0].fields[0].fields[0],q=n.fields[0].fields[0][0]):o=18;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?(o=11,A=n.fields[0].fields[0][1],N=n.fields[0].fields[0][0],P=n.fields[0].fields[0][2][0],F=n.fields[0].fields[0][2][1]):(o=10,S=n.fields[0].fields[0][1],x=n.fields[0].fields[0][0]):o=12}else switch(r.fields[0].tag){case 1:{r.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=4,p=r.fields[0].fields[0],h=n.fields[0].fields[0][0],m=r.fields[0].fields[1],g=n.fields[0].fields[0][1]):o=5:n.tag===0&&n.fields[0].tag===1?(o=3,d=r.fields[0].fields[0],f=n.fields[0].fields[0][0]):o=5;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=6,y=n.fields[0].fields[0][1],_=n.fields[0].fields[0][0],C=n.fields[0].fields[0][2],E=r.fields[0].fields[0]):o=7;break}case 3:{n.tag===0&&n.fields[0].tag===3?(o=8,n.fields[0].fields[0][0],M=n.fields[0].fields[0][1],O=n.fields[0].fields[0][2],R=r.fields[0].fields[1],$=r.fields[0].fields[0]):o=9;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(o=1,a=r.fields[0].fields[0],l=n.fields[0].fields[0][0],u=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=2}switch(o){case 0:{const W=new H1(0,[new q1(1,[[s,new Ae(0,[void 0])]])]);return[W,i(n,W)]}case 1:{const W=t0(a,l)?new H1(0,[new q1(1,[[l,u]])]):new H1(0,[new q1(1,[[a,new Ae(0,[void 0])]])]);return[W,i(n,W)]}case 2:return[n,C0()];case 3:{const W=new H1(0,[new q1(3,[[f,d,void 0]])]);return[W,i(n,W)]}case 4:{const W=new H1(0,[new q1(2,[[h,p,m,g.tag===1&&g.fields[0].tag===1&&t0(m,g.fields[0].fields[1])?g.fields[0].fields[2]:void 0]])]);return[W,i(n,W)]}case 5:return[n,C0()];case 6:{const W=new H1(0,[new q1(3,[[_,y,[C,E]]])]);return[W,i(n,W)]}case 7:return[n,C0()];case 8:{const W=new H1(1,[[$,M,O,R]]);return[W,i(n,W)]}case 9:return[n,C0()];case 10:{const W=new H1(0,[new q1(1,[[x,new Ae(1,[new tt(0,[S])])]])]);return[W,i(n,W)]}case 11:{const W=new H1(0,[new q1(2,[[N,A,P,F]])]);return[W,i(n,W)]}case 12:return[n,C0()];case 13:{const W=new H1(0,[new q1(1,[[o0,new Ae(1,[new tt(1,[V,J,X])])]])]);return[W,i(n,W)]}case 14:return[n,C0()];case 15:{const W=new H1(0,[new q1(0,[[q,new Ae(1,[new tt(0,[L])])]])]);return[W,i(n,W)]}case 16:{const W=new H1(0,[new q1(0,[[h0,D.tag===1?D.fields[0].tag===1?t0(U,D.fields[0].fields[0])&&t0(Y,D.fields[0].fields[1])?D:new Ae(1,[new tt(1,[U,Y,void 0])]):new Ae(1,[new tt(1,[U,Y,void 0])]):new Ae(1,[new tt(1,[U,Y,void 0])])]])]);return[W,i(n,W)]}case 17:{const W=new H1(0,[new q1(0,[[s0,new Ae(0,[m0])]])]);return[W,i(n,W)]}default:return[n,C0()]}}function ZC(e,t,r){let n,i,o,s,a,l,u,d,f,p,h;return Zt(w([new x1(3,[e]),new x1(4,[t]),new x1(5,[[Xt(u0(new Jt(2,["fixed inset-0 bg-gray-500/50"]))),c("div",v(w([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(n=[c("div",v(w([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(i=[Kt(w([new d2(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new d2(2,[[c("div",v(w([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(o=[c("button",v(w([["type","button"],["onClick",m=>{t()}],["className","text-gray-600"],(s=[z2(24,24)],["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(o))])]))),c("div",v(w([["className","sm:flex sm:items-start"],(a=[c("div",v(w([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(l=[P_([])],["children",b.Children.toArray(Array.from(l))])]))),c("div",v(w([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(u=[P9(w([new Qr(2,["text-gray-900 text-lg font-bold"]),new Qr(3,[["Cancel import"]])])),c("div",v(w([["className","mt-2 text-sm text-gray-500 leading-tight"],(d=[c("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),c("br",{}),c("p",{children:["Are you sure you want to cancel and exit?"]})],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(a))])]))),c("div",v(w([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(f=[c("button",v(w([["type","button"],["onClick",m=>{r()}],(p="inline-flex w-full justify-center rounded-md bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-red-500 sm:ml-3 sm:w-auto",["className",p]),["children","Cancel import and exit"]]))),c("button",v(w([["type","button"],["onClick",m=>{t()}],(h="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",h]),["children","Continue import"]])))],["children",b.Children.toArray(Array.from(f))])])))]])]))],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(n))])])))]])]))}class J5 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function KC(e,t){let r;const n=Vc();return r=b.useRef(n),cs(()=>s6(()=>{Uc(r.current)})),ds(i=>{jc(r.current)||Lt(z.Delay(()=>z.TryWith(z.Delay(()=>(t(new J5(1,[])),z.Bind(e(i),o=>(t(new J5(2,[o])),z.Zero())))),o=>(t(new J5(3,[o])),z.Zero()))),r.current)})}function JC(e,t,r,n,i,o,s){let a,l,u,d,f,p,h;return wn((a=[()=>C_(e,t,r,n,i),m=>{let g,y,_,C;switch(m.tag){case 1:case 0:{g=3;break}case 3:{g=2,C=m.fields[0];break}default:m.fields[0].tag===1?(g=1,_=m.fields[0].fields[0]):(g=0,y=m.fields[0].fields[0])}switch(g){case 0:{o(y);break}case 1:{s(_);break}case 2:{s(n1(C));break}}}],KC(a[0],a[1]))),c("div",v(w([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(l=[c("div",v(w([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(u=[c("div",v(w([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(d=[c("div",v(w([["className","relative"],(f=[B_([])],["children",b.Children.toArray(Array.from(f))])]))),c("div",v(w([["className","flex-col justify-start items-center gap-6 flex"],(p=[c("div",v(w([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(h=[c("div",{style:{animation:"progressBar 2s linear infinite"},className:"h-1.5 top-0 absolute bg-gradient-to-r from-[#a650ff] to-[#0095f2] rounded-[5px]"})],["children",b.Children.toArray(Array.from(h))])])))],["children",b.Children.toArray(Array.from(p))])])))],["children",b.Children.toArray(Array.from(d))])])))],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(l))])])))}class we extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","As","Appear","Show","ClassName","Enter","EnterFrom","EnterTo","Leave","LeaveFrom","LeaveTo","Children"]}}function XC(e){return c(O9,We(e,1))}class st extends E0{constructor(t,r,n){super(),this.Type=t,this.Title=r,this.Message=n}}class at extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Success","Failure","InProgress"]}}function QC(e,t){let r,n,i,o,s,a,l,u;return XC(w([new we(1,["div"]),new we(4,["pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"]),new we(3,[!0]),new we(5,["transform ease-out duration-300 transition"]),new we(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new we(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new we(8,["transition ease-in duration-100"]),new we(9,["opacity-100"]),new we(10,["opacity-0"]),new we(11,[[c("div",v(w([["key","1"],(r=[c("div",v(w([["className","p-4"],(n=[c("div",v(w([["className","flex items-start"],(i=[c("div",v(w([["className","flex-shrink-0"],(o=G(k(()=>{const d=t.Type;return d.tag===1?T(V_([])):d.tag===2?T(U_([])):T(H_([]))})),["children",b.Children.toArray(Array.from(o))])]))),c("div",v(w([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[c("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),c("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",b.Children.toArray(Array.from(s))])]))),c("div",v(w([["className","ml-4 flex flex-shrink-0"],(a=[c("button",v(w([["type","button"],(l="inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",["className",l]),["onClick",d=>{e()}],(u=[jr(10,10)],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(r))])])))]])]))}function ex(e){const t=document.getElementById("workspace-toasts-container"),r=As(),n=QC(()=>{document.getElementById(r).remove()},e),i=document.createElement("div");j4(n,i);const o=i.children[0];o.id=r,t.appendChild(o)}const tx=3e4;function rx(e,t,r,n,i){const o=n.fields[0],s=()=>z.Delay(()=>z.Bind(us(tx),()=>z.Bind(t(r),a=>{let l,u,d,f;const p=a;return p.tag!==1&&(p.fields[0].tag!==1||(p.fields[0].fields[0].tag===1?(e(new st(new at(1,[]),"We found a duplicate user",`"${g0(i.fields[0],g0(p.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):p.fields[0].fields[0].tag===2?(l=p.fields[0].fields[0].fields[0].DuplicateEmailCount>0,u=p.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?u?new st(new at(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d)):new st(new at(1,[]),`We found ${p.fields[0].fields[0].fields[0].DuplicateEmailCount} duplicate users`,(f="One or more of the users you’re trying to add already exist in our system. These users were skipped during the import.",f)):new st(new at(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d))),!1):(e(new st(new at(0,[]),`Successfully added ${p.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?z.Bind(s(),()=>z.Return(void 0)):z.Zero()})));e(new st(new at(2,[]),`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),Lt(s())}class M1 extends j{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}}class vr extends E0{constructor(t,r,n,i){super(),this.UploadingCsv=t,this.MappingColumns=r,this.MappingEmploymentBasis=n,this.Reviewing=i}}function Wo(){ha(w(["admin","app","users"]))}function al(e){ha(w(["admin","app","oops"]))}function nx(e){switch(e.tag){case 1:return new vr(new M1(0,[]),new M1(1,[]),new M1(2,[]),new M1(2,[]));case 2:return new vr(new M1(0,[]),new M1(0,[]),new M1(1,[]),new M1(2,[]));case 3:return new vr(new M1(0,[]),new M1(0,[]),new M1(0,[]),new M1(1,[]));default:return new vr(new M1(1,[]),new M1(2,[]),new M1(2,[]),new M1(2,[]))}}function ix(e,t,r,n,i,o){switch(o.tag){case 1:{const s=o.fields[0],a=s[1].tag===1?s[1].fields[0].tag===1?[xi(s[1].fields[0].fields[0],s[1].fields[0].fields[1]),s[0].HeaderRow,s[0].DataRows]:[xi(s[1].fields[0].fields[0],void 0),s[0].HeaderRow,s[0].DataRows]:[s[1].fields[0],s[0].HeaderRow,s[0].DataRows];return c(l_,{existingMappings:w3(a[0]),headerRow:a[1],dataRows:a[2],next:l=>{let u;r(new y2(0,[(u=l,new pr(1,[u[0],u[1]]))]))},back:l=>{r(new y2(1,[new m5(2,[l])]))},sendAnalytics:i})}case 2:{const s=Hg(o.fields[0][0].DataRows,o.fields[0][2]);return c(w_,{existingMappings:w3(o.fields[0][3]),employmentBasisColumn:s,next:a=>{r(new y2(0,[new pr(2,[a])]))},back:a=>{r(new y2(1,[new m5(1,[a])]))}})}case 3:return c(K_,{apiCallAsync:e,dataRows:o.fields[0][0].DataRows,baseColumnMappings:o.fields[0][1],employmentBasis:w3(o.fields[0][2]),next:s=>{let a;r(new y2(0,[(a=s,new pr(3,[a[0],a[1]]))]))},back:()=>{r(new y2(1,[new m5(0,[])]))},onError:s=>{al()},sendAnalytics:i});default:{const s=C1(a=>a[0],o.fields[0]);return c(GC,{existingCsvFile:w3(s),next:a=>{r(new y2(0,[new pr(0,[a])]))},cancel:t,markDirty:n,sendAnalytics:i})}}}function br(e,t){let r,n,i;switch(t.tag){case 1:return c("div",v(w([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[c("span",{children:e})],["children",b.Children.toArray(Array.from(r))])])));case 2:return c("div",v(w([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[c("span",{children:e})],["children",b.Children.toArray(Array.from(n))])])));default:return c("div",v(w([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[jn(20,20),c("span",{children:e})],["children",b.Children.toArray(Array.from(i))])])))}}function ox(e){let t,r,n,i,o,s,a,l;const u=(t=As(),t);l=O=>zs(e.backendUrl,u,O),a=O=>{Lt(l(O))},s=b.useCallback(a,[]),wn(()=>{s(new fe(0,[{Section:"user import"}]))});const d=G2(()=>q2(zC,(O,R)=>YC(()=>{window.scrollTo(0,0)},s,O,R),(O,R)=>{}),void 0,void 0),f=d[0],p=b.useState(!1),h=p[0],m=p[1],g=b.useState(!1),y=g[0],_=b.useCallback(O=>{O.preventDefault(),O.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};ss(()=>(y?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[y]);let E;if(f.tag===0){const O=f.fields[0],R=()=>{h||m(!0)},$=nx(O),S=ix(x=>hh(e.backendUrl,x),R,d[1],g[1],s,O);E=c("div",v(w([["className","min-w-[640px] flex flex-col h-full"],(r=[ZC(h,()=>{h&&m(!1)},()=>{h&&(s(new fe(2,[{From:sl(O)}])),C(),Wo())}),c("div",v(w([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[c("span",{className:"font-['BR Sonoma'] text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),c("button",v(w([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",i]),["onClick",x=>{R()}],["type","button"],["children",b.Children.toArray(["Cancel import"])]])))],["children",b.Children.toArray(Array.from(n))])]))),c("div",v(w([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[br("1. Upload CSV",$.UploadingCsv),c("hr",{className:"w-16 pt-1.5"}),br("2. Map fields",$.MappingColumns),c("hr",{className:"w-16 pt-1.5"}),br("3. Map values",$.MappingEmploymentBasis),c("hr",{className:"w-16 pt-1.5"}),br("4. Review",$.Reviewing)],["children",b.Children.toArray(Array.from(o))])]))),S],["children",b.Children.toArray(Array.from(r))])])))}else{const O=f.fields[0][3],R=f.fields[0][0],$=f.fields[0][1];E=JC(S=>mh(e.backendUrl,S),R,$,f.fields[0][2],O,S=>{s(new fe(8,[{ImportId:S,UsersInvited:O.tag!==1}])),C();const x=[S,R,$.Email];rx(A=>{ex(A)},A=>ph(e.backendUrl,A),x[0],x[1],x[2]),Wo()},S=>{C(),al()})}const M=[c("style",{children:[z4]}),E];return c(K0,{},...M)}function sx(){D4(e=>c(ox,e),"apollo-import-workspace-wizard")}D4(e=>c(uc,e),"apollo-import-workspace-app");vg();sx();
|