@flarehr/apollo-import-workspace-app 0.60.0 → 0.61.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.
- package/dist/apollo-import-workspace-app.js +30 -30
- package/package.json +46 -46
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var ar,N0,P7,Qt,Io,L7,O4,di,D4,$4,B7,X3={},V7=[],nu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,In=Array.isArray;function Y1(e,t){for(var r in t)e[r]=t[r];return e}function H7(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function u(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?ar.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 q3(e,s,n,i,null)}function q3(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??++P7,__i:-1,__u:0};return i==null&&N0.vnode!=null&&N0.vnode(o),o}function Rn(){return{current:null}}function X0(e){return e.children}function E1(e,t){this.props=e,this.context=t}function J2(e,t){if(t==null)return e.__?J2(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"?J2(e):null}function U7(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 U7(e)}}function F4(e){(!e.__d&&(e.__d=!0)&&Qt.push(e)&&!tn.__r++||Io!==N0.debounceRendering)&&((Io=N0.debounceRendering)||L7)(tn)}function tn(){var e,t,r,n,i,o,s,a;for(Qt.sort(O4);e=Qt.shift();)e.__d&&(t=Qt.length,n=void 0,o=(i=(r=e).__v).__e,s=[],a=[],r.__P&&((n=Y1({},i)).__v=i.__v+1,N0.vnode&&N0.vnode(n),fi(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??J2(i),!!(32&i.__u),a),n.__v=i.__v,n.__.__k[n.__i]=n,q7(s,n,a),n.__e!=o&&U7(n)),Qt.length>t&&Qt.sort(O4));tn.__r=0}function j7(e,t,r,n,i,o,s,a,l,c,d){var f,h,m,p,v,b=n&&n.__k||V7,_=t.length;for(r.__d=l,iu(r,t,b),l=r.__d,f=0;f<_;f++)(m=r.__k[f])!=null&&(h=m.__i===-1?X3:b[m.__i]||X3,m.__i=f,fi(e,m,h,i,o,s,a,l,c,d),p=m.__e,m.ref&&h.ref!=m.ref&&(h.ref&&hi(h.ref,null,m),d.push(m.ref,m.__c||p,m)),v==null&&p!=null&&(v=p),65536&m.__u||h.__k===m.__k?l=W7(m,l,e):typeof m.type=="function"&&m.__d!==void 0?l=m.__d:p&&(l=p.nextSibling),m.__d=void 0,m.__u&=-196609);r.__d=l,r.__e=v}function iu(e,t,r){var n,i,o,s,a,l=t.length,c=r.length,d=c,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?q3(null,i,null,null,null):In(i)?q3(X0,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?q3(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=ou(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<c;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=J2(o)),G7(o,o))}function W7(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=W7(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=J2(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function X1(e,t){return t=t||[],e==null||typeof e=="boolean"||(In(e)?e.some(function(r){X1(r,t)}):t.push(e)),t}function ou(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===X0||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 Ro(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||nu.test(t)?r:r+"px"}function Mr(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||Ro(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ro(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=di,e.addEventListener(t,o?$4:D4,o)):e.removeEventListener(t,o?$4:D4,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 Oo(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=di++;else if(t.t<r.u)return;return N0.event&&(t=N0.event(t)),"handleEvent"in r?r.handleEvent(t):r(t)}}}function fi(e,t,r,n,i,o,s,a,l,c){var d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(d=N0.__b)&&d(t);e:if(typeof k=="function")try{if(_=t.props,C="prototype"in k&&k.prototype.render,A=(d=k.contextType)&&n[d.__c],N=d?A?A.props.value:d.__:n,r.__c?b=(f=t.__c=r.__c).__=f.__E:(C?t.__c=f=new k(_,N):(t.__c=f=new E1(_,N),f.constructor=k,f.render=au),A&&A.sub(f),f.props=_,f.state||(f.state={}),f.context=N,f.__n=n,h=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&k.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Y1({},f.__s)),Y1(f.__s,k.getDerivedStateFromProps(_,f.__s))),m=f.props,p=f.state,f.__v=t,h)C&&k.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&k.getDerivedStateFromProps==null&&_!==m&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,N),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,N)===!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(M){M&&(M.__=t)}),R=0;R<f._sb.length;R++)f.__h.push(f._sb[R]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,N),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(m,p,v)})}if(f.context=N,f.props=_,f.__P=e,f.__e=!1,D=N0.__r,P=0,C){for(f.state=f.__s,f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[]}else do f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++P<25);f.state=f.__s,f.getChildContext!=null&&(n=Y1(Y1({},n),f.getChildContext())),C&&!h&&f.getSnapshotBeforeUpdate!=null&&(v=f.getSnapshotBeforeUpdate(m,p)),j7(e,In(S=d!=null&&d.type===X0&&d.key==null?d.props.children:d)?S:[S],t,r,n,i,o,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(M){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;N0.__e(M,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=su(r.__e,t,r,n,i,o,s,l,c);(d=N0.diffed)&&d(t)}function q7(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)hi(r[n],r[++n],r[++n]);N0.__c&&N0.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){N0.__e(o,i.__v)}})}function su(e,t,r,n,i,o,s,a,l){var c,d,f,h,m,p,v,b=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(c=0;c<o.length;c++)if((m=o[c])&&"setAttribute"in m==!!C&&(C?m.localName===C:m.nodeType===3)){e=m,o[c]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=document.createElementNS(i,C,_.is&&_),a&&(N0.__m&&N0.__m(t,o),a=!1),o=null}if(C===null)b===_||a&&e.data===_||(e.data=_);else{if(o=o&&ar.call(e.childNodes),b=r.props||X3,!a&&o!=null)for(b={},c=0;c<e.attributes.length;c++)b[(m=e.attributes[c]).name]=m.value;for(c in b)if(m=b[c],c!="children"){if(c=="dangerouslySetInnerHTML")f=m;else if(!(c in _)){if(c=="value"&&"defaultValue"in _||c=="checked"&&"defaultChecked"in _)continue;Mr(e,c,null,m,i)}}for(c in _)m=_[c],c=="children"?h=m:c=="dangerouslySetInnerHTML"?d=m:c=="value"?p=m:c=="checked"?v=m:a&&typeof m!="function"||b[c]===m||Mr(e,c,m,b[c],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),j7(e,In(h)?h:[h],t,r,n,C==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&J2(r,0),a,l),o!=null)for(c=o.length;c--;)H7(o[c]);a||(c="value",C==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[c]||C==="progress"&&!p||C==="option"&&p!==b[c])&&Mr(e,c,p,b[c],i),c="checked",v!==void 0&&v!==e[c]&&Mr(e,c,v,b[c],i))}return e}function hi(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){N0.__e(i,r)}}function G7(e,t,r){var n,i;if(N0.unmount&&N0.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||hi(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){N0.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&G7(n[i],t,r||typeof e.type!="function");r||H7(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function au(e,t,r){return this.constructor(e,r)}function Tt(e,t,r){var n,i,o,s;N0.__&&N0.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],fi(t,e=(!n&&r||t).__k=u(X0,null,[e]),i||X3,X3,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?ar.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),q7(o,e,s)}function mi(e,t){Tt(e,t,mi)}function pi(e,t,r){var n,i,o,s,a=Y1({},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?ar.call(arguments,2):r),q3(e.type,a,n||e.key,i||e.ref,null)}function me(e,t){var r={__c:t="__cC"+B7++,__: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,F4(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}ar=V7.slice,N0={__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}},P7=0,E1.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Y1({},this.state),typeof e=="function"&&(e=e(Y1({},r),this.props)),e&&Y1(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),F4(this))},E1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),F4(this))},E1.prototype.render=X0,Qt=[],L7=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O4=function(e,t){return e.__v.__b-t.__v.__b},tn.__r=0,di=0,D4=Oo(!1),$4=Oo(!0),B7=0;function gi(){return(gi=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 lu=["context","children"];function uu(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,lu);return pi(t,r)}function cu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=u(uu,gi({},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[z7(a[s].name)]=a[s].value);for(s=l.length;s--;){var c=t(l[s],null),d=l[s].slot;d?o[d]=u(Do,{name:d},c):i[s]=c}var f=n?u(Do,null,i):i;return u(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?mi:Tt)(this._vdom,this._root)}function z7(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function du(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[z7(e)]=r,this._vdom=pi(this._vdom,n),Tt(this._vdom,this._root)}}function fu(){Tt(this._vdom=null,this._root)}function Do(e,t){var r=this;return u("slot",gi({},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 hu(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=cu,i.prototype.attributeChangedCallback=du,i.prototype.disconnectedCallback=fu,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 On(e,t){hu(e,t)}var nt,J0,_5,$o,X2=0,Y7=[],de=N0,Fo=de.__b,Po=de.__r,Lo=de.diffed,Bo=de.__c,Vo=de.unmount,Ho=de.__;function w2(e,t){de.__h&&de.__h(J0,e,X2||t),X2=0;var r=J0.__H||(J0.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function C0(e){return X2=1,y2(Z7,e)}function y2(e,t,r){var n=w2(nt++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Z7(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,a);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=J0,!J0.u)){var i=function(a,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!o||o.call(this,a,l,c);var f=n.__c.props!==a;return d.forEach(function(h){if(h.__N){var m=h.__[0];h.__=h.__N,h.__N=void 0,m!==h.__[0]&&(f=!0)}}),o&&o.call(this,a,l,c)||f};J0.u=!0;var o=J0.shouldComponentUpdate,s=J0.componentWillUpdate;J0.componentWillUpdate=function(a,l,c){if(this.__e){var d=o;o=void 0,i(a,l,c),o=d}s&&s.call(this,a,l,c)},J0.shouldComponentUpdate=i}return n.__N||n.__}function H0(e,t){var r=w2(nt++,3);!de.__s&&vi(r.__H,t)&&(r.__=e,r.i=t,J0.__H.__h.push(r))}function F1(e,t){var r=w2(nt++,4);!de.__s&&vi(r.__H,t)&&(r.__=e,r.i=t,J0.__h.push(r))}function a0(e){return X2=5,g0(function(){return{current:e}},[])}function wi(e,t,r){X2=6,F1(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 g0(e,t){var r=w2(nt++,7);return vi(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function P0(e,t){return X2=8,g0(function(){return e},t)}function W0(e){var t=J0.context[e.__c],r=w2(nt++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J0)),t.props.value):e.__}function yi(e,t){de.useDebugValue&&de.useDebugValue(t?t(e):e)}function mu(e){var t=w2(nt++,10),r=C0();return t.__=e,J0.componentDidCatch||(J0.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function y1(){var e=w2(nt++,11);if(!e.__){for(var t=J0.__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 pu(){for(var e;e=Y7.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Gr),e.__H.__h.forEach(P4),e.__H.__h=[]}catch(t){e.__H.__h=[],de.__e(t,e.__v)}}de.__b=function(e){J0=null,Fo&&Fo(e)},de.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ho&&Ho(e,t)},de.__r=function(e){Po&&Po(e),nt=0;var t=(J0=e.__c).__H;t&&(_5===J0?(t.__h=[],J0.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(Gr),t.__h.forEach(P4),t.__h=[],nt=0)),_5=J0},de.diffed=function(e){Lo&&Lo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Y7.push(t)!==1&&$o===de.requestAnimationFrame||(($o=de.requestAnimationFrame)||gu)(pu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),_5=J0=null},de.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Gr),r.__h=r.__h.filter(function(n){return!n.__||P4(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],de.__e(n,r.__v)}}),Bo&&Bo(e,t)},de.unmount=function(e){Vo&&Vo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Gr(n)}catch(i){t=i}}),r.__H=void 0,t&&de.__e(t,r.__v))};var Uo=typeof requestAnimationFrame=="function";function gu(e){var t,r=function(){clearTimeout(n),Uo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Uo&&(t=requestAnimationFrame(r))}function Gr(e){var t=J0,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),J0=t}function P4(e){var t=J0;e.__c=e.__(),J0=t}function vi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Z7(e,t){return typeof t=="function"?t(e):t}function L4(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 Dn(e,t){var r=t(),n=C0({t:{__:r,u:t}}),i=n[0].t,o=n[1];return F1(function(){i.__=r,i.u=t,C5(i)&&o({t:i})},[e,r,t]),H0(function(){return C5(i)&&o({t:i}),e(function(){C5(i)&&o({t:i})})},[e]),r}function C5(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 bi(e){e()}function _i(e){return e}function Ci(){return[!1,bi]}var xi=F1;function rn(e,t){this.props=e,this.context=t}function K7(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:L4(this.props,i)}function n(i){return this.shouldComponentUpdate=r,u(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(rn.prototype=new E1).isPureReactComponent=!0,rn.prototype.shouldComponentUpdate=function(e,t){return L4(this.props,e)||L4(this.state,t)};var jo=N0.__b;N0.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),jo&&jo(e)};var wu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Si(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=wu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Wo=function(e,t){return e==null?null:X1(X1(e).map(t))},J7={map:Wo,forEach:Wo,count:function(e){return e?X1(e).length:0},only:function(e){var t=X1(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:X1},yu=N0.__e;N0.__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)}yu(e,t,r,n)};var qo=N0.unmount;function X7(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 X7(n,t,r)})),e}function Q7(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Q7(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 G3(){this.__u=0,this.o=null,this.__b=null}function ea(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ta(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 u(r,o)}return i.displayName="Lazy",i.__f=!0,i}function H2(){this.i=null,this.l=null}N0.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),qo&&qo(e)},(G3.prototype=new E1).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=ea(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]=Q7(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},G3.prototype.componentWillUnmount=function(){this.o=[]},G3.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]=X7(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&u(X0,null,e.fallback);return i&&(i.__u&=-33),[u(X0,null,t.__a?null:e.children),i]};var Go=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 vu(e){return this.getChildContext=function(){return e.context},e.children}function bu(e){var t=this,r=e.h;t.componentWillUnmount=function(){Tt(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)}}),Tt(u(vu,{context:t.context},e.__v),t.v)}function $n(e,t){var r=u(bu,{__v:e,h:t});return r.containerInfo=t,r}(H2.prototype=new E1).__a=function(e){var t=this,r=ea(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Go(t,e,n)):i()};r?r(o):o()}},H2.prototype.render=function(e){this.i=null,this.l=new Map;var t=X1(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},H2.prototype.componentDidUpdate=H2.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Go(e,r,t)})};var ra=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,_u=/^(?: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]/,Cu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,xu=/[A-Z0-9]/g,Su=typeof document<"u",Eu=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ei(e,t,r){return t.__k==null&&(t.textContent=""),Tt(e,t),typeof r=="function"&&r(),e?e.__c:null}function na(e,t,r){return mi(e,t),typeof r=="function"&&r(),e?e.__c:null}E1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E1.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zo=N0.event;function Au(){}function Tu(){return this.cancelBubble}function Nu(){return this.defaultPrevented}N0.event=function(e){return zo&&(e=zo(e)),e.persist=Au,e.isPropagationStopped=Tu,e.isDefaultPrevented=Nu,e.nativeEvent=e};var Ai,Mu={enumerable:!1,configurable:!0,get:function(){return this.class}},Yo=N0.vnode;N0.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||Su&&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"||Eu(r.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Cu.test(s)&&(s=l):l=s="oninput":o&&_u.test(s)?s=s.replace(xu,"-$&").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=X1(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=X1(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Mu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=ra,Yo&&Yo(e)};var Zo=N0.__r;N0.__r=function(e){Zo&&Zo(e),Ai=e.__c};var Ko=N0.diffed;N0.diffed=function(e){Ko&&Ko(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),Ai=null};var ia={ReactCurrentDispatcher:{current:{readContext:function(e){return Ai.__n[e.__c].props.value},useCallback:P0,useContext:W0,useDebugValue:yi,useDeferredValue:_i,useEffect:H0,useId:y1,useImperativeHandle:wi,useInsertionEffect:xi,useLayoutEffect:F1,useMemo:g0,useReducer:y2,useRef:a0,useState:C0,useSyncExternalStore:Dn,useTransition:Ci}}},ku="18.3.1";function oa(e){return u.bind(null,e)}function u3(e){return!!e&&e.$$typeof===ra}function sa(e){return u3(e)&&e.type===X0}function aa(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ti(e){return u3(e)?pi.apply(null,arguments):e}function la(e){return!!e.__k&&(Tt(null,e),!0)}function ua(e){return e&&(e.base||e.nodeType===1&&e)||null}var ca=function(e,t){return e(t)},o1=function(e,t){return e(t)},da=X0,fa=u3,Q={useState:C0,useId:y1,useReducer:y2,useEffect:H0,useLayoutEffect:F1,useInsertionEffect:xi,useTransition:Ci,useDeferredValue:_i,useSyncExternalStore:Dn,startTransition:bi,useRef:a0,useImperativeHandle:wi,useMemo:g0,useCallback:P0,useContext:W0,useDebugValue:yi,version:"18.3.1",Children:J7,render:Ei,hydrate:na,unmountComponentAtNode:la,createPortal:$n,createElement:u,createContext:me,createFactory:oa,cloneElement:Ti,createRef:Rn,Fragment:X0,isValidElement:u3,isElement:fa,isFragment:sa,isMemo:aa,findDOMNode:ua,Component:E1,PureComponent:rn,memo:K7,forwardRef:Si,flushSync:o1,unstable_batchedUpdates:ca,StrictMode:da,Suspense:G3,SuspenseList:H2,lazy:ta,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ia};const nn=Object.freeze(Object.defineProperty({__proto__:null,Children:J7,Component:E1,Fragment:X0,PureComponent:rn,StrictMode:da,Suspense:G3,SuspenseList:H2,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ia,cloneElement:Ti,createContext:me,createElement:u,createFactory:oa,createPortal:$n,createRef:Rn,default:Q,findDOMNode:ua,flushSync:o1,forwardRef:Si,hydrate:na,isElement:fa,isFragment:sa,isMemo:aa,isValidElement:u3,lazy:ta,memo:K7,render:Ei,startTransition:bi,unmountComponentAtNode:la,unstable_batchedUpdates:ca,useCallback:P0,useContext:W0,useDebugValue:yi,useDeferredValue:_i,useEffect:H0,useErrorBoundary:mu,useId:y1,useImperativeHandle:wi,useInsertionEffect:xi,useLayoutEffect:F1,useMemo:g0,useReducer:y2,useRef:a0,useState:C0,useSyncExternalStore:Dn,useTransition:Ci,version:ku},Symbol.toStringTag,{value:"Module"})),Iu=`*,: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(/workspace/fonts/BRSonoma-Black.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/workspace/fonts/BRSonoma-Bold.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/workspace/fonts/BRSonoma-Medium.woff2) format("woff2")}.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-11{height:2.75rem}.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-64{max-height:16rem}.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-\\[150px\\]{width:150px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[280px\\]{width:280px}.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-\\[130px\\]{min-width:130px}.min-w-\\[600px\\]{min-width:600px}.min-w-\\[640px\\]{min-width:640px}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\\[1_0_0\\]{flex:1 0 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}.content-center{align-content:center}.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}.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-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)}.hover\\:enabled\\:bg-red-500:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.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 m1(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ru(e){return e!=null&&typeof e.GetEnumerator=="function"}function Ou(e){return e!=null&&typeof e.CompareTo=="function"}function Du(e){return e!=null&&typeof e.Equals=="function"}function ha(e){return e!=null&&typeof e.GetHashCode=="function"}function B4(e){return e!=null&&typeof e.Dispose=="function"}function D0(e){B4(e)&&e.Dispose()}function E0(){return null}function on(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 $u{constructor(t){this.iter=t,this.current=E0()}"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 B0(e){return Ru(e)?e.GetEnumerator():new $u(e[Symbol.iterator]())}function c3(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 Fu{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function G0(e,t){return e.toString(10).padStart(t,"0")}function Pu(e,t,r){return e.toString(10).padStart(t,"0").padEnd(r,"0")}function Jo(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Lu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function f1(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class Z1{static id(t){return Z1.idMap.has(t)||Z1.idMap.set(t,++Z1.count),Z1.idMap.get(t)}}Z1.idMap=new WeakMap;Z1.count=0;function s1(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function x1(e){return e*2654435761|0}function ma(e){return s1(e.toString(32))}function lr(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 Bu(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return x1(e);case"bigint":return ma(e);case"string":return s1(e);default:return x1(Z1.id(e))}}function Vu(e){return ha(e)?e.GetHashCode():Bu(e)}function Hu(e){return e.getTime()}function Uu(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=p1(e[n]);return lr(r)}function p1(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return x1(e);case"bigint":return ma(e);case"string":return s1(e);default:{if(ha(e))return e.GetHashCode();if(m1(e))return Uu(e);if(e instanceof Date)return Hu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>p1(n));return lr(r)}else return x1(Z1.id(e))}}}function sn(e){return Vu(e)}function V4(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 pa(e,t){return V4(e,t,X)}function ju(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]||!X(e[r[i]],t[n[i]]))return!1;return!0}function X(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:Du(e)?e.Equals(t):m1(e)?m1(t)&&pa(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Ni(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&ju(e,t)}function Ni(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+Jo(e),n=t.getTime()+Jo(t)),r===n?0:r<n?-1:1}function v2(e,t){return e===t?0:e<t?-1:1}function Wu(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 Mi(e,t){return Wu(e,t,Oe)}function qu(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=Oe(e[s],t[s]),o!==0)return o}return 0}function Oe(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Ou(e)?e.CompareTo(t):m1(e)?m1(t)?Mi(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Ni(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?qu(e,t):-1}function y(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function Gu(e){m1(e)?e.splice(0):e.clear()}const Fn=new WeakMap;function Y0(e){if(e==null)return null;const t=(r,n)=>e(r)(n);return Fn.set(t,e),t}function bt(e){return Fn.get(e)??(t=>r=>e(t,r))}function H4(e){if(e==null)return null;const t=(r,n,i)=>e(r)(n)(i);return Fn.set(t,e),t}function x5(e){return Fn.get(e)??(t=>r=>n=>e(t,r,n))}function zu(e){let t=0,r="[";for(const n of e){if(t===0)r+=ne(n);else if(t===100){r+="; ...";break}else r+="; "+ne(n);t++}return r+"]"}function ne(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 zu(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+ne(o,t+1)).join(`
|
|
2
|
-
`)+" }":(n==null?void 0:n.name)??""}}return String(e)}function
|
|
3
|
-
`)+" }"}function Ju(e){const t=Object.values(e).map(r=>p1(r));return lr(t)}function Xu(e,t){if(e===t)return!0;if(on(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!X(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function Qu(e,t){if(e===t)return 0;if(on(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const i=Oe(e[r[n]],t[r[n]]);if(i!==0)return i}return 0}else return-1}class i0{toJSON(){return Zu(this)}toString(){return Ku(this)}GetHashCode(){return Ju(this)}Equals(t){return Xu(this,t)}CompareTo(t){return Qu(this,t)}}class ke{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 ec{constructor(t){this.message=t}}function tc(e){return e instanceof ec||e instanceof Error}function rc(e){return e instanceof Promise}function an(e){return tc(e)||rc(e)?e:new Error(String(e))}const Pn=ne(Iu),d3=Symbol("numeric");function ga(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[d3])}function nc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function U4(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[d3]().multiply(t)}function zr(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[d3]().toFixed(t)}function ln(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[d3]().toPrecision(t)}function un(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[d3]().toExponential(t)}function cn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[d3]().toHex()}const ic=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],oc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],sc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ac=["January","February","March","April","May","June","July","August","September","October","November","December"];function Qe(e,t,r){let n=0,i=t;for(;i<e.length&&e[i]===r;)i++,n++;return n}function Xo(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function lc(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 ki(e,t,r){let n=0,i=0,o="";const s=r?ur(e.getTime(),1):e;for(;n<t.length;){const a=t[n];switch(a){case"d":switch(i=Qe(t,n,"d"),n+=i,i){case 1:o+=e6(s);break;case 2:o+=G0(e6(s),2);break;case 3:o+=ic[n6(s)];break;case 4:o+=oc[n6(s)];break}break;case"f":if(i=Qe(t,n,"f"),n+=i,i<=3){const b=10**(3-i);o+=G0(Math.floor(Ir(s)/b),i)}else i<=7&&(o+=(""+Ir(s)).padEnd(i,"0"));break;case"F":if(i=Qe(t,n,"F"),n+=i,i<=3){const b=10**(3-i),_=Math.floor(Ir(s)/b);_!=0&&(o+=G0(_,i))}else if(i<=7){const b=Ir(s);b!=0&&(o+=G0(b,3))}break;case"g":i=Qe(t,n,"g"),n+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=Qe(t,n,"h"),n+=i,i){case 1:o+=kr(s)%12;break;case 2:o+=G0(kr(s)%12,2);break}break;case"H":switch(i=Qe(t,n,"H"),n+=i,i){case 1:o+=kr(s);break;case 2:o+=G0(kr(s),2);break}break;case"K":switch(i=Qe(t,n,"K"),n+=i,i){case 1:switch(Qo(s)){case 1:o+="Z";break;case 2:o+=j2(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=Qe(t,n,"m"),n+=i,i){case 1:o+=t6(s);break;case 2:o+=G0(t6(s),2);break}break;case"M":switch(i=Qe(t,n,"M"),n+=i,i){case 1:o+=Rr(s);break;case 2:o+=G0(Rr(s),2);break;case 3:o+=sc[Rr(s)-1];break;case 4:o+=ac[Rr(s)-1];break}break;case"s":switch(i=Qe(t,n,"s"),n+=i,i){case 1:o+=r6(s);break;case 2:o+=G0(r6(s),2);break}break;case"t":switch(i=Qe(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=Qe(t,n,"y"),n+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=G0(s.getFullYear()%100,2);break;case 3:o+=G0(s.getFullYear(),3);break;case 4:o+=G0(s.getFullYear(),4);break;case 5:o+=G0(s.getFullYear(),5);break}break;case"z":i=Qe(t,n,"z"),n+=i;let l="";switch(Qo(s)){case 1:l="+00:00";break;case 2:l=j2(s.getTimezoneOffset()*-6e4);break;case 0:l=j2(wc(s).getTimezoneOffset()*-6e4);break}const c=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${c}${d}`;break;case 2:o+=`${c}${G0(d,2)}`;break;default:o+=`${c}${G0(d,2)}:${G0(f,2)}`;break}break;case":":o+=":",n++;break;case"/":o+="/",n++;break;case"'":case'"':const[h,m]=lc(t,n);o+=h,n+=m;break;case"%":const p=Xo(t,n);if(p>=0&&p!==37)n+=2,o+=ki(s,String.fromCharCode(p),r);else throw new Error("Invalid format string");break;case"\\":const v=Xo(t,n);if(v>=0)n+=2,o+=String.fromCharCode(v);else throw new Error("Invalid format string");break;default:n++,o+=a;break}}return o}function Qo(e){return e.kind||0}function j2(e){const t=e<0;e=Math.abs(e);const r=~~(e/36e5),n=e%36e5/6e4;return(t?"-":"+")+G0(r,2)+":"+G0(n,2)}function dn(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 uc(e,t){if(t)return e.toISOString();{const r=e.kind==null?!0:e.kind===2;return G0(e.getFullYear(),4)+"-"+G0(e.getMonth()+1,2)+"-"+G0(e.getDate(),2)+"T"+G0(e.getHours(),2)+":"+G0(e.getMinutes(),2)+":"+G0(e.getSeconds(),2)+"."+G0(e.getMilliseconds(),3)+(r?j2(e.getTimezoneOffset()*-6e4):"")}}function cc(e,t){const r=e.toISOString();return r.substring(0,r.length-1)+j2(t)}function dc(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," ")+j2(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return dn(r,"first");case"T":case"t":return dn(r,"second");case"O":case"o":return cc(r,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return ki(r,t,!0)}function fc(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?dn(e,"first"):e.toLocaleDateString();case"T":case"t":return r?dn(e,"second"):e.toLocaleTimeString();case"O":case"o":return uc(e,r);default:throw new Error("Unrecognized Date print format")}else return ki(e,t,r)}function Ln(e,t,r){return e.offset!=null?dc(e,t):fc(e,t)}function ur(e,t){const r=new Date(e);return r.kind=(t??0)|0,r}function hc(){return ur(-621355968e5,1)}function wa(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 mc(e,t=!1){const[r,n]=wa(e),i=n!=null?t&&n==="Z"?1:2:0;return ur(r.getTime(),i)}function pc(e,t){try{return t.contents=mc(e),!0}catch{return!1}}function gc(e){return e.kind===1?e:ur(e.getTime(),1)}function wc(e){return e.kind===2?e:ur(e.getTime(),2)}function e6(e){return e.kind===1?e.getUTCDate():e.getDate()}function kr(e){return e.kind===1?e.getUTCHours():e.getHours()}function Ir(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function t6(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Rr(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function r6(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function n6(e){return e.kind===1?e.getUTCDay():e.getDay()}const yc=Ni;function vc(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 Bn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i6(e,t,r=0){return e.lastIndex=r,e.test(t)}function o6(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 cr(e,t,r,n,i=0){function o(){let s=arguments[0];if(n){n--;const a=[],l=arguments.length,c=typeof arguments[l-1]!="string";let d=c?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],c&&(a.groups=arguments[d]),s=r(a)}return s}if(typeof e=="string"){const s=e;e=vc(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=o6(e,a),c=o6.length>n?(s=l[n-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+c.replace(e,r)+t.substring(i+c.length)}else return t.replace(e,r)}const N3=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,bc=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function ya(e,t){return nc(e,t)<0}function _c(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 Cc(e,t,r){return e.length>=t.length?_c(e.substr(e.length-t.length,t.length),t)===0:!1}function it(e){return{input:e,cont:Sc(e)}}function va(e,t){return typeof t=="string"?e(t):t.cont(e)}function l2(e){return va(t=>t,e)}function ba(e){return va(t=>{throw new Error(t)},e)}function xc(e,t,r,n,i){let o="";if(t=t||"",i=i||"",ga(e))switch(i.toLowerCase()!=="x"&&(ya(e,0)?(e=U4(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=zr(e,n);break;case"g":case"G":e=n!=null?ln(e,n):ln(e);break;case"e":case"E":e=n!=null?un(e,n):un(e);break;case"x":e=cn(e);break;case"X":e=cn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Ln(e):e=ne(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=Q3(e,r-o.length,l,a),e=o+e):e=Q3(o+e,r,l,a)}return e}function _a(e,t,r,n="",i=-1){return(...o)=>{let s=n;const a=t.slice(),l=r.slice();for(const c of o){const[,,d,f,h,m]=l[0];let p=f;if(i>=0)p=i,i=-1;else if(p==="*"){if(c<0)throw new Error("Non-negative number required");i=c;continue}s+=a[0],s+=xc(c,d,p,h,m),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):_a(e,a,l,s,i)}}function Sc(e){return t=>{N3.lastIndex=0;const r=[],n=[];let i=0,o=N3.exec(e);for(;o;){const s=o.index+(o[1]||"").length;r.push(e.substring(i,s).replace(/%%/g,"%")),n.push(o),i=N3.lastIndex,N3.lastIndex-=1,o=N3.exec(e)}return r.length===0?t(e.replace(/%%/g,"%")):(r.push(e.substring(i).replace(/%%/g,"%")),_a(t,r,n))}}function Ii(e,...t){let r;return typeof e=="object"?(r=String(t[0]),t.shift()):r=e,r.replace(bc,(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 c=t[i];if(ga(c))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,c=zr(c,a);break;case"g":case"G":c=a!=null?ln(c,a):ln(c);break;case"e":case"E":c=a!=null?un(c,a):un(c);break;case"p":case"P":a=a??2,c=zr(U4(c,100),a)+" %";break;case"d":case"D":c=a!=null?S5(String(c),a,"0"):String(c);break;case"x":case"X":c=a!=null?S5(cn(c),a,"0"):cn(c),s==="X"&&(c=c.toUpperCase());break;default:if(l){let d="";c=l.replace(/([0#,]+)(\.[0#]+)?/,(f,h,m)=>{ya(c,0)&&(c=U4(c,-1),d="-"),m=m==null?"":m.substring(1),c=zr(c,Math.max(m.length,0));let[p,v]=c.split(".");v||(v="");const b=h.replace(/,/g,"").replace(/^#+/,"").length;p=S5(p,b,"0");const _=m.replace(/#+$/,"").length;if(_>v.length?v=Ec(v,_,"0"):_<v.length&&(v=v.substring(0,_)+v.substring(_).replace(/0+$/,"")),h.indexOf(",")>0){const C=p.length%3,A=Math.floor(p.length/3);let N=C>0?p.substr(0,C)+(A>0?",":""):"";for(let R=0;R<A;R++)N+=p.substr(C+R*3,3)+(R<A-1?",":"");p=N}return v.length>0?p+"."+v:p}),c=d+c}}else c instanceof Date?c=Ln(c,l||s):c=ne(c);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(c=Q3(String(c),Math.abs(o)," ",o<0)),c})}function Ri(e){return typeof e!="string"||e.length===0}function Ot(e){return typeof e!="string"||/^\s*$/.test(e)}function xe(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Q3(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 S5(e,t,r){return Q3(e,t,r)}function Ec(e,t,r){return Q3(e,t,r,!0)}function Ca(e,t,r){return e.replace(new RegExp(Bn(t),"g"),r)}function xa(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(Bn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(c).trim():e.substring(c);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(c,d.index).trim():e.substring(c,d.index);(!i||f.length>0)&&(r!=null&&s.length+1===r?(s.push(o?e.substring(c).trim():e.substring(c)),l=!1):s.push(f)),c=a.lastIndex}}while(l);return s}function Sa(e,...t){if(t.length===0)return e.trim();const r="["+Bn(t.join(""))+"]+";return e.replace(new RegExp("^"+r),"").replace(new RegExp(r+"$"),"")}function Oi(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+Bn(t.join(""))+"]+$"),"")}function Ac(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 u2{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return p1(this.value)}Equals(t){return t==null?!1:X(this.value,t instanceof u2?t.value:t)}CompareTo(t){return t==null?1:Oe(this.value,t instanceof u2?t.value:t)}}function U(e){if(e==null)throw new Error("Option has no value");return e instanceof u2?e.value:e}function K1(e){return e instanceof u2?e.value:e}function we(e){return e==null||e instanceof u2?new u2(e):e}function Di(e){return e==null?null:U(e)}function Dt(e){return e==null?[]:[U(e)]}function V0(e,t){return e!=null?U(e):t}function Tc(e,t){return e!=null?U(e):t()}function ae(e,t){return t!=null?we(e(U(t))):void 0}function Vn(e,t){return t!=null?e(U(t)):void 0}class Nc{constructor(t,r,n,i){this.declaringType=t,this.tag=r,this.name=n,this.fields=i}}class Je{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 re(this)}GetHashCode(){return Ea(this)}Equals(t){return j4(this,t)}}function n1(e){return e.generics!=null?e.generics:[]}function Ea(e){const t=s1(e.fullname),r=n1(e).map(Ea);return lr([t,...r])}function j4(e,t){return e.fullname===""?t.fullname===""&&V4(er(e),er(t),([r,n],[i,o])=>r===i&&j4(n,o)):e.fullname===t.fullname&&V4(n1(e),n1(t),j4)}function Be(e,t,r,n){return new Je(e,t,r,n)}function Z0(e,t,r,n){return new Je(e,t,r,void 0,n)}function Pe(...e){return new Je("",void 0,void 0,void 0,()=>e)}function P1(e,t,r,n){const i=new Je(e,t,r,void 0,void 0,()=>{const o=r.prototype.cases();return n().map((s,a)=>new Nc(i,a,o[a],s))});return i}function h1(e){return new Je("Microsoft.FSharp.Core.FSharpOption`1",[e])}function A1(e){return new Je("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Mc=new Je("System.Object"),te=new Je("System.String"),Q2=new Je("System.Boolean"),v0=new Je("System.Int32");function W2(e){if(Array.isArray(e))return e[0];if(e instanceof Je){const t=dr(e);if(t!=null)return W2(t)+"[]";{const r=e.fullname.lastIndexOf(".");return r===-1?e.fullname:e.fullname.substr(r+1)}}else return e.name}function re(e){const t=dr(e);return t!=null?re(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(r=>re(r)).join(",")+"]"}function Aa(e){return dr(e)!=null}function dr(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ta(e){return e.generics!=null&&e.generics.length>0}function $i(e){return e.enumCases!=null&&e.enumCases.length>0}function Na(e){return e.generics==null?e:new Je(e.fullname,e.generics.map(()=>Mc))}function Ma(e){var t;return(t=e.generics)==null?void 0:t[0]}function M2(e){if($i(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function kc(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 k2(e,t){const r=parseInt(t,10);return kc(e,isNaN(r)?t:r)[1]}function ka(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function er(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Ia(e){if(Fi(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Ra(e){return e instanceof Je?e.cases!=null:e instanceof G}function Oa(e){return e instanceof Je?e.fields!=null:e instanceof i0}function Fi(e){return e.fullname.startsWith("System.Tuple")}function Ic(e,t){const n=ka(t)[e.tag];if(n==null)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function Da(e){return e.fields==null?[]:e.fields}function Rc(e,t){return e[t[0]]}function Oc(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 Dc(e,t){const r=er(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 $c(e,t){return e}const $a="Collection was empty.",Fc="The input must be non-negative.",Fa="The input sequence has an insufficient number of elements.";function e3(e,t){return new Array(t)}function s6(e,t){return e>t?e:t}function a6(e,t){return e<t?e:t}function Pa(e,t,r){const n=e.length|0,i=t.length|0,o=e3(r,n+i);for(let s=0;s<=n-1;s++)Ve(o,s,f0(s,e));for(let s=0;s<=i-1;s++)Ve(o,s+n,f0(s,t));return o}function fr(e,t,r,n){const i=t|0;return e.fill(n,i,i+r)}function Pc(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return f0(e.length-1,e)}function Hn(e,t,r){const n=t.length|0,i=e3(r,n);for(let o=0;o<=n-1;o++)Ve(i,o,e(o,f0(o,t)));return i}function Q0(e,t,r){const n=t.length|0,i=e3(r,n);for(let o=0;o<=n-1;o++)Ve(i,o,e(f0(o,t)));return i}function fn(e,t){const r=Array.isArray(e)?e:Array.from(e);switch(r.length|0){case 0:return e3(t,0);case 1:return f0(0,r);default:{let i=0,o=0;for(let a=0;a<=r.length-1;a++){const l=f0(a,r);o=o+l.length|0}const s=e3(t,o);for(let a=0;a<=r.length-1;a++){const l=f0(a,r);for(let c=0;c<=l.length-1;c++)Ve(s,i,f0(c,l)),i=i+1|0}return s}}}function Lc(e,t,r,n,i){const o=V0(r,0)|0,s=V0(ae(l=>o+l,n),e.length)|0;return(l=>{e:for(;;){const c=l;if(c>=s)return-1;if(i.Equals(t,f0(c,e)))return c|0;l=c+1;continue e}})(o)|0}function R1(e,t,r){return Lc(t,e,void 0,void 0,r)>=0}function Bc(e,t){const r=e3(t,1);return Ve(r,0,e),r}function Vc(e){return e.slice().reverse()}function $t(e,t){return t.find(e)}function Ye(e,t,r){const n=[];for(let i=0;i<=t.length-1;i++){const o=e(f0(i,t));if(o!=null){const s=U(o);n.push(s)}}return X(r,E0())?n:Q0(i=>i,n,r)}function Un(e,t,r){const n=e;return r.reduce(n,t)}function Hc(e,t){const r=e.slice();return r.sort((n,i)=>t.Compare(n,i)),r}function Uc(e,t,r){const n=t.slice();return n.sort((i,o)=>r.Compare(e(i),e(o))),n}function Nt(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(f0(n,t),f0(n,r)),n=n+1|0;return i}}function l6(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return f0(0,e)}function jc(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function f0(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 Ve(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 La(e,t){if(!(e<0||e>=t.length))return we(t[e])}function Ba(e,t,r){return t.reduceRight((n,i)=>e(i,n),r)}class Me extends i0{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+xe("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c);if(X(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return c==null}})(r,t)}GetHashCode(){return((n,i,o)=>{e:for(;;){const s=n,a=i,l=o,c=l.tail;if(c!=null){const d=U(c);if(s>18)return a|0;n=s+1,i=(a<<1)+p1(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,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c),h=Oe(s.head,a.head)|0;if(h===0){i=d,o=f;continue e}else return h|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return qc(this)}[Symbol.iterator](){return c3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}}class Wc{constructor(t){this.xs=t,this.it=this.xs,this.current=E0()}"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=U(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=E0()}Dispose(){}}function qc(e){return new Wc(e)}function ie(){return new Me(E0(),void 0)}function hr(e,t){return new Me(e,t)}function O1(e){return e.tail==null}function Va(e){return((r,n)=>{e:for(;;){const i=r,s=n.tail;if(s!=null){r=i+1,n=U(s);continue e}else return i|0}})(0,e)|0}function Mt(e){if(e.tail!=null)return e.head;throw new Error($a+"\\nParameter name: list")}function Se(e){const t=e.tail;if(t!=null)return U(t);throw new Error($a+"\\nParameter name: list")}function oe(){return ie()}function c1(e,t){return hr(e,t)}function o0(e){return hr(e,ie())}function M0(e){return O1(e)}function _e(e){return Va(e)}function d0(e){return Mt(e)}function $0(e){return Se(e)}function lt(e){const t=Va(e)|0,r=fr(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!O1(a)){Ve(r,s,Mt(a)),i=s+1,o=Se(a);continue e}break}})(0,e),r}function L1(e,t,r){let n=t,i=r;for(;!O1(i);)n=e(n,d0(i)),i=Se(i);return n}function Pi(e){return L1((t,r)=>hr(r,t),ie(),e)}function Gc(e,t,r){return Ba(e,lt(t),r)}function zc(e,t,r){return((i,o,s)=>{e:for(;;){const a=i,l=o,c=s;if(O1(c))return l;i=a+1,o=e(a,l,Mt(c)),s=Se(c);continue e}})(0,t,r)}function tr(e,t){L1((r,n)=>{e(n)},void 0,t)}function ce(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=hr(f0(n,e),r);return r}function g(e){return ce(e,ie())}function Yc(e){let t,r;if(m1(e))return g(e);if(e instanceof Me)return e;{const n=ie();let i=n;const o=B0(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,r=new Me(l,void 0),t.tail=r,r)}}finally{D0(o)}const s=i,a=ie();return s.tail=a,Se(n)}}function Zc(e){const t=ie();let r=t;const n=s=>{r=L1((a,l)=>{const c=new Me(l,void 0);return a.tail=c,c},r,s)};if(m1(e))e.forEach(n);else if(e instanceof Me)tr(n,e);else{const s=B0(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)n(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{D0(s)}}const i=r,o=ie();return i.tail=o,Se(t)}function Ft(e,t){return L1((r,n)=>hr(n,r),t,Pi(e))}function Kc(e,t){let r,n;const i=ie();let o=i,s=t;for(;!O1(s);){let c=e(Mt(s));for(;!O1(c);)o=(r=o,n=new Me(Mt(c),void 0),r.tail=n,n),c=Se(c);s=Se(s)}const a=o,l=ie();return a.tail=l,Se(i)}function jn(e,t){const r=ie(),n=zc((o,s,a)=>{const l=new Me(e(o,a),void 0);return s.tail=l,l},r,t),i=ie();return n.tail=i,Se(r)}function ot(e,t){const r=ie(),n=L1((o,s)=>{const a=new Me(e(s),void 0);return o.tail=a,a},r,t),i=ie();return n.tail=i,Se(r)}function Jc(e,t){return(n=>{e:for(;;){const i=n;if(O1(i))return;{const o=e(Mt(i));if(o==null){n=Se(i);continue e}else return o}}})(t)}function W4(e,t){return Jc(r=>e(r)?we(r):void 0,t)}function Xc(e,t){return((n,i)=>{e:for(;;){const o=n,s=i;if(O1(s))return;if(e(Mt(s)))return o;n=o+1,i=Se(s);continue e}})(0,t)}function je(e,t){const r=ie(),n=L1((o,s)=>{if(e(s)){const a=new Me(s,void 0);return o.tail=a,a}else return o},r,t),i=ie();return n.tail=i,Se(r)}function Qc(e,t){const r=ie(),n=ie(),i=r,o=L1((l,c)=>{let d,f;const h=l[0],m=l[1];return e(c)?[(d=new Me(c,void 0),h.tail=d,d),m]:[h,(f=new Me(c,void 0),m.tail=f,f)]},[i,n],t),s=ie();o[0].tail=s;const a=ie();return o[1].tail=a,[Se(i),Se(n)]}function ed(e,t){const r=ie(),n=L1((o,s)=>{const a=e(s);if(a==null)return o;{const l=new Me(U(a),void 0);return o.tail=l,l}},r,t),i=ie();return n.tail=i,Se(r)}function Li(e,t){return Xc(e,t)!=null}function Ha(e,t){const r=lt(t);return r.sort(e),g(r)}function td(e,t,r){return Ha((n,i)=>r.Compare(e(n),e(i)),t)}function Ua(e,t,r){return Ha((n,i)=>r.Compare(e(n),e(i))*-1,t)}function ja(e,t){e:for(;;){const r=e,n=t;if(r<=0)return n;if(O1(n))throw new Error(Fa+"\\nParameter name: list");e=r-1,t=Se(n);continue e}}function Wa(e,t){if(e<0)throw new Error(Fc+"\\nParameter name: count");const r=(s,a,l)=>{let c;e:for(;;){const d=s,f=a,h=l;if(d<=0)return f;if(O1(h))throw new Error(Fa+"\\nParameter name: list");s=d-1,a=(c=new Me(Mt(h),void 0),f.tail=c,c),l=Se(h);continue e}},n=ie(),i=r(e,n,t),o=ie();return i.tail=o,Se(n)}function qa(e,t,r){const n=_e(r)|0;let i;const o=V0(e,0)|0;i=o<0?0:o;let s;const a=V0(t,n-1)|0;return s=a>=n?n-1:a,s<i?ie():Wa(s-i+1,ja(i,r))}const w=Q;function rd(e){const t=g([u("style",{children:[Pn]}),u("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return u("div",{children:w.Children.toArray(Array.from(t))})}class Ga{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 Wn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Wn.prototype)}}class Bi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>Bi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function J1(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Wn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(r){t.onError(an(r))}});else try{e(t)}catch(r){t.onError(an(r))}}}function nd(e,t){return J1(r=>{e({onSuccess:n=>{try{t(n)(r)}catch(i){r.onError(an(i))}},onError:r.onError,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function id(e){return J1(t=>t.onSuccess(e))}class od{Bind(t,r){return nd(t,r)}Combine(t,r){return this.Bind(t,()=>r)}Delay(t){return J1(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 id(t)}ReturnFrom(t){return t}TryFinally(t,r){return J1(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 J1(n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:i=>{try{r(i)(n)}catch(o){n.onError(an(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 J1(t=>t.onSuccess(void 0))}}const V=new od;function sd(e){return new za(0,[e])}function ad(e){return new za(1,[e])}class za extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Choice1Of2","Choice2Of2"]}}function ld(e){return sd(e)}function ud(e){return ad(e)}function E5(e){}function cd(e){return new Ga(!1)}function dd(e){e.cancel()}function fd(e){return e!=null&&e.isCancelled}const hd=new Ga;function md(e){return J1(t=>{e({onSuccess:r=>t.onSuccess(ld(r)),onError:r=>t.onSuccess(ud(r)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function pd(e){return J1(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Vi(e){return J1(t=>{let r;const n=setTimeout(()=>{t.cancelToken.removeListener(r),t.onSuccess(void 0)},e);r=t.cancelToken.addListener(()=>{clearTimeout(n),t.onCancel(new Wn)})})}function gd(e,t){return wd(e,t)}function Pt(e,t){return gd(e,t)}function wd(e,t,r,n,i){typeof t!="function"&&(i=t,t=void 0);const o=new Bi;e({onSuccess:t||E5,onError:E5,onCancel:E5,cancelToken:i||hd,trampoline:o})}class ut extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class mr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Empty","Text","Binary","Form"]}}class qn extends i0{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 P2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ya extends i0{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}}function yd(e){throw new Error(e)}const vd="Enumeration already finished.",bd="Enumeration has not started. Call MoveNext.",Za="The input sequence has an insufficient number of elements.",_d="Reset is not supported on this enumerator.";function Cd(){throw new Error(_d)}function Hi(){throw new Error(bd)}function q4(){throw new Error(vd)}class xd{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const i=B0(t);try{for(;r<4&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+ne(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{D0(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return c3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Sd(e){return new xd(e)}class Ed{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"(){Cd()}Dispose(){this.dispose()}}function Gn(e,t,r){return new Ed(e,t,r)}function Ad(e){let t,r,n=!1,i=!1,o;const s=()=>{if(i=!0,r!=null){const a=U(r);try{D0(a)}finally{r=void 0}}if(t!=null){const a=U(t);try{D0(a)}finally{t=void 0}}};return Gn(()=>(n?i&&q4():Hi(),o!=null?U(o):q4()),()=>{let a;if(n||(n=!0),i)return!1;{let l;for(;l==null;){const c=t,d=r;if(c!=null)if(d!=null){const f=U(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=we(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{D0(f)}finally{r=void 0}}else{const f=U(c);f["System.Collections.IEnumerator.MoveNext"]()?r=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),B0(a)):(s(),l=!1)}else t=B0(e)}return U(l)}},()=>{i||s()})}function Td(e,t){return Gn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{D0(t)}finally{}})}function Ka(e,t,r){let n=!1,i,o=we(e());const s=()=>{if(o!=null){const l=U(o);try{r(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return Gn(()=>(n||Hi(),i!=null?U(i):q4()),()=>{if(n||(n=!0),o!=null){const l=U(o);let c;try{c=t(l)}catch(d){throw a(),d}return c!=null?(i=c,!0):(a(),!1)}else return!1},s)}function Nd(e,t){let r,n=t;return Gn(()=>{if(r!=null){const i=U(r)[0];return U(r)[1],i}else return Hi()},()=>(r=e(n),r!=null?(U(r)[0],n=U(r)[1],!0):!1),()=>{})}function Md(e,t){t==null&&yd(e)}function f3(e){return Sd(e)}function g1(e){return Md("source",e),B0(e)}function T(e){return f3(()=>B0(e()))}function zn(e){return f3(()=>Ad(e))}function kd(e,t){return f3(()=>Nd(e,t))}function k0(){return T(()=>new Array(0))}function x(e){return T(()=>Bc(e))}function w1(e){return e instanceof Me?lt(e):Array.from(e)}function q(e){return m1(e)?g(e):e instanceof Me?e:Yc(e)}function Ui(e,t,r){return f3(()=>Ka(e,t,r))}function Ja(e,t,r){return f3(()=>{let n=-1;return Ka(e,i=>(n=n+1|0,t(n,i)),r)})}function F(e,t){return zn([e,t])}function Id(e,t){return Ui(()=>g1(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=>{D0(r)})}function Rd(e,t,r){const n=g1(t);try{const i=g1(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{D0(i)}}finally{D0(n)}}function I2(e,t,r){const n=g1(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{D0(n)}}function At(e,t){return Id(r=>{if(e(r))return we(r)},t)}function pr(e,t,r){const n=g1(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{D0(n)}}function B1(e,t){pr((r,n)=>{e(n)},void 0,t)}function Xa(e,t){pr((r,n)=>(e(r,n),r+1|0),0,t)}function Od(e){if(m1(e))return e.length|0;if(e instanceof Me)return _e(e)|0;{const t=g1(e);try{let r=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)r=r+1|0;return r|0}finally{D0(t)}}}function F0(e,t){return Ui(()=>g1(t),r=>r["System.Collections.IEnumerator.MoveNext"]()?we(e(r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{D0(r)})}function Dd(e,t){return Ja(()=>g1(t),(r,n)=>n["System.Collections.IEnumerator.MoveNext"]()?we(e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{D0(r)})}function $d(e,t,r){return Ui(()=>[g1(t),g1(r)],n=>{const i=n[0],o=n[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?we(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},n=>{try{D0(n[0])}finally{D0(n[1])}})}function Fd(e){return T(()=>Vc(w1(e)))}function Pd(e,t){return f3(()=>{const r=g1(t);try{for(let n=1;n<=e;n++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Za+"\\nParameter name: source");return Td(()=>{},r)}catch(n){throw D0(r),n}})}function Ld(e,t){return Ja(()=>g1(t),(r,n)=>{if(r<e){if(n["System.Collections.IEnumerator.MoveNext"]())return we(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Za+"\\nParameter name: source")}else return},r=>{D0(r)})}function Qa(e,t){return $d((r,n)=>[r,n],e,t)}function h3(e,t){return T(()=>zn(F0(e,t)))}class e8{constructor(t,r){this.k=t,this.v=r}}function t3(e,t){return new e8(e,t)}function pe(e){return e.k}function Ce(e){return e.v}class ye extends e8{constructor(t,r,n,i,o){super(t,r),this.left=n,this.right=i,this.h=o|0}}function s2(e,t,r,n,i){return new ye(e,t,r,n,i)}function fe(e){return e.left}function he(e){return e.right}function xt(e){return e.h}function t8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof ye){const o=i;e=t8(r+1,fe(o)),t=he(o);continue e}else return r+1|0}else return r|0}}function r8(e){return t8(0,e)}function e1(e,t,r,n){let i,o,s;const a=e;if(a!=null){const f=U(a);s=f instanceof ye?(i=f,xt(i)):1}else s=0;let l;const c=n;if(c!=null){const f=U(c);l=f instanceof ye?(o=f,xt(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?t3(t,r):s2(t,r,e,n,d+1)}function hn(e,t,r,n){let i,o,s,a,l,c,d,f,h;const m=e;if(m!=null){const b=U(m);h=b instanceof ye?(i=b,xt(i)):1}else h=0;let p;const v=n;if(v!=null){const b=U(v);p=b instanceof ye?(o=b,xt(o)):1}else p=0;if(p>h+2){const b=U(n);if(b instanceof ye){const _=b;if(s=fe(_),(s!=null?(a=U(s),a instanceof ye?(l=a,xt(l)):1):0)>h+1){const C=U(fe(_));if(C instanceof ye){const A=C;return e1(e1(e,t,r,fe(A)),pe(A),Ce(A),e1(he(A),pe(_),Ce(_),he(_)))}else throw new Error("internal error: Map.rebalance")}else return e1(e1(e,t,r,fe(_)),pe(_),Ce(_),he(_))}else throw new Error("internal error: Map.rebalance")}else if(h>p+2){const b=U(e);if(b instanceof ye){const _=b;if(c=he(_),(c!=null?(d=U(c),d instanceof ye?(f=d,xt(f)):1):0)>p+1){const C=U(he(_));if(C instanceof ye){const A=C;return e1(e1(fe(_),pe(_),Ce(_),fe(A)),pe(A),Ce(A),e1(he(A),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return e1(fe(_),pe(_),Ce(_),e1(he(_),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return e1(e,t,r,n)}function r3(e,t,r,n){if(n!=null){const i=U(n),o=e.Compare(t,pe(i))|0;if(i instanceof ye){const s=i;return o<0?hn(r3(e,t,r,fe(s)),pe(s),Ce(s),he(s)):o===0?s2(t,r,fe(s),he(s),xt(s)):hn(fe(s),pe(s),Ce(s),r3(e,t,r,he(s)))}else return o<0?s2(t,r,void 0,n,2):o===0?t3(t,r):s2(t,r,n,void 0,2)}else return t3(t,r)}function ji(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,pe(s))|0;if(a===0)return we(Ce(s));if(s instanceof ye){const l=s;e=n,t=i,r=a<0?fe(l):he(l);continue e}else return}else return}}function Bd(e,t,r){const n=ji(e,t,r);if(n==null)throw new Error;return U(n)}function n8(e){if(e!=null){const t=U(e);if(t instanceof ye){const r=t;if(fe(r)==null)return[pe(r),Ce(r),he(r)];{const n=n8(fe(r));return[n[0],n[1],e1(n[2],pe(r),Ce(r),he(r))]}}else return[pe(t),Ce(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function G4(e,t,r,n){if(n!=null){const i=U(n);if(i instanceof ye){const o=i,s=e.Compare(t,pe(o))|0;if(s<0)return hn(G4(e,t,r,fe(o)),pe(o),Ce(o),he(o));if(s===0){const a=r(we(Ce(o)));if(a!=null)return s2(t,U(a),fe(o),he(o),xt(o));if(fe(o)==null)return he(o);if(he(o)==null)return fe(o);{const l=n8(he(o));return e1(fe(o),l[0],l[1],l[2])}}else return hn(fe(o),pe(o),Ce(o),G4(e,t,r,he(o)))}else{const o=e.Compare(t,pe(i))|0;if(o<0){const s=r(void 0);return s!=null?s2(t,U(s),void 0,n,2):n}else if(o===0){const s=r(we(Ce(i)));return s!=null?t3(t,U(s)):void 0}else{const s=r(void 0);return s!=null?s2(t,U(s),n,void 0,2):n}}}else{const i=r(void 0);return i!=null?t3(t,U(i)):n}}function Vd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,pe(s))|0;if(s instanceof ye){const l=s;if(a<0){e=n,t=i,r=fe(l);continue e}else{if(a===0)return!0;e=n,t=i,r=he(l);continue e}}else return a===0}else return!1}}function i8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof ye){const o=i;i8(r,fe(o)),r(pe(o),Ce(o)),e=r,t=he(o);continue e}else r(pe(i),Ce(i))}break}}function Hd(e,t){i8(e,t)}function o8(e,t,r){let n=r;Hd((i,o)=>{Ve(t,n,[i,o]),n=n+1|0},e)}function Ud(e){const t=r8(e)|0,r=fr(new Array(t),0,t,[null,null]);return o8(e,r,0),r}function jd(e,t){return L1((r,n)=>r3(e,n[0],n[1],r),void 0,t)}function Wd(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=r3(n,s[0],s[1],i),r=o;continue e}else return i}}function qd(e,t){let r=void 0;for(let n=0;n<=t.length-1;n++){const i=f0(n,t);r=r3(e,i[0],i[1],r)}return r}function s8(e,t){if(m1(t))return qd(e,t);if(t instanceof Me)return jd(e,t);{const r=B0(t);try{return Wd(e,void 0,r)}finally{D0(r)}}}class Gd extends i0{constructor(t,r){super(),this.stack=t,this.started=r}}function a8(e){e:for(;;){const t=e;if(M0(t))return oe();{const r=$0(t),n=d0(t);if(n!=null){const i=U(n);if(i instanceof ye){const o=i;e=ce([fe(o),t3(pe(o),Ce(o)),he(o)],r);continue e}else return t}else{e=r;continue e}}}}function u6(e){return new Gd(a8(o0(e)),!1)}function zd(){throw new Error("enumeration not started")}function Yd(){throw new Error("enumeration already finished")}function c6(e){if(e.started){const t=e.stack;if(M0(t))return Yd();if(d0(t)!=null){const r=U(d0(t));if(r instanceof ye)throw new Error("Please report error: Map iterator, unexpected stack for current");return[pe(r),Ce(r)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return zd()}function Zd(e){if(e.started){const t=e.stack;if(M0(t))return!1;if(d0(t)!=null){if(U(d0(t))instanceof ye)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=a8($0(t)),!M0(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!M0(e.stack)}function d6(e){let t=u6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return c6(t)},"System.Collections.IEnumerator.get_Current"(){return c6(t)},"System.Collections.IEnumerator.MoveNext"(){return Zd(t)},"System.Collections.IEnumerator.Reset"(){t=u6(e)},Dispose(){}}}class mn{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return ef(this)|0}Equals(t){const r=this;if(t instanceof mn){const n=t,i=B0(r);try{const o=B0(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"](),c=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return X(l[0],c[0])&&X(l[1],c[1])?s():!1}else return!0;else return!1};return s()}finally{D0(o)}}finally{D0(i)}}else return!1}toString(){return"map ["+xe("; ",F0(r=>Ii("({0}, {1})",r[0],r[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return d6(this.tree)}[Symbol.iterator](){return c3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return d6(this.tree)}CompareTo(t){const r=this;if(t instanceof mn)return Rd((i,o)=>{const s=r.comparer.Compare(i[0],o[0])|0;return(s!==0?s:Oe(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 f6(r,t[0])&&X(c2(r,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){o8(this.tree,t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return A5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return A5(this)|0}get size(){return A5(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return F0(r=>[r[0],r[1]],this)}get(t){return c2(this,t)}has(t){return f6(this,t)}keys(){return F0(r=>r[0],this)}set(t,r){throw new Error("Map cannot be mutated")}values(){return F0(r=>r[1],this)}forEach(t,r){const n=this;B1(i=>{t(i[1],i[0],n)},n)}}function gr(e,t){return new mn(e,t)}function Kd(e){return gr(e,void 0)}function Jd(e,t,r){return gr(e.comparer,r3(e.comparer,t,r,e.tree))}function Xd(e,t,r){return gr(e.comparer,G4(e.comparer,t,r,e.tree))}function c2(e,t){return Bd(e.comparer,t,e.tree)}function A5(e){return r8(e.tree)}function f6(e,t){return Vd(e.comparer,t,e.tree)}function Qd(e,t,r){const n=ji(e.comparer,t,e.tree);if(n==null)return!1;{const i=U(n);return r.contents=i,!0}}function h6(e){return Q0(t=>t[1],Ud(e.tree))}function n2(e,t){return ji(e.comparer,t,e.tree)}function ef(e){const t=(i,o)=>(i<<1)+o+631;let r=0;const n=B0(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r=t(r,p1(i[0]))|0,r=t(r,p1(i[1]))|0}}finally{D0(n)}return r|0}function l8(e,t,r){return Jd(r,e,t)}function Or(e,t,r){return Xd(r,e,t)}function u8(e,t){return n2(t,e)}function tf(e){return F0(t=>[t[0],t[1]],e)}function q2(e,t){return gr(t,s8(t,e))}function rf(e,t){return gr(t,s8(t,e))}function Wi(e){return Kd(e)}const zt=new qn("",new ut(0,[]),oe(),!1,void 0,void 0,void 0,new mr(0,[]));new Ya(0,"","","",Wi({Compare:v2}),new P2(0,[""]));function m6(e,t){return Ri(t)?new Array(0):xa(t,[e],void 0,0)}function nf(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 Lt(e){return new qn(e,zt.method,zt.headers,zt.withCredentials,zt.overridenMimeType,zt.overridenResponseType,zt.timeout,zt.content)}function Bt(e,t){return new qn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Yn(e,t){return new qn(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function p6(e){return pd(t=>{const r=new XMLHttpRequest;r.open(nf(e.method),e.url),r.onreadystatechange=()=>{let l,c,d,f,h,m,p;r.readyState===4&&t[0]((l=(c=r.responseType,c===""||c==="text"?r.responseText:""),d=r.status|0,f=r.responseType,h=(m=r.responseType,m===""?new P2(0,[r.responseText]):m==="text"?new P2(0,[r.responseText]):m==="arraybuffer"?new P2(2,[r.response]):m==="blob"?new P2(1,[r.response]):new P2(3,[r.response])),p=rf(Ye(v=>{const b=g(m6(":",v));if(!M0(b))return[d0(b).toLocaleLowerCase(),xe(":",$0(b)).trim()]},m6(`\r
|
|
4
|
-
`,r.getAllResponseHeaders())),{Compare:v2}),new Ya(d,l,f,r.responseURL,p,h)))};const n=B0(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{D0(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(we(a.fields[0]));break}case 3:{r.send(we(a.fields[0]));break}case 2:{r.send(we(a.fields[0]));break}default:r.send()}})}function of(e){return new I(0,[e])}function c8(e){return new I(1,[e])}class I extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Ok","Error"]}}function D1(e,t){return t.tag===0?of(e(t.fields[0])):c8(t.fields[0])}function sf(e,t){return t.tag===0?e(t.fields[0]):c8(t.fields[0])}const e2={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function T5(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 af(e,t){switch(t){case e2.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case e2.SnakeCase:return T5(e,"_");case e2.SnakeCaseAllCaps:return T5(e,"_").toUpperCase();case e2.KebabCase:return T5(e,"-");case e2.None:default:return e}}function ct(e,t=e2.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=af(s,a),r[s]=l}for(let s of e){let a=e2.None;if(s==null&&i(s),s instanceof G){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 Zn(e,t,r){return e.has(t)?(r.contents=e.get(t),!0):!1}function d8(e,t){return t.has(e)?!1:(t.add(e),!0)}function lf(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 st(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class s0 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class l1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function g6(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function f8(e,t){switch(e.tag){case 2:return cr(g6(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return g6(t)}}const uf=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,w6=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,cf=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function df(e){function t(n){return n.replace(w6,"$1-$2-$3-$4-$5")}const r=e.trim().toLowerCase();if(uf.test(r))return Sa(r,"{","}","(",")");if(w6.test(r))return t(r);if(cf.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 ff(e,t){try{return t.contents=df(e),!0}catch{return!1}}function qi(){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 z4;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(z4||(z4={}));function hf(e,t){const[,r,n,i]=e;return{sign:r||"",prefix:n||"",digits:i,radix:t}}function y6(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 mf(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 pf(e,t){if(t&z4.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 gf(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||pf(o,t),!mf(r).test(s))return hf(i,r)}return null}function wf(e,t,r,n,i){const o=gf(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=y6(!0,n);!r&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-n>>32-n);const[c,d]=y6(r,n);if(s>=c&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function m3(e,t,r,n,i){try{return i.contents=wf(e,t,r,n),!0}catch{return!1}}function h8(e,t){yf(t);const r=new Date(e);return r.offset=t??new Date().getTimezoneOffset()*-6e4,r}function yf(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 vf(){return h8(-621355968e5,0)}function bf(e){const[t,r]=wa(e),n=r==null?t.getTimezoneOffset()*-6e4:r==="Z"?0:r*6e4;return h8(t.getTime(),n)}function _f(e,t){try{return t.contents=bf(e),!0}catch{return!1}}function wr(e){return e<0?Math.ceil(e):Math.floor(e)}function v6(e=0,t=0,r=0,n=0,i=0){switch(arguments.length){case 1:return Cf(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 Cf(e){return Number(BigInt(e)/10000n)}function xf(e){return wr(e/864e5)}function Sf(e){return wr(e%864e5/36e5)}function Ef(e){return wr(e%36e5/6e4)}function Af(e){return wr(e%6e4/1e3)}function Tf(e){return wr(e%1e3)}function Nf(e,t="c",r){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const n=Math.abs(xf(e)),i=Math.abs(Sf(e)),o=Math.abs(Ef(e)),s=Math.abs(Af(e)),a=Math.abs(Tf(e));return`${e<0?"-":""}${n===0&&(t==="c"||t==="g")?"":t==="c"?n+".":n+":"}${t==="g"?i:G0(i,2)}:${G0(o,2)}:${G0(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+G0(a,3):"."+Pu(a,3,7)}`}function Mf(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 v6(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],c=+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*v6(i,l,c,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function kf(e,t){try{return t.contents=Mf(e),!0}catch{return!1}}class m8{constructor(t,r){const n=new ke(E0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=B0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();N5(n.contents,o)}}finally{D0(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}GetEnumerator(){return B0(zn(this.hashMap.values()))}[Symbol.iterator](){return c3(B0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){N5(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){b6(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return C6(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Xa((i,o)=>{Ve(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return _6(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return x6(this,t)}get size(){return _6(this)|0}add(t){const r=this;return N5(r,t),r}clear(){b6(this)}delete(t){return x6(this,t)}has(t){return C6(this,t)}keys(){return F0(r=>r,this)}values(){return F0(r=>r,this)}entries(){return F0(r=>[r,r],this)}forEach(t,r){const n=this;B1(i=>{t(i,i,n)},n)}}function Gi(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=E0();return n=[Zn(e.hashMap,r,new ke(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,r,-1]}function b6(e){e.hashMap.clear()}function _6(e){let t=0,r=B0(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{D0(r)}return t|0}function N5(e,t){const r=Gi(e,t);return r[0]?r[2]>-1?!1:(st(e.hashMap,r[1]).push(t),!0):(e.hashMap.set(r[1],[t]),!0)}function C6(e,t){const r=Gi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function x6(e,t){const r=Gi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return st(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}class p8{constructor(t){this.k=t}}function t1(e){return new p8(e)}function _0(e){return e.k}class j0 extends p8{constructor(t,r,n,i){super(t),this.left=r,this.right=n,this.h=i|0}}function r1(e,t,r,n){return new j0(e,t,r,n)}function ee(e){return e.left}function K0(e){return e.right}function U2(e){return e.h}function g8(e,t){e:for(;;){const r=e,n=t;if(r!=null){const i=U(r);if(i instanceof j0){const o=i;e=ee(o),t=g8(K0(o),n+1);continue e}else return n+1|0}else return n|0}}function If(e){return g8(e,0)}function b1(e,t,r){let n,i,o;const s=e;if(s!=null){const d=U(s);o=d instanceof j0?(n=d,U2(n)):1}else o=0;let a;const l=r;if(l!=null){const d=U(l);a=d instanceof j0?(i=d,U2(i)):1}else a=0;const c=(o<a?a:o)|0;return c===0?t1(t):r1(t,e,r,c+1)}function S6(e,t,r){let n,i,o,s,a,l,c,d,f;const h=e;if(h!=null){const v=U(h);f=v instanceof j0?(n=v,U2(n)):1}else f=0;let m;const p=r;if(p!=null){const v=U(p);m=v instanceof j0?(i=v,U2(i)):1}else m=0;if(m>f+2){const v=U(r);if(v instanceof j0){const b=v;if(o=ee(b),(o!=null?(s=U(o),s instanceof j0?(a=s,U2(a)):1):0)>f+1){const _=U(ee(b));if(_ instanceof j0){const C=_;return b1(b1(e,t,ee(C)),_0(C),b1(K0(C),_0(b),K0(b)))}else throw new Error("internal error: Set.rebalance")}else return b1(b1(e,t,ee(b)),_0(b),K0(b))}else throw new Error("internal error: Set.rebalance")}else if(f>m+2){const v=U(e);if(v instanceof j0){const b=v;if(l=K0(b),(l!=null?(c=U(l),c instanceof j0?(d=c,U2(d)):1):0)>m+1){const _=U(K0(b));if(_ instanceof j0){const C=_;return b1(b1(ee(b),_0(b),ee(C)),_0(C),b1(K0(C),t,r))}else throw new Error("internal error: Set.rebalance")}else return b1(ee(b),_0(b),b1(K0(b),t,r))}else throw new Error("internal error: Set.rebalance")}else return b1(e,t,r)}function n3(e,t,r){if(r!=null){const n=U(r),i=e.Compare(t,_0(n))|0;if(n instanceof j0){const o=n;return i<0?S6(n3(e,t,ee(o)),_0(o),K0(o)):i===0?r:S6(ee(o),_0(o),n3(e,t,K0(o)))}else{const o=e.Compare(t,_0(n))|0;return o<0?r1(t,void 0,r,2):o===0?r:r1(t,r,void 0,2)}}else return t1(t)}function w8(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,_0(s))|0;if(s instanceof j0){const l=s;if(a<0){e=n,t=i,r=ee(l);continue e}else{if(a===0)return!0;e=n,t=i,r=K0(l);continue e}}else return a===0}else return!1}}function y8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof j0){const o=i;y8(r,ee(o)),r(_0(o)),e=r,t=K0(o);continue e}else r(_0(i))}break}}class Rf extends i0{constructor(t,r){super(),this.stack=t,this.started=r}}function v8(e){e:for(;;){const t=e;if(M0(t))return oe();{const r=d0(t),n=$0(t);if(r!=null){const i=U(r);if(i instanceof j0){const o=i;e=ce([ee(o),t1(_0(o)),K0(o)],n);continue e}else return t}else{e=n;continue e}}}}function E6(e){return new Rf(v8(o0(e)),!1)}function Of(){throw new Error("Enumeration not started")}function Df(){throw new Error("Enumeration already started")}function A6(e){if(e.started){const t=e.stack;if(M0(t))return Df();if(d0(t)!=null){const r=U(d0(t));return _0(r)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Of()}function $f(e){if(e.started){const t=e.stack;if(M0(t))return!1;if(d0(t)!=null){if(U(d0(t))instanceof j0)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=v8($0(t)),!M0(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!M0(e.stack)}function T6(e){let t=E6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return A6(t)},"System.Collections.IEnumerator.get_Current"(){return A6(t)},"System.Collections.IEnumerator.MoveNext"(){return $f(t)},"System.Collections.IEnumerator.Reset"(){t=E6(e)},Dispose(){}}}function Ff(e,t,r){e:for(;;){const n=e,i=t,o=r;if(M0(i))return M0(o)?0:-1;if(M0(o))return 1;if(d0(o)!=null)if(d0(i)!=null){const s=U(d0(i)),a=U(d0(o));if(s instanceof j0){const l=s;if(ee(l)==null)if(a instanceof j0){const c=a;if(ee(c)==null){const d=n.Compare(_0(l),_0(c))|0;if(d!==0)return d|0;e=n,t=c1(K0(l),$0(i)),r=c1(K0(c),$0(o));continue e}else{let d,f,h,m,p;switch(M0(i)?M0(o)?d=2:d0(o)!=null?(d=1,m=$0(o),p=U(d0(o))):d=2:d0(i)!=null?(d=0,f=$0(i),h=U(d0(i))):M0(o)?d=2:d0(o)!=null?(d=1,m=$0(o),p=U(d0(o))):d=2,d){case 0:if(h instanceof j0){const v=h;e=n,t=ce([ee(v),r1(_0(v),void 0,K0(v),0)],f),r=o;continue e}else{e=n,t=ce([void 0,t1(_0(h))],f),r=o;continue e}case 1:if(p instanceof j0){const v=p;e=n,t=i,r=ce([ee(v),r1(_0(v),void 0,K0(v),0)],m);continue e}else{e=n,t=i,r=ce([void 0,t1(_0(p))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=n.Compare(_0(l),_0(a))|0;if(c!==0)return c|0;e=n,t=c1(K0(l),$0(i)),r=c1(void 0,$0(o));continue e}else{let c,d,f,h,m;switch(M0(i)?M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2:d0(i)!=null?(c=0,d=$0(i),f=U(d0(i))):M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2,c){case 0:if(f instanceof j0){const p=f;e=n,t=ce([ee(p),r1(_0(p),void 0,K0(p),0)],d),r=o;continue e}else{e=n,t=ce([void 0,t1(_0(f))],d),r=o;continue e}case 1:if(m instanceof j0){const p=m;e=n,t=i,r=ce([ee(p),r1(_0(p),void 0,K0(p),0)],h);continue e}else{e=n,t=i,r=ce([void 0,t1(_0(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof j0){const l=a;if(ee(l)==null){const c=n.Compare(_0(s),_0(l))|0;if(c!==0)return c|0;e=n,t=c1(void 0,$0(i)),r=c1(K0(l),$0(o));continue e}else{let c,d,f,h,m;switch(M0(i)?M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2:d0(i)!=null?(c=0,d=$0(i),f=U(d0(i))):M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2,c){case 0:if(f instanceof j0){const p=f;e=n,t=ce([ee(p),r1(_0(p),void 0,K0(p),0)],d),r=o;continue e}else{e=n,t=ce([void 0,t1(_0(f))],d),r=o;continue e}case 1:if(m instanceof j0){const p=m;e=n,t=i,r=ce([ee(p),r1(_0(p),void 0,K0(p),0)],h);continue e}else{e=n,t=i,r=ce([void 0,t1(_0(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=n.Compare(_0(s),_0(a))|0;if(l!==0)return l|0;e=n,t=$0(i),r=$0(o);continue e}}else{U(d0(o));let s,a,l,c,d;switch(M0(i)?M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2:d0(i)!=null?(s=0,a=$0(i),l=U(d0(i))):M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2,s){case 0:if(l instanceof j0){const f=l;e=n,t=ce([ee(f),r1(_0(f),void 0,K0(f),0)],a),r=o;continue e}else{e=n,t=ce([void 0,t1(_0(l))],a),r=o;continue e}case 1:if(d instanceof j0){const f=d;e=n,t=i,r=ce([ee(f),r1(_0(f),void 0,K0(f),0)],c);continue e}else{e=n,t=i,r=ce([void 0,t1(_0(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(d0(i)!=null){U(d0(i));let s,a,l,c,d;switch(M0(i)?M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2:d0(i)!=null?(s=0,a=$0(i),l=U(d0(i))):M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2,s){case 0:if(l instanceof j0){const f=l;e=n,t=ce([ee(f),r1(_0(f),void 0,K0(f),0)],a),r=o;continue e}else{e=n,t=ce([void 0,t1(_0(l))],a),r=o;continue e}case 1:if(d instanceof j0){const f=d;e=n,t=i,r=ce([ee(f),r1(_0(f),void 0,K0(f),0)],c);continue e}else{e=n,t=i,r=ce([void 0,t1(_0(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=n,t=$0(i),r=$0(o);continue e}}}function N6(e,t,r){return t==null?r==null?0:-1:r==null?1:Ff(e,o0(t),o0(r))|0}function Pf(e,t,r){let n=r;y8(i=>{Ve(t,n,i),n=n+1|0},e)}function Lf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){e=n,t=n3(n,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),r=o;continue e}else return i}}function Bf(e,t){return Un((r,n)=>n3(e,n,r),void 0,t)}function Vf(e,t){return L1((r,n)=>n3(e,n,r),void 0,t)}function b8(e,t){if(m1(t))return Bf(e,t);if(t instanceof Me)return Vf(e,t);{const r=B0(t);try{return Lf(e,void 0,r)}finally{D0(r)}}}class zi{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return jf(this)|0}Equals(t){let r;const n=this;return t instanceof zi&&(r=t,N6(G2(n),_1(n),_1(r))===0)}toString(){return"set ["+xe("; ",F0(r=>ne(r),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const r=this;return N6(G2(r),_1(r),_1(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 w8(G2(r),t,_1(r))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Pf(_1(this),t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return M5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return M5(this)|0}GetEnumerator(){return T6(_1(this))}[Symbol.iterator](){return c3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return T6(_1(this))}get size(){return M5(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 _8(this,t)}keys(){return F0(r=>r,this)}values(){return F0(r=>r,this)}entries(){return F0(r=>[r,r],this)}forEach(t,r){const n=this;B1(i=>{t(i,i,n)},n)}}function Kn(e,t){return new zi(e,t)}function G2(e){return e.comparer}function _1(e){return e.tree}function Hf(e){return Kn(e,void 0)}function Uf(e,t){return Kn(G2(e),n3(G2(e),t,_1(e)))}function M5(e){return If(_1(e))}function _8(e,t){return w8(G2(e),t,_1(e))}function jf(e){let t=0;const r=B0(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+p1(n)+631|0}}finally{D0(r)}return Math.abs(t)|0}function Y4(e,t){return _8(t,e)}function Wf(e,t){return Uf(t,e)}function qf(e){return Hf(e)}function Gf(e,t){return Kn(t,b8(t,e))}function zf(e,t){return Kn(t,b8(t,e))}function M3(e,t,r){try{return"Expecting "+e+" but instead got:"+(r?`
|
|
1
|
+
var lr,N0,L7,e2,Ro,B7,D4,fi,$4,F4,V7,Q3={},H7=[],iu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Rn=Array.isArray;function Z1(e,t){for(var r in t)e[r]=t[r];return e}function U7(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function u(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?lr.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 G3(e,s,n,i,null)}function G3(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??++L7,__i:-1,__u:0};return i==null&&N0.vnode!=null&&N0.vnode(o),o}function On(){return{current:null}}function X0(e){return e.children}function A1(e,t){this.props=e,this.context=t}function X2(e,t){if(t==null)return e.__?X2(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"?X2(e):null}function j7(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 j7(e)}}function P4(e){(!e.__d&&(e.__d=!0)&&e2.push(e)&&!rn.__r++||Ro!==N0.debounceRendering)&&((Ro=N0.debounceRendering)||B7)(rn)}function rn(){var e,t,r,n,i,o,s,a;for(e2.sort(D4);e=e2.shift();)e.__d&&(t=e2.length,n=void 0,o=(i=(r=e).__v).__e,s=[],a=[],r.__P&&((n=Z1({},i)).__v=i.__v+1,N0.vnode&&N0.vnode(n),hi(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??X2(i),!!(32&i.__u),a),n.__v=i.__v,n.__.__k[n.__i]=n,G7(s,n,a),n.__e!=o&&j7(n)),e2.length>t&&e2.sort(D4));rn.__r=0}function W7(e,t,r,n,i,o,s,a,l,c,d){var f,h,m,p,v,b=n&&n.__k||H7,_=t.length;for(r.__d=l,ou(r,t,b),l=r.__d,f=0;f<_;f++)(m=r.__k[f])!=null&&(h=m.__i===-1?Q3:b[m.__i]||Q3,m.__i=f,hi(e,m,h,i,o,s,a,l,c,d),p=m.__e,m.ref&&h.ref!=m.ref&&(h.ref&&mi(h.ref,null,m),d.push(m.ref,m.__c||p,m)),v==null&&p!=null&&(v=p),65536&m.__u||h.__k===m.__k?l=q7(m,l,e):typeof m.type=="function"&&m.__d!==void 0?l=m.__d:p&&(l=p.nextSibling),m.__d=void 0,m.__u&=-196609);r.__d=l,r.__e=v}function ou(e,t,r){var n,i,o,s,a,l=t.length,c=r.length,d=c,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?G3(null,i,null,null,null):Rn(i)?G3(X0,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?G3(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=su(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<c;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=X2(o)),z7(o,o))}function q7(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=q7(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=X2(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Q1(e,t){return t=t||[],e==null||typeof e=="boolean"||(Rn(e)?e.some(function(r){Q1(r,t)}):t.push(e)),t}function su(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===X0||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 Oo(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||iu.test(t)?r:r+"px"}function kr(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||Oo(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Oo(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=fi,e.addEventListener(t,o?F4:$4,o)):e.removeEventListener(t,o?F4:$4,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 Do(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=fi++;else if(t.t<r.u)return;return N0.event&&(t=N0.event(t)),"handleEvent"in r?r.handleEvent(t):r(t)}}}function hi(e,t,r,n,i,o,s,a,l,c){var d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(d=N0.__b)&&d(t);e:if(typeof k=="function")try{if(_=t.props,C="prototype"in k&&k.prototype.render,A=(d=k.contextType)&&n[d.__c],N=d?A?A.props.value:d.__:n,r.__c?b=(f=t.__c=r.__c).__=f.__E:(C?t.__c=f=new k(_,N):(t.__c=f=new A1(_,N),f.constructor=k,f.render=lu),A&&A.sub(f),f.props=_,f.state||(f.state={}),f.context=N,f.__n=n,h=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&k.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Z1({},f.__s)),Z1(f.__s,k.getDerivedStateFromProps(_,f.__s))),m=f.props,p=f.state,f.__v=t,h)C&&k.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&k.getDerivedStateFromProps==null&&_!==m&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,N),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,N)===!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(M){M&&(M.__=t)}),R=0;R<f._sb.length;R++)f.__h.push(f._sb[R]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,N),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(m,p,v)})}if(f.context=N,f.props=_,f.__P=e,f.__e=!1,D=N0.__r,P=0,C){for(f.state=f.__s,f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[]}else do f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++P<25);f.state=f.__s,f.getChildContext!=null&&(n=Z1(Z1({},n),f.getChildContext())),C&&!h&&f.getSnapshotBeforeUpdate!=null&&(v=f.getSnapshotBeforeUpdate(m,p)),W7(e,Rn(S=d!=null&&d.type===X0&&d.key==null?d.props.children:d)?S:[S],t,r,n,i,o,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(M){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;N0.__e(M,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=au(r.__e,t,r,n,i,o,s,l,c);(d=N0.diffed)&&d(t)}function G7(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)mi(r[n],r[++n],r[++n]);N0.__c&&N0.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){N0.__e(o,i.__v)}})}function au(e,t,r,n,i,o,s,a,l){var c,d,f,h,m,p,v,b=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(c=0;c<o.length;c++)if((m=o[c])&&"setAttribute"in m==!!C&&(C?m.localName===C:m.nodeType===3)){e=m,o[c]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=document.createElementNS(i,C,_.is&&_),a&&(N0.__m&&N0.__m(t,o),a=!1),o=null}if(C===null)b===_||a&&e.data===_||(e.data=_);else{if(o=o&&lr.call(e.childNodes),b=r.props||Q3,!a&&o!=null)for(b={},c=0;c<e.attributes.length;c++)b[(m=e.attributes[c]).name]=m.value;for(c in b)if(m=b[c],c!="children"){if(c=="dangerouslySetInnerHTML")f=m;else if(!(c in _)){if(c=="value"&&"defaultValue"in _||c=="checked"&&"defaultChecked"in _)continue;kr(e,c,null,m,i)}}for(c in _)m=_[c],c=="children"?h=m:c=="dangerouslySetInnerHTML"?d=m:c=="value"?p=m:c=="checked"?v=m:a&&typeof m!="function"||b[c]===m||kr(e,c,m,b[c],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),W7(e,Rn(h)?h:[h],t,r,n,C==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&X2(r,0),a,l),o!=null)for(c=o.length;c--;)U7(o[c]);a||(c="value",C==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[c]||C==="progress"&&!p||C==="option"&&p!==b[c])&&kr(e,c,p,b[c],i),c="checked",v!==void 0&&v!==e[c]&&kr(e,c,v,b[c],i))}return e}function mi(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){N0.__e(i,r)}}function z7(e,t,r){var n,i;if(N0.unmount&&N0.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||mi(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){N0.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&z7(n[i],t,r||typeof e.type!="function");r||U7(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function lu(e,t,r){return this.constructor(e,r)}function Nt(e,t,r){var n,i,o,s;N0.__&&N0.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],hi(t,e=(!n&&r||t).__k=u(X0,null,[e]),i||Q3,Q3,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?lr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),G7(o,e,s)}function pi(e,t){Nt(e,t,pi)}function gi(e,t,r){var n,i,o,s,a=Z1({},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?lr.call(arguments,2):r),G3(e.type,a,n||e.key,i||e.ref,null)}function me(e,t){var r={__c:t="__cC"+V7++,__: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,P4(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}lr=H7.slice,N0={__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}},L7=0,A1.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Z1({},this.state),typeof e=="function"&&(e=e(Z1({},r),this.props)),e&&Z1(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),P4(this))},A1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P4(this))},A1.prototype.render=X0,e2=[],B7=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,D4=function(e,t){return e.__v.__b-t.__v.__b},rn.__r=0,fi=0,$4=Do(!1),F4=Do(!0),V7=0;function wi(){return(wi=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 uu=["context","children"];function cu(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,uu);return gi(t,r)}function du(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=u(cu,wi({},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[Y7(a[s].name)]=a[s].value);for(s=l.length;s--;){var c=t(l[s],null),d=l[s].slot;d?o[d]=u($o,{name:d},c):i[s]=c}var f=n?u($o,null,i):i;return u(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?pi:Nt)(this._vdom,this._root)}function Y7(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function fu(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[Y7(e)]=r,this._vdom=gi(this._vdom,n),Nt(this._vdom,this._root)}}function hu(){Nt(this._vdom=null,this._root)}function $o(e,t){var r=this;return u("slot",wi({},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 mu(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=du,i.prototype.attributeChangedCallback=fu,i.prototype.disconnectedCallback=hu,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 Dn(e,t){mu(e,t)}var it,J0,C5,Fo,Q2=0,Z7=[],de=N0,Po=de.__b,Lo=de.__r,Bo=de.diffed,Vo=de.__c,Ho=de.unmount,Uo=de.__;function y2(e,t){de.__h&&de.__h(J0,e,Q2||t),Q2=0;var r=J0.__H||(J0.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function C0(e){return Q2=1,v2(K7,e)}function v2(e,t,r){var n=y2(it++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):K7(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,a);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=J0,!J0.u)){var i=function(a,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!o||o.call(this,a,l,c);var f=n.__c.props!==a;return d.forEach(function(h){if(h.__N){var m=h.__[0];h.__=h.__N,h.__N=void 0,m!==h.__[0]&&(f=!0)}}),o&&o.call(this,a,l,c)||f};J0.u=!0;var o=J0.shouldComponentUpdate,s=J0.componentWillUpdate;J0.componentWillUpdate=function(a,l,c){if(this.__e){var d=o;o=void 0,i(a,l,c),o=d}s&&s.call(this,a,l,c)},J0.shouldComponentUpdate=i}return n.__N||n.__}function H0(e,t){var r=y2(it++,3);!de.__s&&bi(r.__H,t)&&(r.__=e,r.i=t,J0.__H.__h.push(r))}function P1(e,t){var r=y2(it++,4);!de.__s&&bi(r.__H,t)&&(r.__=e,r.i=t,J0.__h.push(r))}function a0(e){return Q2=5,g0(function(){return{current:e}},[])}function yi(e,t,r){Q2=6,P1(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 g0(e,t){var r=y2(it++,7);return bi(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function P0(e,t){return Q2=8,g0(function(){return e},t)}function W0(e){var t=J0.context[e.__c],r=y2(it++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J0)),t.props.value):e.__}function vi(e,t){de.useDebugValue&&de.useDebugValue(t?t(e):e)}function pu(e){var t=y2(it++,10),r=C0();return t.__=e,J0.componentDidCatch||(J0.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function v1(){var e=y2(it++,11);if(!e.__){for(var t=J0.__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 gu(){for(var e;e=Z7.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(zr),e.__H.__h.forEach(L4),e.__H.__h=[]}catch(t){e.__H.__h=[],de.__e(t,e.__v)}}de.__b=function(e){J0=null,Po&&Po(e)},de.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Uo&&Uo(e,t)},de.__r=function(e){Lo&&Lo(e),it=0;var t=(J0=e.__c).__H;t&&(C5===J0?(t.__h=[],J0.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(zr),t.__h.forEach(L4),t.__h=[],it=0)),C5=J0},de.diffed=function(e){Bo&&Bo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Z7.push(t)!==1&&Fo===de.requestAnimationFrame||((Fo=de.requestAnimationFrame)||wu)(gu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),C5=J0=null},de.__c=function(e,t){t.some(function(r){try{r.__h.forEach(zr),r.__h=r.__h.filter(function(n){return!n.__||L4(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],de.__e(n,r.__v)}}),Vo&&Vo(e,t)},de.unmount=function(e){Ho&&Ho(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{zr(n)}catch(i){t=i}}),r.__H=void 0,t&&de.__e(t,r.__v))};var jo=typeof requestAnimationFrame=="function";function wu(e){var t,r=function(){clearTimeout(n),jo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);jo&&(t=requestAnimationFrame(r))}function zr(e){var t=J0,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),J0=t}function L4(e){var t=J0;e.__c=e.__(),J0=t}function bi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function K7(e,t){return typeof t=="function"?t(e):t}function B4(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 $n(e,t){var r=t(),n=C0({t:{__:r,u:t}}),i=n[0].t,o=n[1];return P1(function(){i.__=r,i.u=t,x5(i)&&o({t:i})},[e,r,t]),H0(function(){return x5(i)&&o({t:i}),e(function(){x5(i)&&o({t:i})})},[e]),r}function x5(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 _i(e){e()}function Ci(e){return e}function xi(){return[!1,_i]}var Si=P1;function nn(e,t){this.props=e,this.context=t}function J7(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:B4(this.props,i)}function n(i){return this.shouldComponentUpdate=r,u(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(nn.prototype=new A1).isPureReactComponent=!0,nn.prototype.shouldComponentUpdate=function(e,t){return B4(this.props,e)||B4(this.state,t)};var Wo=N0.__b;N0.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Wo&&Wo(e)};var yu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ei(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=yu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qo=function(e,t){return e==null?null:Q1(Q1(e).map(t))},X7={map:qo,forEach:qo,count:function(e){return e?Q1(e).length:0},only:function(e){var t=Q1(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Q1},vu=N0.__e;N0.__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)}vu(e,t,r,n)};var Go=N0.unmount;function Q7(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 Q7(n,t,r)})),e}function ea(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ea(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 z3(){this.__u=0,this.o=null,this.__b=null}function ta(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ra(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 u(r,o)}return i.displayName="Lazy",i.__f=!0,i}function U2(){this.i=null,this.l=null}N0.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Go&&Go(e)},(z3.prototype=new A1).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=ta(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]=ea(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},z3.prototype.componentWillUnmount=function(){this.o=[]},z3.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]=Q7(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&u(X0,null,e.fallback);return i&&(i.__u&=-33),[u(X0,null,t.__a?null:e.children),i]};var zo=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 bu(e){return this.getChildContext=function(){return e.context},e.children}function _u(e){var t=this,r=e.h;t.componentWillUnmount=function(){Nt(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)}}),Nt(u(bu,{context:t.context},e.__v),t.v)}function Fn(e,t){var r=u(_u,{__v:e,h:t});return r.containerInfo=t,r}(U2.prototype=new A1).__a=function(e){var t=this,r=ta(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),zo(t,e,n)):i()};r?r(o):o()}},U2.prototype.render=function(e){this.i=null,this.l=new Map;var t=Q1(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},U2.prototype.componentDidUpdate=U2.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){zo(e,r,t)})};var na=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Cu=/^(?: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]/,xu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Su=/[A-Z0-9]/g,Eu=typeof document<"u",Au=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ai(e,t,r){return t.__k==null&&(t.textContent=""),Nt(e,t),typeof r=="function"&&r(),e?e.__c:null}function ia(e,t,r){return pi(e,t),typeof r=="function"&&r(),e?e.__c:null}A1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(A1.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Yo=N0.event;function Tu(){}function Nu(){return this.cancelBubble}function Mu(){return this.defaultPrevented}N0.event=function(e){return Yo&&(e=Yo(e)),e.persist=Tu,e.isPropagationStopped=Nu,e.isDefaultPrevented=Mu,e.nativeEvent=e};var Ti,ku={enumerable:!1,configurable:!0,get:function(){return this.class}},Zo=N0.vnode;N0.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||Eu&&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"||Au(r.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":xu.test(s)&&(s=l):l=s="oninput":o&&Cu.test(s)?s=s.replace(Su,"-$&").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=Q1(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Q1(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",ku)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=na,Zo&&Zo(e)};var Ko=N0.__r;N0.__r=function(e){Ko&&Ko(e),Ti=e.__c};var Jo=N0.diffed;N0.diffed=function(e){Jo&&Jo(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),Ti=null};var oa={ReactCurrentDispatcher:{current:{readContext:function(e){return Ti.__n[e.__c].props.value},useCallback:P0,useContext:W0,useDebugValue:vi,useDeferredValue:Ci,useEffect:H0,useId:v1,useImperativeHandle:yi,useInsertionEffect:Si,useLayoutEffect:P1,useMemo:g0,useReducer:v2,useRef:a0,useState:C0,useSyncExternalStore:$n,useTransition:xi}}},Iu="18.3.1";function sa(e){return u.bind(null,e)}function c3(e){return!!e&&e.$$typeof===na}function aa(e){return c3(e)&&e.type===X0}function la(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ni(e){return c3(e)?gi.apply(null,arguments):e}function ua(e){return!!e.__k&&(Nt(null,e),!0)}function ca(e){return e&&(e.base||e.nodeType===1&&e)||null}var da=function(e,t){return e(t)},s1=function(e,t){return e(t)},fa=X0,ha=c3,Q={useState:C0,useId:v1,useReducer:v2,useEffect:H0,useLayoutEffect:P1,useInsertionEffect:Si,useTransition:xi,useDeferredValue:Ci,useSyncExternalStore:$n,startTransition:_i,useRef:a0,useImperativeHandle:yi,useMemo:g0,useCallback:P0,useContext:W0,useDebugValue:vi,version:"18.3.1",Children:X7,render:Ai,hydrate:ia,unmountComponentAtNode:ua,createPortal:Fn,createElement:u,createContext:me,createFactory:sa,cloneElement:Ni,createRef:On,Fragment:X0,isValidElement:c3,isElement:ha,isFragment:aa,isMemo:la,findDOMNode:ca,Component:A1,PureComponent:nn,memo:J7,forwardRef:Ei,flushSync:s1,unstable_batchedUpdates:da,StrictMode:fa,Suspense:z3,SuspenseList:U2,lazy:ra,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:oa};const on=Object.freeze(Object.defineProperty({__proto__:null,Children:X7,Component:A1,Fragment:X0,PureComponent:nn,StrictMode:fa,Suspense:z3,SuspenseList:U2,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:oa,cloneElement:Ni,createContext:me,createElement:u,createFactory:sa,createPortal:Fn,createRef:On,default:Q,findDOMNode:ca,flushSync:s1,forwardRef:Ei,hydrate:ia,isElement:ha,isFragment:aa,isMemo:la,isValidElement:c3,lazy:ra,memo:J7,render:Ai,startTransition:_i,unmountComponentAtNode:ua,unstable_batchedUpdates:da,useCallback:P0,useContext:W0,useDebugValue:vi,useDeferredValue:Ci,useEffect:H0,useErrorBoundary:pu,useId:v1,useImperativeHandle:yi,useInsertionEffect:Si,useLayoutEffect:P1,useMemo:g0,useReducer:v2,useRef:a0,useState:C0,useSyncExternalStore:$n,useTransition:xi,version:Iu},Symbol.toStringTag,{value:"Module"})),Ru=`*,: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(/workspace/fonts/BRSonoma-Black.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/workspace/fonts/BRSonoma-Bold.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/workspace/fonts/BRSonoma-Medium.woff2) format("woff2")}.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-11{height:2.75rem}.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-64{max-height:16rem}.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-\\[150px\\]{width:150px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[280px\\]{width:280px}.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-\\[130px\\]{min-width:130px}.min-w-\\[600px\\]{min-width:600px}.min-w-\\[640px\\]{min-width:640px}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\\[1_0_0\\]{flex:1 0 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}.content-center{align-content:center}.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}.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-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)}.hover\\:enabled\\:bg-red-500:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.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 p1(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ou(e){return e!=null&&typeof e.GetEnumerator=="function"}function Du(e){return e!=null&&typeof e.CompareTo=="function"}function $u(e){return e!=null&&typeof e.Equals=="function"}function ma(e){return e!=null&&typeof e.GetHashCode=="function"}function V4(e){return e!=null&&typeof e.Dispose=="function"}function D0(e){V4(e)&&e.Dispose()}function E0(){return null}function sn(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 Fu{constructor(t){this.iter=t,this.current=E0()}"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 B0(e){return Ou(e)?e.GetEnumerator():new Fu(e[Symbol.iterator]())}function d3(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 Pu{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 G0(e,t){return e.toString(10).padStart(t,"0")}function Lu(e,t,r){return e.toString(10).padStart(t,"0").padEnd(r,"0")}function Xo(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Bu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function h1(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class K1{static id(t){return K1.idMap.has(t)||K1.idMap.set(t,++K1.count),K1.idMap.get(t)}}K1.idMap=new WeakMap;K1.count=0;function a1(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function S1(e){return e*2654435761|0}function pa(e){return a1(e.toString(32))}function ur(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 Vu(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return S1(e);case"bigint":return pa(e);case"string":return a1(e);default:return S1(K1.id(e))}}function Hu(e){return ma(e)?e.GetHashCode():Vu(e)}function Uu(e){return e.getTime()}function ju(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=g1(e[n]);return ur(r)}function g1(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return S1(e);case"bigint":return pa(e);case"string":return a1(e);default:{if(ma(e))return e.GetHashCode();if(p1(e))return ju(e);if(e instanceof Date)return Uu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>g1(n));return ur(r)}else return S1(K1.id(e))}}}function an(e){return Hu(e)}function H4(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 ga(e,t){return H4(e,t,X)}function Wu(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]||!X(e[r[i]],t[n[i]]))return!1;return!0}function X(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:$u(e)?e.Equals(t):p1(e)?p1(t)&&ga(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Mi(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Wu(e,t)}function Mi(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+Xo(e),n=t.getTime()+Xo(t)),r===n?0:r<n?-1:1}function b2(e,t){return e===t?0:e<t?-1:1}function qu(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 ki(e,t){return qu(e,t,Oe)}function Gu(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=Oe(e[s],t[s]),o!==0)return o}return 0}function Oe(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Du(e)?e.CompareTo(t):p1(e)?p1(t)?ki(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Mi(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Gu(e,t):-1}function y(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function zu(e){p1(e)?e.splice(0):e.clear()}const Pn=new WeakMap;function Y0(e){if(e==null)return null;const t=(r,n)=>e(r)(n);return Pn.set(t,e),t}function _t(e){return Pn.get(e)??(t=>r=>e(t,r))}function U4(e){if(e==null)return null;const t=(r,n,i)=>e(r)(n)(i);return Pn.set(t,e),t}function S5(e){return Pn.get(e)??(t=>r=>n=>e(t,r,n))}function Yu(e){let t=0,r="[";for(const n of e){if(t===0)r+=ne(n);else if(t===100){r+="; ...";break}else r+="; "+ne(n);t++}return r+"]"}function ne(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 Yu(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+ne(o,t+1)).join(`
|
|
2
|
+
`)+" }":(n==null?void 0:n.name)??""}}return String(e)}function Zu(e,t){if(t.length===0)return e;{let r,n=!0;return t.length===1?(r=ne(t[0]),n=r.indexOf(" ")>=0):r=t.map(i=>ne(i)).join(", "),e+(n?" (":" ")+r+(n?")":"")}}class G{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Zu(this.name,this.fields)}GetHashCode(){const t=this.fields.map(r=>g1(r));return t.splice(0,0,S1(this.tag)),ur(t)}Equals(t){return this===t?!0:sn(this,t)&&this.tag===t.tag?ga(this.fields,t.fields):!1}CompareTo(t){return this===t?0:sn(this,t)?this.tag===t.tag?ki(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Ku(e){const t={},r=Object.keys(e);for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];return t}function Ju(e){return"{ "+Object.entries(e).map(([t,r])=>t+" = "+ne(r)).join(`
|
|
3
|
+
`)+" }"}function Xu(e){const t=Object.values(e).map(r=>g1(r));return ur(t)}function Qu(e,t){if(e===t)return!0;if(sn(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!X(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function ec(e,t){if(e===t)return 0;if(sn(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const i=Oe(e[r[n]],t[r[n]]);if(i!==0)return i}return 0}else return-1}class i0{toJSON(){return Ku(this)}toString(){return Ju(this)}GetHashCode(){return Xu(this)}Equals(t){return Qu(this,t)}CompareTo(t){return ec(this,t)}}class ke{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 tc{constructor(t){this.message=t}}function rc(e){return e instanceof tc||e instanceof Error}function nc(e){return e instanceof Promise}function ln(e){return rc(e)||nc(e)?e:new Error(String(e))}const Ln=ne(Ru),f3=Symbol("numeric");function wa(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[f3])}function ic(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function j4(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[f3]().multiply(t)}function Yr(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[f3]().toFixed(t)}function un(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[f3]().toPrecision(t)}function cn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[f3]().toExponential(t)}function dn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[f3]().toHex()}const oc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],sc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ac=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],lc=["January","February","March","April","May","June","July","August","September","October","November","December"];function e1(e,t,r){let n=0,i=t;for(;i<e.length&&e[i]===r;)i++,n++;return n}function Qo(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function uc(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 Ii(e,t,r){let n=0,i=0,o="";const s=r?cr(e.getTime(),1):e;for(;n<t.length;){const a=t[n];switch(a){case"d":switch(i=e1(t,n,"d"),n+=i,i){case 1:o+=t6(s);break;case 2:o+=G0(t6(s),2);break;case 3:o+=oc[i6(s)];break;case 4:o+=sc[i6(s)];break}break;case"f":if(i=e1(t,n,"f"),n+=i,i<=3){const b=10**(3-i);o+=G0(Math.floor(Rr(s)/b),i)}else i<=7&&(o+=(""+Rr(s)).padEnd(i,"0"));break;case"F":if(i=e1(t,n,"F"),n+=i,i<=3){const b=10**(3-i),_=Math.floor(Rr(s)/b);_!=0&&(o+=G0(_,i))}else if(i<=7){const b=Rr(s);b!=0&&(o+=G0(b,3))}break;case"g":i=e1(t,n,"g"),n+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=e1(t,n,"h"),n+=i,i){case 1:o+=Ir(s)%12;break;case 2:o+=G0(Ir(s)%12,2);break}break;case"H":switch(i=e1(t,n,"H"),n+=i,i){case 1:o+=Ir(s);break;case 2:o+=G0(Ir(s),2);break}break;case"K":switch(i=e1(t,n,"K"),n+=i,i){case 1:switch(e6(s)){case 1:o+="Z";break;case 2:o+=W2(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=e1(t,n,"m"),n+=i,i){case 1:o+=r6(s);break;case 2:o+=G0(r6(s),2);break}break;case"M":switch(i=e1(t,n,"M"),n+=i,i){case 1:o+=Or(s);break;case 2:o+=G0(Or(s),2);break;case 3:o+=ac[Or(s)-1];break;case 4:o+=lc[Or(s)-1];break}break;case"s":switch(i=e1(t,n,"s"),n+=i,i){case 1:o+=n6(s);break;case 2:o+=G0(n6(s),2);break}break;case"t":switch(i=e1(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=e1(t,n,"y"),n+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=G0(s.getFullYear()%100,2);break;case 3:o+=G0(s.getFullYear(),3);break;case 4:o+=G0(s.getFullYear(),4);break;case 5:o+=G0(s.getFullYear(),5);break}break;case"z":i=e1(t,n,"z"),n+=i;let l="";switch(e6(s)){case 1:l="+00:00";break;case 2:l=W2(s.getTimezoneOffset()*-6e4);break;case 0:l=W2(yc(s).getTimezoneOffset()*-6e4);break}const c=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${c}${d}`;break;case 2:o+=`${c}${G0(d,2)}`;break;default:o+=`${c}${G0(d,2)}:${G0(f,2)}`;break}break;case":":o+=":",n++;break;case"/":o+="/",n++;break;case"'":case'"':const[h,m]=uc(t,n);o+=h,n+=m;break;case"%":const p=Qo(t,n);if(p>=0&&p!==37)n+=2,o+=Ii(s,String.fromCharCode(p),r);else throw new Error("Invalid format string");break;case"\\":const v=Qo(t,n);if(v>=0)n+=2,o+=String.fromCharCode(v);else throw new Error("Invalid format string");break;default:n++,o+=a;break}}return o}function e6(e){return e.kind||0}function W2(e){const t=e<0;e=Math.abs(e);const r=~~(e/36e5),n=e%36e5/6e4;return(t?"-":"+")+G0(r,2)+":"+G0(n,2)}function fn(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 cc(e,t){if(t)return e.toISOString();{const r=e.kind==null?!0:e.kind===2;return G0(e.getFullYear(),4)+"-"+G0(e.getMonth()+1,2)+"-"+G0(e.getDate(),2)+"T"+G0(e.getHours(),2)+":"+G0(e.getMinutes(),2)+":"+G0(e.getSeconds(),2)+"."+G0(e.getMilliseconds(),3)+(r?W2(e.getTimezoneOffset()*-6e4):"")}}function dc(e,t){const r=e.toISOString();return r.substring(0,r.length-1)+W2(t)}function fc(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," ")+W2(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return fn(r,"first");case"T":case"t":return fn(r,"second");case"O":case"o":return dc(r,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Ii(r,t,!0)}function hc(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?fn(e,"first"):e.toLocaleDateString();case"T":case"t":return r?fn(e,"second"):e.toLocaleTimeString();case"O":case"o":return cc(e,r);default:throw new Error("Unrecognized Date print format")}else return Ii(e,t,r)}function Bn(e,t,r){return e.offset!=null?fc(e,t):hc(e,t)}function cr(e,t){const r=new Date(e);return r.kind=(t??0)|0,r}function mc(){return cr(-621355968e5,1)}function ya(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 pc(e,t=!1){const[r,n]=ya(e),i=n!=null?t&&n==="Z"?1:2:0;return cr(r.getTime(),i)}function gc(e,t){try{return t.contents=pc(e),!0}catch{return!1}}function wc(e){return e.kind===1?e:cr(e.getTime(),1)}function yc(e){return e.kind===2?e:cr(e.getTime(),2)}function t6(e){return e.kind===1?e.getUTCDate():e.getDate()}function Ir(e){return e.kind===1?e.getUTCHours():e.getHours()}function Rr(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function r6(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Or(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function n6(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function i6(e){return e.kind===1?e.getUTCDay():e.getDay()}const vc=Mi;function bc(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 Vn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function o6(e,t,r=0){return e.lastIndex=r,e.test(t)}function s6(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 dr(e,t,r,n,i=0){function o(){let s=arguments[0];if(n){n--;const a=[],l=arguments.length,c=typeof arguments[l-1]!="string";let d=c?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],c&&(a.groups=arguments[d]),s=r(a)}return s}if(typeof e=="string"){const s=e;e=bc(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=s6(e,a),c=s6.length>n?(s=l[n-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+c.replace(e,r)+t.substring(i+c.length)}else return t.replace(e,r)}const M3=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,_c=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function va(e,t){return ic(e,t)<0}function Cc(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 xc(e,t,r){return e.length>=t.length?Cc(e.substr(e.length-t.length,t.length),t)===0:!1}function ot(e){return{input:e,cont:Ec(e)}}function ba(e,t){return typeof t=="string"?e(t):t.cont(e)}function u2(e){return ba(t=>t,e)}function _a(e){return ba(t=>{throw new Error(t)},e)}function Sc(e,t,r,n,i){let o="";if(t=t||"",i=i||"",wa(e))switch(i.toLowerCase()!=="x"&&(va(e,0)?(e=j4(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=Yr(e,n);break;case"g":case"G":e=n!=null?un(e,n):un(e);break;case"e":case"E":e=n!=null?cn(e,n):cn(e);break;case"x":e=dn(e);break;case"X":e=dn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Bn(e):e=ne(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=er(e,r-o.length,l,a),e=o+e):e=er(o+e,r,l,a)}return e}function Ca(e,t,r,n="",i=-1){return(...o)=>{let s=n;const a=t.slice(),l=r.slice();for(const c of o){const[,,d,f,h,m]=l[0];let p=f;if(i>=0)p=i,i=-1;else if(p==="*"){if(c<0)throw new Error("Non-negative number required");i=c;continue}s+=a[0],s+=Sc(c,d,p,h,m),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):Ca(e,a,l,s,i)}}function Ec(e){return t=>{M3.lastIndex=0;const r=[],n=[];let i=0,o=M3.exec(e);for(;o;){const s=o.index+(o[1]||"").length;r.push(e.substring(i,s).replace(/%%/g,"%")),n.push(o),i=M3.lastIndex,M3.lastIndex-=1,o=M3.exec(e)}return r.length===0?t(e.replace(/%%/g,"%")):(r.push(e.substring(i).replace(/%%/g,"%")),Ca(t,r,n))}}function Ri(e,...t){let r;return typeof e=="object"?(r=String(t[0]),t.shift()):r=e,r.replace(_c,(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 c=t[i];if(wa(c))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,c=Yr(c,a);break;case"g":case"G":c=a!=null?un(c,a):un(c);break;case"e":case"E":c=a!=null?cn(c,a):cn(c);break;case"p":case"P":a=a??2,c=Yr(j4(c,100),a)+" %";break;case"d":case"D":c=a!=null?E5(String(c),a,"0"):String(c);break;case"x":case"X":c=a!=null?E5(dn(c),a,"0"):dn(c),s==="X"&&(c=c.toUpperCase());break;default:if(l){let d="";c=l.replace(/([0#,]+)(\.[0#]+)?/,(f,h,m)=>{va(c,0)&&(c=j4(c,-1),d="-"),m=m==null?"":m.substring(1),c=Yr(c,Math.max(m.length,0));let[p,v]=c.split(".");v||(v="");const b=h.replace(/,/g,"").replace(/^#+/,"").length;p=E5(p,b,"0");const _=m.replace(/#+$/,"").length;if(_>v.length?v=Ac(v,_,"0"):_<v.length&&(v=v.substring(0,_)+v.substring(_).replace(/0+$/,"")),h.indexOf(",")>0){const C=p.length%3,A=Math.floor(p.length/3);let N=C>0?p.substr(0,C)+(A>0?",":""):"";for(let R=0;R<A;R++)N+=p.substr(C+R*3,3)+(R<A-1?",":"");p=N}return v.length>0?p+"."+v:p}),c=d+c}}else c instanceof Date?c=Bn(c,l||s):c=ne(c);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(c=er(String(c),Math.abs(o)," ",o<0)),c})}function Oi(e){return typeof e!="string"||e.length===0}function Dt(e){return typeof e!="string"||/^\s*$/.test(e)}function xe(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function er(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 E5(e,t,r){return er(e,t,r)}function Ac(e,t,r){return er(e,t,r,!0)}function xa(e,t,r){return e.replace(new RegExp(Vn(t),"g"),r)}function Sa(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(Vn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(c).trim():e.substring(c);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(c,d.index).trim():e.substring(c,d.index);(!i||f.length>0)&&(r!=null&&s.length+1===r?(s.push(o?e.substring(c).trim():e.substring(c)),l=!1):s.push(f)),c=a.lastIndex}}while(l);return s}function Ea(e,...t){if(t.length===0)return e.trim();const r="["+Vn(t.join(""))+"]+";return e.replace(new RegExp("^"+r),"").replace(new RegExp(r+"$"),"")}function Di(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+Vn(t.join(""))+"]+$"),"")}function Tc(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 c2{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return g1(this.value)}Equals(t){return t==null?!1:X(this.value,t instanceof c2?t.value:t)}CompareTo(t){return t==null?1:Oe(this.value,t instanceof c2?t.value:t)}}function U(e){if(e==null)throw new Error("Option has no value");return e instanceof c2?e.value:e}function J1(e){return e instanceof c2?e.value:e}function we(e){return e==null||e instanceof c2?new c2(e):e}function $i(e){return e==null?null:U(e)}function $t(e){return e==null?[]:[U(e)]}function V0(e,t){return e!=null?U(e):t}function Nc(e,t){return e!=null?U(e):t()}function ae(e,t){return t!=null?we(e(U(t))):void 0}function Hn(e,t){return t!=null?e(U(t)):void 0}class Mc{constructor(t,r,n,i){this.declaringType=t,this.tag=r,this.name=n,this.fields=i}}class Xe{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 re(this)}GetHashCode(){return Aa(this)}Equals(t){return W4(this,t)}}function i1(e){return e.generics!=null?e.generics:[]}function Aa(e){const t=a1(e.fullname),r=i1(e).map(Aa);return ur([t,...r])}function W4(e,t){return e.fullname===""?t.fullname===""&&H4(tr(e),tr(t),([r,n],[i,o])=>r===i&&W4(n,o)):e.fullname===t.fullname&&H4(i1(e),i1(t),W4)}function Be(e,t,r,n){return new Xe(e,t,r,n)}function Z0(e,t,r,n){return new Xe(e,t,r,void 0,n)}function Pe(...e){return new Xe("",void 0,void 0,void 0,()=>e)}function L1(e,t,r,n){const i=new Xe(e,t,r,void 0,void 0,()=>{const o=r.prototype.cases();return n().map((s,a)=>new Mc(i,a,o[a],s))});return i}function m1(e){return new Xe("Microsoft.FSharp.Core.FSharpOption`1",[e])}function T1(e){return new Xe("Microsoft.FSharp.Collections.FSharpList`1",[e])}const kc=new Xe("System.Object"),te=new Xe("System.String"),e3=new Xe("System.Boolean"),v0=new Xe("System.Int32");function q2(e){if(Array.isArray(e))return e[0];if(e instanceof Xe){const t=fr(e);if(t!=null)return q2(t)+"[]";{const r=e.fullname.lastIndexOf(".");return r===-1?e.fullname:e.fullname.substr(r+1)}}else return e.name}function re(e){const t=fr(e);return t!=null?re(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(r=>re(r)).join(",")+"]"}function Ta(e){return fr(e)!=null}function fr(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Na(e){return e.generics!=null&&e.generics.length>0}function Fi(e){return e.enumCases!=null&&e.enumCases.length>0}function Ma(e){return e.generics==null?e:new Xe(e.fullname,e.generics.map(()=>kc))}function ka(e){var t;return(t=e.generics)==null?void 0:t[0]}function k2(e){if(Fi(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Ic(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 I2(e,t){const r=parseInt(t,10);return Ic(e,isNaN(r)?t:r)[1]}function Ia(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function tr(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Ra(e){if(Pi(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Oa(e){return e instanceof Xe?e.cases!=null:e instanceof G}function Da(e){return e instanceof Xe?e.fields!=null:e instanceof i0}function Pi(e){return e.fullname.startsWith("System.Tuple")}function Rc(e,t){const n=Ia(t)[e.tag];if(n==null)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function $a(e){return e.fields==null?[]:e.fields}function Oc(e,t){return e[t[0]]}function Dc(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 $c(e,t){const r=tr(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 Fc(e,t){return e}const Fa="Collection was empty.",Pc="The input must be non-negative.",Pa="The input sequence has an insufficient number of elements.";function t3(e,t){return new Array(t)}function a6(e,t){return e>t?e:t}function l6(e,t){return e<t?e:t}function La(e,t,r){const n=e.length|0,i=t.length|0,o=t3(r,n+i);for(let s=0;s<=n-1;s++)Ve(o,s,f0(s,e));for(let s=0;s<=i-1;s++)Ve(o,s+n,f0(s,t));return o}function hr(e,t,r,n){const i=t|0;return e.fill(n,i,i+r)}function Lc(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return f0(e.length-1,e)}function Un(e,t,r){const n=t.length|0,i=t3(r,n);for(let o=0;o<=n-1;o++)Ve(i,o,e(o,f0(o,t)));return i}function Q0(e,t,r){const n=t.length|0,i=t3(r,n);for(let o=0;o<=n-1;o++)Ve(i,o,e(f0(o,t)));return i}function hn(e,t){const r=Array.isArray(e)?e:Array.from(e);switch(r.length|0){case 0:return t3(t,0);case 1:return f0(0,r);default:{let i=0,o=0;for(let a=0;a<=r.length-1;a++){const l=f0(a,r);o=o+l.length|0}const s=t3(t,o);for(let a=0;a<=r.length-1;a++){const l=f0(a,r);for(let c=0;c<=l.length-1;c++)Ve(s,i,f0(c,l)),i=i+1|0}return s}}}function Bc(e,t,r,n,i){const o=V0(r,0)|0,s=V0(ae(l=>o+l,n),e.length)|0;return(l=>{e:for(;;){const c=l;if(c>=s)return-1;if(i.Equals(t,f0(c,e)))return c|0;l=c+1;continue e}})(o)|0}function O1(e,t,r){return Bc(t,e,void 0,void 0,r)>=0}function Vc(e,t){const r=t3(t,1);return Ve(r,0,e),r}function Hc(e){return e.slice().reverse()}function Ft(e,t){return t.find(e)}function Ye(e,t,r){const n=[];for(let i=0;i<=t.length-1;i++){const o=e(f0(i,t));if(o!=null){const s=U(o);n.push(s)}}return X(r,E0())?n:Q0(i=>i,n,r)}function jn(e,t,r){const n=e;return r.reduce(n,t)}function Uc(e,t){const r=e.slice();return r.sort((n,i)=>t.Compare(n,i)),r}function jc(e,t,r){const n=t.slice();return n.sort((i,o)=>r.Compare(e(i),e(o))),n}function Mt(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(f0(n,t),f0(n,r)),n=n+1|0;return i}}function u6(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return f0(0,e)}function Wc(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function f0(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 Ve(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 Ba(e,t){if(!(e<0||e>=t.length))return we(t[e])}function Va(e,t,r){return t.reduceRight((n,i)=>e(i,n),r)}class Me extends i0{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+xe("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c);if(X(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return c==null}})(r,t)}GetHashCode(){return((n,i,o)=>{e:for(;;){const s=n,a=i,l=o,c=l.tail;if(c!=null){const d=U(c);if(s>18)return a|0;n=s+1,i=(a<<1)+g1(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,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c),h=Oe(s.head,a.head)|0;if(h===0){i=d,o=f;continue e}else return h|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return Gc(this)}[Symbol.iterator](){return d3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}}class qc{constructor(t){this.xs=t,this.it=this.xs,this.current=E0()}"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=U(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=E0()}Dispose(){}}function Gc(e){return new qc(e)}function ie(){return new Me(E0(),void 0)}function mr(e,t){return new Me(e,t)}function D1(e){return e.tail==null}function Ha(e){return((r,n)=>{e:for(;;){const i=r,s=n.tail;if(s!=null){r=i+1,n=U(s);continue e}else return i|0}})(0,e)|0}function kt(e){if(e.tail!=null)return e.head;throw new Error(Fa+"\\nParameter name: list")}function Se(e){const t=e.tail;if(t!=null)return U(t);throw new Error(Fa+"\\nParameter name: list")}function oe(){return ie()}function d1(e,t){return mr(e,t)}function o0(e){return mr(e,ie())}function M0(e){return D1(e)}function _e(e){return Ha(e)}function d0(e){return kt(e)}function $0(e){return Se(e)}function ut(e){const t=Ha(e)|0,r=hr(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!D1(a)){Ve(r,s,kt(a)),i=s+1,o=Se(a);continue e}break}})(0,e),r}function B1(e,t,r){let n=t,i=r;for(;!D1(i);)n=e(n,d0(i)),i=Se(i);return n}function Li(e){return B1((t,r)=>mr(r,t),ie(),e)}function zc(e,t,r){return Va(e,ut(t),r)}function Yc(e,t,r){return((i,o,s)=>{e:for(;;){const a=i,l=o,c=s;if(D1(c))return l;i=a+1,o=e(a,l,kt(c)),s=Se(c);continue e}})(0,t,r)}function rr(e,t){B1((r,n)=>{e(n)},void 0,t)}function ce(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=mr(f0(n,e),r);return r}function g(e){return ce(e,ie())}function Zc(e){let t,r;if(p1(e))return g(e);if(e instanceof Me)return e;{const n=ie();let i=n;const o=B0(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,r=new Me(l,void 0),t.tail=r,r)}}finally{D0(o)}const s=i,a=ie();return s.tail=a,Se(n)}}function Kc(e){const t=ie();let r=t;const n=s=>{r=B1((a,l)=>{const c=new Me(l,void 0);return a.tail=c,c},r,s)};if(p1(e))e.forEach(n);else if(e instanceof Me)rr(n,e);else{const s=B0(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)n(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{D0(s)}}const i=r,o=ie();return i.tail=o,Se(t)}function Pt(e,t){return B1((r,n)=>mr(n,r),t,Li(e))}function Jc(e,t){let r,n;const i=ie();let o=i,s=t;for(;!D1(s);){let c=e(kt(s));for(;!D1(c);)o=(r=o,n=new Me(kt(c),void 0),r.tail=n,n),c=Se(c);s=Se(s)}const a=o,l=ie();return a.tail=l,Se(i)}function Wn(e,t){const r=ie(),n=Yc((o,s,a)=>{const l=new Me(e(o,a),void 0);return s.tail=l,l},r,t),i=ie();return n.tail=i,Se(r)}function st(e,t){const r=ie(),n=B1((o,s)=>{const a=new Me(e(s),void 0);return o.tail=a,a},r,t),i=ie();return n.tail=i,Se(r)}function Xc(e,t){return(n=>{e:for(;;){const i=n;if(D1(i))return;{const o=e(kt(i));if(o==null){n=Se(i);continue e}else return o}}})(t)}function q4(e,t){return Xc(r=>e(r)?we(r):void 0,t)}function Qc(e,t){return((n,i)=>{e:for(;;){const o=n,s=i;if(D1(s))return;if(e(kt(s)))return o;n=o+1,i=Se(s);continue e}})(0,t)}function je(e,t){const r=ie(),n=B1((o,s)=>{if(e(s)){const a=new Me(s,void 0);return o.tail=a,a}else return o},r,t),i=ie();return n.tail=i,Se(r)}function ed(e,t){const r=ie(),n=ie(),i=r,o=B1((l,c)=>{let d,f;const h=l[0],m=l[1];return e(c)?[(d=new Me(c,void 0),h.tail=d,d),m]:[h,(f=new Me(c,void 0),m.tail=f,f)]},[i,n],t),s=ie();o[0].tail=s;const a=ie();return o[1].tail=a,[Se(i),Se(n)]}function td(e,t){const r=ie(),n=B1((o,s)=>{const a=e(s);if(a==null)return o;{const l=new Me(U(a),void 0);return o.tail=l,l}},r,t),i=ie();return n.tail=i,Se(r)}function Bi(e,t){return Qc(e,t)!=null}function Ua(e,t){const r=ut(t);return r.sort(e),g(r)}function rd(e,t,r){return Ua((n,i)=>r.Compare(e(n),e(i)),t)}function ja(e,t,r){return Ua((n,i)=>r.Compare(e(n),e(i))*-1,t)}function Wa(e,t){e:for(;;){const r=e,n=t;if(r<=0)return n;if(D1(n))throw new Error(Pa+"\\nParameter name: list");e=r-1,t=Se(n);continue e}}function qa(e,t){if(e<0)throw new Error(Pc+"\\nParameter name: count");const r=(s,a,l)=>{let c;e:for(;;){const d=s,f=a,h=l;if(d<=0)return f;if(D1(h))throw new Error(Pa+"\\nParameter name: list");s=d-1,a=(c=new Me(kt(h),void 0),f.tail=c,c),l=Se(h);continue e}},n=ie(),i=r(e,n,t),o=ie();return i.tail=o,Se(n)}function Ga(e,t,r){const n=_e(r)|0;let i;const o=V0(e,0)|0;i=o<0?0:o;let s;const a=V0(t,n-1)|0;return s=a>=n?n-1:a,s<i?ie():qa(s-i+1,Wa(i,r))}const w=Q;function nd(e){const t=g([u("style",{children:[Ln]}),u("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return u("div",{children:w.Children.toArray(Array.from(t))})}class za{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 qn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,qn.prototype)}}class Vi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>Vi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function X1(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new qn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(r){t.onError(ln(r))}});else try{e(t)}catch(r){t.onError(ln(r))}}}function id(e,t){return X1(r=>{e({onSuccess:n=>{try{t(n)(r)}catch(i){r.onError(ln(i))}},onError:r.onError,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function od(e){return X1(t=>t.onSuccess(e))}class sd{Bind(t,r){return id(t,r)}Combine(t,r){return this.Bind(t,()=>r)}Delay(t){return X1(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 od(t)}ReturnFrom(t){return t}TryFinally(t,r){return X1(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 X1(n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:i=>{try{r(i)(n)}catch(o){n.onError(ln(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 X1(t=>t.onSuccess(void 0))}}const V=new sd;function ad(e){return new Ya(0,[e])}function ld(e){return new Ya(1,[e])}class Ya extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Choice1Of2","Choice2Of2"]}}function ud(e){return ad(e)}function cd(e){return ld(e)}function A5(e){}function dd(e){return new za(!1)}function fd(e){e.cancel()}function hd(e){return e!=null&&e.isCancelled}const md=new za;function pd(e){return X1(t=>{e({onSuccess:r=>t.onSuccess(ud(r)),onError:r=>t.onSuccess(cd(r)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function gd(e){return X1(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Hi(e){return X1(t=>{let r;const n=setTimeout(()=>{t.cancelToken.removeListener(r),t.onSuccess(void 0)},e);r=t.cancelToken.addListener(()=>{clearTimeout(n),t.onCancel(new qn)})})}function wd(e,t){return yd(e,t)}function Lt(e,t){return wd(e,t)}function yd(e,t,r,n,i){typeof t!="function"&&(i=t,t=void 0);const o=new Vi;e({onSuccess:t||A5,onError:A5,onCancel:A5,cancelToken:i||md,trampoline:o})}class ct extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class pr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Empty","Text","Binary","Form"]}}class Gn extends i0{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 L2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Za extends i0{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}}function vd(e){throw new Error(e)}const bd="Enumeration already finished.",_d="Enumeration has not started. Call MoveNext.",Ka="The input sequence has an insufficient number of elements.",Cd="Reset is not supported on this enumerator.";function xd(){throw new Error(Cd)}function Ui(){throw new Error(_d)}function G4(){throw new Error(bd)}class Sd{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const i=B0(t);try{for(;r<4&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+ne(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{D0(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return d3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Ed(e){return new Sd(e)}class Ad{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"(){xd()}Dispose(){this.dispose()}}function zn(e,t,r){return new Ad(e,t,r)}function Td(e){let t,r,n=!1,i=!1,o;const s=()=>{if(i=!0,r!=null){const a=U(r);try{D0(a)}finally{r=void 0}}if(t!=null){const a=U(t);try{D0(a)}finally{t=void 0}}};return zn(()=>(n?i&&G4():Ui(),o!=null?U(o):G4()),()=>{let a;if(n||(n=!0),i)return!1;{let l;for(;l==null;){const c=t,d=r;if(c!=null)if(d!=null){const f=U(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=we(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{D0(f)}finally{r=void 0}}else{const f=U(c);f["System.Collections.IEnumerator.MoveNext"]()?r=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),B0(a)):(s(),l=!1)}else t=B0(e)}return U(l)}},()=>{i||s()})}function Nd(e,t){return zn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{D0(t)}finally{}})}function Ja(e,t,r){let n=!1,i,o=we(e());const s=()=>{if(o!=null){const l=U(o);try{r(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return zn(()=>(n||Ui(),i!=null?U(i):G4()),()=>{if(n||(n=!0),o!=null){const l=U(o);let c;try{c=t(l)}catch(d){throw a(),d}return c!=null?(i=c,!0):(a(),!1)}else return!1},s)}function Md(e,t){let r,n=t;return zn(()=>{if(r!=null){const i=U(r)[0];return U(r)[1],i}else return Ui()},()=>(r=e(n),r!=null?(U(r)[0],n=U(r)[1],!0):!1),()=>{})}function kd(e,t){t==null&&vd(e)}function h3(e){return Ed(e)}function w1(e){return kd("source",e),B0(e)}function T(e){return h3(()=>B0(e()))}function Yn(e){return h3(()=>Td(e))}function Id(e,t){return h3(()=>Md(e,t))}function k0(){return T(()=>new Array(0))}function x(e){return T(()=>Vc(e))}function y1(e){return e instanceof Me?ut(e):Array.from(e)}function q(e){return p1(e)?g(e):e instanceof Me?e:Zc(e)}function ji(e,t,r){return h3(()=>Ja(e,t,r))}function Xa(e,t,r){return h3(()=>{let n=-1;return Ja(e,i=>(n=n+1|0,t(n,i)),r)})}function $(e,t){return Yn([e,t])}function Rd(e,t){return ji(()=>w1(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=>{D0(r)})}function Od(e,t,r){const n=w1(t);try{const i=w1(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{D0(i)}}finally{D0(n)}}function R2(e,t,r){const n=w1(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{D0(n)}}function Tt(e,t){return Rd(r=>{if(e(r))return we(r)},t)}function gr(e,t,r){const n=w1(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{D0(n)}}function V1(e,t){gr((r,n)=>{e(n)},void 0,t)}function Qa(e,t){gr((r,n)=>(e(r,n),r+1|0),0,t)}function Dd(e){if(p1(e))return e.length|0;if(e instanceof Me)return _e(e)|0;{const t=w1(e);try{let r=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)r=r+1|0;return r|0}finally{D0(t)}}}function F0(e,t){return ji(()=>w1(t),r=>r["System.Collections.IEnumerator.MoveNext"]()?we(e(r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{D0(r)})}function $d(e,t){return Xa(()=>w1(t),(r,n)=>n["System.Collections.IEnumerator.MoveNext"]()?we(e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{D0(r)})}function Fd(e,t,r){return ji(()=>[w1(t),w1(r)],n=>{const i=n[0],o=n[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?we(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},n=>{try{D0(n[0])}finally{D0(n[1])}})}function Pd(e){return T(()=>Hc(y1(e)))}function Ld(e,t){return h3(()=>{const r=w1(t);try{for(let n=1;n<=e;n++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Ka+"\\nParameter name: source");return Nd(()=>{},r)}catch(n){throw D0(r),n}})}function Bd(e,t){return Xa(()=>w1(t),(r,n)=>{if(r<e){if(n["System.Collections.IEnumerator.MoveNext"]())return we(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Ka+"\\nParameter name: source")}else return},r=>{D0(r)})}function e8(e,t){return Fd((r,n)=>[r,n],e,t)}function m3(e,t){return T(()=>Yn(F0(e,t)))}class t8{constructor(t,r){this.k=t,this.v=r}}function r3(e,t){return new t8(e,t)}function pe(e){return e.k}function Ce(e){return e.v}class ye extends t8{constructor(t,r,n,i,o){super(t,r),this.left=n,this.right=i,this.h=o|0}}function a2(e,t,r,n,i){return new ye(e,t,r,n,i)}function fe(e){return e.left}function he(e){return e.right}function St(e){return e.h}function r8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof ye){const o=i;e=r8(r+1,fe(o)),t=he(o);continue e}else return r+1|0}else return r|0}}function n8(e){return r8(0,e)}function t1(e,t,r,n){let i,o,s;const a=e;if(a!=null){const f=U(a);s=f instanceof ye?(i=f,St(i)):1}else s=0;let l;const c=n;if(c!=null){const f=U(c);l=f instanceof ye?(o=f,St(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?r3(t,r):a2(t,r,e,n,d+1)}function mn(e,t,r,n){let i,o,s,a,l,c,d,f,h;const m=e;if(m!=null){const b=U(m);h=b instanceof ye?(i=b,St(i)):1}else h=0;let p;const v=n;if(v!=null){const b=U(v);p=b instanceof ye?(o=b,St(o)):1}else p=0;if(p>h+2){const b=U(n);if(b instanceof ye){const _=b;if(s=fe(_),(s!=null?(a=U(s),a instanceof ye?(l=a,St(l)):1):0)>h+1){const C=U(fe(_));if(C instanceof ye){const A=C;return t1(t1(e,t,r,fe(A)),pe(A),Ce(A),t1(he(A),pe(_),Ce(_),he(_)))}else throw new Error("internal error: Map.rebalance")}else return t1(t1(e,t,r,fe(_)),pe(_),Ce(_),he(_))}else throw new Error("internal error: Map.rebalance")}else if(h>p+2){const b=U(e);if(b instanceof ye){const _=b;if(c=he(_),(c!=null?(d=U(c),d instanceof ye?(f=d,St(f)):1):0)>p+1){const C=U(he(_));if(C instanceof ye){const A=C;return t1(t1(fe(_),pe(_),Ce(_),fe(A)),pe(A),Ce(A),t1(he(A),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return t1(fe(_),pe(_),Ce(_),t1(he(_),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return t1(e,t,r,n)}function n3(e,t,r,n){if(n!=null){const i=U(n),o=e.Compare(t,pe(i))|0;if(i instanceof ye){const s=i;return o<0?mn(n3(e,t,r,fe(s)),pe(s),Ce(s),he(s)):o===0?a2(t,r,fe(s),he(s),St(s)):mn(fe(s),pe(s),Ce(s),n3(e,t,r,he(s)))}else return o<0?a2(t,r,void 0,n,2):o===0?r3(t,r):a2(t,r,n,void 0,2)}else return r3(t,r)}function Wi(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,pe(s))|0;if(a===0)return we(Ce(s));if(s instanceof ye){const l=s;e=n,t=i,r=a<0?fe(l):he(l);continue e}else return}else return}}function Vd(e,t,r){const n=Wi(e,t,r);if(n==null)throw new Error;return U(n)}function i8(e){if(e!=null){const t=U(e);if(t instanceof ye){const r=t;if(fe(r)==null)return[pe(r),Ce(r),he(r)];{const n=i8(fe(r));return[n[0],n[1],t1(n[2],pe(r),Ce(r),he(r))]}}else return[pe(t),Ce(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function z4(e,t,r,n){if(n!=null){const i=U(n);if(i instanceof ye){const o=i,s=e.Compare(t,pe(o))|0;if(s<0)return mn(z4(e,t,r,fe(o)),pe(o),Ce(o),he(o));if(s===0){const a=r(we(Ce(o)));if(a!=null)return a2(t,U(a),fe(o),he(o),St(o));if(fe(o)==null)return he(o);if(he(o)==null)return fe(o);{const l=i8(he(o));return t1(fe(o),l[0],l[1],l[2])}}else return mn(fe(o),pe(o),Ce(o),z4(e,t,r,he(o)))}else{const o=e.Compare(t,pe(i))|0;if(o<0){const s=r(void 0);return s!=null?a2(t,U(s),void 0,n,2):n}else if(o===0){const s=r(we(Ce(i)));return s!=null?r3(t,U(s)):void 0}else{const s=r(void 0);return s!=null?a2(t,U(s),n,void 0,2):n}}}else{const i=r(void 0);return i!=null?r3(t,U(i)):n}}function Hd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,pe(s))|0;if(s instanceof ye){const l=s;if(a<0){e=n,t=i,r=fe(l);continue e}else{if(a===0)return!0;e=n,t=i,r=he(l);continue e}}else return a===0}else return!1}}function o8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof ye){const o=i;o8(r,fe(o)),r(pe(o),Ce(o)),e=r,t=he(o);continue e}else r(pe(i),Ce(i))}break}}function Ud(e,t){o8(e,t)}function s8(e,t,r){let n=r;Ud((i,o)=>{Ve(t,n,[i,o]),n=n+1|0},e)}function jd(e){const t=n8(e)|0,r=hr(new Array(t),0,t,[null,null]);return s8(e,r,0),r}function Wd(e,t){return B1((r,n)=>n3(e,n[0],n[1],r),void 0,t)}function qd(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=n3(n,s[0],s[1],i),r=o;continue e}else return i}}function Gd(e,t){let r=void 0;for(let n=0;n<=t.length-1;n++){const i=f0(n,t);r=n3(e,i[0],i[1],r)}return r}function a8(e,t){if(p1(t))return Gd(e,t);if(t instanceof Me)return Wd(e,t);{const r=B0(t);try{return qd(e,void 0,r)}finally{D0(r)}}}class zd extends i0{constructor(t,r){super(),this.stack=t,this.started=r}}function l8(e){e:for(;;){const t=e;if(M0(t))return oe();{const r=$0(t),n=d0(t);if(n!=null){const i=U(n);if(i instanceof ye){const o=i;e=ce([fe(o),r3(pe(o),Ce(o)),he(o)],r);continue e}else return t}else{e=r;continue e}}}}function c6(e){return new zd(l8(o0(e)),!1)}function Yd(){throw new Error("enumeration not started")}function Zd(){throw new Error("enumeration already finished")}function d6(e){if(e.started){const t=e.stack;if(M0(t))return Zd();if(d0(t)!=null){const r=U(d0(t));if(r instanceof ye)throw new Error("Please report error: Map iterator, unexpected stack for current");return[pe(r),Ce(r)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return Yd()}function Kd(e){if(e.started){const t=e.stack;if(M0(t))return!1;if(d0(t)!=null){if(U(d0(t))instanceof ye)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=l8($0(t)),!M0(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!M0(e.stack)}function f6(e){let t=c6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return d6(t)},"System.Collections.IEnumerator.get_Current"(){return d6(t)},"System.Collections.IEnumerator.MoveNext"(){return Kd(t)},"System.Collections.IEnumerator.Reset"(){t=c6(e)},Dispose(){}}}class pn{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return tf(this)|0}Equals(t){const r=this;if(t instanceof pn){const n=t,i=B0(r);try{const o=B0(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"](),c=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return X(l[0],c[0])&&X(l[1],c[1])?s():!1}else return!0;else return!1};return s()}finally{D0(o)}}finally{D0(i)}}else return!1}toString(){return"map ["+xe("; ",F0(r=>Ri("({0}, {1})",r[0],r[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return f6(this.tree)}[Symbol.iterator](){return d3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return f6(this.tree)}CompareTo(t){const r=this;if(t instanceof pn)return Od((i,o)=>{const s=r.comparer.Compare(i[0],o[0])|0;return(s!==0?s:Oe(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 h6(r,t[0])&&X(d2(r,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){s8(this.tree,t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return T5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return T5(this)|0}get size(){return T5(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return F0(r=>[r[0],r[1]],this)}get(t){return d2(this,t)}has(t){return h6(this,t)}keys(){return F0(r=>r[0],this)}set(t,r){throw new Error("Map cannot be mutated")}values(){return F0(r=>r[1],this)}forEach(t,r){const n=this;V1(i=>{t(i[1],i[0],n)},n)}}function wr(e,t){return new pn(e,t)}function Jd(e){return wr(e,void 0)}function Xd(e,t,r){return wr(e.comparer,n3(e.comparer,t,r,e.tree))}function Qd(e,t,r){return wr(e.comparer,z4(e.comparer,t,r,e.tree))}function d2(e,t){return Vd(e.comparer,t,e.tree)}function T5(e){return n8(e.tree)}function h6(e,t){return Hd(e.comparer,t,e.tree)}function ef(e,t,r){const n=Wi(e.comparer,t,e.tree);if(n==null)return!1;{const i=U(n);return r.contents=i,!0}}function m6(e){return Q0(t=>t[1],jd(e.tree))}function i2(e,t){return Wi(e.comparer,t,e.tree)}function tf(e){const t=(i,o)=>(i<<1)+o+631;let r=0;const n=B0(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r=t(r,g1(i[0]))|0,r=t(r,g1(i[1]))|0}}finally{D0(n)}return r|0}function u8(e,t,r){return Xd(r,e,t)}function Dr(e,t,r){return Qd(r,e,t)}function c8(e,t){return i2(t,e)}function rf(e){return F0(t=>[t[0],t[1]],e)}function G2(e,t){return wr(t,a8(t,e))}function nf(e,t){return wr(t,a8(t,e))}function qi(e){return Jd(e)}const Yt=new Gn("",new ct(0,[]),oe(),!1,void 0,void 0,void 0,new pr(0,[]));new Za(0,"","","",qi({Compare:b2}),new L2(0,[""]));function p6(e,t){return Oi(t)?new Array(0):Sa(t,[e],void 0,0)}function of(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 Bt(e){return new Gn(e,Yt.method,Yt.headers,Yt.withCredentials,Yt.overridenMimeType,Yt.overridenResponseType,Yt.timeout,Yt.content)}function Vt(e,t){return new Gn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Zn(e,t){return new Gn(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function g6(e){return gd(t=>{const r=new XMLHttpRequest;r.open(of(e.method),e.url),r.onreadystatechange=()=>{let l,c,d,f,h,m,p;r.readyState===4&&t[0]((l=(c=r.responseType,c===""||c==="text"?r.responseText:""),d=r.status|0,f=r.responseType,h=(m=r.responseType,m===""?new L2(0,[r.responseText]):m==="text"?new L2(0,[r.responseText]):m==="arraybuffer"?new L2(2,[r.response]):m==="blob"?new L2(1,[r.response]):new L2(3,[r.response])),p=nf(Ye(v=>{const b=g(p6(":",v));if(!M0(b))return[d0(b).toLocaleLowerCase(),xe(":",$0(b)).trim()]},p6(`\r
|
|
4
|
+
`,r.getAllResponseHeaders())),{Compare:b2}),new Za(d,l,f,r.responseURL,p,h)))};const n=B0(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{D0(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(we(a.fields[0]));break}case 3:{r.send(we(a.fields[0]));break}case 2:{r.send(we(a.fields[0]));break}default:r.send()}})}function sf(e){return new I(0,[e])}function d8(e){return new I(1,[e])}class I extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Ok","Error"]}}function $1(e,t){return t.tag===0?sf(e(t.fields[0])):d8(t.fields[0])}function af(e,t){return t.tag===0?e(t.fields[0]):d8(t.fields[0])}const t2={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function N5(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 lf(e,t){switch(t){case t2.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case t2.SnakeCase:return N5(e,"_");case t2.SnakeCaseAllCaps:return N5(e,"_").toUpperCase();case t2.KebabCase:return N5(e,"-");case t2.None:default:return e}}function dt(e,t=t2.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=lf(s,a),r[s]=l}for(let s of e){let a=t2.None;if(s==null&&i(s),s instanceof G){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 Kn(e,t,r){return e.has(t)?(r.contents=e.get(t),!0):!1}function f8(e,t){return t.has(e)?!1:(t.add(e),!0)}function uf(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 at(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class s0 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class u1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function w6(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function h8(e,t){switch(e.tag){case 2:return dr(w6(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return w6(t)}}const cf=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,y6=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,df=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function ff(e){function t(n){return n.replace(y6,"$1-$2-$3-$4-$5")}const r=e.trim().toLowerCase();if(cf.test(r))return Ea(r,"{","}","(",")");if(y6.test(r))return t(r);if(df.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 hf(e,t){try{return t.contents=ff(e),!0}catch{return!1}}function Gi(){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 Y4;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(Y4||(Y4={}));function mf(e,t){const[,r,n,i]=e;return{sign:r||"",prefix:n||"",digits:i,radix:t}}function v6(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 pf(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 gf(e,t){if(t&Y4.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 wf(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||gf(o,t),!pf(r).test(s))return mf(i,r)}return null}function yf(e,t,r,n,i){const o=wf(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=v6(!0,n);!r&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-n>>32-n);const[c,d]=v6(r,n);if(s>=c&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function p3(e,t,r,n,i){try{return i.contents=yf(e,t,r,n),!0}catch{return!1}}function m8(e,t){vf(t);const r=new Date(e);return r.offset=t??new Date().getTimezoneOffset()*-6e4,r}function vf(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 bf(){return m8(-621355968e5,0)}function _f(e){const[t,r]=ya(e),n=r==null?t.getTimezoneOffset()*-6e4:r==="Z"?0:r*6e4;return m8(t.getTime(),n)}function Cf(e,t){try{return t.contents=_f(e),!0}catch{return!1}}function yr(e){return e<0?Math.ceil(e):Math.floor(e)}function b6(e=0,t=0,r=0,n=0,i=0){switch(arguments.length){case 1:return xf(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 xf(e){return Number(BigInt(e)/10000n)}function Sf(e){return yr(e/864e5)}function Ef(e){return yr(e%864e5/36e5)}function Af(e){return yr(e%36e5/6e4)}function Tf(e){return yr(e%6e4/1e3)}function Nf(e){return yr(e%1e3)}function Mf(e,t="c",r){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const n=Math.abs(Sf(e)),i=Math.abs(Ef(e)),o=Math.abs(Af(e)),s=Math.abs(Tf(e)),a=Math.abs(Nf(e));return`${e<0?"-":""}${n===0&&(t==="c"||t==="g")?"":t==="c"?n+".":n+":"}${t==="g"?i:G0(i,2)}:${G0(o,2)}:${G0(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+G0(a,3):"."+Lu(a,3,7)}`}function kf(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 b6(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],c=+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*b6(i,l,c,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function If(e,t){try{return t.contents=kf(e),!0}catch{return!1}}class p8{constructor(t,r){const n=new ke(E0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=B0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();M5(n.contents,o)}}finally{D0(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}GetEnumerator(){return B0(Yn(this.hashMap.values()))}[Symbol.iterator](){return d3(B0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){M5(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){_6(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return x6(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Qa((i,o)=>{Ve(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return C6(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return S6(this,t)}get size(){return C6(this)|0}add(t){const r=this;return M5(r,t),r}clear(){_6(this)}delete(t){return S6(this,t)}has(t){return x6(this,t)}keys(){return F0(r=>r,this)}values(){return F0(r=>r,this)}entries(){return F0(r=>[r,r],this)}forEach(t,r){const n=this;V1(i=>{t(i,i,n)},n)}}function zi(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=E0();return n=[Kn(e.hashMap,r,new ke(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,r,-1]}function _6(e){e.hashMap.clear()}function C6(e){let t=0,r=B0(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{D0(r)}return t|0}function M5(e,t){const r=zi(e,t);return r[0]?r[2]>-1?!1:(at(e.hashMap,r[1]).push(t),!0):(e.hashMap.set(r[1],[t]),!0)}function x6(e,t){const r=zi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function S6(e,t){const r=zi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}class g8{constructor(t){this.k=t}}function r1(e){return new g8(e)}function _0(e){return e.k}class j0 extends g8{constructor(t,r,n,i){super(t),this.left=r,this.right=n,this.h=i|0}}function n1(e,t,r,n){return new j0(e,t,r,n)}function ee(e){return e.left}function K0(e){return e.right}function j2(e){return e.h}function w8(e,t){e:for(;;){const r=e,n=t;if(r!=null){const i=U(r);if(i instanceof j0){const o=i;e=ee(o),t=w8(K0(o),n+1);continue e}else return n+1|0}else return n|0}}function Rf(e){return w8(e,0)}function _1(e,t,r){let n,i,o;const s=e;if(s!=null){const d=U(s);o=d instanceof j0?(n=d,j2(n)):1}else o=0;let a;const l=r;if(l!=null){const d=U(l);a=d instanceof j0?(i=d,j2(i)):1}else a=0;const c=(o<a?a:o)|0;return c===0?r1(t):n1(t,e,r,c+1)}function E6(e,t,r){let n,i,o,s,a,l,c,d,f;const h=e;if(h!=null){const v=U(h);f=v instanceof j0?(n=v,j2(n)):1}else f=0;let m;const p=r;if(p!=null){const v=U(p);m=v instanceof j0?(i=v,j2(i)):1}else m=0;if(m>f+2){const v=U(r);if(v instanceof j0){const b=v;if(o=ee(b),(o!=null?(s=U(o),s instanceof j0?(a=s,j2(a)):1):0)>f+1){const _=U(ee(b));if(_ instanceof j0){const C=_;return _1(_1(e,t,ee(C)),_0(C),_1(K0(C),_0(b),K0(b)))}else throw new Error("internal error: Set.rebalance")}else return _1(_1(e,t,ee(b)),_0(b),K0(b))}else throw new Error("internal error: Set.rebalance")}else if(f>m+2){const v=U(e);if(v instanceof j0){const b=v;if(l=K0(b),(l!=null?(c=U(l),c instanceof j0?(d=c,j2(d)):1):0)>m+1){const _=U(K0(b));if(_ instanceof j0){const C=_;return _1(_1(ee(b),_0(b),ee(C)),_0(C),_1(K0(C),t,r))}else throw new Error("internal error: Set.rebalance")}else return _1(ee(b),_0(b),_1(K0(b),t,r))}else throw new Error("internal error: Set.rebalance")}else return _1(e,t,r)}function i3(e,t,r){if(r!=null){const n=U(r),i=e.Compare(t,_0(n))|0;if(n instanceof j0){const o=n;return i<0?E6(i3(e,t,ee(o)),_0(o),K0(o)):i===0?r:E6(ee(o),_0(o),i3(e,t,K0(o)))}else{const o=e.Compare(t,_0(n))|0;return o<0?n1(t,void 0,r,2):o===0?r:n1(t,r,void 0,2)}}else return r1(t)}function y8(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,_0(s))|0;if(s instanceof j0){const l=s;if(a<0){e=n,t=i,r=ee(l);continue e}else{if(a===0)return!0;e=n,t=i,r=K0(l);continue e}}else return a===0}else return!1}}function v8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof j0){const o=i;v8(r,ee(o)),r(_0(o)),e=r,t=K0(o);continue e}else r(_0(i))}break}}class Of extends i0{constructor(t,r){super(),this.stack=t,this.started=r}}function b8(e){e:for(;;){const t=e;if(M0(t))return oe();{const r=d0(t),n=$0(t);if(r!=null){const i=U(r);if(i instanceof j0){const o=i;e=ce([ee(o),r1(_0(o)),K0(o)],n);continue e}else return t}else{e=n;continue e}}}}function A6(e){return new Of(b8(o0(e)),!1)}function Df(){throw new Error("Enumeration not started")}function $f(){throw new Error("Enumeration already started")}function T6(e){if(e.started){const t=e.stack;if(M0(t))return $f();if(d0(t)!=null){const r=U(d0(t));return _0(r)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Df()}function Ff(e){if(e.started){const t=e.stack;if(M0(t))return!1;if(d0(t)!=null){if(U(d0(t))instanceof j0)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=b8($0(t)),!M0(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!M0(e.stack)}function N6(e){let t=A6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return T6(t)},"System.Collections.IEnumerator.get_Current"(){return T6(t)},"System.Collections.IEnumerator.MoveNext"(){return Ff(t)},"System.Collections.IEnumerator.Reset"(){t=A6(e)},Dispose(){}}}function Pf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(M0(i))return M0(o)?0:-1;if(M0(o))return 1;if(d0(o)!=null)if(d0(i)!=null){const s=U(d0(i)),a=U(d0(o));if(s instanceof j0){const l=s;if(ee(l)==null)if(a instanceof j0){const c=a;if(ee(c)==null){const d=n.Compare(_0(l),_0(c))|0;if(d!==0)return d|0;e=n,t=d1(K0(l),$0(i)),r=d1(K0(c),$0(o));continue e}else{let d,f,h,m,p;switch(M0(i)?M0(o)?d=2:d0(o)!=null?(d=1,m=$0(o),p=U(d0(o))):d=2:d0(i)!=null?(d=0,f=$0(i),h=U(d0(i))):M0(o)?d=2:d0(o)!=null?(d=1,m=$0(o),p=U(d0(o))):d=2,d){case 0:if(h instanceof j0){const v=h;e=n,t=ce([ee(v),n1(_0(v),void 0,K0(v),0)],f),r=o;continue e}else{e=n,t=ce([void 0,r1(_0(h))],f),r=o;continue e}case 1:if(p instanceof j0){const v=p;e=n,t=i,r=ce([ee(v),n1(_0(v),void 0,K0(v),0)],m);continue e}else{e=n,t=i,r=ce([void 0,r1(_0(p))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=n.Compare(_0(l),_0(a))|0;if(c!==0)return c|0;e=n,t=d1(K0(l),$0(i)),r=d1(void 0,$0(o));continue e}else{let c,d,f,h,m;switch(M0(i)?M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2:d0(i)!=null?(c=0,d=$0(i),f=U(d0(i))):M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2,c){case 0:if(f instanceof j0){const p=f;e=n,t=ce([ee(p),n1(_0(p),void 0,K0(p),0)],d),r=o;continue e}else{e=n,t=ce([void 0,r1(_0(f))],d),r=o;continue e}case 1:if(m instanceof j0){const p=m;e=n,t=i,r=ce([ee(p),n1(_0(p),void 0,K0(p),0)],h);continue e}else{e=n,t=i,r=ce([void 0,r1(_0(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof j0){const l=a;if(ee(l)==null){const c=n.Compare(_0(s),_0(l))|0;if(c!==0)return c|0;e=n,t=d1(void 0,$0(i)),r=d1(K0(l),$0(o));continue e}else{let c,d,f,h,m;switch(M0(i)?M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2:d0(i)!=null?(c=0,d=$0(i),f=U(d0(i))):M0(o)?c=2:d0(o)!=null?(c=1,h=$0(o),m=U(d0(o))):c=2,c){case 0:if(f instanceof j0){const p=f;e=n,t=ce([ee(p),n1(_0(p),void 0,K0(p),0)],d),r=o;continue e}else{e=n,t=ce([void 0,r1(_0(f))],d),r=o;continue e}case 1:if(m instanceof j0){const p=m;e=n,t=i,r=ce([ee(p),n1(_0(p),void 0,K0(p),0)],h);continue e}else{e=n,t=i,r=ce([void 0,r1(_0(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=n.Compare(_0(s),_0(a))|0;if(l!==0)return l|0;e=n,t=$0(i),r=$0(o);continue e}}else{U(d0(o));let s,a,l,c,d;switch(M0(i)?M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2:d0(i)!=null?(s=0,a=$0(i),l=U(d0(i))):M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2,s){case 0:if(l instanceof j0){const f=l;e=n,t=ce([ee(f),n1(_0(f),void 0,K0(f),0)],a),r=o;continue e}else{e=n,t=ce([void 0,r1(_0(l))],a),r=o;continue e}case 1:if(d instanceof j0){const f=d;e=n,t=i,r=ce([ee(f),n1(_0(f),void 0,K0(f),0)],c);continue e}else{e=n,t=i,r=ce([void 0,r1(_0(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(d0(i)!=null){U(d0(i));let s,a,l,c,d;switch(M0(i)?M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2:d0(i)!=null?(s=0,a=$0(i),l=U(d0(i))):M0(o)?s=2:d0(o)!=null?(s=1,c=$0(o),d=U(d0(o))):s=2,s){case 0:if(l instanceof j0){const f=l;e=n,t=ce([ee(f),n1(_0(f),void 0,K0(f),0)],a),r=o;continue e}else{e=n,t=ce([void 0,r1(_0(l))],a),r=o;continue e}case 1:if(d instanceof j0){const f=d;e=n,t=i,r=ce([ee(f),n1(_0(f),void 0,K0(f),0)],c);continue e}else{e=n,t=i,r=ce([void 0,r1(_0(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=n,t=$0(i),r=$0(o);continue e}}}function M6(e,t,r){return t==null?r==null?0:-1:r==null?1:Pf(e,o0(t),o0(r))|0}function Lf(e,t,r){let n=r;v8(i=>{Ve(t,n,i),n=n+1|0},e)}function Bf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){e=n,t=i3(n,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),r=o;continue e}else return i}}function Vf(e,t){return jn((r,n)=>i3(e,n,r),void 0,t)}function Hf(e,t){return B1((r,n)=>i3(e,n,r),void 0,t)}function _8(e,t){if(p1(t))return Vf(e,t);if(t instanceof Me)return Hf(e,t);{const r=B0(t);try{return Bf(e,void 0,r)}finally{D0(r)}}}class Yi{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return Wf(this)|0}Equals(t){let r;const n=this;return t instanceof Yi&&(r=t,M6(z2(n),C1(n),C1(r))===0)}toString(){return"set ["+xe("; ",F0(r=>ne(r),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const r=this;return M6(z2(r),C1(r),C1(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 y8(z2(r),t,C1(r))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Lf(C1(this),t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return k5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return k5(this)|0}GetEnumerator(){return N6(C1(this))}[Symbol.iterator](){return d3(B0(this))}"System.Collections.IEnumerable.GetEnumerator"(){return N6(C1(this))}get size(){return k5(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 C8(this,t)}keys(){return F0(r=>r,this)}values(){return F0(r=>r,this)}entries(){return F0(r=>[r,r],this)}forEach(t,r){const n=this;V1(i=>{t(i,i,n)},n)}}function Jn(e,t){return new Yi(e,t)}function z2(e){return e.comparer}function C1(e){return e.tree}function Uf(e){return Jn(e,void 0)}function jf(e,t){return Jn(z2(e),i3(z2(e),t,C1(e)))}function k5(e){return Rf(C1(e))}function C8(e,t){return y8(z2(e),t,C1(e))}function Wf(e){let t=0;const r=B0(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+g1(n)+631|0}}finally{D0(r)}return Math.abs(t)|0}function Z4(e,t){return C8(t,e)}function qf(e,t){return jf(t,e)}function Gf(e){return Uf(e)}function zf(e,t){return Jn(t,_8(t,e))}function Yf(e,t){return Jn(t,_8(t,e))}function k3(e,t,r){try{return"Expecting "+e+" but instead got:"+(r?`
|
|
5
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
|
|
7
|
-
Reason: `+t.fields[2]:t.tag===3?
|
|
6
|
+
`:" ")}}function Zf(e,t){const r=t.tag===2?k3(t.fields[0],t.fields[1],!0):t.tag===1?k3(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?k3(t.fields[0],t.fields[1],!0):t.tag===4?k3(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
|
`+xe(`
|
|
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]:k3(t.fields[0],t.fields[1],!1);return t.tag===7?r:"Error at: `"+e+"`\n"+r}function x8(e,t,r){const n=t(e,r);if(n.tag===1){const i=n.fields[0];return new I(1,[Zf(i[0],i[1])])}else return new I(0,[n.fields[0]])}function _2(e,t){try{return x8("$",e,JSON.parse(t))}catch(r){if(r instanceof SyntaxError)return new I(1,["Given an invalid JSON: "+r.message]);throw r}}function S8(e,t){return typeof t=="string"?new I(0,[t]):new I(1,[[e,new s0(0,["a string",t])]])}function Kf(e,t){if(typeof t=="string"){const r=t;return r.length===1?new I(0,[r[0]]):new I(1,[[e,new s0(0,["a single character string",t])]])}else return new I(1,[[e,new s0(0,["a char",t])]])}function Jf(e,t){if(typeof t=="string"){let r,n="00000000-0000-0000-0000-000000000000";return r=[hf(t,new ke(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new s0(0,["a guid",t])]])}else return new I(1,[[e,new s0(0,["a guid",t])]])}function Xf(e,t){return t==null?new I(0,[void 0]):new I(1,[[e,new s0(0,["null",t])]])}const k6=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 s0(1,["a sbyte",i,"Value was either too large or too small for a sbyte"])]]):new I(1,[[r,new s0(1,["a sbyte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!1,8,new ke(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["a sbyte",n])]])}else return new I(1,[[r,new s0(0,["a sbyte",n])]])},I6=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 s0(1,["a byte",i,"Value was either too large or too small for a byte"])]]):new I(1,[[r,new s0(1,["a byte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!0,8,new ke(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["a byte",n])]])}else return new I(1,[[r,new s0(0,["a byte",n])]])},R6=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 s0(1,["an int16",i,"Value was either too large or too small for an int16"])]]):new I(1,[[r,new s0(1,["an int16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!1,16,new ke(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["an int16",n])]])}else return new I(1,[[r,new s0(0,["an int16",n])]])},O6=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 s0(1,["an uint16",i,"Value was either too large or too small for an uint16"])]]):new I(1,[[r,new s0(1,["an uint16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!0,16,new ke(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["an uint16",n])]])}else return new I(1,[[r,new s0(0,["an uint16",n])]])},D6=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 s0(1,["an int",i,"Value was either too large or too small for an int"])]]):new I(1,[[r,new s0(1,["an int",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!1,32,new ke(()=>o,s=>{o=s|0})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["an int",n])]])}else return new I(1,[[r,new s0(0,["an int",n])]])},$6=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 s0(1,["an uint32",i,"Value was either too large or too small for an uint32"])]]):new I(1,[[r,new s0(1,["an uint32",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[p3(n,511,!0,32,new ke(()=>o,s=>{o=s})),o],i[0]?new I(0,[i[1]]):new I(1,[[r,new s0(0,["an uint32",n])]])}else return new I(1,[[r,new s0(0,["an uint32",n])]])};function Qf(e,t){return typeof t=="boolean"?new I(0,[t]):new I(1,[[e,new s0(0,["a boolean",t])]])}function eh(e,t){return typeof t=="number"?new I(0,[t]):new I(1,[[e,new s0(0,["a float",t])]])}function th(e,t){return typeof t=="number"?new I(0,[t]):new I(1,[[e,new s0(0,["a float32",t])]])}function rh(e,t){if(typeof t=="string"){let r,n=mc();return r=[gc(t,new ke(()=>n,i=>{n=i})),n],r[0]?new I(0,[wc(r[1])]):new I(1,[[e,new s0(0,["a datetime",t])]])}else return new I(1,[[e,new s0(0,["a datetime",t])]])}function nh(e,t){if(typeof t=="string"){let r,n=bf();return r=[Cf(t,new ke(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new s0(0,["a datetimeoffset",t])]])}else return new I(1,[[e,new s0(0,["a datetime",t])]])}function ih(e,t){if(typeof t=="string"){let r,n=0;return r=[If(t,new ke(()=>n,i=>{n=i})),n],r[0]?new I(0,[r[1]]):new I(1,[[e,new s0(0,["a timespan",t])]])}else return new I(1,[[e,new s0(0,["a timespan",t])]])}function F6(e,t,r,n){let i;const o=r+".["+h1(e)+"]";if(Array.isArray(n)){const s=n;return e<s.length?t(o,f0(e,s)):new I(1,[[o,new s0(5,["a longer array. Need index `"+h1(e)+"` but there are only `"+(i=s.length,h1(i))+"` entries",n])]])}else return new I(1,[[o,new s0(0,["an array",n])]])}function oh(e,t,r){return r==null?new I(0,[void 0]):$1(we,e(t,r))}function P6(e,t,r){if(Array.isArray(r)){let n=-1;return $1(Li,jn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+h1(n)+"]",o);return s.tag===0?new I(0,[d1(s.fields[0],i.fields[0])]):new I(1,[s.fields[0]])}else return i},new I(0,[oe()]),r))}else return new I(1,[[t,new s0(0,["a list",r])]])}function sh(e,t,r){if(Array.isArray(r)){let n=-1;return $1(Pd,jn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+h1(n)+"]",o);return s.tag===0?new I(0,[$([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 s0(0,["a seq",r])]])}function L6(e,t,r){if(Array.isArray(r)){let n=-1;const i=r;return jn((o,s)=>{if(n=n+1|0,o.tag===0){const a=o.fields[0],l=e(t+".["+h1(n)+"]",s);return l.tag===0?(Ve(a,n,l.fields[0]),new I(0,[a])):new I(1,[l.fields[0]])}else return o},new I(0,[hr(new Array(i.length),0,i.length,null)]),i)}else return new I(1,[[t,new s0(0,["an array",r])]])}function ah(e,t,r){return((i,o)=>{e:for(;;){const s=i,a=o;if(M0(s))return new I(1,[[t,new s0(7,[a])]]);{const l=x8(t,Y0(d0(s)),r);if(l.tag===1){i=$0(s),o=Pt(a,o0(l.fields[0]));continue e}else return new I(0,[l.fields[0]])}}})(e,oe())}function lh(e,t,r){return new I(0,[e])}function B6(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 uh(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 ch(e,t){let r;const n=e;return r=i=>o=>F6(0,n,i,o),i=>o=>B6(U4(s=>{let a;const l=t;return a=c=>d=>F6(1,l,c,d),c=>d=>B6((f,h,m)=>lh([s,f]),Y0(a),c,d)}),Y0(r),i,o)}function dh(e){return G2(e,{Compare:Oe})}function fh(e){return Yf(e,{Compare:Oe})}function hh(e,t,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Va((n,i)=>{const o=n[0];return i.tag===0?$1(s=>d1(s,i.fields[0]),n[1](t+"."+o)(r[o])):i},e,new I(0,[oe()])):new I(1,[[t,new s0(0,["an object",r])]])}function mh(e,t,r,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?gr((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,[d1([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,[oe()]),Object.keys(n)):new I(1,[[r,new s0(0,["an object",n])]])}function E8(e,t,r,n){let i;const o=t.length+e|0;if(o!==n.length)return new I(1,[[r,new s0(6,[(i=n.length|0,u2(ot("Expected array of length %i but got %i"))(o)(i))])]]);{let s=new I(0,[oe()]);for(let a=e;a<=n.length-1;a++)if(s.tag===0){const l=s.fields[0],c=u2(ot("%s[%i]"))(r)(a),d=f0(a-e,t),f=f0(a,n);s=$1(h=>d1(h,l),d(c)(f))}return $1(Li,s)}}function V6(e,t,r,n,i,o){const s=Ft(a=>q2(a)===n,Ia(r));if(s!=null){const a=s,l=Q0(c=>x1(e,t,!1,c[1]),$a(a));return $1(c=>Dc(a,ut(c)),l.length===0&&o.length<=1?new I(0,[oe()]):E8(1,l,i,o))}else return new I(1,[[i,new s0(6,["Cannot find case "+n+" in "+re(r)])]])}function H6(e,t,r,n){let i;const o=new ke(E0());let s;const a=re(n);s=a===""?e:u8(a,o,e);let l;if(Da(n)){const c=Q0(d=>[h8(t,q2(d)),x1(s,t,!1,d[1])],tr(n));l=d=>f=>$1(h=>$c(n,ut(h)),hh(c,d,f))}else if(Oa(n))l=c=>d=>{if(typeof d=="string")return V6(s,t,n,d,c,[]);if(Array.isArray(d)){const f=d;return af(h=>V6(s,t,n,h,c,f),S8(c+"[0]",f0(0,f)))}else return new I(1,[[c,new s0(0,["a string or array",d])]])};else if(r)l=c=>d=>new I(1,[[c,new s0(2,["an extra coder for "+re(n),d])]]);else throw new Error((i=re(n),u2(ot(`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 x1(e,t,r,n){let i,o,s,a;const l=re(n),c=c8(l,e);if(c==null)if(Ta(n)){const d=x1(e,t,!1,fr(n));return f=>h=>L6(Y0(d),f,h)}else if(Fi(n))switch(re(ka(n))){case"System.SByte":return f=>h=>{const m=n,p=f,v=h,b=k6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0]|0;return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,_.toString())]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};case"System.Byte":return f=>h=>{const m=n,p=f,v=h,b=I6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0];return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,_.toString())]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};case"System.Int16":return f=>h=>{const m=n,p=f,v=h,b=R6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0]|0;return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,Bu(_))]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};case"System.UInt16":return f=>h=>{const m=n,p=f,v=h,b=O6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0];return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,_.toString())]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};case"System.Int32":return f=>h=>{const m=n,p=f,v=h,b=D6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0]|0;return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,h1(_))]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};case"System.UInt32":return f=>h=>{const m=n,p=f,v=h,b=$6(p)(v);if(b.tag===1)return new I(1,[b.fields[0]]);{const _=b.fields[0];return R2(_,k2(m),{Equals:(C,A)=>C===A,GetHashCode:S1})?new I(0,[I2(m,_.toString())]):new I(1,[[p,new s0(1,[re(m),v,"Unkown value provided for the enum"])]])}};default:{const f=re(n),h=_a(ot(`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 m=>h(m)}}else if(
|
|
23
|
+
`))(f);return m=>h(m)}}else if(Na(n))if(Pi(n)){const d=Q0(f=>x1(e,t,!1,f),Ra(n));return f=>h=>Array.isArray(h)?$1(m=>Fc(ut(m)),E8(0,d,f,h)):new I(1,[[f,new s0(0,["an array",h])]])}else switch(re(Ma(n))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return i=x1(e,t,!0,f0(0,i1(n))),f=>h=>oh(Y0(i),f,h);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return o=x1(e,t,!1,f0(0,i1(n))),f=>h=>P6(Y0(o),f,h);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=x1(e,t,!1,f0(0,i1(n))),f=>h=>sh(Y0(s),f,h);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const f=x1(e,t,!1,f0(0,i1(n))),h=x1(e,t,!1,f0(1,i1(n)));let m;const p=g([v=>b=>mh(Y0(f),Y0(h),v,b),(a=ch(Y0(f),Y0(h)),v=>b=>P6(Y0(a),v,b))]);return m=v=>b=>ah(p,v,b),v=>b=>uh(dh,Y0(m),v,b)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const f=x1(e,t,!1,f0(0,i1(n)));return h=>m=>{const p=L6(Y0(f),h,m);return p.tag===0?new I(0,[fh(p.fields[0])]):new I(1,[p.fields[0]])}}default:return H6(e,t,r,n)}else switch(l){case"System.Boolean":return d=>f=>Qf(d,f);case"Microsoft.FSharp.Core.Unit":return d=>f=>Xf(d,f);case"System.String":return d=>f=>S8(d,f);case"System.Char":return d=>f=>Kf(d,f);case"System.SByte":return k6;case"System.Byte":return I6;case"System.Int16":return R6;case"System.UInt16":return O6;case"System.Int32":return D6;case"System.UInt32":return $6;case"System.Double":return d=>f=>eh(d,f);case"System.Single":return d=>f=>th(d,f);case"System.DateTime":return d=>f=>rh(d,f);case"System.DateTimeOffset":return d=>f=>nh(d,f);case"System.TimeSpan":return d=>f=>ih(d,f);case"System.Guid":return d=>f=>Jf(d,f);case"System.Object":return d=>f=>new I(0,[f]);default:return H6(e,t,r,n)}else{const d=c;return f=>h=>d.contents(f)(h)}}function ph(e){return qi({Compare:b2})}function C2(e,t,r){const n=V0(t,new u1(0,[]));return x1(ph(),n,!1,e)}let gh=class extends i0{constructor(t,r){super(),this.Name=t,this.Email=r}};function Zi(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.UserDto",[],gh,()=>[["Name",te],["Email",m1(te)]])}class K4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Profiles","Tax"]}}function A8(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ImportStageDto",[],K4,()=>[[],[]])}class wh extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Invite","RevokeInvite"]}}function yh(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestTypeDto",[],wh,()=>[[],[]])}class vh extends i0{constructor(t,r,n,i){super(),this.User=t,this.ProfileCount=r|0,this.RequestType=n,this.RequestedAt=i}}function bh(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestInfoDto",[],vh,()=>[["User",Zi()],["ProfileCount",v0],["RequestType",yh()],["RequestedAt",Be("System.DateTime")]])}class _h extends i0{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 Ch(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.RunningStageDto",[],_h,()=>[["Stage",A8()],["InputRowCount",v0],["StartTime",Be("System.DateTime")],["SucceededRowCount",m1(v0)],["FailedRowCount",m1(v0)],["RemainingRowCount",m1(v0)]])}class xh extends i0{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 T8(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.CompletedStageDto",[],xh,()=>[["Stage",A8()],["InputRowCount",v0],["SucceededRowCount",v0],["FailedRowCount",v0],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class Sh extends i0{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 Eh(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ActiveImportDto",[],Sh,()=>[["ImportId",v0],["User",Zi()],["Filename",te],["NumberOfRecords",v0],["CurrentStage",m1(Ch())],["CompletedStages",T1(T8())],["StartTime",Be("System.DateTime")]])}class Ah extends i0{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 Th(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.PastImportDto",[],Ah,()=>[["ImportId",v0],["User",Zi()],["Filename",te],["NumberOfRecords",v0],["CompletedStages",T1(T8())],["BenefitsRequests",T1(bh())],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class N8 extends i0{constructor(t,r){super(),this.ActiveImport=t,this.ImportHistory=r}}function Nh(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.AccountImportsDto",[],N8,()=>[["ActiveImport",m1(Eh())],["ImportHistory",T1(Th())]])}const Mh=new N8(void 0,oe());function kh(e){return e}const M8=E0();function $r(e){return Array.from(e)}function Ih(e){return Bn(e,"O")}function Rh(e){return Mf(e)}function Oh(){return E0()}function Dh(e){return Bn(e,"O")}function Xn(e,t){return JSON.stringify(t,void 0,we(e))}function $h(e){return t=>Nc(ae(e,t),()=>M8)}function U6(e,t,r,n){let i;const o=new ke(E0());let s;const a=re(n);s=a===""?e:u8(a,o,e);let l;if(Da(n)){const c=Q0(d=>{const f=h8(t,q2(d)),h=q1(s,t,r,d[1]);return m=>p=>{const v=Oc(m,d);return(!r||r&&v!=null)&&(p[f]=h(v)),p}},tr(n));l=d=>gr((f,h)=>h(d)(f),{},c)}else if(Oa(n))l=c=>{const d=Rc(c,n),f=d[0],h=d[1],m=h.length|0;if(m===0)return q2(f);{const p=m|0,v=$a(f),b=hr(new Array(p+1),0,p+1,null);Ve(b,0,q2(f));for(let _=1;_<=p;_++){const C=q1(s,t,r,f0(_-1,v)[1]);Ve(b,_,C(f0(_-1,h)))}return b}};else throw new Error((i=re(n),u2(ot(`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 q1(e,t,r,n){const i=re(n),o=c8(i,e);if(o==null)if(Ta(n)){const s=q1(e,t,r,fr(n));return a=>$r(F0(s,a))}else if(Fi(n))switch(re(ka(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=re(n);return _a(ot(`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(Ta(n))if(Fi(n)){const s=Q0(a=>W1(e,t,r,a),Ia(n));return a=>Dr(Dd((l,c)=>f0(l,s)(c),a))}else{const s=re(Na(n));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new Fu(()=>Dh(W1(e,t,r,f0(0,n1(n)))));return l=>l==null?N8: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=W1(e,t,r,f0(0,n1(n)));return l=>Dr(F0(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=f0(0,n1(n)),l=W1(e,t,r,f0(1,n1(n)));if(re(a)==="System.String"||re(a)==="System.Guid")return c=>pr((d,f)=>{const h=f;return d[h[0]]=l(h[1]),d},{},c);{let c;return c=W1(e,t,r,a),f=>Dr(F0(h=>{const m=h;return[c(m[0]),l(m[1])]},f))}}else return H6(e,t,r,n)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return Rh;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 Oh;case"System.DateTimeOffset":return kh;case"System.TimeSpan":return Ih;case"System.Guid":return Mh;case"System.Object":return s=>s;default:return H6(e,t,r,n)}else{const s=o;return a=>s.contents(a)}}function $h(e){return Wi({Compare:v2})}function Xn(e,t,r,n){const i=V0(t,new l1(0,[])),o=V0(n,!0);return W1($h(),i,o,e)}class Zi extends i0{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function M8(){return Z0("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],Zi,()=>[["RowId",v0],["Data",Be("Microsoft.FSharp.Collections.FSharpMap`2",[te,te])]])}let k8=class extends i0{constructor(t,r){super(),this.IncludesEmploymentInfo=t,this.Data=r}};function Fh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],k8,()=>[["IncludesEmploymentInfo",Q2],["Data",A1(M8())]])}class Ph extends i0{constructor(t,r,n){super(),this.Column=t,this.PropName=r,this.Message=n}}function Lh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],Ph,()=>[["Column",te],["PropName",te],["Message",te]])}class Bh extends i0{constructor(t,r){super(),this.RowId=t|0,this.FieldErrors=r}}function Vh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],Bh,()=>[["RowId",v0],["FieldErrors",A1(Lh())]])}class Hh extends i0{constructor(t,r){super(),this.Errors=t,this.DuplicateEmailCount=r|0}}function Uh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],Hh,()=>[["Errors",A1(Vh())],["DuplicateEmailCount",v0]])}class I8 extends i0{constructor(t,r,n){super(),this.IncludesEmploymentInfo=t,this.InviteNow=r,this.Data=n}}function jh(){return Z0("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],I8,()=>[["IncludesEmploymentInfo",Q2],["InviteNow",Q2],["Data",A1(M8())]])}class Wh extends i0{constructor(t){super(),this.ImportId=t|0}}function qh(){return Z0("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],Wh,()=>[["ImportId",v0]])}class Gh extends i0{constructor(t,r){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=r|0}}function zh(){return Z0("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],Gh,()=>[["DuplicateEmailCount",v0],["OtherFailuresCount",v0]])}class Yh extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function Zh(){return P1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],Yh,()=>[[["count",v0]],[["rowId",v0]],[["Item",zh()]]])}class Kh extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function Jh(){return P1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],Kh,()=>[[],[["Item",Zh()]]])}let R8=class extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}};function Xh(){return P1("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.OperationTypeDto",[],R8,()=>[[]])}class O8 extends i0{constructor(t){super(),this.Email=t}}function Qh(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.PropsBag",[],O8,()=>[["Email",h1(te)]])}class D8 extends i0{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function em(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpRowDataDto",[],D8,()=>[["RowId",v0],["Data",Qh()]])}class $8 extends i0{constructor(t,r){super(),this.OperationType=t,this.Data=r}}function tm(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpDataDto",[],$8,()=>[["OperationType",Xh()],["Data",A1(em())]])}class rm extends i0{constructor(t){super(),this.BatchOpId=t|0}}function nm(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpResponse.BatchOpCreatedDto",[],rm,()=>[["BatchOpId",v0]])}class im extends i0{constructor(t,r){super(),this.RowId=t|0,this.Reason=r}}function om(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.FailedRowInfoDto",[],im,()=>[["RowId",v0],["Reason",te]])}class sm extends i0{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRowCount=n|0,this.StartTime=i,this.LastUpdatedTime=o}}function am(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.InProgressStatusDto",[],sm,()=>[["NumberOfRecords",v0],["SucceededRowCount",v0],["FailedRowCount",v0],["StartTime",Be("System.DateTime")],["LastUpdatedTime",h1(Be("System.DateTime"))]])}class lm extends i0{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRows=n,this.StartTime=i,this.StopTime=o}}function um(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.DoneStatusDto",[],lm,()=>[["NumberOfRecords",v0],["SucceededRowCount",v0],["FailedRows",A1(om())],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class cm extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function dm(){return P1("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.BatchOpStatusDto",[],cm,()=>[[["Item",am()]],[["Item",um()]]])}class fm extends i0{constructor(t,r){super(),this.Name=t,this.Email=r}}function F8(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.UserDto",[],fm,()=>[["Name",te],["Email",h1(te)]])}class hm extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function P8(){return P1("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.OperationTypeDto",[],hm,()=>[[]])}class mm extends i0{constructor(t,r){super(),this.SucceededRowCount=t|0,this.FailedRowCount=r|0}}function L8(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.CompletionStatusDto",[],mm,()=>[["SucceededRowCount",v0],["FailedRowCount",v0]])}class pm extends i0{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.LastUpdatedTime=l}}function gm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.ActiveBatchOpDto",[],pm,()=>[["BatchOpId",v0],["User",F8()],["OperationType",P8()],["Filename",te],["NumberOfRecords",v0],["CompletionStatus",L8()],["StartTime",Be("System.DateTime")],["LastUpdatedTime",h1(Be("System.DateTime"))]])}class wm extends i0{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.StopTime=l}}function ym(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.PastBatchOpDto",[],wm,()=>[["BatchOpId",v0],["User",F8()],["OperationType",P8()],["Filename",te],["NumberOfRecords",v0],["CompletionStatus",L8()],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class B8 extends i0{constructor(t,r){super(),this.ActiveBatchOp=t,this.BatchOpHistory=r}}function vm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.AccountBatchOpsDto",[],B8,()=>[["ActiveBatchOp",h1(gm())],["BatchOpHistory",A1(ym())]])}const bm=new B8(void 0,oe());class Q1 extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function _m(){return P1("Import.Dto.Shared.WorkspaceApi.BatchOperation.TypeDto",[],Q1,()=>[[]])}class et extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FileUploaded","Canceled","Progressed","ValidationCompleted","ErrorReportDownloaded","Requested","Failed"]}}function Cm(){return P1("Import.Dto.Shared.WorkspaceApi.BatchOperation.AnalyticsEventDto",[],et,()=>[[["Item",Pe(["Success",Q2])]],[["Item",Pe(["From",te])]],[["Item",Pe(["From",te],["To",te])]],[["Item",Pe(["DuplicateCount",v0],["RowCount",v0],["SuccessCount",v0],["TotalFailedCount",v0])]],[],[["Item",Pe(["BatchOpId",v0])]],[["Item",Pe(["Reason",te])]]])}class ge extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested","UserImportFailed","BatchOperation"]}}function xm(){return P1("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],ge,()=>[[["Item",Pe(["Section",te])]],[["Item",Pe(["Success",Q2])]],[["Item",Pe(["From",te])]],[["Item",Pe(["From",te],["To",te])]],[["Item",Pe(["Field",te])]],[["Item",Pe(["RowCount",v0])]],[["Item",Pe(["DuplicateCount",v0],["RowCount",v0],["SuccessCount",v0],["TotalFailedCount",v0])]],[],[["Item",Pe(["ImportId",v0],["UsersInvited",Q2])]],[["Item",Pe(["Reason",te])]],[["Item",Pe(["Event",Cm()],["Type",_m()])]]])}class V8 extends i0{constructor(t,r){super(),this.SessionId=t,this.Data=r}}function Sm(){return Z0("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],V8,()=>[["SessionId",h1(te)],["Data",xm()]])}function Vt(e){return`${e}/import/workspace/v1.0`}function Ht(e){return V.Delay(()=>V.Bind(p6(e),t=>{const r=t;return r.statusCode===429||r.statusCode>=500?V.ReturnFrom(p6(e)):V.Return(r)}))}function Em(e,t){return V.Delay(()=>{let r;const n=Ht(Bt(new ut(0,[]),Lt(Vt(e)+"/accounts/current/imports")));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=b2(Y0(_2(Th(),new l1(1,[]))),s.responseText);return l=c.tag===1?new I(1,[c.fields[0]]):new I(0,[c.fields[0]]),V.Return(l)}case 404:return V.Return(new I(0,[void 0]));default:return V.Return(new I(1,["Failed to get account imports"]))}}})})}function Am(e,t){return V.Delay(()=>{let r,n;const i=Ht((r=Bt(new ut(1,[]),Lt(Vt(e)+"/accounts/current/import/validate")),Yn(new mr(1,[Jn(0,Xn(Fh(),new l1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=b2(Y0(_2(Uh(),new l1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to validate: ${a.responseText}`]))}})})}function Tm(e,t){return V.Delay(()=>{let r,n;const i=Ht((r=Bt(new ut(1,[]),Lt(Vt(e)+"/accounts/current/import/start")),Yn(new mr(1,[Jn(0,Xn(jh(),new l1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=b2(Y0(_2(qh(),new l1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to start import: ${a.responseText}`]))}})})}function Nm(e,t){return V.Delay(()=>{let r;const n=Ht(Bt(new ut(0,[]),Lt(Vt(e)+`/accounts/current/import/${t}/status`)));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=b2(Y0(_2(Jh(),new l1(1,[]))),s.responseText);return V.Return(a)}else return V.Return(new I(1,[`Failed to get import status: ${s.responseText}`]))}})})}function Mm(e,t){return V.Delay(()=>{let r,n;const i=Ht((r=Bt(new ut(1,[]),Lt(Vt(e)+"/accounts/current/batch-op/start")),Yn(new mr(1,[Jn(0,Xn(tm(),new l1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=b2(Y0(_2(nm(),new l1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to start batch operation: ${a.responseText}`]))}})})}function km(e,t){return V.Delay(()=>{let r;const n=Ht(Bt(new ut(0,[]),Lt(Vt(e)+`/accounts/current/batch-op/${t}/status`)));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=b2(Y0(_2(dm(),new l1(1,[]))),s.responseText);return V.Return(a)}else return V.Return(new I(1,[`Failed to get batch operation status: ${s.responseText}`]))}})})}function Im(e,t){return V.Delay(()=>{let r;const n=Ht(Bt(new ut(0,[]),Lt(Vt(e)+"/accounts/current/batch-ops")));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=b2(Y0(_2(vm(),new l1(1,[]))),s.responseText);return l=c.tag===1?new I(1,[c.fields[0]]):new I(0,[c.fields[0]]),V.Return(l)}case 404:return V.Return(new I(0,[void 0]));default:return V.Return(new I(1,["Failed to get account batch operations"]))}}})})}function Ki(e,t,r){return V.Delay(()=>{let n;const i=new V8(t,r);return V.Bind(Ht((n=Bt(new ut(1,[]),Lt(Vt(e)+"/analytics")),Yn(new mr(1,[Jn(0,Xn(Sm(),new l1(1,[]),void 0,void 0)(i))]),n))),o=>{const s=o;return s.statusCode===200||console.warn(we("Failed to send analytics: "),s.responseText),V.Zero()})})}const Ji=(e,t)=>{H0(()=>{const r=e();return()=>{r.Dispose()}},t)},Rm=e=>{F1(()=>{const t=e();return()=>{t.Dispose()}})};function Om(e){return{Dispose(){B1(t=>{D0(t)},Dt(e))}}}function Dm(e,t){return t}function $m(e,t,r,n){const i=w.memo(e,Y0(V0(ae(bt,r),E0())));return B1(o=>{e.displayName=o},Dt(t)),o=>{const s=Dm(n,o);return w.createElement(i,s)}}function Xi(e){return{Dispose(){e()}}}function i3(e){const t=w.useRef(!1);w.useEffect(()=>{t.current||(t.current=!0,e())},[])}function H8(e){const t=w.useRef(void 0),r=w.useRef(!1),n=w.useRef(!1);r.current&&(n.current=!0),Ji(()=>Om(r.current?void 0:(r.current=!0,t.current=we(e()),n.current?t.current:void 0)),[])}function U8(e){const t=w.useRef(e),r=w.useCallback(n=>t.current(n),[]);return Rm(n=>(t.current=e,Xi(()=>{}))),r}class Yr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function j8(e,t){let r;const n=cd();return r=w.useRef(n),H8(()=>Xi(()=>{dd(r.current)})),U8(i=>{fd(r.current)||Pt(V.Delay(()=>V.TryWith(V.Delay(()=>(t(new Yr(1,[])),V.Bind(e(i),o=>(t(new Yr(2,[o])),V.Zero())))),o=>(t(new Yr(3,[o])),V.Zero()))),r.current)})}function Fm(e,t,r,n){const i=Oe(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=Oe(s,t)|0;return o&&a<=0||!o&&a>=0?[s,n(s,e)]:void 0}}function Pm(e,t,r,n,i){const o=Fm(t,r,n,i);return T(()=>kd(o,e))}function Qi(e,t,r){return Pm(e,t,r,0,(n,i)=>n+i)}class U6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Header","Row"]}}function Lm(e,t){let r;const n=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return u("div",y(g([["className",xe(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",n[0],n[2],t])],(r=[u("div",{className:xe(" ",["w-full h-4 relative rounded",n[1]])})],["children",w.Children.toArray(Array.from(r))])])))}function j6(e){const t=ot(r=>Lm(e,r),g(["col-span-1","col-span-2","col-span-4"]));return u("div",{className:"grid grid-cols-7",children:w.Children.toArray(Array.from(t))})}function Bm(){let e,t;return u("div",y(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=Ft(o0(j6(new U6(0,[]))),ot(r=>j6(new U6(1,[])),q(Qi(1,1,5)))),["children",w.Children.toArray(Array.from(t))])])))}class Vm extends i0{constructor(t){super(),this.UserActivities=t}}class pn extends i0{constructor(t,r,n,i){super(),this.Timestamp=t,this.User=r,this.ActivityDescription1=n,this.ActivityDescription2=i}}class gn extends i0{constructor(t,r){super(),this.Name=t,this.Email=r}}function Hm(e,t){const r=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(r)>=0?!0:V0(ae(n=>n.toLocaleLowerCase().indexOf(r)>=0,e.Email),!1)}function eo(e,t,r){return e===1?`1 ${t}`:`${e} ${r}`}function z3(e){return eo(e,"user","users")}function Um(e){return Ft(g(Dt(ae(t=>new pn(t.StartTime,new gn(t.User.Name,t.User.Email),`Importing ${z3(t.NumberOfRecords)}`,void 0),e.ActiveImport))),ot(t=>{let r,n;return new pn(t.StartTime,new gn(t.User.Name,t.User.Email),V0(ae(i=>`Imported ${z3(i.SucceededRowCount)} via CSV`,W4(i=>X(i.Stage,new Z4(0,[])),t.CompletedStages)),`Imported ${z3(t.NumberOfRecords)} via CSV`),(r=V0(ae(i=>i.FailedRowCount,W4(i=>X(i.Stage,new Z4(0,[])),t.CompletedStages)),0)|0,r===0?void 0:(n=["user was skipped or could not be added due to an error.","users were skipped or could not be added due to errors."],eo(r,n[0],n[1]))))},e.ImportHistory))}function jm(e){return Ft(g(Dt(ae(t=>new pn(t.StartTime,new gn(t.User.Name,t.User.Email),`Removing ${z3(t.NumberOfRecords)}`,void 0),e.ActiveBatchOp))),ot(t=>{let r,n;return new pn(t.StartTime,new gn(t.User.Name,t.User.Email),`Removed ${z3(t.CompletionStatus.SucceededRowCount)} via CSV`,(r=t.CompletionStatus.FailedRowCount|0,r===0?void 0:(n=["user could not be removed due to an error.","users could not be removed due to errors."],eo(r,n[0],n[1]))))},e.BatchOpHistory))}function Wm(e,t){return new Vm(Ua(r=>r.Timestamp,Ft(Um(e),jm(t)),{Compare:yc}))}class qm{constructor(t,r,n){this.OnNext=t,this.OnError=r||(i=>{}),this.OnCompleted=n||(()=>{})}}function Gm(e,t){t.Subscribe(new qm(e))}class zm{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 Zm(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 Ym=class extends zm{};function Zm(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 Km{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 Ym}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 Jm(e,t){console.error(we(e),t)}function Xm(e,t){let r,n=new Km(e);n.AutoReset=!1,r=n,Gm(t,r.Elapsed()),r.Enabled=!0,r.Start()}function W6(e,t,r){tr(n=>{try{n(t)}catch(i){e(i)}},r)}function m0(){return oe()}function Qn(e){return Zc(e)}function wn(e){return o0(e)}function Qm(e,t,r,n){return o0(i=>{e(V.Delay(()=>V.Bind(md(t(r)),o=>{const s=o;return s.tag===0&&i(n(s.fields[0])),V.Zero()})))})}function ep(e){Xm(1,t=>{Pt(e)})}class K4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Asc","Desc"]}}function tp(e){return e.tag===1?new K4(0,[]):new K4(1,[])}function rp(e,t,r){return e.tag===1?Ua(t,r,{Compare:Oe}):td(t,r,{Compare:Oe})}class W8 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Requested","Finished"]}}function i1(e,t){return wn(r=>{e(t)})}function q8(e){return wn(t=>{e()})}class q6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Error","TableData"]}}class np extends i0{constructor(t,r){super(),this.Data=t,this.IsFiltered=r}}class yr extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class ip extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class op extends i0{constructor(t,r){super(),this.SortInfo=t,this.SortDirectionToggledHandler=r}}class G8 extends i0{constructor(t,r){super(),this.Column=t,this.Direction=r}}class sp extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class yn extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class ap extends i0{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 lp(e){return e.tag===1?z8(e.fields[0].Data):K8()}function up(e){return e.tag===1?p3(e.fields[0].Data):new yn(1,[])}function cp(e){const t=to(K8(),e);return new yr([X8(_e(e),20),t])}function vr(e){return e.fields[0][1]}function z8(e){return Z8(vr(e))}function dp(e){return ro(vr(e))}function p3(e){return e.fields[0][0]}function fp(e){const t=p3(e);if(t.tag===0){const r=t.fields[0],n=ja(r.FirstRowIndex,dp(e));return Wa(Sp(r),n)}else return oe()}function Y8(e,t){const r=to(z8(e),t);return new yr([_p(p3(e),_e(ro(r))),r])}function hp(e){return new yr([p3(e),gp(vr(e))])}function mp(e){return new yr([bp(p3(e)),vr(e)])}function pp(e){return new yr([vp(p3(e)),vr(e)])}function to(e,t){return new ip([e,rp(e.Direction,r=>r.Timestamp,t)])}function ro(e){return e.fields[0][1]}function Z8(e){return e.fields[0][0]}function gp(e){return to(wp(Z8(e)),ro(e))}function K8(){return new G8(new sp,new K4(1,[]))}function wp(e){return new G8(e.Column,tp(e.Direction))}function J8(e,t){return~~(e/t)+(e%t===0?0:1)}function e5(e,t,r){if(e<=0)return new yn(1,[]);{const n=a6(r,J8(e,t))|0,i=(n-1)*t|0;return new yn(0,[new ap(n,i,a6(i+t-1,e-1),e,t)])}}function X8(e,t){return e5(e,t,1)}function yp(e){if(e.tag===0){const t=e.fields[0];return J8(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function Q8(e){return e.tag===0?e.fields[0].CurrentPage<yp(e):!1}function el(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function vp(e){const t=el(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return e5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage-1)}default:return e}}function bp(e){const t=Q8(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return e5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage+1)}default:return e}}function _p(e,t){return t<=0?new yn(1,[]):e.tag===0?e5(t,20,e.fields[0].CurrentPage):X8(t,20)}function Cp(e){return e.FirstRowIndex+1}function xp(e){return e.LastRowIndex+1}function Sp(e){return e.LastRowIndex-e.FirstRowIndex+1}let kt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["LoadingError","ValidState"]}};class g3 extends i0{constructor(t,r,n){super(),this.ImportHistory=t,this.View=r,this.PaginatedList=n}}class no extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Default","Filtered"]}}function Ep(e){if(e.tag===1)return tl(e.fields[0])}function Ap(e){return e.tag===0}function Tp(e){return e.tag===1?new q6(1,[Dp(e.fields[0])]):new q6(0,[])}function tl(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Np(e){return tl(e)!=null}function Mp(e,t){return new kt(1,[new g3(e.ImportHistory,new no(1,[t]),Y8(e.PaginatedList,je(r=>Hm(r.User,t),e.ImportHistory.UserActivities)))])}function kp(e){return new kt(1,[new g3(e.ImportHistory,new no(0,[]),Y8(e.PaginatedList,e.ImportHistory.UserActivities))])}function Ip(e){return new kt(1,[new g3(e.ImportHistory,e.View,hp(e.PaginatedList))])}function Rp(e){return new kt(1,[new g3(e.ImportHistory,e.View,mp(e.PaginatedList))])}function Op(e){return new kt(1,[new g3(e.ImportHistory,e.View,pp(e.PaginatedList))])}function Dp(e){return new np(e.PaginatedList,Np(e))}let z2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function $p(e){let t;return[e.tag===1?new kt(0,[]):(t=e.fields[0],new kt(1,[new g3(t,new no(0,[]),cp(t.UserActivities))])),m0()]}function rl(e,t){return e.tag===1?t(e.fields[0]):[new kt(0,[]),m0()]}function Fp(e,t){return rl(e,r=>[t(r),m0()])}function Pp(e,t){const r=n=>Fp(t,n);switch(e.tag){case 1:return r(kp);case 2:return r(Ip);case 3:return r(Rp);case 4:return r(Op);default:{const n=e.fields[0];return rl(t,i=>Ri(n)?[t,o0(o=>{o(new z2(1,[]))})]:[Mp(i,n),m0()])}}}function Lp(){return oe()}function io(e){return xe("/",e)}function Bp(e,t){const r=new Error("Duplicate SubId");return e(["Duplicate SubId: "+io(t),r])}function nl(e,t,r){try{D0(r)}catch(n){e(["Error stopping subscription: "+io(t),n])}}function Vp(e,t,r,n){try{return[r,n(t)]}catch(i){e(["Error starting subscription: "+io(r),i]);return}}function Hp(e,t){tr(r=>{nl(e,r[0],r[1])},t)}function G6(e,t,r,n,i,o){return tr(s=>{Bp(e,s)},r),tr(s=>{nl(e,s[0],s[1])},n),Ft(i,ed(s=>Vp(e,t,s[0],s[1]),o))}function Up(){return[oe(),qf({Compare:Oe}),oe()]}function jp(e,t,r,n,i){return Y4(e,n)?[c1(e,r),n,i]:[r,Wf(e,n),c1([e,t],i)]}function Wp(e){return Gc((t,r)=>jp(t[0],t[1],r[0],r[1],r[2]),e,Up())}const qp=oe();function z6(e,t){const r=Gf(ot(s=>s[0],e),{Compare:Oe}),n=Wp(t),i=n[1],o=n[0];if(r.Equals(i))return[o,oe(),e,oe()];{const s=Qc(a=>Y4(a[0],i),e);return[o,s[1],s[0],je(a=>!Y4(a[0],r),n[2])]}}class Y2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Writable","ReadWritable"]}}class Gp{constructor(t){this.state=new Y2(0,[fr(new Array(s6(t,10)),0,s6(t,10),null),0])}}function zp(e){return new Gp(e)}function Y6(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 Y2(0,[i,r]):e.state=new Y2(1,[i,r,o]),we(f0(n,i))}else return}function Yp(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];Ve(o,n,t);const s=(n+1)%o.length|0;s===i?e.state=new Y2(1,[Zp(e,i,o),o.length,0]):e.state=new Y2(1,[o,s,i])}else{const n=r.fields[1]|0,i=r.fields[0];Ve(i,n,t);const o=(n+1)%i.length|0;e.state=new Y2(1,[i,o,n])}}function Zp(e,t,r){return Array.from(T(()=>F(Pd(t,r),T(()=>F(Ld(t,r),T(()=>h3(n=>x(E0()),Qi(0,1,r.length))))))))}class oo extends i0{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 dt(e,t,r){return new oo(e,t,n=>Lp(),r,Y0(n=>{const i=bt(r)(n);return o=>{i(o)}}),n=>{Jm(n[0],n[1])},[n=>!1,n=>{}])}function Kp(e,t){return new oo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Jp(e){return e.init}function Xp(e,t,r,n,i,o,s){const a=bt(e)(s.init),l=x5(t)(bt(s.update)),c=x5(r)(bt(s.view)),d=x5(n)(bt(s.setState));return new oo(a,Y0(l),bt(i)(s.subscribe),Y0(c),Y0(d),s.onError,o(s.termination))}function Qp(e,t,r){let n;const i=r.init(t),o=i[0],s=r.subscribe(o),a=r.termination,l=zp(10);let c=!1,d=o,f=qp,h=!1;const m=b=>{h||(Yp(l,b),c||(c=!0,v(),c=!1))},p=bt(e)(m),v=()=>{let b,_=Y6(l);for(;!h&&_!=null;){const C=U(_);if(a[0](C))Hp(r.onError,f),a[1](d),h=!0;else{const A=r.update(C,d),N=A[0],R=r.subscribe(N);r.setState(N,p),W6(D=>{r.onError([l2(it("Error handling the message: %A"))(C),D])},p,A[1]),d=N,f=(b=z6(f,R),G6(r.onError,p,b[0],b[1],b[2],b[3])),_=Y6(l)}}};c=!0,r.setState(o,p),W6(b=>{r.onError([l2(it("Error intitializing:")),b])},p,i[1]),f=(n=z6(f,s),G6(r.onError,p,n[0],n[1],n[2],n[3])),v(),c=!1}function eg(e,t){Qp(Y0(r=>r),e,t)}function tg(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 k5={exports:{}},I5={};const rg=tg(nn);/**
|
|
37
|
+
`))(a)}}else if(Na(n))if(Pi(n)){const s=Q0(a=>q1(e,t,r,a),Ra(n));return a=>$r($d((l,c)=>f0(l,s)(c),a))}else{const s=re(Ma(n));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new Pu(()=>$h(q1(e,t,r,f0(0,i1(n)))));return l=>l==null?M8: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=q1(e,t,r,f0(0,i1(n)));return l=>$r(F0(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=f0(0,i1(n)),l=q1(e,t,r,f0(1,i1(n)));if(re(a)==="System.String"||re(a)==="System.Guid")return c=>gr((d,f)=>{const h=f;return d[h[0]]=l(h[1]),d},{},c);{let c;return c=q1(e,t,r,a),f=>$r(F0(h=>{const m=h;return[c(m[0]),l(m[1])]},f))}}else return U6(e,t,r,n)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return Oh;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 Dh;case"System.DateTimeOffset":return Ih;case"System.TimeSpan":return Rh;case"System.Guid":return kh;case"System.Object":return s=>s;default:return U6(e,t,r,n)}else{const s=o;return a=>s.contents(a)}}function Fh(e){return qi({Compare:b2})}function Qn(e,t,r,n){const i=V0(t,new u1(0,[])),o=V0(n,!0);return q1(Fh(),i,o,e)}class Ki extends i0{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function k8(){return Z0("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],Ki,()=>[["RowId",v0],["Data",Be("Microsoft.FSharp.Collections.FSharpMap`2",[te,te])]])}let I8=class extends i0{constructor(t,r){super(),this.IncludesEmploymentInfo=t,this.Data=r}};function Ph(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],I8,()=>[["IncludesEmploymentInfo",e3],["Data",T1(k8())]])}class Lh extends i0{constructor(t,r,n){super(),this.Column=t,this.PropName=r,this.Message=n}}function Bh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],Lh,()=>[["Column",te],["PropName",te],["Message",te]])}class Vh extends i0{constructor(t,r){super(),this.RowId=t|0,this.FieldErrors=r}}function Hh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],Vh,()=>[["RowId",v0],["FieldErrors",T1(Bh())]])}class Uh extends i0{constructor(t,r){super(),this.Errors=t,this.DuplicateEmailCount=r|0}}function jh(){return Z0("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],Uh,()=>[["Errors",T1(Hh())],["DuplicateEmailCount",v0]])}class R8 extends i0{constructor(t,r,n){super(),this.IncludesEmploymentInfo=t,this.InviteNow=r,this.Data=n}}function Wh(){return Z0("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],R8,()=>[["IncludesEmploymentInfo",e3],["InviteNow",e3],["Data",T1(k8())]])}class qh extends i0{constructor(t){super(),this.ImportId=t|0}}function Gh(){return Z0("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],qh,()=>[["ImportId",v0]])}class zh extends i0{constructor(t,r){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=r|0}}function Yh(){return Z0("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],zh,()=>[["DuplicateEmailCount",v0],["OtherFailuresCount",v0]])}class Zh extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function Kh(){return L1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],Zh,()=>[[["count",v0]],[["rowId",v0]],[["Item",Yh()]]])}class Jh extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function Xh(){return L1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],Jh,()=>[[],[["Item",Kh()]]])}let O8=class extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}};function Qh(){return L1("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.OperationTypeDto",[],O8,()=>[[]])}class D8 extends i0{constructor(t){super(),this.Email=t}}function em(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.PropsBag",[],D8,()=>[["Email",m1(te)]])}class $8 extends i0{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function tm(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpRowDataDto",[],$8,()=>[["RowId",v0],["Data",em()]])}class F8 extends i0{constructor(t,r){super(),this.OperationType=t,this.Data=r}}function rm(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpDataDto",[],F8,()=>[["OperationType",Qh()],["Data",T1(tm())]])}class nm extends i0{constructor(t){super(),this.BatchOpId=t|0}}function im(){return Z0("Import.Dto.Shared.WorkspaceApi.StartBatchOpResponse.BatchOpCreatedDto",[],nm,()=>[["BatchOpId",v0]])}class om extends i0{constructor(t,r){super(),this.RowId=t|0,this.Reason=r}}function sm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.FailedRowInfoDto",[],om,()=>[["RowId",v0],["Reason",te]])}class am extends i0{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRowCount=n|0,this.StartTime=i,this.LastUpdatedTime=o}}function lm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.InProgressStatusDto",[],am,()=>[["NumberOfRecords",v0],["SucceededRowCount",v0],["FailedRowCount",v0],["StartTime",Be("System.DateTime")],["LastUpdatedTime",m1(Be("System.DateTime"))]])}class um extends i0{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRows=n,this.StartTime=i,this.StopTime=o}}function cm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.DoneStatusDto",[],um,()=>[["NumberOfRecords",v0],["SucceededRowCount",v0],["FailedRows",T1(sm())],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class dm extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function fm(){return L1("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.BatchOpStatusDto",[],dm,()=>[[["Item",lm()]],[["Item",cm()]]])}class hm extends i0{constructor(t,r){super(),this.Name=t,this.Email=r}}function P8(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.UserDto",[],hm,()=>[["Name",te],["Email",m1(te)]])}class mm extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function L8(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.OperationTypeDto",[],mm,()=>[[]])}class pm extends i0{constructor(t,r){super(),this.SucceededRowCount=t|0,this.FailedRowCount=r|0}}function B8(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.CompletionStatusDto",[],pm,()=>[["SucceededRowCount",v0],["FailedRowCount",v0]])}class gm extends i0{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.LastUpdatedTime=l}}function wm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.ActiveBatchOpDto",[],gm,()=>[["BatchOpId",v0],["User",P8()],["OperationType",L8()],["Filename",te],["NumberOfRecords",v0],["CompletionStatus",B8()],["StartTime",Be("System.DateTime")],["LastUpdatedTime",m1(Be("System.DateTime"))]])}class ym extends i0{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.StopTime=l}}function vm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.PastBatchOpDto",[],ym,()=>[["BatchOpId",v0],["User",P8()],["OperationType",L8()],["Filename",te],["NumberOfRecords",v0],["CompletionStatus",B8()],["StartTime",Be("System.DateTime")],["StopTime",Be("System.DateTime")]])}class V8 extends i0{constructor(t,r){super(),this.ActiveBatchOp=t,this.BatchOpHistory=r}}function bm(){return Z0("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.AccountBatchOpsDto",[],V8,()=>[["ActiveBatchOp",m1(wm())],["BatchOpHistory",T1(vm())]])}const _m=new V8(void 0,oe());class et extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function Cm(){return L1("Import.Dto.Shared.WorkspaceApi.BatchOperation.TypeDto",[],et,()=>[[]])}class tt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FileUploaded","Canceled","Progressed","ValidationCompleted","ErrorReportDownloaded","Requested","Failed"]}}function xm(){return L1("Import.Dto.Shared.WorkspaceApi.BatchOperation.AnalyticsEventDto",[],tt,()=>[[["Item",Pe(["Success",e3])]],[["Item",Pe(["From",te])]],[["Item",Pe(["From",te],["To",te])]],[["Item",Pe(["DuplicateCount",v0],["RowCount",v0],["SuccessCount",v0],["TotalFailedCount",v0])]],[],[["Item",Pe(["BatchOpId",v0])]],[["Item",Pe(["Reason",te])]]])}class ge extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested","UserImportFailed","BatchOperation"]}}function Sm(){return L1("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],ge,()=>[[["Item",Pe(["Section",te])]],[["Item",Pe(["Success",e3])]],[["Item",Pe(["From",te])]],[["Item",Pe(["From",te],["To",te])]],[["Item",Pe(["Field",te])]],[["Item",Pe(["RowCount",v0])]],[["Item",Pe(["DuplicateCount",v0],["RowCount",v0],["SuccessCount",v0],["TotalFailedCount",v0])]],[],[["Item",Pe(["ImportId",v0],["UsersInvited",e3])]],[["Item",Pe(["Reason",te])]],[["Item",Pe(["Event",xm()],["Type",Cm()])]]])}class H8 extends i0{constructor(t,r){super(),this.SessionId=t,this.Data=r}}function Em(){return Z0("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],H8,()=>[["SessionId",m1(te)],["Data",Sm()]])}function Ht(e){return`${e}/import/workspace/v1.0`}function Ut(e){return V.Delay(()=>V.Bind(g6(e),t=>{const r=t;return r.statusCode===429||r.statusCode>=500?V.ReturnFrom(g6(e)):V.Return(r)}))}function Am(e,t){return V.Delay(()=>{let r;const n=Ut(Vt(new ct(0,[]),Bt(Ht(e)+"/accounts/current/imports")));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=_2(Y0(C2(Nh(),new u1(1,[]))),s.responseText);return l=c.tag===1?new I(1,[c.fields[0]]):new I(0,[c.fields[0]]),V.Return(l)}case 404:return V.Return(new I(0,[void 0]));default:return V.Return(new I(1,["Failed to get account imports"]))}}})})}function Tm(e,t){return V.Delay(()=>{let r,n;const i=Ut((r=Vt(new ct(1,[]),Bt(Ht(e)+"/accounts/current/import/validate")),Zn(new pr(1,[Xn(0,Qn(Ph(),new u1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=_2(Y0(C2(jh(),new u1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to validate: ${a.responseText}`]))}})})}function Nm(e,t){return V.Delay(()=>{let r,n;const i=Ut((r=Vt(new ct(1,[]),Bt(Ht(e)+"/accounts/current/import/start")),Zn(new pr(1,[Xn(0,Qn(Wh(),new u1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=_2(Y0(C2(Gh(),new u1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to start import: ${a.responseText}`]))}})})}function Mm(e,t){return V.Delay(()=>{let r;const n=Ut(Vt(new ct(0,[]),Bt(Ht(e)+`/accounts/current/import/${t}/status`)));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=_2(Y0(C2(Xh(),new u1(1,[]))),s.responseText);return V.Return(a)}else return V.Return(new I(1,[`Failed to get import status: ${s.responseText}`]))}})})}function km(e,t){return V.Delay(()=>{let r,n;const i=Ut((r=Vt(new ct(1,[]),Bt(Ht(e)+"/accounts/current/batch-op/start")),Zn(new pr(1,[Xn(0,Qn(rm(),new u1(1,[]),void 0,void 0)(t))]),r)));return n=V.Bind(i,o=>V.Return(new I(0,[o]))),V.Bind(n,o=>{const s=o;if(s.tag===1)return V.Return(new I(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=_2(Y0(C2(im(),new u1(1,[]))),a.responseText);return V.Return(l)}else return V.Return(new I(1,[`Failed to start batch operation: ${a.responseText}`]))}})})}function Im(e,t){return V.Delay(()=>{let r;const n=Ut(Vt(new ct(0,[]),Bt(Ht(e)+`/accounts/current/batch-op/${t}/status`)));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=_2(Y0(C2(fm(),new u1(1,[]))),s.responseText);return V.Return(a)}else return V.Return(new I(1,[`Failed to get batch operation status: ${s.responseText}`]))}})})}function Rm(e,t){return V.Delay(()=>{let r;const n=Ut(Vt(new ct(0,[]),Bt(Ht(e)+"/accounts/current/batch-ops")));return r=V.Bind(n,i=>V.Return(new I(0,[i]))),V.Bind(r,i=>{const o=i;if(o.tag===1)return V.Return(new I(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=_2(Y0(C2(bm(),new u1(1,[]))),s.responseText);return l=c.tag===1?new I(1,[c.fields[0]]):new I(0,[c.fields[0]]),V.Return(l)}case 404:return V.Return(new I(0,[void 0]));default:return V.Return(new I(1,["Failed to get account batch operations"]))}}})})}function Ji(e,t,r){return V.Delay(()=>{let n;const i=new H8(t,r);return V.Bind(Ut((n=Vt(new ct(1,[]),Bt(Ht(e)+"/analytics")),Zn(new pr(1,[Xn(0,Qn(Em(),new u1(1,[]),void 0,void 0)(i))]),n))),o=>{const s=o;return s.statusCode===200||console.warn(we("Failed to send analytics: "),s.responseText),V.Zero()})})}const Xi=(e,t)=>{H0(()=>{const r=e();return()=>{r.Dispose()}},t)},Om=e=>{P1(()=>{const t=e();return()=>{t.Dispose()}})};function Dm(e){return{Dispose(){V1(t=>{D0(t)},$t(e))}}}function $m(e,t){return t}function Fm(e,t,r,n){const i=w.memo(e,Y0(V0(ae(_t,r),E0())));return V1(o=>{e.displayName=o},$t(t)),o=>{const s=$m(n,o);return w.createElement(i,s)}}function Qi(e){return{Dispose(){e()}}}function o3(e){const t=w.useRef(!1);w.useEffect(()=>{t.current||(t.current=!0,e())},[])}function U8(e){const t=w.useRef(void 0),r=w.useRef(!1),n=w.useRef(!1);r.current&&(n.current=!0),Xi(()=>Dm(r.current?void 0:(r.current=!0,t.current=we(e()),n.current?t.current:void 0)),[])}function j8(e){const t=w.useRef(e),r=w.useCallback(n=>t.current(n),[]);return Om(n=>(t.current=e,Qi(()=>{}))),r}class Zr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function W8(e,t){let r;const n=dd();return r=w.useRef(n),U8(()=>Qi(()=>{fd(r.current)})),j8(i=>{hd(r.current)||Lt(V.Delay(()=>V.TryWith(V.Delay(()=>(t(new Zr(1,[])),V.Bind(e(i),o=>(t(new Zr(2,[o])),V.Zero())))),o=>(t(new Zr(3,[o])),V.Zero()))),r.current)})}function Pm(e,t,r,n){const i=Oe(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=Oe(s,t)|0;return o&&a<=0||!o&&a>=0?[s,n(s,e)]:void 0}}function Lm(e,t,r,n,i){const o=Pm(t,r,n,i);return T(()=>Id(o,e))}function eo(e,t,r){return Lm(e,t,r,0,(n,i)=>n+i)}class j6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Header","Row"]}}function Bm(e,t){let r;const n=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return u("div",y(g([["className",xe(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",n[0],n[2],t])],(r=[u("div",{className:xe(" ",["w-full h-4 relative rounded",n[1]])})],["children",w.Children.toArray(Array.from(r))])])))}function W6(e){const t=st(r=>Bm(e,r),g(["col-span-1","col-span-2","col-span-4"]));return u("div",{className:"grid grid-cols-7",children:w.Children.toArray(Array.from(t))})}function Vm(){let e,t;return u("div",y(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=Pt(o0(W6(new j6(0,[]))),st(r=>W6(new j6(1,[])),q(eo(1,1,5)))),["children",w.Children.toArray(Array.from(t))])])))}class Hm extends i0{constructor(t){super(),this.UserActivities=t}}class gn extends i0{constructor(t,r,n,i){super(),this.Timestamp=t,this.User=r,this.ActivityDescription1=n,this.ActivityDescription2=i}}class wn extends i0{constructor(t,r){super(),this.Name=t,this.Email=r}}function Um(e,t){const r=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(r)>=0?!0:V0(ae(n=>n.toLocaleLowerCase().indexOf(r)>=0,e.Email),!1)}function to(e,t,r){return e===1?`1 ${t}`:`${e} ${r}`}function Y3(e){return to(e,"user","users")}function jm(e){return Pt(g($t(ae(t=>new gn(t.StartTime,new wn(t.User.Name,t.User.Email),`Importing ${Y3(t.NumberOfRecords)}`,void 0),e.ActiveImport))),st(t=>{let r,n;return new gn(t.StartTime,new wn(t.User.Name,t.User.Email),V0(ae(i=>`Imported ${Y3(i.SucceededRowCount)} via CSV`,q4(i=>X(i.Stage,new K4(0,[])),t.CompletedStages)),`Imported ${Y3(t.NumberOfRecords)} via CSV`),(r=V0(ae(i=>i.FailedRowCount,q4(i=>X(i.Stage,new K4(0,[])),t.CompletedStages)),0)|0,r===0?void 0:(n=["user was skipped or could not be added due to an error.","users were skipped or could not be added due to errors."],to(r,n[0],n[1]))))},e.ImportHistory))}function Wm(e){return Pt(g($t(ae(t=>new gn(t.StartTime,new wn(t.User.Name,t.User.Email),`Removing ${Y3(t.NumberOfRecords)}`,void 0),e.ActiveBatchOp))),st(t=>{let r,n;return new gn(t.StartTime,new wn(t.User.Name,t.User.Email),`Removed ${Y3(t.CompletionStatus.SucceededRowCount)} via CSV`,(r=t.CompletionStatus.FailedRowCount|0,r===0?void 0:(n=["user could not be removed due to an error.","users could not be removed due to errors."],to(r,n[0],n[1]))))},e.BatchOpHistory))}function qm(e,t){return new Hm(ja(r=>r.Timestamp,Pt(jm(e),Wm(t)),{Compare:vc}))}class Gm{constructor(t,r,n){this.OnNext=t,this.OnError=r||(i=>{}),this.OnCompleted=n||(()=>{})}}function zm(e,t){t.Subscribe(new Gm(e))}class Ym{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 Km(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 Zm=class extends Ym{};function Km(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 Jm{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 Zm}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 Xm(e,t){console.error(we(e),t)}function Qm(e,t){let r,n=new Jm(e);n.AutoReset=!1,r=n,zm(t,r.Elapsed()),r.Enabled=!0,r.Start()}function q6(e,t,r){rr(n=>{try{n(t)}catch(i){e(i)}},r)}function m0(){return oe()}function e5(e){return Kc(e)}function yn(e){return o0(e)}function ep(e,t,r,n){return o0(i=>{e(V.Delay(()=>V.Bind(pd(t(r)),o=>{const s=o;return s.tag===0&&i(n(s.fields[0])),V.Zero()})))})}function tp(e){Qm(1,t=>{Lt(e)})}class J4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Asc","Desc"]}}function rp(e){return e.tag===1?new J4(0,[]):new J4(1,[])}function np(e,t,r){return e.tag===1?ja(t,r,{Compare:Oe}):rd(t,r,{Compare:Oe})}class q8 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Requested","Finished"]}}function o1(e,t){return yn(r=>{e(t)})}function G8(e){return yn(t=>{e()})}class G6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Error","TableData"]}}class ip extends i0{constructor(t,r){super(),this.Data=t,this.IsFiltered=r}}class vr extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class op extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class sp extends i0{constructor(t,r){super(),this.SortInfo=t,this.SortDirectionToggledHandler=r}}class z8 extends i0{constructor(t,r){super(),this.Column=t,this.Direction=r}}class ap extends G{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class vn extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class lp extends i0{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 up(e){return e.tag===1?Y8(e.fields[0].Data):J8()}function cp(e){return e.tag===1?g3(e.fields[0].Data):new vn(1,[])}function dp(e){const t=ro(J8(),e);return new vr([Q8(_e(e),20),t])}function br(e){return e.fields[0][1]}function Y8(e){return K8(br(e))}function fp(e){return no(br(e))}function g3(e){return e.fields[0][0]}function hp(e){const t=g3(e);if(t.tag===0){const r=t.fields[0],n=Wa(r.FirstRowIndex,fp(e));return qa(Ep(r),n)}else return oe()}function Z8(e,t){const r=ro(Y8(e),t);return new vr([Cp(g3(e),_e(no(r))),r])}function mp(e){return new vr([g3(e),wp(br(e))])}function pp(e){return new vr([_p(g3(e)),br(e)])}function gp(e){return new vr([bp(g3(e)),br(e)])}function ro(e,t){return new op([e,np(e.Direction,r=>r.Timestamp,t)])}function no(e){return e.fields[0][1]}function K8(e){return e.fields[0][0]}function wp(e){return ro(yp(K8(e)),no(e))}function J8(){return new z8(new ap,new J4(1,[]))}function yp(e){return new z8(e.Column,rp(e.Direction))}function X8(e,t){return~~(e/t)+(e%t===0?0:1)}function t5(e,t,r){if(e<=0)return new vn(1,[]);{const n=l6(r,X8(e,t))|0,i=(n-1)*t|0;return new vn(0,[new lp(n,i,l6(i+t-1,e-1),e,t)])}}function Q8(e,t){return t5(e,t,1)}function vp(e){if(e.tag===0){const t=e.fields[0];return X8(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function el(e){return e.tag===0?e.fields[0].CurrentPage<vp(e):!1}function tl(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function bp(e){const t=tl(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return t5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage-1)}default:return e}}function _p(e){const t=el(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return t5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage+1)}default:return e}}function Cp(e,t){return t<=0?new vn(1,[]):e.tag===0?t5(t,20,e.fields[0].CurrentPage):Q8(t,20)}function xp(e){return e.FirstRowIndex+1}function Sp(e){return e.LastRowIndex+1}function Ep(e){return e.LastRowIndex-e.FirstRowIndex+1}let It=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["LoadingError","ValidState"]}};class w3 extends i0{constructor(t,r,n){super(),this.ImportHistory=t,this.View=r,this.PaginatedList=n}}class io extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Default","Filtered"]}}function Ap(e){if(e.tag===1)return rl(e.fields[0])}function Tp(e){return e.tag===0}function Np(e){return e.tag===1?new G6(1,[$p(e.fields[0])]):new G6(0,[])}function rl(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Mp(e){return rl(e)!=null}function kp(e,t){return new It(1,[new w3(e.ImportHistory,new io(1,[t]),Z8(e.PaginatedList,je(r=>Um(r.User,t),e.ImportHistory.UserActivities)))])}function Ip(e){return new It(1,[new w3(e.ImportHistory,new io(0,[]),Z8(e.PaginatedList,e.ImportHistory.UserActivities))])}function Rp(e){return new It(1,[new w3(e.ImportHistory,e.View,mp(e.PaginatedList))])}function Op(e){return new It(1,[new w3(e.ImportHistory,e.View,pp(e.PaginatedList))])}function Dp(e){return new It(1,[new w3(e.ImportHistory,e.View,gp(e.PaginatedList))])}function $p(e){return new ip(e.PaginatedList,Mp(e))}let Y2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function Fp(e){let t;return[e.tag===1?new It(0,[]):(t=e.fields[0],new It(1,[new w3(t,new io(0,[]),dp(t.UserActivities))])),m0()]}function nl(e,t){return e.tag===1?t(e.fields[0]):[new It(0,[]),m0()]}function Pp(e,t){return nl(e,r=>[t(r),m0()])}function Lp(e,t){const r=n=>Pp(t,n);switch(e.tag){case 1:return r(Ip);case 2:return r(Rp);case 3:return r(Op);case 4:return r(Dp);default:{const n=e.fields[0];return nl(t,i=>Oi(n)?[t,o0(o=>{o(new Y2(1,[]))})]:[kp(i,n),m0()])}}}function Bp(){return oe()}function oo(e){return xe("/",e)}function Vp(e,t){const r=new Error("Duplicate SubId");return e(["Duplicate SubId: "+oo(t),r])}function il(e,t,r){try{D0(r)}catch(n){e(["Error stopping subscription: "+oo(t),n])}}function Hp(e,t,r,n){try{return[r,n(t)]}catch(i){e(["Error starting subscription: "+oo(r),i]);return}}function Up(e,t){rr(r=>{il(e,r[0],r[1])},t)}function z6(e,t,r,n,i,o){return rr(s=>{Vp(e,s)},r),rr(s=>{il(e,s[0],s[1])},n),Pt(i,td(s=>Hp(e,t,s[0],s[1]),o))}function jp(){return[oe(),Gf({Compare:Oe}),oe()]}function Wp(e,t,r,n,i){return Z4(e,n)?[d1(e,r),n,i]:[r,qf(e,n),d1([e,t],i)]}function qp(e){return zc((t,r)=>Wp(t[0],t[1],r[0],r[1],r[2]),e,jp())}const Gp=oe();function Y6(e,t){const r=zf(st(s=>s[0],e),{Compare:Oe}),n=qp(t),i=n[1],o=n[0];if(r.Equals(i))return[o,oe(),e,oe()];{const s=ed(a=>Z4(a[0],i),e);return[o,s[1],s[0],je(a=>!Z4(a[0],r),n[2])]}}class Z2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Writable","ReadWritable"]}}class zp{constructor(t){this.state=new Z2(0,[hr(new Array(a6(t,10)),0,a6(t,10),null),0])}}function Yp(e){return new zp(e)}function Z6(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 Z2(0,[i,r]):e.state=new Z2(1,[i,r,o]),we(f0(n,i))}else return}function Zp(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];Ve(o,n,t);const s=(n+1)%o.length|0;s===i?e.state=new Z2(1,[Kp(e,i,o),o.length,0]):e.state=new Z2(1,[o,s,i])}else{const n=r.fields[1]|0,i=r.fields[0];Ve(i,n,t);const o=(n+1)%i.length|0;e.state=new Z2(1,[i,o,n])}}function Kp(e,t,r){return Array.from(T(()=>$(Ld(t,r),T(()=>$(Bd(t,r),T(()=>m3(n=>x(E0()),eo(0,1,r.length))))))))}class so extends i0{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 ft(e,t,r){return new so(e,t,n=>Bp(),r,Y0(n=>{const i=_t(r)(n);return o=>{i(o)}}),n=>{Xm(n[0],n[1])},[n=>!1,n=>{}])}function Jp(e,t){return new so(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Xp(e){return e.init}function Qp(e,t,r,n,i,o,s){const a=_t(e)(s.init),l=S5(t)(_t(s.update)),c=S5(r)(_t(s.view)),d=S5(n)(_t(s.setState));return new so(a,Y0(l),_t(i)(s.subscribe),Y0(c),Y0(d),s.onError,o(s.termination))}function eg(e,t,r){let n;const i=r.init(t),o=i[0],s=r.subscribe(o),a=r.termination,l=Yp(10);let c=!1,d=o,f=Gp,h=!1;const m=b=>{h||(Zp(l,b),c||(c=!0,v(),c=!1))},p=_t(e)(m),v=()=>{let b,_=Z6(l);for(;!h&&_!=null;){const C=U(_);if(a[0](C))Up(r.onError,f),a[1](d),h=!0;else{const A=r.update(C,d),N=A[0],R=r.subscribe(N);r.setState(N,p),q6(D=>{r.onError([u2(ot("Error handling the message: %A"))(C),D])},p,A[1]),d=N,f=(b=Y6(f,R),z6(r.onError,p,b[0],b[1],b[2],b[3])),_=Z6(l)}}};c=!0,r.setState(o,p),q6(b=>{r.onError([u2(ot("Error intitializing:")),b])},p,i[1]),f=(n=Y6(f,s),z6(r.onError,p,n[0],n[1],n[2],n[3])),v(),c=!1}function tg(e,t){eg(Y0(r=>r),e,t)}function rg(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 I5={exports:{}},R5={};const ng=rg(on);/**
|
|
38
38
|
* @license React
|
|
39
39
|
* use-sync-external-store-shim.production.min.js
|
|
40
40
|
*
|
|
@@ -42,40 +42,40 @@ 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 Z6;function ng(){if(Z6)return I5;Z6=1;var e=rg;function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,h){var m=h(),p=n({inst:{value:m,getSnapshot:h}}),v=p[0].inst,b=p[1];return o(function(){v.value=m,v.getSnapshot=h,l(v)&&b({inst:v})},[f,m,h]),i(function(){return l(v)&&b({inst:v}),f(function(){l(v)&&b({inst:v})})},[f]),s(m),m}function l(f){var h=f.getSnapshot;f=f.value;try{var m=h();return!r(f,m)}catch{return!0}}function c(f,h){return h()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:a;return I5.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,I5}var K6;function ig(){return K6||(K6=1,k5.exports=ng()),k5.exports}var og=ig();class sg{constructor(t,r,n){this.arg=r,this.dependencies=n;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=Jp(i)(this.arg);let l=a[0],c=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],c],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const h=B4(this.state[0]);return eg(this.arg,Kp((m,p)=>{const v=this.state;this.finalDispatch=p,this.state=[m,v[1],!0,o],m!==v[0]&&d()},Xp((m,p)=>{const v=this.cmd;return this.cmd=m0(),[this.state[0],v]},(m,p,v)=>m(p)(this.state[0]),H4(m=>m),H4(m=>m),Y0(m=>m),m=>[p=>m[0](p)?!0:h&&f,p=>{const v=p;B4(v)?D0(v):m[1](p)}],i))),()=>{f=!0}}}}function J6(e,t,r){return new sg(e,t,r)}function ag(e){return e.state}function lg(e){return e.subscribe}function ug(e,t,r){return X(e.arg,t)?!X(e.dependencies,r):!0}function ft(e,t,r){const n=C0(()=>J6(e,t,r)),i=n[0];ug(i,t,r)&&n[1](J6(e,t,r));const o=og.useSyncExternalStore(lg(i),()=>ag(i)),s=o[2],a=o[3],l=o[1];return H0(()=>{if(s&&a.length>0){let c=B0(a);try{for(;c["System.Collections.IEnumerator.MoveNext"]();){const d=c["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{D0(c)}Gu(a)}},[s,a]),[o[0],l]}function cg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function dg(){let e,t,r;return u("div",y(g([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[u("div",y(g([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Users"}),u("div",y(g([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(r=[cg(24,24)],["children",w.Children.toArray(Array.from(r))])]))),u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Past activities"})],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function fg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function vn(e,t){let r,n;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}class X6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UpdateFilter","ClearFilter"]}}function hg(e){let t,r;const n=V0(e.Value,"");return u("div",y(g([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[u("div",y(g([["className",xe(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(r=q(T(()=>{let i;return F(x(u("div",y(g([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[fg(20,20)],["children",w.Children.toArray(Array.from(i))])])))),T(()=>{let o;return F(x(u("input",y(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 X6(0,[s.target.value]))}],["value",n],["disabled",e.Disabled]])))),T(()=>{let s;return Ri(n)?x(E0()):x(u("div",y(g([["onClick",a=>{e.ActionHandler(new X6(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[vn(10,10)],["children",w.Children.toArray(Array.from(s))])]))))}))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function mg(e){let t,r;const n=e.height,i=e.width;return u("svg",y(g([["fill","none"],["height",n],["width",i],["viewBox","0 0 "+i+" "+n],["xmlns","http://www.w3.org/2000/svg"],(t=o0(u("path",y(g([(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",w.Children.toArray(Array.from(t))])])))}function pg(e){let t;const r=e.sortDirectionChangeHandler,n=e.sortDirection;return u("div",y(g([["className",xe(" ",q(T(()=>F(x("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),T(()=>n.tag===1?x("rotate-180"):x(""))))))],["onClick",i=>{r(void 0)}],(t=[u(mg,{width:10,height:7})],["children",w.Children.toArray(Array.from(t))])])))}function gg(e){const t=e.toggleSortDirection,r=e.props;return u(pg,{sortDirection:r.Direction,sortDirectionChangeHandler:t})}function wg(e){let t,r,n,i,o,s,a;const l=u(gg,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return u("div",y(g([["className","self-stretch border-b border-gray-200 inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-full h-11 min-w-[130px] max-w-[150px] px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex self-stretch justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",r]),(n=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),l],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(i="w-full h-11 max-w-[280px] min-w-60 px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",i]),(o=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([(s="self-stretch h-11 w-full px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 content-center overflow-hidden",["className",s]),(a=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(t))])])))}function bn(e){"@babel/helpers - typeof";return bn=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},bn(e)}function d2(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 Ge(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function V1(e){Ge(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||bn(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 yg(e,t){Ge(2,arguments);var r=V1(e).getTime(),n=d2(t);return new Date(r+n)}var vg={};function t5(){return vg}function bg(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 _g(e){return Ge(1,arguments),e instanceof Date||bn(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Cg(e){if(Ge(1,arguments),!_g(e)&&typeof e!="number")return!1;var t=V1(e);return!isNaN(Number(t))}function xg(e,t){Ge(2,arguments);var r=d2(t);return yg(e,-r)}var Sg=864e5;function Eg(e){Ge(1,arguments);var t=V1(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/Sg)+1}function _n(e){Ge(1,arguments);var t=1,r=V1(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 il(e){Ge(1,arguments);var t=V1(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=_n(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=_n(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Ag(e){Ge(1,arguments);var t=il(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=_n(r);return n}var Tg=6048e5;function Ng(e){Ge(1,arguments);var t=V1(e),r=_n(t).getTime()-Ag(t).getTime();return Math.round(r/Tg)+1}function Cn(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=t5(),f=d2((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||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=V1(e),m=h.getUTCDay(),p=(m<f?7:0)+m-f;return h.setUTCDate(h.getUTCDate()-p),h.setUTCHours(0,0,0,0),h}function ol(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=V1(e),f=d.getUTCFullYear(),h=t5(),m=d2((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:h.firstWeekContainsDate)!==null&&n!==void 0?n:(l=h.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,m),p.setUTCHours(0,0,0,0);var v=Cn(p,t),b=new Date(0);b.setUTCFullYear(f,0,m),b.setUTCHours(0,0,0,0);var _=Cn(b,t);return d.getTime()>=v.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function Mg(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=t5(),f=d2((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||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=ol(e,t),m=new Date(0);m.setUTCFullYear(h,0,f),m.setUTCHours(0,0,0,0);var p=Cn(m,t);return p}var kg=6048e5;function Ig(e,t){Ge(1,arguments);var r=V1(e),n=Cn(r,t).getTime()-Mg(r,t).getTime();return Math.round(n/kg)+1}function q0(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var pt={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return q0(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):q0(n+1,2)},d:function(t,r){return q0(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 q0(t.getUTCHours()%12||12,r.length)},H:function(t,r){return q0(t.getUTCHours(),r.length)},m:function(t,r){return q0(t.getUTCMinutes(),r.length)},s:function(t,r){return q0(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 q0(o,r.length)}},R2={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Rg={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 pt.y(t,r)},Y:function(t,r,n,i){var o=ol(t,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return q0(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):q0(s,r.length)},R:function(t,r){var n=il(t);return q0(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return q0(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 q0(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 q0(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 pt.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 q0(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=Ig(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):q0(o,r.length)},I:function(t,r,n){var i=Ng(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):q0(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):pt.d(t,r)},D:function(t,r,n){var i=Eg(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):q0(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 q0(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 q0(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 q0(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=R2.noon:i===0?o=R2.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=R2.evening:i>=12?o=R2.afternoon:i>=4?o=R2.morning:o=R2.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 pt.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):pt.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):q0(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):q0(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):pt.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):pt.s(t,r)},S:function(t,r){return pt.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 es(s);case"XXXX":case"XX":return Kt(s);case"XXXXX":case"XXX":default:return Kt(s,":")}},x:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"x":return es(s);case"xxxx":case"xx":return Kt(s);case"xxxxx":case"xxx":default:return Kt(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"+Q6(s,":");case"OOOO":default:return"GMT"+Kt(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"+Q6(s,":");case"zzzz":default:return"GMT"+Kt(s,":")}},t:function(t,r,n,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return q0(s,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,s=o.getTime();return q0(s,r.length)}};function Q6(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+q0(o,2)}function es(e,t){if(e%60===0){var r=e>0?"-":"+";return r+q0(Math.abs(e)/60,2)}return Kt(e,t)}function Kt(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=q0(Math.floor(i/60),2),s=q0(i%60,2);return n+o+r+s}var ts=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"})}},sl=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"})}},Og=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return ts(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}}",ts(i,r)).replace("{{time}}",sl(o,r))},Dg={p:sl,P:Og},$g=["D","DD"],Fg=["YY","YYYY"];function Pg(e){return $g.indexOf(e)!==-1}function Lg(e){return Fg.indexOf(e)!==-1}function rs(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 Bg={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"}},Vg=function(t,r,n){var i,o=Bg[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 R5(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 Hg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ug={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},jg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wg={date:R5({formats:Hg,defaultWidth:"full"}),time:R5({formats:Ug,defaultWidth:"full"}),dateTime:R5({formats:jg,defaultWidth:"full"})},qg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Gg=function(t,r,n,i){return qg[t]};function k3(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 c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var zg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Yg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Zg={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"]},Kg={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"]},Jg={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"}},Xg={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"}},Qg=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"},ew={ordinalNumber:Qg,era:k3({values:zg,defaultWidth:"wide"}),quarter:k3({values:Yg,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:k3({values:Zg,defaultWidth:"wide"}),day:k3({values:Kg,defaultWidth:"wide"}),dayPeriod:k3({values:Jg,defaultWidth:"wide",formattingValues:Xg,defaultFormattingWidth:"wide"})};function I3(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)?rw(a,function(f){return f.test(s)}):tw(a,function(f){return f.test(s)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(s.length);return{value:c,rest:d}}}function tw(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function rw(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function nw(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 iw=/^(\d+)(th|st|nd|rd)?/i,ow=/\d+/i,sw={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},aw={any:[/^b/i,/^(a|c)/i]},lw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},uw={any:[/1/i,/2/i,/3/i,/4/i]},cw={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},dw={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]},fw={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},hw={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]},mw={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},pw={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}},gw={ordinalNumber:nw({matchPattern:iw,parsePattern:ow,valueCallback:function(t){return parseInt(t,10)}}),era:I3({matchPatterns:sw,defaultMatchWidth:"wide",parsePatterns:aw,defaultParseWidth:"any"}),quarter:I3({matchPatterns:lw,defaultMatchWidth:"wide",parsePatterns:uw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:I3({matchPatterns:cw,defaultMatchWidth:"wide",parsePatterns:dw,defaultParseWidth:"any"}),day:I3({matchPatterns:fw,defaultMatchWidth:"wide",parsePatterns:hw,defaultParseWidth:"any"}),dayPeriod:I3({matchPatterns:mw,defaultMatchWidth:"any",parsePatterns:pw,defaultParseWidth:"any"})},ww={code:"en-US",formatDistance:Vg,formatLong:Wg,formatRelative:Gg,localize:ew,match:gw,options:{weekStartsOn:0,firstWeekContainsDate:1}},yw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,bw=/^'([^]*?)'?$/,_w=/''/g,Cw=/[a-zA-Z]/;function al(e,t,r){var n,i,o,s,a,l,c,d,f,h,m,p,v,b;Ge(2,arguments);var _=String(t),C=t5(),A=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:ww,N=d2((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:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=d2((f=(h=(m=(p=void 0)!==null&&p!==void 0?p:void 0)!==null&&m!==void 0?m:C.weekStartsOn)!==null&&h!==void 0?h:(v=C.locale)===null||v===void 0||(b=v.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&f!==void 0?f:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!A.localize)throw new RangeError("locale must contain localize property");if(!A.formatLong)throw new RangeError("locale must contain formatLong property");var D=V1(e);if(!Cg(D))throw new RangeError("Invalid time value");var P=bg(D),E=xg(D,P),S={firstWeekContainsDate:N,weekStartsOn:R,locale:A,_originalDate:D},k=_.match(vw).map(function(M){var O=M[0];if(O==="p"||O==="P"){var L=Dg[O];return L(M,A.formatLong)}return M}).join("").match(yw).map(function(M){if(M==="''")return"'";var O=M[0];if(O==="'")return xw(M);var L=Rg[O];if(L)return Lg(M)&&rs(M,t,String(e)),Pg(M)&&rs(M,t,String(e)),L(E,M,A.localize,S);if(O.match(Cw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return M}).join("");return k}function xw(e){var t=e.match(bw);return t?t[1].replace(_w,"'"):e}function Sw(e){return al(e,"d MMM, yyyy")}function Ew(e){return al(e,"h:mm a")}function Aw(e){let t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","self-stretch inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-[150px] min-w-[130px] max-w-[150px] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 bg-white px-6 py-4",["className",r]),(n=[u("div",y(g([["className","inline-flex flex-col justify-center items-start"],(i=[u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(o=[u("div",{className:"justify-start text-gray-900 text-sm font-medium leading-tight",children:Sw(e.Timestamp)})],["children",w.Children.toArray(Array.from(o))])]))),u("div",{className:"self-stretch justify-start text-gray-600 text-sm font-normal leading-tight",children:Ew(e.Timestamp)})],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(s="flex max-w-[280px] min-w-60 flex-[1_0_0] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 px-6 py-4",["className",s]),(a=[u("div",y(g([["className","flex-col w-full justify-center items-start"],(l=q(T(()=>{let f;return F(x(u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(f=[u("div",{className:"justify-start text-gray-900 text-sm font-medium leading-tight",children:e.User.Name})],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{const h=e.User.Email;return h==null?x(E0()):x(u("div",{className:"self-stretch justify-start text-gray-600 text-sm font-normal leading-tight truncate",children:h}))}))})),["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([(c="flex min-w-60 flex-[1_0_0] flex-col items-start justify-center gap-1 self-stretch border-b border-gray-200 bg-white px-6 py-3.5",["className",c]),(d=q(T(()=>F(x(u("div",{className:"justify-start text-gray-600 text-sm font-normal leading-tight",children:e.ActivityDescription1})),T(()=>{const f=e.ActivityDescription2;return f==null?x(E0()):x(u("div",{className:"self-stretch justify-start text-red-600 text-xs font-normal leading-none",children:f}))})))),["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Tw(e){const t=ot(r=>u(Aw,r),e.Data);return u("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:w.Children.toArray(Array.from(t))})}function Nw(e){let t,r,n,i,o;const s=e.height,a=e.width;return u("svg",y(g([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=g([u("path",y(g([(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)"]]))),u("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",y(g([(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=o0(u("linearGradient",y(g([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=g([u("stop",{offset:0,stopColor:"#FFD84D"}),u("stop",{offset:1,stopColor:"#FF876F"})]),["children",w.Children.toArray(Array.from(o))])])))),u("defs",{children:w.Children.toArray(Array.from(i))}))]),["children",w.Children.toArray(Array.from(t))])])))}function Mw(){let e;return u("div",y(g([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[u(Nw,{width:120,height:120})],["children",w.Children.toArray(Array.from(e))])])))}function kw(){let e,t,r,n;return u("div",y(g([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[u(Mw,null),u("div",y(g([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[u("div",y(g([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(r=[u("div",y(g([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(n=[u("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),u("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",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Iw(e){return{Data:fp(e.Data)}}function Rw(e){let t;const r=e.props,n=r.tag===1?u(Tw,Iw(r.fields[0])):u(kw,null);return u("div",y(g([["className","relative h-full grow w-full"],(t=[u("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:w.Children.toArray([n])})],["children",w.Children.toArray(Array.from(t))])])))}class ns extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Prev","Next"]}}function Ow(e){let t,r;const n=e.pageChangedHandler,i=e.pagingInfo;return u("div",y(g([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[u("div",{className:"self-stretch h-px bg-gray-200"}),u("div",y(g([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(r=q(T(()=>{let o,s,a;return F((o=i,o.tag===1?x(u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],x((a=g([u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:f1(Cp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:f1(xp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:f1(s.TotalRecordsNumber)}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(a))}))))),T(()=>{let l,c,d;return x(u("div",y(g([["className","justify-start items-start gap-3 flex"],(l=[u("button",y(g([["type","button"],(c="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",c]),["children","Previous"],["onClick",f=>{n(new ns(0,[]))}],["disabled",!el(i)]]))),u("button",y(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=>{n(new ns(1,[]))}],["disabled",!Q8(i)]])))],["children",w.Children.toArray(Array.from(l))])]))))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class J4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function Dw(e,t){e(t.tag===0?new J4(2,[]):new J4(1,[]))}function $w(e){let t,r;const n=e.actionHandler,i=e.props;return u("div",y(g([(t="min-w-[600px] self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(r=[u(wg,new op(lp(i),()=>{n(new J4(0,[]))})),u(Rw,{props:i}),u(Ow,{pagingInfo:up(i),pageChangedHandler:o=>{Dw(n,o)}})],["children",w.Children.toArray(Array.from(r))])])))}function Fw(e,t){t.tag===0?e(new z2(0,[t.fields[0]])):e(new z2(1,[]))}function Pw(e,t){switch(t.tag){case 2:{e(new z2(4,[]));break}case 0:{e(new z2(2,[]));break}default:e(new z2(3,[]))}}function is(e){let t,r;const n=e.importHistory;let i;const o=$p(n);i=ft(()=>dt(()=>o,Pp,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const c=Ep(s);return l={ActionHandler:d=>{Fw(a,d)},Disabled:Ap(s),Value:K1(c)},u("div",y(g([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[u(dg,null),u("div",y(g([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(r=[u(hg,l),u($w,{props:Tp(s),actionHandler:d=>{Pw(a,d)}})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Lw(e,t){return V.Delay(()=>{const r=Em(e);return V.Bind(r,n=>{const i=n;if(i.tag===1)return V.Return(new I(1,[i.fields[0]]));{const o=Im(e);return V.Bind(o,s=>{let a;const l=s;return a=l.tag===1?new I(1,[l.fields[0]]):new I(0,[[V0(i.fields[0],Nh),V0(l.fields[0],bm)]]),V.Return(a)})}})})}function Bw(e){return t=>{Pt(Ki(e,void 0,t))}}function Vw(e){let t;const r=w.useState(new Yr(0,[]));i3((t=[()=>Lw(e.backendUrl),r[1]],j8(t[0],t[1]))),i3(()=>{Bw(e.backendUrl)(new ge(0,[{Section:"user past activities"}]))});const n=q(T(()=>F(x(u("style",{children:[Pn]})),T(()=>{let i;const o=r[0];let s,a;switch(o.tag){case 3:{s=1;break}case 2:{o.fields[0].tag===0?(s=2,a=o.fields[0].fields[0]):s=1;break}default:s=0}switch(s){case 0:return x(u(Bm,null));case 1:return x(u(is,{importHistory:new I(1,[void 0])}));default:return x(u(is,{importHistory:new I(0,[(i=a,Wm(i[0],i[1]))])}))}}))));return u(X0,{},...n)}function Hw(){On(e=>u(Vw,e),"apollo-import-workspace-past-history")}function X4(e,t){if(t.startsWith(e))return t}function os(e,t){if(t.endsWith(e))return t}function Uw(e){return t=>{let r,n;return r=X4("/",t),r!=null?(n=r,n):"/"+t}}function jw(e,t){return Uw()(xe("/",ot(r=>r.indexOf("?")>=0||r.startsWith("#")||r.startsWith("/")?r:encodeURIComponent(r),e)))}function r5(e,t,r){history.pushState(void 0,"",jw(e));const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)}function Ww(e,t){return Kc(r=>{if(Ot(r))return oe();{const n=Oi(r,"#");if(n==="?")return oe();if(X4("?",n)!=null)return o0(n);{const i=n.split("?");if(!Nt((o,s)=>o===s,i,E0())&&i.length===1){const o=f0(0,i);return o0(decodeURIComponent(o))}else if(!Nt((o,s)=>o===s,i,E0())&&i.length===2)if(f0(1,i)===""){const o=f0(0,i);return o0(decodeURIComponent(o))}else{const o=f0(0,i),s=f0(1,i);return g([decodeURIComponent(o),"?"+s])}else return oe()}}},g(xa(X4("#",e)!=null?Ac(e,1,e.length-1):t===1&&(os("#",e)!=null||os("#/",e)!=null)?"":e,["/"],void 0,0)))}function qw(e,t,r){return t(Ww(e===2?window.location.pathname+window.location.search:window.location.hash,e))}$m(e=>{const t=U8(n=>{const i=V0(e.onUrlChanged,o=>{});qw(V0(e.hashMode,1),i)});H8(()=>(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),Xi(()=>{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)}))),i3(()=>{const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)});const r=e.application;return r??E0()},void 0,void 0,void 0);class Gw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class zw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class Yw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class n5 extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function Zw(e){return e.fields[0].length}function i5(e,t){return $t(r=>!Ot(f0(t.fields[0],r.fields[0])),e.fields[0])!=null}class ll extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class Kw extends i0{constructor(t,r,n,i){super(),this.Name=t,this.HeaderRow=r,this.DataRows=n,this.SizeInBytes=i|0}}class $r extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","FileSelected","FailedParsing"]}}class N1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class ul{constructor(t,r){const n=new ke(E0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=B0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();O5(n.contents,o[0],o[1])}}finally{D0(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}GetEnumerator(){return B0(zn(this.hashMap.values()))}[Symbol.iterator](){return c3(B0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){O5(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){ss(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=Zr(this,t[0]);let i;switch(n!=null&&X(U(n)[1],t[1])?(i=0,U(n)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Xa((i,o)=>{Ve(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return as(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const r=this,n=Zr(r,t[0]);return n!=null?(X(U(n)[1],t[1])&&D5(r,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,r){O5(this,t,r)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return cs(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return ls(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,r){us(this,t,r)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return w1(T(()=>F0(r=>r[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return D5(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,r){const i=Zr(this,t);if(i!=null){const o=U(i);return r.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return w1(T(()=>F0(r=>r[1],t)))}get size(){return as(this)|0}clear(){ss(this)}delete(t){return D5(this,t)}entries(){return F0(r=>[r[0],r[1]],this)}get(t){return ls(this,t)}has(t){return cs(this,t)}keys(){return F0(r=>r[0],this)}set(t,r){const n=this;return us(n,t,r),n}values(){return F0(r=>r[1],this)}forEach(t,r){const n=this;B1(i=>{t(i[1],i[0],n)},n)}}function br(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=E0();return n=[Zn(e.hashMap,r,new ke(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,r,-1]}function Zr(e,t){const r=br(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return st(e.hashMap,r[1])[r[2]];default:return}}function ss(e){e.hashMap.clear()}function as(e){let t=0,r=B0(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{D0(r)}return t|0}function ls(e,t){const r=Zr(e,t);if(r!=null)return U(r)[1];throw new Error("The item was not found in collection")}function us(e,t,r){const n=br(e,t);n[0]?n[2]>-1?st(e.hashMap,n[1])[n[2]]=[t,r]:st(e.hashMap,n[1]).push([t,r]):e.hashMap.set(n[1],[[t,r]])}function O5(e,t,r){const n=br(e,t);if(n[0]){if(n[2]>-1)throw new Error(Ii("An item with the same key has already been added. Key: {0}",t));st(e.hashMap,n[1]).push([t,r])}else e.hashMap.set(n[1],[[t,r]])}function cs(e,t){const r=br(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function D5(e,t){const r=br(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return st(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}function Jw(e,t){return T(()=>{const r=new m8([],t);return At(n=>d8(n,r),e)})}function Xw(e,t,r){return T(()=>{const n=new m8(e,r);return At(i=>d8(i,n),t)})}function Qw(e,t,r){return T(()=>{const n=new ul([],r),i=[],o=B0(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=e(o["System.Collections.Generic.IEnumerator`1.get_Current"]());let a,l=0;a=[Zn(n,s,new ke(()=>l,c=>{l=c|0})),l],a[0]?n.set(s,a[1]+1):(n.set(s,1),i.push(s))}}finally{D0(o)}return F0(s=>[s,st(n,s)],i)})}function ey(e,t,r){return T(()=>{const n=new ul([],r),i=[],o=B0(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,c=E0();l=[Zn(n,a,new ke(()=>c,d=>{c=d})),c],l[0]?l[1].push(s):(lf(n,a,[s]),i.push(a))}}finally{D0(o)}return F0(s=>[s,st(n,s)],i)})}function cl(e,t){return w1(Jw(e,t))}function dl(e,t,r){return w1(Xw(e,t,r))}function ty(e,t,r){return w1(F0(n=>[n[0],w1(n[1])],ey(e,t,r)))}class ry extends i0{constructor(t,r,n,i){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i}}class ny extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class Y3 extends i0{constructor(t,r,n,i,o){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o}}new Y3(void 0,void 0,void 0,void 0,void 0);function ds(e,t){return new Y3(e.FirstName,e.LastName,e.Email,e.MobilePhone,ae(r=>r.fields[0],t))}class iy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class be extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function fl(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function oy(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function sy(e){switch(e){case"FullTime":return new be(0,[]);case"PartTime":return new be(1,[]);case"Casual":return new be(2,[]);case"LabourHire":return new be(3,[]);default:return}}class ay extends i0{constructor(t,r){super(),this.Head=t,this.Tail=r}}function ly(e){return q2(Q0(t=>[t[1].fields[0],oy(t[0])],Pa([e.Head],e.Tail)),{Compare:v2})}class uy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class Yt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class M1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}function cy(e,t){let r;return new uy(Q0(n=>new iy(n),Uc(n=>n,cl((r=Q0(n=>f0(t.fields[0].fields[0],n.fields[0]),e.fields[0]),r.filter(n=>!Ot(n))),{Equals:(n,i)=>n===i,GetHashCode:s1}),{Compare:v2})))}class Fe extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InviteNow","InviteLater"]}}class Fr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Draft","Valid"]}}class r0 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function rr(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 t2(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function hl(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 dy(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let gt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear","Preview","ClosePreview"]}};class R3 extends i0{constructor(t,r){super(),this.ColumnIndex=t,this.IncomingFields=r}}class fy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class z1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}let Jt=class extends i0{constructor(t,r,n,i,o,s,a,l,c,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=c|0,this.Status=d,this.IsPrefilled=f}};function hy(e,t,r){const n=r.tag===1?["lastname","surname","familyname"]:r.tag===2?["email"]:r.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:r.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return Vn(i=>{const o=i[0];if(i5(t,o))return o},$t(i=>R1(cr(i[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(o,s)=>o===s,GetHashCode:s1}),e))}function my(e,t){return new fy(Q0(r=>{const n=r[0];return[n,r[1],R1(n,t,{Equals:X,GetHashCode:sn})?new z1(1,[]):new z1(0,[])]},e))}function ml(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 L2(e,t){return Ye(r=>r,Q0(r=>La(e.fields[0],r.fields[0]),t.fields[0].slice(void 0,10)))}function so(e,t,r,n,i,o,s,a){let l,c,d;const f=v=>my(e,v);let h;h=Ye(v=>v,[n,i,o,s,a]).length;const p=n!=null?i!=null?o!=null?(l=o,c=n,d=i,new Fr(1,[new ry(c,d,l,s),ae(v=>new ny(v),a)])):new Fr(0,[new Y3(n,i,o,s,a)]):new Fr(0,[new Y3(n,i,o,s,a)]):new Fr(0,[new Y3(n,i,o,s,a)]);return new Jt(new R3(n,f(Ye(v=>v,[i,o,s,a]))),new R3(i,f(Ye(v=>v,[n,o,s,a]))),new R3(o,f(Ye(v=>v,[n,i,s,a]))),new R3(s,f(Ye(v=>v,[n,i,o,a]))),new R3(a,f(Ye(v=>v,[n,i,o,s]))),t,e.length,h,e.length-h,p,r)}function O3(e,t,r,n,i){let o,s,a;const l=[n,i];return a=ml(r,l[0],l[1]),so(e,(o=r.Preview,o!=null&&X(o[0],n)?(s=o[0],[s,L2(i,t)]):r.Preview),r.IsPrefilled,a[0],a[1],a[2],a[3],a[4])}function D3(e,t,r){let n,i;const o=[r,void 0];return i=ml(t,o[0],o[1]),so(e,(n=t.Preview,n!=null&&X(n[0],r)?(n[0],void 0):t.Preview),t.IsPrefilled,i[0],i[1],i[2],i[3],i[4])}function pl(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 py=e=>t=>pl(e,t);function gy(e,t){const r=pl(e,t),n=e.Preview;let i;switch(r?n==null?i=2:X(n[0],t)?(i=1,n[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function wy(e,t,r){let n,i,o,s,a,l,c,d,f,h,m,p;const v=b=>hy(e,t,b);return[(n=r==null?(i=v(new r0(0,[])),o=v(new r0(1,[])),s=v(new r0(2,[])),a=v(new r0(3,[])),l=v(new r0(4,[])),c=Ye(b=>b,[i,o,s,a,l]),d=b=>{let _,C;switch(b!=null?(_=b,c.filter(A=>X(A,_)).length>1?C=0:C=1):C=1,C){case 0:return;default:return b}},f=[d(i),d(o),d(s),d(a),d(l)],[(h=Ye(b=>b,[f[0],f[1],f[2],f[3],f[4]]),h.length!==0),f]):(m=r,[!1,[m.FirstName,m.LastName,m.Email,m.MobilePhone,m.EmploymentBasis]]),p=n[1],so(e,void 0,n[0],p[0],p[1],p[2],p[3],p[4])),m0()]}function yy(e,t,r,n,i){let o,s,a,l,c,d,f,h,m,p;const v=M=>i1(e,new ge(4,[{Field:dy(M)}]));let b,_,C,A,N,R,D,P,E,S,k;switch(n.tag){case 1:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?b=6:b=16;break}case 2:{i.Email.ColumnIndex!=null?b=7:b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?b=8:b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?b=9:b=16;break}default:i.FirstName.ColumnIndex!=null?b=5:b=16}break}case 2:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(b=11,P=i.LastName.ColumnIndex):b=16;break}case 2:{i.Email.ColumnIndex!=null?(b=12,E=i.Email.ColumnIndex):b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(b=13,S=i.MobilePhone.ColumnIndex):b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(b=14,k=i.EmploymentBasis.ColumnIndex):b=16;break}default:i.FirstName.ColumnIndex!=null?(b=10,D=i.FirstName.ColumnIndex):b=16}break}case 3:{b=15;break}default:switch(n.fields[0].tag){case 1:{d=n.fields[1],!X(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(M=>X(d,M[0])?X(M[2],new z1(0,[])):!1)?(b=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],C=n.fields[1]):b=16;break}case 2:{f=n.fields[1],!X(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(M=>X(f,M[0])?X(M[2],new z1(0,[])):!1)?(b=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],A=n.fields[1]):b=16;break}case 3:{h=n.fields[1],!X(i.MobilePhone.ColumnIndex,h)&&i.MobilePhone.IncomingFields.fields[0].some(M=>X(h,M[0])?X(M[2],new z1(0,[])):!1)?(b=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],N=n.fields[1]):b=16;break}case 4:{m=n.fields[1],!X(i.EmploymentBasis.ColumnIndex,m)&&i.EmploymentBasis.IncomingFields.fields[0].some(M=>X(m,M[0])?X(M[2],new z1(0,[])):!1)?(b=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],R=n.fields[1]):b=16;break}default:p=n.fields[1],!X(i.FirstName.ColumnIndex,p)&&i.FirstName.IncomingFields.fields[0].some(M=>X(p,M[0])?X(M[2],new z1(0,[])):!1)?(b=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=n.fields[1]):b=16}}switch(b){case 0:return[(o=[new r0(0,[]),_],O3(t,r,i,o[0],o[1])),m0()];case 1:return[(s=[new r0(1,[]),C],O3(t,r,i,s[0],s[1])),m0()];case 2:return[(a=[new r0(2,[]),A],O3(t,r,i,a[0],a[1])),m0()];case 3:return[(l=[new r0(3,[]),N],O3(t,r,i,l[0],l[1])),m0()];case 4:return[(c=[new r0(4,[]),R],O3(t,r,i,c[0],c[1])),m0()];case 5:return[D3(t,i,new r0(0,[])),m0()];case 6:return[D3(t,i,new r0(1,[])),m0()];case 7:return[D3(t,i,new r0(2,[])),m0()];case 8:return[D3(t,i,new r0(3,[])),m0()];case 9:return[D3(t,i,new r0(4,[])),m0()];case 10:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(0,[]),L2(D,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(0,[]))];case 11:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(1,[]),L2(P,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(1,[]))];case 12:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(2,[]),L2(E,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(2,[]))];case 13:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(3,[]),L2(S,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(3,[]))];case 14:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(4,[]),L2(k,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(4,[]))];case 15:return[new Jt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),m0()];default:return[i,m0()]}}const gl=typeof document<"u"?Q.useLayoutEffect:()=>{};function vy(e){const t=a0(null);return gl(()=>{t.current=e},[e]),P0((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const _r=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},i2=e=>e&&"window"in e&&e.window===e?e:_r(e).defaultView||window;function by(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 _y(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 wl(e){let t=null;return()=>(t==null&&(t=e()),t)}const Cy=wl(function(){return _y(/^Mac/i)}),xy=wl(function(){return by(/Android/i)});function Sy(e){return e.mozInputSource===0&&e.isTrusted?!0:xy()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Ey{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 yl(e){let t=a0({isFocused:!1,observer:null});gl(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=vy(n=>{e==null||e(n)});return P0(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 Ey("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 Ay(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=P0(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=yl(o),a=P0(l=>{const c=_r(l.target);l.target===l.currentTarget&&c.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 Cr=null,Q4=new Set,Z3=new Map,f2=!1,ei=!1;const Ty={Tab:!0,Escape:!0};function ao(e,t){for(let r of Q4)r(e,t)}function Ny(e){return!(e.metaKey||!Cy()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function xn(e){f2=!0,Ny(e)&&(Cr="keyboard",ao("keyboard",e))}function d1(e){Cr="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(f2=!0,ao("pointer",e))}function vl(e){Sy(e)&&(f2=!0,Cr="virtual")}function bl(e){e.target===window||e.target===document||(!f2&&!ei&&(Cr="virtual",ao("virtual",e)),f2=!1,ei=!1)}function _l(){f2=!1,ei=!0}function ti(e){if(typeof window>"u"||Z3.get(i2(e)))return;const t=i2(e),r=_r(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){f2=!0,n.apply(this,arguments)},r.addEventListener("keydown",xn,!0),r.addEventListener("keyup",xn,!0),r.addEventListener("click",vl,!0),t.addEventListener("focus",bl,!0),t.addEventListener("blur",_l,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",d1,!0),r.addEventListener("pointermove",d1,!0),r.addEventListener("pointerup",d1,!0)):(r.addEventListener("mousedown",d1,!0),r.addEventListener("mousemove",d1,!0),r.addEventListener("mouseup",d1,!0)),t.addEventListener("beforeunload",()=>{Cl(e)},{once:!0}),Z3.set(t,{focus:n})}const Cl=(e,t)=>{const r=i2(e),n=_r(e);t&&n.removeEventListener("DOMContentLoaded",t),Z3.has(r)&&(r.HTMLElement.prototype.focus=Z3.get(r).focus,n.removeEventListener("keydown",xn,!0),n.removeEventListener("keyup",xn,!0),n.removeEventListener("click",vl,!0),r.removeEventListener("focus",bl,!0),r.removeEventListener("blur",_l,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",d1,!0),n.removeEventListener("pointermove",d1,!0),n.removeEventListener("pointerup",d1,!0)):(n.removeEventListener("mousedown",d1,!0),n.removeEventListener("mousemove",d1,!0),n.removeEventListener("mouseup",d1,!0)),Z3.delete(r))};function My(e){const t=_r(e);let r;return t.readyState!=="loading"?ti(e):(r=()=>{ti(e)},t.addEventListener("DOMContentLoaded",r)),()=>Cl(e,r)}typeof document<"u"&&My();function xl(){return Cr!=="pointer"}const ky=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Iy(e,t,r){var n;const i=typeof window<"u"?i2(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?i2(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?i2(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?i2(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!ky.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&&!Ty[r.key])}function Ry(e,t,r){ti(),H0(()=>{let n=(i,o)=>{Iy(!!(r!=null&&r.isTextInput),i,o)&&e(xl())};return Q4.add(n),()=>{Q4.delete(n)}},t)}function Oy(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=a0({isFocusWithin:!1}),s=P0(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,o]),a=yl(s),l=P0(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),o.current.isFocusWithin=!0,a(c))},[n,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Sn=!1,$5=0;function ri(){Sn=!0,setTimeout(()=>{Sn=!1},50)}function fs(e){e.pointerType==="touch"&&ri()}function Dy(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",fs):document.addEventListener("touchend",ri),$5++,()=>{$5--,!($5>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",fs):document.removeEventListener("touchend",ri))}}function $y(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,s]=C0(!1),a=a0({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;H0(Dy,[]);let{hoverProps:l,triggerHoverEnd:c}=g0(()=>{let d=(m,p)=>{if(a.pointerType=p,i||p==="touch"||a.isHovered||!m.currentTarget.contains(m.target))return;a.isHovered=!0;let v=m.currentTarget;a.target=v,t&&t({type:"hoverstart",target:v,pointerType:p}),r&&r(!0),s(!0)},f=(m,p)=>{if(a.pointerType="",a.target=null,p==="touch"||!a.isHovered)return;a.isHovered=!1;let v=m.currentTarget;n&&n({type:"hoverend",target:v,pointerType:p}),r&&r(!1),s(!1)},h={};return typeof PointerEvent<"u"?(h.onPointerEnter=m=>{Sn&&m.pointerType==="mouse"||d(m,m.pointerType)},h.onPointerLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(h.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=m=>{!a.ignoreEmulatedMouseEvents&&!Sn&&d(m,"mouse"),a.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[t,r,n,i,a]);return H0(()=>{i&&c({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function Fy(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=a0({isFocused:!1,isFocusVisible:t||xl()}),[o,s]=C0(!1),[a,l]=C0(()=>i.current.isFocused&&i.current.isFocusVisible),c=P0(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=P0(m=>{i.current.isFocused=m,s(m),c()},[c]);Ry(m=>{i.current.isFocusVisible=m,c()},[],{isTextInput:r});let{focusProps:f}=Ay({isDisabled:n,onFocusChange:d}),{focusWithinProps:h}=Oy({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?h:f}}var Py=Object.defineProperty,Ly=(e,t,r)=>t in e?Py(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F5=(e,t,r)=>(Ly(e,typeof t!="symbol"?t+"":t,r),r);let By=class{constructor(){F5(this,"current",this.detect()),F5(this,"handoffState","pending"),F5(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"}},a2=new By;function w3(e){return a2.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function o5(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ht(){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 o5(()=>{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=ht();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 Ut(){let[e]=C0(ht);return H0(()=>()=>e.dispose(),[e]),e}let se=(e,t)=>{a2.isServer?H0(e,t):F1(e,t)};function jt(e){let t=a0(e);return se(()=>{t.current=e},[e]),t}let p0=function(e){let t=jt(e);return Q.useCallback((...r)=>t.current(...r),[t])};function Vy(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 Hy(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Uy({disabled:e=!1}={}){let t=a0(null),[r,n]=C0(!1),i=Ut(),o=p0(()=>{t.current=null,n(!1),i.dispose()}),s=p0(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,n(!0);{let l=w3(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",c=>{if(t.current){let d=Vy(c);n(Hy(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let jy=me(void 0);function lo(){return W0(jy)}function ni(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Ke(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,Ke),n}var o3=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(o3||{}),St=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(St||{});function Re(){let e=qy();return P0(t=>Wy({mergeRefs:e,...t}),[e])}function Wy({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??Gy;let l=Sl(t,e);if(o)return Pr(l,r,n,s,a);let c=i??0;if(c&2){let{static:d=!1,...f}=l;if(d)return Pr(f,r,n,s,a)}if(c&1){let{unmount:d=!0,...f}=l;return Ke(d?0:1,{0(){return null},1(){return Pr({...f,hidden:!0,style:{display:"none"}},r,n,s,a)}})}return Pr(l,r,n,s,a)}function Pr(e,t={},r,n,i){let{as:o=r,children:s,refName:a="ref",...l}=P5(e,["unmount","static"]),c=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 h=!1,m=[];for(let[p,v]of Object.entries(t))typeof v=="boolean"&&(h=!0),v===!0&&m.push(p.replace(/([A-Z])/g,b=>`-${b.toLowerCase()}`));if(h){f["data-headlessui-state"]=m.join(" ");for(let p of m)f[`data-${p}`]=""}}if(o===X0&&(Object.keys(yt(l)).length>0||Object.keys(yt(f)).length>0))if(!u3(d)||Array.isArray(d)&&d.length>1){if(Object.keys(yt(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(yt(l)).concat(Object.keys(yt(f))).map(h=>` - ${h}`).join(`
|
|
45
|
+
*/var K6;function ig(){if(K6)return R5;K6=1;var e=ng;function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,h){var m=h(),p=n({inst:{value:m,getSnapshot:h}}),v=p[0].inst,b=p[1];return o(function(){v.value=m,v.getSnapshot=h,l(v)&&b({inst:v})},[f,m,h]),i(function(){return l(v)&&b({inst:v}),f(function(){l(v)&&b({inst:v})})},[f]),s(m),m}function l(f){var h=f.getSnapshot;f=f.value;try{var m=h();return!r(f,m)}catch{return!0}}function c(f,h){return h()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:a;return R5.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,R5}var J6;function og(){return J6||(J6=1,I5.exports=ig()),I5.exports}var sg=og();class ag{constructor(t,r,n){this.arg=r,this.dependencies=n;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=Xp(i)(this.arg);let l=a[0],c=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],c],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const h=V4(this.state[0]);return tg(this.arg,Jp((m,p)=>{const v=this.state;this.finalDispatch=p,this.state=[m,v[1],!0,o],m!==v[0]&&d()},Qp((m,p)=>{const v=this.cmd;return this.cmd=m0(),[this.state[0],v]},(m,p,v)=>m(p)(this.state[0]),U4(m=>m),U4(m=>m),Y0(m=>m),m=>[p=>m[0](p)?!0:h&&f,p=>{const v=p;V4(v)?D0(v):m[1](p)}],i))),()=>{f=!0}}}}function X6(e,t,r){return new ag(e,t,r)}function lg(e){return e.state}function ug(e){return e.subscribe}function cg(e,t,r){return X(e.arg,t)?!X(e.dependencies,r):!0}function ht(e,t,r){const n=C0(()=>X6(e,t,r)),i=n[0];cg(i,t,r)&&n[1](X6(e,t,r));const o=sg.useSyncExternalStore(ug(i),()=>lg(i)),s=o[2],a=o[3],l=o[1];return H0(()=>{if(s&&a.length>0){let c=B0(a);try{for(;c["System.Collections.IEnumerator.MoveNext"]();){const d=c["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{D0(c)}zu(a)}},[s,a]),[o[0],l]}function dg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function fg(){let e,t,r;return u("div",y(g([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[u("div",y(g([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Users"}),u("div",y(g([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(r=[dg(24,24)],["children",w.Children.toArray(Array.from(r))])]))),u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Past activities"})],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function hg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}const mg=["data-fs-exclude",""],Ke=["data-fs-mask",""];function bn(e,t){let r,n;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}class Q6 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UpdateFilter","ClearFilter"]}}function pg(e){let t,r;const n=V0(e.Value,"");return u("div",y(g([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[u("div",y(g([["className",xe(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(r=q(T(()=>{let i;return $(x(u("div",y(g([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[hg(20,20)],["children",w.Children.toArray(Array.from(i))])])))),T(()=>{let o;return $(x(u("input",y(g([Ke,(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 Q6(0,[s.target.value]))}],["value",n],["disabled",e.Disabled]])))),T(()=>{let s;return Oi(n)?x(E0()):x(u("div",y(g([["onClick",a=>{e.ActionHandler(new Q6(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[bn(10,10)],["children",w.Children.toArray(Array.from(s))])]))))}))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function gg(e){let t,r;const n=e.height,i=e.width;return u("svg",y(g([["fill","none"],["height",n],["width",i],["viewBox","0 0 "+i+" "+n],["xmlns","http://www.w3.org/2000/svg"],(t=o0(u("path",y(g([(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",w.Children.toArray(Array.from(t))])])))}function wg(e){let t;const r=e.sortDirectionChangeHandler,n=e.sortDirection;return u("div",y(g([["className",xe(" ",q(T(()=>$(x("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),T(()=>n.tag===1?x("rotate-180"):x(""))))))],["onClick",i=>{r(void 0)}],(t=[u(gg,{width:10,height:7})],["children",w.Children.toArray(Array.from(t))])])))}function yg(e){const t=e.toggleSortDirection,r=e.props;return u(wg,{sortDirection:r.Direction,sortDirectionChangeHandler:t})}function vg(e){let t,r,n,i,o,s,a;const l=u(yg,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return u("div",y(g([["className","self-stretch border-b border-gray-200 inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-full h-11 min-w-[130px] max-w-[150px] px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex self-stretch justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",r]),(n=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),l],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(i="w-full h-11 max-w-[280px] min-w-60 px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",i]),(o=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([(s="self-stretch h-11 w-full px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 content-center overflow-hidden",["className",s]),(a=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(t))])])))}function _n(e){"@babel/helpers - typeof";return _n=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},_n(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 Ge(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function H1(e){Ge(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||_n(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 bg(e,t){Ge(2,arguments);var r=H1(e).getTime(),n=f2(t);return new Date(r+n)}var _g={};function r5(){return _g}function Cg(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 xg(e){return Ge(1,arguments),e instanceof Date||_n(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Sg(e){if(Ge(1,arguments),!xg(e)&&typeof e!="number")return!1;var t=H1(e);return!isNaN(Number(t))}function Eg(e,t){Ge(2,arguments);var r=f2(t);return bg(e,-r)}var Ag=864e5;function Tg(e){Ge(1,arguments);var t=H1(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/Ag)+1}function Cn(e){Ge(1,arguments);var t=1,r=H1(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 ol(e){Ge(1,arguments);var t=H1(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Cn(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=Cn(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Ng(e){Ge(1,arguments);var t=ol(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Cn(r);return n}var Mg=6048e5;function kg(e){Ge(1,arguments);var t=H1(e),r=Cn(t).getTime()-Ng(t).getTime();return Math.round(r/Mg)+1}function xn(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=r5(),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||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=H1(e),m=h.getUTCDay(),p=(m<f?7:0)+m-f;return h.setUTCDate(h.getUTCDate()-p),h.setUTCHours(0,0,0,0),h}function sl(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=H1(e),f=d.getUTCFullYear(),h=r5(),m=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:h.firstWeekContainsDate)!==null&&n!==void 0?n:(l=h.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,m),p.setUTCHours(0,0,0,0);var v=xn(p,t),b=new Date(0);b.setUTCFullYear(f,0,m),b.setUTCHours(0,0,0,0);var _=xn(b,t);return d.getTime()>=v.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function Ig(e,t){var r,n,i,o,s,a,l,c;Ge(1,arguments);var d=r5(),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||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=sl(e,t),m=new Date(0);m.setUTCFullYear(h,0,f),m.setUTCHours(0,0,0,0);var p=xn(m,t);return p}var Rg=6048e5;function Og(e,t){Ge(1,arguments);var r=H1(e),n=xn(r,t).getTime()-Ig(r,t).getTime();return Math.round(n/Rg)+1}function q0(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var gt={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return q0(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):q0(n+1,2)},d:function(t,r){return q0(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 q0(t.getUTCHours()%12||12,r.length)},H:function(t,r){return q0(t.getUTCHours(),r.length)},m:function(t,r){return q0(t.getUTCMinutes(),r.length)},s:function(t,r){return q0(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 q0(o,r.length)}},O2={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Dg={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 gt.y(t,r)},Y:function(t,r,n,i){var o=sl(t,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return q0(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):q0(s,r.length)},R:function(t,r){var n=ol(t);return q0(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return q0(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 q0(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 q0(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 gt.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 q0(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=Og(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):q0(o,r.length)},I:function(t,r,n){var i=kg(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):q0(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):gt.d(t,r)},D:function(t,r,n){var i=Tg(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):q0(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 q0(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 q0(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 q0(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=O2.noon:i===0?o=O2.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=O2.evening:i>=12?o=O2.afternoon:i>=4?o=O2.morning:o=O2.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 gt.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):gt.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):q0(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):q0(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):gt.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):gt.s(t,r)},S:function(t,r){return gt.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 ts(s);case"XXXX":case"XX":return Jt(s);case"XXXXX":case"XXX":default:return Jt(s,":")}},x:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"x":return ts(s);case"xxxx":case"xx":return Jt(s);case"xxxxx":case"xxx":default:return Jt(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"+es(s,":");case"OOOO":default:return"GMT"+Jt(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"+es(s,":");case"zzzz":default:return"GMT"+Jt(s,":")}},t:function(t,r,n,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return q0(s,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,s=o.getTime();return q0(s,r.length)}};function es(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+q0(o,2)}function ts(e,t){if(e%60===0){var r=e>0?"-":"+";return r+q0(Math.abs(e)/60,2)}return Jt(e,t)}function Jt(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=q0(Math.floor(i/60),2),s=q0(i%60,2);return n+o+r+s}var rs=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"})}},al=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"})}},$g=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return rs(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}}",rs(i,r)).replace("{{time}}",al(o,r))},Fg={p:al,P:$g},Pg=["D","DD"],Lg=["YY","YYYY"];function Bg(e){return Pg.indexOf(e)!==-1}function Vg(e){return Lg.indexOf(e)!==-1}function ns(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 Hg={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"}},Ug=function(t,r,n){var i,o=Hg[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 O5(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 jg={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wg={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qg={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gg={date:O5({formats:jg,defaultWidth:"full"}),time:O5({formats:Wg,defaultWidth:"full"}),dateTime:O5({formats:qg,defaultWidth:"full"})},zg={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yg=function(t,r,n,i){return zg[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 c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var Zg={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Kg={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Jg={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"]},Xg={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"]},Qg={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"}},ew={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"}},tw=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"},rw={ordinalNumber:tw,era:I3({values:Zg,defaultWidth:"wide"}),quarter:I3({values:Kg,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:I3({values:Jg,defaultWidth:"wide"}),day:I3({values:Xg,defaultWidth:"wide"}),dayPeriod:I3({values:Qg,defaultWidth:"wide",formattingValues:ew,defaultFormattingWidth:"wide"})};function R3(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)?iw(a,function(f){return f.test(s)}):nw(a,function(f){return f.test(s)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(s.length);return{value:c,rest:d}}}function nw(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function iw(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function ow(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 sw=/^(\d+)(th|st|nd|rd)?/i,aw=/\d+/i,lw={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},uw={any:[/^b/i,/^(a|c)/i]},cw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},dw={any:[/1/i,/2/i,/3/i,/4/i]},fw={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},hw={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]},mw={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},pw={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]},gw={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},ww={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}},yw={ordinalNumber:ow({matchPattern:sw,parsePattern:aw,valueCallback:function(t){return parseInt(t,10)}}),era:R3({matchPatterns:lw,defaultMatchWidth:"wide",parsePatterns:uw,defaultParseWidth:"any"}),quarter:R3({matchPatterns:cw,defaultMatchWidth:"wide",parsePatterns:dw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:R3({matchPatterns:fw,defaultMatchWidth:"wide",parsePatterns:hw,defaultParseWidth:"any"}),day:R3({matchPatterns:mw,defaultMatchWidth:"wide",parsePatterns:pw,defaultParseWidth:"any"}),dayPeriod:R3({matchPatterns:gw,defaultMatchWidth:"any",parsePatterns:ww,defaultParseWidth:"any"})},vw={code:"en-US",formatDistance:Ug,formatLong:Gg,formatRelative:Yg,localize:rw,match:yw,options:{weekStartsOn:0,firstWeekContainsDate:1}},bw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_w=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cw=/^'([^]*?)'?$/,xw=/''/g,Sw=/[a-zA-Z]/;function ll(e,t,r){var n,i,o,s,a,l,c,d,f,h,m,p,v,b;Ge(2,arguments);var _=String(t),C=r5(),A=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:vw,N=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:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=f2((f=(h=(m=(p=void 0)!==null&&p!==void 0?p:void 0)!==null&&m!==void 0?m:C.weekStartsOn)!==null&&h!==void 0?h:(v=C.locale)===null||v===void 0||(b=v.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&f!==void 0?f:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!A.localize)throw new RangeError("locale must contain localize property");if(!A.formatLong)throw new RangeError("locale must contain formatLong property");var D=H1(e);if(!Sg(D))throw new RangeError("Invalid time value");var P=Cg(D),E=Eg(D,P),S={firstWeekContainsDate:N,weekStartsOn:R,locale:A,_originalDate:D},k=_.match(_w).map(function(M){var O=M[0];if(O==="p"||O==="P"){var L=Fg[O];return L(M,A.formatLong)}return M}).join("").match(bw).map(function(M){if(M==="''")return"'";var O=M[0];if(O==="'")return Ew(M);var L=Dg[O];if(L)return Vg(M)&&ns(M,t,String(e)),Bg(M)&&ns(M,t,String(e)),L(E,M,A.localize,S);if(O.match(Sw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return M}).join("");return k}function Ew(e){var t=e.match(Cw);return t?t[1].replace(xw,"'"):e}function Aw(e){return ll(e,"d MMM, yyyy")}function Tw(e){return ll(e,"h:mm a")}function Nw(e){let t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","self-stretch inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-[150px] min-w-[130px] max-w-[150px] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 bg-white px-6 py-4",["className",r]),(n=[u("div",y(g([["className","inline-flex flex-col justify-center items-start"],(i=[u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(o=[u("div",{className:"justify-start text-gray-900 text-sm font-medium leading-tight",children:Aw(e.Timestamp)})],["children",w.Children.toArray(Array.from(o))])]))),u("div",{className:"self-stretch justify-start text-gray-600 text-sm font-normal leading-tight",children:Tw(e.Timestamp)})],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(s="flex max-w-[280px] min-w-60 flex-[1_0_0] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 px-6 py-4",["className",s]),(a=[u("div",y(g([["className","flex-col w-full justify-center items-start"],(l=q(T(()=>{let f;return $(x(u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(f=[u("div",y(g([Ke,["className","justify-start text-gray-900 text-sm font-medium leading-tight"],["children",e.User.Name]])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{const h=e.User.Email;return h==null?x(E0()):x(u("div",y(g([Ke,["className","self-stretch justify-start text-gray-600 text-sm font-normal leading-tight truncate"],["children",h]]))))}))})),["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([(c="flex min-w-60 flex-[1_0_0] flex-col items-start justify-center gap-1 self-stretch border-b border-gray-200 bg-white px-6 py-3.5",["className",c]),(d=q(T(()=>$(x(u("div",{className:"justify-start text-gray-600 text-sm font-normal leading-tight",children:e.ActivityDescription1})),T(()=>{const f=e.ActivityDescription2;return f==null?x(E0()):x(u("div",{className:"self-stretch justify-start text-red-600 text-xs font-normal leading-none",children:f}))})))),["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Mw(e){const t=st(r=>u(Nw,r),e.Data);return u("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:w.Children.toArray(Array.from(t))})}function kw(e){let t,r,n,i,o;const s=e.height,a=e.width;return u("svg",y(g([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=g([u("path",y(g([(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)"]]))),u("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",y(g([(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=o0(u("linearGradient",y(g([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=g([u("stop",{offset:0,stopColor:"#FFD84D"}),u("stop",{offset:1,stopColor:"#FF876F"})]),["children",w.Children.toArray(Array.from(o))])])))),u("defs",{children:w.Children.toArray(Array.from(i))}))]),["children",w.Children.toArray(Array.from(t))])])))}function Iw(){let e;return u("div",y(g([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[u(kw,{width:120,height:120})],["children",w.Children.toArray(Array.from(e))])])))}function Rw(){let e,t,r,n;return u("div",y(g([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[u(Iw,null),u("div",y(g([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[u("div",y(g([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(r=[u("div",y(g([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(n=[u("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),u("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",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Ow(e){return{Data:hp(e.Data)}}function Dw(e){let t;const r=e.props,n=r.tag===1?u(Mw,Ow(r.fields[0])):u(Rw,null);return u("div",y(g([["className","relative h-full grow w-full"],(t=[u("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:w.Children.toArray([n])})],["children",w.Children.toArray(Array.from(t))])])))}class is extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Prev","Next"]}}function $w(e){let t,r;const n=e.pageChangedHandler,i=e.pagingInfo;return u("div",y(g([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[u("div",{className:"self-stretch h-px bg-gray-200"}),u("div",y(g([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(r=q(T(()=>{let o,s,a;return $((o=i,o.tag===1?x(u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],x((a=g([u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(xp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(Sp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(s.TotalRecordsNumber)}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(a))}))))),T(()=>{let l,c,d;return x(u("div",y(g([["className","justify-start items-start gap-3 flex"],(l=[u("button",y(g([["type","button"],(c="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",c]),["children","Previous"],["onClick",f=>{n(new is(0,[]))}],["disabled",!tl(i)]]))),u("button",y(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=>{n(new is(1,[]))}],["disabled",!el(i)]])))],["children",w.Children.toArray(Array.from(l))])]))))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class X4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function Fw(e,t){e(t.tag===0?new X4(2,[]):new X4(1,[]))}function Pw(e){let t,r;const n=e.actionHandler,i=e.props;return u("div",y(g([(t="min-w-[600px] self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(r=[u(vg,new sp(up(i),()=>{n(new X4(0,[]))})),u(Dw,{props:i}),u($w,{pagingInfo:cp(i),pageChangedHandler:o=>{Fw(n,o)}})],["children",w.Children.toArray(Array.from(r))])])))}function Lw(e,t){t.tag===0?e(new Y2(0,[t.fields[0]])):e(new Y2(1,[]))}function Bw(e,t){switch(t.tag){case 2:{e(new Y2(4,[]));break}case 0:{e(new Y2(2,[]));break}default:e(new Y2(3,[]))}}function os(e){let t,r;const n=e.importHistory;let i;const o=Fp(n);i=ht(()=>ft(()=>o,Lp,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const c=Ap(s);return l={ActionHandler:d=>{Lw(a,d)},Disabled:Tp(s),Value:J1(c)},u("div",y(g([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[u(fg,null),u("div",y(g([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(r=[u(pg,l),u(Pw,{props:Np(s),actionHandler:d=>{Bw(a,d)}})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Vw(e,t){return V.Delay(()=>{const r=Am(e);return V.Bind(r,n=>{const i=n;if(i.tag===1)return V.Return(new I(1,[i.fields[0]]));{const o=Rm(e);return V.Bind(o,s=>{let a;const l=s;return a=l.tag===1?new I(1,[l.fields[0]]):new I(0,[[V0(i.fields[0],Mh),V0(l.fields[0],_m)]]),V.Return(a)})}})})}function Hw(e){return t=>{Lt(Ji(e,void 0,t))}}function Uw(e){let t;const r=w.useState(new Zr(0,[]));o3((t=[()=>Vw(e.backendUrl),r[1]],W8(t[0],t[1]))),o3(()=>{Hw(e.backendUrl)(new ge(0,[{Section:"user past activities"}]))});const n=q(T(()=>$(x(u("style",{children:[Ln]})),T(()=>{let i;const o=r[0];let s,a;switch(o.tag){case 3:{s=1;break}case 2:{o.fields[0].tag===0?(s=2,a=o.fields[0].fields[0]):s=1;break}default:s=0}switch(s){case 0:return x(u(Vm,null));case 1:return x(u(os,{importHistory:new I(1,[void 0])}));default:return x(u(os,{importHistory:new I(0,[(i=a,qm(i[0],i[1]))])}))}}))));return u(X0,{},...n)}function jw(){Dn(e=>u(Uw,e),"apollo-import-workspace-past-history")}function Q4(e,t){if(t.startsWith(e))return t}function ss(e,t){if(t.endsWith(e))return t}function Ww(e){return t=>{let r,n;return r=Q4("/",t),r!=null?(n=r,n):"/"+t}}function qw(e,t){return Ww()(xe("/",st(r=>r.indexOf("?")>=0||r.startsWith("#")||r.startsWith("/")?r:encodeURIComponent(r),e)))}function n5(e,t,r){history.pushState(void 0,"",qw(e));const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)}function Gw(e,t){return Jc(r=>{if(Dt(r))return oe();{const n=Di(r,"#");if(n==="?")return oe();if(Q4("?",n)!=null)return o0(n);{const i=n.split("?");if(!Mt((o,s)=>o===s,i,E0())&&i.length===1){const o=f0(0,i);return o0(decodeURIComponent(o))}else if(!Mt((o,s)=>o===s,i,E0())&&i.length===2)if(f0(1,i)===""){const o=f0(0,i);return o0(decodeURIComponent(o))}else{const o=f0(0,i),s=f0(1,i);return g([decodeURIComponent(o),"?"+s])}else return oe()}}},g(Sa(Q4("#",e)!=null?Tc(e,1,e.length-1):t===1&&(ss("#",e)!=null||ss("#/",e)!=null)?"":e,["/"],void 0,0)))}function zw(e,t,r){return t(Gw(e===2?window.location.pathname+window.location.search:window.location.hash,e))}Fm(e=>{const t=j8(n=>{const i=V0(e.onUrlChanged,o=>{});zw(V0(e.hashMode,1),i)});U8(()=>(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),Qi(()=>{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)}))),o3(()=>{const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)});const r=e.application;return r??E0()},void 0,void 0,void 0);class Yw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class Zw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class Kw extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class i5 extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function Jw(e){return e.fields[0].length}function o5(e,t){return Ft(r=>!Dt(f0(t.fields[0],r.fields[0])),e.fields[0])!=null}class ul extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class Xw extends i0{constructor(t,r,n,i){super(),this.Name=t,this.HeaderRow=r,this.DataRows=n,this.SizeInBytes=i|0}}class Fr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","FileSelected","FailedParsing"]}}class M1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class cl{constructor(t,r){const n=new ke(E0());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=B0(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();D5(n.contents,o[0],o[1])}}finally{D0(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return B0(this)}GetEnumerator(){return B0(Yn(this.hashMap.values()))}[Symbol.iterator](){return d3(B0(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){D5(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){as(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=Kr(this,t[0]);let i;switch(n!=null&&X(U(n)[1],t[1])?(i=0,U(n)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Qa((i,o)=>{Ve(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return ls(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const r=this,n=Kr(r,t[0]);return n!=null?(X(U(n)[1],t[1])&&$5(r,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,r){D5(this,t,r)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return ds(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return us(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,r){cs(this,t,r)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return y1(T(()=>F0(r=>r[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return $5(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,r){const i=Kr(this,t);if(i!=null){const o=U(i);return r.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return y1(T(()=>F0(r=>r[1],t)))}get size(){return ls(this)|0}clear(){as(this)}delete(t){return $5(this,t)}entries(){return F0(r=>[r[0],r[1]],this)}get(t){return us(this,t)}has(t){return ds(this,t)}keys(){return F0(r=>r[0],this)}set(t,r){const n=this;return cs(n,t,r),n}values(){return F0(r=>r[1],this)}forEach(t,r){const n=this;V1(i=>{t(i[1],i[0],n)},n)}}function _r(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=E0();return n=[Kn(e.hashMap,r,new ke(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,r,-1]}function Kr(e,t){const r=_r(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1])[r[2]];default:return}}function as(e){e.hashMap.clear()}function ls(e){let t=0,r=B0(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{D0(r)}return t|0}function us(e,t){const r=Kr(e,t);if(r!=null)return U(r)[1];throw new Error("The item was not found in collection")}function cs(e,t,r){const n=_r(e,t);n[0]?n[2]>-1?at(e.hashMap,n[1])[n[2]]=[t,r]:at(e.hashMap,n[1]).push([t,r]):e.hashMap.set(n[1],[[t,r]])}function D5(e,t,r){const n=_r(e,t);if(n[0]){if(n[2]>-1)throw new Error(Ri("An item with the same key has already been added. Key: {0}",t));at(e.hashMap,n[1]).push([t,r])}else e.hashMap.set(n[1],[[t,r]])}function ds(e,t){const r=_r(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function $5(e,t){const r=_r(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}function Qw(e,t){return T(()=>{const r=new p8([],t);return Tt(n=>f8(n,r),e)})}function ey(e,t,r){return T(()=>{const n=new p8(e,r);return Tt(i=>f8(i,n),t)})}function ty(e,t,r){return T(()=>{const n=new cl([],r),i=[],o=B0(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=e(o["System.Collections.Generic.IEnumerator`1.get_Current"]());let a,l=0;a=[Kn(n,s,new ke(()=>l,c=>{l=c|0})),l],a[0]?n.set(s,a[1]+1):(n.set(s,1),i.push(s))}}finally{D0(o)}return F0(s=>[s,at(n,s)],i)})}function ry(e,t,r){return T(()=>{const n=new cl([],r),i=[],o=B0(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,c=E0();l=[Kn(n,a,new ke(()=>c,d=>{c=d})),c],l[0]?l[1].push(s):(uf(n,a,[s]),i.push(a))}}finally{D0(o)}return F0(s=>[s,at(n,s)],i)})}function dl(e,t){return y1(Qw(e,t))}function fl(e,t,r){return y1(ey(e,t,r))}function ny(e,t,r){return y1(F0(n=>[n[0],y1(n[1])],ry(e,t,r)))}class iy extends i0{constructor(t,r,n,i){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i}}class oy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class Z3 extends i0{constructor(t,r,n,i,o){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o}}new Z3(void 0,void 0,void 0,void 0,void 0);function fs(e,t){return new Z3(e.FirstName,e.LastName,e.Email,e.MobilePhone,ae(r=>r.fields[0],t))}class sy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class be extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function hl(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function ay(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function ly(e){switch(e){case"FullTime":return new be(0,[]);case"PartTime":return new be(1,[]);case"Casual":return new be(2,[]);case"LabourHire":return new be(3,[]);default:return}}class uy extends i0{constructor(t,r){super(),this.Head=t,this.Tail=r}}function cy(e){return G2(Q0(t=>[t[1].fields[0],ay(t[0])],La([e.Head],e.Tail)),{Compare:b2})}class dy extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class Zt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class k1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}function fy(e,t){let r;return new dy(Q0(n=>new sy(n),jc(n=>n,dl((r=Q0(n=>f0(t.fields[0].fields[0],n.fields[0]),e.fields[0]),r.filter(n=>!Dt(n))),{Equals:(n,i)=>n===i,GetHashCode:a1}),{Compare:b2})))}class Fe extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InviteNow","InviteLater"]}}class Pr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Draft","Valid"]}}class r0 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function nr(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 r2(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function ml(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 hy(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let wt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear","Preview","ClosePreview"]}};class O3 extends i0{constructor(t,r){super(),this.ColumnIndex=t,this.IncomingFields=r}}class my extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class Y1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}let Xt=class extends i0{constructor(t,r,n,i,o,s,a,l,c,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=c|0,this.Status=d,this.IsPrefilled=f}};function py(e,t,r){const n=r.tag===1?["lastname","surname","familyname"]:r.tag===2?["email"]:r.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:r.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return Hn(i=>{const o=i[0];if(o5(t,o))return o},Ft(i=>O1(dr(i[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(o,s)=>o===s,GetHashCode:a1}),e))}function gy(e,t){return new my(Q0(r=>{const n=r[0];return[n,r[1],O1(n,t,{Equals:X,GetHashCode:an})?new Y1(1,[]):new Y1(0,[])]},e))}function pl(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 B2(e,t){return Ye(r=>r,Q0(r=>Ba(e.fields[0],r.fields[0]),t.fields[0].slice(void 0,10)))}function ao(e,t,r,n,i,o,s,a){let l,c,d;const f=v=>gy(e,v);let h;h=Ye(v=>v,[n,i,o,s,a]).length;const p=n!=null?i!=null?o!=null?(l=o,c=n,d=i,new Pr(1,[new iy(c,d,l,s),ae(v=>new oy(v),a)])):new Pr(0,[new Z3(n,i,o,s,a)]):new Pr(0,[new Z3(n,i,o,s,a)]):new Pr(0,[new Z3(n,i,o,s,a)]);return new Xt(new O3(n,f(Ye(v=>v,[i,o,s,a]))),new O3(i,f(Ye(v=>v,[n,o,s,a]))),new O3(o,f(Ye(v=>v,[n,i,s,a]))),new O3(s,f(Ye(v=>v,[n,i,o,a]))),new O3(a,f(Ye(v=>v,[n,i,o,s]))),t,e.length,h,e.length-h,p,r)}function D3(e,t,r,n,i){let o,s,a;const l=[n,i];return a=pl(r,l[0],l[1]),ao(e,(o=r.Preview,o!=null&&X(o[0],n)?(s=o[0],[s,B2(i,t)]):r.Preview),r.IsPrefilled,a[0],a[1],a[2],a[3],a[4])}function $3(e,t,r){let n,i;const o=[r,void 0];return i=pl(t,o[0],o[1]),ao(e,(n=t.Preview,n!=null&&X(n[0],r)?(n[0],void 0):t.Preview),t.IsPrefilled,i[0],i[1],i[2],i[3],i[4])}function gl(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 wy=e=>t=>gl(e,t);function yy(e,t){const r=gl(e,t),n=e.Preview;let i;switch(r?n==null?i=2:X(n[0],t)?(i=1,n[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function vy(e,t,r){let n,i,o,s,a,l,c,d,f,h,m,p;const v=b=>py(e,t,b);return[(n=r==null?(i=v(new r0(0,[])),o=v(new r0(1,[])),s=v(new r0(2,[])),a=v(new r0(3,[])),l=v(new r0(4,[])),c=Ye(b=>b,[i,o,s,a,l]),d=b=>{let _,C;switch(b!=null?(_=b,c.filter(A=>X(A,_)).length>1?C=0:C=1):C=1,C){case 0:return;default:return b}},f=[d(i),d(o),d(s),d(a),d(l)],[(h=Ye(b=>b,[f[0],f[1],f[2],f[3],f[4]]),h.length!==0),f]):(m=r,[!1,[m.FirstName,m.LastName,m.Email,m.MobilePhone,m.EmploymentBasis]]),p=n[1],ao(e,void 0,n[0],p[0],p[1],p[2],p[3],p[4])),m0()]}function by(e,t,r,n,i){let o,s,a,l,c,d,f,h,m,p;const v=M=>o1(e,new ge(4,[{Field:hy(M)}]));let b,_,C,A,N,R,D,P,E,S,k;switch(n.tag){case 1:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?b=6:b=16;break}case 2:{i.Email.ColumnIndex!=null?b=7:b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?b=8:b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?b=9:b=16;break}default:i.FirstName.ColumnIndex!=null?b=5:b=16}break}case 2:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(b=11,P=i.LastName.ColumnIndex):b=16;break}case 2:{i.Email.ColumnIndex!=null?(b=12,E=i.Email.ColumnIndex):b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(b=13,S=i.MobilePhone.ColumnIndex):b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(b=14,k=i.EmploymentBasis.ColumnIndex):b=16;break}default:i.FirstName.ColumnIndex!=null?(b=10,D=i.FirstName.ColumnIndex):b=16}break}case 3:{b=15;break}default:switch(n.fields[0].tag){case 1:{d=n.fields[1],!X(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(M=>X(d,M[0])?X(M[2],new Y1(0,[])):!1)?(b=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],C=n.fields[1]):b=16;break}case 2:{f=n.fields[1],!X(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(M=>X(f,M[0])?X(M[2],new Y1(0,[])):!1)?(b=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],A=n.fields[1]):b=16;break}case 3:{h=n.fields[1],!X(i.MobilePhone.ColumnIndex,h)&&i.MobilePhone.IncomingFields.fields[0].some(M=>X(h,M[0])?X(M[2],new Y1(0,[])):!1)?(b=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],N=n.fields[1]):b=16;break}case 4:{m=n.fields[1],!X(i.EmploymentBasis.ColumnIndex,m)&&i.EmploymentBasis.IncomingFields.fields[0].some(M=>X(m,M[0])?X(M[2],new Y1(0,[])):!1)?(b=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],R=n.fields[1]):b=16;break}default:p=n.fields[1],!X(i.FirstName.ColumnIndex,p)&&i.FirstName.IncomingFields.fields[0].some(M=>X(p,M[0])?X(M[2],new Y1(0,[])):!1)?(b=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=n.fields[1]):b=16}}switch(b){case 0:return[(o=[new r0(0,[]),_],D3(t,r,i,o[0],o[1])),m0()];case 1:return[(s=[new r0(1,[]),C],D3(t,r,i,s[0],s[1])),m0()];case 2:return[(a=[new r0(2,[]),A],D3(t,r,i,a[0],a[1])),m0()];case 3:return[(l=[new r0(3,[]),N],D3(t,r,i,l[0],l[1])),m0()];case 4:return[(c=[new r0(4,[]),R],D3(t,r,i,c[0],c[1])),m0()];case 5:return[$3(t,i,new r0(0,[])),m0()];case 6:return[$3(t,i,new r0(1,[])),m0()];case 7:return[$3(t,i,new r0(2,[])),m0()];case 8:return[$3(t,i,new r0(3,[])),m0()];case 9:return[$3(t,i,new r0(4,[])),m0()];case 10:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(0,[]),B2(D,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(0,[]))];case 11:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(1,[]),B2(P,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(1,[]))];case 12:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(2,[]),B2(E,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(2,[]))];case 13:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(3,[]),B2(S,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(3,[]))];case 14:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new r0(4,[]),B2(k,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new r0(4,[]))];case 15:return[new Xt(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),m0()];default:return[i,m0()]}}const wl=typeof document<"u"?Q.useLayoutEffect:()=>{};function _y(e){const t=a0(null);return wl(()=>{t.current=e},[e]),P0((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const Cr=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},o2=e=>e&&"window"in e&&e.window===e?e:Cr(e).defaultView||window;function Cy(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 xy(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 yl(e){let t=null;return()=>(t==null&&(t=e()),t)}const Sy=yl(function(){return xy(/^Mac/i)}),Ey=yl(function(){return Cy(/Android/i)});function Ay(e){return e.mozInputSource===0&&e.isTrusted?!0:Ey()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Ty{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 vl(e){let t=a0({isFocused:!1,observer:null});wl(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=_y(n=>{e==null||e(n)});return P0(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 Ty("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 Ny(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=P0(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=vl(o),a=P0(l=>{const c=Cr(l.target);l.target===l.currentTarget&&c.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 xr=null,ei=new Set,K3=new Map,h2=!1,ti=!1;const My={Tab:!0,Escape:!0};function lo(e,t){for(let r of ei)r(e,t)}function ky(e){return!(e.metaKey||!Sy()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Sn(e){h2=!0,ky(e)&&(xr="keyboard",lo("keyboard",e))}function f1(e){xr="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(h2=!0,lo("pointer",e))}function bl(e){Ay(e)&&(h2=!0,xr="virtual")}function _l(e){e.target===window||e.target===document||(!h2&&!ti&&(xr="virtual",lo("virtual",e)),h2=!1,ti=!1)}function Cl(){h2=!1,ti=!0}function ri(e){if(typeof window>"u"||K3.get(o2(e)))return;const t=o2(e),r=Cr(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){h2=!0,n.apply(this,arguments)},r.addEventListener("keydown",Sn,!0),r.addEventListener("keyup",Sn,!0),r.addEventListener("click",bl,!0),t.addEventListener("focus",_l,!0),t.addEventListener("blur",Cl,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",f1,!0),r.addEventListener("pointermove",f1,!0),r.addEventListener("pointerup",f1,!0)):(r.addEventListener("mousedown",f1,!0),r.addEventListener("mousemove",f1,!0),r.addEventListener("mouseup",f1,!0)),t.addEventListener("beforeunload",()=>{xl(e)},{once:!0}),K3.set(t,{focus:n})}const xl=(e,t)=>{const r=o2(e),n=Cr(e);t&&n.removeEventListener("DOMContentLoaded",t),K3.has(r)&&(r.HTMLElement.prototype.focus=K3.get(r).focus,n.removeEventListener("keydown",Sn,!0),n.removeEventListener("keyup",Sn,!0),n.removeEventListener("click",bl,!0),r.removeEventListener("focus",_l,!0),r.removeEventListener("blur",Cl,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",f1,!0),n.removeEventListener("pointermove",f1,!0),n.removeEventListener("pointerup",f1,!0)):(n.removeEventListener("mousedown",f1,!0),n.removeEventListener("mousemove",f1,!0),n.removeEventListener("mouseup",f1,!0)),K3.delete(r))};function Iy(e){const t=Cr(e);let r;return t.readyState!=="loading"?ri(e):(r=()=>{ri(e)},t.addEventListener("DOMContentLoaded",r)),()=>xl(e,r)}typeof document<"u"&&Iy();function Sl(){return xr!=="pointer"}const Ry=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Oy(e,t,r){var n;const i=typeof window<"u"?o2(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?o2(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?o2(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?o2(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!Ry.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&&!My[r.key])}function Dy(e,t,r){ri(),H0(()=>{let n=(i,o)=>{Oy(!!(r!=null&&r.isTextInput),i,o)&&e(Sl())};return ei.add(n),()=>{ei.delete(n)}},t)}function $y(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=a0({isFocusWithin:!1}),s=P0(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,o]),a=vl(s),l=P0(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),o.current.isFocusWithin=!0,a(c))},[n,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let En=!1,F5=0;function ni(){En=!0,setTimeout(()=>{En=!1},50)}function hs(e){e.pointerType==="touch"&&ni()}function Fy(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",hs):document.addEventListener("touchend",ni),F5++,()=>{F5--,!(F5>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",hs):document.removeEventListener("touchend",ni))}}function Py(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,s]=C0(!1),a=a0({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;H0(Fy,[]);let{hoverProps:l,triggerHoverEnd:c}=g0(()=>{let d=(m,p)=>{if(a.pointerType=p,i||p==="touch"||a.isHovered||!m.currentTarget.contains(m.target))return;a.isHovered=!0;let v=m.currentTarget;a.target=v,t&&t({type:"hoverstart",target:v,pointerType:p}),r&&r(!0),s(!0)},f=(m,p)=>{if(a.pointerType="",a.target=null,p==="touch"||!a.isHovered)return;a.isHovered=!1;let v=m.currentTarget;n&&n({type:"hoverend",target:v,pointerType:p}),r&&r(!1),s(!1)},h={};return typeof PointerEvent<"u"?(h.onPointerEnter=m=>{En&&m.pointerType==="mouse"||d(m,m.pointerType)},h.onPointerLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,m.pointerType)}):(h.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=m=>{!a.ignoreEmulatedMouseEvents&&!En&&d(m,"mouse"),a.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=m=>{!i&&m.currentTarget.contains(m.target)&&f(m,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[t,r,n,i,a]);return H0(()=>{i&&c({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function Ly(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=a0({isFocused:!1,isFocusVisible:t||Sl()}),[o,s]=C0(!1),[a,l]=C0(()=>i.current.isFocused&&i.current.isFocusVisible),c=P0(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=P0(m=>{i.current.isFocused=m,s(m),c()},[c]);Dy(m=>{i.current.isFocusVisible=m,c()},[],{isTextInput:r});let{focusProps:f}=Ny({isDisabled:n,onFocusChange:d}),{focusWithinProps:h}=$y({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?h:f}}var By=Object.defineProperty,Vy=(e,t,r)=>t in e?By(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P5=(e,t,r)=>(Vy(e,typeof t!="symbol"?t+"":t,r),r);let Hy=class{constructor(){P5(this,"current",this.detect()),P5(this,"handoffState","pending"),P5(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"}},l2=new Hy;function y3(e){return l2.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function s5(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function mt(){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 s5(()=>{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=mt();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 jt(){let[e]=C0(mt);return H0(()=>()=>e.dispose(),[e]),e}let se=(e,t)=>{l2.isServer?H0(e,t):P1(e,t)};function Wt(e){let t=a0(e);return se(()=>{t.current=e},[e]),t}let p0=function(e){let t=Wt(e);return Q.useCallback((...r)=>t.current(...r),[t])};function Uy(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 jy(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Wy({disabled:e=!1}={}){let t=a0(null),[r,n]=C0(!1),i=jt(),o=p0(()=>{t.current=null,n(!1),i.dispose()}),s=p0(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,n(!0);{let l=y3(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",c=>{if(t.current){let d=Uy(c);n(jy(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let qy=me(void 0);function uo(){return W0(qy)}function ii(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Je(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,Je),n}var s3=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(s3||{}),Et=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Et||{});function Re(){let e=zy();return P0(t=>Gy({mergeRefs:e,...t}),[e])}function Gy({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??Yy;let l=El(t,e);if(o)return Lr(l,r,n,s,a);let c=i??0;if(c&2){let{static:d=!1,...f}=l;if(d)return Lr(f,r,n,s,a)}if(c&1){let{unmount:d=!0,...f}=l;return Je(d?0:1,{0(){return null},1(){return Lr({...f,hidden:!0,style:{display:"none"}},r,n,s,a)}})}return Lr(l,r,n,s,a)}function Lr(e,t={},r,n,i){let{as:o=r,children:s,refName:a="ref",...l}=L5(e,["unmount","static"]),c=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 h=!1,m=[];for(let[p,v]of Object.entries(t))typeof v=="boolean"&&(h=!0),v===!0&&m.push(p.replace(/([A-Z])/g,b=>`-${b.toLowerCase()}`));if(h){f["data-headlessui-state"]=m.join(" ");for(let p of m)f[`data-${p}`]=""}}if(o===X0&&(Object.keys(vt(l)).length>0||Object.keys(vt(f)).length>0))if(!c3(d)||Array.isArray(d)&&d.length>1){if(Object.keys(vt(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(vt(l)).concat(Object.keys(vt(f))).map(h=>` - ${h}`).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(h=>` - ${h}`).join(`
|
|
47
47
|
`)].join(`
|
|
48
|
-
`))}else{let h=d.props,m=h==null?void 0:h.className,p=typeof m=="function"?(..._)=>ni(m(..._),l.className):ni(m,l.className),v=p?{className:p}:{},b=Sl(d.props,yt(P5(l,["ref"])));for(let _ in f)_ in b&&delete f[_];return Ti(d,Object.assign({},b,f,c,{ref:i(zy(d),c.ref)},v))}return u(o,Object.assign({},P5(l,["ref"]),o!==X0&&c,o!==X0&&f),d)}function qy(){let e=a0([]),t=P0(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 Gy(...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 Sl(...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 El(...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 Ee(e){var t;return Object.assign(Si(e),{displayName:(t=e.displayName)!=null?t:e.name})}function yt(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function P5(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function zy(e){return Q.version.split(".")[0]>="19"?e.props.ref:e.ref}function Yy(e,t,r){let[n,i]=C0(r),o=e!==void 0,s=a0(o),a=a0(!1),l=a0(!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,p0(c=>(o||i(c),t==null?void 0:t(c)))]}function Zy(e){let[t]=C0(e);return t}function Al(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))Nl(r,Tl(t,n),i);return r}function Tl(e,t){return e?e+"["+t+"]":t}function Nl(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())Nl(e,Tl(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,""]):Al(r,t,e)}function Ky(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 Jy="span";var s3=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(s3||{});function Xy(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 Re()({ourProps:o,theirProps:i,slot:{},defaultTag:Jy,name:"Hidden"})}let nr=Ee(Xy),Qy=me(null);function ev({children:e}){let t=W0(Qy);if(!t)return Q.createElement(Q.Fragment,null,e);let{target:r}=t;return r?$n(Q.createElement(Q.Fragment,null,e),r):null}function tv({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[o,s]=C0(null),a=Ut();return H0(()=>{if(n&&o)return a.addEventListener(o,"reset",n)},[o,t,n]),Q.createElement(ev,null,Q.createElement(rv,{setForm:s,formId:t}),Al(e).map(([l,c])=>Q.createElement(nr,{features:s3.Hidden,...yt({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:l,value:c,...i})})))}function rv({setForm:e,formId:t}){return H0(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:Q.createElement(nr,{features:s3.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:r=>{if(!r)return;let n=r.closest("form");n&&e(n)}})}let nv=me(void 0);function Ml(){return W0(nv)}function iv(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&&ov(r)?!1:n}function ov(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let kl=Symbol();function sv(e,t=!0){return Object.assign(e,{[kl]:t})}function He(...e){let t=a0(e);H0(()=>{t.current=e},[e]);let r=p0(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[kl]))?void 0:r}let s5=me(null);s5.displayName="DescriptionContext";function Il(){let e=W0(s5);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,Il),t}return e}function av(){var e,t;return(t=(e=W0(s5))==null?void 0:e.value)!=null?t:void 0}function lv(){let[e,t]=C0([]);return[e.length>0?e.join(" "):void 0,g0(()=>function(r){let n=p0(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=g0(()=>({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(s5.Provider,{value:i},r.children)},[t])]}let uv="p";function cv(e,t){let r=y1(),n=lo(),{id:i=`headlessui-description-${r}`,...o}=e,s=Il(),a=He(t);se(()=>s.register(i),[i,s.register]);let l=n||!1,c=g0(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return Re()({ourProps:d,theirProps:o,slot:c,defaultTag:uv,name:s.name||"Description"})}let dv=Ee(cv),fv=Object.assign(dv,{});var Te=(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))(Te||{});let a5=me(null);a5.displayName="LabelContext";function Rl(){let e=W0(a5);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,Rl),t}return e}function Ol(e){var t,r,n;let i=(r=(t=W0(a5))==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 hv({inherit:e=!1}={}){let t=Ol(),[r,n]=C0([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,g0(()=>function(o){let s=p0(l=>(n(c=>[...c,l]),()=>n(c=>{let d=c.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=g0(()=>({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(a5.Provider,{value:a},o.children)},[n])]}let mv="label";function pv(e,t){var r;let n=y1(),i=Rl(),o=Ml(),s=lo(),{id:a=`headlessui-label-${n}`,htmlFor:l=o??((r=i.props)==null?void 0:r.htmlFor),passive:c=!1,...d}=e,f=He(t);se(()=>i.register(a),[a,i.register]);let h=p0(b=>{let _=b.currentTarget;if(_ instanceof HTMLLabelElement&&b.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(b),_ instanceof HTMLLabelElement){let C=document.getElementById(_.htmlFor);if(C){let A=C.getAttribute("disabled");if(A==="true"||A==="")return;let N=C.getAttribute("aria-disabled");if(N==="true"||N==="")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})}}}),m=s||!1,p=g0(()=>({...i.slot,disabled:m}),[i.slot,m]),v={ref:f,...i.props,id:a,htmlFor:l,onClick:h};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in d&&delete d.onClick),Re()({ourProps:v,theirProps:d,slot:p,defaultTag:l?mv:"div",name:i.name||"Label"})}let gv=Ee(pv),wv=Object.assign(gv,{}),yv=me(()=>{});function vv({value:e,children:t}){return Q.createElement(yv.Provider,{value:e},t)}function bv(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 _v(e=bv){return P0((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 Cv(e){if(e===null)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function xv(e,t=!1){let[r,n]=y2(()=>({}),{}),i=g0(()=>Cv(e),[e,r]);return se(()=>{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 Sv=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 Dl(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 $l(e){return Dn(e.subscribe,e.getSnapshot,e.getSnapshot)}let Ev=new Sv(()=>Dl(()=>[],{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 y3(e,t){let r=Ev.get(t),n=y1(),i=$l(r);if(se(()=>{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 ii=new Map,K3=new Map;function hs(e){var t;let r=(t=K3.get(e))!=null?t:0;return K3.set(e,r+1),r!==0?()=>ms(e):(ii.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>ms(e))}function ms(e){var t;let r=(t=K3.get(e))!=null?t:1;if(r===1?K3.delete(e):K3.set(e,r-1),r!==1)return;let n=ii.get(e);n&&(n["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,ii.delete(e))}function Fl(e,{allowed:t,disallowed:r}={}){let n=y3(e,"inert-others");se(()=>{var i,o;if(!n)return;let s=ht();for(let l of(i=r==null?void 0:r())!=null?i:[])l&&s.add(hs(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let c=w3(l);if(!c)continue;let d=l.parentElement;for(;d&&d!==c.body;){for(let f of d.children)a.some(h=>f.contains(h))||s.add(hs(f));d=d.parentElement}}return s.dispose},[n,t,r])}function Pl(e,t,r){let n=jt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});H0(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=ht();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 En=["[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(","),Av=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var S1=(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))(S1||{}),oi=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(oi||{}),Tv=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Tv||{});function Ll(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(En)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Nv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Av)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var uo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(uo||{});function Bl(e,t=0){var r;return e===((r=w3(e))==null?void 0:r.body)?!1:Ke(t,{0(){return e.matches(En)},1(){let n=e;for(;n!==null;){if(n.matches(En))return!0;n=n.parentElement}return!1}})}var Mv=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Mv||{});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 tt(e){e==null||e.focus({preventScroll:!0})}let kv=["textarea","input"].join(",");function Iv(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,kv))!=null?r:!1}function Vl(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 Rv(e,t){return Z2(Ll(),t,{relativeTo:e})}function Z2(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?Vl(e):e:t&64?Nv(e):Ll(e);i.length>0&&s.length>1&&(s=s.filter(m=>!i.some(p=>p!=null&&"current"in p?(p==null?void 0:p.current)===m:p===m))),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")})(),c=t&32?{preventScroll:!0}:{},d=0,f=s.length,h;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}h=s[m],h==null||h.focus(c),d+=a}while(h!==o.activeElement);return t&6&&Iv(h)&&h.select(),2}function Hl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Ov(){return/Android/gi.test(window.navigator.userAgent)}function Dv(){return Hl()||Ov()}function $3(e,t,r,n){let i=jt(r);H0(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,n),()=>document.removeEventListener(t,o,n)},[e,t,n])}function Ul(e,t,r,n){let i=jt(r);H0(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,n),()=>window.removeEventListener(t,o,n)},[e,t,n])}const ps=30;function jl(e,t,r){let n=y3(e,"outside-click"),i=jt(r),o=P0(function(l,c){if(l.defaultPrevented)return;let d=c(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function h(m){return typeof m=="function"?h(m()):Array.isArray(m)||m instanceof Set?m:[m]}(t);for(let h of f)if(h!==null&&(h.contains(d)||l.composed&&l.composedPath().includes(h)))return;return!Bl(d,uo.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=a0(null);$3(n,"pointerdown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),$3(n,"mousedown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),$3(n,"click",l=>{Dv()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=a0({x:0,y:0});$3(n,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),$3(n,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-a.current.x)>=ps||Math.abs(c.y-a.current.y)>=ps))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),Ul(n,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function v3(...e){return g0(()=>w3(...e),[...e])}function Wl(e,t,r,n){let i=jt(r);H0(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function $v(e,t){return g0(()=>{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 Fv(){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 Pv(){return Hl()?{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=ht();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:c}=new URL(l.href),d=e.querySelector(c);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 Lv(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Bv(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let o2=Dl(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:ht(),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:Bv(r)},i=[Pv(),Fv(),Lv()];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)}});o2.subscribe(()=>{let e=o2.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)&&o2.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&o2.dispatch("TEARDOWN",r)}});function Vv(e,t,r=()=>({containers:[]})){let n=$l(o2),i=t?n.get(t):void 0,o=i?i.count>0:!1;return se(()=>{if(!(!t||!e))return o2.dispatch("PUSH",t,r),()=>o2.dispatch("POP",t,r)},[e,t]),o}function ql(e,t,r=()=>[document.body]){let n=y3(e,"scroll-lock");Vv(n,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function gs(e){return[e.screenX,e.screenY]}function Hv(){let e=a0([-1,-1]);return{wasMoved(t){let r=gs(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=gs(t)}}}function Uv(e=0){let[t,r]=C0(e),n=P0(l=>r(l),[t]),i=P0(l=>r(c=>c|l),[t]),o=P0(l=>(t&l)===l,[t]),s=P0(l=>r(c=>c&~l),[r]),a=P0(l=>r(c=>c^l),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var jv={},ws,ys;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ws=process==null?void 0:jv)==null?void 0:ws.NODE_ENV)==="test"&&typeof((ys=Element==null?void 0:Element.prototype)==null?void 0:ys.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 Wv=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Wv||{});function Gl(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function zl(e,t,r,n){let[i,o]=C0(r),{hasFlag:s,addFlag:a,removeFlag:l}=Uv(e&&i?3:0),c=a0(!1),d=a0(!1),f=Ut();return se(()=>{var h;if(e){if(r&&o(!0),!t){r&&a(3);return}return(h=n==null?void 0:n.start)==null||h.call(n,r),qv(t,{inFlight:c,prepare(){d.current?d.current=!1:d.current=c.current,c.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 m;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(c.current=!1,l(7),r||o(!1),(m=n==null?void 0:n.end)==null||m.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 qv(e,{prepare:t,run:r,done:n,inFlight:i}){let o=ht();return zv(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(Gv(e,n))})}),o.dispose}function Gv(e,t){var r,n;let i=ht();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 zv(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 co(e,t){let r=a0([]),n=p0(e);H0(()=>{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 l5(){return typeof window<"u"}function b3(e){return Yl(e)?(e.nodeName||"").toLowerCase():"#document"}function a1(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function H1(e){var t;return(t=(Yl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Yl(e){return l5()?e instanceof Node||e instanceof a1(e).Node:!1}function We(e){return l5()?e instanceof Element||e instanceof a1(e).Element:!1}function $1(e){return l5()?e instanceof HTMLElement||e instanceof a1(e).HTMLElement:!1}function vs(e){return!l5()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof a1(e).ShadowRoot}function xr(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=T1(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Yv(e){return["table","td","th"].includes(b3(e))}function u5(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function fo(e){const t=ho(),r=We(e)?T1(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 Zv(e){let t=It(e);for(;$1(t)&&!a3(t);){if(fo(t))return t;if(u5(t))return null;t=It(t)}return null}function ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function a3(e){return["html","body","#document"].includes(b3(e))}function T1(e){return a1(e).getComputedStyle(e)}function c5(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function It(e){if(b3(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vs(e)&&e.host||H1(e);return vs(t)?t.host:t}function Zl(e){const t=It(e);return a3(t)?e.ownerDocument?e.ownerDocument.body:e.body:$1(t)&&xr(t)?t:Zl(t)}function ir(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=Zl(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=a1(i);if(o){const a=si(s);return t.concat(s,s.visualViewport||[],xr(i)?i:[],a&&r?ir(a):[])}return t.concat(i,ir(i,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kv(){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 h2=Math.min,Le=Math.max,or=Math.round,Lr=Math.floor,I1=e=>({x:e,y:e}),Jv={left:"right",right:"left",bottom:"top",top:"bottom"},Xv={start:"end",end:"start"};function bs(e,t,r){return Le(e,h2(t,r))}function _3(e,t){return typeof e=="function"?e(t):e}function Rt(e){return e.split("-")[0]}function Sr(e){return e.split("-")[1]}function Kl(e){return e==="x"?"y":"x"}function Jl(e){return e==="y"?"height":"width"}function m2(e){return["top","bottom"].includes(Rt(e))?"y":"x"}function Xl(e){return Kl(m2(e))}function Qv(e,t,r){r===void 0&&(r=!1);const n=Sr(e),i=Xl(e),o=Jl(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=An(s)),[s,An(s)]}function eb(e){const t=An(e);return[ai(e),t,ai(t)]}function ai(e){return e.replace(/start|end/g,t=>Xv[t])}function tb(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 rb(e,t,r,n){const i=Sr(e);let o=tb(Rt(e),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(ai)))),o}function An(e){return e.replace(/left|right|bottom|top/g,t=>Jv[t])}function nb(e){return{top:0,right:0,bottom:0,left:0,...e}}function ib(e){return typeof e!="number"?nb(e):{top:e,right:e,bottom:e,left:e}}function Tn(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 _s(e,t,r){let{reference:n,floating:i}=e;const o=m2(t),s=Xl(t),a=Jl(s),l=Rt(t),c=o==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,h=n[a]/2-i[a]/2;let m;switch(l){case"top":m={x:d,y:n.y-i.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-i.width,y:f};break;default:m={x:n.x,y:n.y}}switch(Sr(t)){case"start":m[s]-=h*(r&&c?-1:1);break;case"end":m[s]+=h*(r&&c?-1:1);break}return m}const ob=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 c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=_s(c,n,l),h=n,m={},p=0;for(let v=0;v<a.length;v++){const{name:b,fn:_}=a[v],{x:C,y:A,data:N,reset:R}=await _({x:d,y:f,initialPlacement:n,placement:h,strategy:i,middlewareData:m,rects:c,platform:s,elements:{reference:e,floating:t}});d=C??d,f=A??f,m={...m,[b]:{...m[b],...N}},R&&p<=50&&(p++,typeof R=="object"&&(R.placement&&(h=R.placement),R.rects&&(c=R.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:d,y:f}=_s(c,h,l)),v=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:m}};async function d5(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=_3(t,e),p=ib(m),b=a[h?f==="floating"?"reference":"floating":f],_=Tn(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(b)))==null||r?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),C=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),N=await(o.isElement==null?void 0:o.isElement(A))?await(o.getScale==null?void 0:o.getScale(A))||{x:1,y:1}:{x:1,y:1},R=Tn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:A,strategy:l}):C);return{top:(_.top-R.top+p.top)/N.y,bottom:(R.bottom-_.bottom+p.bottom)/N.y,left:(_.left-R.left+p.left)/N.x,right:(R.right-_.right+p.right)/N.x}}const sb=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:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...b}=_3(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const _=Rt(i),C=m2(a),A=Rt(a)===a,N=await(l.isRTL==null?void 0:l.isRTL(c.floating)),R=h||(A||!v?[An(a)]:eb(a)),D=p!=="none";!h&&D&&R.push(...rb(a,v,p,N));const P=[a,...R],E=await d5(t,b),S=[];let k=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&S.push(E[_]),f){const j=Qv(i,s,N);S.push(E[j[0]],E[j[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every(j=>j<=0)){var M,O;const j=(((M=o.flip)==null?void 0:M.index)||0)+1,e0=P[j];if(e0)return{data:{index:j,overflows:k},reset:{placement:e0}};let Z=(O=k.filter(z=>z.overflows[0]<=0).sort((z,B)=>z.overflows[1]-B.overflows[1])[0])==null?void 0:O.placement;if(!Z)switch(m){case"bestFit":{var L;const z=(L=k.filter(B=>{if(D){const K=m2(B.placement);return K===C||K==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(K=>K>0).reduce((K,W)=>K+W,0)]).sort((B,K)=>B[1]-K[1])[0])==null?void 0:L[0];z&&(Z=z);break}case"initialPlacement":Z=a;break}if(i!==Z)return{reset:{placement:Z}}}return{}}}};async function ab(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Rt(r),a=Sr(r),l=m2(r)==="y",c=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=_3(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(m=a==="end"?p*-1:p),l?{x:m*d,y:h*c}:{x:h*c,y:m*d}}const lb=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 ab(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}}}}},ub=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:b=>{let{x:_,y:C}=b;return{x:_,y:C}}},...l}=_3(e,t),c={x:r,y:n},d=await d5(t,l),f=m2(Rt(i)),h=Kl(f);let m=c[h],p=c[f];if(o){const b=h==="y"?"top":"left",_=h==="y"?"bottom":"right",C=m+d[b],A=m-d[_];m=bs(C,m,A)}if(s){const b=f==="y"?"top":"left",_=f==="y"?"bottom":"right",C=p+d[b],A=p-d[_];p=bs(C,p,A)}const v=a.fn({...t,[h]:m,[f]:p});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[h]:o,[f]:s}}}}}},cb=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=()=>{},...c}=_3(e,t),d=await d5(t,c),f=Rt(i),h=Sr(i),m=m2(i)==="y",{width:p,height:v}=o.floating;let b,_;f==="top"||f==="bottom"?(b=f,_=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,b=h==="end"?"top":"bottom");const C=v-d.top-d.bottom,A=p-d.left-d.right,N=h2(v-d[b],C),R=h2(p-d[_],A),D=!t.middlewareData.shift;let P=N,E=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=A),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=C),D&&!h){const k=Le(d.left,0),M=Le(d.right,0),O=Le(d.top,0),L=Le(d.bottom,0);m?E=p-2*(k!==0||M!==0?k+M:Le(d.left,d.right)):P=v-2*(O!==0||L!==0?O+L:Le(d.top,d.bottom))}await l({...t,availableWidth:E,availableHeight:P});const S=await s.getDimensions(a.floating);return p!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function Ql(e){const t=T1(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=$1(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=or(r)!==o||or(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function mo(e){return We(e)?e:e.contextElement}function K2(e){const t=mo(e);if(!$1(t))return I1(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=Ql(t);let s=(o?or(r.width):r.width)/n,a=(o?or(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const db=I1(0);function e9(e){const t=a1(e);return!ho()||!t.visualViewport?db:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fb(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==a1(e)?!1:t}function p2(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=mo(e);let s=I1(1);t&&(n?We(n)&&(s=K2(n)):s=K2(e));const a=fb(o,r,n)?e9(o):I1(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const h=a1(o),m=n&&We(n)?a1(n):n;let p=h,v=si(p);for(;v&&n&&m!==p;){const b=K2(v),_=v.getBoundingClientRect(),C=T1(v),A=_.left+(v.clientLeft+parseFloat(C.paddingLeft))*b.x,N=_.top+(v.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,f*=b.y,l+=A,c+=N,p=a1(v),v=si(p)}}return Tn({width:d,height:f,x:l,y:c})}function po(e,t){const r=c5(e).scrollLeft;return t?t.left+r:p2(H1(e)).left+r}function t9(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:po(e,n)),o=n.top+t.scrollTop;return{x:i,y:o}}function hb(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",s=H1(n),a=t?u5(t.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=I1(1);const d=I1(0),f=$1(n);if((f||!f&&!o)&&((b3(n)!=="body"||xr(s))&&(l=c5(n)),$1(n))){const m=p2(n);c=K2(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}const h=s&&!f&&!o?t9(s,l,!0):I1(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:r.y*c.y-l.scrollTop*c.y+d.y+h.y}}function mb(e){return Array.from(e.getClientRects())}function pb(e){const t=H1(e),r=c5(e),n=e.ownerDocument.body,i=Le(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Le(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+po(e);const a=-r.scrollTop;return T1(n).direction==="rtl"&&(s+=Le(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}function gb(e,t){const r=a1(e),n=H1(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=ho();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function wb(e,t){const r=p2(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=$1(e)?K2(e):I1(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=n*o.y;return{width:s,height:a,x:l,y:c}}function Cs(e,t,r){let n;if(t==="viewport")n=gb(e,r);else if(t==="document")n=pb(H1(e));else if(We(t))n=wb(t,r);else{const i=e9(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Tn(n)}function r9(e,t){const r=It(e);return r===t||!We(r)||a3(r)?!1:T1(r).position==="fixed"||r9(r,t)}function yb(e,t){const r=t.get(e);if(r)return r;let n=ir(e,[],!1).filter(a=>We(a)&&b3(a)!=="body"),i=null;const o=T1(e).position==="fixed";let s=o?It(e):e;for(;We(s)&&!a3(s);){const a=T1(s),l=fo(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xr(s)&&!l&&r9(e,s))?n=n.filter(d=>d!==s):i=a,s=It(s)}return t.set(e,n),n}function vb(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=[...r==="clippingAncestors"?u5(t)?[]:yb(t,this._c):[].concat(r),n],a=s[0],l=s.reduce((c,d)=>{const f=Cs(t,d,i);return c.top=Le(f.top,c.top),c.right=h2(f.right,c.right),c.bottom=h2(f.bottom,c.bottom),c.left=Le(f.left,c.left),c},Cs(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bb(e){const{width:t,height:r}=Ql(e);return{width:t,height:r}}function _b(e,t,r){const n=$1(t),i=H1(t),o=r==="fixed",s=p2(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=I1(0);if(n||!n&&!o)if((b3(t)!=="body"||xr(i))&&(a=c5(t)),n){const h=p2(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&(l.x=po(i));const c=i&&!n&&!o?t9(i,a):I1(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function L5(e){return T1(e).position==="static"}function xs(e,t){if(!$1(e)||T1(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return H1(e)===r&&(r=r.ownerDocument.body),r}function n9(e,t){const r=a1(e);if(u5(e))return r;if(!$1(e)){let i=It(e);for(;i&&!a3(i);){if(We(i)&&!L5(i))return i;i=It(i)}return r}let n=xs(e,t);for(;n&&Yv(n)&&L5(n);)n=xs(n,t);return n&&a3(n)&&L5(n)&&!fo(n)?r:n||Zv(e)||r}const Cb=async function(e){const t=this.getOffsetParent||n9,r=this.getDimensions,n=await r(e.floating);return{reference:_b(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function xb(e){return T1(e).direction==="rtl"}const Sb={convertOffsetParentRelativeRectToViewportRelativeRect:hb,getDocumentElement:H1,getClippingRect:vb,getOffsetParent:n9,getElementRects:Cb,getClientRects:mb,getDimensions:bb,getScale:K2,isElement:We,isRTL:xb};function i9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Eb(e,t){let r=null,n;const i=H1(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 c=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=c;if(a||t(),!h||!m)return;const p=Lr(f),v=Lr(i.clientWidth-(d+h)),b=Lr(i.clientHeight-(f+m)),_=Lr(d),A={rootMargin:-p+"px "+-v+"px "+-b+"px "+-_+"px",threshold:Le(0,h2(1,l))||1};let N=!0;function R(D){const P=D[0].intersectionRatio;if(P!==l){if(!N)return s();P?s(!1,P):n=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!i9(c,e.getBoundingClientRect())&&s(),N=!1}try{r=new IntersectionObserver(R,{...A,root:i.ownerDocument})}catch{r=new IntersectionObserver(R,A)}r.observe(e)}return s(!0),o}function Ab(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,c=mo(e),d=i||o?[...c?ir(c):[],...ir(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",r,{passive:!0}),o&&_.addEventListener("resize",r)});const f=c&&a?Eb(c,r):null;let h=-1,m=null;s&&(m=new ResizeObserver(_=>{let[C]=_;C&&C.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var A;(A=m)==null||A.observe(t)})),r()}),c&&!l&&m.observe(c),m.observe(t));let p,v=l?p2(e):null;l&&b();function b(){const _=p2(e);v&&!i9(v,_)&&r(),v=_,p=requestAnimationFrame(b)}return r(),()=>{var _;d.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),f==null||f(),(_=m)==null||_.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const B5=d5,Tb=lb,Nb=ub,Mb=sb,kb=cb,Ib=(e,t,r)=>{const n=new Map,i={platform:Sb,...r},o={...i.platform,_c:n};return ob(e,t,{...i,platform:o})};var Kr=typeof document<"u"?F1:H0;function Nn(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(!Nn(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)&&!Nn(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function o9(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ss(e,t){const r=o9(e);return Math.round(t*r)/r}function V5(e){const t=a0(e);return Kr(()=>{t.current=e}),t}function Rb(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:c}=e,[d,f]=C0({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=C0(n);Nn(h,n)||m(n);const[p,v]=C0(null),[b,_]=C0(null),C=P0(B=>{B!==D.current&&(D.current=B,v(B))},[]),A=P0(B=>{B!==P.current&&(P.current=B,_(B))},[]),N=o||p,R=s||b,D=a0(null),P=a0(null),E=a0(d),S=l!=null,k=V5(l),M=V5(i),O=V5(c),L=P0(()=>{if(!D.current||!P.current)return;const B={placement:t,strategy:r,middleware:h};M.current&&(B.platform=M.current),Ib(D.current,P.current,B).then(K=>{const W={...K,isPositioned:O.current!==!1};j.current&&!Nn(E.current,W)&&(E.current=W,o1(()=>{f(W)}))})},[h,t,r,M,O]);Kr(()=>{c===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(B=>({...B,isPositioned:!1})))},[c]);const j=a0(!1);Kr(()=>(j.current=!0,()=>{j.current=!1}),[]),Kr(()=>{if(N&&(D.current=N),R&&(P.current=R),N&&R){if(k.current)return k.current(N,R,L);L()}},[N,R,L,k,S]);const e0=g0(()=>({reference:D,floating:P,setReference:C,setFloating:A}),[C,A]),Z=g0(()=>({reference:N,floating:R}),[N,R]),z=g0(()=>{const B={position:r,left:0,top:0};if(!Z.floating)return B;const K=Ss(Z.floating,d.x),W=Ss(Z.floating,d.y);return a?{...B,transform:"translate("+K+"px, "+W+"px)",...o9(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:K,top:W}},[r,a,Z.floating,d.x,d.y]);return g0(()=>({...d,update:L,refs:e0,elements:Z,floatingStyles:z}),[d,L,e0,Z,z])}const s9=(e,t)=>({...Tb(e),options:[e,t]}),Ob=(e,t)=>({...Nb(e),options:[e,t]}),Db=(e,t)=>({...Mb(e),options:[e,t]}),$b=(e,t)=>({...kb(e),options:[e,t]}),a9={...nn},Fb=a9.useInsertionEffect,Pb=Fb||(e=>e());function l9(e){const t=a0(()=>{});return Pb(()=>{t.current=e}),P0(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 li=typeof document<"u"?F1:H0;let Es=!1,Lb=0;const As=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Lb++;function Bb(){const[e,t]=C0(()=>Es?As():void 0);return li(()=>{e==null&&t(As())},[]),H0(()=>{Es=!0},[]),e}const Vb=a9.useId,Hb=Vb||Bb;function Ub(){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 jb=me(null),Wb=me(null),qb=()=>{var e;return((e=W0(jb))==null?void 0:e.id)||null},Gb=()=>W0(Wb),zb="data-floating-ui-focusable";function Yb(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=Hb(),o=a0({}),[s]=C0(()=>Ub()),a=qb()!=null,[l,c]=C0(n.reference),d=l9((m,p,v)=>{o.current.openEvent=m?p:void 0,s.emit("openchange",{open:m,event:p,reason:v,nested:a}),r==null||r(m,p,v)}),f=g0(()=>({setPositionReference:c}),[]),h=g0(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return g0(()=>({dataRef:o,open:t,onOpenChange:d,elements:h,events:s,floatingId:i,refs:f}),[t,d,h,s,i,f])}function Zb(e){e===void 0&&(e={});const{nodeId:t}=e,r=Yb({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[o,s]=C0(null),[a,l]=C0(null),d=(i==null?void 0:i.domReference)||o,f=a0(null),h=Gb();li(()=>{d&&(f.current=d)},[d]);const m=Rb({...e,elements:{...i,...a&&{reference:a}}}),p=P0(A=>{const N=We(A)?{getBoundingClientRect:()=>A.getBoundingClientRect(),contextElement:A}:A;l(N),m.refs.setReference(N)},[m.refs]),v=P0(A=>{(We(A)||A===null)&&(f.current=A,s(A)),(We(m.refs.reference.current)||m.refs.reference.current===null||A!==null&&!We(A))&&m.refs.setReference(A)},[m.refs]),b=g0(()=>({...m.refs,setReference:v,setPositionReference:p,domReference:f}),[m.refs,v,p]),_=g0(()=>({...m.elements,domReference:d}),[m.elements,d]),C=g0(()=>({...m,...n,refs:b,elements:_,nodeId:t}),[m,b,_,t,n]);return li(()=>{n.dataRef.current.floatingContext=C;const A=h==null?void 0:h.nodesRef.current.find(N=>N.id===t);A&&(A.context=C)}),g0(()=>({...m,context:C,refs:b,elements:_}),[m,b,_,C])}const Ts="active",Ns="selected";function H5(e,t,r){const n=new Map,i=r==="item";let o=e;if(i&&e){const{[Ts]:s,[Ns]:a,...l}=e;o=l}return{...r==="floating"&&{tabIndex:-1,[zb]:""},...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[c,d]=l;if(!(i&&[Ts,Ns].includes(c)))if(c.indexOf("on")===0){if(n.has(c)||n.set(c,[]),typeof d=="function"){var f;(f=n.get(c))==null||f.push(d),s[c]=function(){for(var h,m=arguments.length,p=new Array(m),v=0;v<m;v++)p[v]=arguments[v];return(h=n.get(c))==null?void 0:h.map(b=>b(...p)).find(b=>b!==void 0)}}}else s[c]=d}),s),{})}}function Kb(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=P0(a=>H5(a,e,"reference"),t),o=P0(a=>H5(a,e,"floating"),r),s=P0(a=>H5(a,e,"item"),n);return g0(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Ms(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Jb=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:c,...d}=_3(e,t),{rects:f,elements:{floating:h}}=t,m=r.current[s],p=(c==null?void 0:c.current)||h,v=h.clientTop||p.clientTop,b=h.clientTop!==0,_=p.clientTop!==0,C=h===p;if(!m)return{};const A={...t,...await s9(-m.offsetTop-h.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},N=await B5(Ms(A,p.scrollHeight+v+h.clientTop),d),R=await B5(A,{...d,elementContext:"reference"}),D=Le(0,N.top),P=A.y+D,k=(p.scrollHeight>p.clientHeight?M=>M:or)(Le(0,p.scrollHeight+(b&&C||_?v*2:0)-D-Le(0,N.bottom)));if(p.style.maxHeight=k+"px",p.scrollTop=D,i){const M=p.offsetHeight<m.offsetHeight*h2(a,r.current.length)-1||R.top>=-l||R.bottom>=-l;o1(()=>i(M))}return n&&(n.current=await B5(Ms({...A,y:P},p.offsetHeight+v+h.clientTop),d)),{y:P}}});function Xb(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=l9(a),c=a0(!1),d=a0(null),f=a0(null);H0(()=>{if(!i)return;function m(v){if(v.ctrlKey||!p||o.current==null)return;const b=v.deltaY,_=o.current.top>=-.5,C=o.current.bottom>=-.5,A=p.scrollHeight-p.clientHeight,N=b<0?-1:1,R=b<0?"max":"min";p.scrollHeight<=p.clientHeight||(!_&&b>0||!C&&b<0?(v.preventDefault(),o1(()=>{l(D=>D+Math[R](b,A*N))})):/firefox/i.test(Kv())&&(p.scrollTop+=b))}const p=(s==null?void 0:s.current)||n.floating;if(r&&p)return p.addEventListener("wheel",m),requestAnimationFrame(()=>{d.current=p.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,p.removeEventListener("wheel",m)}},[i,r,n.floating,o,s,l]);const h=g0(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const m=(s==null?void 0:s.current)||n.floating;if(!(!o.current||!m||!c.current)){if(d.current!==null){const p=m.scrollTop-d.current;(o.current.bottom<-.5&&p<-1||o.current.top<-.5&&p>1)&&o1(()=>l(v=>v+p))}requestAnimationFrame(()=>{d.current=m.scrollTop})}}}),[n.floating,l,o,s]);return g0(()=>i?{floating:h}:{},[i,h])}let C3=me({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});C3.displayName="FloatingContext";let go=me(null);go.displayName="PlacementContext";function Qb(e){return g0(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function e_(){return W0(C3).setReference}function t_(){return W0(C3).getReferenceProps}function r_(){let{getFloatingProps:e,slot:t}=W0(C3);return P0((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor}),[e,t])}function n_(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=W0(go),r=g0(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);se(()=>{t==null||t(r??null)},[t,r]);let n=W0(C3);return g0(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}let ks=4;function i_({children:e,enabled:t=!0}){let[r,n]=C0(null),[i,o]=C0(0),s=a0(null),[a,l]=C0(null);o_(a);let c=t&&r!==null&&a!==null,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:p}=s_(r,a),[v,b="center"]=d.split(" ");se(()=>{c&&o(0)},[c]);let{refs:_,floatingStyles:C,context:A}=Zb({open:c,placement:v==="selection"?b==="center"?"bottom":`bottom-${b}`:b==="center"?`${v}`:`${v}-${b}`,strategy:"absolute",transform:!1,middleware:[s9({mainAxis:v==="selection"?0:f,crossAxis:h}),Ob({padding:m}),v!=="selection"&&Db({padding:m}),v==="selection"&&p?Jb({...p,padding:m,overflowRef:s,offset:i,minItemsVisible:ks,referenceOverflowThreshold:m,onFallbackChange(M){var O,L;if(!M)return;let j=A.elements.floating;if(!j)return;let e0=parseFloat(getComputedStyle(j).scrollPaddingBottom)||0,Z=Math.min(ks,j.childElementCount),z=0,B=0;for(let K of(L=(O=A.elements.floating)==null?void 0:O.childNodes)!=null?L:[])if(K instanceof HTMLElement){let W=K.offsetTop,t0=W+K.clientHeight+e0,Y=j.scrollTop,$=Y+j.clientHeight;if(W>=Y&&t0<=$)Z--;else{B=Math.max(0,Math.min(t0,$)-Math.max(W,Y)),z=K.clientHeight;break}}Z>=1&&o(K=>{let W=z*Z-B+e0;return K>=W?K:W})}}):null,$b({padding:m,apply({availableWidth:M,availableHeight:O,elements:L}){Object.assign(L.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${O}px)`})}})].filter(Boolean),whileElementsMounted:Ab}),[N=v,R=b]=A.placement.split("-");v==="selection"&&(N="selection");let D=g0(()=>({anchor:[N,R].filter(Boolean).join(" ")}),[N,R]),P=Xb(A,{overflowRef:s,onChange:o}),{getReferenceProps:E,getFloatingProps:S}=Kb([P]),k=p0(M=>{l(M),_.setFloating(M)});return u(go.Provider,{value:n},u(C3.Provider,{value:{setFloating:k,setReference:_.setReference,styles:C,getReferenceProps:E,getFloatingProps:S,slot:D}},e))}function o_(e){se(()=>{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 s_(e,t){var r,n,i;let o=U5((r=e==null?void 0:e.gap)!=null?r:"var(--anchor-gap, 0)",t),s=U5((n=e==null?void 0:e.offset)!=null?n:"var(--anchor-offset, 0)",t),a=U5((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function U5(e,t,r=void 0){let n=Ut(),i=p0((l,c)=>{if(l==null)return[r,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!c)return[r,null];let d=Is(l,c);return[d,f=>{let h=u9(l);{let m=h.map(p=>window.getComputedStyle(c).getPropertyValue(p));n.requestAnimationFrame(function p(){n.nextFrame(p);let v=!1;for(let[_,C]of h.entries()){let A=window.getComputedStyle(c).getPropertyValue(C);if(m[_]!==A){m[_]=A,v=!0;break}}if(!v)return;let b=Is(l,c);d!==b&&(f(b),d=b)})}return n.dispose}]}return[r,null]}),o=g0(()=>i(e,t)[0],[e,t]),[s=o,a]=C0();return se(()=>{let[l,c]=i(e,t);if(a(l),!!c)return c(a)},[e,t]),s}function u9(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,...u9(i)]:[n]}return[]}function Is(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 a_(e,t){let[r,n]=C0(t);return!e&&r!==t&&n(t),e?r:t}let f5=me(null);f5.displayName="OpenClosedContext";var qe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qe||{});function Er(){return W0(f5)}function c9({value:e,children:t}){return Q.createElement(f5.Provider,{value:e},t)}function l_({children:e}){return Q.createElement(f5.Provider,{value:null},e)}function u_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let _t=[];u_(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||_t[0]===t.target)return;let r=t.target;r=r.closest(En),_t.unshift(r??t.target),_t=_t.filter(n=>n!=null&&n.isConnected),_t.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 c_(e){throw new Error("Unexpected object: "+e)}var Ne=(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))(Ne||{});function j5(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:c_(e)}}function d9(e){let t=p0(e),r=a0(!1);H0(()=>(r.current=!1,()=>{r.current=!0,o5(()=>{r.current&&t()})}),[t])}function d_(){let e=typeof document>"u";return"useSyncExternalStore"in nn?(t=>t.useSyncExternalStore)(nn)(()=>()=>{},()=>!1,()=>!e):!1}function Ar(){let e=d_(),[t,r]=C0(a2.isHandoffComplete);return t&&a2.isHandoffComplete===!1&&r(!1),H0(()=>{t!==!0&&r(!0)},[t]),H0(()=>a2.handoff(),[]),e?!1:t}let f9=me(!1);function f_(){return W0(f9)}function Rs(e){return Q.createElement(f9.Provider,{value:e.force},e.children)}function h_(e){let t=f_(),r=W0(m9),n=v3(e),[i,o]=C0(()=>{var s;if(!t&&r!==null)return(s=r.current)!=null?s:null;if(a2.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 H0(()=>{i!==null&&(n!=null&&n.body.contains(i)||n==null||n.body.appendChild(i))},[i,n]),H0(()=>{t||r!==null&&o(r.current)},[r,o,t]),i}let h9=X0,m_=Ee(function(e,t){let r=e,n=a0(null),i=He(sv(f=>{n.current=f}),t),o=v3(n),s=h_(n),[a]=C0(()=>{var f;return a2.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=W0(ui),c=Ar();se(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),se(()=>{if(a&&l)return l.register(a)},[l,a]),d9(()=>{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=Re();return c?!s||!a?null:$n(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:h9,name:"Portal"}),a):null});function p_(e,t){let r=He(t),{enabled:n=!0,...i}=e,o=Re();return n?Q.createElement(m_,{...i,ref:r}):o({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:h9,name:"Portal"})}let g_=X0,m9=me(null);function w_(e,t){let{target:r,...n}=e,i={ref:He(t)},o=Re();return Q.createElement(m9.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:g_,name:"Popover.Group"}))}let ui=me(null);function y_(){let e=W0(ui),t=a0([]),r=p0(o=>(t.current.push(o),e&&e.register(o),()=>n(o))),n=p0(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=g0(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,g0(()=>function({children:o}){return Q.createElement(ui.Provider,{value:i},o)},[i])]}let v_=Ee(p_),p9=Ee(w_),g9=Object.assign(v_,{Group:p9});function b_(e,t=typeof document<"u"?document.defaultView:null,r){let n=y3(e,"escape");Wl(t,"keydown",i=>{n&&(i.defaultPrevented||i.key===Te.Escape&&r(i))})}function __(){var e;let[t]=C0(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=C0((e=t==null?void 0:t.matches)!=null?e:!1);return se(()=>{if(!t)return;function i(o){n(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),r}function C_({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=v3(r),i=p0(()=>{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(c=>l.contains(c))||a.push(l));return a});return{resolveContainers:i,contains:p0(o=>i().some(s=>s.contains(o)))}}let w9=me(null);function Os({children:e,node:t}){let[r,n]=C0(null),i=y9(t??r);return Q.createElement(w9.Provider,{value:i},e,i===null&&Q.createElement(nr,{features:s3.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=w3(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 y9(e=null){var t;return(t=W0(w9))!=null?t:e}function wo(){let e=a0(!1);return se(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var W3=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(W3||{});function x_(){let e=a0(0);return Ul(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function v9(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 S_="div";var r2=(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))(r2||{});function E_(e,t){let r=a0(null),n=He(r,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;Ar()||(a=0);let c=v3(r);M_(a,{ownerDocument:c});let d=k_(a,{ownerDocument:c,container:r,initialFocus:i,initialFocusFallback:o});I_(a,{ownerDocument:c,container:r,containers:s,previousActiveElement:d});let f=x_(),h=p0(C=>{let A=r.current;A&&(N=>N())(()=>{Ke(f.current,{[W3.Forwards]:()=>{Z2(A,S1.First,{skipElements:[C.relatedTarget,o]})},[W3.Backwards]:()=>{Z2(A,S1.Last,{skipElements:[C.relatedTarget,o]})}})})}),m=y3(!!(a&2),"focus-trap#tab-lock"),p=Ut(),v=a0(!1),b={ref:n,onKeyDown(C){C.key=="Tab"&&(v.current=!0,p.requestAnimationFrame(()=>{v.current=!1}))},onBlur(C){if(!(a&4))return;let A=v9(s);r.current instanceof HTMLElement&&A.add(r.current);let N=C.relatedTarget;N instanceof HTMLElement&&N.dataset.headlessuiFocusGuard!=="true"&&(b9(A,N)||(v.current?Z2(r.current,Ke(f.current,{[W3.Forwards]:()=>S1.Next,[W3.Backwards]:()=>S1.Previous})|S1.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&tt(C.target)))}},_=Re();return Q.createElement(Q.Fragment,null,m&&Q.createElement(nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:s3.Focusable}),_({ourProps:b,theirProps:l,defaultTag:S_,name:"FocusTrap"}),m&&Q.createElement(nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:s3.Focusable}))}let A_=Ee(E_),T_=Object.assign(A_,{features:r2});function N_(e=!0){let t=a0(_t.slice());return co(([r],[n])=>{n===!0&&r===!1&&o5(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=_t.slice())},[e,_t,t]),p0(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function M_(e,{ownerDocument:t}){let r=!!(e&8),n=N_(r);co(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&tt(n())},[r]),d9(()=>{r&&tt(n())})}function k_(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let o=a0(null),s=y3(!!(e&1),"focus-trap#initial-focus"),a=wo();return co(()=>{if(e===0)return;if(!s){i!=null&&i.current&&tt(i.current);return}let l=r.current;l&&o5(()=>{if(!a.current)return;let c=t==null?void 0:t.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===c){o.current=c;return}}else if(l.contains(c)){o.current=c;return}if(n!=null&&n.current)tt(n.current);else{if(e&16){if(Z2(l,S1.First|S1.AutoFocus)!==oi.Error)return}else if(Z2(l,S1.First)!==oi.Error)return;if(i!=null&&i.current&&(tt(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 I_(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let o=wo(),s=!!(e&4);Wl(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=v9(n);r.current instanceof HTMLElement&&l.add(r.current);let c=i.current;if(!c)return;let d=a.target;d&&d instanceof HTMLElement?b9(l,d)?(i.current=d,tt(d)):(a.preventDefault(),a.stopPropagation(),tt(c)):tt(i.current)},!0)}function b9(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function _9(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:x9)!==X0||Q.Children.count(e.children)===1}let h5=me(null);h5.displayName="TransitionContext";var R_=(e=>(e.Visible="visible",e.Hidden="hidden",e))(R_||{});function O_(){let e=W0(h5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function D_(){let e=W0(m5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let m5=me(null);m5.displayName="NestingContext";function p5(e){return"children"in e?p5(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function C9(e,t){let r=jt(e),n=a0([]),i=wo(),o=Ut(),s=p0((m,p=St.Hidden)=>{let v=n.current.findIndex(({el:b})=>b===m);v!==-1&&(Ke(p,{[St.Unmount](){n.current.splice(v,1)},[St.Hidden](){n.current[v].state="hidden"}}),o.microTask(()=>{var b;!p5(n)&&i.current&&((b=r.current)==null||b.call(r))}))}),a=p0(m=>{let p=n.current.find(({el:v})=>v===m);return p?p.state!=="visible"&&(p.state="visible"):n.current.push({el:m,state:"visible"}),()=>s(m,St.Unmount)}),l=a0([]),c=a0(Promise.resolve()),d=a0({enter:[],leave:[]}),f=p0((m,p,v)=>{l.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([b])=>b!==m)),t==null||t.chains.current[p].push([m,new Promise(b=>{l.current.push(b)})]),t==null||t.chains.current[p].push([m,new Promise(b=>{Promise.all(d.current[p].map(([_,C])=>C)).then(()=>b())})]),p==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>v(p)):v(p)}),h=p0((m,p,v)=>{Promise.all(d.current[p].splice(0).map(([b,_])=>_)).then(()=>{var b;(b=l.current.shift())==null||b()}).then(()=>v(p))});return g0(()=>({children:n,register:a,unregister:s,onStart:f,onStop:h,wait:c,chains:d}),[a,s,n,f,h,d,c])}let x9=X0,S9=o3.RenderStrategy;function $_(e,t){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:c,enterFrom:d,enterTo:f,entered:h,leave:m,leaveFrom:p,leaveTo:v,...b}=e,[_,C]=C0(null),A=a0(null),N=_9(e),R=He(...N?[A,t,C]:t===null?[]:[t]),D=(r=b.unmount)==null||r?St.Unmount:St.Hidden,{show:P,appear:E,initial:S}=O_(),[k,M]=C0(P?"visible":"hidden"),O=D_(),{register:L,unregister:j}=O;se(()=>L(A),[L,A]),se(()=>{if(D===St.Hidden&&A.current){if(P&&k!=="visible"){M("visible");return}return Ke(k,{hidden:()=>j(A),visible:()=>L(A)})}},[k,A,L,j,P,D]);let e0=Ar();se(()=>{if(N&&e0&&k==="visible"&&A.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[A,k,e0,N]);let Z=S&&!E,z=E&&P&&S,B=a0(!1),K=C9(()=>{B.current||(M("hidden"),j(A))},O),W=p0(I0=>{B.current=!0;let J=I0?"enter":"leave";K.onStart(A,J,H=>{H==="enter"?o==null||o():H==="leave"&&(a==null||a())})}),t0=p0(I0=>{let J=I0?"enter":"leave";B.current=!1,K.onStop(A,J,H=>{H==="enter"?s==null||s():H==="leave"&&(l==null||l())}),J==="leave"&&!p5(K)&&(M("hidden"),j(A))});H0(()=>{N&&i||(W(P),t0(P))},[P,N,i]);let Y=!(!i||!N||!e0||Z),[,$]=zl(Y,_,P,{start:W,end:t0}),u0=yt({ref:R,className:((n=ni(b.className,z&&c,z&&d,$.enter&&c,$.enter&&$.closed&&d,$.enter&&!$.closed&&f,$.leave&&m,$.leave&&!$.closed&&p,$.leave&&$.closed&&v,!$.transition&&P&&h))==null?void 0:n.trim())||void 0,...Gl($)}),h0=0;k==="visible"&&(h0|=qe.Open),k==="hidden"&&(h0|=qe.Closed),$.enter&&(h0|=qe.Opening),$.leave&&(h0|=qe.Closing);let T0=Re();return Q.createElement(m5.Provider,{value:K},Q.createElement(c9,{value:h0},T0({ourProps:u0,theirProps:b,defaultTag:x9,features:S9,visible:k==="visible",name:"Transition.Child"})))}function F_(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=a0(null),a=_9(e),l=He(...a?[s,t]:t===null?[]:[t]);Ar();let c=Er();if(r===void 0&&c!==null&&(r=(c&qe.Open)===qe.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=C0(r?"visible":"hidden"),h=C9(()=>{r||f("hidden")}),[m,p]=C0(!0),v=a0([r]);se(()=>{m!==!1&&v.current[v.current.length-1]!==r&&(v.current.push(r),p(!1))},[v,r]);let b=g0(()=>({show:r,appear:n,initial:m}),[r,n,m]);se(()=>{r?f("visible"):!p5(h)&&s.current!==null&&f("hidden")},[r,h]);let _={unmount:i},C=p0(()=>{var R;m&&p(!1),(R=e.beforeEnter)==null||R.call(e)}),A=p0(()=>{var R;m&&p(!1),(R=e.beforeLeave)==null||R.call(e)}),N=Re();return Q.createElement(m5.Provider,{value:h},Q.createElement(h5.Provider,{value:b},N({ourProps:{..._,as:X0,children:Q.createElement(E9,{ref:l,..._,...o,beforeEnter:C,beforeLeave:A})},theirProps:{},defaultTag:X0,features:S9,visible:d==="visible",name:"Transition"})))}function P_(e,t){let r=W0(h5)!==null,n=Er()!==null;return Q.createElement(Q.Fragment,null,!r&&n?Q.createElement(ci,{ref:t,...e}):Q.createElement(E9,{ref:t,...e}))}let ci=Ee(F_),E9=Ee($_),yo=Ee(P_),A9=Object.assign(ci,{Child:yo,Root:ci});var L_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(L_||{}),B_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(B_||{});let V_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},vo=me(null);vo.displayName="DialogContext";function g5(e){let t=W0(vo);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,g5),r}return t}function H_(e,t){return Ke(t.type,V_,e,t)}let Ds=Ee(function(e,t){let r=y1(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:c=!1,unmount:d=!1,...f}=e,h=a0(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(h.current||(h.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let m=Er();i===void 0&&m!==null&&(i=(m&qe.Open)===qe.Open);let p=a0(null),v=He(p,t),b=v3(p),_=i?0:1,[C,A]=y2(H_,{titleId:null,descriptionId:null,panelRef:Rn()}),N=p0(()=>o(!1)),R=p0(t0=>A({type:0,id:t0})),D=Ar()?_===0:!1,[P,E]=y_(),S={get current(){var t0;return(t0=C.panelRef.current)!=null?t0:p.current}},k=y9(),{resolveContainers:M}=C_({mainTreeNode:k,portals:P,defaultContainers:[S]}),O=m!==null?(m&qe.Closing)===qe.Closing:!1;Fl(c||O?!1:D,{allowed:p0(()=>{var t0,Y;return[(Y=(t0=p.current)==null?void 0:t0.closest("[data-headlessui-portal]"))!=null?Y:null]}),disallowed:p0(()=>{var t0;return[(t0=k==null?void 0:k.closest("body > *:not(#headlessui-portal-root)"))!=null?t0:null]})}),jl(D,M,t0=>{t0.preventDefault(),N()}),b_(D,b==null?void 0:b.defaultView,t0=>{t0.preventDefault(),t0.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),N()}),ql(c||O?!1:D,b,M),Pl(D,p,N);let[L,j]=lv(),e0=g0(()=>[{dialogState:_,close:N,setTitleId:R,unmount:d},C],[_,C,N,R,d]),Z=g0(()=>({open:_===0}),[_]),z={ref:v,id:n,role:a,tabIndex:-1,"aria-modal":c?void 0:_===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":L,unmount:d},B=!__(),K=r2.None;D&&!c&&(K|=r2.RestoreFocus,K|=r2.TabLock,l&&(K|=r2.AutoFocus),B&&(K|=r2.InitialFocus));let W=Re();return Q.createElement(l_,null,Q.createElement(Rs,{force:!0},Q.createElement(g9,null,Q.createElement(vo.Provider,{value:e0},Q.createElement(p9,{target:p},Q.createElement(Rs,{force:!1},Q.createElement(j,{slot:Z},Q.createElement(E,null,Q.createElement(T_,{initialFocus:s,initialFocusFallback:p,containers:M,features:K},Q.createElement(vv,{value:N},W({ourProps:z,theirProps:f,slot:Z,defaultTag:U_,features:j_,visible:_===0,name:"Dialog"})))))))))))}),U_="div",j_=o3.RenderStrategy|o3.Static;function W_(e,t){let{transition:r=!1,open:n,...i}=e,o=Er(),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(Os,null,Q.createElement(A9,{show:n,transition:r,unmount:i.unmount},Q.createElement(Ds,{ref:t,...i}))):Q.createElement(Os,null,Q.createElement(Ds,{ref:t,open:n,...i}))}let q_="div";function G_(e,t){let r=y1(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=g5("Dialog.Panel"),c=He(t,l.panelRef),d=g0(()=>({open:s===0}),[s]),f=p0(b=>{b.stopPropagation()}),h={ref:c,id:n,onClick:f},m=i?yo:X0,p=i?{unmount:a}:{},v=Re();return Q.createElement(m,{...p},v({ourProps:h,theirProps:o,slot:d,defaultTag:q_,name:"Dialog.Panel"}))}let z_="div";function Y_(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:o}]=g5("Dialog.Backdrop"),s=g0(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=r?yo:X0,c=r?{unmount:o}:{},d=Re();return Q.createElement(l,{...c},d({ourProps:a,theirProps:n,slot:s,defaultTag:z_,name:"Dialog.Backdrop"}))}let Z_="h2";function K_(e,t){let r=y1(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:o,setTitleId:s}]=g5("Dialog.Title"),a=He(t);H0(()=>(s(n),()=>s(null)),[n,s]);let l=g0(()=>({open:o===0}),[o]),c={ref:a,id:n};return Re()({ourProps:c,theirProps:i,slot:l,defaultTag:Z_,name:"Dialog.Title"})}let J_=Ee(W_),X_=Ee(G_),Q_=Ee(Y_),eC=Ee(K_),bo=Object.assign(J_,{Panel:X_,Title:eC,Description:fv});function tC(e,t){let r=a0({left:0,top:0});if(se(()=>{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 $s=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Fs(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 $s.test(s)&&(s=s.replace($s,"")),s}function rC(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():Fs(o).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return Fs(e).trim()}function nC(e){let t=a0(""),r=a0("");return p0(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=rC(n).trim().toLowerCase();return t.current=i,r.current=o,o})}var iC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(iC||{}),oC=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(oC||{}),sC=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(sC||{}),aC=(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))(aC||{});function W5(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=Vl(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 lC={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===Ne.Nothing)return{...a,activeOptionIndex:null};if(t.focus===Ne.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===Ne.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,h=j5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(h!==null){let m=e.options[h].dataRef.current.domRef;if(((n=f.current)==null?void 0:n.previousElementSibling)===m.current||((i=m.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:h}}}}else if(t.focus===Ne.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,h=j5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(h!==null){let m=e.options[h].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:h}}}}let l=W5(e),c=j5(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:c}},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=W5(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=W5(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}},_o=me(null);_o.displayName="ListboxActionsContext";function w5(e){let t=W0(_o);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,w5),r}return t}let y5=me(null);y5.displayName="ListboxDataContext";function Tr(e){let t=W0(y5);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Tr),r}return t}function uC(e,t){return Ke(t.type,lC,e,t)}let cC=X0;function dC(e,t){var r;let n=lo(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:c,invalid:d=!1,disabled:f=n||!1,horizontal:h=!1,multiple:m=!1,__demoMode:p=!1,...v}=e;const b=h?"horizontal":"vertical";let _=He(t),C=Zy(o),[A=m?[]:void 0,N]=Yy(i,l,C),[R,D]=y2(uC,{dataRef:Rn(),listboxState:p?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:p}),P=a0({static:!1,hold:!1}),E=a0(new Map),S=_v(c),k=P0(n0=>Ke(M.mode,{1:()=>A.some(w0=>S(w0,n0)),0:()=>S(A,n0)}),[A]),M=g0(()=>({...R,value:A,disabled:f,invalid:d,mode:m?1:0,orientation:b,compare:S,isSelected:k,optionsPropsRef:P,listRef:E}),[A,f,d,m,R,E]);se(()=>{R.dataRef.current=M},[M]);let O=M.listboxState===0;jl(O,[M.buttonElement,M.optionsElement],(n0,w0)=>{var c0;D({type:1}),Bl(w0,uo.Loose)||(n0.preventDefault(),(c0=M.buttonElement)==null||c0.focus())});let L=g0(()=>({open:M.listboxState===0,disabled:f,invalid:d,value:A}),[M,f,A,d]),j=p0(n0=>{let w0=M.options.find(c0=>c0.id===n0);w0&&t0(w0.dataRef.current.value)}),e0=p0(()=>{if(M.activeOptionIndex!==null){let{dataRef:n0,id:w0}=M.options[M.activeOptionIndex];t0(n0.current.value),D({type:2,focus:Ne.Specific,id:w0})}}),Z=p0(()=>D({type:0})),z=p0(()=>D({type:1})),B=Ut(),K=p0((n0,w0,c0)=>{B.dispose(),B.microTask(()=>n0===Ne.Specific?D({type:2,focus:Ne.Specific,id:w0,trigger:c0}):D({type:2,focus:n0,trigger:c0}))}),W=p0((n0,w0)=>(D({type:5,id:n0,dataRef:w0}),()=>D({type:6,id:n0}))),t0=p0(n0=>Ke(M.mode,{0(){return N==null?void 0:N(n0)},1(){let w0=M.value.slice(),c0=w0.findIndex(x0=>S(x0,n0));return c0===-1?w0.push(n0):w0.splice(c0,1),N==null?void 0:N(w0)}})),Y=p0(n0=>D({type:3,value:n0})),$=p0(()=>D({type:4})),u0=p0(n0=>{D({type:7,element:n0})}),h0=p0(n0=>{D({type:8,element:n0})}),T0=g0(()=>({onChange:t0,registerOption:W,goToOption:K,closeListbox:z,openListbox:Z,selectActiveOption:e0,selectOption:j,search:Y,clearSearch:$,setButtonElement:u0,setOptionsElement:h0}),[]),[I0,J]=hv({inherit:!0}),H={ref:_},l0=P0(()=>{if(C!==void 0)return N==null?void 0:N(C)},[N,C]),y0=Re();return Q.createElement(J,{value:I0,props:{htmlFor:(r=M.buttonElement)==null?void 0:r.id},slot:{open:M.listboxState===0,disabled:f}},Q.createElement(i_,null,Q.createElement(_o.Provider,{value:T0},Q.createElement(y5.Provider,{value:M},Q.createElement(c9,{value:Ke(M.listboxState,{0:qe.Open,1:qe.Closed})},a!=null&&A!=null&&Q.createElement(tv,{disabled:f,data:{[a]:A},form:s,onReset:l0}),y0({ourProps:H,theirProps:v,slot:L,defaultTag:cC,name:"Listbox"}))))))}let fC="button";function hC(e,t){var r;let n=Tr("Listbox.Button"),i=w5("Listbox.Button"),o=y1(),s=Ml(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=n.disabled||!1,autoFocus:c=!1,...d}=e,f=He(t,e_(),i.setButtonElement),h=t_(),m=p0(M=>{switch(M.key){case Te.Enter:Ky(M.currentTarget);break;case Te.Space:case Te.ArrowDown:M.preventDefault(),o1(()=>i.openListbox()),n.value||i.goToOption(Ne.First);break;case Te.ArrowUp:M.preventDefault(),o1(()=>i.openListbox()),n.value||i.goToOption(Ne.Last);break}}),p=p0(M=>{switch(M.key){case Te.Space:M.preventDefault();break}}),v=p0(M=>{var O;if(iv(M.currentTarget))return M.preventDefault();n.listboxState===0?(o1(()=>i.closeListbox()),(O=n.buttonElement)==null||O.focus({preventScroll:!0})):(M.preventDefault(),i.openListbox())}),b=p0(M=>M.preventDefault()),_=Ol([a]),C=av(),{isFocusVisible:A,focusProps:N}=Fy({autoFocus:c}),{isHovered:R,hoverProps:D}=$y({isDisabled:l}),{pressed:P,pressProps:E}=Uy({disabled:l}),S=g0(()=>({open:n.listboxState===0,active:P||n.listboxState===0,disabled:l,invalid:n.invalid,value:n.value,hover:R,focus:A,autofocus:c}),[n.listboxState,n.value,l,R,A,P,n.invalid,c]),k=El(h(),{ref:f,id:a,type:$v(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:c,onKeyDown:m,onKeyUp:p,onKeyPress:b,onClick:v},N,D,E);return Re()({ourProps:k,theirProps:d,slot:S,defaultTag:fC,name:"Listbox.Button"})}let T9=me(!1),mC="div",pC=o3.RenderStrategy|o3.Static;function gC(e,t){var r,n;let i=y1(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:c=!1,...d}=e,f=Qb(s),[h,m]=C0(null);f&&(a=!0);let p=Tr("Listbox.Options"),v=w5("Listbox.Options"),b=v3(p.optionsElement),_=Er(),[C,A]=zl(c,h,_!==null?(_&qe.Open)===qe.Open:p.listboxState===0);Pl(C,p.buttonElement,v.closeListbox);let N=p.__demoMode?!1:l&&p.listboxState===0;ql(N,b);let R=p.__demoMode?!1:l&&p.listboxState===0;Fl(R,{allowed:P0(()=>[p.buttonElement,p.optionsElement],[p.buttonElement,p.optionsElement])});let D=p.listboxState!==0,P=tC(D,p.buttonElement)?!1:C,E=C&&p.listboxState===1,S=a_(E,p.value),k=p0($=>p.compare(S,$)),M=g0(()=>{var $;if(f==null||!(($=f==null?void 0:f.to)!=null&&$.includes("selection")))return null;let u0=p.options.findIndex(h0=>k(h0.dataRef.current.value));return u0===-1&&(u0=0),u0},[f,p.options]),O=(()=>{if(f==null)return;if(M===null)return{...f,inner:void 0};let $=Array.from(p.listRef.current.values());return{...f,inner:{listRef:{current:$},index:M}}})(),[L,j]=n_(O),e0=r_(),Z=He(t,f?L:null,v.setOptionsElement,m),z=Ut();H0(()=>{var $;let u0=p.optionsElement;u0&&p.listboxState===0&&u0!==(($=w3(u0))==null?void 0:$.activeElement)&&(u0==null||u0.focus({preventScroll:!0}))},[p.listboxState,p.optionsElement]);let B=p0($=>{var u0,h0;switch(z.dispose(),$.key){case Te.Space:if(p.searchQuery!=="")return $.preventDefault(),$.stopPropagation(),v.search($.key);case Te.Enter:if($.preventDefault(),$.stopPropagation(),p.activeOptionIndex!==null){let{dataRef:T0}=p.options[p.activeOptionIndex];v.onChange(T0.current.value)}p.mode===0&&(o1(()=>v.closeListbox()),(u0=p.buttonElement)==null||u0.focus({preventScroll:!0}));break;case Ke(p.orientation,{vertical:Te.ArrowDown,horizontal:Te.ArrowRight}):return $.preventDefault(),$.stopPropagation(),v.goToOption(Ne.Next);case Ke(p.orientation,{vertical:Te.ArrowUp,horizontal:Te.ArrowLeft}):return $.preventDefault(),$.stopPropagation(),v.goToOption(Ne.Previous);case Te.Home:case Te.PageUp:return $.preventDefault(),$.stopPropagation(),v.goToOption(Ne.First);case Te.End:case Te.PageDown:return $.preventDefault(),$.stopPropagation(),v.goToOption(Ne.Last);case Te.Escape:$.preventDefault(),$.stopPropagation(),o1(()=>v.closeListbox()),(h0=p.buttonElement)==null||h0.focus({preventScroll:!0});return;case Te.Tab:$.preventDefault(),$.stopPropagation(),o1(()=>v.closeListbox()),Rv(p.buttonElement,$.shiftKey?S1.Previous:S1.Next);break;default:$.key.length===1&&(v.search($.key),z.setTimeout(()=>v.clearSearch(),350));break}}),K=(r=p.buttonElement)==null?void 0:r.id,W=g0(()=>({open:p.listboxState===0}),[p.listboxState]),t0=El(f?e0():{},{id:o,ref:Z,"aria-activedescendant":p.activeOptionIndex===null||(n=p.options[p.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":p.mode===1?!0:void 0,"aria-labelledby":K,"aria-orientation":p.orientation,onKeyDown:B,role:"listbox",tabIndex:p.listboxState===0?0:void 0,style:{...d.style,...j,"--button-width":xv(p.buttonElement,!0).width},...Gl(A)}),Y=Re();return Q.createElement(g9,{enabled:a?e.static||C:!1},Q.createElement(y5.Provider,{value:p.mode===1?p:{...p,isSelected:k}},Y({ourProps:t0,theirProps:d,slot:W,defaultTag:mC,features:pC,visible:P,name:"Listbox.Options"})))}let wC="div";function yC(e,t){let r=y1(),{id:n=`headlessui-listbox-option-${r}`,disabled:i=!1,value:o,...s}=e,a=W0(T9)===!0,l=Tr("Listbox.Option"),c=w5("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===n:!1,f=l.isSelected(o),h=a0(null),m=nC(h),p=jt({disabled:i,value:o,domRef:h,get textValue(){return m()}}),v=He(t,h,S=>{S?l.listRef.current.set(n,S):l.listRef.current.delete(n)});se(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return ht().requestAnimationFrame(()=>{var S,k;(k=(S=h.current)==null?void 0:S.scrollIntoView)==null||k.call(S,{block:"nearest"})})},[h,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),se(()=>{if(!a)return c.registerOption(n,p)},[p,n,a]);let b=p0(S=>{var k;if(i)return S.preventDefault();c.onChange(o),l.mode===0&&(o1(()=>c.closeListbox()),(k=l.buttonElement)==null||k.focus({preventScroll:!0}))}),_=p0(()=>{if(i)return c.goToOption(Ne.Nothing);c.goToOption(Ne.Specific,n)}),C=Hv(),A=p0(S=>{C.update(S),!i&&(d||c.goToOption(Ne.Specific,n,0))}),N=p0(S=>{C.wasMoved(S)&&(i||d||c.goToOption(Ne.Specific,n,0))}),R=p0(S=>{C.wasMoved(S)&&(i||d&&c.goToOption(Ne.Nothing))}),D=g0(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),P=a?{}:{id:n,ref:v,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:b,onFocus:_,onPointerEnter:A,onMouseEnter:A,onPointerMove:N,onMouseMove:N,onPointerLeave:R,onMouseLeave:R},E=Re();return!f&&a?null:E({ourProps:P,theirProps:s,slot:D,defaultTag:wC,name:"Listbox.Option"})}let vC=X0;function bC(e,t){let{options:r,placeholder:n,...i}=e,o={ref:He(t)},s=Tr("ListboxSelectedOption"),a=g0(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,c=Re();return Q.createElement(T9.Provider,{value:!0},c({ourProps:o,theirProps:{...i,children:Q.createElement(Q.Fragment,null,n&&l?n:r)},slot:a,defaultTag:vC,name:"ListboxSelectedOption"}))}let _C=Ee(dC),N9=Ee(hC),CC=wv,M9=Ee(gC),k9=Ee(yC),xC=Ee(bC),SC=Object.assign(_C,{Button:N9,Label:CC,Options:M9,Option:k9,SelectedOption:xC}),ve=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function C2(e){return u(bo,ct(e,1))}class at extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","ClassName","Children"]}}function x2(e){return u(bo.Panel,ct(e,1))}class Mn extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Children"]}}function I9(e){return u(bo.Title,ct(e,1))}class S2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName"]}}function E2(e){return u(Q_,ct(e,1))}function Wt(e,t){let r;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",w.Children.toArray(Array.from(r))])])))}function EC(e,t){let r,n,i,o,s;return C2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[x2(o0(new at(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),u("button",y(g([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[Wt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(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",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function A2(e){return u("span",{className:"font-sonoma text-black font-semibold text-lg",children:e})}function x3(e){return u("span",{className:"text-sm font-normal pt-2",children:e})}function g2(e,t){return u("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:w.Children.toArray([e])})}function AC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function Co(e){let t,r;return u("div",y(g([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[AC(20,20),u("div",y(g([["className","grow shrink basis-0 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function R9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function O9(e){let t,r;return u("div",y(g([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[R9(16,15),u("div",y(g([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function v5(e,t){let r;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",w.Children.toArray(Array.from(r))])])))}let rt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Value","OnChange","Children"]}};function xo(e){return u(SC,ct(e,1))}class l3 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ClassName","Children"]}}function So(e){return u(N9,ct(e,1))}class Eo extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function Ao(e,t){return u(M9,ct(e,1),...t)}class Ze extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function To(e){return u(k9,ct(e,1))}function No(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function F3(e,t,r,n,i,o,s,a){let l,c,d,f,h,m,p;const v=i.fields[0],b=Di(ae(_=>_[1].fields[0],Vn(_=>La(_.fields[0],v),n)));return u("div",y(g([["key",ne(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(l=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(c=[u("div",y(q(T(()=>F(x(["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`]),T(()=>{let _;return x((_=q(T(()=>F(x(u("div",{className:"text-sm font-medium leading-tight",children:rr(e)})),T(()=>x(t?u("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):E0()))))),["children",w.Children.toArray(Array.from(_))]))}))))))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[v5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(f=[xo(g([new rt(0,[b]),new rt(1,[_=>{B1(C=>{o(C[0])},Dt($t(C=>C[1].fields[0]===_?X(C[2],new z1(0,[])):!1,v)))}]),new rt(2,[[u("div",y(g([["className","relative w-full"],(h=[So(q(T(()=>{let _;return F(x(new l3(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`])),T(()=>{let C;return x(new l3(1,[[u("span",y(q(T(()=>{let A;const N=t&&r;return A=n!=null?[b,""]:N?["Select a field","text-red-900"]:["Select a field","text-gray-500"],F(x(["className",`${A[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",A[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(C=[No(20,20)],["children",w.Children.toArray(Array.from(C))])])))]]))}))}))),Ao(q(T(()=>x(new Eo(`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`)))),q(T(()=>h3(_=>{const C=_[2],A=_[1].fields[0];return x(To(g([new Ze(0,[f1(_[0].fields[0])]),new Ze(1,[A]),new Ze(2,[X(C,new z1(1,[]))]),new Ze(3,["relative select-none"]),new Ze(4,[N=>[u("span",{className:"px-4 py-2 block truncate "+(C.tag===0?N.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:A})]])])))},v))))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([(m="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",m]),(p=[u("button",y(q(T(()=>F(x(["children","Clear"]),T(()=>F(s==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=s;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}})))))))),u("button",y(q(T(()=>F(x(["children","Preview"]),T(()=>F(a==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=a;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}}))))))))],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(l))])])))}function D9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function S3(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function $9(e){let t,r,n;return u("div",y(g([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[u("span",y(g([["className","text-emerald-700"],(r=[S3(20,20)],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(n=[u("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Nr(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function TC(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function NC(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 F9(e){return NC(TC(Ca(e," ","")))}function MC(e,t,r){let n,i,o,s,a,l,c,d;return u("div",y(g([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(n=[u("div",y(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=[u("div",y(g([["className","flex justify-between w-full"],(s=[u("span",{className:"text-black text-base font-semibold leading-normal text-nowrap",children:`Previewing “${rr(e)}”`}),u("button",y(g([["onClick",f=>{r()}],["type","button"],["className","text-gray-600"],(a=[Wt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[u("div",y(g([["className","self-stretch flex-col justify-center items-start flex"],(c=Hn((f,h)=>u("div",y(q(T(()=>F(x(["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`]),T(()=>{let m;return x((m=q(T(()=>{const p=Ot(h);return x(p?u("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):u("div",y(q(T(()=>F(x(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),T(()=>e.tag===3?x(["children",F9(h)]):x(["children",h]))))))))})),["children",w.Children.toArray(Array.from(m))]))})))))),t),["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[u("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(n))])])))}function kC(e){let t,r,n;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,c=e.existingMappings;let d;const f=wy(l,a,c);d=ft(()=>dt(()=>f,(N,R)=>yy(i,l,a,N,R),(N,R)=>{}),void 0,void 0);const h=d[0],m=d[1],p=w.useState(!1),v=p[1],b=w.useState(!1),_=b[0],C=N=>{if(py(h)(N))return()=>{m(new gt(1,[N]))}},A=N=>{if(gy(h,N))return()=>{m(new gt(2,[N]))}};return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[EC(p[0],()=>{v(!1)}),A2("Map fields"),x3("Match the fields from your CSV to the corresponding destination fields."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[g2("What is mapping and why is it important?",()=>{v(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=q(T(()=>{let N;return F(x(u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(N=q(T(()=>F(h.IsPrefilled?x(Co("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.")):x(E0()),T(()=>F(_&&h.Status.tag===0?x(O9("Some required fields are incomplete. Fill in all required fields to continue.")):x(E0()),T(()=>{let R,D,P,E,S,k,M,O;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(R=[u("div",y(g([(D="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",D]),(P=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(E=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),u("div",y(q(T(()=>F(x(["className",`${h.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`]),T(()=>{let L;return x((L=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${h.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",w.Children.toArray(Array.from(L))]))}))))))],["children",w.Children.toArray(Array.from(E))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(S=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(k=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${h.NumberOfDestinationFieldsMapped} of ${h.NumberOfIncomingFields} used`})],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(M=[u("div",y(o0((O=q(T(()=>F(x(F3(new r0(0,[]),!0,_,h.FirstName.ColumnIndex,h.FirstName.IncomingFields,L=>{let j;m((j=[new r0(0,[]),L],new gt(0,[j[0],j[1]])))},C(new r0(0,[])),A(new r0(0,[])))),T(()=>F(x(F3(new r0(1,[]),!0,_,h.LastName.ColumnIndex,h.LastName.IncomingFields,L=>{let j;m((j=[new r0(1,[]),L],new gt(0,[j[0],j[1]])))},C(new r0(1,[])),A(new r0(1,[])))),T(()=>F(x(F3(new r0(2,[]),!0,_,h.Email.ColumnIndex,h.Email.IncomingFields,L=>{let j;m((j=[new r0(2,[]),L],new gt(0,[j[0],j[1]])))},C(new r0(2,[])),A(new r0(2,[])))),T(()=>F(x(F3(new r0(3,[]),!1,_,h.MobilePhone.ColumnIndex,h.MobilePhone.IncomingFields,L=>{let j;m((j=[new r0(3,[]),L],new gt(0,[j[0],j[1]])))},C(new r0(3,[])),A(new r0(3,[])))),T(()=>F(x(F3(new r0(4,[]),!1,_,h.EmploymentBasis.ColumnIndex,h.EmploymentBasis.IncomingFields,L=>{let j;m((j=[new r0(4,[]),L],new gt(0,[j[0],j[1]])))},C(new r0(4,[])),A(new r0(4,[])))),T(()=>{let L,j,e0,Z,z,B;return F(h.NumberOfIncomingFieldsDiscarded===0?x(E0()):x(u("div",y(g([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(L=[u("div",y(g([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(j=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(e0=[D9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(e0))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(Z=[v5(16,12)],["children",w.Children.toArray(Array.from(Z))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(z=[u("div",y(g([["className","w-[218px] pl-3 items-center inline-flex"],(B=[u("div",y(q(T(()=>F(x(["className","text-gray-500 text-sm font-medium"]),T(()=>{const K=h.NumberOfIncomingFieldsDiscarded|0;return x(K===1?["children","Remaining 1 unused field"]:["children",`Remaining ${K} unused fields`])}))))))],["children",w.Children.toArray(Array.from(B))])])))],["children",w.Children.toArray(Array.from(z))])])))],["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(L))])])))),T(()=>{let K;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(K=q(T(()=>F(h.NumberOfDestinationFieldsMapped===5?x($9("All destination fields have been mapped. You’re good to go.")):x(E0()),T(()=>{let W,t0,Y,$,u0,h0,T0,I0,J;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(W=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(t0=[u("div",y(g([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(Y=[u("div",y(g([["className","grow shrink basis-0 text-right"],($=[u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),u("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",w.Children.toArray(Array.from($))])])))],["children",w.Children.toArray(Array.from(Y))])]))),u("div",y(g([["className","justify-start items-center gap-2 flex"],(u0=[u("button",y(g([(h0="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",h0]),["onClick",H=>{o(h.Status)}],(T0=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(T0))])]))),u("button",y(g([(I0="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",I0]),["disabled",_&&h.Status.tag===0],["onClick",H=>{const l0=h.Status;l0.tag===0?b[1](!0):s([l0.fields[0],l0.fields[1]])}],(J=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:h.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),Nr(13,8)],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(u0))])])))],["children",w.Children.toArray(Array.from(t0))])])))],["children",w.Children.toArray(Array.from(W))])]))))})))),["children",w.Children.toArray(Array.from(K))])]))))}))})))))))))))),["children",w.Children.toArray(Array.from(O))]))))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(R))])]))))})))))),["children",w.Children.toArray(Array.from(N))])])))),T(()=>{const R=h.Preview;return R==null?x(E0()):x(MC(R[0],R[1],()=>{m(new gt(3,[]))}))}))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}let Br=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}},q5=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}},Zt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}},Vr=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Add","Clear","Remove","Set"]}},IC=class extends i0{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 sr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}const Ct=[void 0];function P9(e,t,r){let n;const i=t.fields[0],o=Ye(s=>s,fn(h6(r)));return new IC(Q0(s=>[s,R1(s,o,{Equals:X,GetHashCode:sn})?new sr(1,[]):new sr(0,[])],i),r,o.length,Od(At(s=>{let a;return a=Ye(l=>l,s),a.length!==0},h6(r))),dl(o,i,{Equals:X,GetHashCode:sn}),(n=g(Ye(s=>s,fn(F0(s=>Q0(a=>{if(a!=null)return[s[0],a]},s[1]),r)))),M0(n)?void 0:new ay(d0(n),lt($0(n)))),e)}function RC(e,t){const r=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(n=>R1(cr(n.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:s1}))}function OC(e,t){let r;if(t==null){let n=!1;const i=o=>{const s=RC(e,o);return!Nt(X,s,E0())&&s.length===0?Ct:(n=!0,Q0(a=>a,s))};r=[q2([[new be(0,[]),i(new be(0,[]))],[new be(1,[]),i(new be(1,[]))],[new be(2,[]),i(new be(2,[]))],[new be(3,[]),i(new be(3,[]))]],{Compare:Oe}),n]}else{const n=t,i=q2(Q0(o=>[o[0],Q0(s=>s[1],Hc(o[1],{Compare:Mi}))],ty(o=>o[0],fn([n.Tail,[n.Head]]),{Equals:X,GetHashCode:sn})),{Compare:Oe});r=[q2([[new be(0,[]),V0(n2(i,new be(0,[])),Ct)],[new be(1,[]),V0(n2(i,new be(1,[])),Ct)],[new be(2,[]),V0(n2(i,new be(2,[])),Ct)],[new be(3,[]),V0(n2(i,new be(3,[])),Ct)]],{Compare:Oe}),!1]}return[P9(r[1],e,r[0]),m0()]}function L9(e,t){const r=c2(e.Selections,t);let n;switch(!Nt(X,r,E0())&&r.length===1&&f0(0,r)!=null?n=0:n=1,n){case 0:return!0;default:return!1}}function B9(e,t){let r;return e.DiscardedValues.length>0?(r=c2(e.Selections,t),!r.some(n=>n==null)):!1}function DC(e,t,r){const n=c2(e.Selections,t);return!Nt(X,n,E0())&&n.length===1?!1:R1(r,n,{Equals:X,GetHashCode:p1})}function $C(e,t,r,n){return!X(r,n)&&e.IncomingValues.some(i=>X(i[0],n)?X(i[1],new sr(0,[])):!1)?R1(r,c2(e.Selections,t),{Equals:X,GetHashCode:p1}):!1}function FC(e,t,r){let n,i;const o=p=>P9(r.Prefilled,e,p);let s,a,l,c,d,f,h,m;switch(t.tag){case 1:{L9(r,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{DC(r,t.fields[0],t.fields[1])?(s=2,c=t.fields[0],d=t.fields[1]):s=4;break}case 3:{$C(r,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],h=t.fields[1],m=t.fields[2]):s=4;break}default:B9(r,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(Or(a,p=>ae(v=>Pa(v,Ct),p),r.Selections)),m0()];case 1:return[o(Or(l,p=>ae(v=>Ct,p),r.Selections)),m0()];case 2:return[o(Or(c,(n=(i=[d],p=>dl(i,p,{Equals:X,GetHashCode:p1})),p=>ae(n,p)),r.Selections)),m0()];case 3:return[o(Or(f,p=>ae(v=>Q0(b=>X(b,h)?m:b,v),p),r.Selections)),m0()];default:return[r,m0()]}}function PC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function LC(e,t,r,n,i,o,s){let a,l,c,d,f,h;return u("div",y(g([["key",ne(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[u("div",y(g([["className",xe(" ",q(T(()=>F(Nt(X,t,Ct)?x("bg-gray-50 border-gray-200 text-gray-500"):x("bg-emerald-50 border-emerald-200 text-emerald-700"),T(()=>x("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(c=[u("div",{className:"text-sm font-medium leading-tight",children:fl(e)})],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[v5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[u("div",y(o0((h=q(T(()=>F0(m=>{let p,v,b;return u("div",y(g([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(p=[u("div",y(g([["className","justify-start items-end flex flex-col w-[206px]"],(v=q(T(()=>F(x(xo(q(T(()=>{const _=Di(ae(C=>C.fields[0],m));return F(x(new rt(0,[_])),T(()=>F(x(new rt(1,[C=>{B1(A=>{s([m,A[0]])},Dt($t(A=>A[0].fields[0]===C?X(A[1],new sr(0,[])):!1,r)))}])),T(()=>{let C,A;return x(new rt(2,[[u("div",y(g([["className","relative w-full"],(C=[So(g([new l3(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 l3(1,[[u("span",y(q(T(()=>{const N=m!=null?[_,""]:["Select a value","text-gray-500"];return F(x(["className",`${N[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",N[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(A=[No(20,20)],["children",w.Children.toArray(Array.from(A))])])))]])])),Ao(q(T(()=>x(new Eo(`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`)))),q(T(()=>h3(N=>{const R=N[1],D=N[0].fields[0];return x(To(g([new Ze(0,[D]),new Ze(1,[D]),new Ze(2,[X(R,new sr(1,[]))&&D!==_]),new Ze(3,["relative select-none"]),new Ze(4,[P=>[u("span",{className:xe(" ",q(T(()=>F(x("px-4 py-2 block truncate"),T(()=>{const E=P.active;let S;switch(P.selected?E?S=2:S=1:R.tag===1?S=0:E?S=2:S=1,S){case 0:return x("text-gray-700 opacity-50 cursor-not-allowed");case 1:return x("text-gray-700");default:return x("bg-primary-600 text-white")}}))))),children:D})]])])))},r))))],["children",w.Children.toArray(Array.from(C))])])))]]))}))))})))),T(()=>X(m,Pc(t))?x(u("button",y(q(T(()=>{let _;return F(x((_=[PC(14,14),u("span",{children:["Map additional value"]})],["children",w.Children.toArray(Array.from(_))])),T(()=>F(x(["className",xe(" ",q(T(()=>F(x("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),T(()=>i==null?x("opacity-50 cursor-not-allowed underline"):x("cursor-pointer underline hover:text-gray-700"))))))]),T(()=>{const C=i;if(C==null)return k0();{const A=C;return x(["onClick",N=>{A()}])}}))))}))))):k0())))),["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","text-gray-500 text-xs font-normal pl-1"],(b=q(T(()=>{if(o!=null){const _=o;return x(u("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:C=>{_(m)}}))}else return x(u("button",y(q(T(()=>F(x(["children","Clear"]),T(()=>F(n==null?x(["className","opacity-50 underline cursor-not-allowed mt-2"]):x(["className","cursor-pointer underline py-2 hover:text-gray-700"]),T(()=>{const _=n;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}})))))))))})),["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(p))])])))},t))),["children",w.Children.toArray(Array.from(h))]))))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(a))])])))}function BC(e){let t,r,n;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const c=OC(s,a);l=ft(()=>dt(()=>c,(p,v)=>FC(s,p,v),(p,v)=>{}),void 0,void 0);const d=l[0],f=l[1],h=w.useState(!1),m=h[0];return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[A2("Map values - Employment basis"),x3("Match the values from your CSV to the corresponding destination values."),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(r=[u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(n=q(T(()=>F(d.Prefilled?x(Co("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.")):x(E0()),T(()=>F(m&&d.ValidatedMappings==null?x(O9("Map at least one value to continue.")):x(E0()),T(()=>{let p,v,b,_,C,A,N,R,D;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(p=[u("div",y(g([(v="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",v]),(b=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),u("div",y(g([["className",xe(" ",q(T(()=>F(d.NumberOfDestinationValuesMapped===4?x("bg-emerald-100 text-emerald-800"):x("bg-blue-100 text-blue-800"),T(()=>x("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(C=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(A=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(N=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(R=[u("div",y(o0((D=q(T(()=>F(h3(P=>{let E,S,k;const M=P[0];return x(LC(M,P[1],d.IncomingValues,(E=M,L9(d,E)?()=>{f(new Vr(1,[E]))}:void 0),(S=M,B9(d,S)?()=>{f(new Vr(0,[S]))}:void 0),(k=M,c2(d.Selections,k).length>1?O=>{let L;f((L=[k,O],new Vr(2,[L[0],L[1]])))}:void 0),O=>{let L;f((L=[M,O[0],O[1]],new Vr(3,[L[0],L[1],L[2]])))}))},tf(d.Selections)),T(()=>{let P,E,S,k,M,O;return F(d.DiscardedValues.length===0?x(E0()):x(u("div",y(g([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(P=[u("div",y(g([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(E=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(S=[D9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(k=[v5(16,12)],["children",w.Children.toArray(Array.from(k))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(M=[u("div",y(g([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(O=q(T(()=>F(x(u("div",y(q(T(()=>F(x(["className","font-medium"]),T(()=>{const L=d.DiscardedValues.length|0;return x(L===1?["children","Remaining 1 unused value:"]:["children",`Remaining ${L} unused values:`])}))))))),T(()=>{let L;return x(u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(L=Q0(j=>u("li",{children:[j]}),fn(w1(T(()=>F(x(Q0(j=>j.fields[0],d.DiscardedValues.slice(void 0,8))),T(()=>d.DiscardedValues.length>8?x([`... and ${d.DiscardedValues.length-8} other values`]):k0())))))),["children",w.Children.toArray(Array.from(L))])]))))})))),["children",w.Children.toArray(Array.from(O))])])))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(P))])])))),T(()=>{let L;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(L=q(T(()=>F(d.DiscardedValues.length===0?x($9("All incoming values have been mapped.")):x(E0()),T(()=>{let j,e0,Z,z,B,K,W;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(e0=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(z="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",z]),["onClick",t0=>{i(d.ValidatedMappings)}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(K="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",K]),["disabled",m&&d.ValidatedMappings==null],["onClick",t0=>{const Y=d.ValidatedMappings;Y==null?h[1](!0):o(Y)}],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),Nr(13,8)],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(e0))])])))],["children",w.Children.toArray(Array.from(j))])]))))})))),["children",w.Children.toArray(Array.from(L))])]))))}))})))),["children",w.Children.toArray(Array.from(D))]))))],["children",w.Children.toArray(Array.from(R))])])))],["children",w.Children.toArray(Array.from(p))])]))))})))))),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let VC=class extends i0{constructor(t,r,n,i,o,s,a,l,c){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=c}};class Ps extends i0{constructor(t,r){super(),this.Summary=t,this.Details=r}}function Hr(e){if(!Ot(e))return e}function V9(e,t,r){let n,i;const o=e.fields[0],s=t.MobilePhone,a=r!=null&&r[1]!=null?(n=r[0].fields[0].fields[0]|0,i=r[1],[n,ly(i)]):void 0,l=s!=null&&i5(new n5(o),s)?s:void 0;return g(Q0(c=>{let d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k;const M=c.fields[0];return q2(Ye(O=>O,[(d=Hr(f0(t.FirstName.fields[0],M)),d==null?void 0:(f=d,[t2(new r0(0,[])),f])),(h=Hr(f0(t.LastName.fields[0],M)),h==null?void 0:(m=h,[t2(new r0(1,[])),m])),(p=Hr(f0(t.Email.fields[0],M)),p==null?void 0:(v=p,[t2(new r0(2,[])),v])),(b=(_=l,_==null?void 0:(C=Hr(f0(_.fields[0],M)),C==null?void 0:F9(C))),b==null?void 0:(A=b,[t2(new r0(3,[])),A])),(N=(R=a,R==null?void 0:(D=R,P=(E=f0(D[0],M),S=E0(),[Qd(D[1],E,new ke(()=>S,O=>{S=O})),S]),P[0]?P[1]:void 0)),N==null?void 0:(k=N,[t2(new r0(4,[])),k]))]),{Compare:v2})},o))}function HC(e,t,r){const n=t2(r);return[n2(e.Data,n),!Li(i=>i.PropName===n,t)]}function UC(e,t){const r=hl(t.PropName);if(r==null)return["Invalid or missing field",!1];{const n=r,i=rr(n).toLocaleLowerCase();if(n2(e.Data,t2(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 Ls(e){const t=hl(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`${rr(r)} exists in multiple rows`;default:return Ca(e.Message,e.Column,rr(r))}}}function jC(e,t,r,n){return V.Delay(()=>V.TryWith(V.Delay(()=>{let i,o,s,a;return V.ReturnFrom((i=new k8((o=n,(o==null?void 0:o[1])!=null),jn((l,c)=>new Zi(l+2,c),(s=[t,r,n],V9(s[0],s[1],s[2])))),a=e(i),V.Bind(a,l=>{let c;const d=l;return c=d.tag===1?new I(1,[d.fields[0]]):new I(0,[ot(f=>{let h,m,p,v,b;const _=V0((h=W4(A=>A.RowId===f.RowId,d.fields[0].Errors),h==null?void 0:h.FieldErrors),oe()),C=A=>HC(f,_,A);return new VC(f.RowId-2+1,C(new r0(0,[])),C(new r0(1,[])),C(new r0(2,[])),C(new r0(3,[])),(m=C(new r0(4,[])),[(p=(v=m[0],v==null?void 0:sy(v)),p==null?void 0:fl(p)),m[1]]),Li(A=>A.Message.startsWith("Duplicate Email"),_),!M0(je(A=>!A.Message.startsWith("Duplicate Email"),_)),M0(_)?void 0:M0($0(_))?(b=UC(f,d0(_)),new Ps(b[0],b[1]?o0(Ls(d0(_))):void 0)):new Ps("Multiple invalid or missing fields",ot(Ls,_)))},i.Data)]),V.Return(c)})))}),i=>V.Return(new I(1,[ne(i)]))))}function WC(e,t,r,n,i){return V.Delay(()=>V.TryWith(V.Delay(()=>{let o,s;return V.Bind(e(new I8((o=n,(o==null?void 0:o[1])!=null),X(i,new Fe(0,[])),jn((a,l)=>new Zi(a+2,l),(s=[t,r,n],V9(s[0],s[1],s[2]))))),a=>{let l;return V.Return((l=a,l.tag===1?new I(1,[l.fields[0]]):new I(0,[l.fields[0].ImportId])))})}),o=>V.Return(new I(1,[ne(o)]))))}let B2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validated","SetInviteTiming","ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},V2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validating","Reviewing"]}};class P3 extends i0{constructor(t,r,n,i,o,s,a,l,c,d,f,h,m){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=c,this.RowFrom=d|0,this.RowTo=f|0,this.Page=h,this.PageNo=m|0}}function qC(e,t,r){return[new V2(0,[]),Qn(g([i1(t,new ge(5,[{RowCount:Zw(r)}])),Qm(n=>{ep(n)},e,void 0,n=>new B2(0,[n]))]))]}function Ur(e,t,r){const n=(e-1)*20|0,i=qa(n,e*20-1,r?je(o=>o.Errors!=null,t):t);if(M0(i))return[0,0,oe()];{const o=i;return[n+1,n+_e(o),o]}}function H9(e){return e.PageNo>1}function U9(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function GC(e,t,r){const n=je(o=>o.Errors!=null,e.Data),i=jn((o,s)=>{const a=V0(ae(p=>p.Summary,s.Errors),""),l=V0(s.FirstName[0],""),c=V0(s.LastName[0],""),d=V0(s.Email[0],""),f=V0(s.MobilePhone[0],""),h=V0(s.EmploymentBasis[0],""),m=o===_e(n)-1?"":`
|
|
50
|
-
`;return xe(",",q(T(()
|
|
51
|
-
`))))))))))))))))),i)}function zC(e,t,r,n){let i,o,s,a,l,c,d,f,h,m,p;switch(r.tag){case 1:{n.tag===1?(o=2,l=r.fields[0],c=n.fields[0]):(o=7,p=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,p=n)):(o=7,p=n);break}case 3:{n.tag===1&&U9(n.fields[0])?(o=4,h=n.fields[0]):(o=7,p=n);break}case 4:{n.tag===1&&H9(n.fields[0])?(o=5,m=n.fields[0]):(o=7,p=n);break}case 5:{n.tag===1&&n.fields[0].HasErrors?o=6:(o=7,p=n);break}default:r.fields[0].tag===1?n.tag===0?(o=1,a=r.fields[0].fields[0]):(o=7,p=n):n.tag===0?(o=0,s=r.fields[0].fields[0]):(o=7,p=n)}switch(o){case 0:{let v;const b=[s,!1];v=Ur(1,b[0],b[1]);const _=_e(je(N=>N.Errors==null,s))|0,C=_e(je(N=>N.HasDuplicateEmailError,s))|0,A=_e(je(N=>N.Errors!=null,s))|0;return[new V2(1,[new P3(s,new Fe(1,[]),C,_e(je(N=>N.HasErrorOtherThanDuplicateEmail,s)),A,_e(s),_,!1,Li(N=>N.Errors!=null,s),v[0],v[1],v[2],1)]),i1(t,new ge(6,[{DuplicateCount:C,RowCount:_e(s),SuccessCount:_,TotalFailedCount:A}]))]}case 1:return[n,i1(e,a)];case 2:return[new V2(1,[new P3(c.Data,l,c.DuplicateEmailCount,c.NumberOfRowsWithErrorsOtherThanDuplicateEmail,c.NumberOfInvalidRows,c.NumberOfRows,c.NumberOfValidRows,c.ShowingOnlyRowsWithErrors,c.HasErrors,c.RowFrom,c.RowTo,c.Page,c.PageNo)]),m0()];case 3:{let v;const b=[d.Data,f];return v=Ur(1,b[0],b[1]),[new V2(1,[new P3(d.Data,d.InviteTiming,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfValidRows,f,d.HasErrors,v[0],v[1],v[2],1)]),m0()]}case 4:{const v=h.PageNo+1|0;let b;const _=[h.Data,h.ShowingOnlyRowsWithErrors];return b=Ur(v,_[0],_[1]),[new V2(1,[new P3(h.Data,h.InviteTiming,h.DuplicateEmailCount,h.NumberOfRowsWithErrorsOtherThanDuplicateEmail,h.NumberOfInvalidRows,h.NumberOfRows,h.NumberOfValidRows,h.ShowingOnlyRowsWithErrors,h.HasErrors,b[0],b[1],b[2],v)]),m0()]}case 5:{const v=m.PageNo-1|0;let b;const _=[m.Data,m.ShowingOnlyRowsWithErrors];return b=Ur(v,_[0],_[1]),[new V2(1,[new P3(m.Data,m.InviteTiming,m.DuplicateEmailCount,m.NumberOfRowsWithErrorsOtherThanDuplicateEmail,m.NumberOfInvalidRows,m.NumberOfRows,m.NumberOfValidRows,m.ShowingOnlyRowsWithErrors,m.HasErrors,b[0],b[1],b[2],v)]),m0()]}case 6:return[n,i1(t,new ge(7,[]))];default:return[p,m0()]}}function b5(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",y(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",w.Children.toArray(Array.from(r))])])))}function j9(e,t,r){let n,i,o,s,a,l,c,d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S;return C2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[x2(o0(new at(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",k=>{r()}],["type","button"],["className","text-gray-600"],(s=[Wt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",y(o0((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",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(c=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[u("span",{children:"First name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(o0((f=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(h=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(m=[u("span",{children:"Last name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(o0((p=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(v=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",w.Children.toArray(Array.from(v))])])))],["children",w.Children.toArray(Array.from(p))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(b=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(o0((_=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(C=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),u("div",y(o0((A=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(N=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"+61432368712"})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),u("div",y(o0((R=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(D=[u("span",{children:"One of the following options:"}),u("br",{}),u("ul",y(g([["className","italic list-disc px-3"],(P=[u("li",{children:"Full-time"}),u("li",{children:"Part-time"}),u("li",{children:"Labour hire"}),u("li",{children:"Casual"})],["children",w.Children.toArray(Array.from(P))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(R))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users_template"],(E=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(S=[b5(16,16)],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}function YC(e,t){let r,n,i,o,s,a,l,c,d,f,h,m,p;return C2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[x2(o0(new at(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),u("button",y(g([["onClick",v=>{t()}],["type","button"],["className","text-gray-600"],(o=[Wt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-gray-500 text-sm font-normal pt-6"],(s=[u("p",y(o0((a=[u("span",{children:["Workplace benefits is a"]}),u("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.",u("span",{children:[l]}))],["children",w.Children.toArray(Array.from(a))])))),u("p",y(g([["className","pt-3"],(c=[(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 ",u("span",{children:[d]})),u("span",{className:"font-semibold text-nowrap",children:" Flare App"}),u("span",{children:["."]})],["children",w.Children.toArray(Array.from(c))])]))),u("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),u("ul",y(g([["className","list-inside list-disc pt-3"],(f=[u("li",y(o0((h=[u("span",{className:"font-semibold",children:"Savings "}),u("span",{children:["on essentials like food, fuel, and more."]})],["children",w.Children.toArray(Array.from(h))])))),u("li",y(g([["className","pt-2"],(m=[u("span",{className:"font-semibold",children:"Exclusive offers "}),u("span",{children:["from leading brands and retailers."]})],["children",w.Children.toArray(Array.from(m))])]))),u("li",y(g([["className","pt-2"],(p=[u("span",{className:"font-semibold",children:"Tax savings "}),u("span",{children:["with salary packaging."]})],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}const ZC=e=>u("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Group 67"},u("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)"}),u("g",{id:"Group",opacity:.95},u("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)"})),u("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)"}),u("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"}),u("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"}),u("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"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#161E37"}),u("stop",{offset:.11,stopColor:"#172243"}),u("stop",{offset:.31,stopColor:"#1B2E62"}),u("stop",{offset:.57,stopColor:"#214196"}),u("stop",{offset:.89,stopColor:"#2A5CDD"}),u("stop",{offset:1,stopColor:"#2E66F7"})),u("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{offset:.11,stopColor:"#FF876F"}),u("stop",{offset:.99,stopColor:"#A650FF"})),u("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#0095F2"}),u("stop",{offset:.29,stopColor:"#307CF6"}),u("stop",{offset:.61,stopColor:"#6163FB"}),u("stop",{offset:.86,stopColor:"#7F54FD"}),u("stop",{offset:1,stopColor:"#8B4FFF"})))),KC=e=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},u("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"})),JC=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),u("g",{clipPath:"url(#clip0_4584_4202)"},u("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"}),u("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("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"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#FECACA"}),u("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),u("clipPath",{id:"clip0_4584_4202"},u("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),XC=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),u("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"}),u("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"}),u("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"}),u("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"}),u("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"}),u("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"}),u("defs",null,u("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#D6E2FC"}),u("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),QC=e=>u("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{clipPath:"url(#clip0_3030_30757)"},u("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"}),u("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"})),u("defs",null,u("clipPath",{id:"clip0_3030_30757"},u("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),ex=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("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"}),u("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"})),tx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("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"}),u("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),u("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"})),rx=e=>u("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Clock"},u("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 qt(e,t){return w.createElement(e,y(t))}function nx(e){return qt(ZC,e)}function ix(e){return qt(KC,e)}function ox(e){return qt(JC,e)}function sx(e){return qt(XC,e)}function ax(e){return qt(QC,e)}function lx(e){return qt(ex,e)}function ux(e){return qt(tx,e)}function cx(e){return qt(rx,e)}function dx(e,t,r,n){let i,o,s,a,l,c,d,f,h,m,p;return C2(g([new ve(3,[e]),new ve(4,[r]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[x2(g([new at(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 at(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[u("button",y(g([["type","button"],["onClick",v=>{r()}],["className","text-gray-600"],(a=[Wt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(l=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(c=[sx([])],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[I9(g([new Mn(2,["text-gray-900 text-lg font-bold"]),new Mn(3,[[`Import ${t} users`]])])),u("div",y(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[u("p",{children:[`Are you sure you want to import ${t} users?`]})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(h=[u("button",y(g([["type","button"],["onClick",v=>{n()}],(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"]]))),u("button",y(g([["type","button"],["onClick",v=>{r()}],(p="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",p]),["children","Cancel"]])))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))]])]))}function W9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function fx(e){return`${Oi(e,".")}.`}function Bs(e){return Oi(e,".")}function hx(e){let t;const r=e.children,n=e.text,i=w.useState(!1),o=i[1];return u("div",y(g([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=q(T(()=>F(r,T(()=>{let s,a;return i[0]?x(u("div",y(g([(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=q(T(()=>{let l;return M0(n)?x(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>F0(c=>u("li",{children:[Bs(c)]}),n))),["children",w.Children.toArray(Array.from(l))])])))):M0($0(n))?x(u("p",{children:[fx(d0(n))]})):x(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>F0(c=>u("li",{children:[Bs(c)]}),n))),["children",w.Children.toArray(Array.from(l))])]))))})),["children",w.Children.toArray(Array.from(a))])])))):k0()})))),["children",w.Children.toArray(Array.from(t))])])))}function O2(e,t){let r;return u("div",y(g([["className",xe(" ",["animate-pulse w-full relative",e,t])],(r=[u("div",{className:xe(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",w.Children.toArray(Array.from(r))])])))}function mx(){let e,t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[u("div",y(g([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[u("div",y(g([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[u("div",y(g([["className","w-[1030px]"],(n=q(T(()=>{let f,h,m,p;return F(x(u("div",y(g([["className","bg-gray-100 flex"],(f=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(h=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(m=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(p=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>F0(v=>u("div",y(q(T(()=>F(v%2===1?x(["className","bg-white border-t border-gray-200 flex"]):x(["className","bg-gray-50 border-t border-gray-200 flex"]),T(()=>{let b,_,C,A;return x((b=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(_=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(_))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(C=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(C))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(A=[O2("h-5","w-full")],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))]))})))))),q(Qi(0,1,9)))))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])]))),u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(i=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(s=[u("button",y(g([(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=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(l))])]))),u("button",y(g([(c="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",c]),["disabled",!0],(d=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(e))])])))}function px(e){const t=Q0(n=>n,lt(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}const gx=(()=>{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 wx(e){let t,r,n;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,c=e.baseColumnMappings,d=e.dataRows,f=e.apiCallAsync;let h;const m=qC(()=>jC(f,d,c,l),i,d);h=ft(()=>dt(()=>m,(E,S)=>zC(o,i,E,S),(E,S)=>{}),void 0,void 0);const p=h[1],v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(!1),N=A[0],R=A[1],D=V0(ae(E=>i5(d,E),c.MobilePhone),!1),P=Vn(E=>E[1],l)!=null;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[j9(gx,v[0],()=>{b(!1)}),YC(_[0],()=>{C(!1)}),A2("Review"),x3("Preview your data and confirm that everything is mapped correctly."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[g2("What kind of data do I need?",()=>{b(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=[u("div",y(q(T(()=>F(x(["className","pt-6 flex-col justify-start items-start gap-4 inline-flex"]),T(()=>{let E,S,k;const M=h[0];if(M.tag===1){const O=M.fields[0],L=z=>{p(new B2(1,[z]))},j=z=>{p(new B2(2,[z]))},e0=U9(O)?z=>{p(new B2(3,[]))}:void 0,Z=H9(O)?z=>{p(new B2(4,[]))}:void 0;return x((E=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(S=q(T(()=>F(x(dx(N,O.NumberOfValidRows,()=>{R(!1)},()=>{N&&a([new n5(w1(F0(z=>z[0],At(z=>z[1].Errors==null,Qa(d.fields[0],O.Data))))),O.InviteTiming])})),T(()=>{let z,B,K,W,t0,Y,$,u0,h0,T0;return F(O.HasErrors?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(z=[W9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(B=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(K=[u("span",{children:[O.NumberOfInvalidRows>1?`We found some issues across ${O.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(K))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(W=q(T(()=>{let I0;return F(O.DuplicateEmailCount>0?x((I0=g([u("span",{className:"font-medium",children:`${O.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(I0))}))):k0(),T(()=>{let J;return O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((J=g([u("span",{className:"font-medium",children:O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${O.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),u("li",{children:w.Children.toArray(Array.from(J))}))):k0()}))})),["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","px-2 py-1.5"],(t0=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(Y=[u("span",{children:[($=O.NumberOfValidRows===0,u0=O.NumberOfInvalidRows|0,$?u0===1?"To import this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To import these rows later, download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:u0===1?"You can continue the import without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the import without these ${O.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(Y))])])))],["children",w.Children.toArray(Array.from(t0))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(h0=[u("a",{className:"px-2 py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:px((T0=[O,D,P],GC(T0[0],T0[1],T0[2]))),onClick:I0=>{p(new B2(5,[]))},download:"import_users_error_rows"})],["children",w.Children.toArray(Array.from(h0))])])))],["children",w.Children.toArray(Array.from(B))])])))],["children",w.Children.toArray(Array.from(z))])])))):k0(),T(()=>{let I0;return F(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(I0=q(T(()=>{let J,H,l0;return F(O.HasErrors?x(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",y0=>{j(!O.ShowingOnlyRowsWithErrors)}],(J=[u("input",y(g([["type","checkbox"],["checked",O.ShowingOnlyRowsWithErrors],(H="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",H]),["onKeyPress",y0=>{y0.preventDefault(),y0.key==="Enter"&&j(!O.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(J))])])))):x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(l0=[S3(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(l0))])])))),T(()=>{let y0,n0,w0,c0,x0,U0,b0,Ie,z0,le,Xe;return x(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(y0=[u("div",y(o0((n0=[u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(w0=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(c0=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(x0=[(U0=q(T(()=>F(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>F(O.HasErrors?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):k0(),T(()=>{let R0;return F(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(R0=[u("span",{children:["First name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(R0))])])))),T(()=>{let O0;return F(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(O0=[u("span",{children:["Last name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(O0))])])))),T(()=>{let ue;return F(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(ue=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(ue))])])))),T(()=>F(D?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Mobile Phone"})):k0(),T(()=>P?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Employment Basis"})):k0()))))}))}))})))))),u("tr",{children:w.Children.toArray(Array.from(U0))}))],["children",w.Children.toArray(Array.from(x0))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(b0=q(T(()=>F0(R0=>u("tr",y(q(T(()=>F(x(["key",R0.RowNumber]),T(()=>{let O0;return F((O0=R0.RowNumber%2|0,R0.Errors==null?x(O0===1?["className","bg-white"]:["className","bg-gray-50"]):x(["className","bg-amber-50"])),T(()=>{let ue;return x((ue=q(T(()=>F(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:R0.RowNumber})),T(()=>F(O.HasErrors?x(u("td",y(q(T(()=>F(x(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let S0,L0,A0;return R0.Errors!=null?x((S0=[u("div",y(g([(L0="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",L0]),(A0=q(T(()=>F(x(u("span",{children:[U(R0.Errors).Summary]})),T(()=>{let ze;const mt=U(R0.Errors).Details;return mt==null?k0():x(u("div",y(g([["className","pl-1 text-amber-700 items-center inline-flex"],(ze=[u(hx,{text:mt,children:[ix([])]})],["children",w.Children.toArray(Array.from(ze))])]))))})))),["children",w.Children.toArray(Array.from(A0))])])))],["children",w.Children.toArray(Array.from(S0))])):k0()}))))))):k0(),T(()=>F(x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.FirstName;return A0[0]==null?k0():A0[1]?(S0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))),T(()=>F(x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.LastName;return A0[0]==null?k0():A0[1]?(S0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))),T(()=>F(x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.Email;return A0[0]==null?k0():A0[1]?(S0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))),T(()=>F(D?x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.MobilePhone;return A0[0]==null?k0():A0[1]?(S0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))):k0(),T(()=>P?x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.EmploymentBasis;return A0[0]==null?k0():A0[1]?(S0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],F(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))):k0())))))))))))))),["children",w.Children.toArray(Array.from(ue))]))}))})))))),O.Page))),["children",w.Children.toArray(Array.from(b0))])])))],["children",w.Children.toArray(Array.from(c0))])])))],["children",w.Children.toArray(Array.from(w0))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(Ie=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(z0=[(le=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.ShowingOnlyRowsWithErrors?O.NumberOfInvalidRows:O.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(le))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(Xe=[u("button",y(q(T(()=>{let R0;return F((R0=Z,R0==null?x(["disabled",!0]):x(["onClick",R0])),T(()=>{let O0;return F(x((O0="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",O0])),T(()=>{let ue;return x((ue=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(ue))]))}))}))})))),u("button",y(q(T(()=>{let R0;return F((R0=e0,R0==null?x(["disabled",!0]):x(["onClick",R0])),T(()=>{let O0;return F(x((O0="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",O0])),T(()=>{let ue;return x((ue=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(ue))]))}))}))}))))],["children",w.Children.toArray(Array.from(Xe))])])))],["children",w.Children.toArray(Array.from(z0))])])))],["children",w.Children.toArray(Array.from(Ie))])])))],["children",w.Children.toArray(Array.from(n0))]))))],["children",w.Children.toArray(Array.from(y0))])]))))}))})),["children",w.Children.toArray(Array.from(I0))])])))),T(()=>{let J,H,l0,y0,n0,w0,c0,x0,U0,b0,Ie,z0,le,Xe,R0;return F(O.NumberOfValidRows>0?x(u("div",y(g([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(J=[nx([]),u("div",y(g([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(H=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(l0=[u("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${O.NumberOfValidRows} users to workplace benefits`})],["children",w.Children.toArray(Array.from(l0))])]))),g2("What is workplace benefits?",()=>{C(!0)}),u("div",y(o0((y0=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(n0=[u("div",y(g([["key",ne(new Fe(1,[]))],["className","relative flex items-start"],(w0=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",O0=>{L(new Fe(1,[]))}],(c0=[u("input",y(g([["id",ne(new Fe(1,[]))],["name","InviteTiming"],["type","radio"],(x0="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",x0]),["checked",X(O.InviteTiming,new Fe(1,[]))],["onChange",O0=>{O0.target.checked,L(new Fe(1,[]))}]])))],["children",w.Children.toArray(Array.from(c0))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(U0=[u("label",{for:ne(new Fe(1,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import now, invite later"}),u("p",{id:`${ne(new Fe(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",w.Children.toArray(Array.from(U0))])])))],["children",w.Children.toArray(Array.from(w0))])])))],["children",w.Children.toArray(Array.from(n0))])]))),u("div",y(o0((b0=[u("div",y(g([["key",ne(new Fe(0,[]))],["className","relative flex items-start"],(Ie=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",O0=>{L(new Fe(0,[]))}],(z0=[u("input",y(g([["id",ne(new Fe(0,[]))],["name","InviteTiming"],["type","radio"],(le="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",le]),["checked",X(O.InviteTiming,new Fe(0,[]))],["onChange",O0=>{O0.target.checked,L(new Fe(0,[]))}]])))],["children",w.Children.toArray(Array.from(z0))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(Xe=[u("label",{for:ne(new Fe(0,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import and invite now"}),u("p",y(g([["id",`${ne(new Fe(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(R0="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",R0])])))],["children",w.Children.toArray(Array.from(Xe))])])))],["children",w.Children.toArray(Array.from(Ie))])])))],["children",w.Children.toArray(Array.from(b0))]))))],["children",w.Children.toArray(Array.from(y0))]))))],["children",w.Children.toArray(Array.from(H))])])))],["children",w.Children.toArray(Array.from(J))])])))):k0(),T(()=>{let O0,ue,S0,L0,A0,ze,mt,v1;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(O0=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(ue=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(S0=[u("button",y(g([(L0="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",L0]),["onClick",u1=>{s()}],(A0=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(A0))])]))),u("button",y(g([(ze="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",ze]),["onClick",u1=>{R(!0)}],["disabled",O.NumberOfValidRows===0],(mt=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(v1=O.NumberOfValidRows|0,v1===0?"Import users":v1===1?"Import 1 user":`Import ${O.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(mt))])])))],["children",w.Children.toArray(Array.from(S0))])])))],["children",w.Children.toArray(Array.from(ue))])])))],["children",w.Children.toArray(Array.from(O0))])]))))}))}))}))})))),["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(E))]))}else return x((k=[mx()],["children",w.Children.toArray(Array.from(k))]))}))))))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}var D2={},G5,Vs;function Ae(){return Vs||(Vs=1,G5={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),G5}var z5,Hs;function T2(){if(Hs)return z5;Hs=1;var e=Ae();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 z5=t,z5}var $2={},Us;function N2(){return Us||(Us=1,$2.log=function(){},$2.setLogger=function(t){$2.enabled=!0,$2.log=t}),$2}var Y5,js;function q9(){if(js)return Y5;js=1;var e=Ae(),t=T2(),r=N2();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 c=l.feed(s);if(c){if(c==e.foundIt)return this._mBestGuessProber=l,this.getState();if(c==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,c;c=this._mProbers[l];l++)if(c){if(!c.active){r.log(c.getCharsetName()+` not active
|
|
48
|
+
`))}else{let h=d.props,m=h==null?void 0:h.className,p=typeof m=="function"?(..._)=>ii(m(..._),l.className):ii(m,l.className),v=p?{className:p}:{},b=El(d.props,vt(L5(l,["ref"])));for(let _ in f)_ in b&&delete f[_];return Ni(d,Object.assign({},b,f,c,{ref:i(Zy(d),c.ref)},v))}return u(o,Object.assign({},L5(l,["ref"]),o!==X0&&c,o!==X0&&f),d)}function zy(){let e=a0([]),t=P0(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 Yy(...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 El(...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 Al(...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 Ee(e){var t;return Object.assign(Ei(e),{displayName:(t=e.displayName)!=null?t:e.name})}function vt(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function L5(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Zy(e){return Q.version.split(".")[0]>="19"?e.props.ref:e.ref}function Ky(e,t,r){let[n,i]=C0(r),o=e!==void 0,s=a0(o),a=a0(!1),l=a0(!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,p0(c=>(o||i(c),t==null?void 0:t(c)))]}function Jy(e){let[t]=C0(e);return t}function Tl(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))Ml(r,Nl(t,n),i);return r}function Nl(e,t){return e?e+"["+t+"]":t}function Ml(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())Ml(e,Nl(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,""]):Tl(r,t,e)}function Xy(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 Qy="span";var a3=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(a3||{});function ev(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 Re()({ourProps:o,theirProps:i,slot:{},defaultTag:Qy,name:"Hidden"})}let ir=Ee(ev),tv=me(null);function rv({children:e}){let t=W0(tv);if(!t)return Q.createElement(Q.Fragment,null,e);let{target:r}=t;return r?Fn(Q.createElement(Q.Fragment,null,e),r):null}function nv({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[o,s]=C0(null),a=jt();return H0(()=>{if(n&&o)return a.addEventListener(o,"reset",n)},[o,t,n]),Q.createElement(rv,null,Q.createElement(iv,{setForm:s,formId:t}),Tl(e).map(([l,c])=>Q.createElement(ir,{features:a3.Hidden,...vt({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:l,value:c,...i})})))}function iv({setForm:e,formId:t}){return H0(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:Q.createElement(ir,{features:a3.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:r=>{if(!r)return;let n=r.closest("form");n&&e(n)}})}let ov=me(void 0);function kl(){return W0(ov)}function sv(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&&av(r)?!1:n}function av(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Il=Symbol();function lv(e,t=!0){return Object.assign(e,{[Il]:t})}function He(...e){let t=a0(e);H0(()=>{t.current=e},[e]);let r=p0(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[Il]))?void 0:r}let a5=me(null);a5.displayName="DescriptionContext";function Rl(){let e=W0(a5);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,Rl),t}return e}function uv(){var e,t;return(t=(e=W0(a5))==null?void 0:e.value)!=null?t:void 0}function cv(){let[e,t]=C0([]);return[e.length>0?e.join(" "):void 0,g0(()=>function(r){let n=p0(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=g0(()=>({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(a5.Provider,{value:i},r.children)},[t])]}let dv="p";function fv(e,t){let r=v1(),n=uo(),{id:i=`headlessui-description-${r}`,...o}=e,s=Rl(),a=He(t);se(()=>s.register(i),[i,s.register]);let l=n||!1,c=g0(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return Re()({ourProps:d,theirProps:o,slot:c,defaultTag:dv,name:s.name||"Description"})}let hv=Ee(fv),mv=Object.assign(hv,{});var Te=(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))(Te||{});let l5=me(null);l5.displayName="LabelContext";function Ol(){let e=W0(l5);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,Ol),t}return e}function Dl(e){var t,r,n;let i=(r=(t=W0(l5))==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 pv({inherit:e=!1}={}){let t=Dl(),[r,n]=C0([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,g0(()=>function(o){let s=p0(l=>(n(c=>[...c,l]),()=>n(c=>{let d=c.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=g0(()=>({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(l5.Provider,{value:a},o.children)},[n])]}let gv="label";function wv(e,t){var r;let n=v1(),i=Ol(),o=kl(),s=uo(),{id:a=`headlessui-label-${n}`,htmlFor:l=o??((r=i.props)==null?void 0:r.htmlFor),passive:c=!1,...d}=e,f=He(t);se(()=>i.register(a),[a,i.register]);let h=p0(b=>{let _=b.currentTarget;if(_ instanceof HTMLLabelElement&&b.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(b),_ instanceof HTMLLabelElement){let C=document.getElementById(_.htmlFor);if(C){let A=C.getAttribute("disabled");if(A==="true"||A==="")return;let N=C.getAttribute("aria-disabled");if(N==="true"||N==="")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})}}}),m=s||!1,p=g0(()=>({...i.slot,disabled:m}),[i.slot,m]),v={ref:f,...i.props,id:a,htmlFor:l,onClick:h};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in d&&delete d.onClick),Re()({ourProps:v,theirProps:d,slot:p,defaultTag:l?gv:"div",name:i.name||"Label"})}let yv=Ee(wv),vv=Object.assign(yv,{}),bv=me(()=>{});function _v({value:e,children:t}){return Q.createElement(bv.Provider,{value:e},t)}function Cv(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 xv(e=Cv){return P0((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 Sv(e){if(e===null)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function Ev(e,t=!1){let[r,n]=v2(()=>({}),{}),i=g0(()=>Sv(e),[e,r]);return se(()=>{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 Av=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 $l(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 Fl(e){return $n(e.subscribe,e.getSnapshot,e.getSnapshot)}let Tv=new Av(()=>$l(()=>[],{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 v3(e,t){let r=Tv.get(t),n=v1(),i=Fl(r);if(se(()=>{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 oi=new Map,J3=new Map;function ms(e){var t;let r=(t=J3.get(e))!=null?t:0;return J3.set(e,r+1),r!==0?()=>ps(e):(oi.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>ps(e))}function ps(e){var t;let r=(t=J3.get(e))!=null?t:1;if(r===1?J3.delete(e):J3.set(e,r-1),r!==1)return;let n=oi.get(e);n&&(n["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,oi.delete(e))}function Pl(e,{allowed:t,disallowed:r}={}){let n=v3(e,"inert-others");se(()=>{var i,o;if(!n)return;let s=mt();for(let l of(i=r==null?void 0:r())!=null?i:[])l&&s.add(ms(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let c=y3(l);if(!c)continue;let d=l.parentElement;for(;d&&d!==c.body;){for(let f of d.children)a.some(h=>f.contains(h))||s.add(ms(f));d=d.parentElement}}return s.dispose},[n,t,r])}function Ll(e,t,r){let n=Wt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});H0(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=mt();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 An=["[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(","),Nv=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var E1=(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))(E1||{}),si=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(si||{}),Mv=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Mv||{});function Bl(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(An)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function kv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Nv)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var co=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(co||{});function Vl(e,t=0){var r;return e===((r=y3(e))==null?void 0:r.body)?!1:Je(t,{0(){return e.matches(An)},1(){let n=e;for(;n!==null;){if(n.matches(An))return!0;n=n.parentElement}return!1}})}var Iv=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Iv||{});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 rt(e){e==null||e.focus({preventScroll:!0})}let Rv=["textarea","input"].join(",");function Ov(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Rv))!=null?r:!1}function Hl(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 Dv(e,t){return K2(Bl(),t,{relativeTo:e})}function K2(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?Hl(e):e:t&64?kv(e):Bl(e);i.length>0&&s.length>1&&(s=s.filter(m=>!i.some(p=>p!=null&&"current"in p?(p==null?void 0:p.current)===m:p===m))),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")})(),c=t&32?{preventScroll:!0}:{},d=0,f=s.length,h;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}h=s[m],h==null||h.focus(c),d+=a}while(h!==o.activeElement);return t&6&&Ov(h)&&h.select(),2}function Ul(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function $v(){return/Android/gi.test(window.navigator.userAgent)}function Fv(){return Ul()||$v()}function F3(e,t,r,n){let i=Wt(r);H0(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,n),()=>document.removeEventListener(t,o,n)},[e,t,n])}function jl(e,t,r,n){let i=Wt(r);H0(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,n),()=>window.removeEventListener(t,o,n)},[e,t,n])}const gs=30;function Wl(e,t,r){let n=v3(e,"outside-click"),i=Wt(r),o=P0(function(l,c){if(l.defaultPrevented)return;let d=c(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function h(m){return typeof m=="function"?h(m()):Array.isArray(m)||m instanceof Set?m:[m]}(t);for(let h of f)if(h!==null&&(h.contains(d)||l.composed&&l.composedPath().includes(h)))return;return!Vl(d,co.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=a0(null);F3(n,"pointerdown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),F3(n,"mousedown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),F3(n,"click",l=>{Fv()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=a0({x:0,y:0});F3(n,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),F3(n,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-a.current.x)>=gs||Math.abs(c.y-a.current.y)>=gs))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),jl(n,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function b3(...e){return g0(()=>y3(...e),[...e])}function ql(e,t,r,n){let i=Wt(r);H0(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function Pv(e,t){return g0(()=>{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 Lv(){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 Bv(){return Ul()?{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=mt();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:c}=new URL(l.href),d=e.querySelector(c);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 Vv(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Hv(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let s2=$l(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:mt(),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:Hv(r)},i=[Bv(),Lv(),Vv()];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)}});s2.subscribe(()=>{let e=s2.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)&&s2.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&s2.dispatch("TEARDOWN",r)}});function Uv(e,t,r=()=>({containers:[]})){let n=Fl(s2),i=t?n.get(t):void 0,o=i?i.count>0:!1;return se(()=>{if(!(!t||!e))return s2.dispatch("PUSH",t,r),()=>s2.dispatch("POP",t,r)},[e,t]),o}function Gl(e,t,r=()=>[document.body]){let n=v3(e,"scroll-lock");Uv(n,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function ws(e){return[e.screenX,e.screenY]}function jv(){let e=a0([-1,-1]);return{wasMoved(t){let r=ws(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=ws(t)}}}function Wv(e=0){let[t,r]=C0(e),n=P0(l=>r(l),[t]),i=P0(l=>r(c=>c|l),[t]),o=P0(l=>(t&l)===l,[t]),s=P0(l=>r(c=>c&~l),[r]),a=P0(l=>r(c=>c^l),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var qv={},ys,vs;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ys=process==null?void 0:qv)==null?void 0:ys.NODE_ENV)==="test"&&typeof((vs=Element==null?void 0:Element.prototype)==null?void 0:vs.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 Gv=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Gv||{});function zl(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function Yl(e,t,r,n){let[i,o]=C0(r),{hasFlag:s,addFlag:a,removeFlag:l}=Wv(e&&i?3:0),c=a0(!1),d=a0(!1),f=jt();return se(()=>{var h;if(e){if(r&&o(!0),!t){r&&a(3);return}return(h=n==null?void 0:n.start)==null||h.call(n,r),zv(t,{inFlight:c,prepare(){d.current?d.current=!1:d.current=c.current,c.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 m;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(c.current=!1,l(7),r||o(!1),(m=n==null?void 0:n.end)==null||m.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 zv(e,{prepare:t,run:r,done:n,inFlight:i}){let o=mt();return Zv(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(Yv(e,n))})}),o.dispose}function Yv(e,t){var r,n;let i=mt();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 Zv(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 fo(e,t){let r=a0([]),n=p0(e);H0(()=>{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 u5(){return typeof window<"u"}function _3(e){return Zl(e)?(e.nodeName||"").toLowerCase():"#document"}function l1(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function U1(e){var t;return(t=(Zl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zl(e){return u5()?e instanceof Node||e instanceof l1(e).Node:!1}function We(e){return u5()?e instanceof Element||e instanceof l1(e).Element:!1}function F1(e){return u5()?e instanceof HTMLElement||e instanceof l1(e).HTMLElement:!1}function bs(e){return!u5()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof l1(e).ShadowRoot}function Sr(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=N1(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Kv(e){return["table","td","th"].includes(_3(e))}function c5(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ho(e){const t=mo(),r=We(e)?N1(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 Jv(e){let t=Rt(e);for(;F1(t)&&!l3(t);){if(ho(t))return t;if(c5(t))return null;t=Rt(t)}return null}function mo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function l3(e){return["html","body","#document"].includes(_3(e))}function N1(e){return l1(e).getComputedStyle(e)}function d5(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(_3(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bs(e)&&e.host||U1(e);return bs(t)?t.host:t}function Kl(e){const t=Rt(e);return l3(t)?e.ownerDocument?e.ownerDocument.body:e.body:F1(t)&&Sr(t)?t:Kl(t)}function or(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=Kl(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=l1(i);if(o){const a=ai(s);return t.concat(s,s.visualViewport||[],Sr(i)?i:[],a&&r?or(a):[])}return t.concat(i,or(i,[],r))}function ai(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xv(){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 m2=Math.min,Le=Math.max,sr=Math.round,Br=Math.floor,R1=e=>({x:e,y:e}),Qv={left:"right",right:"left",bottom:"top",top:"bottom"},eb={start:"end",end:"start"};function _s(e,t,r){return Le(e,m2(t,r))}function C3(e,t){return typeof e=="function"?e(t):e}function Ot(e){return e.split("-")[0]}function Er(e){return e.split("-")[1]}function Jl(e){return e==="x"?"y":"x"}function Xl(e){return e==="y"?"height":"width"}function p2(e){return["top","bottom"].includes(Ot(e))?"y":"x"}function Ql(e){return Jl(p2(e))}function tb(e,t,r){r===void 0&&(r=!1);const n=Er(e),i=Ql(e),o=Xl(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Tn(s)),[s,Tn(s)]}function rb(e){const t=Tn(e);return[li(e),t,li(t)]}function li(e){return e.replace(/start|end/g,t=>eb[t])}function nb(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 ib(e,t,r,n){const i=Er(e);let o=nb(Ot(e),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(li)))),o}function Tn(e){return e.replace(/left|right|bottom|top/g,t=>Qv[t])}function ob(e){return{top:0,right:0,bottom:0,left:0,...e}}function sb(e){return typeof e!="number"?ob(e):{top:e,right:e,bottom:e,left:e}}function Nn(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 Cs(e,t,r){let{reference:n,floating:i}=e;const o=p2(t),s=Ql(t),a=Xl(s),l=Ot(t),c=o==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,h=n[a]/2-i[a]/2;let m;switch(l){case"top":m={x:d,y:n.y-i.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-i.width,y:f};break;default:m={x:n.x,y:n.y}}switch(Er(t)){case"start":m[s]-=h*(r&&c?-1:1);break;case"end":m[s]+=h*(r&&c?-1:1);break}return m}const ab=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 c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Cs(c,n,l),h=n,m={},p=0;for(let v=0;v<a.length;v++){const{name:b,fn:_}=a[v],{x:C,y:A,data:N,reset:R}=await _({x:d,y:f,initialPlacement:n,placement:h,strategy:i,middlewareData:m,rects:c,platform:s,elements:{reference:e,floating:t}});d=C??d,f=A??f,m={...m,[b]:{...m[b],...N}},R&&p<=50&&(p++,typeof R=="object"&&(R.placement&&(h=R.placement),R.rects&&(c=R.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:d,y:f}=Cs(c,h,l)),v=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:m}};async function f5(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=C3(t,e),p=sb(m),b=a[h?f==="floating"?"reference":"floating":f],_=Nn(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(b)))==null||r?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),C=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),N=await(o.isElement==null?void 0:o.isElement(A))?await(o.getScale==null?void 0:o.getScale(A))||{x:1,y:1}:{x:1,y:1},R=Nn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:A,strategy:l}):C);return{top:(_.top-R.top+p.top)/N.y,bottom:(R.bottom-_.bottom+p.bottom)/N.y,left:(_.left-R.left+p.left)/N.x,right:(R.right-_.right+p.right)/N.x}}const lb=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:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...b}=C3(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const _=Ot(i),C=p2(a),A=Ot(a)===a,N=await(l.isRTL==null?void 0:l.isRTL(c.floating)),R=h||(A||!v?[Tn(a)]:rb(a)),D=p!=="none";!h&&D&&R.push(...ib(a,v,p,N));const P=[a,...R],E=await f5(t,b),S=[];let k=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&S.push(E[_]),f){const j=tb(i,s,N);S.push(E[j[0]],E[j[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every(j=>j<=0)){var M,O;const j=(((M=o.flip)==null?void 0:M.index)||0)+1,e0=P[j];if(e0)return{data:{index:j,overflows:k},reset:{placement:e0}};let Z=(O=k.filter(z=>z.overflows[0]<=0).sort((z,B)=>z.overflows[1]-B.overflows[1])[0])==null?void 0:O.placement;if(!Z)switch(m){case"bestFit":{var L;const z=(L=k.filter(B=>{if(D){const K=p2(B.placement);return K===C||K==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(K=>K>0).reduce((K,W)=>K+W,0)]).sort((B,K)=>B[1]-K[1])[0])==null?void 0:L[0];z&&(Z=z);break}case"initialPlacement":Z=a;break}if(i!==Z)return{reset:{placement:Z}}}return{}}}};async function ub(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Ot(r),a=Er(r),l=p2(r)==="y",c=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=C3(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(m=a==="end"?p*-1:p),l?{x:m*d,y:h*c}:{x:h*c,y:m*d}}const cb=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 ub(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}}}}},db=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:b=>{let{x:_,y:C}=b;return{x:_,y:C}}},...l}=C3(e,t),c={x:r,y:n},d=await f5(t,l),f=p2(Ot(i)),h=Jl(f);let m=c[h],p=c[f];if(o){const b=h==="y"?"top":"left",_=h==="y"?"bottom":"right",C=m+d[b],A=m-d[_];m=_s(C,m,A)}if(s){const b=f==="y"?"top":"left",_=f==="y"?"bottom":"right",C=p+d[b],A=p-d[_];p=_s(C,p,A)}const v=a.fn({...t,[h]:m,[f]:p});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[h]:o,[f]:s}}}}}},fb=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=()=>{},...c}=C3(e,t),d=await f5(t,c),f=Ot(i),h=Er(i),m=p2(i)==="y",{width:p,height:v}=o.floating;let b,_;f==="top"||f==="bottom"?(b=f,_=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,b=h==="end"?"top":"bottom");const C=v-d.top-d.bottom,A=p-d.left-d.right,N=m2(v-d[b],C),R=m2(p-d[_],A),D=!t.middlewareData.shift;let P=N,E=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=A),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=C),D&&!h){const k=Le(d.left,0),M=Le(d.right,0),O=Le(d.top,0),L=Le(d.bottom,0);m?E=p-2*(k!==0||M!==0?k+M:Le(d.left,d.right)):P=v-2*(O!==0||L!==0?O+L:Le(d.top,d.bottom))}await l({...t,availableWidth:E,availableHeight:P});const S=await s.getDimensions(a.floating);return p!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function e9(e){const t=N1(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=F1(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=sr(r)!==o||sr(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function po(e){return We(e)?e:e.contextElement}function J2(e){const t=po(e);if(!F1(t))return R1(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=e9(t);let s=(o?sr(r.width):r.width)/n,a=(o?sr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const hb=R1(0);function t9(e){const t=l1(e);return!mo()||!t.visualViewport?hb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mb(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==l1(e)?!1:t}function g2(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=po(e);let s=R1(1);t&&(n?We(n)&&(s=J2(n)):s=J2(e));const a=mb(o,r,n)?t9(o):R1(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const h=l1(o),m=n&&We(n)?l1(n):n;let p=h,v=ai(p);for(;v&&n&&m!==p;){const b=J2(v),_=v.getBoundingClientRect(),C=N1(v),A=_.left+(v.clientLeft+parseFloat(C.paddingLeft))*b.x,N=_.top+(v.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,f*=b.y,l+=A,c+=N,p=l1(v),v=ai(p)}}return Nn({width:d,height:f,x:l,y:c})}function go(e,t){const r=d5(e).scrollLeft;return t?t.left+r:g2(U1(e)).left+r}function r9(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:go(e,n)),o=n.top+t.scrollTop;return{x:i,y:o}}function pb(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",s=U1(n),a=t?c5(t.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=R1(1);const d=R1(0),f=F1(n);if((f||!f&&!o)&&((_3(n)!=="body"||Sr(s))&&(l=d5(n)),F1(n))){const m=g2(n);c=J2(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}const h=s&&!f&&!o?r9(s,l,!0):R1(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:r.y*c.y-l.scrollTop*c.y+d.y+h.y}}function gb(e){return Array.from(e.getClientRects())}function wb(e){const t=U1(e),r=d5(e),n=e.ownerDocument.body,i=Le(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Le(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+go(e);const a=-r.scrollTop;return N1(n).direction==="rtl"&&(s+=Le(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}function yb(e,t){const r=l1(e),n=U1(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=mo();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function vb(e,t){const r=g2(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=F1(e)?J2(e):R1(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=n*o.y;return{width:s,height:a,x:l,y:c}}function xs(e,t,r){let n;if(t==="viewport")n=yb(e,r);else if(t==="document")n=wb(U1(e));else if(We(t))n=vb(t,r);else{const i=t9(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Nn(n)}function n9(e,t){const r=Rt(e);return r===t||!We(r)||l3(r)?!1:N1(r).position==="fixed"||n9(r,t)}function bb(e,t){const r=t.get(e);if(r)return r;let n=or(e,[],!1).filter(a=>We(a)&&_3(a)!=="body"),i=null;const o=N1(e).position==="fixed";let s=o?Rt(e):e;for(;We(s)&&!l3(s);){const a=N1(s),l=ho(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Sr(s)&&!l&&n9(e,s))?n=n.filter(d=>d!==s):i=a,s=Rt(s)}return t.set(e,n),n}function _b(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=[...r==="clippingAncestors"?c5(t)?[]:bb(t,this._c):[].concat(r),n],a=s[0],l=s.reduce((c,d)=>{const f=xs(t,d,i);return c.top=Le(f.top,c.top),c.right=m2(f.right,c.right),c.bottom=m2(f.bottom,c.bottom),c.left=Le(f.left,c.left),c},xs(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Cb(e){const{width:t,height:r}=e9(e);return{width:t,height:r}}function xb(e,t,r){const n=F1(t),i=U1(t),o=r==="fixed",s=g2(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=R1(0);if(n||!n&&!o)if((_3(t)!=="body"||Sr(i))&&(a=d5(t)),n){const h=g2(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&(l.x=go(i));const c=i&&!n&&!o?r9(i,a):R1(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function B5(e){return N1(e).position==="static"}function Ss(e,t){if(!F1(e)||N1(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return U1(e)===r&&(r=r.ownerDocument.body),r}function i9(e,t){const r=l1(e);if(c5(e))return r;if(!F1(e)){let i=Rt(e);for(;i&&!l3(i);){if(We(i)&&!B5(i))return i;i=Rt(i)}return r}let n=Ss(e,t);for(;n&&Kv(n)&&B5(n);)n=Ss(n,t);return n&&l3(n)&&B5(n)&&!ho(n)?r:n||Jv(e)||r}const Sb=async function(e){const t=this.getOffsetParent||i9,r=this.getDimensions,n=await r(e.floating);return{reference:xb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Eb(e){return N1(e).direction==="rtl"}const Ab={convertOffsetParentRelativeRectToViewportRelativeRect:pb,getDocumentElement:U1,getClippingRect:_b,getOffsetParent:i9,getElementRects:Sb,getClientRects:gb,getDimensions:Cb,getScale:J2,isElement:We,isRTL:Eb};function o9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Tb(e,t){let r=null,n;const i=U1(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 c=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=c;if(a||t(),!h||!m)return;const p=Br(f),v=Br(i.clientWidth-(d+h)),b=Br(i.clientHeight-(f+m)),_=Br(d),A={rootMargin:-p+"px "+-v+"px "+-b+"px "+-_+"px",threshold:Le(0,m2(1,l))||1};let N=!0;function R(D){const P=D[0].intersectionRatio;if(P!==l){if(!N)return s();P?s(!1,P):n=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!o9(c,e.getBoundingClientRect())&&s(),N=!1}try{r=new IntersectionObserver(R,{...A,root:i.ownerDocument})}catch{r=new IntersectionObserver(R,A)}r.observe(e)}return s(!0),o}function Nb(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,c=po(e),d=i||o?[...c?or(c):[],...or(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",r,{passive:!0}),o&&_.addEventListener("resize",r)});const f=c&&a?Tb(c,r):null;let h=-1,m=null;s&&(m=new ResizeObserver(_=>{let[C]=_;C&&C.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var A;(A=m)==null||A.observe(t)})),r()}),c&&!l&&m.observe(c),m.observe(t));let p,v=l?g2(e):null;l&&b();function b(){const _=g2(e);v&&!o9(v,_)&&r(),v=_,p=requestAnimationFrame(b)}return r(),()=>{var _;d.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),f==null||f(),(_=m)==null||_.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const V5=f5,Mb=cb,kb=db,Ib=lb,Rb=fb,Ob=(e,t,r)=>{const n=new Map,i={platform:Ab,...r},o={...i.platform,_c:n};return ab(e,t,{...i,platform:o})};var Jr=typeof document<"u"?P1:H0;function Mn(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(!Mn(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)&&!Mn(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function s9(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Es(e,t){const r=s9(e);return Math.round(t*r)/r}function H5(e){const t=a0(e);return Jr(()=>{t.current=e}),t}function Db(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:c}=e,[d,f]=C0({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=C0(n);Mn(h,n)||m(n);const[p,v]=C0(null),[b,_]=C0(null),C=P0(B=>{B!==D.current&&(D.current=B,v(B))},[]),A=P0(B=>{B!==P.current&&(P.current=B,_(B))},[]),N=o||p,R=s||b,D=a0(null),P=a0(null),E=a0(d),S=l!=null,k=H5(l),M=H5(i),O=H5(c),L=P0(()=>{if(!D.current||!P.current)return;const B={placement:t,strategy:r,middleware:h};M.current&&(B.platform=M.current),Ob(D.current,P.current,B).then(K=>{const W={...K,isPositioned:O.current!==!1};j.current&&!Mn(E.current,W)&&(E.current=W,s1(()=>{f(W)}))})},[h,t,r,M,O]);Jr(()=>{c===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(B=>({...B,isPositioned:!1})))},[c]);const j=a0(!1);Jr(()=>(j.current=!0,()=>{j.current=!1}),[]),Jr(()=>{if(N&&(D.current=N),R&&(P.current=R),N&&R){if(k.current)return k.current(N,R,L);L()}},[N,R,L,k,S]);const e0=g0(()=>({reference:D,floating:P,setReference:C,setFloating:A}),[C,A]),Z=g0(()=>({reference:N,floating:R}),[N,R]),z=g0(()=>{const B={position:r,left:0,top:0};if(!Z.floating)return B;const K=Es(Z.floating,d.x),W=Es(Z.floating,d.y);return a?{...B,transform:"translate("+K+"px, "+W+"px)",...s9(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:K,top:W}},[r,a,Z.floating,d.x,d.y]);return g0(()=>({...d,update:L,refs:e0,elements:Z,floatingStyles:z}),[d,L,e0,Z,z])}const a9=(e,t)=>({...Mb(e),options:[e,t]}),$b=(e,t)=>({...kb(e),options:[e,t]}),Fb=(e,t)=>({...Ib(e),options:[e,t]}),Pb=(e,t)=>({...Rb(e),options:[e,t]}),l9={...on},Lb=l9.useInsertionEffect,Bb=Lb||(e=>e());function u9(e){const t=a0(()=>{});return Bb(()=>{t.current=e}),P0(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 ui=typeof document<"u"?P1:H0;let As=!1,Vb=0;const Ts=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Vb++;function Hb(){const[e,t]=C0(()=>As?Ts():void 0);return ui(()=>{e==null&&t(Ts())},[]),H0(()=>{As=!0},[]),e}const Ub=l9.useId,jb=Ub||Hb;function Wb(){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 qb=me(null),Gb=me(null),zb=()=>{var e;return((e=W0(qb))==null?void 0:e.id)||null},Yb=()=>W0(Gb),Zb="data-floating-ui-focusable";function Kb(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=jb(),o=a0({}),[s]=C0(()=>Wb()),a=zb()!=null,[l,c]=C0(n.reference),d=u9((m,p,v)=>{o.current.openEvent=m?p:void 0,s.emit("openchange",{open:m,event:p,reason:v,nested:a}),r==null||r(m,p,v)}),f=g0(()=>({setPositionReference:c}),[]),h=g0(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return g0(()=>({dataRef:o,open:t,onOpenChange:d,elements:h,events:s,floatingId:i,refs:f}),[t,d,h,s,i,f])}function Jb(e){e===void 0&&(e={});const{nodeId:t}=e,r=Kb({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[o,s]=C0(null),[a,l]=C0(null),d=(i==null?void 0:i.domReference)||o,f=a0(null),h=Yb();ui(()=>{d&&(f.current=d)},[d]);const m=Db({...e,elements:{...i,...a&&{reference:a}}}),p=P0(A=>{const N=We(A)?{getBoundingClientRect:()=>A.getBoundingClientRect(),contextElement:A}:A;l(N),m.refs.setReference(N)},[m.refs]),v=P0(A=>{(We(A)||A===null)&&(f.current=A,s(A)),(We(m.refs.reference.current)||m.refs.reference.current===null||A!==null&&!We(A))&&m.refs.setReference(A)},[m.refs]),b=g0(()=>({...m.refs,setReference:v,setPositionReference:p,domReference:f}),[m.refs,v,p]),_=g0(()=>({...m.elements,domReference:d}),[m.elements,d]),C=g0(()=>({...m,...n,refs:b,elements:_,nodeId:t}),[m,b,_,t,n]);return ui(()=>{n.dataRef.current.floatingContext=C;const A=h==null?void 0:h.nodesRef.current.find(N=>N.id===t);A&&(A.context=C)}),g0(()=>({...m,context:C,refs:b,elements:_}),[m,b,_,C])}const Ns="active",Ms="selected";function U5(e,t,r){const n=new Map,i=r==="item";let o=e;if(i&&e){const{[Ns]:s,[Ms]:a,...l}=e;o=l}return{...r==="floating"&&{tabIndex:-1,[Zb]:""},...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[c,d]=l;if(!(i&&[Ns,Ms].includes(c)))if(c.indexOf("on")===0){if(n.has(c)||n.set(c,[]),typeof d=="function"){var f;(f=n.get(c))==null||f.push(d),s[c]=function(){for(var h,m=arguments.length,p=new Array(m),v=0;v<m;v++)p[v]=arguments[v];return(h=n.get(c))==null?void 0:h.map(b=>b(...p)).find(b=>b!==void 0)}}}else s[c]=d}),s),{})}}function Xb(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=P0(a=>U5(a,e,"reference"),t),o=P0(a=>U5(a,e,"floating"),r),s=P0(a=>U5(a,e,"item"),n);return g0(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function ks(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Qb=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:c,...d}=C3(e,t),{rects:f,elements:{floating:h}}=t,m=r.current[s],p=(c==null?void 0:c.current)||h,v=h.clientTop||p.clientTop,b=h.clientTop!==0,_=p.clientTop!==0,C=h===p;if(!m)return{};const A={...t,...await a9(-m.offsetTop-h.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},N=await V5(ks(A,p.scrollHeight+v+h.clientTop),d),R=await V5(A,{...d,elementContext:"reference"}),D=Le(0,N.top),P=A.y+D,k=(p.scrollHeight>p.clientHeight?M=>M:sr)(Le(0,p.scrollHeight+(b&&C||_?v*2:0)-D-Le(0,N.bottom)));if(p.style.maxHeight=k+"px",p.scrollTop=D,i){const M=p.offsetHeight<m.offsetHeight*m2(a,r.current.length)-1||R.top>=-l||R.bottom>=-l;s1(()=>i(M))}return n&&(n.current=await V5(ks({...A,y:P},p.offsetHeight+v+h.clientTop),d)),{y:P}}});function e_(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=u9(a),c=a0(!1),d=a0(null),f=a0(null);H0(()=>{if(!i)return;function m(v){if(v.ctrlKey||!p||o.current==null)return;const b=v.deltaY,_=o.current.top>=-.5,C=o.current.bottom>=-.5,A=p.scrollHeight-p.clientHeight,N=b<0?-1:1,R=b<0?"max":"min";p.scrollHeight<=p.clientHeight||(!_&&b>0||!C&&b<0?(v.preventDefault(),s1(()=>{l(D=>D+Math[R](b,A*N))})):/firefox/i.test(Xv())&&(p.scrollTop+=b))}const p=(s==null?void 0:s.current)||n.floating;if(r&&p)return p.addEventListener("wheel",m),requestAnimationFrame(()=>{d.current=p.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,p.removeEventListener("wheel",m)}},[i,r,n.floating,o,s,l]);const h=g0(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const m=(s==null?void 0:s.current)||n.floating;if(!(!o.current||!m||!c.current)){if(d.current!==null){const p=m.scrollTop-d.current;(o.current.bottom<-.5&&p<-1||o.current.top<-.5&&p>1)&&s1(()=>l(v=>v+p))}requestAnimationFrame(()=>{d.current=m.scrollTop})}}}),[n.floating,l,o,s]);return g0(()=>i?{floating:h}:{},[i,h])}let x3=me({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});x3.displayName="FloatingContext";let wo=me(null);wo.displayName="PlacementContext";function t_(e){return g0(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function r_(){return W0(x3).setReference}function n_(){return W0(x3).getReferenceProps}function i_(){let{getFloatingProps:e,slot:t}=W0(x3);return P0((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor}),[e,t])}function o_(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=W0(wo),r=g0(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);se(()=>{t==null||t(r??null)},[t,r]);let n=W0(x3);return g0(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}let Is=4;function s_({children:e,enabled:t=!0}){let[r,n]=C0(null),[i,o]=C0(0),s=a0(null),[a,l]=C0(null);a_(a);let c=t&&r!==null&&a!==null,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:p}=l_(r,a),[v,b="center"]=d.split(" ");se(()=>{c&&o(0)},[c]);let{refs:_,floatingStyles:C,context:A}=Jb({open:c,placement:v==="selection"?b==="center"?"bottom":`bottom-${b}`:b==="center"?`${v}`:`${v}-${b}`,strategy:"absolute",transform:!1,middleware:[a9({mainAxis:v==="selection"?0:f,crossAxis:h}),$b({padding:m}),v!=="selection"&&Fb({padding:m}),v==="selection"&&p?Qb({...p,padding:m,overflowRef:s,offset:i,minItemsVisible:Is,referenceOverflowThreshold:m,onFallbackChange(M){var O,L;if(!M)return;let j=A.elements.floating;if(!j)return;let e0=parseFloat(getComputedStyle(j).scrollPaddingBottom)||0,Z=Math.min(Is,j.childElementCount),z=0,B=0;for(let K of(L=(O=A.elements.floating)==null?void 0:O.childNodes)!=null?L:[])if(K instanceof HTMLElement){let W=K.offsetTop,t0=W+K.clientHeight+e0,Y=j.scrollTop,F=Y+j.clientHeight;if(W>=Y&&t0<=F)Z--;else{B=Math.max(0,Math.min(t0,F)-Math.max(W,Y)),z=K.clientHeight;break}}Z>=1&&o(K=>{let W=z*Z-B+e0;return K>=W?K:W})}}):null,Pb({padding:m,apply({availableWidth:M,availableHeight:O,elements:L}){Object.assign(L.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${O}px)`})}})].filter(Boolean),whileElementsMounted:Nb}),[N=v,R=b]=A.placement.split("-");v==="selection"&&(N="selection");let D=g0(()=>({anchor:[N,R].filter(Boolean).join(" ")}),[N,R]),P=e_(A,{overflowRef:s,onChange:o}),{getReferenceProps:E,getFloatingProps:S}=Xb([P]),k=p0(M=>{l(M),_.setFloating(M)});return u(wo.Provider,{value:n},u(x3.Provider,{value:{setFloating:k,setReference:_.setReference,styles:C,getReferenceProps:E,getFloatingProps:S,slot:D}},e))}function a_(e){se(()=>{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 l_(e,t){var r,n,i;let o=j5((r=e==null?void 0:e.gap)!=null?r:"var(--anchor-gap, 0)",t),s=j5((n=e==null?void 0:e.offset)!=null?n:"var(--anchor-offset, 0)",t),a=j5((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function j5(e,t,r=void 0){let n=jt(),i=p0((l,c)=>{if(l==null)return[r,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!c)return[r,null];let d=Rs(l,c);return[d,f=>{let h=c9(l);{let m=h.map(p=>window.getComputedStyle(c).getPropertyValue(p));n.requestAnimationFrame(function p(){n.nextFrame(p);let v=!1;for(let[_,C]of h.entries()){let A=window.getComputedStyle(c).getPropertyValue(C);if(m[_]!==A){m[_]=A,v=!0;break}}if(!v)return;let b=Rs(l,c);d!==b&&(f(b),d=b)})}return n.dispose}]}return[r,null]}),o=g0(()=>i(e,t)[0],[e,t]),[s=o,a]=C0();return se(()=>{let[l,c]=i(e,t);if(a(l),!!c)return c(a)},[e,t]),s}function c9(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,...c9(i)]:[n]}return[]}function Rs(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 u_(e,t){let[r,n]=C0(t);return!e&&r!==t&&n(t),e?r:t}let h5=me(null);h5.displayName="OpenClosedContext";var qe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qe||{});function Ar(){return W0(h5)}function d9({value:e,children:t}){return Q.createElement(h5.Provider,{value:e},t)}function c_({children:e}){return Q.createElement(h5.Provider,{value:null},e)}function d_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Ct=[];d_(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||Ct[0]===t.target)return;let r=t.target;r=r.closest(An),Ct.unshift(r??t.target),Ct=Ct.filter(n=>n!=null&&n.isConnected),Ct.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 f_(e){throw new Error("Unexpected object: "+e)}var Ne=(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))(Ne||{});function W5(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:f_(e)}}function f9(e){let t=p0(e),r=a0(!1);H0(()=>(r.current=!1,()=>{r.current=!0,s5(()=>{r.current&&t()})}),[t])}function h_(){let e=typeof document>"u";return"useSyncExternalStore"in on?(t=>t.useSyncExternalStore)(on)(()=>()=>{},()=>!1,()=>!e):!1}function Tr(){let e=h_(),[t,r]=C0(l2.isHandoffComplete);return t&&l2.isHandoffComplete===!1&&r(!1),H0(()=>{t!==!0&&r(!0)},[t]),H0(()=>l2.handoff(),[]),e?!1:t}let h9=me(!1);function m_(){return W0(h9)}function Os(e){return Q.createElement(h9.Provider,{value:e.force},e.children)}function p_(e){let t=m_(),r=W0(p9),n=b3(e),[i,o]=C0(()=>{var s;if(!t&&r!==null)return(s=r.current)!=null?s:null;if(l2.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 H0(()=>{i!==null&&(n!=null&&n.body.contains(i)||n==null||n.body.appendChild(i))},[i,n]),H0(()=>{t||r!==null&&o(r.current)},[r,o,t]),i}let m9=X0,g_=Ee(function(e,t){let r=e,n=a0(null),i=He(lv(f=>{n.current=f}),t),o=b3(n),s=p_(n),[a]=C0(()=>{var f;return l2.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=W0(ci),c=Tr();se(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),se(()=>{if(a&&l)return l.register(a)},[l,a]),f9(()=>{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=Re();return c?!s||!a?null:Fn(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:m9,name:"Portal"}),a):null});function w_(e,t){let r=He(t),{enabled:n=!0,...i}=e,o=Re();return n?Q.createElement(g_,{...i,ref:r}):o({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:m9,name:"Portal"})}let y_=X0,p9=me(null);function v_(e,t){let{target:r,...n}=e,i={ref:He(t)},o=Re();return Q.createElement(p9.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:y_,name:"Popover.Group"}))}let ci=me(null);function b_(){let e=W0(ci),t=a0([]),r=p0(o=>(t.current.push(o),e&&e.register(o),()=>n(o))),n=p0(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=g0(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,g0(()=>function({children:o}){return Q.createElement(ci.Provider,{value:i},o)},[i])]}let __=Ee(w_),g9=Ee(v_),w9=Object.assign(__,{Group:g9});function C_(e,t=typeof document<"u"?document.defaultView:null,r){let n=v3(e,"escape");ql(t,"keydown",i=>{n&&(i.defaultPrevented||i.key===Te.Escape&&r(i))})}function x_(){var e;let[t]=C0(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=C0((e=t==null?void 0:t.matches)!=null?e:!1);return se(()=>{if(!t)return;function i(o){n(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),r}function S_({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=b3(r),i=p0(()=>{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(c=>l.contains(c))||a.push(l));return a});return{resolveContainers:i,contains:p0(o=>i().some(s=>s.contains(o)))}}let y9=me(null);function Ds({children:e,node:t}){let[r,n]=C0(null),i=v9(t??r);return Q.createElement(y9.Provider,{value:i},e,i===null&&Q.createElement(ir,{features:a3.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=y3(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 v9(e=null){var t;return(t=W0(y9))!=null?t:e}function yo(){let e=a0(!1);return se(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var q3=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(q3||{});function E_(){let e=a0(0);return jl(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function b9(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 A_="div";var n2=(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))(n2||{});function T_(e,t){let r=a0(null),n=He(r,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;Tr()||(a=0);let c=b3(r);I_(a,{ownerDocument:c});let d=R_(a,{ownerDocument:c,container:r,initialFocus:i,initialFocusFallback:o});O_(a,{ownerDocument:c,container:r,containers:s,previousActiveElement:d});let f=E_(),h=p0(C=>{let A=r.current;A&&(N=>N())(()=>{Je(f.current,{[q3.Forwards]:()=>{K2(A,E1.First,{skipElements:[C.relatedTarget,o]})},[q3.Backwards]:()=>{K2(A,E1.Last,{skipElements:[C.relatedTarget,o]})}})})}),m=v3(!!(a&2),"focus-trap#tab-lock"),p=jt(),v=a0(!1),b={ref:n,onKeyDown(C){C.key=="Tab"&&(v.current=!0,p.requestAnimationFrame(()=>{v.current=!1}))},onBlur(C){if(!(a&4))return;let A=b9(s);r.current instanceof HTMLElement&&A.add(r.current);let N=C.relatedTarget;N instanceof HTMLElement&&N.dataset.headlessuiFocusGuard!=="true"&&(_9(A,N)||(v.current?K2(r.current,Je(f.current,{[q3.Forwards]:()=>E1.Next,[q3.Backwards]:()=>E1.Previous})|E1.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&rt(C.target)))}},_=Re();return Q.createElement(Q.Fragment,null,m&&Q.createElement(ir,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:a3.Focusable}),_({ourProps:b,theirProps:l,defaultTag:A_,name:"FocusTrap"}),m&&Q.createElement(ir,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:a3.Focusable}))}let N_=Ee(T_),M_=Object.assign(N_,{features:n2});function k_(e=!0){let t=a0(Ct.slice());return fo(([r],[n])=>{n===!0&&r===!1&&s5(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=Ct.slice())},[e,Ct,t]),p0(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function I_(e,{ownerDocument:t}){let r=!!(e&8),n=k_(r);fo(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&rt(n())},[r]),f9(()=>{r&&rt(n())})}function R_(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let o=a0(null),s=v3(!!(e&1),"focus-trap#initial-focus"),a=yo();return fo(()=>{if(e===0)return;if(!s){i!=null&&i.current&&rt(i.current);return}let l=r.current;l&&s5(()=>{if(!a.current)return;let c=t==null?void 0:t.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===c){o.current=c;return}}else if(l.contains(c)){o.current=c;return}if(n!=null&&n.current)rt(n.current);else{if(e&16){if(K2(l,E1.First|E1.AutoFocus)!==si.Error)return}else if(K2(l,E1.First)!==si.Error)return;if(i!=null&&i.current&&(rt(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 O_(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let o=yo(),s=!!(e&4);ql(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=b9(n);r.current instanceof HTMLElement&&l.add(r.current);let c=i.current;if(!c)return;let d=a.target;d&&d instanceof HTMLElement?_9(l,d)?(i.current=d,rt(d)):(a.preventDefault(),a.stopPropagation(),rt(c)):rt(i.current)},!0)}function _9(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function C9(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:S9)!==X0||Q.Children.count(e.children)===1}let m5=me(null);m5.displayName="TransitionContext";var D_=(e=>(e.Visible="visible",e.Hidden="hidden",e))(D_||{});function $_(){let e=W0(m5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function F_(){let e=W0(p5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let p5=me(null);p5.displayName="NestingContext";function g5(e){return"children"in e?g5(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function x9(e,t){let r=Wt(e),n=a0([]),i=yo(),o=jt(),s=p0((m,p=Et.Hidden)=>{let v=n.current.findIndex(({el:b})=>b===m);v!==-1&&(Je(p,{[Et.Unmount](){n.current.splice(v,1)},[Et.Hidden](){n.current[v].state="hidden"}}),o.microTask(()=>{var b;!g5(n)&&i.current&&((b=r.current)==null||b.call(r))}))}),a=p0(m=>{let p=n.current.find(({el:v})=>v===m);return p?p.state!=="visible"&&(p.state="visible"):n.current.push({el:m,state:"visible"}),()=>s(m,Et.Unmount)}),l=a0([]),c=a0(Promise.resolve()),d=a0({enter:[],leave:[]}),f=p0((m,p,v)=>{l.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([b])=>b!==m)),t==null||t.chains.current[p].push([m,new Promise(b=>{l.current.push(b)})]),t==null||t.chains.current[p].push([m,new Promise(b=>{Promise.all(d.current[p].map(([_,C])=>C)).then(()=>b())})]),p==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>v(p)):v(p)}),h=p0((m,p,v)=>{Promise.all(d.current[p].splice(0).map(([b,_])=>_)).then(()=>{var b;(b=l.current.shift())==null||b()}).then(()=>v(p))});return g0(()=>({children:n,register:a,unregister:s,onStart:f,onStop:h,wait:c,chains:d}),[a,s,n,f,h,d,c])}let S9=X0,E9=s3.RenderStrategy;function P_(e,t){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:c,enterFrom:d,enterTo:f,entered:h,leave:m,leaveFrom:p,leaveTo:v,...b}=e,[_,C]=C0(null),A=a0(null),N=C9(e),R=He(...N?[A,t,C]:t===null?[]:[t]),D=(r=b.unmount)==null||r?Et.Unmount:Et.Hidden,{show:P,appear:E,initial:S}=$_(),[k,M]=C0(P?"visible":"hidden"),O=F_(),{register:L,unregister:j}=O;se(()=>L(A),[L,A]),se(()=>{if(D===Et.Hidden&&A.current){if(P&&k!=="visible"){M("visible");return}return Je(k,{hidden:()=>j(A),visible:()=>L(A)})}},[k,A,L,j,P,D]);let e0=Tr();se(()=>{if(N&&e0&&k==="visible"&&A.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[A,k,e0,N]);let Z=S&&!E,z=E&&P&&S,B=a0(!1),K=x9(()=>{B.current||(M("hidden"),j(A))},O),W=p0(I0=>{B.current=!0;let J=I0?"enter":"leave";K.onStart(A,J,H=>{H==="enter"?o==null||o():H==="leave"&&(a==null||a())})}),t0=p0(I0=>{let J=I0?"enter":"leave";B.current=!1,K.onStop(A,J,H=>{H==="enter"?s==null||s():H==="leave"&&(l==null||l())}),J==="leave"&&!g5(K)&&(M("hidden"),j(A))});H0(()=>{N&&i||(W(P),t0(P))},[P,N,i]);let Y=!(!i||!N||!e0||Z),[,F]=Yl(Y,_,P,{start:W,end:t0}),u0=vt({ref:R,className:((n=ii(b.className,z&&c,z&&d,F.enter&&c,F.enter&&F.closed&&d,F.enter&&!F.closed&&f,F.leave&&m,F.leave&&!F.closed&&p,F.leave&&F.closed&&v,!F.transition&&P&&h))==null?void 0:n.trim())||void 0,...zl(F)}),h0=0;k==="visible"&&(h0|=qe.Open),k==="hidden"&&(h0|=qe.Closed),F.enter&&(h0|=qe.Opening),F.leave&&(h0|=qe.Closing);let T0=Re();return Q.createElement(p5.Provider,{value:K},Q.createElement(d9,{value:h0},T0({ourProps:u0,theirProps:b,defaultTag:S9,features:E9,visible:k==="visible",name:"Transition.Child"})))}function L_(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=a0(null),a=C9(e),l=He(...a?[s,t]:t===null?[]:[t]);Tr();let c=Ar();if(r===void 0&&c!==null&&(r=(c&qe.Open)===qe.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=C0(r?"visible":"hidden"),h=x9(()=>{r||f("hidden")}),[m,p]=C0(!0),v=a0([r]);se(()=>{m!==!1&&v.current[v.current.length-1]!==r&&(v.current.push(r),p(!1))},[v,r]);let b=g0(()=>({show:r,appear:n,initial:m}),[r,n,m]);se(()=>{r?f("visible"):!g5(h)&&s.current!==null&&f("hidden")},[r,h]);let _={unmount:i},C=p0(()=>{var R;m&&p(!1),(R=e.beforeEnter)==null||R.call(e)}),A=p0(()=>{var R;m&&p(!1),(R=e.beforeLeave)==null||R.call(e)}),N=Re();return Q.createElement(p5.Provider,{value:h},Q.createElement(m5.Provider,{value:b},N({ourProps:{..._,as:X0,children:Q.createElement(A9,{ref:l,..._,...o,beforeEnter:C,beforeLeave:A})},theirProps:{},defaultTag:X0,features:E9,visible:d==="visible",name:"Transition"})))}function B_(e,t){let r=W0(m5)!==null,n=Ar()!==null;return Q.createElement(Q.Fragment,null,!r&&n?Q.createElement(di,{ref:t,...e}):Q.createElement(A9,{ref:t,...e}))}let di=Ee(L_),A9=Ee(P_),vo=Ee(B_),T9=Object.assign(di,{Child:vo,Root:di});var V_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(V_||{}),H_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(H_||{});let U_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},bo=me(null);bo.displayName="DialogContext";function w5(e){let t=W0(bo);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,w5),r}return t}function j_(e,t){return Je(t.type,U_,e,t)}let $s=Ee(function(e,t){let r=v1(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:c=!1,unmount:d=!1,...f}=e,h=a0(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(h.current||(h.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let m=Ar();i===void 0&&m!==null&&(i=(m&qe.Open)===qe.Open);let p=a0(null),v=He(p,t),b=b3(p),_=i?0:1,[C,A]=v2(j_,{titleId:null,descriptionId:null,panelRef:On()}),N=p0(()=>o(!1)),R=p0(t0=>A({type:0,id:t0})),D=Tr()?_===0:!1,[P,E]=b_(),S={get current(){var t0;return(t0=C.panelRef.current)!=null?t0:p.current}},k=v9(),{resolveContainers:M}=S_({mainTreeNode:k,portals:P,defaultContainers:[S]}),O=m!==null?(m&qe.Closing)===qe.Closing:!1;Pl(c||O?!1:D,{allowed:p0(()=>{var t0,Y;return[(Y=(t0=p.current)==null?void 0:t0.closest("[data-headlessui-portal]"))!=null?Y:null]}),disallowed:p0(()=>{var t0;return[(t0=k==null?void 0:k.closest("body > *:not(#headlessui-portal-root)"))!=null?t0:null]})}),Wl(D,M,t0=>{t0.preventDefault(),N()}),C_(D,b==null?void 0:b.defaultView,t0=>{t0.preventDefault(),t0.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),N()}),Gl(c||O?!1:D,b,M),Ll(D,p,N);let[L,j]=cv(),e0=g0(()=>[{dialogState:_,close:N,setTitleId:R,unmount:d},C],[_,C,N,R,d]),Z=g0(()=>({open:_===0}),[_]),z={ref:v,id:n,role:a,tabIndex:-1,"aria-modal":c?void 0:_===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":L,unmount:d},B=!x_(),K=n2.None;D&&!c&&(K|=n2.RestoreFocus,K|=n2.TabLock,l&&(K|=n2.AutoFocus),B&&(K|=n2.InitialFocus));let W=Re();return Q.createElement(c_,null,Q.createElement(Os,{force:!0},Q.createElement(w9,null,Q.createElement(bo.Provider,{value:e0},Q.createElement(g9,{target:p},Q.createElement(Os,{force:!1},Q.createElement(j,{slot:Z},Q.createElement(E,null,Q.createElement(M_,{initialFocus:s,initialFocusFallback:p,containers:M,features:K},Q.createElement(_v,{value:N},W({ourProps:z,theirProps:f,slot:Z,defaultTag:W_,features:q_,visible:_===0,name:"Dialog"})))))))))))}),W_="div",q_=s3.RenderStrategy|s3.Static;function G_(e,t){let{transition:r=!1,open:n,...i}=e,o=Ar(),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(Ds,null,Q.createElement(T9,{show:n,transition:r,unmount:i.unmount},Q.createElement($s,{ref:t,...i}))):Q.createElement(Ds,null,Q.createElement($s,{ref:t,open:n,...i}))}let z_="div";function Y_(e,t){let r=v1(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=w5("Dialog.Panel"),c=He(t,l.panelRef),d=g0(()=>({open:s===0}),[s]),f=p0(b=>{b.stopPropagation()}),h={ref:c,id:n,onClick:f},m=i?vo:X0,p=i?{unmount:a}:{},v=Re();return Q.createElement(m,{...p},v({ourProps:h,theirProps:o,slot:d,defaultTag:z_,name:"Dialog.Panel"}))}let Z_="div";function K_(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:o}]=w5("Dialog.Backdrop"),s=g0(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=r?vo:X0,c=r?{unmount:o}:{},d=Re();return Q.createElement(l,{...c},d({ourProps:a,theirProps:n,slot:s,defaultTag:Z_,name:"Dialog.Backdrop"}))}let J_="h2";function X_(e,t){let r=v1(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:o,setTitleId:s}]=w5("Dialog.Title"),a=He(t);H0(()=>(s(n),()=>s(null)),[n,s]);let l=g0(()=>({open:o===0}),[o]),c={ref:a,id:n};return Re()({ourProps:c,theirProps:i,slot:l,defaultTag:J_,name:"Dialog.Title"})}let Q_=Ee(G_),eC=Ee(Y_),tC=Ee(K_),rC=Ee(X_),_o=Object.assign(Q_,{Panel:eC,Title:rC,Description:mv});function nC(e,t){let r=a0({left:0,top:0});if(se(()=>{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 Fs=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Ps(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 Fs.test(s)&&(s=s.replace(Fs,"")),s}function iC(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():Ps(o).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return Ps(e).trim()}function oC(e){let t=a0(""),r=a0("");return p0(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=iC(n).trim().toLowerCase();return t.current=i,r.current=o,o})}var sC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(sC||{}),aC=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(aC||{}),lC=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(lC||{}),uC=(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))(uC||{});function q5(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=Hl(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 cC={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===Ne.Nothing)return{...a,activeOptionIndex:null};if(t.focus===Ne.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===Ne.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,h=W5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(h!==null){let m=e.options[h].dataRef.current.domRef;if(((n=f.current)==null?void 0:n.previousElementSibling)===m.current||((i=m.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:h}}}}else if(t.focus===Ne.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,h=W5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});if(h!==null){let m=e.options[h].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:h}}}}let l=q5(e),c=W5(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:c}},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=q5(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=q5(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}},Co=me(null);Co.displayName="ListboxActionsContext";function y5(e){let t=W0(Co);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,y5),r}return t}let v5=me(null);v5.displayName="ListboxDataContext";function Nr(e){let t=W0(v5);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Nr),r}return t}function dC(e,t){return Je(t.type,cC,e,t)}let fC=X0;function hC(e,t){var r;let n=uo(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:c,invalid:d=!1,disabled:f=n||!1,horizontal:h=!1,multiple:m=!1,__demoMode:p=!1,...v}=e;const b=h?"horizontal":"vertical";let _=He(t),C=Jy(o),[A=m?[]:void 0,N]=Ky(i,l,C),[R,D]=v2(dC,{dataRef:On(),listboxState:p?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:p}),P=a0({static:!1,hold:!1}),E=a0(new Map),S=xv(c),k=P0(n0=>Je(M.mode,{1:()=>A.some(w0=>S(w0,n0)),0:()=>S(A,n0)}),[A]),M=g0(()=>({...R,value:A,disabled:f,invalid:d,mode:m?1:0,orientation:b,compare:S,isSelected:k,optionsPropsRef:P,listRef:E}),[A,f,d,m,R,E]);se(()=>{R.dataRef.current=M},[M]);let O=M.listboxState===0;Wl(O,[M.buttonElement,M.optionsElement],(n0,w0)=>{var c0;D({type:1}),Vl(w0,co.Loose)||(n0.preventDefault(),(c0=M.buttonElement)==null||c0.focus())});let L=g0(()=>({open:M.listboxState===0,disabled:f,invalid:d,value:A}),[M,f,A,d]),j=p0(n0=>{let w0=M.options.find(c0=>c0.id===n0);w0&&t0(w0.dataRef.current.value)}),e0=p0(()=>{if(M.activeOptionIndex!==null){let{dataRef:n0,id:w0}=M.options[M.activeOptionIndex];t0(n0.current.value),D({type:2,focus:Ne.Specific,id:w0})}}),Z=p0(()=>D({type:0})),z=p0(()=>D({type:1})),B=jt(),K=p0((n0,w0,c0)=>{B.dispose(),B.microTask(()=>n0===Ne.Specific?D({type:2,focus:Ne.Specific,id:w0,trigger:c0}):D({type:2,focus:n0,trigger:c0}))}),W=p0((n0,w0)=>(D({type:5,id:n0,dataRef:w0}),()=>D({type:6,id:n0}))),t0=p0(n0=>Je(M.mode,{0(){return N==null?void 0:N(n0)},1(){let w0=M.value.slice(),c0=w0.findIndex(x0=>S(x0,n0));return c0===-1?w0.push(n0):w0.splice(c0,1),N==null?void 0:N(w0)}})),Y=p0(n0=>D({type:3,value:n0})),F=p0(()=>D({type:4})),u0=p0(n0=>{D({type:7,element:n0})}),h0=p0(n0=>{D({type:8,element:n0})}),T0=g0(()=>({onChange:t0,registerOption:W,goToOption:K,closeListbox:z,openListbox:Z,selectActiveOption:e0,selectOption:j,search:Y,clearSearch:F,setButtonElement:u0,setOptionsElement:h0}),[]),[I0,J]=pv({inherit:!0}),H={ref:_},l0=P0(()=>{if(C!==void 0)return N==null?void 0:N(C)},[N,C]),y0=Re();return Q.createElement(J,{value:I0,props:{htmlFor:(r=M.buttonElement)==null?void 0:r.id},slot:{open:M.listboxState===0,disabled:f}},Q.createElement(s_,null,Q.createElement(Co.Provider,{value:T0},Q.createElement(v5.Provider,{value:M},Q.createElement(d9,{value:Je(M.listboxState,{0:qe.Open,1:qe.Closed})},a!=null&&A!=null&&Q.createElement(nv,{disabled:f,data:{[a]:A},form:s,onReset:l0}),y0({ourProps:H,theirProps:v,slot:L,defaultTag:fC,name:"Listbox"}))))))}let mC="button";function pC(e,t){var r;let n=Nr("Listbox.Button"),i=y5("Listbox.Button"),o=v1(),s=kl(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=n.disabled||!1,autoFocus:c=!1,...d}=e,f=He(t,r_(),i.setButtonElement),h=n_(),m=p0(M=>{switch(M.key){case Te.Enter:Xy(M.currentTarget);break;case Te.Space:case Te.ArrowDown:M.preventDefault(),s1(()=>i.openListbox()),n.value||i.goToOption(Ne.First);break;case Te.ArrowUp:M.preventDefault(),s1(()=>i.openListbox()),n.value||i.goToOption(Ne.Last);break}}),p=p0(M=>{switch(M.key){case Te.Space:M.preventDefault();break}}),v=p0(M=>{var O;if(sv(M.currentTarget))return M.preventDefault();n.listboxState===0?(s1(()=>i.closeListbox()),(O=n.buttonElement)==null||O.focus({preventScroll:!0})):(M.preventDefault(),i.openListbox())}),b=p0(M=>M.preventDefault()),_=Dl([a]),C=uv(),{isFocusVisible:A,focusProps:N}=Ly({autoFocus:c}),{isHovered:R,hoverProps:D}=Py({isDisabled:l}),{pressed:P,pressProps:E}=Wy({disabled:l}),S=g0(()=>({open:n.listboxState===0,active:P||n.listboxState===0,disabled:l,invalid:n.invalid,value:n.value,hover:R,focus:A,autofocus:c}),[n.listboxState,n.value,l,R,A,P,n.invalid,c]),k=Al(h(),{ref:f,id:a,type:Pv(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:c,onKeyDown:m,onKeyUp:p,onKeyPress:b,onClick:v},N,D,E);return Re()({ourProps:k,theirProps:d,slot:S,defaultTag:mC,name:"Listbox.Button"})}let N9=me(!1),gC="div",wC=s3.RenderStrategy|s3.Static;function yC(e,t){var r,n;let i=v1(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:c=!1,...d}=e,f=t_(s),[h,m]=C0(null);f&&(a=!0);let p=Nr("Listbox.Options"),v=y5("Listbox.Options"),b=b3(p.optionsElement),_=Ar(),[C,A]=Yl(c,h,_!==null?(_&qe.Open)===qe.Open:p.listboxState===0);Ll(C,p.buttonElement,v.closeListbox);let N=p.__demoMode?!1:l&&p.listboxState===0;Gl(N,b);let R=p.__demoMode?!1:l&&p.listboxState===0;Pl(R,{allowed:P0(()=>[p.buttonElement,p.optionsElement],[p.buttonElement,p.optionsElement])});let D=p.listboxState!==0,P=nC(D,p.buttonElement)?!1:C,E=C&&p.listboxState===1,S=u_(E,p.value),k=p0(F=>p.compare(S,F)),M=g0(()=>{var F;if(f==null||!((F=f==null?void 0:f.to)!=null&&F.includes("selection")))return null;let u0=p.options.findIndex(h0=>k(h0.dataRef.current.value));return u0===-1&&(u0=0),u0},[f,p.options]),O=(()=>{if(f==null)return;if(M===null)return{...f,inner:void 0};let F=Array.from(p.listRef.current.values());return{...f,inner:{listRef:{current:F},index:M}}})(),[L,j]=o_(O),e0=i_(),Z=He(t,f?L:null,v.setOptionsElement,m),z=jt();H0(()=>{var F;let u0=p.optionsElement;u0&&p.listboxState===0&&u0!==((F=y3(u0))==null?void 0:F.activeElement)&&(u0==null||u0.focus({preventScroll:!0}))},[p.listboxState,p.optionsElement]);let B=p0(F=>{var u0,h0;switch(z.dispose(),F.key){case Te.Space:if(p.searchQuery!=="")return F.preventDefault(),F.stopPropagation(),v.search(F.key);case Te.Enter:if(F.preventDefault(),F.stopPropagation(),p.activeOptionIndex!==null){let{dataRef:T0}=p.options[p.activeOptionIndex];v.onChange(T0.current.value)}p.mode===0&&(s1(()=>v.closeListbox()),(u0=p.buttonElement)==null||u0.focus({preventScroll:!0}));break;case Je(p.orientation,{vertical:Te.ArrowDown,horizontal:Te.ArrowRight}):return F.preventDefault(),F.stopPropagation(),v.goToOption(Ne.Next);case Je(p.orientation,{vertical:Te.ArrowUp,horizontal:Te.ArrowLeft}):return F.preventDefault(),F.stopPropagation(),v.goToOption(Ne.Previous);case Te.Home:case Te.PageUp:return F.preventDefault(),F.stopPropagation(),v.goToOption(Ne.First);case Te.End:case Te.PageDown:return F.preventDefault(),F.stopPropagation(),v.goToOption(Ne.Last);case Te.Escape:F.preventDefault(),F.stopPropagation(),s1(()=>v.closeListbox()),(h0=p.buttonElement)==null||h0.focus({preventScroll:!0});return;case Te.Tab:F.preventDefault(),F.stopPropagation(),s1(()=>v.closeListbox()),Dv(p.buttonElement,F.shiftKey?E1.Previous:E1.Next);break;default:F.key.length===1&&(v.search(F.key),z.setTimeout(()=>v.clearSearch(),350));break}}),K=(r=p.buttonElement)==null?void 0:r.id,W=g0(()=>({open:p.listboxState===0}),[p.listboxState]),t0=Al(f?e0():{},{id:o,ref:Z,"aria-activedescendant":p.activeOptionIndex===null||(n=p.options[p.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":p.mode===1?!0:void 0,"aria-labelledby":K,"aria-orientation":p.orientation,onKeyDown:B,role:"listbox",tabIndex:p.listboxState===0?0:void 0,style:{...d.style,...j,"--button-width":Ev(p.buttonElement,!0).width},...zl(A)}),Y=Re();return Q.createElement(w9,{enabled:a?e.static||C:!1},Q.createElement(v5.Provider,{value:p.mode===1?p:{...p,isSelected:k}},Y({ourProps:t0,theirProps:d,slot:W,defaultTag:gC,features:wC,visible:P,name:"Listbox.Options"})))}let vC="div";function bC(e,t){let r=v1(),{id:n=`headlessui-listbox-option-${r}`,disabled:i=!1,value:o,...s}=e,a=W0(N9)===!0,l=Nr("Listbox.Option"),c=y5("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===n:!1,f=l.isSelected(o),h=a0(null),m=oC(h),p=Wt({disabled:i,value:o,domRef:h,get textValue(){return m()}}),v=He(t,h,S=>{S?l.listRef.current.set(n,S):l.listRef.current.delete(n)});se(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return mt().requestAnimationFrame(()=>{var S,k;(k=(S=h.current)==null?void 0:S.scrollIntoView)==null||k.call(S,{block:"nearest"})})},[h,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),se(()=>{if(!a)return c.registerOption(n,p)},[p,n,a]);let b=p0(S=>{var k;if(i)return S.preventDefault();c.onChange(o),l.mode===0&&(s1(()=>c.closeListbox()),(k=l.buttonElement)==null||k.focus({preventScroll:!0}))}),_=p0(()=>{if(i)return c.goToOption(Ne.Nothing);c.goToOption(Ne.Specific,n)}),C=jv(),A=p0(S=>{C.update(S),!i&&(d||c.goToOption(Ne.Specific,n,0))}),N=p0(S=>{C.wasMoved(S)&&(i||d||c.goToOption(Ne.Specific,n,0))}),R=p0(S=>{C.wasMoved(S)&&(i||d&&c.goToOption(Ne.Nothing))}),D=g0(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),P=a?{}:{id:n,ref:v,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:b,onFocus:_,onPointerEnter:A,onMouseEnter:A,onPointerMove:N,onMouseMove:N,onPointerLeave:R,onMouseLeave:R},E=Re();return!f&&a?null:E({ourProps:P,theirProps:s,slot:D,defaultTag:vC,name:"Listbox.Option"})}let _C=X0;function CC(e,t){let{options:r,placeholder:n,...i}=e,o={ref:He(t)},s=Nr("ListboxSelectedOption"),a=g0(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,c=Re();return Q.createElement(N9.Provider,{value:!0},c({ourProps:o,theirProps:{...i,children:Q.createElement(Q.Fragment,null,n&&l?n:r)},slot:a,defaultTag:_C,name:"ListboxSelectedOption"}))}let xC=Ee(hC),M9=Ee(pC),SC=vv,k9=Ee(yC),I9=Ee(bC),EC=Ee(CC),AC=Object.assign(xC,{Button:M9,Label:SC,Options:k9,Option:I9,SelectedOption:EC}),ve=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function x2(e){return u(_o,dt(e,1))}class lt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","ClassName","Children"]}}function S2(e){return u(_o.Panel,dt(e,1))}class kn extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Children"]}}function R9(e){return u(_o.Title,dt(e,1))}class E2 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName"]}}function A2(e){return u(tC,dt(e,1))}function qt(e,t){let r;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",w.Children.toArray(Array.from(r))])])))}function TC(e,t){let r,n,i,o,s;return x2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[S2(o0(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),u("button",y(g([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[qt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(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",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function T2(e){return u("span",{className:"font-sonoma text-black font-semibold text-lg",children:e})}function S3(e){return u("span",{className:"text-sm font-normal pt-2",children:e})}function w2(e,t){return u("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:w.Children.toArray([e])})}function NC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function xo(e){let t,r;return u("div",y(g([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[NC(20,20),u("div",y(g([["className","grow shrink basis-0 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function O9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function D9(e){let t,r;return u("div",y(g([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[O9(16,15),u("div",y(g([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function b5(e,t){let r;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",w.Children.toArray(Array.from(r))])])))}let nt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Value","OnChange","Children"]}};function So(e){return u(AC,dt(e,1))}class u3 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ClassName","Children"]}}function Eo(e){return u(M9,dt(e,1))}class Ao extends G{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function To(e,t){return u(k9,dt(e,1),...t)}class Ze extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function No(e){return u(I9,dt(e,1))}function Mo(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function P3(e,t,r,n,i,o,s,a){let l,c,d,f,h,m,p;const v=i.fields[0],b=$i(ae(_=>_[1].fields[0],Hn(_=>Ba(_.fields[0],v),n)));return u("div",y(g([["key",ne(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(l=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(c=[u("div",y(q(T(()=>$(x(["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`]),T(()=>{let _;return x((_=q(T(()=>$(x(u("div",{className:"text-sm font-medium leading-tight",children:nr(e)})),T(()=>x(t?u("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):E0()))))),["children",w.Children.toArray(Array.from(_))]))}))))))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[b5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(f=[So(g([new nt(0,[b]),new nt(1,[_=>{V1(C=>{o(C[0])},$t(Ft(C=>C[1].fields[0]===_?X(C[2],new Y1(0,[])):!1,v)))}]),new nt(2,[[u("div",y(g([Ke,["className","relative w-full"],(h=[Eo(q(T(()=>{let _;return $(x(new u3(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`])),T(()=>{let C;return x(new u3(1,[[u("span",y(q(T(()=>{let A;const N=t&&r;return A=n!=null?[b,""]:N?["Select a field","text-red-900"]:["Select a field","text-gray-500"],$(x(["className",`${A[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",A[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(C=[Mo(20,20)],["children",w.Children.toArray(Array.from(C))])])))]]))}))}))),To(q(T(()=>x(new Ao(`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`)))),q(T(()=>m3(_=>{const C=_[2],A=_[1].fields[0];return x(No(g([new Ze(0,[h1(_[0].fields[0])]),new Ze(1,[A]),new Ze(2,[X(C,new Y1(1,[]))]),new Ze(3,["relative select-none"]),new Ze(4,[N=>[u("span",{className:"px-4 py-2 block truncate "+(C.tag===0?N.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:A})]])])))},v))))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([(m="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",m]),(p=[u("button",y(q(T(()=>$(x(["children","Clear"]),T(()=>$(s==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=s;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}})))))))),u("button",y(q(T(()=>$(x(["children","Preview"]),T(()=>$(a==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=a;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}}))))))))],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(l))])])))}function $9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function E3(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function F9(e){let t,r,n;return u("div",y(g([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[u("span",y(g([["className","text-emerald-700"],(r=[E3(20,20)],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(n=[u("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Mr(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function MC(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function kC(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 P9(e){return kC(MC(xa(e," ","")))}function IC(e,t,r){let n,i,o,s,a,l,c,d;return u("div",y(g([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(n=[u("div",y(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=[u("div",y(g([["className","flex justify-between w-full"],(s=[u("span",{className:"text-black text-base font-semibold leading-normal text-nowrap",children:`Previewing “${nr(e)}”`}),u("button",y(g([["onClick",f=>{r()}],["type","button"],["className","text-gray-600"],(a=[qt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[u("div",y(g([["className","self-stretch flex-col justify-center items-start flex"],(c=Un((f,h)=>u("div",y(q(T(()=>$(x(["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`]),T(()=>{let m;return x((m=q(T(()=>{const p=Dt(h);return x(p?u("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):u("div",y(q(T(()=>$(x(Ke),T(()=>$(x(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),T(()=>e.tag===3?x(["children",P9(h)]):x(["children",h]))))))))))})),["children",w.Children.toArray(Array.from(m))]))})))))),t),["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[u("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(n))])])))}function RC(e){let t,r,n;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,c=e.existingMappings;let d;const f=vy(l,a,c);d=ht(()=>ft(()=>f,(N,R)=>by(i,l,a,N,R),(N,R)=>{}),void 0,void 0);const h=d[0],m=d[1],p=w.useState(!1),v=p[1],b=w.useState(!1),_=b[0],C=N=>{if(wy(h)(N))return()=>{m(new wt(1,[N]))}},A=N=>{if(yy(h,N))return()=>{m(new wt(2,[N]))}};return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[TC(p[0],()=>{v(!1)}),T2("Map fields"),S3("Match the fields from your CSV to the corresponding destination fields."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[w2("What is mapping and why is it important?",()=>{v(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=q(T(()=>{let N;return $(x(u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(N=q(T(()=>$(h.IsPrefilled?x(xo("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.")):x(E0()),T(()=>$(_&&h.Status.tag===0?x(D9("Some required fields are incomplete. Fill in all required fields to continue.")):x(E0()),T(()=>{let R,D,P,E,S,k,M,O;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(R=[u("div",y(g([(D="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",D]),(P=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(E=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),u("div",y(q(T(()=>$(x(["className",`${h.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`]),T(()=>{let L;return x((L=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${h.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",w.Children.toArray(Array.from(L))]))}))))))],["children",w.Children.toArray(Array.from(E))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(S=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(k=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${h.NumberOfDestinationFieldsMapped} of ${h.NumberOfIncomingFields} used`})],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(M=[u("div",y(o0((O=q(T(()=>$(x(P3(new r0(0,[]),!0,_,h.FirstName.ColumnIndex,h.FirstName.IncomingFields,L=>{let j;m((j=[new r0(0,[]),L],new wt(0,[j[0],j[1]])))},C(new r0(0,[])),A(new r0(0,[])))),T(()=>$(x(P3(new r0(1,[]),!0,_,h.LastName.ColumnIndex,h.LastName.IncomingFields,L=>{let j;m((j=[new r0(1,[]),L],new wt(0,[j[0],j[1]])))},C(new r0(1,[])),A(new r0(1,[])))),T(()=>$(x(P3(new r0(2,[]),!0,_,h.Email.ColumnIndex,h.Email.IncomingFields,L=>{let j;m((j=[new r0(2,[]),L],new wt(0,[j[0],j[1]])))},C(new r0(2,[])),A(new r0(2,[])))),T(()=>$(x(P3(new r0(3,[]),!1,_,h.MobilePhone.ColumnIndex,h.MobilePhone.IncomingFields,L=>{let j;m((j=[new r0(3,[]),L],new wt(0,[j[0],j[1]])))},C(new r0(3,[])),A(new r0(3,[])))),T(()=>$(x(P3(new r0(4,[]),!1,_,h.EmploymentBasis.ColumnIndex,h.EmploymentBasis.IncomingFields,L=>{let j;m((j=[new r0(4,[]),L],new wt(0,[j[0],j[1]])))},C(new r0(4,[])),A(new r0(4,[])))),T(()=>{let L,j,e0,Z,z,B;return $(h.NumberOfIncomingFieldsDiscarded===0?x(E0()):x(u("div",y(g([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(L=[u("div",y(g([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(j=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(e0=[$9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(e0))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(Z=[b5(16,12)],["children",w.Children.toArray(Array.from(Z))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(z=[u("div",y(g([["className","w-[218px] pl-3 items-center inline-flex"],(B=[u("div",y(q(T(()=>$(x(["className","text-gray-500 text-sm font-medium"]),T(()=>{const K=h.NumberOfIncomingFieldsDiscarded|0;return x(K===1?["children","Remaining 1 unused field"]:["children",`Remaining ${K} unused fields`])}))))))],["children",w.Children.toArray(Array.from(B))])])))],["children",w.Children.toArray(Array.from(z))])])))],["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(L))])])))),T(()=>{let K;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(K=q(T(()=>$(h.NumberOfDestinationFieldsMapped===5?x(F9("All destination fields have been mapped. You’re good to go.")):x(E0()),T(()=>{let W,t0,Y,F,u0,h0,T0,I0,J;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(W=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(t0=[u("div",y(g([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(Y=[u("div",y(g([["className","grow shrink basis-0 text-right"],(F=[u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),u("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",w.Children.toArray(Array.from(F))])])))],["children",w.Children.toArray(Array.from(Y))])]))),u("div",y(g([["className","justify-start items-center gap-2 flex"],(u0=[u("button",y(g([(h0="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",h0]),["onClick",H=>{o(h.Status)}],(T0=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(T0))])]))),u("button",y(g([(I0="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",I0]),["disabled",_&&h.Status.tag===0],["onClick",H=>{const l0=h.Status;l0.tag===0?b[1](!0):s([l0.fields[0],l0.fields[1]])}],(J=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:h.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),Mr(13,8)],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(u0))])])))],["children",w.Children.toArray(Array.from(t0))])])))],["children",w.Children.toArray(Array.from(W))])]))))})))),["children",w.Children.toArray(Array.from(K))])]))))}))})))))))))))),["children",w.Children.toArray(Array.from(O))]))))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(R))])]))))})))))),["children",w.Children.toArray(Array.from(N))])])))),T(()=>{const R=h.Preview;return R==null?x(E0()):x(IC(R[0],R[1],()=>{m(new wt(3,[]))}))}))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}let Vr=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}},G5=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}},Kt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}},Hr=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Add","Clear","Remove","Set"]}},OC=class extends i0{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 ar extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}const xt=[void 0];function L9(e,t,r){let n;const i=t.fields[0],o=Ye(s=>s,hn(m6(r)));return new OC(Q0(s=>[s,O1(s,o,{Equals:X,GetHashCode:an})?new ar(1,[]):new ar(0,[])],i),r,o.length,Dd(Tt(s=>{let a;return a=Ye(l=>l,s),a.length!==0},m6(r))),fl(o,i,{Equals:X,GetHashCode:an}),(n=g(Ye(s=>s,hn(F0(s=>Q0(a=>{if(a!=null)return[s[0],a]},s[1]),r)))),M0(n)?void 0:new uy(d0(n),ut($0(n)))),e)}function DC(e,t){const r=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(n=>O1(dr(n.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:a1}))}function $C(e,t){let r;if(t==null){let n=!1;const i=o=>{const s=DC(e,o);return!Mt(X,s,E0())&&s.length===0?xt:(n=!0,Q0(a=>a,s))};r=[G2([[new be(0,[]),i(new be(0,[]))],[new be(1,[]),i(new be(1,[]))],[new be(2,[]),i(new be(2,[]))],[new be(3,[]),i(new be(3,[]))]],{Compare:Oe}),n]}else{const n=t,i=G2(Q0(o=>[o[0],Q0(s=>s[1],Uc(o[1],{Compare:ki}))],ny(o=>o[0],hn([n.Tail,[n.Head]]),{Equals:X,GetHashCode:an})),{Compare:Oe});r=[G2([[new be(0,[]),V0(i2(i,new be(0,[])),xt)],[new be(1,[]),V0(i2(i,new be(1,[])),xt)],[new be(2,[]),V0(i2(i,new be(2,[])),xt)],[new be(3,[]),V0(i2(i,new be(3,[])),xt)]],{Compare:Oe}),!1]}return[L9(r[1],e,r[0]),m0()]}function B9(e,t){const r=d2(e.Selections,t);let n;switch(!Mt(X,r,E0())&&r.length===1&&f0(0,r)!=null?n=0:n=1,n){case 0:return!0;default:return!1}}function V9(e,t){let r;return e.DiscardedValues.length>0?(r=d2(e.Selections,t),!r.some(n=>n==null)):!1}function FC(e,t,r){const n=d2(e.Selections,t);return!Mt(X,n,E0())&&n.length===1?!1:O1(r,n,{Equals:X,GetHashCode:g1})}function PC(e,t,r,n){return!X(r,n)&&e.IncomingValues.some(i=>X(i[0],n)?X(i[1],new ar(0,[])):!1)?O1(r,d2(e.Selections,t),{Equals:X,GetHashCode:g1}):!1}function LC(e,t,r){let n,i;const o=p=>L9(r.Prefilled,e,p);let s,a,l,c,d,f,h,m;switch(t.tag){case 1:{B9(r,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{FC(r,t.fields[0],t.fields[1])?(s=2,c=t.fields[0],d=t.fields[1]):s=4;break}case 3:{PC(r,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],h=t.fields[1],m=t.fields[2]):s=4;break}default:V9(r,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(Dr(a,p=>ae(v=>La(v,xt),p),r.Selections)),m0()];case 1:return[o(Dr(l,p=>ae(v=>xt,p),r.Selections)),m0()];case 2:return[o(Dr(c,(n=(i=[d],p=>fl(i,p,{Equals:X,GetHashCode:g1})),p=>ae(n,p)),r.Selections)),m0()];case 3:return[o(Dr(f,p=>ae(v=>Q0(b=>X(b,h)?m:b,v),p),r.Selections)),m0()];default:return[r,m0()]}}function BC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([["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",w.Children.toArray(Array.from(r))])])))}function VC(e,t,r,n,i,o,s){let a,l,c,d,f,h;return u("div",y(g([["key",ne(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[u("div",y(g([["className",xe(" ",q(T(()=>$(Mt(X,t,xt)?x("bg-gray-50 border-gray-200 text-gray-500"):x("bg-emerald-50 border-emerald-200 text-emerald-700"),T(()=>x("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(c=[u("div",{className:"text-sm font-medium leading-tight",children:hl(e)})],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[b5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[u("div",y(o0((h=q(T(()=>F0(m=>{let p,v,b;return u("div",y(g([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(p=[u("div",y(g([["className","justify-start items-end flex flex-col w-[206px]"],(v=q(T(()=>$(x(So(q(T(()=>{const _=$i(ae(C=>C.fields[0],m));return $(x(new nt(0,[_])),T(()=>$(x(new nt(1,[C=>{V1(A=>{s([m,A[0]])},$t(Ft(A=>A[0].fields[0]===C?X(A[1],new ar(0,[])):!1,r)))}])),T(()=>{let C,A;return x(new nt(2,[[u("div",y(g([Ke,["className","relative w-full"],(C=[Eo(g([new u3(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 u3(1,[[u("span",y(q(T(()=>{const N=m!=null?[_,""]:["Select a value","text-gray-500"];return $(x(["className",`${N[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",N[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(A=[Mo(20,20)],["children",w.Children.toArray(Array.from(A))])])))]])])),To(q(T(()=>x(new Ao(`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`)))),q(T(()=>m3(N=>{const R=N[1],D=N[0].fields[0];return x(No(g([new Ze(0,[D]),new Ze(1,[D]),new Ze(2,[X(R,new ar(1,[]))&&D!==_]),new Ze(3,["relative select-none"]),new Ze(4,[P=>[u("span",{className:xe(" ",q(T(()=>$(x("px-4 py-2 block truncate"),T(()=>{const E=P.active;let S;switch(P.selected?E?S=2:S=1:R.tag===1?S=0:E?S=2:S=1,S){case 0:return x("text-gray-700 opacity-50 cursor-not-allowed");case 1:return x("text-gray-700");default:return x("bg-primary-600 text-white")}}))))),children:D})]])])))},r))))],["children",w.Children.toArray(Array.from(C))])])))]]))}))))})))),T(()=>X(m,Lc(t))?x(u("button",y(q(T(()=>{let _;return $(x((_=[BC(14,14),u("span",{children:["Map additional value"]})],["children",w.Children.toArray(Array.from(_))])),T(()=>$(x(["className",xe(" ",q(T(()=>$(x("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),T(()=>i==null?x("opacity-50 cursor-not-allowed underline"):x("cursor-pointer underline hover:text-gray-700"))))))]),T(()=>{const C=i;if(C==null)return k0();{const A=C;return x(["onClick",N=>{A()}])}}))))}))))):k0())))),["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","text-gray-500 text-xs font-normal pl-1"],(b=q(T(()=>{if(o!=null){const _=o;return x(u("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:C=>{_(m)}}))}else return x(u("button",y(q(T(()=>$(x(["children","Clear"]),T(()=>$(n==null?x(["className","opacity-50 underline cursor-not-allowed mt-2"]):x(["className","cursor-pointer underline py-2 hover:text-gray-700"]),T(()=>{const _=n;if(_==null)return k0();{const C=_;return x(["onClick",A=>{C()}])}})))))))))})),["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(p))])])))},t))),["children",w.Children.toArray(Array.from(h))]))))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(a))])])))}function HC(e){let t,r,n;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const c=$C(s,a);l=ht(()=>ft(()=>c,(p,v)=>LC(s,p,v),(p,v)=>{}),void 0,void 0);const d=l[0],f=l[1],h=w.useState(!1),m=h[0];return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[T2("Map values - Employment basis"),S3("Match the values from your CSV to the corresponding destination values."),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(r=[u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(n=q(T(()=>$(d.Prefilled?x(xo("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.")):x(E0()),T(()=>$(m&&d.ValidatedMappings==null?x(D9("Map at least one value to continue.")):x(E0()),T(()=>{let p,v,b,_,C,A,N,R,D;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(p=[u("div",y(g([(v="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",v]),(b=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),u("div",y(g([["className",xe(" ",q(T(()=>$(d.NumberOfDestinationValuesMapped===4?x("bg-emerald-100 text-emerald-800"):x("bg-blue-100 text-blue-800"),T(()=>x("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(C=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(A=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(N=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(R=[u("div",y(o0((D=q(T(()=>$(m3(P=>{let E,S,k;const M=P[0];return x(VC(M,P[1],d.IncomingValues,(E=M,B9(d,E)?()=>{f(new Hr(1,[E]))}:void 0),(S=M,V9(d,S)?()=>{f(new Hr(0,[S]))}:void 0),(k=M,d2(d.Selections,k).length>1?O=>{let L;f((L=[k,O],new Hr(2,[L[0],L[1]])))}:void 0),O=>{let L;f((L=[M,O[0],O[1]],new Hr(3,[L[0],L[1],L[2]])))}))},rf(d.Selections)),T(()=>{let P,E,S,k,M,O;return $(d.DiscardedValues.length===0?x(E0()):x(u("div",y(g([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(P=[u("div",y(g([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(E=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(S=[$9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(k=[b5(16,12)],["children",w.Children.toArray(Array.from(k))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(M=[u("div",y(g([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(O=q(T(()=>$(x(u("div",y(q(T(()=>$(x(["className","font-medium"]),T(()=>{const L=d.DiscardedValues.length|0;return x(L===1?["children","Remaining 1 unused value:"]:["children",`Remaining ${L} unused values:`])}))))))),T(()=>{let L;return x(u("ul",y(g([Ke,["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(L=Q0(j=>u("li",{children:[j]}),hn(y1(T(()=>$(x(Q0(j=>j.fields[0],d.DiscardedValues.slice(void 0,8))),T(()=>d.DiscardedValues.length>8?x([`... and ${d.DiscardedValues.length-8} other values`]):k0())))))),["children",w.Children.toArray(Array.from(L))])]))))})))),["children",w.Children.toArray(Array.from(O))])])))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(P))])])))),T(()=>{let L;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(L=q(T(()=>$(d.DiscardedValues.length===0?x(F9("All incoming values have been mapped.")):x(E0()),T(()=>{let j,e0,Z,z,B,K,W;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(e0=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(z="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",z]),["onClick",t0=>{i(d.ValidatedMappings)}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(K="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",K]),["disabled",m&&d.ValidatedMappings==null],["onClick",t0=>{const Y=d.ValidatedMappings;Y==null?h[1](!0):o(Y)}],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),Mr(13,8)],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(e0))])])))],["children",w.Children.toArray(Array.from(j))])]))))})))),["children",w.Children.toArray(Array.from(L))])]))))}))})))),["children",w.Children.toArray(Array.from(D))]))))],["children",w.Children.toArray(Array.from(R))])])))],["children",w.Children.toArray(Array.from(p))])]))))})))))),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let UC=class extends i0{constructor(t,r,n,i,o,s,a,l,c){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=c}};class Ls extends i0{constructor(t,r){super(),this.Summary=t,this.Details=r}}function Ur(e){if(!Dt(e))return e}function H9(e,t,r){let n,i;const o=e.fields[0],s=t.MobilePhone,a=r!=null&&r[1]!=null?(n=r[0].fields[0].fields[0]|0,i=r[1],[n,cy(i)]):void 0,l=s!=null&&o5(new i5(o),s)?s:void 0;return g(Q0(c=>{let d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k;const M=c.fields[0];return G2(Ye(O=>O,[(d=Ur(f0(t.FirstName.fields[0],M)),d==null?void 0:(f=d,[r2(new r0(0,[])),f])),(h=Ur(f0(t.LastName.fields[0],M)),h==null?void 0:(m=h,[r2(new r0(1,[])),m])),(p=Ur(f0(t.Email.fields[0],M)),p==null?void 0:(v=p,[r2(new r0(2,[])),v])),(b=(_=l,_==null?void 0:(C=Ur(f0(_.fields[0],M)),C==null?void 0:P9(C))),b==null?void 0:(A=b,[r2(new r0(3,[])),A])),(N=(R=a,R==null?void 0:(D=R,P=(E=f0(D[0],M),S=E0(),[ef(D[1],E,new ke(()=>S,O=>{S=O})),S]),P[0]?P[1]:void 0)),N==null?void 0:(k=N,[r2(new r0(4,[])),k]))]),{Compare:b2})},o))}function jC(e,t,r){const n=r2(r);return[i2(e.Data,n),!Bi(i=>i.PropName===n,t)]}function WC(e,t){const r=ml(t.PropName);if(r==null)return["Invalid or missing field",!1];{const n=r,i=nr(n).toLocaleLowerCase();if(i2(e.Data,r2(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 Bs(e){const t=ml(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`${nr(r)} exists in multiple rows`;default:return xa(e.Message,e.Column,nr(r))}}}function qC(e,t,r,n){return V.Delay(()=>V.TryWith(V.Delay(()=>{let i,o,s,a;return V.ReturnFrom((i=new I8((o=n,(o==null?void 0:o[1])!=null),Wn((l,c)=>new Ki(l+2,c),(s=[t,r,n],H9(s[0],s[1],s[2])))),a=e(i),V.Bind(a,l=>{let c;const d=l;return c=d.tag===1?new I(1,[d.fields[0]]):new I(0,[st(f=>{let h,m,p,v,b;const _=V0((h=q4(A=>A.RowId===f.RowId,d.fields[0].Errors),h==null?void 0:h.FieldErrors),oe()),C=A=>jC(f,_,A);return new UC(f.RowId-2+1,C(new r0(0,[])),C(new r0(1,[])),C(new r0(2,[])),C(new r0(3,[])),(m=C(new r0(4,[])),[(p=(v=m[0],v==null?void 0:ly(v)),p==null?void 0:hl(p)),m[1]]),Bi(A=>A.Message.startsWith("Duplicate Email"),_),!M0(je(A=>!A.Message.startsWith("Duplicate Email"),_)),M0(_)?void 0:M0($0(_))?(b=WC(f,d0(_)),new Ls(b[0],b[1]?o0(Bs(d0(_))):void 0)):new Ls("Multiple invalid or missing fields",st(Bs,_)))},i.Data)]),V.Return(c)})))}),i=>V.Return(new I(1,[ne(i)]))))}function GC(e,t,r,n,i){return V.Delay(()=>V.TryWith(V.Delay(()=>{let o,s;return V.Bind(e(new R8((o=n,(o==null?void 0:o[1])!=null),X(i,new Fe(0,[])),Wn((a,l)=>new Ki(a+2,l),(s=[t,r,n],H9(s[0],s[1],s[2]))))),a=>{let l;return V.Return((l=a,l.tag===1?new I(1,[l.fields[0]]):new I(0,[l.fields[0].ImportId])))})}),o=>V.Return(new I(1,[ne(o)]))))}let V2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validated","SetInviteTiming","ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},H2=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validating","Reviewing"]}};class L3 extends i0{constructor(t,r,n,i,o,s,a,l,c,d,f,h,m){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=c,this.RowFrom=d|0,this.RowTo=f|0,this.Page=h,this.PageNo=m|0}}function zC(e,t,r){return[new H2(0,[]),e5(g([o1(t,new ge(5,[{RowCount:Jw(r)}])),ep(n=>{tp(n)},e,void 0,n=>new V2(0,[n]))]))]}function jr(e,t,r){const n=(e-1)*20|0,i=Ga(n,e*20-1,r?je(o=>o.Errors!=null,t):t);if(M0(i))return[0,0,oe()];{const o=i;return[n+1,n+_e(o),o]}}function U9(e){return e.PageNo>1}function j9(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function YC(e,t,r){const n=je(o=>o.Errors!=null,e.Data),i=Wn((o,s)=>{const a=V0(ae(p=>p.Summary,s.Errors),""),l=V0(s.FirstName[0],""),c=V0(s.LastName[0],""),d=V0(s.Email[0],""),f=V0(s.MobilePhone[0],""),h=V0(s.EmploymentBasis[0],""),m=o===_e(n)-1?"":`
|
|
50
|
+
`;return xe(",",q(T(()=>$(x(a),T(()=>$(x(l),T(()=>$(x(c),T(()=>$(x(d),T(()=>$(t?x(f):k0(),T(()=>$(r?x(h):k0(),T(()=>x(`${s.RowNumber}${m}`))))))))))))))))},n);return Pt(o0(xe(",",q(T(()=>$(x("Error detail"),T(()=>$(x("First name"),T(()=>$(x("Last name"),T(()=>$(x("Email"),T(()=>$(t?x("Mobile phone"):k0(),T(()=>$(r?x("Employment basis"):k0(),T(()=>x(`Original row #
|
|
51
|
+
`))))))))))))))))),i)}function ZC(e,t,r,n){let i,o,s,a,l,c,d,f,h,m,p;switch(r.tag){case 1:{n.tag===1?(o=2,l=r.fields[0],c=n.fields[0]):(o=7,p=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,p=n)):(o=7,p=n);break}case 3:{n.tag===1&&j9(n.fields[0])?(o=4,h=n.fields[0]):(o=7,p=n);break}case 4:{n.tag===1&&U9(n.fields[0])?(o=5,m=n.fields[0]):(o=7,p=n);break}case 5:{n.tag===1&&n.fields[0].HasErrors?o=6:(o=7,p=n);break}default:r.fields[0].tag===1?n.tag===0?(o=1,a=r.fields[0].fields[0]):(o=7,p=n):n.tag===0?(o=0,s=r.fields[0].fields[0]):(o=7,p=n)}switch(o){case 0:{let v;const b=[s,!1];v=jr(1,b[0],b[1]);const _=_e(je(N=>N.Errors==null,s))|0,C=_e(je(N=>N.HasDuplicateEmailError,s))|0,A=_e(je(N=>N.Errors!=null,s))|0;return[new H2(1,[new L3(s,new Fe(1,[]),C,_e(je(N=>N.HasErrorOtherThanDuplicateEmail,s)),A,_e(s),_,!1,Bi(N=>N.Errors!=null,s),v[0],v[1],v[2],1)]),o1(t,new ge(6,[{DuplicateCount:C,RowCount:_e(s),SuccessCount:_,TotalFailedCount:A}]))]}case 1:return[n,o1(e,a)];case 2:return[new H2(1,[new L3(c.Data,l,c.DuplicateEmailCount,c.NumberOfRowsWithErrorsOtherThanDuplicateEmail,c.NumberOfInvalidRows,c.NumberOfRows,c.NumberOfValidRows,c.ShowingOnlyRowsWithErrors,c.HasErrors,c.RowFrom,c.RowTo,c.Page,c.PageNo)]),m0()];case 3:{let v;const b=[d.Data,f];return v=jr(1,b[0],b[1]),[new H2(1,[new L3(d.Data,d.InviteTiming,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfValidRows,f,d.HasErrors,v[0],v[1],v[2],1)]),m0()]}case 4:{const v=h.PageNo+1|0;let b;const _=[h.Data,h.ShowingOnlyRowsWithErrors];return b=jr(v,_[0],_[1]),[new H2(1,[new L3(h.Data,h.InviteTiming,h.DuplicateEmailCount,h.NumberOfRowsWithErrorsOtherThanDuplicateEmail,h.NumberOfInvalidRows,h.NumberOfRows,h.NumberOfValidRows,h.ShowingOnlyRowsWithErrors,h.HasErrors,b[0],b[1],b[2],v)]),m0()]}case 5:{const v=m.PageNo-1|0;let b;const _=[m.Data,m.ShowingOnlyRowsWithErrors];return b=jr(v,_[0],_[1]),[new H2(1,[new L3(m.Data,m.InviteTiming,m.DuplicateEmailCount,m.NumberOfRowsWithErrorsOtherThanDuplicateEmail,m.NumberOfInvalidRows,m.NumberOfRows,m.NumberOfValidRows,m.ShowingOnlyRowsWithErrors,m.HasErrors,b[0],b[1],b[2],v)]),m0()]}case 6:return[n,o1(t,new ge(7,[]))];default:return[p,m0()]}}function _5(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",y(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",w.Children.toArray(Array.from(r))])])))}function W9(e,t,r){let n,i,o,s,a,l,c,d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S;return x2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(o0(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",k=>{r()}],["type","button"],["className","text-gray-600"],(s=[qt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",y(o0((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",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(c=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[u("span",{children:"First name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(o0((f=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(h=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(m=[u("span",{children:"Last name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(o0((p=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(v=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",w.Children.toArray(Array.from(v))])])))],["children",w.Children.toArray(Array.from(p))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(b=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(o0((_=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(C=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),u("div",y(o0((A=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(N=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"+61432368712"})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),u("div",y(o0((R=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(D=[u("span",{children:"One of the following options:"}),u("br",{}),u("ul",y(g([["className","italic list-disc px-3"],(P=[u("li",{children:"Full-time"}),u("li",{children:"Part-time"}),u("li",{children:"Labour hire"}),u("li",{children:"Casual"})],["children",w.Children.toArray(Array.from(P))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(R))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users_template"],(E=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(S=[_5(16,16)],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}function KC(e,t){let r,n,i,o,s,a,l,c,d,f,h,m,p;return x2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[S2(o0(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),u("button",y(g([["onClick",v=>{t()}],["type","button"],["className","text-gray-600"],(o=[qt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-gray-500 text-sm font-normal pt-6"],(s=[u("p",y(o0((a=[u("span",{children:["Workplace benefits is a"]}),u("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.",u("span",{children:[l]}))],["children",w.Children.toArray(Array.from(a))])))),u("p",y(g([["className","pt-3"],(c=[(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 ",u("span",{children:[d]})),u("span",{className:"font-semibold text-nowrap",children:" Flare App"}),u("span",{children:["."]})],["children",w.Children.toArray(Array.from(c))])]))),u("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),u("ul",y(g([["className","list-inside list-disc pt-3"],(f=[u("li",y(o0((h=[u("span",{className:"font-semibold",children:"Savings "}),u("span",{children:["on essentials like food, fuel, and more."]})],["children",w.Children.toArray(Array.from(h))])))),u("li",y(g([["className","pt-2"],(m=[u("span",{className:"font-semibold",children:"Exclusive offers "}),u("span",{children:["from leading brands and retailers."]})],["children",w.Children.toArray(Array.from(m))])]))),u("li",y(g([["className","pt-2"],(p=[u("span",{className:"font-semibold",children:"Tax savings "}),u("span",{children:["with salary packaging."]})],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}const JC=e=>u("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Group 67"},u("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)"}),u("g",{id:"Group",opacity:.95},u("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)"})),u("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)"}),u("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"}),u("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"}),u("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"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#161E37"}),u("stop",{offset:.11,stopColor:"#172243"}),u("stop",{offset:.31,stopColor:"#1B2E62"}),u("stop",{offset:.57,stopColor:"#214196"}),u("stop",{offset:.89,stopColor:"#2A5CDD"}),u("stop",{offset:1,stopColor:"#2E66F7"})),u("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{offset:.11,stopColor:"#FF876F"}),u("stop",{offset:.99,stopColor:"#A650FF"})),u("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#0095F2"}),u("stop",{offset:.29,stopColor:"#307CF6"}),u("stop",{offset:.61,stopColor:"#6163FB"}),u("stop",{offset:.86,stopColor:"#7F54FD"}),u("stop",{offset:1,stopColor:"#8B4FFF"})))),XC=e=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},u("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"})),QC=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),u("g",{clipPath:"url(#clip0_4584_4202)"},u("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"}),u("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("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"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#FECACA"}),u("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),u("clipPath",{id:"clip0_4584_4202"},u("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),ex=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),u("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"}),u("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"}),u("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"}),u("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"}),u("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"}),u("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"}),u("defs",null,u("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#D6E2FC"}),u("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),tx=e=>u("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{clipPath:"url(#clip0_3030_30757)"},u("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"}),u("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"})),u("defs",null,u("clipPath",{id:"clip0_3030_30757"},u("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),rx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("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"}),u("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"})),nx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("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"}),u("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),u("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"})),ix=e=>u("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Clock"},u("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 Gt(e,t){return w.createElement(e,y(t))}function ox(e){return Gt(JC,e)}function sx(e){return Gt(XC,e)}function ax(e){return Gt(QC,e)}function lx(e){return Gt(ex,e)}function ux(e){return Gt(tx,e)}function cx(e){return Gt(rx,e)}function dx(e){return Gt(nx,e)}function fx(e){return Gt(ix,e)}function hx(e,t,r,n){let i,o,s,a,l,c,d,f,h,m,p;return x2(g([new ve(3,[e]),new ve(4,[r]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[S2(g([new lt(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 lt(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[u("button",y(g([["type","button"],["onClick",v=>{r()}],["className","text-gray-600"],(a=[qt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(l=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(c=[lx([])],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[R9(g([new kn(2,["text-gray-900 text-lg font-bold"]),new kn(3,[[`Import ${t} users`]])])),u("div",y(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[u("p",{children:[`Are you sure you want to import ${t} users?`]})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(h=[u("button",y(g([["type","button"],["onClick",v=>{n()}],(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"]]))),u("button",y(g([["type","button"],["onClick",v=>{r()}],(p="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",p]),["children","Cancel"]])))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))]])]))}function q9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=o0(u("path",y(g([(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",w.Children.toArray(Array.from(r))])])))}function mx(e){return`${Di(e,".")}.`}function Vs(e){return Di(e,".")}function px(e){let t;const r=e.children,n=e.text,i=w.useState(!1),o=i[1];return u("div",y(g([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=q(T(()=>$(r,T(()=>{let s,a;return i[0]?x(u("div",y(g([(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=q(T(()=>{let l;return M0(n)?x(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>F0(c=>u("li",{children:[Vs(c)]}),n))),["children",w.Children.toArray(Array.from(l))])])))):M0($0(n))?x(u("p",{children:[mx(d0(n))]})):x(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>F0(c=>u("li",{children:[Vs(c)]}),n))),["children",w.Children.toArray(Array.from(l))])]))))})),["children",w.Children.toArray(Array.from(a))])])))):k0()})))),["children",w.Children.toArray(Array.from(t))])])))}function D2(e,t){let r;return u("div",y(g([["className",xe(" ",["animate-pulse w-full relative",e,t])],(r=[u("div",{className:xe(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",w.Children.toArray(Array.from(r))])])))}function gx(){let e,t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[u("div",y(g([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[u("div",y(g([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[u("div",y(g([["className","w-[1030px]"],(n=q(T(()=>{let f,h,m,p;return $(x(u("div",y(g([["className","bg-gray-100 flex"],(f=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(h=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(m=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(p=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>F0(v=>u("div",y(q(T(()=>$(v%2===1?x(["className","bg-white border-t border-gray-200 flex"]):x(["className","bg-gray-50 border-t border-gray-200 flex"]),T(()=>{let b,_,C,A;return x((b=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(_=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(_))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(C=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(C))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(A=[D2("h-5","w-full")],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))]))})))))),q(eo(0,1,9)))))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])]))),u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(i=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(s=[u("button",y(g([(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=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(l))])]))),u("button",y(g([(c="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",c]),["disabled",!0],(d=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(e))])])))}function wx(e){const t=Q0(n=>n,ut(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}const yx=(()=>{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 vx(e){let t,r,n;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,c=e.baseColumnMappings,d=e.dataRows,f=e.apiCallAsync;let h;const m=zC(()=>qC(f,d,c,l),i,d);h=ht(()=>ft(()=>m,(E,S)=>ZC(o,i,E,S),(E,S)=>{}),void 0,void 0);const p=h[1],v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(!1),N=A[0],R=A[1],D=V0(ae(E=>o5(d,E),c.MobilePhone),!1),P=Hn(E=>E[1],l)!=null;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[W9(yx,v[0],()=>{b(!1)}),KC(_[0],()=>{C(!1)}),T2("Review"),S3("Preview your data and confirm that everything is mapped correctly."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[w2("What kind of data do I need?",()=>{b(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=[u("div",y(q(T(()=>$(x(["className","pt-6 flex-col justify-start items-start gap-4 inline-flex"]),T(()=>{let E,S,k;const M=h[0];if(M.tag===1){const O=M.fields[0],L=z=>{p(new V2(1,[z]))},j=z=>{p(new V2(2,[z]))},e0=j9(O)?z=>{p(new V2(3,[]))}:void 0,Z=U9(O)?z=>{p(new V2(4,[]))}:void 0;return x((E=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(S=q(T(()=>$(x(hx(N,O.NumberOfValidRows,()=>{R(!1)},()=>{N&&a([new i5(y1(F0(z=>z[0],Tt(z=>z[1].Errors==null,e8(d.fields[0],O.Data))))),O.InviteTiming])})),T(()=>{let z,B,K,W,t0,Y,F,u0,h0,T0;return $(O.HasErrors?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(z=[q9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(B=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(K=[u("span",{children:[O.NumberOfInvalidRows>1?`We found some issues across ${O.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(K))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(W=q(T(()=>{let I0;return $(O.DuplicateEmailCount>0?x((I0=g([u("span",{className:"font-medium",children:`${O.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(I0))}))):k0(),T(()=>{let J;return O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((J=g([u("span",{className:"font-medium",children:O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${O.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),u("li",{children:w.Children.toArray(Array.from(J))}))):k0()}))})),["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","px-2 py-1.5"],(t0=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(Y=[u("span",{children:[(F=O.NumberOfValidRows===0,u0=O.NumberOfInvalidRows|0,F?u0===1?"To import this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To import these rows later, download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:u0===1?"You can continue the import without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the import without these ${O.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(Y))])])))],["children",w.Children.toArray(Array.from(t0))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(h0=[u("a",{className:"px-2 py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:wx((T0=[O,D,P],YC(T0[0],T0[1],T0[2]))),onClick:I0=>{p(new V2(5,[]))},download:"import_users_error_rows"})],["children",w.Children.toArray(Array.from(h0))])])))],["children",w.Children.toArray(Array.from(B))])])))],["children",w.Children.toArray(Array.from(z))])])))):k0(),T(()=>{let I0;return $(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(I0=q(T(()=>{let J,H,l0;return $(O.HasErrors?x(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",y0=>{j(!O.ShowingOnlyRowsWithErrors)}],(J=[u("input",y(g([["type","checkbox"],["checked",O.ShowingOnlyRowsWithErrors],(H="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",H]),["onKeyPress",y0=>{y0.preventDefault(),y0.key==="Enter"&&j(!O.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(J))])])))):x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(l0=[E3(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(l0))])])))),T(()=>{let y0,n0,w0,c0,x0,U0,b0,Ie,z0,le,Qe;return x(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(y0=[u("div",y(o0((n0=[u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(w0=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(c0=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(x0=[(U0=q(T(()=>$(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>$(O.HasErrors?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):k0(),T(()=>{let R0;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(R0=[u("span",{children:["First name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(R0))])])))),T(()=>{let O0;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(O0=[u("span",{children:["Last name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(O0))])])))),T(()=>{let ue;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(ue=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(ue))])])))),T(()=>$(D?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Mobile Phone"})):k0(),T(()=>P?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Employment Basis"})):k0()))))}))}))})))))),u("tr",{children:w.Children.toArray(Array.from(U0))}))],["children",w.Children.toArray(Array.from(x0))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(b0=q(T(()=>F0(R0=>u("tr",y(q(T(()=>$(x(["key",R0.RowNumber]),T(()=>{let O0;return $((O0=R0.RowNumber%2|0,R0.Errors==null?x(O0===1?["className","bg-white"]:["className","bg-gray-50"]):x(["className","bg-amber-50"])),T(()=>{let ue;return x((ue=q(T(()=>$(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:R0.RowNumber})),T(()=>$(O.HasErrors?x(u("td",y(q(T(()=>$(x(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let S0,L0,A0;return R0.Errors!=null?x((S0=[u("div",y(g([(L0="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",L0]),(A0=q(T(()=>$(x(u("span",{children:[U(R0.Errors).Summary]})),T(()=>{let ze;const pt=U(R0.Errors).Details;return pt==null?k0():x(u("div",y(g([["className","pl-1 text-amber-700 items-center inline-flex"],(ze=[u(px,{text:pt,children:[sx([])]})],["children",w.Children.toArray(Array.from(ze))])]))))})))),["children",w.Children.toArray(Array.from(A0))])])))],["children",w.Children.toArray(Array.from(S0))])):k0()}))))))):k0(),T(()=>$(x(u("td",y(q(T(()=>$(x(Ke),T(()=>{let S0,L0;const A0=R0.FirstName;return A0[0]==null?k0():A0[1]?(S0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))))),T(()=>$(x(u("td",y(q(T(()=>$(x(Ke),T(()=>{let S0,L0;const A0=R0.LastName;return A0[0]==null?k0():A0[1]?(S0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))))),T(()=>$(x(u("td",y(q(T(()=>$(x(Ke),T(()=>{let S0,L0;const A0=R0.Email;return A0[0]==null?k0():A0[1]?(S0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))))),T(()=>$(D?x(u("td",y(q(T(()=>$(x(mg),T(()=>{let S0,L0;const A0=R0.MobilePhone;return A0[0]==null?k0():A0[1]?(S0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))))):k0(),T(()=>P?x(u("td",y(q(T(()=>{let S0,L0;const A0=R0.EmploymentBasis;return A0[0]==null?k0():A0[1]?(S0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm text-gray-500"]),T(()=>x(["children",S0])))):(L0=A0[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>x(["children",L0]))))}))))):k0())))))))))))))),["children",w.Children.toArray(Array.from(ue))]))}))})))))),O.Page))),["children",w.Children.toArray(Array.from(b0))])])))],["children",w.Children.toArray(Array.from(c0))])])))],["children",w.Children.toArray(Array.from(w0))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(Ie=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(z0=[(le=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.ShowingOnlyRowsWithErrors?O.NumberOfInvalidRows:O.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(le))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(Qe=[u("button",y(q(T(()=>{let R0;return $((R0=Z,R0==null?x(["disabled",!0]):x(["onClick",R0])),T(()=>{let O0;return $(x((O0="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",O0])),T(()=>{let ue;return x((ue=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(ue))]))}))}))})))),u("button",y(q(T(()=>{let R0;return $((R0=e0,R0==null?x(["disabled",!0]):x(["onClick",R0])),T(()=>{let O0;return $(x((O0="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",O0])),T(()=>{let ue;return x((ue=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(ue))]))}))}))}))))],["children",w.Children.toArray(Array.from(Qe))])])))],["children",w.Children.toArray(Array.from(z0))])])))],["children",w.Children.toArray(Array.from(Ie))])])))],["children",w.Children.toArray(Array.from(n0))]))))],["children",w.Children.toArray(Array.from(y0))])]))))}))})),["children",w.Children.toArray(Array.from(I0))])])))),T(()=>{let J,H,l0,y0,n0,w0,c0,x0,U0,b0,Ie,z0,le,Qe,R0;return $(O.NumberOfValidRows>0?x(u("div",y(g([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(J=[ox([]),u("div",y(g([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(H=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(l0=[u("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${O.NumberOfValidRows} users to workplace benefits`})],["children",w.Children.toArray(Array.from(l0))])]))),w2("What is workplace benefits?",()=>{C(!0)}),u("div",y(o0((y0=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(n0=[u("div",y(g([["key",ne(new Fe(1,[]))],["className","relative flex items-start"],(w0=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",O0=>{L(new Fe(1,[]))}],(c0=[u("input",y(g([["id",ne(new Fe(1,[]))],["name","InviteTiming"],["type","radio"],(x0="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",x0]),["checked",X(O.InviteTiming,new Fe(1,[]))],["onChange",O0=>{O0.target.checked,L(new Fe(1,[]))}]])))],["children",w.Children.toArray(Array.from(c0))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(U0=[u("label",{for:ne(new Fe(1,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import now, invite later"}),u("p",{id:`${ne(new Fe(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",w.Children.toArray(Array.from(U0))])])))],["children",w.Children.toArray(Array.from(w0))])])))],["children",w.Children.toArray(Array.from(n0))])]))),u("div",y(o0((b0=[u("div",y(g([["key",ne(new Fe(0,[]))],["className","relative flex items-start"],(Ie=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",O0=>{L(new Fe(0,[]))}],(z0=[u("input",y(g([["id",ne(new Fe(0,[]))],["name","InviteTiming"],["type","radio"],(le="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",le]),["checked",X(O.InviteTiming,new Fe(0,[]))],["onChange",O0=>{O0.target.checked,L(new Fe(0,[]))}]])))],["children",w.Children.toArray(Array.from(z0))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(Qe=[u("label",{for:ne(new Fe(0,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import and invite now"}),u("p",y(g([["id",`${ne(new Fe(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(R0="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",R0])])))],["children",w.Children.toArray(Array.from(Qe))])])))],["children",w.Children.toArray(Array.from(Ie))])])))],["children",w.Children.toArray(Array.from(b0))]))))],["children",w.Children.toArray(Array.from(y0))]))))],["children",w.Children.toArray(Array.from(H))])])))],["children",w.Children.toArray(Array.from(J))])])))):k0(),T(()=>{let O0,ue,S0,L0,A0,ze,pt,b1;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(O0=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(ue=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(S0=[u("button",y(g([(L0="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",L0]),["onClick",c1=>{s()}],(A0=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(A0))])]))),u("button",y(g([(ze="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",ze]),["onClick",c1=>{R(!0)}],["disabled",O.NumberOfValidRows===0],(pt=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(b1=O.NumberOfValidRows|0,b1===0?"Import users":b1===1?"Import 1 user":`Import ${O.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(pt))])])))],["children",w.Children.toArray(Array.from(S0))])])))],["children",w.Children.toArray(Array.from(ue))])])))],["children",w.Children.toArray(Array.from(O0))])]))))}))}))}))})))),["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(E))]))}else return x((k=[gx()],["children",w.Children.toArray(Array.from(k))]))}))))))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}var $2={},z5,Hs;function Ae(){return Hs||(Hs=1,z5={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),z5}var Y5,Us;function N2(){if(Us)return Y5;Us=1;var e=Ae();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 Y5=t,Y5}var F2={},js;function M2(){return js||(js=1,F2.log=function(){},F2.setLogger=function(t){F2.enabled=!0,F2.log=t}),F2}var Z5,Ws;function G9(){if(Ws)return Z5;Ws=1;var e=Ae(),t=N2(),r=M2();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 c=l.feed(s);if(c){if(c==e.foundIt)return this._mBestGuessProber=l,this.getState();if(c==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,c;c=this._mProbers[l];l++)if(c){if(!c.active){r.log(c.getCharsetName()+` not active
|
|
52
52
|
`);continue}var d=c.getConfidence();r.log(c.getCharsetName()+" confidence = "+d+`
|
|
53
|
-
`),a<d&&(a=d,this._mBestGuessProber=c)}return this._mBestGuessProber?a:0},o()}return n.prototype=new t,
|
|
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,K5=n,K5}var J5,Gs;function yx(){if(Gs)return J5;Gs=1;var e=Ae(),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 J5={classTable:t,classFactor:5,stateTable:r,charLenTable:n,name:"Big5"},J5}var U1={},L3={},zs;function vx(){return zs||(zs=1,L3.JIS_TYPICAL_DISTRIBUTION_RATIO=3,L3.JIS_TABLE_SIZE=4368,L3.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]),L3}var B3={},Ys;function bx(){return Ys||(Ys=1,B3.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,B3.EUCTW_TABLE_SIZE=8102,B3.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]),B3}var V3={},Zs;function _x(){return Zs||(Zs=1,V3.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,V3.EUCKR_TABLE_SIZE=2352,V3.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]),V3}var H3={},Ks;function Cx(){return Ks||(Ks=1,H3.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,H3.GB2312_TABLE_SIZE=3760,H3.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]),H3}var U3={},Js;function xx(){return Js||(Js=1,U3.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,U3.BIG5_TABLE_SIZE=5376,U3.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]),U3}var Xs;function A3(){if(Xs)return U1;Xs=1;var e=vx(),t=bx(),r=_x(),n=Cx(),i=xx();function o(){var h=1024,m=.99,p=.01,v=3,b=this;function _(){b._mCharToFreqOrder=null,b._mTableSize=null,b._mTypicalDistributionRatio=null,b.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(C,A){if(A==2)var N=this.getOrder(C);else N=-1;N>=0&&(this._mTotalChars++,N<this._mTableSize&&512>this._mCharToFreqOrder[N]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=v)return p;if(this._mTotalChars!=this._mFreqChars){var C=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(C<m)return C}return m},this.gotEnoughData=function(){return this._mTotalChars>h},this.getOrder=function(C){return-1},_()}U1.CharDistributionAnalysis=o;function s(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=t.EUCTWCharToFreqOrder,h._mTableSize=t.EUCTW_TABLE_SIZE,h._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=196?94*(p.charCodeAt(0)-196)+p.charCodeAt(1)-161:-1},m()}s.prototype=new o,U1.EUCTWDistributionAnalysis=s;function a(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=r.EUCKRCharToFreqOrder,h._mTableSize=r.EUCKR_TABLE_SIZE,h._mTypicalDistributionRatio=r.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},m()}a.prototype=new o,U1.EUCKRDistributionAnalysis=a;function l(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=n.GB2312CharToFreqOrder,h._mTableSize=n.GB2312_TABLE_SIZE,h._mTypicalDistributionRatio=n.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176&&p.charCodeAt(1)>=161?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},m()}l.prototype=new o,U1.GB2312DistributionAnalysis=l;function c(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=i.Big5CharToFreqOrder,h._mTableSize=i.BIG5_TABLE_SIZE,h._mTypicalDistributionRatio=i.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=164?p.charCodeAt(1)>=161?157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-161+63:157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-64:-1},m()}c.prototype=new o,U1.Big5DistributionAnalysis=c;function d(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=e.JISCharToFreqOrder,h._mTableSize=e.JIS_TABLE_SIZE,h._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){if(p.charCodeAt(0)>=129&&p.charCodeAt(0)<=159)var v=188*(p.charCodeAt(0)-129);else if(p.charCodeAt(0)>=224&&p.charCodeAt(0)<=239)v=188*(p.charCodeAt(0)-224+31);else return-1;return v+=p.charCodeAt(1)-64,(p.charCodeAt(1)<64||p.charCodeAt(1)===127||p.charCodeAt(1)>252)&&(v=-1),v},m()}d.prototype=new o,U1.SJISDistributionAnalysis=d;function f(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=e.JISCharToFreqOrder,h._mTableSize=e.JIS_TABLE_SIZE,h._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p[0]>=" "?94*(p.charCodeAt(0)-161)+p.charCodeAt(1)-161:-1},m()}return f.prototype=new o,U1.EUCJPDistributionAnalysis=f,U1}var X5,Qs;function Sx(){if(Qs)return X5;Qs=1;var e=Gt(),t=E3(),r=yx(),n=A3().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,X5=i,X5}var Q5,e7;function Ex(){if(e7)return Q5;e7=1;var e=Ae(),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 Q5={classTable:t,classFactor:16,stateTable:r,charLenTable:n,name:"UTF-8"},Q5}var e4,t7;function Ax(){if(t7)return e4;t7=1;var e=Gt(),t=T2(),r=Ae(),n=Ex();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 c=0,d;c<l.length;c++){d=l[c];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,c=0,d=this._mFullLen-this._mBasicAsciiLen;return d>0&&(c=this._mMBCharLen/d),this._mNumOfMBChar<6&&c<=.6?(l*=Math.pow(o,this._mNumOfMBChar),1-l):l},a()}return i.prototype=new t,e4=i,e4}var t4,r7;function Tx(){if(r7)return t4;r7=1;var e=Ae(),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 t4={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"Shift_JIS"},t4}var r4={},n7;function G9(){return n7||(n7=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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,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,c=this;function d(){c.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,h){if(!this._mDone)for(var m=this._mNeedToSkipCharNum;m<h;){var p=this.getOrder(f.slice(m,m+2)),v=p[0],b=p[1];if(m+=b,m>h)this._mNeedToSkipCharNum=m-h,this._mLastCharOrder=-1;else{if(v!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>a){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][v]]+=1}this._mLastCharOrder=v}}},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}(r4)),r4}var n4,i7;function Nx(){if(i7)return n4;i7=1;var e=Gt(),t=E3(),r=Tx(),n=A3().SJISDistributionAnalysis,i=G9().SJISContextAnalysis,o=Ae(),s=N2();function a(){t.apply(this);var l=this;function c(){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,h=0;h<f;h++){var m=this._mCodingSM.nextState(d[h]);if(m==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+h+`
|
|
55
|
-
`),this._mState=o.notMe;break}else if(m==o.itsMe){this._mState=o.foundIt;break}else if(m==o.start){var p=this._mCodingSM.getCurrentCharLen();h==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-p).join(""),p),this._mDistributionAnalyzer.feed(this._mLastChar.join(""),p)):(this._mContextAnalyzer.feed(d.slice(h+1-p,h+3-p),p),this._mDistributionAnalyzer.feed(d.slice(h-1,h+1),p))}}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)},c()}return a.prototype=new t,
|
|
56
|
-
`),this._mState=o.notMe;break}else if(m==o.itsMe){this._mState=o.foundIt;break}else if(m==o.start){var p=this._mCodingSM.getCurrentCharLen();if(h==0){this._mLastChar[1]=d[0];var v=this._mLastChar.join("");this._mContextAnalyzer.feed(v,p),this._mDistributionAnalyzer.feed(v,p)}else this._mContextAnalyzer.feed(d.slice(h-1,h+1),p),this._mDistributionAnalyzer.feed(d.slice(h-1,h+1),p)}}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)},c()}return a.prototype=new t,
|
|
53
|
+
`),a<d&&(a=d,this._mBestGuessProber=c)}return this._mBestGuessProber?a:0},o()}return n.prototype=new t,Z5=n,Z5}var K5,qs;function zt(){if(qs)return K5;qs=1;var e=Ae();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 K5=t,K5}var J5,Gs;function A3(){if(Gs)return J5;Gs=1;var e=N2(),t=Ae(),r=M2();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,J5=n,J5}var X5,zs;function bx(){if(zs)return X5;zs=1;var e=Ae(),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 X5={classTable:t,classFactor:5,stateTable:r,charLenTable:n,name:"Big5"},X5}var j1={},B3={},Ys;function _x(){return Ys||(Ys=1,B3.JIS_TYPICAL_DISTRIBUTION_RATIO=3,B3.JIS_TABLE_SIZE=4368,B3.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]),B3}var V3={},Zs;function Cx(){return Zs||(Zs=1,V3.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,V3.EUCTW_TABLE_SIZE=8102,V3.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]),V3}var H3={},Ks;function xx(){return Ks||(Ks=1,H3.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,H3.EUCKR_TABLE_SIZE=2352,H3.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]),H3}var U3={},Js;function Sx(){return Js||(Js=1,U3.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,U3.GB2312_TABLE_SIZE=3760,U3.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]),U3}var j3={},Xs;function Ex(){return Xs||(Xs=1,j3.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,j3.BIG5_TABLE_SIZE=5376,j3.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]),j3}var Qs;function T3(){if(Qs)return j1;Qs=1;var e=_x(),t=Cx(),r=xx(),n=Sx(),i=Ex();function o(){var h=1024,m=.99,p=.01,v=3,b=this;function _(){b._mCharToFreqOrder=null,b._mTableSize=null,b._mTypicalDistributionRatio=null,b.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(C,A){if(A==2)var N=this.getOrder(C);else N=-1;N>=0&&(this._mTotalChars++,N<this._mTableSize&&512>this._mCharToFreqOrder[N]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=v)return p;if(this._mTotalChars!=this._mFreqChars){var C=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(C<m)return C}return m},this.gotEnoughData=function(){return this._mTotalChars>h},this.getOrder=function(C){return-1},_()}j1.CharDistributionAnalysis=o;function s(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=t.EUCTWCharToFreqOrder,h._mTableSize=t.EUCTW_TABLE_SIZE,h._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=196?94*(p.charCodeAt(0)-196)+p.charCodeAt(1)-161:-1},m()}s.prototype=new o,j1.EUCTWDistributionAnalysis=s;function a(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=r.EUCKRCharToFreqOrder,h._mTableSize=r.EUCKR_TABLE_SIZE,h._mTypicalDistributionRatio=r.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},m()}a.prototype=new o,j1.EUCKRDistributionAnalysis=a;function l(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=n.GB2312CharToFreqOrder,h._mTableSize=n.GB2312_TABLE_SIZE,h._mTypicalDistributionRatio=n.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176&&p.charCodeAt(1)>=161?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},m()}l.prototype=new o,j1.GB2312DistributionAnalysis=l;function c(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=i.Big5CharToFreqOrder,h._mTableSize=i.BIG5_TABLE_SIZE,h._mTypicalDistributionRatio=i.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=164?p.charCodeAt(1)>=161?157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-161+63:157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-64:-1},m()}c.prototype=new o,j1.Big5DistributionAnalysis=c;function d(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=e.JISCharToFreqOrder,h._mTableSize=e.JIS_TABLE_SIZE,h._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){if(p.charCodeAt(0)>=129&&p.charCodeAt(0)<=159)var v=188*(p.charCodeAt(0)-129);else if(p.charCodeAt(0)>=224&&p.charCodeAt(0)<=239)v=188*(p.charCodeAt(0)-224+31);else return-1;return v+=p.charCodeAt(1)-64,(p.charCodeAt(1)<64||p.charCodeAt(1)===127||p.charCodeAt(1)>252)&&(v=-1),v},m()}d.prototype=new o,j1.SJISDistributionAnalysis=d;function f(){o.apply(this);var h=this;function m(){h._mCharToFreqOrder=e.JISCharToFreqOrder,h._mTableSize=e.JIS_TABLE_SIZE,h._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p[0]>=" "?94*(p.charCodeAt(0)-161)+p.charCodeAt(1)-161:-1},m()}return f.prototype=new o,j1.EUCJPDistributionAnalysis=f,j1}var Q5,e7;function Ax(){if(e7)return Q5;e7=1;var e=zt(),t=A3(),r=bx(),n=T3().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,Q5=i,Q5}var e4,t7;function Tx(){if(t7)return e4;t7=1;var e=Ae(),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 e4={classTable:t,classFactor:16,stateTable:r,charLenTable:n,name:"UTF-8"},e4}var t4,r7;function Nx(){if(r7)return t4;r7=1;var e=zt(),t=N2(),r=Ae(),n=Tx();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 c=0,d;c<l.length;c++){d=l[c];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,c=0,d=this._mFullLen-this._mBasicAsciiLen;return d>0&&(c=this._mMBCharLen/d),this._mNumOfMBChar<6&&c<=.6?(l*=Math.pow(o,this._mNumOfMBChar),1-l):l},a()}return i.prototype=new t,t4=i,t4}var r4,n7;function Mx(){if(n7)return r4;n7=1;var e=Ae(),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 r4={classTable:t,classFact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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,c=this;function d(){c.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,h){if(!this._mDone)for(var m=this._mNeedToSkipCharNum;m<h;){var p=this.getOrder(f.slice(m,m+2)),v=p[0],b=p[1];if(m+=b,m>h)this._mNeedToSkipCharNum=m-h,this._mLastCharOrder=-1;else{if(v!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>a){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][v]]+=1}this._mLastCharOrder=v}}},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}(n4)),n4}var i4,o7;function kx(){if(o7)return i4;o7=1;var e=zt(),t=A3(),r=Mx(),n=T3().SJISDistributionAnalysis,i=z9().SJISContextAnalysis,o=Ae(),s=M2();function a(){t.apply(this);var l=this;function c(){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,h=0;h<f;h++){var m=this._mCodingSM.nextState(d[h]);if(m==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+h+`
|
|
55
|
+
`),this._mState=o.notMe;break}else if(m==o.itsMe){this._mState=o.foundIt;break}else if(m==o.start){var p=this._mCodingSM.getCurrentCharLen();h==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-p).join(""),p),this._mDistributionAnalyzer.feed(this._mLastChar.join(""),p)):(this._mContextAnalyzer.feed(d.slice(h+1-p,h+3-p),p),this._mDistributionAnalyzer.feed(d.slice(h-1,h+1),p))}}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)},c()}return a.prototype=new t,i4=a,i4}var o4,s7;function Ix(){if(s7)return o4;s7=1;var e=Ae(),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 o4={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"EUC-JP"},o4}var s4,a7;function Rx(){if(a7)return s4;a7=1;var e=zt(),t=A3(),r=T3().EUCJPDistributionAnalysis,n=z9().EUCJPContextAnalysis,i=Ix(),o=Ae(),s=M2();function a(){t.apply(this);var l=this;function c(){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,h=0;h<f;h++){var m=this._mCodingSM.nextState(d[h]);if(m==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+h+`
|
|
56
|
+
`),this._mState=o.notMe;break}else if(m==o.itsMe){this._mState=o.foundIt;break}else if(m==o.start){var p=this._mCodingSM.getCurrentCharLen();if(h==0){this._mLastChar[1]=d[0];var v=this._mLastChar.join("");this._mContextAnalyzer.feed(v,p),this._mDistributionAnalyzer.feed(v,p)}else this._mContextAnalyzer.feed(d.slice(h-1,h+1),p),this._mDistributionAnalyzer.feed(d.slice(h-1,h+1),p)}}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)},c()}return a.prototype=new t,s4=a,s4}var a4,l7;function Ox(){if(l7)return a4;l7=1;var e=Ae(),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 a4={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"GB2312"},a4}var l4,u7;function Dx(){if(u7)return l4;u7=1;var e=A3(),t=zt(),r=Ox(),n=T3().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,l4=i,l4}var u4,c7;function $x(){if(c7)return u4;c7=1;var e=Ae(),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 u4={classTable:t,classFactor:4,stateTable:r,charLenTable:n,name:"EUC-KR"},u4}var c4,d7;function Fx(){if(d7)return c4;d7=1;var e=zt(),t=A3(),r=T3().EUCKRDistributionAnalysis,n=$x();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,c4=i,c4}var d4,f7;function Px(){if(f7)return d4;f7=1;var e=Ae(),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 d4={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"x-euc-tw"},d4}var f4,h7;function Lx(){if(h7)return f4;h7=1;var e=zt(),t=A3(),r=T3().EUCTWDistributionAnalysis,n=Px();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,f4=i,f4}var h4,m7;function Bx(){if(m7)return h4;m7=1;var e=G9(),t=Ax(),r=Nx(),n=kx(),i=Rx(),o=Dx(),s=Fx(),a=Lx();function l(){e.apply(this),this._mProbers=[new r,new n,new i,new o,new s,new t,new a];const c=this._mProbers.map(d=>d.getCharsetName());this.getSupportedCharsetNames=function(){return c},this.reset()}return l.prototype=new e,h4=l,h4}var m4,p7;function Vx(){if(p7)return m4;p7=1;var e=N2(),t=Ae(),r=M2();function n(i,o,s){e.apply(this);var a=64,l=1024,c=.95,d=.05,f=250,h=4,m=h-1,p=this;function v(b,_,C){p._mModel=b,p._mReversed=_,p._mNameProber=C,p.reset()}this.reset=function(){n.prototype.reset.apply(this),this._mLastOrder=255,this._mSeqCounters=[];for(var b=0;b<h;this._mSeqCounters[b++]=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(b){this._mModel.keepEnglishLetter||(b=this.filterWithoutEnglishLetters(b));var _=b.length;if(!_)return this.getState();for(var C=0,A;C<_;C++){A=b.charCodeAt(C);var N=this._mModel.charToOrderMap[A];N<f&&this._mTotalChar++,N<a&&(this._mFreqChar++,this._mLastOrder<a&&(this._mTotalSeqs++,this._mReversed?this._mSeqCounters[this._mModel.precedenceMatrix[N*a+this._mLastOrder]]++:this._mSeqCounters[this._mModel.precedenceMatrix[this._mLastOrder*a+N]]++)),this._mLastOrder=N}if(this.getState()==t.detecting&&p._mTotalSeqs>l){var R=this.getConfidence();R>c?r.log(this._mModel.charsetName+" confidence = "+R+`, we have a winner
|
|
57
57
|
`):R<d&&(r.log(this._mModel.charsetName+" confidence = "+R+", below negative shortcut threshhold "+d+`
|
|
58
|
-
`),this._mState=t.notMe)}return this.getState()},this.getConfidence=function(){var b=.01;return this._mTotalSeqs>0&&(b=1*this._mSeqCounters[m]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,b*=this._mFreqChar/this._mTotalChar,b>=1&&(b=.99)),b},o=o!==void 0?o:!1,s=s!==void 0?s:null,v(i,o,s)}return n.prototype=new e,h4=n,h4}var m4={},p7;function Bx(){return p7||(p7=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,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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"}}(m4)),m4}var p4,g7;function Vx(){if(g7)return p4;g7=1;var e=T2(),t=Ae();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="ð",c="ó",d="ô",f="õ",h=5,m=.01,p="ISO-8859-8",v="windows-1255",b=this;function _(){b._mLogicalProber=null,b._mVisualProber=null,b.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(C,A){this._mLogicalProber=C,this._mVisualProber=A},this.isFinal=function(C){return[n,o,a,c,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 A=0,N;A<C.length;A++)N=C[A],N==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&N!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=N;return t.detecting},this.getCharsetName=function(){var C=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(C>=h)return v;if(C<=-h)return p;var A=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return A>m?v:A<-m||C<0?p:v},this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},_()}return r.prototype=new e,p4=r,p4}var g4={},w7;function Hx(){return w7||(w7=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,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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"}}(g4)),g4}var w4={},y7;function Ux(){return y7||(y7=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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,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"}}(w4)),w4}var y4={},v7;function jx(){return v7||(v7=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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,0,0,0,0,0,0,0,0,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"}}(y4)),y4}var v4={},b7;function Wx(){return b7||(b7=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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,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"}}(v4)),v4}var b4={},_7;function qx(){return _7||(_7=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,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,0,0,0,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"}}(b4)),b4}var _4,C7;function Gx(){if(C7)return _4;C7=1;var e=Lx(),t=q9(),r=Bx().Win1255HebrewModel,n=Vx(),i=Hx(),o=Ux(),s=jx().TIS620ThaiModel,a=Wx(),l=qx();function c(){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 h=new n,m=new e(r,!1,h),p=new e(r,!0,h);h.setModelProbers(m,p),d._mProbers.push(h,m,p),d._supportedCharsetNames=[];for(const v of d._mProbers)d._supportedCharsetNames.push(v.getCharsetName());d.reset()}this.getSupportedCharsetNames=function(){return d._supportedCharsetNames},f()}return c.prototype=new t,_4=c,_4}var C4,x7;function zx(){if(x7)return C4;x7=1;var e=T2(),t=Ae(),r=0,n=1,i=2,o=3,s=4,a=5,l=6,c=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,c,n,n,n,n,n,n,a,n,a,r,a,r,r,n,n,n,n,n,n,n,n,n,c,n,c,r,c,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,c,c,l,l,l,l,l,l,l,l,c,c,l,l,l,l,l,n,l,l,l,l,l,c,c,c],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 h(){e.apply(this);var m=4,p=8,v=this;function b(){v.reset()}this.reset=function(){this._mLastCharClass=n,this._mFreqCounter=[];for(var _=0;_<m;this._mFreqCounter[_++]=0);h.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 A=_.charCodeAt(C),N=d[A],R=f[this._mLastCharClass*p+N];if(R==0){this._mState=t.notMe;break}this._mFreqCounter[R]++,this._mLastCharClass=N}return this.getState()},this.getConfidence=function(){var _;if(this.getState()==t.notMe)return .01;for(var C=0,A=0;A<this._mFreqCounter.length;A++)C+=this._mFreqCounter[A];return C<.01?_=0:_=this._mFreqCounter[3]/C-this._mFreqCounter[1]*20/C,_<0&&(_=0),_=_*.95,_},b()}return h.prototype=new e,C4=h,C4}var F2={},S7;function Yx(){if(S7)return F2;S7=1;var e=Ae(),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];F2.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];F2.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],c=[0,0,0,0,0,0,0,0,0,0];F2.ISO2022JPSMModel={classTable:a,classFactor:10,stateTable:l,charLenTable:c,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],h=[0,0,0,0,0,0];return F2.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:f,charLenTable:h,name:"ISO-2022-KR"},F2}var x4,E7;function Zx(){if(E7)return x4;E7=1;var e=T2(),t=Gt(),r=Yx(),n=Ae();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,c;l<a.length;l++){c=a[l];for(var d=0,f;f=this._mCodingSM[d];d++)if(!(!f||!f.active)){var h=f.nextState(c);if(h==n.error){if(f.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=n.notMe,this.getState()}else if(h==n.itsMe)return this._mState=n.foundIt,this._mDetectedCharset=f.getCodingStateMachine(),this.getState()}}return this.getState()},s()}return i.prototype=new e,x4=i,x4}var S4,A7;function Kx(){if(A7)return S4;A7=1;var e=Ae(),t=Px(),r=Gx(),n=zx(),i=Zx(),o=N2();const s=function(){const c=["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=c.slice(0);for(const h of d)[].push.apply(f,h.getSupportedCharsetNames());return f}(),a=function(){const c=[];for(const d of s)c.push(d.toLocaleLowerCase(),d.toLocaleLowerCase().replace(/-/g,""));return c}();function l(c){if(c||(c={}),typeof c.minimumThreshold!="number"&&(c.detectEncodings?c.minimumThreshold=0:c.minimumThreshold=.2),c.detectEncodings){for(const p of c.detectEncodings)if(!a.includes(p.toLowerCase()))throw new Error(`Encoding ${p} is not supported. Supported encodings: ${s}.`)}var d={pureAscii:0,escAscii:1,highbyte:2},f=this;function h(){f._highBitDetector=/[\x80-\xFF]/,f._escDetector=/(\x1B|~\{)/,f._mEscCharsetProber=null,f._mCharsetProbers=[],f.reset()}function m(p){if(!c.detectEncodings)return!0;var v=c.detectEncodings.map(b=>b.toLowerCase());return v.includes(p.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 p=0,v;v=this._mCharsetProbers[p];p++)v.reset()},this.feed=function(p){if(!this.done){var v=p.length;if(v){if(this._mGotData||(this._mBOM+=p,this._mBOM.slice(0,3)==""&&m("UTF-8")?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"&&m("UTF-32LE")?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"&&m("UTF-32BE")?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"&&m("X-ISO-10646-UCS-4-3412")?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"&&m("X-ISO-10646-UCS-4-2143")?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"&&m("UTF-16LE")?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&m("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(p)?this._mInputState=d.highbyte:this._escDetector.test(this._mLastChar.join("")+p)&&(this._mInputState=d.escAscii)),this._mLastChar=p.slice(-1).split(""),this._mInputState==d.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new i),this._mEscCharsetProber.feed(p)==e.foundIt&&m(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 b=0,_;_=this._mCharsetProbers[b];b++)if(_.feed(p)==e.foundIt&&m(_.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!
|
|
58
|
+
`),this._mState=t.notMe)}return this.getState()},this.getConfidence=function(){var b=.01;return this._mTotalSeqs>0&&(b=1*this._mSeqCounters[m]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,b*=this._mFreqChar/this._mTotalChar,b>=1&&(b=.99)),b},o=o!==void 0?o:!1,s=s!==void 0?s:null,v(i,o,s)}return n.prototype=new e,m4=n,m4}var p4={},g7;function Hx(){return g7||(g7=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,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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"}}(p4)),p4}var g4,w7;function Ux(){if(w7)return g4;w7=1;var e=N2(),t=Ae();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="ð",c="ó",d="ô",f="õ",h=5,m=.01,p="ISO-8859-8",v="windows-1255",b=this;function _(){b._mLogicalProber=null,b._mVisualProber=null,b.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(C,A){this._mLogicalProber=C,this._mVisualProber=A},this.isFinal=function(C){return[n,o,a,c,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 A=0,N;A<C.length;A++)N=C[A],N==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&N!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=N;return t.detecting},this.getCharsetName=function(){var C=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(C>=h)return v;if(C<=-h)return p;var A=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return A>m?v:A<-m||C<0?p:v},this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},_()}return r.prototype=new e,g4=r,g4}var w4={},y7;function jx(){return y7||(y7=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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,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"}}(w4)),w4}var y4={},v7;function Wx(){return v7||(v7=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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0,0,0,0,0,0,0,0,0,0,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"}}(y4)),y4}var v4={},b7;function qx(){return b7||(b7=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,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0,0,0,0,0,0,0,0,0,0,0,0,0,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"}}(v4)),v4}var b4={},_7;function Gx(){return _7||(_7=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.Hungarian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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"}}(b4)),b4}var _4={},C7;function zx(){return C7||(C7=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,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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"}}(_4)),_4}var C4,x7;function Yx(){if(x7)return C4;x7=1;var e=Vx(),t=G9(),r=Hx().Win1255HebrewModel,n=Ux(),i=jx(),o=Wx(),s=qx().TIS620ThaiModel,a=Gx(),l=zx();function c(){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 h=new n,m=new e(r,!1,h),p=new e(r,!0,h);h.setModelProbers(m,p),d._mProbers.push(h,m,p),d._supportedCharsetNames=[];for(const v of d._mProbers)d._supportedCharsetNames.push(v.getCharsetName());d.reset()}this.getSupportedCharsetNames=function(){return d._supportedCharsetNames},f()}return c.prototype=new t,C4=c,C4}var x4,S7;function Zx(){if(S7)return x4;S7=1;var e=N2(),t=Ae(),r=0,n=1,i=2,o=3,s=4,a=5,l=6,c=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,c,n,n,n,n,n,n,a,n,a,r,a,r,r,n,n,n,n,n,n,n,n,n,c,n,c,r,c,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,c,c,l,l,l,l,l,l,l,l,c,c,l,l,l,l,l,n,l,l,l,l,l,c,c,c],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 h(){e.apply(this);var m=4,p=8,v=this;function b(){v.reset()}this.reset=function(){this._mLastCharClass=n,this._mFreqCounter=[];for(var _=0;_<m;this._mFreqCounter[_++]=0);h.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 A=_.charCodeAt(C),N=d[A],R=f[this._mLastCharClass*p+N];if(R==0){this._mState=t.notMe;break}this._mFreqCounter[R]++,this._mLastCharClass=N}return this.getState()},this.getConfidence=function(){var _;if(this.getState()==t.notMe)return .01;for(var C=0,A=0;A<this._mFreqCounter.length;A++)C+=this._mFreqCounter[A];return C<.01?_=0:_=this._mFreqCounter[3]/C-this._mFreqCounter[1]*20/C,_<0&&(_=0),_=_*.95,_},b()}return h.prototype=new e,x4=h,x4}var P2={},E7;function Kx(){if(E7)return P2;E7=1;var e=Ae(),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];P2.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];P2.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],c=[0,0,0,0,0,0,0,0,0,0];P2.ISO2022JPSMModel={classTable:a,classFactor:10,stateTable:l,charLenTable:c,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],h=[0,0,0,0,0,0];return P2.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:f,charLenTable:h,name:"ISO-2022-KR"},P2}var S4,A7;function Jx(){if(A7)return S4;A7=1;var e=N2(),t=zt(),r=Kx(),n=Ae();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,c;l<a.length;l++){c=a[l];for(var d=0,f;f=this._mCodingSM[d];d++)if(!(!f||!f.active)){var h=f.nextState(c);if(h==n.error){if(f.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=n.notMe,this.getState()}else if(h==n.itsMe)return this._mState=n.foundIt,this._mDetectedCharset=f.getCodingStateMachine(),this.getState()}}return this.getState()},s()}return i.prototype=new e,S4=i,S4}var E4,T7;function Xx(){if(T7)return E4;T7=1;var e=Ae(),t=Bx(),r=Yx(),n=Zx(),i=Jx(),o=M2();const s=function(){const c=["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=c.slice(0);for(const h of d)[].push.apply(f,h.getSupportedCharsetNames());return f}(),a=function(){const c=[];for(const d of s)c.push(d.toLocaleLowerCase(),d.toLocaleLowerCase().replace(/-/g,""));return c}();function l(c){if(c||(c={}),typeof c.minimumThreshold!="number"&&(c.detectEncodings?c.minimumThreshold=0:c.minimumThreshold=.2),c.detectEncodings){for(const p of c.detectEncodings)if(!a.includes(p.toLowerCase()))throw new Error(`Encoding ${p} is not supported. Supported encodings: ${s}.`)}var d={pureAscii:0,escAscii:1,highbyte:2},f=this;function h(){f._highBitDetector=/[\x80-\xFF]/,f._escDetector=/(\x1B|~\{)/,f._mEscCharsetProber=null,f._mCharsetProbers=[],f.reset()}function m(p){if(!c.detectEncodings)return!0;var v=c.detectEncodings.map(b=>b.toLowerCase());return v.includes(p.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 p=0,v;v=this._mCharsetProbers[p];p++)v.reset()},this.feed=function(p){if(!this.done){var v=p.length;if(v){if(this._mGotData||(this._mBOM+=p,this._mBOM.slice(0,3)==""&&m("UTF-8")?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"&&m("UTF-32LE")?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"&&m("UTF-32BE")?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"&&m("X-ISO-10646-UCS-4-3412")?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"&&m("X-ISO-10646-UCS-4-2143")?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"&&m("UTF-16LE")?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&m("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(p)?this._mInputState=d.highbyte:this._escDetector.test(this._mLastChar.join("")+p)&&(this._mInputState=d.escAscii)),this._mLastChar=p.slice(-1).split(""),this._mInputState==d.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new i),this._mEscCharsetProber.feed(p)==e.foundIt&&m(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 b=0,_;_=this._mCharsetProbers[b];b++)if(_.feed(p)==e.foundIt&&m(_.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
59
|
`);return}if(this.done=!0,this._mInputState==d.pureAscii&&m("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 p=0,v;v=this._mCharsetProbers[p];p++){if(!v)continue;const A=v.getCharsetName(),N=v.getConfidence();v.getCharsetName()==="windows-1252"&&(_=N),!(!A||!m(A))&&(this.results.push({encoding:v.getCharsetName(),confidence:N}),v.getCharsetName()==="windows-1250"&&(C=!0),o.log(v.getCharsetName()+" confidence "+N))}if(_&&!C&&m("windows-1250")&&this.results.push({encoding:"windows-1250",confidence:_-Math.pow(5/10,String(_).length-1)}),this.results.sort(function(A,N){return N.confidence-A.confidence}),this.results.length>0){var b=this.results[0];if(b.confidence>=c.minimumThreshold)return this.result=b,b}}if(o.enabled){o.log(`no probers hit minimum threshhold
|
|
60
60
|
`);for(var p=0,v;v=this._mCharsetProbers[p];p++)!v||!m(v.getCharsetName())||o.log(v.getCharsetName()+" confidence = "+v.getConfidence()+`
|
|
61
|
-
`)}}},h()}return
|
|
61
|
+
`)}}},h()}return E4=l,E4}var N7;function Qx(){if(N7)return $2;N7=1;var e=Xx(),t=M2().setLogger;$2.detect=function(n,i){var o=r(n,i);return o.result},$2.detectAll=function(n,i){var o=r(n,i);return o.results},$2.UniversalDetector=e,$2.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 $2}var A4,M7;function eS(){return M7||(M7=1,A4=Qx()),A4}var tS=eS(),Xr={exports:{}};/* @license
|
|
62
62
|
Papa Parse
|
|
63
63
|
v5.5.1
|
|
64
64
|
https://github.com/mholt/PapaParse
|
|
65
65
|
License: MIT
|
|
66
|
-
*/var
|
|
66
|
+
*/var rS=Xr.exports,k7;function nS(){return k7||(k7=1,function(e,t){((r,n)=>{e.exports=n()})(rS,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,c={};function d(E){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(S){var k=R(S);k.chunkSize=parseInt(k.chunkSize),S.step||S.chunk||(k.chunkSize=null),this._handle=new v(k),(this._handle.streamer=this)._config=k}).call(this,E),this.parseChunk=function(S,k){var M=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<M){let L=this._config.newline;L||(O=this._config.quoteChar||'"',L=this._handle.guessLineEndings(S,O)),S=[...S.split(L).slice(M)].join(L)}this.isFirstChunk&&P(this._config.beforeFirstChunk)&&(O=this._config.beforeFirstChunk(S))!==void 0&&(S=O),this.isFirstChunk=!1,this._halted=!1;var M=this._partialLine+S,O=(this._partialLine="",this._handle.parse(M,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(S=O.meta.cursor,M=(this._finished||(this._partialLine=M.substring(S-this._baseIndex),this._baseIndex=S),O&&O.data&&(this._rowCount+=O.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),s)n.postMessage({results:O,workerId:c.WORKER_ID,finished:M});else if(P(this._config.chunk)&&!k){if(this._config.chunk(O,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=O=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(O.data),this._completeResults.errors=this._completeResults.errors.concat(O.errors),this._completeResults.meta=O.meta),this._completed||!M||!P(this._config.complete)||O&&O.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),M||O&&O.meta.paused||this._nextChunk(),O}this._halted=!0},this._sendError=function(S){P(this._config.error)?this._config.error(S):s&&this._config.error&&n.postMessage({workerId:c.WORKER_ID,error:S,finished:!1})}}function f(E){var S;(E=E||{}).chunkSize||(E.chunkSize=c.RemoteChunkSize),d.call(this,E),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(k){this._input=k,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(S=new XMLHttpRequest,this._config.withCredentials&&(S.withCredentials=this._config.withCredentials),o||(S.onload=D(this._chunkLoaded,this),S.onerror=D(this._chunkError,this)),S.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var k,M=this._config.downloadRequestHeaders;for(k in M)S.setRequestHeader(k,M[k])}var O;this._config.chunkSize&&(O=this._start+this._config.chunkSize-1,S.setRequestHeader("Range","bytes="+this._start+"-"+O));try{S.send(this._config.downloadRequestBody)}catch(L){this._chunkError(L.message)}o&&S.status===0&&this._chunkError()}},this._chunkLoaded=function(){S.readyState===4&&(S.status<200||400<=S.status?this._chunkError():(this._start+=this._config.chunkSize||S.responseText.length,this._finished=!this._config.chunkSize||this._start>=(k=>(k=k.getResponseHeader("Content-Range"))!==null?parseInt(k.substring(k.lastIndexOf("/")+1)):-1)(S),this.parseChunk(S.responseText)))},this._chunkError=function(k){k=S.statusText||k,this._sendError(new Error(k))}}function h(E){(E=E||{}).chunkSize||(E.chunkSize=c.LocalChunkSize),d.call(this,E);var S,k,M=typeof FileReader<"u";this.stream=function(O){this._input=O,k=O.slice||O.webkitSlice||O.mozSlice,M?((S=new FileReader).onload=D(this._chunkLoaded,this),S.onerror=D(this._chunkError,this)):S=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var O=this._input,L=(this._config.chunkSize&&(L=Math.min(this._start+this._config.chunkSize,this._input.size),O=k.call(O,this._start,L)),S.readAsText(O,this._config.encoding));M||this._chunkLoaded({target:{result:L}})},this._chunkLoaded=function(O){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(O.target.result)},this._chunkError=function(){this._sendError(S.error)}}function m(E){var S;d.call(this,E=E||{}),this.stream=function(k){return S=k,this._nextChunk()},this._nextChunk=function(){var k,M;if(!this._finished)return k=this._config.chunkSize,S=k?(M=S.substring(0,k),S.substring(k)):(M=S,""),this._finished=!S,this.parseChunk(M)}}function p(E){d.call(this,E=E||{});var S=[],k=!0,M=!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(O){this._input=O,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){M&&S.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),S.length?this.parseChunk(S.shift()):k=!0},this._streamData=D(function(O){try{S.push(typeof O=="string"?O:O.toString(this._config.encoding)),k&&(k=!1,this._checkIsFinished(),this.parseChunk(S.shift()))}catch(L){this._streamError(L)}},this),this._streamError=D(function(O){this._streamCleanUp(),this._sendError(O)},this),this._streamEnd=D(function(){this._streamCleanUp(),M=!0,this._streamData("")},this),this._streamCleanUp=D(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function v(E){var S,k,M,O,L=Math.pow(2,53),j=-L,e0=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,Z=/^((\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)))$/,z=this,B=0,K=0,W=!1,t0=!1,Y=[],F={data:[],errors:[],meta:{}};function u0(J){return E.skipEmptyLines==="greedy"?J.join("").trim()==="":J.length===1&&J[0].length===0}function h0(){if(F&&M&&(I0("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+c.DefaultDelimiter+"'"),M=!1),E.skipEmptyLines&&(F.data=F.data.filter(function(n0){return!u0(n0)})),T0()){let n0=function(w0,c0){P(E.transformHeader)&&(w0=E.transformHeader(w0,c0)),Y.push(w0)};var y0=n0;if(F)if(Array.isArray(F.data[0])){for(var J=0;T0()&&J<F.data.length;J++)F.data[J].forEach(n0);F.data.splice(0,1)}else F.data.forEach(n0)}function H(n0,w0){for(var c0=E.header?{}:[],x0=0;x0<n0.length;x0++){var U0=x0,b0=n0[x0],b0=((Ie,z0)=>(le=>(E.dynamicTypingFunction&&E.dynamicTyping[le]===void 0&&(E.dynamicTyping[le]=E.dynamicTypingFunction(le)),(E.dynamicTyping[le]||E.dynamicTyping)===!0))(Ie)?z0==="true"||z0==="TRUE"||z0!=="false"&&z0!=="FALSE"&&((le=>{if(e0.test(le)&&(le=parseFloat(le),j<le&&le<L))return 1})(z0)?parseFloat(z0):Z.test(z0)?new Date(z0):z0===""?null:z0):z0)(U0=E.header?x0>=Y.length?"__parsed_extra":Y[x0]:U0,b0=E.transform?E.transform(b0,U0):b0);U0==="__parsed_extra"?(c0[U0]=c0[U0]||[],c0[U0].push(b0)):c0[U0]=b0}return E.header&&(x0>Y.length?I0("FieldMismatch","TooManyFields","Too many fields: expected "+Y.length+" fields but parsed "+x0,K+w0):x0<Y.length&&I0("FieldMismatch","TooFewFields","Too few fields: expected "+Y.length+" fields but parsed "+x0,K+w0)),c0}var l0;F&&(E.header||E.dynamicTyping||E.transform)&&(l0=1,!F.data.length||Array.isArray(F.data[0])?(F.data=F.data.map(H),l0=F.data.length):F.data=H(F.data,0),E.header&&F.meta&&(F.meta.fields=Y),K+=l0)}function T0(){return E.header&&Y.length===0}function I0(J,H,l0,y0){J={type:J,code:H,message:l0},y0!==void 0&&(J.row=y0),F.errors.push(J)}P(E.step)&&(O=E.step,E.step=function(J){F=J,T0()?h0():(h0(),F.data.length!==0&&(B+=J.data.length,E.preview&&B>E.preview?k.abort():(F.data=F.data[0],O(F,z))))}),this.parse=function(J,H,l0){var y0=E.quoteChar||'"',y0=(E.newline||(E.newline=this.guessLineEndings(J,y0)),M=!1,E.delimiter?P(E.delimiter)&&(E.delimiter=E.delimiter(J),F.meta.delimiter=E.delimiter):((y0=((n0,w0,c0,x0,U0)=>{var b0,Ie,z0,le;U0=U0||[","," ","|",";",c.RECORD_SEP,c.UNIT_SEP];for(var Qe=0;Qe<U0.length;Qe++){for(var R0,O0=U0[Qe],ue=0,S0=0,L0=0,A0=(z0=void 0,new _({comments:x0,delimiter:O0,newline:w0,preview:10}).parse(n0)),ze=0;ze<A0.data.length;ze++)c0&&u0(A0.data[ze])?L0++:(R0=A0.data[ze].length,S0+=R0,z0===void 0?z0=R0:0<R0&&(ue+=Math.abs(R0-z0),z0=R0));0<A0.data.length&&(S0/=A0.data.length-L0),(Ie===void 0||ue<=Ie)&&(le===void 0||le<S0)&&1.99<S0&&(Ie=ue,b0=O0,le=S0)}return{successful:!!(E.delimiter=b0),bestDelimiter:b0}})(J,E.newline,E.skipEmptyLines,E.comments,E.delimitersToGuess)).successful?E.delimiter=y0.bestDelimiter:(M=!0,E.delimiter=c.DefaultDelimiter),F.meta.delimiter=E.delimiter),R(E));return E.preview&&E.header&&y0.preview++,S=J,k=new _(y0),F=k.parse(S,H,l0),h0(),W?{meta:{paused:!0}}:F||{meta:{paused:!1}}},this.paused=function(){return W},this.pause=function(){W=!0,k.abort(),S=P(E.chunk)?"":S.substring(k.getCharIndex())},this.resume=function(){z.streamer._halted?(W=!1,z.streamer.parseChunk(S,!0)):setTimeout(z.resume,3)},this.aborted=function(){return t0},this.abort=function(){t0=!0,k.abort(),F.meta.aborted=!0,P(E.complete)&&E.complete(F),S=""},this.guessLineEndings=function(n0,y0){n0=n0.substring(0,1048576);var y0=new RegExp(b(y0)+"([^]*?)"+b(y0),"gm"),l0=(n0=n0.replace(y0,"")).split("\r"),y0=n0.split(`
|
|
67
67
|
`),n0=1<y0.length&&y0[0].length<l0[0].length;if(l0.length===1||n0)return`
|
|
68
68
|
`;for(var w0=0,c0=0;c0<l0.length;c0++)l0[c0][0]===`
|
|
69
69
|
`&&w0++;return w0>=l0.length/2?`\r
|
|
70
70
|
`:"\r"}}function b(E){return E.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(E){var S=(E=E||{}).delimiter,k=E.newline,M=E.comments,O=E.step,L=E.preview,j=E.fastMode,e0=null,Z=E.quoteChar==null?'"':E.quoteChar,z=Z;if(E.escapeChar!==void 0&&(z=E.escapeChar),(typeof S!="string"||-1<c.BAD_DELIMITERS.indexOf(S))&&(S=","),M===S)throw new Error("Comment character same as delimiter");M===!0?M="#":(typeof M!="string"||-1<c.BAD_DELIMITERS.indexOf(M))&&(M=!1),k!==`
|
|
71
71
|
`&&k!=="\r"&&k!==`\r
|
|
72
72
|
`&&(k=`
|
|
73
|
-
`);var B=0,K=!1;this.parse=function(W,t0,Y){if(typeof W!="string")throw new Error("Input must be a string");var
|
|
74
|
-
`,j='"',e0=j+j,Z=!1,z=null,B=!1,K=((()=>{if(typeof S=="object"){if(typeof S.delimiter!="string"||c.BAD_DELIMITERS.filter(function(Y){return S.delimiter.indexOf(Y)!==-1}).length||(O=S.delimiter),typeof S.quotes!="boolean"&&typeof S.quotes!="function"&&!Array.isArray(S.quotes)||(k=S.quotes),typeof S.skipEmptyLines!="boolean"&&typeof S.skipEmptyLines!="string"||(Z=S.skipEmptyLines),typeof S.newline=="string"&&(L=S.newline),typeof S.quoteChar=="string"&&(j=S.quoteChar),typeof S.header=="boolean"&&(M=S.header),Array.isArray(S.columns)){if(S.columns.length===0)throw new Error("Option columns is empty");z=S.columns}S.escapeChar!==void 0&&(e0=S.escapeChar+j),S.escapeFormulae instanceof RegExp?B=S.escapeFormulae:typeof S.escapeFormulae=="boolean"&&S.escapeFormulae&&(B=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(j),"g"));if(typeof E=="string"&&(E=JSON.parse(E)),Array.isArray(E)){if(!E.length||Array.isArray(E[0]))return W(null,E,Z);if(typeof E[0]=="object")return W(z||Object.keys(E[0]),E,Z)}else if(typeof E=="object")return typeof E.data=="string"&&(E.data=JSON.parse(E.data)),Array.isArray(E.data)&&(E.fields||(E.fields=E.meta&&E.meta.fields||z),E.fields||(E.fields=Array.isArray(E.data[0])?E.fields:typeof E.data[0]=="object"?Object.keys(E.data[0]):[]),Array.isArray(E.data[0])||typeof E.data[0]=="object"||(E.data=[E.data])),W(E.fields||[],E.data||[],Z);throw new Error("Unable to serialize unrecognized input");function W(Y
|
|
75
|
-
`,'"',c.BYTE_ORDER_MARK],c.WORKERS_SUPPORTED=!o&&!!n.Worker,c.NODE_STREAM_INPUT=1,c.LocalChunkSize=10485760,c.RemoteChunkSize=5242880,c.DefaultDelimiter=",",c.Parser=_,c.ParserHandle=v,c.NetworkStreamer=f,c.FileStreamer=h,c.StringStreamer=m,c.ReadableStreamStreamer=p,n.jQuery&&((i=n.jQuery).fn.parse=function(E){var S=E.config||{},k=[];return this.each(function(L){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 j=0;j<this.files.length;j++)k.push({file:this.files[j],inputElem:this,instanceConfig:i.extend({},S)})}),M(),this;function M(){if(k.length===0)P(E.complete)&&E.complete();else{var L,j,e0,Z,z=k[0];if(P(E.before)){var B=E.before(z.file,z.inputElem);if(typeof B=="object"){if(B.action==="abort")return L="AbortError",j=z.file,e0=z.inputElem,Z=B.reason,void(P(E.error)&&E.error({name:L},j,e0,Z));if(B.action==="skip")return void O();typeof B.config=="object"&&(z.instanceConfig=i.extend(z.instanceConfig,B.config))}else if(B==="skip")return void O()}var K=z.instanceConfig.complete;z.instanceConfig.complete=function(W){P(K)&&K(W,z.file,z.inputElem),O()},c.parse(z.file,z.instanceConfig)}}function O(){k.splice(0,1),M()}}),s&&(n.onmessage=function(E){E=E.data,c.WORKER_ID===void 0&&E&&(c.WORKER_ID=E.workerId),typeof E.input=="string"?n.postMessage({workerId:c.WORKER_ID,results:c.parse(E.input,E.config),finished:!0}):(n.File&&E.input instanceof File||E.input instanceof Object)&&(E=c.parse(E.input,E.config))&&n.postMessage({workerId:c.WORKER_ID,results:E,finished:!0})}),(f.prototype=Object.create(d.prototype)).constructor=f,(h.prototype=Object.create(d.prototype)).constructor=h,(m.prototype=Object.create(m.prototype)).constructor=m,(p.prototype=Object.create(d.prototype)).constructor=p,c})}(
|
|
73
|
+
`);var B=0,K=!1;this.parse=function(W,t0,Y){if(typeof W!="string")throw new Error("Input must be a string");var F=W.length,u0=S.length,h0=k.length,T0=M.length,I0=P(O),J=[],H=[],l0=[],y0=B=0;if(!W)return O0();if(j||j!==!1&&W.indexOf(Z)===-1){for(var n0=W.split(k),w0=0;w0<n0.length;w0++){if(l0=n0[w0],B+=l0.length,w0!==n0.length-1)B+=k.length;else if(Y)return O0();if(!M||l0.substring(0,T0)!==M){if(I0){if(J=[],z0(l0.split(S)),ue(),K)return O0()}else z0(l0.split(S));if(L&&L<=w0)return J=J.slice(0,L),O0(!0)}}return O0()}for(var c0=W.indexOf(S,B),x0=W.indexOf(k,B),U0=new RegExp(b(z)+b(Z),"g"),b0=W.indexOf(Z,B);;)if(W[B]===Z)for(b0=B,B++;;){if((b0=W.indexOf(Z,b0+1))===-1)return Y||H.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:J.length,index:B}),Qe();if(b0===F-1)return Qe(W.substring(B,b0).replace(U0,Z));if(Z===z&&W[b0+1]===z)b0++;else if(Z===z||b0===0||W[b0-1]!==z){c0!==-1&&c0<b0+1&&(c0=W.indexOf(S,b0+1));var Ie=le((x0=x0!==-1&&x0<b0+1?W.indexOf(k,b0+1):x0)===-1?c0:Math.min(c0,x0));if(W.substr(b0+1+Ie,u0)===S){l0.push(W.substring(B,b0).replace(U0,Z)),W[B=b0+1+Ie+u0]!==Z&&(b0=W.indexOf(Z,B)),c0=W.indexOf(S,B),x0=W.indexOf(k,B);break}if(Ie=le(x0),W.substring(b0+1+Ie,b0+1+Ie+h0)===k){if(l0.push(W.substring(B,b0).replace(U0,Z)),R0(b0+1+Ie+h0),c0=W.indexOf(S,B),b0=W.indexOf(Z,B),I0&&(ue(),K))return O0();if(L&&J.length>=L)return O0(!0);break}H.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:J.length,index:B}),b0++}}else if(M&&l0.length===0&&W.substring(B,B+T0)===M){if(x0===-1)return O0();B=x0+h0,x0=W.indexOf(k,B),c0=W.indexOf(S,B)}else if(c0!==-1&&(c0<x0||x0===-1))l0.push(W.substring(B,c0)),B=c0+u0,c0=W.indexOf(S,B);else{if(x0===-1)break;if(l0.push(W.substring(B,x0)),R0(x0+h0),I0&&(ue(),K))return O0();if(L&&J.length>=L)return O0(!0)}return Qe();function z0(S0){J.push(S0),y0=B}function le(S0){var L0=0;return L0=S0!==-1&&(S0=W.substring(b0+1,S0))&&S0.trim()===""?S0.length:L0}function Qe(S0){return Y||(S0===void 0&&(S0=W.substring(B)),l0.push(S0),B=F,z0(l0),I0&&ue()),O0()}function R0(S0){B=S0,z0(l0),l0=[],x0=W.indexOf(k,B)}function O0(S0){if(E.header&&!t0&&J.length){var L0=J[0],A0={},ze=new Set(L0);let pt=!1;for(let b1=0;b1<L0.length;b1++){let c1=L0[b1];if(A0[c1=P(E.transformHeader)?E.transformHeader(c1,b1):c1]){let N3,Io=A0[c1];for(;N3=c1+"_"+Io,Io++,ze.has(N3););ze.add(N3),L0[b1]=N3,A0[c1]++,pt=!0,(e0=e0===null?{}:e0)[N3]=c1}else A0[c1]=1,L0[b1]=c1;ze.add(c1)}pt&&console.warn("Duplicate headers found and renamed.")}return{data:J,errors:H,meta:{delimiter:S,linebreak:k,aborted:K,truncated:!!S0,cursor:y0+(t0||0),renamedHeaders:e0}}}function ue(){O(O0()),J=[],H=[]}},this.abort=function(){K=!0},this.getCharIndex=function(){return B}}function C(E){var S=E.data,k=a[S.workerId],M=!1;if(S.error)k.userError(S.error,S.file);else if(S.results&&S.results.data){var O={abort:function(){M=!0,A(S.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:N,resume:N};if(P(k.userStep)){for(var L=0;L<S.results.data.length&&(k.userStep({data:S.results.data[L],errors:S.results.errors,meta:S.results.meta},O),!M);L++);delete S.results}else P(k.userChunk)&&(k.userChunk(S.results,O,S.file),delete S.results)}S.finished&&!M&&A(S.workerId,S.results)}function A(E,S){var k=a[E];P(k.userComplete)&&k.userComplete(S),k.terminate(),delete a[E]}function N(){throw new Error("Not implemented.")}function R(E){if(typeof E!="object"||E===null)return E;var S,k=Array.isArray(E)?[]:{};for(S in E)k[S]=R(E[S]);return k}function D(E,S){return function(){E.apply(S,arguments)}}function P(E){return typeof E=="function"}return c.parse=function(E,S){var k=(S=S||{}).dynamicTyping||!1;if(P(k)&&(S.dynamicTypingFunction=k,k={}),S.dynamicTyping=k,S.transform=!!P(S.transform)&&S.transform,!S.worker||!c.WORKERS_SUPPORTED)return k=null,c.NODE_STREAM_INPUT,typeof E=="string"?(E=(M=>M.charCodeAt(0)!==65279?M:M.slice(1))(E),k=new(S.download?f:m)(S)):E.readable===!0&&P(E.read)&&P(E.on)?k=new p(S):(n.File&&E instanceof File||E instanceof Object)&&(k=new h(S)),k.stream(E);(k=(()=>{var M;return!!c.WORKERS_SUPPORTED&&(M=(()=>{var O=n.URL||n.webkitURL||null,L=r.toString();return c.BLOB_URL||(c.BLOB_URL=O.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; ","(",L,")();"],{type:"text/javascript"})))})(),(M=new n.Worker(M)).onmessage=C,M.id=l++,a[M.id]=M)})()).userStep=S.step,k.userChunk=S.chunk,k.userComplete=S.complete,k.userError=S.error,S.step=P(S.step),S.chunk=P(S.chunk),S.complete=P(S.complete),S.error=P(S.error),delete S.worker,k.postMessage({input:E,config:S,workerId:k.id})},c.unparse=function(E,S){var k=!1,M=!0,O=",",L=`\r
|
|
74
|
+
`,j='"',e0=j+j,Z=!1,z=null,B=!1,K=((()=>{if(typeof S=="object"){if(typeof S.delimiter!="string"||c.BAD_DELIMITERS.filter(function(Y){return S.delimiter.indexOf(Y)!==-1}).length||(O=S.delimiter),typeof S.quotes!="boolean"&&typeof S.quotes!="function"&&!Array.isArray(S.quotes)||(k=S.quotes),typeof S.skipEmptyLines!="boolean"&&typeof S.skipEmptyLines!="string"||(Z=S.skipEmptyLines),typeof S.newline=="string"&&(L=S.newline),typeof S.quoteChar=="string"&&(j=S.quoteChar),typeof S.header=="boolean"&&(M=S.header),Array.isArray(S.columns)){if(S.columns.length===0)throw new Error("Option columns is empty");z=S.columns}S.escapeChar!==void 0&&(e0=S.escapeChar+j),S.escapeFormulae instanceof RegExp?B=S.escapeFormulae:typeof S.escapeFormulae=="boolean"&&S.escapeFormulae&&(B=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(j),"g"));if(typeof E=="string"&&(E=JSON.parse(E)),Array.isArray(E)){if(!E.length||Array.isArray(E[0]))return W(null,E,Z);if(typeof E[0]=="object")return W(z||Object.keys(E[0]),E,Z)}else if(typeof E=="object")return typeof E.data=="string"&&(E.data=JSON.parse(E.data)),Array.isArray(E.data)&&(E.fields||(E.fields=E.meta&&E.meta.fields||z),E.fields||(E.fields=Array.isArray(E.data[0])?E.fields:typeof E.data[0]=="object"?Object.keys(E.data[0]):[]),Array.isArray(E.data[0])||typeof E.data[0]=="object"||(E.data=[E.data])),W(E.fields||[],E.data||[],Z);throw new Error("Unable to serialize unrecognized input");function W(Y,F,u0){var h0="",T0=(typeof Y=="string"&&(Y=JSON.parse(Y)),typeof F=="string"&&(F=JSON.parse(F)),Array.isArray(Y)&&0<Y.length),I0=!Array.isArray(F[0]);if(T0&&M){for(var J=0;J<Y.length;J++)0<J&&(h0+=O),h0+=t0(Y[J],J);0<F.length&&(h0+=L)}for(var H=0;H<F.length;H++){var l0=(T0?Y:F[H]).length,y0=!1,n0=T0?Object.keys(F[H]).length===0:F[H].length===0;if(u0&&!T0&&(y0=u0==="greedy"?F[H].join("").trim()==="":F[H].length===1&&F[H][0].length===0),u0==="greedy"&&T0){for(var w0=[],c0=0;c0<l0;c0++){var x0=I0?Y[c0]:c0;w0.push(F[H][x0])}y0=w0.join("").trim()===""}if(!y0){for(var U0=0;U0<l0;U0++){0<U0&&!n0&&(h0+=O);var b0=T0&&I0?Y[U0]:U0;h0+=t0(F[H][b0],U0)}H<F.length-1&&(!u0||0<l0&&!n0)&&(h0+=L)}}return h0}function t0(Y,F){var u0,h0;return Y==null?"":Y.constructor===Date?JSON.stringify(Y).slice(1,25):(h0=!1,B&&typeof Y=="string"&&B.test(Y)&&(Y="'"+Y,h0=!0),u0=Y.toString().replace(K,e0),(h0=h0||k===!0||typeof k=="function"&&k(Y,F)||Array.isArray(k)&&k[F]||((T0,I0)=>{for(var J=0;J<I0.length;J++)if(-1<T0.indexOf(I0[J]))return!0;return!1})(u0,c.BAD_DELIMITERS)||-1<u0.indexOf(O)||u0.charAt(0)===" "||u0.charAt(u0.length-1)===" ")?j+u0+j:u0)}},c.RECORD_SEP="",c.UNIT_SEP="",c.BYTE_ORDER_MARK="\uFEFF",c.BAD_DELIMITERS=["\r",`
|
|
75
|
+
`,'"',c.BYTE_ORDER_MARK],c.WORKERS_SUPPORTED=!o&&!!n.Worker,c.NODE_STREAM_INPUT=1,c.LocalChunkSize=10485760,c.RemoteChunkSize=5242880,c.DefaultDelimiter=",",c.Parser=_,c.ParserHandle=v,c.NetworkStreamer=f,c.FileStreamer=h,c.StringStreamer=m,c.ReadableStreamStreamer=p,n.jQuery&&((i=n.jQuery).fn.parse=function(E){var S=E.config||{},k=[];return this.each(function(L){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 j=0;j<this.files.length;j++)k.push({file:this.files[j],inputElem:this,instanceConfig:i.extend({},S)})}),M(),this;function M(){if(k.length===0)P(E.complete)&&E.complete();else{var L,j,e0,Z,z=k[0];if(P(E.before)){var B=E.before(z.file,z.inputElem);if(typeof B=="object"){if(B.action==="abort")return L="AbortError",j=z.file,e0=z.inputElem,Z=B.reason,void(P(E.error)&&E.error({name:L},j,e0,Z));if(B.action==="skip")return void O();typeof B.config=="object"&&(z.instanceConfig=i.extend(z.instanceConfig,B.config))}else if(B==="skip")return void O()}var K=z.instanceConfig.complete;z.instanceConfig.complete=function(W){P(K)&&K(W,z.file,z.inputElem),O()},c.parse(z.file,z.instanceConfig)}}function O(){k.splice(0,1),M()}}),s&&(n.onmessage=function(E){E=E.data,c.WORKER_ID===void 0&&E&&(c.WORKER_ID=E.workerId),typeof E.input=="string"?n.postMessage({workerId:c.WORKER_ID,results:c.parse(E.input,E.config),finished:!0}):(n.File&&E.input instanceof File||E.input instanceof Object)&&(E=c.parse(E.input,E.config))&&n.postMessage({workerId:c.WORKER_ID,results:E,finished:!0})}),(f.prototype=Object.create(d.prototype)).constructor=f,(h.prototype=Object.create(d.prototype)).constructor=h,(m.prototype=Object.create(m.prototype)).constructor=m,(p.prototype=Object.create(d.prototype)).constructor=p,c})}(Xr)),Xr.exports}var iS=nS();const oS=["text/csv","application/vnd.ms-excel"];function sS(e){const t={};return t.detectEncodings=["UTF-8","windows-1252"],tS.detect(dr(e.result,`\r
|
|
76
76
|
|\r|
|
|
77
|
-
`,","),t).encoding}const oS=e=>e.filter(r=>!Ot(r)).length===0;function A4(e){return Sa(e.trim(),'"')}function sS(e,t){const r=Cc(t.name,".csv")&&R1(t.type,nS,{Equals:(i,o)=>i===o,GetHashCode:s1}),n=t.size<=10485760;if(r)if(n){const i=new FileReader;i.onload=o=>{const s=iS(i),a={};a.complete=(l,c)=>{let d,f,h,m,p,v,b,_,C,A,N,R,D;const P=l.errors;let E;switch(!Nt(X,P,E0())&&P.length===1?(d=f0(0,P),d.code==="UndetectableDelimiter"?E=0:E=2):!Nt(X,P,E0())&&P.length===0?E=1:E=2,E){case 0:{f0(0,P),D=!1;break}case 1:{D=!1;break}default:D=!0}e(D?new I(1,[new N1(7,[f0(0,l.errors).message])]):(f=(h=l.data,h.filter(S=>!oS(S))),m=f.length>1?new I(0,[void 0]):new I(1,[new N1(2,[])]),m.tag===1?new I(1,[m.fields[0]]):(p=f.length<=5001?new I(0,[void 0]):new I(1,[new N1(3,[])]),p.tag===1?new I(1,[p.fields[0]]):(v=l6(f),b=v.length|0,_=v.some(Ot)?new I(1,[new N1(4,[])]):new I(0,[void 0]),_.tag===1?new I(1,[_.fields[0]]):(C=(A=cl(Q0(S=>A4(S).toLocaleLowerCase(),v),{Equals:(S,k)=>S===k,GetHashCode:s1}),A.length===b?new I(0,[void 0]):new I(1,[new N1(5,[])])),C.tag===1?new I(1,[C.fields[0]]):(N=(R=f.filter(S=>S.length!==b),R.length===0?new I(0,[void 0]):new I(1,[new N1(6,[])])),N.tag===1?new I(1,[N.fields[0]]):new I(0,[new Kw(new ll(t.name),Hn((S,k)=>[new Gw(S),new zw(A4(k))],l6(f)),new n5(Q0(S=>new Yw(Q0(A4,S)),jc(f))),t.size)])))))))},a.error=(l,c)=>{e(new I(1,[new N1(7,[l])]))},a.worker=!0,a.skipEmptyLines=!0,a.encoding=s,rS.parse(t,a)},i.onerror=o=>{e(new I(1,[new N1(7,["Error reading file"])]))},i.readAsBinaryString(t)}else e(new I(1,[new N1(1,[])]));else e(new I(1,[new N1(0,[])]))}let Xr=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Parse","CancelParsing","Remove"]}};function z9(e,t,r){let n,i;return C2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[x2(o0(new at(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=q(T(()=>{let o,s;return F(x(u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),u("button",y(g([["onClick",a=>{r()}],["type","button"],["className","text-gray-700"],(s=[Wt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))),T(()=>h3(a=>F(x(u("div",{className:"font-semibold text-sm pt-6",children:a[0]})),T(()=>x(u("div",{className:"text-sm text-gray-500 pt-2",children:a[1]})))),e)))})),["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}let vt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","ParsingFile","FileSelected"]}};function aS(e){return e==null?[new vt(0,[void 0]),m0()]:[new vt(2,[e]),m0()]}function lS(e,t,r){let n,i,o,s,a,l,c;switch(t.tag){case 1:{r.tag===1?n=5:n=6;break}case 2:{r.tag===2?n=7:n=8;break}default:if(t.fields[0].tag===1)t.fields[0].fields[0].tag===1?r.tag===1?(n=3,c=t.fields[0].fields[0].fields[0]):n=4:r.tag===1?(n=2,l=t.fields[0].fields[0].fields[0]):n=4;else switch(r.tag){case 0:{n=0,i=t.fields[0].fields[0][0],o=t.fields[0].fields[0][1];break}case 2:{n=1,s=t.fields[0].fields[0][0],a=t.fields[0].fields[0][1];break}default:n=4}}switch(n){case 0:return[new vt(1,[i]),wn(o)];case 1:return[new vt(1,[s]),Qn(g([i1(e,new $r(0,[])),wn(a)]))];case 2:return[new vt(2,[l]),i1(e,new $r(1,[l]))];case 3:return[new vt(0,[c]),i1(e,new $r(2,[]))];case 4:return[r,m0()];case 5:return[new vt(0,[void 0]),m0()];case 6:return[r,m0()];case 7:return[new vt(0,[void 0]),i1(e,new $r(0,[]))];default:return[r,m0()]}}function uS(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",y(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",w.Children.toArray(Array.from(r))])])))}function cS(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",w.Children.toArray(Array.from(r))])])))}function dS(e,t){Pt(V.Delay(()=>V.Bind(Vi(1e3),()=>(sS(r=>{t(new Xr(0,[new W8(1,[r])]))},e),V.Zero()))))}function Y9(e){let t;const r=e.onChanged,n=e.templateDownloadUrl,i=e.existingCsvFile;let o;const s=aS(i);o=ft(()=>dt(()=>s,(m,p)=>lS(r,m,p),(m,p)=>{}),void 0,void 0);const a=o[0],l=o[1],c=w.useState(!1),d=c[1],f=w.useRef(void 0),h=m=>{l(new Xr(0,[new W8(0,[[new ll(m.name),p=>{dS(m,p)}]])]))};return u("div",y(o0((t=q(T(()=>{let m,p,v,b,_,C,A,N,R,D,P,E,S,k,M;switch(a.tag){case 2:{let O;const L=a.fields[0].SizeInBytes/1024/1024;return O=L<.01?.01:L,x(u("div",y(g([["className","border border-emerald-200 border-2 rounded-md my-6 bg-emerald-50 p-6"],(m=[u("div",y(g([["className","justify-between items-center inline-flex w-full"],(p=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(v=[u("div",{className:"text-center text-gray-600 text-sm font-medium",children:a.fields[0].Name.fields[0]}),u("span",y(g([["className","text-emerald-700"],(b=[S3(20,20)],["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","justify-start items-start gap-3 flex"],(_=[u("div",{className:"text-center text-gray-500 text-sm font-medium",children:(C=Ii("{0:F2}",O),l2(it("%s MB"))(C))}),u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",j=>{l(new Xr(2,[]))}],(A=[u("div",{className:"text-center text-sm font-medium",children:"Remove"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(N=[vn(10,10)],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(_))])])))],["children",w.Children.toArray(Array.from(p))])]))),u("div",{className:"text-gray-500 text-xs font-normal",children:`${a.fields[0].DataRows.fields[0].length+1} rows`})],["children",w.Children.toArray(Array.from(m))])]))))}case 1:return x(u("div",y(g([["className","border-gray-300 border-dashed border-2 rounded-md my-6"],(R=[u("div",y(g([["className","p-6 justify-between items-center inline-flex w-full"],(D=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(P=[u("div",{className:"text-center text-gray-600 text-sm font-medium",children:a.fields[0].fields[0]}),u("span",y(g([["className","animate-spin"],(E=[uS(20,20)],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","justify-start items-start gap-2 flex"],(S=[u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",O=>{l(new Xr(1,[]))}],(k=[u("div",{className:"text-center text-sm font-medium",children:"Cancel"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(M=[vn(10,10)],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(R))])]))));default:{const O=L=>{L.preventDefault(),L.stopPropagation()};return x(u("div",y(q(T(()=>F(c[0]?x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),T(()=>{let L,j;return x((L=[u("div",y(g([["className","flex flex-col items-center p-4"],["onDragEnter",e0=>{O(e0),d(!0)}],["onDragLeave",e0=>{O(e0),d(!1)}],["onDragOver",e0=>{O(e0),d(!0)}],["onDrop",e0=>{let Z;O(e0),d(!1),h((Z=e0,Z.dataTransfer).files.item(0))}],(j=q(T(()=>{let e0,Z,z,B,K,W;return F((e0=a.fields[0],e0==null?x(E0()):(Z=e0,x(u("div",y(g([["className","p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full mb-4"],(z=[u("div",y(g([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(B=[R9(16,15)],["children",w.Children.toArray(Array.from(B))])]))),u("div",y(g([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],(K=[u("div",y(g([["className","self-stretch text-red-800 text-sm font-normal"],(W=q(T(()=>{let t0;const Y=h0=>u("span",{className:"font-medium",children:h0}),$=h0=>u("span",{children:[h0]}),u0=u("a",{className:"underline",children:"sample CSV",href:n,download:"sample_csv"});return x((t0=Z.tag===1?g([Y("File is too large (over 10 MB). "),$("Upload a "),Y("smaller file"),$(".")]):Z.tag===2?g([Y("File is empty. "),$("Ensure your file contains data before uploading.")]):Z.tag===3?g([Y("Too many rows (5000+). "),$("Upload a "),Y("file with fewer rows"),$(".")]):Z.tag===4?g([Y("Invalid CSV: Missing header field(s). "),$("Try using our "),u0,$(".")]):Z.tag===5?g([Y("Invalid CSV: Duplicate header fields. "),$("Try using our "),u0,$(".")]):Z.tag===6?g([Y("Invalid CSV: Rows have different lengths. "),$("Check for missing or extra columns.")]):Z.tag===7?g([Y("Invalid CSV format. "),$("Try using our "),u0,$(".")]):g([Y("Unsupported file type. "),$("Upload a "),Y(".csv file"),$(".")]),u("p",{children:w.Children.toArray(Array.from(t0))})))})),["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(K))])])))],["children",w.Children.toArray(Array.from(z))])])))))),T(()=>{let t0;return F(x(u("div",y(g([["className","pt-2"],(t0=[cS(20,21)],["children",w.Children.toArray(Array.from(t0))])])))),T(()=>F(x(u("input",{type:"file",onChange:Y=>{const $=Y.target.files;$!=null&&$.length>0&&h($.item(0))},className:"hidden",ref:f,accept:".csv"})),T(()=>F(x(u("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),T(()=>F(x(u("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:Y=>{B1($=>{$.click()},Dt(f.current))},type:"button",children:w.Children.toArray(["Choose file"])})),T(()=>x(u("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(L))]))})))))))}}})),["children",w.Children.toArray(Array.from(t))]))))}const T4=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),fS=g([["What file format is accepted for bulk import?","The only accepted file format for bulk import is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported for bulk import?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","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."],["How do I format the CSV file?",`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
|
|
77
|
+
`,","),t).encoding}const aS=e=>e.filter(r=>!Dt(r)).length===0;function T4(e){return Ea(e.trim(),'"')}function lS(e,t){const r=xc(t.name,".csv")&&O1(t.type,oS,{Equals:(i,o)=>i===o,GetHashCode:a1}),n=t.size<=10485760;if(r)if(n){const i=new FileReader;i.onload=o=>{const s=sS(i),a={};a.complete=(l,c)=>{let d,f,h,m,p,v,b,_,C,A,N,R,D;const P=l.errors;let E;switch(!Mt(X,P,E0())&&P.length===1?(d=f0(0,P),d.code==="UndetectableDelimiter"?E=0:E=2):!Mt(X,P,E0())&&P.length===0?E=1:E=2,E){case 0:{f0(0,P),D=!1;break}case 1:{D=!1;break}default:D=!0}e(D?new I(1,[new M1(7,[f0(0,l.errors).message])]):(f=(h=l.data,h.filter(S=>!aS(S))),m=f.length>1?new I(0,[void 0]):new I(1,[new M1(2,[])]),m.tag===1?new I(1,[m.fields[0]]):(p=f.length<=5001?new I(0,[void 0]):new I(1,[new M1(3,[])]),p.tag===1?new I(1,[p.fields[0]]):(v=u6(f),b=v.length|0,_=v.some(Dt)?new I(1,[new M1(4,[])]):new I(0,[void 0]),_.tag===1?new I(1,[_.fields[0]]):(C=(A=dl(Q0(S=>T4(S).toLocaleLowerCase(),v),{Equals:(S,k)=>S===k,GetHashCode:a1}),A.length===b?new I(0,[void 0]):new I(1,[new M1(5,[])])),C.tag===1?new I(1,[C.fields[0]]):(N=(R=f.filter(S=>S.length!==b),R.length===0?new I(0,[void 0]):new I(1,[new M1(6,[])])),N.tag===1?new I(1,[N.fields[0]]):new I(0,[new Xw(new ul(t.name),Un((S,k)=>[new Yw(S),new Zw(T4(k))],u6(f)),new i5(Q0(S=>new Kw(Q0(T4,S)),Wc(f))),t.size)])))))))},a.error=(l,c)=>{e(new I(1,[new M1(7,[l])]))},a.worker=!0,a.skipEmptyLines=!0,a.encoding=s,iS.parse(t,a)},i.onerror=o=>{e(new I(1,[new M1(7,["Error reading file"])]))},i.readAsBinaryString(t)}else e(new I(1,[new M1(1,[])]));else e(new I(1,[new M1(0,[])]))}let Qr=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Parse","CancelParsing","Remove"]}};function Y9(e,t,r){let n,i;return x2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(o0(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=q(T(()=>{let o,s;return $(x(u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),u("button",y(g([["onClick",a=>{r()}],["type","button"],["className","text-gray-700"],(s=[qt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))),T(()=>m3(a=>$(x(u("div",{className:"font-semibold text-sm pt-6",children:a[0]})),T(()=>x(u("div",{className:"text-sm text-gray-500 pt-2",children:a[1]})))),e)))})),["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}let bt=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","ParsingFile","FileSelected"]}};function uS(e){return e==null?[new bt(0,[void 0]),m0()]:[new bt(2,[e]),m0()]}function cS(e,t,r){let n,i,o,s,a,l,c;switch(t.tag){case 1:{r.tag===1?n=5:n=6;break}case 2:{r.tag===2?n=7:n=8;break}default:if(t.fields[0].tag===1)t.fields[0].fields[0].tag===1?r.tag===1?(n=3,c=t.fields[0].fields[0].fields[0]):n=4:r.tag===1?(n=2,l=t.fields[0].fields[0].fields[0]):n=4;else switch(r.tag){case 0:{n=0,i=t.fields[0].fields[0][0],o=t.fields[0].fields[0][1];break}case 2:{n=1,s=t.fields[0].fields[0][0],a=t.fields[0].fields[0][1];break}default:n=4}}switch(n){case 0:return[new bt(1,[i]),yn(o)];case 1:return[new bt(1,[s]),e5(g([o1(e,new Fr(0,[])),yn(a)]))];case 2:return[new bt(2,[l]),o1(e,new Fr(1,[l]))];case 3:return[new bt(0,[c]),o1(e,new Fr(2,[]))];case 4:return[r,m0()];case 5:return[new bt(0,[void 0]),m0()];case 6:return[r,m0()];case 7:return[new bt(0,[void 0]),o1(e,new Fr(0,[]))];default:return[r,m0()]}}function dS(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",y(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",w.Children.toArray(Array.from(r))])])))}function fS(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(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"]]))),u("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",w.Children.toArray(Array.from(r))])])))}function hS(e,t){Lt(V.Delay(()=>V.Bind(Hi(1e3),()=>(lS(r=>{t(new Qr(0,[new q8(1,[r])]))},e),V.Zero()))))}function Z9(e){let t;const r=e.onChanged,n=e.templateDownloadUrl,i=e.existingCsvFile;let o;const s=uS(i);o=ht(()=>ft(()=>s,(m,p)=>cS(r,m,p),(m,p)=>{}),void 0,void 0);const a=o[0],l=o[1],c=w.useState(!1),d=c[1],f=w.useRef(void 0),h=m=>{l(new Qr(0,[new q8(0,[[new ul(m.name),p=>{hS(m,p)}]])]))};return u("div",y(o0((t=q(T(()=>{let m,p,v,b,_,C,A,N,R,D,P,E,S,k,M;switch(a.tag){case 2:{let O;const L=a.fields[0].SizeInBytes/1024/1024;return O=L<.01?.01:L,x(u("div",y(g([["className","border border-emerald-200 border-2 rounded-md my-6 bg-emerald-50 p-6"],(m=[u("div",y(g([["className","justify-between items-center inline-flex w-full"],(p=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(v=[u("div",y(g([Ke,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].Name.fields[0]]]))),u("span",y(g([["className","text-emerald-700"],(b=[E3(20,20)],["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","justify-start items-start gap-3 flex"],(_=[u("div",{className:"text-center text-gray-500 text-sm font-medium",children:(C=Ri("{0:F2}",O),u2(ot("%s MB"))(C))}),u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",j=>{l(new Qr(2,[]))}],(A=[u("div",{className:"text-center text-sm font-medium",children:"Remove"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(N=[bn(10,10)],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(_))])])))],["children",w.Children.toArray(Array.from(p))])]))),u("div",{className:"text-gray-500 text-xs font-normal",children:`${a.fields[0].DataRows.fields[0].length+1} rows`})],["children",w.Children.toArray(Array.from(m))])]))))}case 1:return x(u("div",y(g([["className","border-gray-300 border-dashed border-2 rounded-md my-6"],(R=[u("div",y(g([["className","p-6 justify-between items-center inline-flex w-full"],(D=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(P=[u("div",y(g([Ke,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].fields[0]]]))),u("span",y(g([["className","animate-spin"],(E=[dS(20,20)],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","justify-start items-start gap-2 flex"],(S=[u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",O=>{l(new Qr(1,[]))}],(k=[u("div",{className:"text-center text-sm font-medium",children:"Cancel"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(M=[bn(10,10)],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(R))])]))));default:{const O=L=>{L.preventDefault(),L.stopPropagation()};return x(u("div",y(q(T(()=>$(c[0]?x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),T(()=>{let L,j;return x((L=[u("div",y(g([["className","flex flex-col items-center p-4"],["onDragEnter",e0=>{O(e0),d(!0)}],["onDragLeave",e0=>{O(e0),d(!1)}],["onDragOver",e0=>{O(e0),d(!0)}],["onDrop",e0=>{let Z;O(e0),d(!1),h((Z=e0,Z.dataTransfer).files.item(0))}],(j=q(T(()=>{let e0,Z,z,B,K,W;return $((e0=a.fields[0],e0==null?x(E0()):(Z=e0,x(u("div",y(g([["className","p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full mb-4"],(z=[u("div",y(g([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(B=[O9(16,15)],["children",w.Children.toArray(Array.from(B))])]))),u("div",y(g([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],(K=[u("div",y(g([["className","self-stretch text-red-800 text-sm font-normal"],(W=q(T(()=>{let t0;const Y=h0=>u("span",{className:"font-medium",children:h0}),F=h0=>u("span",{children:[h0]}),u0=u("a",{className:"underline",children:"sample CSV",href:n,download:"sample_csv"});return x((t0=Z.tag===1?g([Y("File is too large (over 10 MB). "),F("Upload a "),Y("smaller file"),F(".")]):Z.tag===2?g([Y("File is empty. "),F("Ensure your file contains data before uploading.")]):Z.tag===3?g([Y("Too many rows (5000+). "),F("Upload a "),Y("file with fewer rows"),F(".")]):Z.tag===4?g([Y("Invalid CSV: Missing header field(s). "),F("Try using our "),u0,F(".")]):Z.tag===5?g([Y("Invalid CSV: Duplicate header fields. "),F("Try using our "),u0,F(".")]):Z.tag===6?g([Y("Invalid CSV: Rows have different lengths. "),F("Check for missing or extra columns.")]):Z.tag===7?g([Y("Invalid CSV format. "),F("Try using our "),u0,F(".")]):g([Y("Unsupported file type. "),F("Upload a "),Y(".csv file"),F(".")]),u("p",{children:w.Children.toArray(Array.from(t0))})))})),["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(K))])])))],["children",w.Children.toArray(Array.from(z))])])))))),T(()=>{let t0;return $(x(u("div",y(g([["className","pt-2"],(t0=[fS(20,21)],["children",w.Children.toArray(Array.from(t0))])])))),T(()=>$(x(u("input",{type:"file",onChange:Y=>{const F=Y.target.files;F!=null&&F.length>0&&h(F.item(0))},className:"hidden",ref:f,accept:".csv"})),T(()=>$(x(u("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),T(()=>$(x(u("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:Y=>{V1(F=>{F.click()},$t(f.current))},type:"button",children:w.Children.toArray(["Choose file"])})),T(()=>x(u("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(L))]))})))))))}}})),["children",w.Children.toArray(Array.from(t))]))))}const N4=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),mS=g([["What file format is accepted for bulk import?","The only accepted file format for bulk import is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported for bulk import?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","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."],["How do I format the CSV file?",`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
|
|
78
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.`],["What should I do if my CSV file contains errors?",`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.`]]),hS=e=>z9(fS,e[0],e[1]);function mS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,h=e.cancel,m=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],R=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[j9(T4,v[0],()=>{b(!1)}),hS([_[0],()=>{C(!1)}]),A2("Upload CSV"),x3("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",T4],["download","import_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[b5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[g2("What kind of data do I need?",()=>{b(!0)}),g2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(Y9,{existingCsvFile:K1(p),templateDownloadUrl:T4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new ge(1,[{Success:!0}]));break}case 2:{N(void 0),f(!1),d(new ge(1,[{Success:!1}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="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",a]),["onClick",D=>{h()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]]))),u("button",y(g([(l="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",l]),["onClick",D=>{R==null||m(R)}],["type","button"],["disabled",R==null],(c=["Map fields",Nr(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let Ue=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}};function Z9(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}let $e=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}};function k7(e){return e.tag===1?"requested":Z9(e.fields[0])}function pS(){return[new $e(0,[new Ue(0,[void 0])]),m0()]}function gS(e,t,r,n){const i=(H,l0)=>Qn(g([i1(t,new ge(3,[{From:k7(H),To:k7(l0)}])),q8(e)]));let o,s,a,l,c,d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k,M,O,L,j,e0,Z,z,B,K,W,t0,Y,$,u0,h0,T0,I0,J;if(r.tag===1)switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(o=14,z=n.fields[0].fields[0][1],B=n.fields[0].fields[0][0],K=n.fields[0].fields[0][2],W=r.fields[0].fields[0]):o=15;break}case 2:{r.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(o=18,I0=n.fields[0].fields[0][0],J=r.fields[0].fields[0].fields[0]):o=19:r.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=17,$=r.fields[0].fields[0].fields[0],u0=n.fields[0].fields[0][0],h0=r.fields[0].fields[0].fields[1],T0=n.fields[0].fields[0][1]):o=19:n.tag===0&&n.fields[0].tag===1?(o=16,t0=r.fields[0].fields[0].fields[0],Y=n.fields[0].fields[0][0]):o=19;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?n.fields[0].fields[0][2][1]!=null?(o=12,L=n.fields[0].fields[0][1],j=n.fields[0].fields[0][0],e0=n.fields[0].fields[0][2][0],Z=n.fields[0].fields[0][2][1]):(o=11,k=n.fields[0].fields[0][1],M=n.fields[0].fields[0][0],O=n.fields[0].fields[0][2][0]):(o=10,E=n.fields[0].fields[0][1],S=n.fields[0].fields[0][0]):o=13}else switch(r.fields[0].tag){case 1:{r.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=4,h=r.fields[0].fields[0],m=n.fields[0].fields[0][0],p=r.fields[0].fields[1],v=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,b=n.fields[0].fields[0][1],_=n.fields[0].fields[0][0],C=n.fields[0].fields[0][2],A=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],N=n.fields[0].fields[0][1],R=n.fields[0].fields[0][2],D=r.fields[0].fields[1],P=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],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=2}switch(o){case 0:{const H=new $e(0,[new Ue(1,[[s,new M1(0,[void 0])]])]);return[H,i(n,H)]}case 1:{const H=X(a,l)?new $e(0,[new Ue(1,[[l,c]])]):new $e(0,[new Ue(1,[[a,new M1(0,[void 0])]])]);return[H,i(n,H)]}case 2:return[n,m0()];case 3:{const H=new $e(0,[new Ue(3,[[f,d,void 0]])]);return[H,i(n,H)]}case 4:{const H=i5(m.DataRows,p.fields[0])?new $e(0,[new Ue(2,[[m,h,p,v.tag===1&&v.fields[0].tag===1&&X(p,v.fields[0].fields[1])?v.fields[0].fields[2]:void 0]])]):new $e(0,[new Ue(3,[[m,h,[p,void 0]]])]);return[H,i(n,H)]}case 5:return[n,m0()];case 6:{const H=new $e(0,[new Ue(3,[[_,b,[C,A]]])]);return[H,i(n,H)]}case 7:return[n,m0()];case 8:{const H=new $e(1,[[P,N,R,D]]);return[H,i(n,H)]}case 9:return[n,m0()];case 10:{const H=new $e(0,[new Ue(1,[[S,new M1(1,[new Yt(0,[E])])]])]);return[H,i(n,H)]}case 11:{const H=new $e(0,[new Ue(1,[[M,new M1(1,[new Yt(1,[k,O,void 0])])]])]);return[H,i(n,H)]}case 12:{const H=new $e(0,[new Ue(2,[[j,L,e0,Z]])]);return[H,i(n,H)]}case 13:return[n,m0()];case 14:{const H=new $e(0,[new Ue(1,[[B,new M1(1,[new Yt(1,[z,K,W])])]])]);return[H,i(n,H)]}case 15:return[n,m0()];case 16:{const H=new $e(0,[new Ue(0,[[Y,new M1(1,[new Yt(0,[t0])])]])]);return[H,i(n,H)]}case 17:{const H=new $e(0,[new Ue(0,[[u0,T0.tag===1?T0.fields[0].tag===1?X($,T0.fields[0].fields[0])&&X(h0,T0.fields[0].fields[1])?T0:new M1(1,[new Yt(1,[$,h0,void 0])]):new M1(1,[new Yt(1,[$,h0,void 0])]):new M1(1,[new Yt(1,[$,h0,void 0])])]])]);return[H,i(n,H)]}case 18:{const H=new $e(0,[new Ue(0,[[I0,new M1(0,[J])]])]);return[H,i(n,H)]}default:return[n,m0()]}}function Mo(e,t,r,n,i,o,s){let a,l,c,d,f,h,m,p,v,b;return C2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(a=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(l=[x2(g([new at(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 at(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(c=[u("button",y(g([["type","button"],["onClick",_=>{t()}],["className","text-gray-600"],(d=[Wt(24,24)],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(f=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(h=[ox([])],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(m=[I9(g([new Mn(2,["text-gray-900 text-lg font-bold"]),new Mn(3,[[n]])])),u("div",{className:"mt-2 text-sm text-gray-500 leading-tight",children:w.Children.toArray(Array.from(s))})],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[u("button",y(g([["type","button"],["onClick",_=>{r()}],(v="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",v]),["children",o]]))),u("button",y(g([["type","button"],["onClick",_=>{t()}],(b="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",b]),["children",i]])))],["children",w.Children.toArray(Array.from(p))])])))]])]))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])])))]])]))}function K9(e){let t,r,n,i,o,s,a;const l=e.onError,c=e.onStarted,d=e.startAsync;return i3((t=[d,f=>{let h,m,p,v;switch(f.tag){case 1:case 0:{h=3;break}case 3:{h=2,v=f.fields[0];break}default:f.fields[0].tag===1?(h=1,p=f.fields[0].fields[0]):(h=0,m=f.fields[0].fields[0])}switch(h){case 0:{c(m);break}case 1:{l(p);break}case 2:{l(ne(v));break}}}],j8(t[0],t[1]))),u("div",y(g([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(r=[u("div",y(g([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(n=[u("div",y(g([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(i=[u("div",y(g([["className","relative"],(o=[ax([])],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","flex-col justify-start items-center gap-6 flex"],(s=[u("div",y(g([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(a=[u("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",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))}class k1 extends G{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 wS(e){return u(A9,ct(e,1))}class q1 extends i0{constructor(t,r,n){super(),this.Type=t,this.Title=r,this.Message=n}}class G1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Success","Failure","InProgress"]}}function yS(e,t){let r,n,i,o,s,a,l,c;return wS(g([new k1(1,["div"]),new k1(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 k1(3,[!0]),new k1(5,["transform ease-out duration-300 transition"]),new k1(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new k1(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new k1(8,["transition ease-in duration-100"]),new k1(9,["opacity-100"]),new k1(10,["opacity-0"]),new k1(11,[[u("div",y(g([["key","1"],(r=[u("div",y(g([["className","p-4"],(n=[u("div",y(g([["className","flex items-start"],(i=[u("div",y(g([["className","flex-shrink-0"],(o=q(T(()=>{const d=t.Type;return d.tag===1?x(ux([])):d.tag===2?x(cx([])):x(lx([]))})),["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[u("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),u("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","ml-4 flex flex-shrink-0"],(a=[u("button",y(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()}],(c=[vn(10,10)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function J9(e){const t=document.getElementById("workspace-toasts-container"),r=qi(),n=yS(()=>{document.getElementById(r).remove()},e),i=document.createElement("div");Ei(n,i);const o=i.children[0];o.id=r,t.appendChild(o)}const vS=3e4;function bS(e,t,r,n,i){const o=n.fields[0],s=()=>V.Delay(()=>V.Bind(Vi(vS),()=>V.Bind(t(r),a=>{let l,c,d,f;const h=a;return h.tag!==1&&(h.fields[0].tag!==1||(h.fields[0].fields[0].tag===1?(e(new q1(new G1(1,[]),"We found a duplicate user",`"${f0(i.fields[0],f0(h.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):h.fields[0].fields[0].tag===2?(l=h.fields[0].fields[0].fields[0].DuplicateEmailCount>0,c=h.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?c?new q1(new G1(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 q1(new G1(1,[]),`We found ${h.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 q1(new G1(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 q1(new G1(0,[]),h.fields[0].fields[0].fields[0]===1?"Successfully added 1 user":`Successfully added ${h.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?V.Bind(s(),()=>V.Return(void 0)):V.Zero()})));e(new q1(new G1(2,[]),o.length===1?"Importing 1 user":`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),Pt(s())}let De=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}},jr=class extends i0{constructor(t,r,n,i){super(),this.UploadingCsv=t,this.MappingColumns=r,this.MappingEmploymentBasis=n,this.Reviewing=i}};function I7(){r5(g(["workspace","app","users"]))}function X9(e){r5(g(["workspace","app","oops"]))}function _S(e){switch(e.tag){case 1:return new jr(new De(0,[]),new De(1,[]),new De(2,[]),new De(2,[]));case 2:return new jr(new De(0,[]),new De(0,[]),new De(1,[]),new De(2,[]));case 3:return new jr(new De(0,[]),new De(0,[]),new De(0,[]),new De(1,[]));default:return new jr(new De(1,[]),new De(2,[]),new De(2,[]),new De(2,[]))}}function CS(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?[ds(s[1].fields[0].fields[0],s[1].fields[0].fields[1]),s[0].HeaderRow,s[0].DataRows]:[ds(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 u(kC,{existingMappings:K1(a[0]),headerRow:a[1],dataRows:a[2],next:l=>{let c;r(new Zt(0,[(c=l,new Br(1,[c[0],c[1]]))]))},back:l=>{r(new Zt(1,[new q5(2,[l])]))},sendAnalytics:i})}case 2:{const s=cy(o.fields[0][0].DataRows,o.fields[0][2]);return u(BC,{existingMappings:K1(o.fields[0][3]),employmentBasisColumn:s,next:a=>{r(new Zt(0,[new Br(2,[a])]))},back:a=>{r(new Zt(1,[new q5(1,[a])]))}})}case 3:return u(wx,{apiCallAsync:e,dataRows:o.fields[0][0].DataRows,baseColumnMappings:o.fields[0][1],employmentBasis:K1(o.fields[0][2]),next:s=>{let a;r(new Zt(0,[(a=s,new Br(3,[a[0],a[1]]))]))},back:()=>{r(new Zt(1,[new q5(0,[])]))},onError:s=>{X9()},sendAnalytics:i});default:{const s=ae(a=>a[0],o.fields[0]);return u(mS,{existingCsvFile:K1(s),next:a=>{r(new Zt(0,[new Br(0,[a])]))},cancel:t,setIsDirty:n,sendAnalytics:i})}}}function Wr(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[S3(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function xS(){window.scrollTo(0,0)}function SS(e){let t,r,n,i,o,s,a,l;const c=(t=qi(),t);l=R=>Ki(e.backendUrl,c,R),a=R=>{Pt(l(R))},s=w.useCallback(a,[]),i3(()=>{s(new ge(0,[{Section:"user import"}]))});const d=ft(()=>dt(pS,(R,D)=>gS(()=>{xS()},s,R,D),(R,D)=>{}),void 0,void 0),f=d[0],h=w.useState(!1),m=h[0],p=h[1],v=w.useState(!1),b=v[0],_=w.useCallback(R=>{R.preventDefault(),R.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};Ji(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const R=f.fields[0],D=()=>{m||p(!0)},P=_S(R),E=CS(S=>Am(e.backendUrl,S),D,d[1],v[1],s,R);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Mo(m,()=>{m&&p(!1)},()=>{m&&(s(new ge(2,[{From:Z9(R)}])),C(),I7())},"Cancel import","Continue import","Cancel import and exit",g([u("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),u("button",y(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 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[Wr("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),Wr("2. Map fields",P.MappingColumns),u("hr",{className:"w-16 pt-1.5"}),Wr("3. Map values",P.MappingEmploymentBasis),u("hr",{className:"w-16 pt-1.5"}),Wr("4. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),E],["children",w.Children.toArray(Array.from(r))])])))}else{const R=f.fields[0][3],D=f.fields[0][0],P=f.fields[0][1];A=u(K9,{startAsync:()=>WC(E=>Tm(e.backendUrl,E),D,P,f.fields[0][2],R),onStarted:E=>{s(new ge(8,[{ImportId:E,UsersInvited:R.tag!==1}])),C();const S=[E,D,P.Email];bS(k=>{J9(k)},k=>Nm(e.backendUrl,k),S[0],S[1],S[2]),I7()},onError:E=>{s(new ge(9,[{Reason:E}])),C(),X9()}})}const N=[u("style",{children:[Pn]}),A];return u(X0,{},...N)}function ES(){On(e=>u(SS,e),"apollo-import-workspace-wizard")}let AS=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear"]}},kn=class extends i0{constructor(t,r){super(),this.ColumnIndex=t,this.IsPrefilled=r}};function TS(e){const t=["email","emailaddress","mail"];return ae(r=>r[0],$t(r=>R1(cr(r[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),t,{Equals:(n,i)=>n===i,GetHashCode:s1}),e))}function NS(e,t){if(t==null){const r=TS(e);return[new kn(r,r!=null),m0()]}else return[new kn(t,!1),m0()]}function MS(e,t){return e.tag===1?[new kn(void 0,!1),m0()]:[new kn(e.fields[0],!1),m0()]}function R7(e,t){return Di(Vn(r=>ae(n=>n[1].fields[0],$t(n=>X(n[0],r),e)),t))}function kS(e){let t;const r=e.back,n=e.next,i=e.headerRow,o=e.existingEmailColumnIndex;let s;const a=NS(i,o);s=ft(()=>dt(()=>a,MS,(f,h)=>{}),void 0,void 0);const l=s[0],c=w.useState(!1),d=c[0];return u("div",y(g([["className","max-w-[640px] mx-12 mt-8 inline-flex flex-col justify-start items-start gap-6"],(t=q(T(()=>F(x(A2("Select email field")),T(()=>F(x(u("span",{className:"text-sm font-normal",children:"Select the column that contains the email addresses of users you want to remove."})),T(()=>F(l.IsPrefilled?x(Co("We’ve automatically pre-filled the email column based on a match found in your CSV. Please double-check to make sure this is correct before continuing.")):x(E0()),T(()=>{let f,h,m;return F(x(u("div",y(g([["className","inline-flex flex-col justify-start items-start gap-2"],(f=[u("label",{className:"text-sm font-medium",children:"Email column"}),u("div",y(g([["className","w-[280px] h-[38px] justify-start items-center gap-2 flex"],(h=[xo(g([new rt(0,[R7(i,l.ColumnIndex)]),new rt(1,[p=>{B1(v=>{s[1](new AS(0,[v[0]]))},Dt($t(v=>v[1].fields[0]===p,i)))}]),new rt(2,[[u("div",y(g([["className","relative w-full"],(m=[So(q(T(()=>F(x(new l3(0,[`${d&&l.ColumnIndex==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`])),T(()=>{let p;return x(new l3(1,[[u("span",y(q(T(()=>{const v=l.ColumnIndex!=null?[R7(i,l.ColumnIndex),""]:d?["Select email column","text-red-900"]:["Select email column","text-gray-500"];return F(x(["className",`${v[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",v[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(p=[No(20,20)],["children",w.Children.toArray(Array.from(p))])])))]]))}))))),Ao(o0(new Eo("z-10 absolute max-h-64 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm")),q(T(()=>h3(p=>{const v=p[1].fields[0];return x(To(g([new Ze(0,[f1(p[0].fields[0])]),new Ze(1,[v]),new Ze(3,["relative select-none"]),new Ze(4,[b=>[u("span",{className:"px-4 py-2 block truncate "+(b.active?"bg-primary-600 text-white":"text-gray-700"),children:v})]])])))},i))))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{let p,v,b,_,C;return x(u("div",y(g([["className","w-full flex flex-row justify-end gap-3"],(p=[u("button",y(g([(v="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",v]),["onClick",A=>{r(l.ColumnIndex)}],["type","button"],(b=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(b))])]))),u("button",y(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",_]),["onClick",A=>{const N=l.ColumnIndex;N==null?c[1](!0):n(N)}],["type","button"],["disabled",d&&l.ColumnIndex==null],(C=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),Nr(13,8)],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(p))])]))))}))})))))))),["children",w.Children.toArray(Array.from(t))])])))}let j3=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}};class N4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}class O7 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmailColumn"]}}class qr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}}class J3 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["EmptyEmail","InvalidEmail","DuplicateEmail"]}}function Q9(e){switch(e.tag){case 1:return"Invalid email";case 2:return"Duplicate email";default:return"No email"}}let Qr=class extends i0{constructor(t,r,n,i,o,s,a,l,c,d,f,h){super(),this.Data=t,this.DuplicateEmailCount=r|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=n|0,this.NumberOfInvalidRows=i|0,this.NumberOfRows=o|0,this.NumberOfValidRows=s|0,this.ShowingOnlyRowsWithErrors=a,this.HasErrors=l,this.RowFrom=c|0,this.RowTo=d|0,this.Page=f,this.PageNo=h|0}};class IS extends i0{constructor(t,r,n){super(),this.RowNumber=t|0,this.Email=r,this.Error=n}}function Et(e){return e.Error!=null}const D7=/^[^@\s]+@[^@\s]+\.[^@\s]+$/gu;function M4(e){return Ot(e)}function RS(e,t){const r=Q0(o=>f0(t.fields[0],o.fields[0]).toLocaleLowerCase().trim(),e.fields[0]),n=w1(At(o=>M4(o)?!1:!i6(D7,o),r)),i=w1(F0(o=>o[0],At(o=>o[1]>1,Qw(o=>o,At(o=>M4(o)?!1:i6(D7,o),r),{Equals:(o,s)=>o===s,GetHashCode:s1}))));return g(Hn((o,s)=>{const a=M4(s);return new IS(o+1,a?void 0:s,a?new J3(0,[]):R1(s,n,{Equals:(l,c)=>l===c,GetHashCode:s1})?new J3(1,[]):R1(s,i,{Equals:(l,c)=>l===c,GetHashCode:s1})?new J3(2,[]):void 0)},r))}function en(e,t,r){const n=(e-1)*20|0,i=qa(n,e*20-1,r?je(Et,t):t);if(M0(i))return[0,0,oe()];{const o=i;return[n+1,n+_e(o),o]}}function eu(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function tu(e){return e.PageNo>1}function OS(e){const t=je(Et,e.Data);return Ft(o0(`Error detail,Email,Original row #
|
|
80
|
-
`),
|
|
81
|
-
`}`,t))}function DS(e,t,r){const n=RS(e,t);let i;const o=[n,!1];i=en(1,o[0],o[1]);const s=_e(je(c=>!Et(c),n))|0,a=_e(je(c=>X(c.Error,new J3(2,[])),n))|0,l=_e(je(Et,n))|0;return[new Qr(n,a,_e(je(c=>X(c.Error,new J3(2,[]))?!1:c.Error!=null,n)),l,_e(n),s,!1,l>0,i[0],i[1],i[2],1),i1(r,new ge(10,[{Event:new et(3,[{DuplicateCount:a,RowCount:_e(n),SuccessCount:s,TotalFailedCount:l}]),Type:new Q1}]))]}function $S(e,t,r){let n,i;switch(t.tag){case 1:{eu(r)?n=1:n=4;break}case 2:{tu(r)?n=2:n=4;break}case 3:{r.HasErrors?n=3:n=4;break}default:r.HasErrors&&r.ShowingOnlyRowsWithErrors!==t.fields[0]?(n=0,i=t.fields[0]):n=4}switch(n){case 0:{let o;const s=[r.Data,i];return o=en(1,s[0],s[1]),[new Qr(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,i,r.HasErrors,o[0],o[1],o[2],1),m0()]}case 1:{const o=r.PageNo+1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=en(o,a[0],a[1]),[new Qr(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),m0()]}case 2:{const o=r.PageNo-1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=en(o,a[0],a[1]),[new Qr(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),m0()]}case 3:return[r,i1(e,new ge(10,[{Event:new et(4,[]),Type:new Q1}]))];default:return[r,m0()]}}function FS(e){const t=Q0(n=>n,lt(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function PS(e){let t,r,n,i;const o=e.sendAnalytics,s=e.back,a=e.next,l=e.emailColumnIndex,c=e.dataRows;let d;const f=DS(c,l,o);d=ft(()=>dt(()=>f,(N,R)=>$S(o,N,R),(N,R)=>{}),void 0,void 0);const h=d[0],m=d[1],p=w.useState(!1),v=p[0],b=p[1],_=N=>{m(new qr(0,[N]))},C=eu(h)?N=>{m(new qr(1,[]))}:void 0,A=tu(h)?N=>{m(new qr(2,[]))}:void 0;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[A2("Review"),x3("Preview and confirm the users to remove."),u("div",y(g([["className","justify-start items-start inline-flex"],(r=[u("div",y(g([["className","pt-6 flex-col justify-start items-start inline-flex min-w-[640px]"],(n=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex w-full"],(i=q(T(()=>F(x(Mo(v,()=>{b(!1)},()=>{v&&a(new n5(w1(F0(N=>N[0],At(N=>!Et(N[1]),Qa(c.fields[0],h.Data))))))},`Permanently remove ${h.NumberOfValidRows} user${h.NumberOfValidRows>1?"s":""}`,"Cancel",`Remove user${h.NumberOfValidRows>1?"s":""}`,g([u("p",{children:[h.NumberOfValidRows===1?"This will immediately remove them and revoke their revoke workplace benefits access.":`This will immediately remove ${h.NumberOfValidRows} users and revoke workplace benefits access.`]}),u("br",{}),u("p",{className:"font-semibold",children:"This action cannot be undone."})]))),T(()=>{let N,R,D,P,E,S,k,M,O;return F(h.HasErrors?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(N=[W9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(R=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(D=[u("span",{children:[h.NumberOfInvalidRows>1?`We found some issues across ${h.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(D))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(P=q(T(()=>{let L;return F(h.DuplicateEmailCount>0?x((L=g([u("span",{className:"font-medium",children:`${h.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(L))}))):k0(),T(()=>{let j;return h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((j=g([u("span",{className:"font-medium",children:h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${h.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"a missing or incorrectly formatted email address"})]),u("li",{children:w.Children.toArray(Array.from(j))}))):k0()}))})),["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","px-2 py-1.5"],(E=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(S=[u("span",{children:[(k=h.NumberOfValidRows===0,M=h.NumberOfInvalidRows|0,k?M===1?"To remove this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To remove these rows later, download the error report with the ${h.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:M===1?"You can continue the removal without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the removal without these ${h.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${h.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(O=[u("a",{className:"py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:FS(OS(h)),onClick:L=>{m(new qr(3,[]))},download:"remove_users_error_rows"})],["children",w.Children.toArray(Array.from(O))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(R))])])))],["children",w.Children.toArray(Array.from(N))])])))):k0(),T(()=>{let L;return F(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(L=q(T(()=>{let j,e0,Z,z;return F((j=h.NumberOfValidRows===0,h.HasErrors?j?k0():x(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",B=>{_(!h.ShowingOnlyRowsWithErrors)}],(e0=[u("input",y(g([["type","checkbox"],["checked",h.ShowingOnlyRowsWithErrors],(Z="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",Z]),["onKeyPress",B=>{B.preventDefault(),B.key==="Enter"&&_(!h.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(e0))])])))):j?k0():x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(z=[S3(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(z))])]))))),T(()=>{let B,K,W,t0,Y,$,u0,h0,T0,I0,J;return x(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(B=[(K=g([u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(W=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(t0=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(Y=[($=q(T(()=>F(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>F(h.HasErrors?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):k0(),T(()=>{let H;return x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(H=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(H))])]))))})))))),u("tr",{children:w.Children.toArray(Array.from($))}))],["children",w.Children.toArray(Array.from(Y))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(u0=q(T(()=>F0(H=>u("tr",y(q(T(()=>F(x(["key",H.RowNumber]),T(()=>{let l0,y0;return F((l0=Et(H),y0=H.RowNumber%2|0,x(l0?["className","bg-amber-50"]:y0===1?["className","bg-white"]:["className","bg-gray-50"])),T(()=>{let n0;return x((n0=q(T(()=>F(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:H.RowNumber})),T(()=>F(h.HasErrors?x(u("td",y(q(T(()=>F(x(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let w0,c0,x0;return Et(H)?x((w0=[u("div",y(g([(c0="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",c0]),(x0=[u("span",{children:[V0(ae(Q9,H.Error),"")]})],["children",w.Children.toArray(Array.from(x0))])])))],["children",w.Children.toArray(Array.from(w0))])):k0()}))))))):k0(),T(()=>x(u("td",y(q(T(()=>{const w0=H.Email;if(w0==null)return k0();{const c0=w0;return F(x(["className",xe(" ",q(T(()=>F(x("whitespace-nowrap px-3 py-2.5 text-sm"),T(()=>Et(H)?x("font-medium text-amber-700"):x("text-gray-500"))))))]),T(()=>x(["children",c0])))}}))))))))))),["children",w.Children.toArray(Array.from(n0))]))}))})))))),h.Page))),["children",w.Children.toArray(Array.from(u0))])])))],["children",w.Children.toArray(Array.from(t0))])])))],["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(h0=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(T0=[(I0=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.ShowingOnlyRowsWithErrors?h.NumberOfInvalidRows:h.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(I0))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(J=[u("button",y(q(T(()=>{let H;return F((H=A,H==null?x(["disabled",!0]):x(["onClick",H])),T(()=>{let l0;return F(x((l0="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",l0])),T(()=>{let y0;return x((y0=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(y0))]))}))}))})))),u("button",y(q(T(()=>{let H;return F((H=C,H==null?x(["disabled",!0]):x(["onClick",H])),T(()=>{let l0;return F(x((l0="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",l0])),T(()=>{let y0;return x((y0=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(y0))]))}))}))}))))],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(T0))])])))],["children",w.Children.toArray(Array.from(h0))])])))]),u("div",{children:w.Children.toArray(Array.from(K))}))],["children",w.Children.toArray(Array.from(B))])]))))}))})),["children",w.Children.toArray(Array.from(L))])])))),T(()=>{let j,e0,Z,z,B,K,W,t0;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(e0=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(z="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",z]),["onClick",Y=>{s()}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(K="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-red-600 hover:enabled:bg-red-500 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",K]),["onClick",Y=>{b(!0)}],["disabled",h.NumberOfValidRows===0],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(t0=h.NumberOfValidRows|0,t0===0?"Remove users":t0===1?"Remove 1 user":`Remove ${h.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(e0))])])))],["children",w.Children.toArray(Array.from(j))])]))))}))}))})))),["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function LS(e,t,r){let n,i,o,s,a,l,c,d,f,h,m;return C2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[E2(o0(new S2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[x2(o0(new at(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",p=>{r()}],["type","button"],["className","text-gray-600"],(s=[Wt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",{children:" are required to remove a user."})],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(l=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(c=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(o0((d=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(f=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","remove_users_template"],(h=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(m=[b5(16,16)],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}const k4=(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),BS=g([["What file formats are accepted?","The only accepted file format is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You only need to include a single required field “Email”."],["What should I do if my CSV file contains errors?","We recommend checking for common issues, such as missing data or incorrect formatting before upload."],["How can I check the status of my import?","The removal process usually finishes within a minute for smaller files. For larger files, the task will run in the background, and you will receive a notification when it’s completed."],["What should I do if removal fails?","We’ll notify you when removal fails. You can then try removal again with the CSV."],["Is there a way to preview the data before finalising the import?","Yes, you can preview the data to confirm that everything looks correct before completing the import."]]),VS=e=>z9(BS,e[0],e[1]);function HS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,h=e.cancel,m=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],R=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[LS(k4,v[0],()=>{b(!1)}),VS([_[0],()=>{C(!1)}]),A2("Upload CSV"),x3("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",k4],["download","remove_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[b5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[g2("What kind of data do I need?",()=>{b(!0)}),g2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(Y9,{existingCsvFile:K1(p),templateDownloadUrl:k4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new ge(10,[{Event:new et(0,[{Success:!0}]),Type:new Q1}]));break}case 2:{N(void 0),f(!1),d(new ge(10,[{Event:new et(0,[{Success:!1}]),Type:new Q1}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="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",a]),["onClick",D=>{h()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]]))),u("button",y(g([(l="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",l]),["onClick",D=>{R==null||m(R)}],["type","button"],["disabled",R==null],(c=["Select email field",Nr(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class Xt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}function ru(e){switch(e.tag){case 1:return"field mapping";case 2:return"review";default:return"file upload"}}class wt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}}function $7(e){return e.tag===1?"requested":ru(e.fields[0])}function US(){return[new wt(0,[new Xt(0,[void 0])]),m0()]}function jS(e,t,r,n){const i=(C,A)=>Qn(g([i1(t,new ge(10,[{Event:new et(2,[{From:$7(C),To:$7(A)}]),Type:new Q1}])),q8(e)]));let o,s,a,l,c,d,f,h,m,p,v,b,_;if(r.tag===1)r.fields[0].tag===1?n.tag===0&&n.fields[0].tag===1?(o=5,b=r.fields[0].fields[0],_=n.fields[0].fields[0]):o=6:n.tag===0&&n.fields[0].tag===2?(o=4,p=n.fields[0].fields[1],v=n.fields[0].fields[0]):o=6;else switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===1?(o=2,d=r.fields[0].fields[0],f=n.fields[0].fields[0]):o=6;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=3,n.fields[0].fields[0],h=n.fields[0].fields[1],m=r.fields[0].fields[0]):o=6;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],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=6}switch(o){case 0:{const C=new wt(0,[new Xt(1,[s,void 0])]);return[C,i(n,C)]}case 1:{const C=X(a,l)?new wt(0,[new Xt(1,[l,c])]):new wt(0,[new Xt(1,[a,void 0])]);return[C,i(n,C)]}case 2:{const C=new wt(0,[new Xt(2,[f,d])]);return[C,i(n,C)]}case 3:{const C=new wt(1,[m,h]);return[C,i(n,C)]}case 4:{const C=new wt(0,[new Xt(1,[v,p])]);return[C,i(n,C)]}case 5:{const C=new wt(0,[new Xt(0,[[_,b]])]);return[C,i(n,C)]}default:return[n,m0()]}}const WS=3e4;function qS(e,t,r,n){const i=n.fields[0],o=()=>V.Delay(()=>V.Bind(Vi(WS),()=>V.Bind(t(r),s=>{const a=s;return a.tag!==1&&(a.fields[0].tag!==1||(a.fields[0].fields[0].SucceededRowCount===0?(e(new q1(new G1(1,[]),"No users removed","There were no eligible users to remove.")),!1):(e(new q1(new G1(0,[]),a.fields[0].fields[0].SucceededRowCount===1?"Removed 1 user":`Removed ${a.fields[0].fields[0].SucceededRowCount} users`,"Refresh the page to see the changes.")),!1)))?V.Bind(o(),()=>V.Return(void 0)):V.Zero()})));e(new q1(new G1(2,[]),i.length===1?"Removing 1 user":`Removing ${i.length} users`,"This might take a couple minutes.")),Pt(o())}function F7(){r5(g(["workspace","app","users"]))}function GS(e){r5(g(["workspace","app","oops"]))}function zS(e,t,r){return V.Delay(()=>V.TryWith(V.Delay(()=>V.Bind(e(new $8(new R8,g(Hn((n,i)=>new D8(n+2,new O8(f0(r.fields[0],i.fields[0]))),t.fields[0])))),n=>V.Return(D1(i=>i.BatchOpId,n)))),n=>V.Return(new I(1,[ne(n)]))))}class j1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}}class I4 extends i0{constructor(t,r,n){super(),this.UploadingCsv=t,this.MappingEmailColumn=r,this.Reviewing=n}}function YS(e){switch(e.tag){case 1:return new I4(new j1(0,[]),new j1(1,[]),new j1(2,[]));case 2:return new I4(new j1(0,[]),new j1(0,[]),new j1(1,[]));default:return new I4(new j1(1,[]),new j1(2,[]),new j1(2,[]))}}function ZS(e,t,r,n,i){switch(i.tag){case 1:return u(kS,{existingEmailColumnIndex:K1(i.fields[1]),headerRow:i.fields[0].HeaderRow,next:o=>{t(new j3(0,[new N4(1,[o])]))},back:o=>{t(new j3(1,[new O7(1,[o])]))}});case 2:return u(PS,{dataRows:i.fields[0].DataRows,emailColumnIndex:i.fields[1],next:o=>{t(new j3(0,[new N4(2,[o])]))},back:()=>{t(new j3(1,[new O7(0,[])]))},sendAnalytics:n});default:{const o=ae(s=>s[0],i.fields[0]);return u(HS,{existingCsvFile:K1(o),next:s=>{t(new j3(0,[new N4(0,[s])]))},cancel:e,setIsDirty:r,sendAnalytics:n})}}}function R4(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[S3(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function KS(){window.scrollTo(0,0)}function JS(e){let t,r,n,i,o,s,a,l;const c=(t=qi(),t);l=R=>Ki(e.backendUrl,c,R),a=R=>{Pt(l(R))},s=w.useCallback(a,[]),i3(()=>{s(new ge(0,[{Section:"user archive"}]))});const d=ft(()=>dt(US,(R,D)=>jS(()=>{KS()},s,R,D),(R,D)=>{}),void 0,void 0),f=d[0],h=w.useState(!1),m=h[0],p=h[1],v=w.useState(!1),b=v[0],_=w.useCallback(R=>{R.preventDefault(),R.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};Ji(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const R=f.fields[0],D=()=>{m||p(!0)},P=YS(R),E=ZS(D,d[1],v[1],s,R);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Mo(m,()=>{m&&p(!1)},()=>{m&&(s(new ge(10,[{Event:new et(1,[{From:ru(R)}]),Type:new Q1}])),C(),F7())},"Cancel removal","Continue removal","Cancel removal and exit",g([u("p",{children:["You’re about to cancel your removal. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Remove users via CSV"}),u("button",y(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 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[R4("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),R4("2. Select email field",P.MappingEmailColumn),u("hr",{className:"w-16 pt-1.5"}),R4("3. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),E],["children",w.Children.toArray(Array.from(r))])])))}else{const R=f.fields[0];A=u(K9,{startAsync:()=>zS(D=>Mm(e.backendUrl,D),R,f.fields[1]),onStarted:D=>{s(new ge(10,[{Event:new et(5,[{BatchOpId:D}]),Type:new Q1}])),C();const P=[D,R];qS(E=>{J9(E)},E=>km(e.backendUrl,E),P[0],P[1]),F7()},onError:D=>{s(new ge(10,[{Event:new et(6,[{Reason:D}]),Type:new Q1}])),C(),GS()}})}const N=[u("style",{children:[Pn]}),A];return u(X0,{},...N)}function XS(){On(e=>u(JS,e),"apollo-import-workspace-remove-users-wizard")}On(e=>u(rd,e),"apollo-import-workspace-app");Hw();ES();XS();
|
|
79
|
+
If errors are detected during import, you can download a CSV file that lists all the rows with issues.`]]),pS=e=>Y9(mS,e[0],e[1]);function gS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,h=e.cancel,m=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],R=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[W9(N4,v[0],()=>{b(!1)}),pS([_[0],()=>{C(!1)}]),T2("Upload CSV"),S3("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",N4],["download","import_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[_5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[w2("What kind of data do I need?",()=>{b(!0)}),w2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(Z9,{existingCsvFile:J1(p),templateDownloadUrl:N4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new ge(1,[{Success:!0}]));break}case 2:{N(void 0),f(!1),d(new ge(1,[{Success:!1}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="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",a]),["onClick",D=>{h()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]]))),u("button",y(g([(l="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",l]),["onClick",D=>{R==null||m(R)}],["type","button"],["disabled",R==null],(c=["Map fields",Mr(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let Ue=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}};function K9(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}let $e=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}};function I7(e){return e.tag===1?"requested":K9(e.fields[0])}function wS(){return[new $e(0,[new Ue(0,[void 0])]),m0()]}function yS(e,t,r,n){const i=(H,l0)=>e5(g([o1(t,new ge(3,[{From:I7(H),To:I7(l0)}])),G8(e)]));let o,s,a,l,c,d,f,h,m,p,v,b,_,C,A,N,R,D,P,E,S,k,M,O,L,j,e0,Z,z,B,K,W,t0,Y,F,u0,h0,T0,I0,J;if(r.tag===1)switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(o=14,z=n.fields[0].fields[0][1],B=n.fields[0].fields[0][0],K=n.fields[0].fields[0][2],W=r.fields[0].fields[0]):o=15;break}case 2:{r.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(o=18,I0=n.fields[0].fields[0][0],J=r.fields[0].fields[0].fields[0]):o=19:r.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=17,F=r.fields[0].fields[0].fields[0],u0=n.fields[0].fields[0][0],h0=r.fields[0].fields[0].fields[1],T0=n.fields[0].fields[0][1]):o=19:n.tag===0&&n.fields[0].tag===1?(o=16,t0=r.fields[0].fields[0].fields[0],Y=n.fields[0].fields[0][0]):o=19;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?n.fields[0].fields[0][2][1]!=null?(o=12,L=n.fields[0].fields[0][1],j=n.fields[0].fields[0][0],e0=n.fields[0].fields[0][2][0],Z=n.fields[0].fields[0][2][1]):(o=11,k=n.fields[0].fields[0][1],M=n.fields[0].fields[0][0],O=n.fields[0].fields[0][2][0]):(o=10,E=n.fields[0].fields[0][1],S=n.fields[0].fields[0][0]):o=13}else switch(r.fields[0].tag){case 1:{r.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=4,h=r.fields[0].fields[0],m=n.fields[0].fields[0][0],p=r.fields[0].fields[1],v=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,b=n.fields[0].fields[0][1],_=n.fields[0].fields[0][0],C=n.fields[0].fields[0][2],A=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],N=n.fields[0].fields[0][1],R=n.fields[0].fields[0][2],D=r.fields[0].fields[1],P=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],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=2}switch(o){case 0:{const H=new $e(0,[new Ue(1,[[s,new k1(0,[void 0])]])]);return[H,i(n,H)]}case 1:{const H=X(a,l)?new $e(0,[new Ue(1,[[l,c]])]):new $e(0,[new Ue(1,[[a,new k1(0,[void 0])]])]);return[H,i(n,H)]}case 2:return[n,m0()];case 3:{const H=new $e(0,[new Ue(3,[[f,d,void 0]])]);return[H,i(n,H)]}case 4:{const H=o5(m.DataRows,p.fields[0])?new $e(0,[new Ue(2,[[m,h,p,v.tag===1&&v.fields[0].tag===1&&X(p,v.fields[0].fields[1])?v.fields[0].fields[2]:void 0]])]):new $e(0,[new Ue(3,[[m,h,[p,void 0]]])]);return[H,i(n,H)]}case 5:return[n,m0()];case 6:{const H=new $e(0,[new Ue(3,[[_,b,[C,A]]])]);return[H,i(n,H)]}case 7:return[n,m0()];case 8:{const H=new $e(1,[[P,N,R,D]]);return[H,i(n,H)]}case 9:return[n,m0()];case 10:{const H=new $e(0,[new Ue(1,[[S,new k1(1,[new Zt(0,[E])])]])]);return[H,i(n,H)]}case 11:{const H=new $e(0,[new Ue(1,[[M,new k1(1,[new Zt(1,[k,O,void 0])])]])]);return[H,i(n,H)]}case 12:{const H=new $e(0,[new Ue(2,[[j,L,e0,Z]])]);return[H,i(n,H)]}case 13:return[n,m0()];case 14:{const H=new $e(0,[new Ue(1,[[B,new k1(1,[new Zt(1,[z,K,W])])]])]);return[H,i(n,H)]}case 15:return[n,m0()];case 16:{const H=new $e(0,[new Ue(0,[[Y,new k1(1,[new Zt(0,[t0])])]])]);return[H,i(n,H)]}case 17:{const H=new $e(0,[new Ue(0,[[u0,T0.tag===1?T0.fields[0].tag===1?X(F,T0.fields[0].fields[0])&&X(h0,T0.fields[0].fields[1])?T0:new k1(1,[new Zt(1,[F,h0,void 0])]):new k1(1,[new Zt(1,[F,h0,void 0])]):new k1(1,[new Zt(1,[F,h0,void 0])])]])]);return[H,i(n,H)]}case 18:{const H=new $e(0,[new Ue(0,[[I0,new k1(0,[J])]])]);return[H,i(n,H)]}default:return[n,m0()]}}function ko(e,t,r,n,i,o,s){let a,l,c,d,f,h,m,p,v,b;return x2(g([new ve(3,[e]),new ve(4,[t]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(a=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(l=[S2(g([new lt(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 lt(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(c=[u("button",y(g([["type","button"],["onClick",_=>{t()}],["className","text-gray-600"],(d=[qt(24,24)],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(f=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(h=[ax([])],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(m=[R9(g([new kn(2,["text-gray-900 text-lg font-bold"]),new kn(3,[[n]])])),u("div",{className:"mt-2 text-sm text-gray-500 leading-tight",children:w.Children.toArray(Array.from(s))})],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[u("button",y(g([["type","button"],["onClick",_=>{r()}],(v="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",v]),["children",o]]))),u("button",y(g([["type","button"],["onClick",_=>{t()}],(b="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",b]),["children",i]])))],["children",w.Children.toArray(Array.from(p))])])))]])]))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])])))]])]))}function J9(e){let t,r,n,i,o,s,a;const l=e.onError,c=e.onStarted,d=e.startAsync;return o3((t=[d,f=>{let h,m,p,v;switch(f.tag){case 1:case 0:{h=3;break}case 3:{h=2,v=f.fields[0];break}default:f.fields[0].tag===1?(h=1,p=f.fields[0].fields[0]):(h=0,m=f.fields[0].fields[0])}switch(h){case 0:{c(m);break}case 1:{l(p);break}case 2:{l(ne(v));break}}}],W8(t[0],t[1]))),u("div",y(g([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(r=[u("div",y(g([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(n=[u("div",y(g([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(i=[u("div",y(g([["className","relative"],(o=[ux([])],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","flex-col justify-start items-center gap-6 flex"],(s=[u("div",y(g([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(a=[u("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",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))}class I1 extends G{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 vS(e){return u(T9,dt(e,1))}class G1 extends i0{constructor(t,r,n){super(),this.Type=t,this.Title=r,this.Message=n}}class z1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Success","Failure","InProgress"]}}function bS(e,t){let r,n,i,o,s,a,l,c;return vS(g([new I1(1,["div"]),new I1(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 I1(3,[!0]),new I1(5,["transform ease-out duration-300 transition"]),new I1(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new I1(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new I1(8,["transition ease-in duration-100"]),new I1(9,["opacity-100"]),new I1(10,["opacity-0"]),new I1(11,[[u("div",y(g([["key","1"],(r=[u("div",y(g([["className","p-4"],(n=[u("div",y(g([["className","flex items-start"],(i=[u("div",y(g([["className","flex-shrink-0"],(o=q(T(()=>{const d=t.Type;return d.tag===1?x(dx([])):d.tag===2?x(fx([])):x(cx([]))})),["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[u("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),u("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","ml-4 flex flex-shrink-0"],(a=[u("button",y(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()}],(c=[bn(10,10)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function X9(e){const t=document.getElementById("workspace-toasts-container"),r=Gi(),n=bS(()=>{document.getElementById(r).remove()},e),i=document.createElement("div");Ai(n,i);const o=i.children[0];o.id=r,t.appendChild(o)}const _S=3e4;function CS(e,t,r,n,i){const o=n.fields[0],s=()=>V.Delay(()=>V.Bind(Hi(_S),()=>V.Bind(t(r),a=>{let l,c,d,f;const h=a;return h.tag!==1&&(h.fields[0].tag!==1||(h.fields[0].fields[0].tag===1?(e(new G1(new z1(1,[]),"We found a duplicate user",`"${f0(i.fields[0],f0(h.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):h.fields[0].fields[0].tag===2?(l=h.fields[0].fields[0].fields[0].DuplicateEmailCount>0,c=h.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?c?new G1(new z1(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 G1(new z1(1,[]),`We found ${h.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 G1(new z1(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 G1(new z1(0,[]),h.fields[0].fields[0].fields[0]===1?"Successfully added 1 user":`Successfully added ${h.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?V.Bind(s(),()=>V.Return(void 0)):V.Zero()})));e(new G1(new z1(2,[]),o.length===1?"Importing 1 user":`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),Lt(s())}let De=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}},Wr=class extends i0{constructor(t,r,n,i){super(),this.UploadingCsv=t,this.MappingColumns=r,this.MappingEmploymentBasis=n,this.Reviewing=i}};function R7(){n5(g(["workspace","app","users"]))}function Q9(e){n5(g(["workspace","app","oops"]))}function xS(e){switch(e.tag){case 1:return new Wr(new De(0,[]),new De(1,[]),new De(2,[]),new De(2,[]));case 2:return new Wr(new De(0,[]),new De(0,[]),new De(1,[]),new De(2,[]));case 3:return new Wr(new De(0,[]),new De(0,[]),new De(0,[]),new De(1,[]));default:return new Wr(new De(1,[]),new De(2,[]),new De(2,[]),new De(2,[]))}}function SS(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?[fs(s[1].fields[0].fields[0],s[1].fields[0].fields[1]),s[0].HeaderRow,s[0].DataRows]:[fs(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 u(RC,{existingMappings:J1(a[0]),headerRow:a[1],dataRows:a[2],next:l=>{let c;r(new Kt(0,[(c=l,new Vr(1,[c[0],c[1]]))]))},back:l=>{r(new Kt(1,[new G5(2,[l])]))},sendAnalytics:i})}case 2:{const s=fy(o.fields[0][0].DataRows,o.fields[0][2]);return u(HC,{existingMappings:J1(o.fields[0][3]),employmentBasisColumn:s,next:a=>{r(new Kt(0,[new Vr(2,[a])]))},back:a=>{r(new Kt(1,[new G5(1,[a])]))}})}case 3:return u(vx,{apiCallAsync:e,dataRows:o.fields[0][0].DataRows,baseColumnMappings:o.fields[0][1],employmentBasis:J1(o.fields[0][2]),next:s=>{let a;r(new Kt(0,[(a=s,new Vr(3,[a[0],a[1]]))]))},back:()=>{r(new Kt(1,[new G5(0,[])]))},onError:s=>{Q9()},sendAnalytics:i});default:{const s=ae(a=>a[0],o.fields[0]);return u(gS,{existingCsvFile:J1(s),next:a=>{r(new Kt(0,[new Vr(0,[a])]))},cancel:t,setIsDirty:n,sendAnalytics:i})}}}function qr(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[E3(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function ES(){window.scrollTo(0,0)}function AS(e){let t,r,n,i,o,s,a,l;const c=(t=Gi(),t);l=R=>Ji(e.backendUrl,c,R),a=R=>{Lt(l(R))},s=w.useCallback(a,[]),o3(()=>{s(new ge(0,[{Section:"user import"}]))});const d=ht(()=>ft(wS,(R,D)=>yS(()=>{ES()},s,R,D),(R,D)=>{}),void 0,void 0),f=d[0],h=w.useState(!1),m=h[0],p=h[1],v=w.useState(!1),b=v[0],_=w.useCallback(R=>{R.preventDefault(),R.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};Xi(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const R=f.fields[0],D=()=>{m||p(!0)},P=xS(R),E=SS(S=>Tm(e.backendUrl,S),D,d[1],v[1],s,R);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[ko(m,()=>{m&&p(!1)},()=>{m&&(s(new ge(2,[{From:K9(R)}])),C(),R7())},"Cancel import","Continue import","Cancel import and exit",g([u("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),u("button",y(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 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[qr("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),qr("2. Map fields",P.MappingColumns),u("hr",{className:"w-16 pt-1.5"}),qr("3. Map values",P.MappingEmploymentBasis),u("hr",{className:"w-16 pt-1.5"}),qr("4. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),E],["children",w.Children.toArray(Array.from(r))])])))}else{const R=f.fields[0][3],D=f.fields[0][0],P=f.fields[0][1];A=u(J9,{startAsync:()=>GC(E=>Nm(e.backendUrl,E),D,P,f.fields[0][2],R),onStarted:E=>{s(new ge(8,[{ImportId:E,UsersInvited:R.tag!==1}])),C();const S=[E,D,P.Email];CS(k=>{X9(k)},k=>Mm(e.backendUrl,k),S[0],S[1],S[2]),R7()},onError:E=>{s(new ge(9,[{Reason:E}])),C(),Q9()}})}const N=[u("style",{children:[Ln]}),A];return u(X0,{},...N)}function TS(){Dn(e=>u(AS,e),"apollo-import-workspace-wizard")}let NS=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear"]}},In=class extends i0{constructor(t,r){super(),this.ColumnIndex=t,this.IsPrefilled=r}};function MS(e){const t=["email","emailaddress","mail"];return ae(r=>r[0],Ft(r=>O1(dr(r[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),t,{Equals:(n,i)=>n===i,GetHashCode:a1}),e))}function kS(e,t){if(t==null){const r=MS(e);return[new In(r,r!=null),m0()]}else return[new In(t,!1),m0()]}function IS(e,t){return e.tag===1?[new In(void 0,!1),m0()]:[new In(e.fields[0],!1),m0()]}function O7(e,t){return $i(Hn(r=>ae(n=>n[1].fields[0],Ft(n=>X(n[0],r),e)),t))}function RS(e){let t;const r=e.back,n=e.next,i=e.headerRow,o=e.existingEmailColumnIndex;let s;const a=kS(i,o);s=ht(()=>ft(()=>a,IS,(f,h)=>{}),void 0,void 0);const l=s[0],c=w.useState(!1),d=c[0];return u("div",y(g([["className","max-w-[640px] mx-12 mt-8 inline-flex flex-col justify-start items-start gap-6"],(t=q(T(()=>$(x(T2("Select email field")),T(()=>$(x(u("span",{className:"text-sm font-normal",children:"Select the column that contains the email addresses of users you want to remove."})),T(()=>$(l.IsPrefilled?x(xo("We’ve automatically pre-filled the email column based on a match found in your CSV. Please double-check to make sure this is correct before continuing.")):x(E0()),T(()=>{let f,h,m;return $(x(u("div",y(g([["className","inline-flex flex-col justify-start items-start gap-2"],(f=[u("label",{className:"text-sm font-medium",children:"Email column"}),u("div",y(g([["className","w-[280px] h-[38px] justify-start items-center gap-2 flex"],(h=[So(g([new nt(0,[O7(i,l.ColumnIndex)]),new nt(1,[p=>{V1(v=>{s[1](new NS(0,[v[0]]))},$t(Ft(v=>v[1].fields[0]===p,i)))}]),new nt(2,[[u("div",y(g([Ke,["className","relative w-full"],(m=[Eo(q(T(()=>$(x(new u3(0,[`${d&&l.ColumnIndex==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`])),T(()=>{let p;return x(new u3(1,[[u("span",y(q(T(()=>{const v=l.ColumnIndex!=null?[O7(i,l.ColumnIndex),""]:d?["Select email column","text-red-900"]:["Select email column","text-gray-500"];return $(x(["className",`${v[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>x(["children",v[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(p=[Mo(20,20)],["children",w.Children.toArray(Array.from(p))])])))]]))}))))),To(o0(new Ao("z-10 absolute max-h-64 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm")),q(T(()=>m3(p=>{const v=p[1].fields[0];return x(No(g([new Ze(0,[h1(p[0].fields[0])]),new Ze(1,[v]),new Ze(3,["relative select-none"]),new Ze(4,[b=>[u("span",{className:"px-4 py-2 block truncate "+(b.active?"bg-primary-600 text-white":"text-gray-700"),children:v})]])])))},i))))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{let p,v,b,_,C;return x(u("div",y(g([["className","w-full flex flex-row justify-end gap-3"],(p=[u("button",y(g([(v="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",v]),["onClick",A=>{r(l.ColumnIndex)}],["type","button"],(b=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(b))])]))),u("button",y(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",_]),["onClick",A=>{const N=l.ColumnIndex;N==null?c[1](!0):n(N)}],["type","button"],["disabled",d&&l.ColumnIndex==null],(C=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),Mr(13,8)],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(p))])]))))}))})))))))),["children",w.Children.toArray(Array.from(t))])])))}let W3=class extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}};class M4 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}class D7 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmailColumn"]}}class Gr extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}}class X3 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["EmptyEmail","InvalidEmail","DuplicateEmail"]}}function eu(e){switch(e.tag){case 1:return"Invalid email";case 2:return"Duplicate email";default:return"No email"}}let en=class extends i0{constructor(t,r,n,i,o,s,a,l,c,d,f,h){super(),this.Data=t,this.DuplicateEmailCount=r|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=n|0,this.NumberOfInvalidRows=i|0,this.NumberOfRows=o|0,this.NumberOfValidRows=s|0,this.ShowingOnlyRowsWithErrors=a,this.HasErrors=l,this.RowFrom=c|0,this.RowTo=d|0,this.Page=f,this.PageNo=h|0}};class OS extends i0{constructor(t,r,n){super(),this.RowNumber=t|0,this.Email=r,this.Error=n}}function At(e){return e.Error!=null}const $7=/^[^@\s]+@[^@\s]+\.[^@\s]+$/gu;function k4(e){return Dt(e)}function DS(e,t){const r=Q0(o=>f0(t.fields[0],o.fields[0]).toLocaleLowerCase().trim(),e.fields[0]),n=y1(Tt(o=>k4(o)?!1:!o6($7,o),r)),i=y1(F0(o=>o[0],Tt(o=>o[1]>1,ty(o=>o,Tt(o=>k4(o)?!1:o6($7,o),r),{Equals:(o,s)=>o===s,GetHashCode:a1}))));return g(Un((o,s)=>{const a=k4(s);return new OS(o+1,a?void 0:s,a?new X3(0,[]):O1(s,n,{Equals:(l,c)=>l===c,GetHashCode:a1})?new X3(1,[]):O1(s,i,{Equals:(l,c)=>l===c,GetHashCode:a1})?new X3(2,[]):void 0)},r))}function tn(e,t,r){const n=(e-1)*20|0,i=Ga(n,e*20-1,r?je(At,t):t);if(M0(i))return[0,0,oe()];{const o=i;return[n+1,n+_e(o),o]}}function tu(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function ru(e){return e.PageNo>1}function $S(e){const t=je(At,e.Data);return Pt(o0(`Error detail,Email,Original row #
|
|
80
|
+
`),Wn((r,n)=>`${V0(ae(eu,n.Error),"")},${V0(n.Email,"")},${n.RowNumber}${r===_e(t)-1?"":`
|
|
81
|
+
`}`,t))}function FS(e,t,r){const n=DS(e,t);let i;const o=[n,!1];i=tn(1,o[0],o[1]);const s=_e(je(c=>!At(c),n))|0,a=_e(je(c=>X(c.Error,new X3(2,[])),n))|0,l=_e(je(At,n))|0;return[new en(n,a,_e(je(c=>X(c.Error,new X3(2,[]))?!1:c.Error!=null,n)),l,_e(n),s,!1,l>0,i[0],i[1],i[2],1),o1(r,new ge(10,[{Event:new tt(3,[{DuplicateCount:a,RowCount:_e(n),SuccessCount:s,TotalFailedCount:l}]),Type:new et}]))]}function PS(e,t,r){let n,i;switch(t.tag){case 1:{tu(r)?n=1:n=4;break}case 2:{ru(r)?n=2:n=4;break}case 3:{r.HasErrors?n=3:n=4;break}default:r.HasErrors&&r.ShowingOnlyRowsWithErrors!==t.fields[0]?(n=0,i=t.fields[0]):n=4}switch(n){case 0:{let o;const s=[r.Data,i];return o=tn(1,s[0],s[1]),[new en(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,i,r.HasErrors,o[0],o[1],o[2],1),m0()]}case 1:{const o=r.PageNo+1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=tn(o,a[0],a[1]),[new en(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),m0()]}case 2:{const o=r.PageNo-1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=tn(o,a[0],a[1]),[new en(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),m0()]}case 3:return[r,o1(e,new ge(10,[{Event:new tt(4,[]),Type:new et}]))];default:return[r,m0()]}}function LS(e){const t=Q0(n=>n,ut(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function BS(e){let t,r,n,i;const o=e.sendAnalytics,s=e.back,a=e.next,l=e.emailColumnIndex,c=e.dataRows;let d;const f=FS(c,l,o);d=ht(()=>ft(()=>f,(N,R)=>PS(o,N,R),(N,R)=>{}),void 0,void 0);const h=d[0],m=d[1],p=w.useState(!1),v=p[0],b=p[1],_=N=>{m(new Gr(0,[N]))},C=tu(h)?N=>{m(new Gr(1,[]))}:void 0,A=ru(h)?N=>{m(new Gr(2,[]))}:void 0;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[T2("Review"),S3("Preview and confirm the users to remove."),u("div",y(g([["className","justify-start items-start inline-flex"],(r=[u("div",y(g([["className","pt-6 flex-col justify-start items-start inline-flex min-w-[640px]"],(n=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex w-full"],(i=q(T(()=>$(x(ko(v,()=>{b(!1)},()=>{v&&a(new i5(y1(F0(N=>N[0],Tt(N=>!At(N[1]),e8(c.fields[0],h.Data))))))},`Permanently remove ${h.NumberOfValidRows} user${h.NumberOfValidRows>1?"s":""}`,"Cancel",`Remove user${h.NumberOfValidRows>1?"s":""}`,g([u("p",{children:[h.NumberOfValidRows===1?"This will immediately remove them and revoke their revoke workplace benefits access.":`This will immediately remove ${h.NumberOfValidRows} users and revoke workplace benefits access.`]}),u("br",{}),u("p",{className:"font-semibold",children:"This action cannot be undone."})]))),T(()=>{let N,R,D,P,E,S,k,M,O;return $(h.HasErrors?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(N=[q9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(R=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(D=[u("span",{children:[h.NumberOfInvalidRows>1?`We found some issues across ${h.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(D))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(P=q(T(()=>{let L;return $(h.DuplicateEmailCount>0?x((L=g([u("span",{className:"font-medium",children:`${h.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(L))}))):k0(),T(()=>{let j;return h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((j=g([u("span",{className:"font-medium",children:h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${h.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[h.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"a missing or incorrectly formatted email address"})]),u("li",{children:w.Children.toArray(Array.from(j))}))):k0()}))})),["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","px-2 py-1.5"],(E=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(S=[u("span",{children:[(k=h.NumberOfValidRows===0,M=h.NumberOfInvalidRows|0,k?M===1?"To remove this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To remove these rows later, download the error report with the ${h.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:M===1?"You can continue the removal without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the removal without these ${h.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${h.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(O=[u("a",{className:"py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:LS($S(h)),onClick:L=>{m(new Gr(3,[]))},download:"remove_users_error_rows"})],["children",w.Children.toArray(Array.from(O))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(R))])])))],["children",w.Children.toArray(Array.from(N))])])))):k0(),T(()=>{let L;return $(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(L=q(T(()=>{let j,e0,Z,z;return $((j=h.NumberOfValidRows===0,h.HasErrors?j?k0():x(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",B=>{_(!h.ShowingOnlyRowsWithErrors)}],(e0=[u("input",y(g([["type","checkbox"],["checked",h.ShowingOnlyRowsWithErrors],(Z="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",Z]),["onKeyPress",B=>{B.preventDefault(),B.key==="Enter"&&_(!h.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(e0))])])))):j?k0():x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(z=[E3(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(z))])]))))),T(()=>{let B,K,W,t0,Y,F,u0,h0,T0,I0,J;return x(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(B=[(K=g([u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(W=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(t0=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(Y=[(F=q(T(()=>$(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>$(h.HasErrors?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):k0(),T(()=>{let H;return x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(H=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(H))])]))))})))))),u("tr",{children:w.Children.toArray(Array.from(F))}))],["children",w.Children.toArray(Array.from(Y))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(u0=q(T(()=>F0(H=>u("tr",y(q(T(()=>$(x(["key",H.RowNumber]),T(()=>{let l0,y0;return $((l0=At(H),y0=H.RowNumber%2|0,x(l0?["className","bg-amber-50"]:y0===1?["className","bg-white"]:["className","bg-gray-50"])),T(()=>{let n0;return x((n0=q(T(()=>$(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:H.RowNumber})),T(()=>$(h.HasErrors?x(u("td",y(q(T(()=>$(x(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let w0,c0,x0;return At(H)?x((w0=[u("div",y(g([(c0="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",c0]),(x0=[u("span",{children:[V0(ae(eu,H.Error),"")]})],["children",w.Children.toArray(Array.from(x0))])])))],["children",w.Children.toArray(Array.from(w0))])):k0()}))))))):k0(),T(()=>x(u("td",y(q(T(()=>{const w0=H.Email;if(w0==null)return k0();{const c0=w0;return $(x(Ke),T(()=>$(x(["className",xe(" ",q(T(()=>$(x("whitespace-nowrap px-3 py-2.5 text-sm"),T(()=>At(H)?x("font-medium text-amber-700"):x("text-gray-500"))))))]),T(()=>x(["children",c0])))))}}))))))))))),["children",w.Children.toArray(Array.from(n0))]))}))})))))),h.Page))),["children",w.Children.toArray(Array.from(u0))])])))],["children",w.Children.toArray(Array.from(t0))])])))],["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(h0=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(T0=[(I0=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h.ShowingOnlyRowsWithErrors?h.NumberOfInvalidRows:h.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(I0))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(J=[u("button",y(q(T(()=>{let H;return $((H=A,H==null?x(["disabled",!0]):x(["onClick",H])),T(()=>{let l0;return $(x((l0="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",l0])),T(()=>{let y0;return x((y0=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(y0))]))}))}))})))),u("button",y(q(T(()=>{let H;return $((H=C,H==null?x(["disabled",!0]):x(["onClick",H])),T(()=>{let l0;return $(x((l0="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",l0])),T(()=>{let y0;return x((y0=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(y0))]))}))}))}))))],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(T0))])])))],["children",w.Children.toArray(Array.from(h0))])])))]),u("div",{children:w.Children.toArray(Array.from(K))}))],["children",w.Children.toArray(Array.from(B))])]))))}))})),["children",w.Children.toArray(Array.from(L))])])))),T(()=>{let j,e0,Z,z,B,K,W,t0;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(e0=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(z="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",z]),["onClick",Y=>{s()}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(K="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-red-600 hover:enabled:bg-red-500 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",K]),["onClick",Y=>{b(!0)}],["disabled",h.NumberOfValidRows===0],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(t0=h.NumberOfValidRows|0,t0===0?"Remove users":t0===1?"Remove 1 user":`Remove ${h.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(e0))])])))],["children",w.Children.toArray(Array.from(j))])]))))}))}))})))),["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function VS(e,t,r){let n,i,o,s,a,l,c,d,f,h,m;return x2(g([new ve(3,[t]),new ve(4,[r]),new ve(5,[[A2(o0(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(o0(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",p=>{r()}],["type","button"],["className","text-gray-600"],(s=[qt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",{children:" are required to remove a user."})],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(l=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(c=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(o0((d=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(f=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","remove_users_template"],(h=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(m=[_5(16,16)],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}const I4=(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),HS=g([["What file formats are accepted?","The only accepted file format is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You only need to include a single required field “Email”."],["What should I do if my CSV file contains errors?","We recommend checking for common issues, such as missing data or incorrect formatting before upload."],["How can I check the status of my import?","The removal process usually finishes within a minute for smaller files. For larger files, the task will run in the background, and you will receive a notification when it’s completed."],["What should I do if removal fails?","We’ll notify you when removal fails. You can then try removal again with the CSV."],["Is there a way to preview the data before finalising the import?","Yes, you can preview the data to confirm that everything looks correct before completing the import."]]),US=e=>Y9(HS,e[0],e[1]);function jS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,h=e.cancel,m=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],R=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[VS(I4,v[0],()=>{b(!1)}),US([_[0],()=>{C(!1)}]),T2("Upload CSV"),S3("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",I4],["download","remove_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[_5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[w2("What kind of data do I need?",()=>{b(!0)}),w2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(Z9,{existingCsvFile:J1(p),templateDownloadUrl:I4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new ge(10,[{Event:new tt(0,[{Success:!0}]),Type:new et}]));break}case 2:{N(void 0),f(!1),d(new ge(10,[{Event:new tt(0,[{Success:!1}]),Type:new et}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="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",a]),["onClick",D=>{h()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]]))),u("button",y(g([(l="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",l]),["onClick",D=>{R==null||m(R)}],["type","button"],["disabled",R==null],(c=["Select email field",Mr(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class Qt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}function nu(e){switch(e.tag){case 1:return"field mapping";case 2:return"review";default:return"file upload"}}class yt extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}}function F7(e){return e.tag===1?"requested":nu(e.fields[0])}function WS(){return[new yt(0,[new Qt(0,[void 0])]),m0()]}function qS(e,t,r,n){const i=(C,A)=>e5(g([o1(t,new ge(10,[{Event:new tt(2,[{From:F7(C),To:F7(A)}]),Type:new et}])),G8(e)]));let o,s,a,l,c,d,f,h,m,p,v,b,_;if(r.tag===1)r.fields[0].tag===1?n.tag===0&&n.fields[0].tag===1?(o=5,b=r.fields[0].fields[0],_=n.fields[0].fields[0]):o=6:n.tag===0&&n.fields[0].tag===2?(o=4,p=n.fields[0].fields[1],v=n.fields[0].fields[0]):o=6;else switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===1?(o=2,d=r.fields[0].fields[0],f=n.fields[0].fields[0]):o=6;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=3,n.fields[0].fields[0],h=n.fields[0].fields[1],m=r.fields[0].fields[0]):o=6;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],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=6}switch(o){case 0:{const C=new yt(0,[new Qt(1,[s,void 0])]);return[C,i(n,C)]}case 1:{const C=X(a,l)?new yt(0,[new Qt(1,[l,c])]):new yt(0,[new Qt(1,[a,void 0])]);return[C,i(n,C)]}case 2:{const C=new yt(0,[new Qt(2,[f,d])]);return[C,i(n,C)]}case 3:{const C=new yt(1,[m,h]);return[C,i(n,C)]}case 4:{const C=new yt(0,[new Qt(1,[v,p])]);return[C,i(n,C)]}case 5:{const C=new yt(0,[new Qt(0,[[_,b]])]);return[C,i(n,C)]}default:return[n,m0()]}}const GS=3e4;function zS(e,t,r,n){const i=n.fields[0],o=()=>V.Delay(()=>V.Bind(Hi(GS),()=>V.Bind(t(r),s=>{const a=s;return a.tag!==1&&(a.fields[0].tag!==1||(a.fields[0].fields[0].SucceededRowCount===0?(e(new G1(new z1(1,[]),"No users removed","There were no eligible users to remove.")),!1):(e(new G1(new z1(0,[]),a.fields[0].fields[0].SucceededRowCount===1?"Removed 1 user":`Removed ${a.fields[0].fields[0].SucceededRowCount} users`,"Refresh the page to see the changes.")),!1)))?V.Bind(o(),()=>V.Return(void 0)):V.Zero()})));e(new G1(new z1(2,[]),i.length===1?"Removing 1 user":`Removing ${i.length} users`,"This might take a couple minutes.")),Lt(o())}function P7(){n5(g(["workspace","app","users"]))}function YS(e){n5(g(["workspace","app","oops"]))}function ZS(e,t,r){return V.Delay(()=>V.TryWith(V.Delay(()=>V.Bind(e(new F8(new O8,g(Un((n,i)=>new $8(n+2,new D8(f0(r.fields[0],i.fields[0]))),t.fields[0])))),n=>V.Return($1(i=>i.BatchOpId,n)))),n=>V.Return(new I(1,[ne(n)]))))}class W1 extends G{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}}class R4 extends i0{constructor(t,r,n){super(),this.UploadingCsv=t,this.MappingEmailColumn=r,this.Reviewing=n}}function KS(e){switch(e.tag){case 1:return new R4(new W1(0,[]),new W1(1,[]),new W1(2,[]));case 2:return new R4(new W1(0,[]),new W1(0,[]),new W1(1,[]));default:return new R4(new W1(1,[]),new W1(2,[]),new W1(2,[]))}}function JS(e,t,r,n,i){switch(i.tag){case 1:return u(RS,{existingEmailColumnIndex:J1(i.fields[1]),headerRow:i.fields[0].HeaderRow,next:o=>{t(new W3(0,[new M4(1,[o])]))},back:o=>{t(new W3(1,[new D7(1,[o])]))}});case 2:return u(BS,{dataRows:i.fields[0].DataRows,emailColumnIndex:i.fields[1],next:o=>{t(new W3(0,[new M4(2,[o])]))},back:()=>{t(new W3(1,[new D7(0,[])]))},sendAnalytics:n});default:{const o=ae(s=>s[0],i.fields[0]);return u(jS,{existingCsvFile:J1(o),next:s=>{t(new W3(0,[new M4(0,[s])]))},cancel:e,setIsDirty:r,sendAnalytics:n})}}}function O4(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[E3(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function XS(){window.scrollTo(0,0)}function QS(e){let t,r,n,i,o,s,a,l;const c=(t=Gi(),t);l=R=>Ji(e.backendUrl,c,R),a=R=>{Lt(l(R))},s=w.useCallback(a,[]),o3(()=>{s(new ge(0,[{Section:"user archive"}]))});const d=ht(()=>ft(WS,(R,D)=>qS(()=>{XS()},s,R,D),(R,D)=>{}),void 0,void 0),f=d[0],h=w.useState(!1),m=h[0],p=h[1],v=w.useState(!1),b=v[0],_=w.useCallback(R=>{R.preventDefault(),R.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};Xi(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const R=f.fields[0],D=()=>{m||p(!0)},P=KS(R),E=JS(D,d[1],v[1],s,R);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[ko(m,()=>{m&&p(!1)},()=>{m&&(s(new ge(10,[{Event:new tt(1,[{From:nu(R)}]),Type:new et}])),C(),P7())},"Cancel removal","Continue removal","Cancel removal and exit",g([u("p",{children:["You’re about to cancel your removal. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Remove users via CSV"}),u("button",y(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 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[O4("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),O4("2. Select email field",P.MappingEmailColumn),u("hr",{className:"w-16 pt-1.5"}),O4("3. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),E],["children",w.Children.toArray(Array.from(r))])])))}else{const R=f.fields[0];A=u(J9,{startAsync:()=>ZS(D=>km(e.backendUrl,D),R,f.fields[1]),onStarted:D=>{s(new ge(10,[{Event:new tt(5,[{BatchOpId:D}]),Type:new et}])),C();const P=[D,R];zS(E=>{X9(E)},E=>Im(e.backendUrl,E),P[0],P[1]),P7()},onError:D=>{s(new ge(10,[{Event:new tt(6,[{Reason:D}]),Type:new et}])),C(),YS()}})}const N=[u("style",{children:[Ln]}),A];return u(X0,{},...N)}function eE(){Dn(e=>u(QS,e),"apollo-import-workspace-remove-users-wizard")}Dn(e=>u(nd,e),"apollo-import-workspace-app");jw();TS();eE();
|