@flarehr/workflows-progress-app 0.1.3381 → 0.1.3382

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,796 @@
1
+ (function(){"use strict";var ho=document.createElement("style");ho.textContent=`*,:after,:before{--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:rgba(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:rgba(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: }/*! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}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,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height: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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}.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}}.fixed{position:fixed}.-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.-my-2{margin-bottom:-.5rem;margin-top:-.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-5{margin-bottom:1.25rem}.mt-16{margin-top:4rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.h-full{height:100%}.h-screen{height:100vh}.min-w-full{min-width:100%}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - 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))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-5{line-height:1.25rem}.tracking-wider{letter-spacing:.05em}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{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 rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.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)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}@media (min-width:640px){.sm\\:max-w-md{max-width:28rem}.sm\\:rounded-lg{border-radius:.5rem}}
2
+ `,document.head.appendChild(ho);var rn,M,po,pt,go,yo,Cr,Er,Tr,Mr,_o,an={},bo=[],El=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mn=Array.isArray;function ze(e,t){for(var n in t)e[n]=t[n];return e}function vo(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function T(e,t,n){var r,a,o,i={};for(o in t)o=="key"?r=t[o]:o=="ref"?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?rn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return on(e,i,r,a,null)}function on(e,t,n,r,a){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:a??++po,__i:-1,__u:0};return a==null&&M.vnode!=null&&M.vnode(o),o}function wo(){return{current:null}}function Oe(e){return e.children}function ke(e,t){this.props=e,this.context=t}function Tt(e,t){if(t==null)return e.__?Tt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Tt(e):null}function So(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return So(e)}}function Ar(e){(!e.__d&&(e.__d=!0)&&pt.push(e)&&!An.__r++||go!==M.debounceRendering)&&((go=M.debounceRendering)||yo)(An)}function An(){var e,t,n,r,a,o,i,s;for(pt.sort(Cr);e=pt.shift();)e.__d&&(t=pt.length,r=void 0,o=(a=(n=e).__v).__e,i=[],s=[],n.__P&&((r=ze({},a)).__v=a.__v+1,M.vnode&&M.vnode(r),Ir(n.__P,r,a,n.__n,n.__P.namespaceURI,32&a.__u?[o]:null,i,o??Tt(a),!!(32&a.__u),s),r.__v=a.__v,r.__.__k[r.__i]=r,To(i,r,s),r.__e!=o&&So(r)),pt.length>t&&pt.sort(Cr));An.__r=0}function ko(e,t,n,r,a,o,i,s,u,l,f){var c,m,d,h,y,g=r&&r.__k||bo,_=t.length;for(n.__d=u,Tl(n,t,g),u=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&(m=d.__i===-1?an:g[d.__i]||an,d.__i=c,Ir(e,d,m,a,o,i,s,u,l,f),h=d.__e,d.ref&&m.ref!=d.ref&&(m.ref&&Or(m.ref,null,d),f.push(d.ref,d.__c||h,d)),y==null&&h!=null&&(y=h),65536&d.__u||m.__k===d.__k?u=xo(d,u,e):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:h&&(u=h.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=y}function Tl(e,t,n){var r,a,o,i,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;r++)(a=t[r])!=null&&typeof a!="boolean"&&typeof a!="function"?(i=r+c,(a=e.__k[r]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?on(null,a,null,null,null):Mn(a)?on(Oe,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?on(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,o=null,(s=a.__i=Ml(a,n,i,f))!==-1&&(f--,(o=n[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&c--,typeof a.type!="function"&&(a.__u|=65536)):s!==i&&(s==i-1?c--:s==i+1?c++:(s>i?c--:c++,a.__u|=65536))):a=e.__k[r]=null;if(f)for(r=0;r<l;r++)(o=n[r])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Tt(o)),Mo(o,o))}function xo(e,t,n){var r,a;if(typeof e.type=="function"){for(r=e.__k,a=0;r&&a<r.length;a++)r[a]&&(r[a].__=e,t=xo(r[a],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Tt(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ve(e,t){return t=t||[],e==null||typeof e=="boolean"||(Mn(e)?e.some(function(n){Ve(n,t)}):t.push(e)),t}function Ml(e,t,n,r){var a=e.key,o=e.type,i=n-1,s=n+1,u=t[n];if(u===null||u&&a==u.key&&o===u.type&&!(131072&u.__u))return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((u=t[i])&&!(131072&u.__u)&&a==u.key&&o===u.type)return i;i--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&a==u.key&&o===u.type)return s;s++}}return-1}function Co(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||El.test(t)?n:n+"px"}function In(e,t,n,r,a){var o;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Co(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Co(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Er,e.addEventListener(t,o?Mr:Tr,o)):e.removeEventListener(t,o?Mr:Tr,o);else{if(a=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Eo(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Er++;else if(t.t<n.u)return;return n(M.event?M.event(t):t)}}}function Ir(e,t,n,r,a,o,i,s,u,l){var f,c,m,d,h,y,g,_,b,k,F,D,ne,ht,Re,Le,je=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),o=[s=t.__e=n.__e]),(f=M.__b)&&f(t);e:if(typeof je=="function")try{if(_=t.props,b="prototype"in je&&je.prototype.render,k=(f=je.contextType)&&r[f.__c],F=f?k?k.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(b?t.__c=c=new je(_,F):(t.__c=c=new ke(_,F),c.constructor=je,c.render=Il),k&&k.sub(c),c.props=_,c.state||(c.state={}),c.context=F,c.__n=r,m=c.__d=!0,c.__h=[],c._sb=[]),b&&c.__s==null&&(c.__s=c.state),b&&je.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ze({},c.__s)),ze(c.__s,je.getDerivedStateFromProps(_,c.__s))),d=c.props,h=c.state,c.__v=t,m)b&&je.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),b&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(b&&je.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,F),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,F)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(xr){xr&&(xr.__=t)}),D=0;D<c._sb.length;D++)c.__h.push(c._sb[D]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,F),b&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,h,y)})}if(c.context=F,c.props=_,c.__P=e,c.__e=!1,ne=M.__r,ht=0,b){for(c.state=c.__s,c.__d=!1,ne&&ne(t),f=c.render(c.props,c.state,c.context),Re=0;Re<c._sb.length;Re++)c.__h.push(c._sb[Re]);c._sb=[]}else do c.__d=!1,ne&&ne(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++ht<25);c.state=c.__s,c.getChildContext!=null&&(r=ze(ze({},r),c.getChildContext())),b&&!m&&c.getSnapshotBeforeUpdate!=null&&(y=c.getSnapshotBeforeUpdate(d,h)),ko(e,Mn(Le=f!=null&&f.type===Oe&&f.key==null?f.props.children:f)?Le:[Le],t,n,r,a,o,i,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),g&&(c.__E=c.__=null)}catch(xr){if(t.__v=null,u||o!=null){for(t.__u|=u?160:32;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;M.__e(xr,t,n)}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Al(n.__e,t,n,r,a,o,i,u,l);(f=M.diffed)&&f(t)}function To(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Or(n[r],n[++r],n[++r]);M.__c&&M.__c(t,e),e.some(function(a){try{e=a.__h,a.__h=[],e.some(function(o){o.call(a)})}catch(o){M.__e(o,a.__v)}})}function Al(e,t,n,r,a,o,i,s,u){var l,f,c,m,d,h,y,g=n.props,_=t.props,b=t.type;if(b==="svg"?a="http://www.w3.org/2000/svg":b==="math"?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((d=o[l])&&"setAttribute"in d==!!b&&(b?d.localName===b:d.nodeType===3)){e=d,o[l]=null;break}}if(e==null){if(b===null)return document.createTextNode(_);e=document.createElementNS(a,b,_.is&&_),s&&(M.__m&&M.__m(t,o),s=!1),o=null}if(b===null)g===_||s&&e.data===_||(e.data=_);else{if(o=o&&rn.call(e.childNodes),g=n.props||an,!s&&o!=null)for(g={},l=0;l<e.attributes.length;l++)g[(d=e.attributes[l]).name]=d.value;for(l in g)if(d=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=d;else if(!(l in _)){if(l=="value"&&"defaultValue"in _||l=="checked"&&"defaultChecked"in _)continue;In(e,l,null,d,a)}}for(l in _)d=_[l],l=="children"?m=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?h=d:l=="checked"?y=d:s&&typeof d!="function"||g[l]===d||In(e,l,d,g[l],a);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),ko(e,Mn(m)?m:[m],t,n,r,b==="foreignObject"?"http://www.w3.org/1999/xhtml":a,o,i,o?o[0]:n.__k&&Tt(n,0),s,u),o!=null)for(l=o.length;l--;)vo(o[l]);s||(l="value",b==="progress"&&h==null?e.removeAttribute("value"):h!==void 0&&(h!==e[l]||b==="progress"&&!h||b==="option"&&h!==g[l])&&In(e,l,h,g[l],a),l="checked",y!==void 0&&y!==e[l]&&In(e,l,y,g[l],a))}return e}function Or(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(a){M.__e(a,n)}}function Mo(e,t,n){var r,a;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Or(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){M.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&Mo(r[a],t,n||typeof e.type!="function");n||vo(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Il(e,t,n){return this.constructor(e,n)}function nt(e,t,n){var r,a,o,i;M.__&&M.__(e,t),a=(r=typeof n=="function")?null:n&&n.__k||t.__k,o=[],i=[],Ir(t,e=(!r&&n||t).__k=T(Oe,null,[e]),a||an,an,t.namespaceURI,!r&&n?[n]:a?null:t.firstChild?rn.call(t.childNodes):null,o,!r&&n?n:a?a.__e:t.firstChild,r,i),To(o,e,i)}function Pr(e,t){nt(e,t,Pr)}function $r(e,t,n){var r,a,o,i,s=ze({},e.props);for(o in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)o=="key"?r=t[o]:o=="ref"?a=t[o]:s[o]=t[o]===void 0&&i!==void 0?i[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?rn.call(arguments,2):n),on(e.type,s,r||e.key,a||e.ref,null)}function Ao(e,t){var n={__c:t="__cC"+_o++,__:e,Consumer:function(r,a){return r.children(a)},Provider:function(r){var a,o;return this.getChildContext||(a=[],(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){a=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&a.some(function(s){s.__e=!0,Ar(s)})},this.sub=function(i){a.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){a&&a.splice(a.indexOf(i),1),s&&s.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}rn=bo.slice,M={__e:function(e,t,n,r){for(var a,o,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((o=a.constructor)&&o.getDerivedStateFromError!=null&&(a.setState(o.getDerivedStateFromError(e)),i=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(e,r||{}),i=a.__d),i)return a.__E=a}catch(s){e=s}throw e}},po=0,ke.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ze({},this.state),typeof e=="function"&&(e=e(ze({},n),this.props)),e&&ze(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ar(this))},ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ar(this))},ke.prototype.render=Oe,pt=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Cr=function(e,t){return e.__v.__b-t.__v.__b},An.__r=0,Er=0,Tr=Eo(!1),Mr=Eo(!0),_o=0;function Nr(){return(Nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ol=["context","children"];function Pl(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,a){if(r==null)return{};var o,i,s={},u=Object.keys(r);for(i=0;i<u.length;i++)a.indexOf(o=u[i])>=0||(s[o]=r[o]);return s}(e,Ol);return $r(t,n)}function $l(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=T(Pl,Nr({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var a=[],o={},i=0,s=n.attributes,u=n.childNodes;for(i=s.length;i--;)s[i].name!=="slot"&&(o[s[i].name]=s[i].value,o[Io(s[i].name)]=s[i].value);for(i=u.length;i--;){var l=t(u[i],null),f=u[i].slot;f?o[f]=T(Oo,{name:f},l):a[i]=l}var c=r?T(Oo,null,a):a;return T(r||n.nodeName.toLowerCase(),o,c)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Pr:nt)(this._vdom,this._root)}function Io(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function Nl(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Io(e)]=n,this._vdom=$r(this._vdom,r),nt(this._vdom,this._root)}}function Dl(){nt(this._vdom=null,this._root)}function Oo(e,t){var n=this;return T("slot",Nr({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(a){a.stopPropagation(),a.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function Fl(e,t,n,r){function a(){var o=Reflect.construct(HTMLElement,[],a);return o._vdomComponent=e,o._root=o,o}return(a.prototype=Object.create(HTMLElement.prototype)).constructor=a,a.prototype.connectedCallback=$l,a.prototype.attributeChangedCallback=Nl,a.prototype.disconnectedCallback=Dl,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),a.observedAttributes=n,n.forEach(function(o){Object.defineProperty(a.prototype,o,{get:function(){return this._vdom.props[o]},set:function(i){this._vdom?this.attributeChangedCallback(o,null,i):(this._props||(this._props={}),this._props[o]=i,this.connectedCallback());var s=typeof i;i!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,i)}})}),customElements.define(t,a)}function Rl(e,t){Fl(e,t)}var He,R,Dr,Po,Mt=0,$o=[],U=M,No=U.__b,Do=U.__r,Fo=U.diffed,Ro=U.__c,Lo=U.unmount,jo=U.__;function gt(e,t){U.__h&&U.__h(R,e,Mt||t),Mt=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function At(e){return Mt=1,On(Vo,e)}function On(e,t,n){var r=gt(He++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Vo(void 0,t),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=R,!R.u)){var a=function(s,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(m){return!!m.__c});if(f.every(function(m){return!m.__N}))return!o||o.call(this,s,u,l);var c=!1;return f.forEach(function(m){if(m.__N){var d=m.__[0];m.__=m.__N,m.__N=void 0,d!==m.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!o||o.call(this,s,u,l))};R.u=!0;var o=R.shouldComponentUpdate,i=R.componentWillUpdate;R.componentWillUpdate=function(s,u,l){if(this.__e){var f=o;o=void 0,a(s,u,l),o=f}i&&i.call(this,s,u,l)},R.shouldComponentUpdate=a}return r.__N||r.__}function It(e,t){var n=gt(He++,3);!U.__s&&Wr(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function yt(e,t){var n=gt(He++,4);!U.__s&&Wr(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function Fr(e){return Mt=5,sn(function(){return{current:e}},[])}function Rr(e,t,n){Mt=6,yt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function sn(e,t){var n=gt(He++,7);return Wr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Lr(e,t){return Mt=8,sn(function(){return e},t)}function jr(e){var t=R.context[e.__c],n=gt(He++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function zr(e,t){U.useDebugValue&&U.useDebugValue(t?t(e):e)}function Ll(e){var t=gt(He++,10),n=At();return t.__=e,R.componentDidCatch||(R.componentDidCatch=function(r,a){t.__&&t.__(r,a),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Vr(){var e=gt(He++,11);if(!e.__){for(var t=R.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function jl(){for(var e;e=$o.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Pn),e.__H.__h.forEach(Hr),e.__H.__h=[]}catch(t){e.__H.__h=[],U.__e(t,e.__v)}}U.__b=function(e){R=null,No&&No(e)},U.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jo&&jo(e,t)},U.__r=function(e){Do&&Do(e),He=0;var t=(R=e.__c).__H;t&&(Dr===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Pn),t.__h.forEach(Hr),t.__h=[],He=0)),Dr=R},U.diffed=function(e){Fo&&Fo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($o.push(t)!==1&&Po===U.requestAnimationFrame||((Po=U.requestAnimationFrame)||zl)(jl)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Dr=R=null},U.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Pn),n.__h=n.__h.filter(function(r){return!r.__||Hr(r)})}catch(r){t.some(function(a){a.__h&&(a.__h=[])}),t=[],U.__e(r,n.__v)}}),Ro&&Ro(e,t)},U.unmount=function(e){Lo&&Lo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Pn(r)}catch(a){t=a}}),n.__H=void 0,t&&U.__e(t,n.__v))};var zo=typeof requestAnimationFrame=="function";function zl(e){var t,n=function(){clearTimeout(r),zo&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);zo&&(t=requestAnimationFrame(n))}function Pn(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function Hr(e){var t=R;e.__c=e.__(),R=t}function Wr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Vo(e,t){return typeof t=="function"?t(e):t}function Ur(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function $n(e,t){this.props=e,this.context=t}function Ho(e,t){function n(a){var o=this.props.ref,i=o==a.ref;return!i&&o&&(o.call?o(null):o.current=null),t?!t(this.props,a)||!i:Ur(this.props,a)}function r(a){return this.shouldComponentUpdate=n,T(e,a)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}($n.prototype=new ke).isPureReactComponent=!0,$n.prototype.shouldComponentUpdate=function(e,t){return Ur(this.props,e)||Ur(this.state,t)};var Wo=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Wo&&Wo(e)};var Vl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Uo(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var a=e(n,r);return n.ref=r,a}return t.$$typeof=Vl,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Go=function(e,t){return e==null?null:Ve(Ve(e).map(t))},Bo={map:Go,forEach:Go,count:function(e){return e?Ve(e).length:0},only:function(e){var t=Ve(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ve},Hl=M.__e;M.__e=function(e,t,n,r){if(e.then){for(var a,o=t;o=o.__;)if((a=o.__c)&&a.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),a.__c(e,t)}Hl(e,t,n,r)};var Yo=M.unmount;function qo(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,a){for(var o in a)r[o]=a[o];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return qo(r,t,n)})),e}function Xo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Xo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function un(){this.__u=0,this.t=null,this.__b=null}function Jo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Zo(e){var t,n,r;function a(o){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return T(n,o)}return a.displayName="Lazy",a.__f=!0,a}function Ot(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Yo&&Yo(e)},(un.prototype=new ke).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var a=Jo(r.__v),o=!1,i=function(){o||(o=!0,n.__R=null,a?a(s):s())};n.__R=i;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Xo(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},un.prototype.componentWillUnmount=function(){this.t=[]},un.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=qo(this.__b,n,r.__O=r.__P)}this.__b=null}var a=t.__a&&T(Oe,null,e.fallback);return a&&(a.__u&=-33),[T(Oe,null,t.__a?null:e.children),a]};var Ko=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Wl(e){return this.getChildContext=function(){return e.context},e.children}function Ul(e){var t=this,n=e.i;t.componentWillUnmount=function(){nt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,a){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),nt(T(Wl,{context:t.context},e.__v),t.l)}function Qo(e,t){var n=T(Ul,{__v:e,i:t});return n.containerInfo=t,n}(Ot.prototype=new ke).__a=function(e){var t=this,n=Jo(t.__v),r=t.o.get(e);return r[0]++,function(a){var o=function(){t.props.revealOrder?(r.push(a),Ko(t,e,r)):a()};n?n(o):o()}},Ot.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ve(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ot.prototype.componentDidUpdate=Ot.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ko(e,n,t)})};var ei=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Gl=/^(?: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]/,Bl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Yl=/[A-Z0-9]/g,ql=typeof document<"u",Xl=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ti(e,t,n){return t.__k==null&&(t.textContent=""),nt(e,t),typeof n=="function"&&n(),e?e.__c:null}function ni(e,t,n){return Pr(e,t),typeof n=="function"&&n(),e?e.__c:null}ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ri=M.event;function Jl(){}function Zl(){return this.cancelBubble}function Kl(){return this.defaultPrevented}M.event=function(e){return ri&&(e=ri(e)),e.persist=Jl,e.isPropagationStopped=Zl,e.isDefaultPrevented=Kl,e.nativeEvent=e};var Gr,Ql={enumerable:!1,configurable:!0,get:function(){return this.class}},ai=M.vnode;M.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,a={},o=r.indexOf("-")===-1;for(var i in n){var s=n[i];if(!(i==="value"&&"defaultValue"in n&&s==null||ql&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var u=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?i="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||Xl(n.type)?u==="onfocus"?i="onfocusin":u==="onblur"?i="onfocusout":Bl.test(i)&&(i=u):u=i="oninput":o&&Gl.test(i)?i=i.replace(Yl,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&a[i=u]&&(i="oninputCapture"),a[i]=s}}r=="select"&&a.multiple&&Array.isArray(a.value)&&(a.value=Ve(n.children).forEach(function(l){l.props.selected=a.value.indexOf(l.props.value)!=-1})),r=="select"&&a.defaultValue!=null&&(a.value=Ve(n.children).forEach(function(l){l.props.selected=a.multiple?a.defaultValue.indexOf(l.props.value)!=-1:a.defaultValue==l.props.value})),n.class&&!n.className?(a.class=n.class,Object.defineProperty(a,"className",Ql)):(n.className&&!n.class||n.class&&n.className)&&(a.class=a.className=n.className),t.props=a}(e),e.$$typeof=ei,ai&&ai(e)};var oi=M.__r;M.__r=function(e){oi&&oi(e),Gr=e.__c};var ii=M.diffed;M.diffed=function(e){ii&&ii(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Gr=null};var si={ReactCurrentDispatcher:{current:{readContext:function(e){return Gr.__n[e.__c].props.value},useCallback:Lr,useContext:jr,useDebugValue:zr,useDeferredValue:Yr,useEffect:It,useId:Vr,useImperativeHandle:Rr,useInsertionEffect:Xr,useLayoutEffect:yt,useMemo:sn,useReducer:On,useRef:Fr,useState:At,useSyncExternalStore:Jr,useTransition:qr}}},ec="18.3.1";function ui(e){return T.bind(null,e)}function ln(e){return!!e&&e.$$typeof===ei}function li(e){return ln(e)&&e.type===Oe}function ci(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function fi(e){return ln(e)?$r.apply(null,arguments):e}function di(e){return!!e.__k&&(nt(null,e),!0)}function mi(e){return e&&(e.base||e.nodeType===1&&e)||null}var hi=function(e,t){return e(t)},pi=function(e,t){return e(t)},gi=Oe;function Br(e){e()}function Yr(e){return e}function qr(){return[!1,Br]}var Xr=yt,yi=ln;function Jr(e,t){var n=t(),r=At({h:{__:n,v:t}}),a=r[0].h,o=r[1];return yt(function(){a.__=n,a.v=t,Zr(a)&&o({h:a})},[e,n,t]),It(function(){return Zr(a)&&o({h:a}),e(function(){Zr(a)&&o({h:a})})},[e]),n}function Zr(e){var t,n,r=e.v,a=e.__;try{var o=r();return!((t=a)===(n=o)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Nn={useState:At,useId:Vr,useReducer:On,useEffect:It,useLayoutEffect:yt,useInsertionEffect:Xr,useTransition:qr,useDeferredValue:Yr,useSyncExternalStore:Jr,startTransition:Br,useRef:Fr,useImperativeHandle:Rr,useMemo:sn,useCallback:Lr,useContext:jr,useDebugValue:zr,version:"18.3.1",Children:Bo,render:ti,hydrate:ni,unmountComponentAtNode:di,createPortal:Qo,createElement:T,createContext:Ao,createFactory:ui,cloneElement:fi,createRef:wo,Fragment:Oe,isValidElement:ln,isElement:yi,isFragment:li,isMemo:ci,findDOMNode:mi,Component:ke,PureComponent:$n,memo:Ho,forwardRef:Uo,flushSync:pi,unstable_batchedUpdates:hi,StrictMode:gi,Suspense:un,SuspenseList:Ot,lazy:Zo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:si};const tc=Object.freeze(Object.defineProperty({__proto__:null,Children:Bo,Component:ke,Fragment:Oe,PureComponent:$n,StrictMode:gi,Suspense:un,SuspenseList:Ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:si,cloneElement:fi,createContext:Ao,createElement:T,createFactory:ui,createPortal:Qo,createRef:wo,default:Nn,findDOMNode:mi,flushSync:pi,forwardRef:Uo,hydrate:ni,isElement:yi,isFragment:li,isMemo:ci,isValidElement:ln,lazy:Zo,memo:Ho,render:ti,startTransition:Br,unmountComponentAtNode:di,unstable_batchedUpdates:hi,useCallback:Lr,useContext:jr,useDebugValue:zr,useDeferredValue:Yr,useEffect:It,useErrorBoundary:Ll,useId:Vr,useImperativeHandle:Rr,useInsertionEffect:Xr,useLayoutEffect:yt,useMemo:sn,useReducer:On,useRef:Fr,useState:At,useSyncExternalStore:Jr,useTransition:qr,version:ec},Symbol.toStringTag,{value:"Module"}));function Pe(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function nc(e){return e!=null&&typeof e.GetEnumerator=="function"}function rc(e){return e!=null&&typeof e.CompareTo=="function"}function ac(e){return e!=null&&typeof e.Equals=="function"}function oc(e){return e!=null&&typeof e.GetHashCode=="function"}function Kr(e){return e!=null&&typeof e.Dispose=="function"}function L(e){Kr(e)&&e.Dispose()}function We(){return null}function Dn(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class ic{constructor(t){this.iter=t,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function W(e){return nc(e)?e.GetEnumerator():new ic(e[Symbol.iterator]())}function cn(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function V(e,t){return e.toString(10).padStart(t,"0")}function _i(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function sc(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function _t(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class rt{static id(t){return rt.idMap.has(t)||rt.idMap.set(t,++rt.count),rt.idMap.get(t)}}rt.idMap=new WeakMap,rt.count=0;function Fn(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ue(e){return e*2654435761|0}function uc(e){return Fn(e.toString(32))}function fn(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const a=e[r];t=(t<<5)+t^a}return t}function lc(e){return e.getTime()}function cc(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ge(e[r]);return fn(n)}function Ge(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return uc(e);case"string":return Fn(e);default:{if(oc(e))return e.GetHashCode();if(Pe(e))return cc(e);if(e instanceof Date)return lc(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ge(r));return fn(n)}else return Ue(rt.id(e))}}}function Qr(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function bi(e,t){return Qr(e,t,re)}function fc(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let a=0;a<n.length;a++)if(n[a]!==r[a]||!re(e[n[a]],t[r[a]]))return!1;return!0}function re(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:ac(e)?e.Equals(t):Pe(e)?Pe(t)&&bi(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&ea(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&fc(e,t)}function ea(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+_i(e),r=t.getTime()+_i(t)),n===r?0:n<r?-1:1}function Rn(e,t){return e===t?0:e<t?-1:1}function dc(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,a=0;r<e.length;r++)if(a=n(e[r],t[r]),a!==0)return a;return 0}function vi(e,t){return dc(e,t,be)}function mc(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let a=0,o=0;a<n.length;a++){const i=n[a];if(i!==r[a])return i<r[a]?-1:1;if(o=be(e[i],t[i]),o!==0)return o}return 0}function be(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:rc(e)?e.CompareTo(t):Pe(e)?Pe(t)?vi(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?ea(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?mc(e,t):-1}function xe(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function hc(e){Pe(e)?e.splice(0):e.clear()}const Ln=new WeakMap;function B(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return Ln.set(t,e),t}function bt(e){return Ln.get(e)??(t=>n=>e(t,n))}function ta(e){if(e==null)return null;const t=(n,r,a)=>e(n)(r)(a);return Ln.set(t,e),t}function na(e){return Ln.get(e)??(t=>n=>r=>e(t,n,r))}function pc(e){let t=0,n="[";for(const r of e){if(t===0)n+=$e(r);else if(t===100){n+="; ...";break}else n+="; "+$e(r);t++}return n+"]"}function $e(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return pc(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([a,o])=>a+" = "+$e(o,t+1)).join(`
3
+ `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function gc(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=$e(t[0]),r=n.indexOf(" ")>=0):n=t.map(a=>$e(a)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class fe{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return gc(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ge(n));return t.splice(0,0,Ue(this.tag)),fn(t)}Equals(t){return this===t?!0:Dn(this,t)&&this.tag===t.tag?bi(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Dn(this,t)?this.tag===t.tag?vi(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function yc(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function _c(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+$e(n)).join(`
4
+ `)+" }"}function bc(e){const t=Object.values(e).map(n=>Ge(n));return fn(t)}function vc(e,t){if(e===t)return!0;if(Dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!re(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function wc(e,t){if(e===t)return 0;if(Dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const a=be(e[n[r]],t[n[r]]);if(a!==0)return a}return 0}else return-1}class Z{toJSON(){return yc(this)}toString(){return _c(this)}GetHashCode(){return bc(this)}Equals(t){return vc(this,t)}CompareTo(t){return wc(this,t)}}class de{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class Sc{constructor(t){this.message=t}}function kc(e){return e instanceof Sc||e instanceof Error}function xc(e){return e instanceof Promise}function jn(e){return kc(e)||xc(e)?e:new Error(String(e))}const Pt=Symbol("numeric");function wi(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Pt])}function Cc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function ra(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[Pt]().multiply(t)}function zn(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[Pt]().toFixed(t)}function Vn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[Pt]().toPrecision(t)}function Hn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[Pt]().toExponential(t)}function Wn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Pt]().toHex()}class Ec{constructor(t,n,r,a){this.declaringType=t,this.tag=n,this.name=r,this.fields=a}}class Ce{constructor(t,n,r,a,o,i,s){this.fullname=t,this.generics=n,this.construct=r,this.parent=a,this.fields=o,this.cases=i,this.enumCases=s}toString(){return Q(this)}GetHashCode(){return Si(this)}Equals(t){return aa(this,t)}}function Be(e){return e.generics!=null?e.generics:[]}function Si(e){const t=Fn(e.fullname),n=Be(e).map(Si);return fn([t,...n])}function aa(e,t){return e.fullname===""?t.fullname===""&&Qr(Bn(e),Bn(t),([n,r],[a,o])=>n===a&&aa(r,o)):e.fullname===t.fullname&&Qr(Be(e),Be(t),aa)}function dn(e,t,n,r){return new Ce(e,t,n,r)}function Ne(e,t,n,r){return new Ce(e,t,n,void 0,r)}function Tc(e,t,n,r){const a=new Ce(e,t,n,void 0,void 0,()=>{const o=n.prototype.cases();return r().map((i,s)=>new Ec(a,s,o[s],i))});return a}function oa(e){return new Ce("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Un(e){return new Ce("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Mc=new Ce("System.Object"),me=new Ce("System.String");function ia(e){if(Array.isArray(e))return e[0];if(e instanceof Ce){const t=Gn(e);if(t!=null)return ia(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function Q(e){const t=Gn(e);return t!=null?Q(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>Q(n)).join(",")+"]"}function Ac(e){return Gn(e)!=null}function Gn(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ic(e){return e.generics!=null&&e.generics.length>0}function ki(e){return e.enumCases!=null&&e.enumCases.length>0}function Oc(e){return e.generics==null?e:new Ce(e.fullname,e.generics.map(()=>Mc))}function Pc(e){var t;return(t=e.generics)==null?void 0:t[0]}function $t(e){if(ki(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function $c(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function Nt(e,t){const n=parseInt(t,10);return $c(e,isNaN(n)?t:n)[1]}function Nc(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Bn(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Dc(e){if(xi(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Fc(e){return e instanceof Ce?e.cases!=null:e instanceof fe}function Rc(e){return e instanceof Ce?e.fields!=null:e instanceof Z}function xi(e){return e.fullname.startsWith("System.Tuple")}function Lc(e){return e.fields==null?[]:e.fields}function jc(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function zc(e,t){const n=Bn(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[a,o],i)=>(r[a]=t[i],r),{})}function Vc(e,t){return e}class Ci{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,a=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(a)}}}Dispose(){}}class sa extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,sa.prototype)}}class ua{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>ua.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function vt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new sa);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(jn(n))}});else try{e(t)}catch(n){t.onError(jn(n))}}}function Hc(e,t){return vt(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(a){n.onError(jn(a))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Wc(e){return vt(t=>t.onSuccess(e))}class Uc{Bind(t,n){return Hc(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return vt(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let a=r.next();return this.While(()=>!a.done,this.Delay(()=>{const o=n(a.value);return a=r.next(),o}))}Return(t){return Wc(t)}ReturnFrom(t){return t}TryFinally(t,n){return vt(r=>{t({onSuccess:a=>{n(),r.onSuccess(a)},onError:a=>{n(),r.onError(a)},onCancel:a=>{n(),r.onCancel(a)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return vt(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:a=>{try{n(a)(r)}catch(o){r.onError(jn(o))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return vt(t=>t.onSuccess(void 0))}}const X=new Uc;class Dt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ge(this.value)}Equals(t){return t==null?!1:re(this.value,t instanceof Dt?t.value:t)}CompareTo(t){return t==null?1:be(this.value,t instanceof Dt?t.value:t)}}function v(e){if(e==null)throw new Error("Option has no value");return e instanceof Dt?e.value:e}function ae(e){return e==null||e instanceof Dt?new Dt(e):e}function Gc(e){return e==null?[]:[v(e)]}function Ei(e,t){return e!=null?v(e):t}function la(e){}function Bc(e){return new Ci(!1)}function Yc(e){e.cancel()}function qc(e){return e!=null&&e.isCancelled}const Xc=new Ci;function Jc(e){return vt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Zc(e,t){return Qc(e,t)}function Kc(e,t){return Zc(e,t)}function Qc(e,t,n,r,a){typeof t!="function"&&(a=t,t=void 0);const o=new ua;e({onSuccess:t||la,onError:la,onCancel:la,cancelToken:a||Xc,trampoline:o})}class Ti extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class ef extends fe{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class tf extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Yn extends Z{constructor(t,n,r,a,o,i,s,u){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=a,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=s,this.content=u}}class Ft extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Mi extends Z{constructor(t,n,r,a,o,i){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=a,this.responseHeaders=o,this.content=i}}const nf=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],rf=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],af=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],of=["January","February","March","April","May","June","July","August","September","October","November","December"];function he(e,t,n){let r=0,a=t;for(;a<e.length&&e[a]===n;)a++,r++;return r}function Ai(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function sf(e,t){let n=t;const r=e[t];let a="",o=!1;for(;t<e.length;){t++;const i=e[t];if(i===r){o=!0;break}else if(i==="\\")if(t<e.length)t++,a+=e[t];else throw new Error("Invalid string format");else a+=i}if(!o)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[a,t-n+1]}function ca(e,t,n){let r=0,a=0,o="";const i=n?at(e.getTime(),1):e;for(;r<t.length;){const s=t[r];switch(s){case"d":switch(a=he(t,r,"d"),r+=a,a){case 1:o+=$i(i);break;case 2:o+=V($i(i),2);break;case 3:o+=nf[Fi(i)];break;case 4:o+=rf[Fi(i)];break}break;case"f":if(a=he(t,r,"f"),r+=a,a<=3){const g=10**(3-a);o+=V(Math.floor(Jn(i)/g),a)}else a<=7&&(o+=(""+Jn(i)).padEnd(a,"0"));break;case"F":if(a=he(t,r,"F"),r+=a,a<=3){const g=10**(3-a),_=Math.floor(Jn(i)/g);_!=0&&(o+=V(_,a))}else if(a<=7){const g=Jn(i);g!=0&&(o+=V(g,3))}break;case"g":a=he(t,r,"g"),r+=a,a<=2&&(o+="A.D.");break;case"h":switch(a=he(t,r,"h"),r+=a,a){case 1:o+=Xn(i)%12;break;case 2:o+=V(Xn(i)%12,2);break}break;case"H":switch(a=he(t,r,"H"),r+=a,a){case 1:o+=Xn(i);break;case 2:o+=V(Xn(i),2);break}break;case"K":switch(a=he(t,r,"K"),r+=a,a){case 1:switch(Ii(i)){case 1:o+="Z";break;case 2:o+=Rt(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(a=he(t,r,"m"),r+=a,a){case 1:o+=Ni(i);break;case 2:o+=V(Ni(i),2);break}break;case"M":switch(a=he(t,r,"M"),r+=a,a){case 1:o+=Zn(i);break;case 2:o+=V(Zn(i),2);break;case 3:o+=af[Zn(i)-1];break;case 4:o+=of[Zn(i)-1];break}break;case"s":switch(a=he(t,r,"s"),r+=a,a){case 1:o+=Di(i);break;case 2:o+=V(Di(i),2);break}break;case"t":switch(a=he(t,r,"t"),r+=a,a){case 1:o+=i.getHours()<12?"A":"P";break;case 2:o+=i.getHours()<12?"AM":"PM";break}break;case"y":switch(a=he(t,r,"y"),r+=a,a){case 1:o+=i.getFullYear()%100;break;case 2:o+=V(i.getFullYear()%100,2);break;case 3:o+=V(i.getFullYear(),3);break;case 4:o+=V(i.getFullYear(),4);break;case 5:o+=V(i.getFullYear(),5);break}break;case"z":a=he(t,r,"z"),r+=a;let u="";switch(Ii(i)){case 1:u="+00:00";break;case 2:u=Rt(i.getTimezoneOffset()*-6e4);break;case 0:u=Rt(gf(i).getTimezoneOffset()*-6e4);break}const l=u[0]==="-"?"-":"+",f=parseInt(u.substring(1,3),10),c=parseInt(u.substring(4,6),10);switch(a){case 1:o+=`${l}${f}`;break;case 2:o+=`${l}${V(f,2)}`;break;default:o+=`${l}${V(f,2)}:${V(c,2)}`;break}break;case":":o+=":",r++;break;case"/":o+="/",r++;break;case"'":case'"':const[m,d]=sf(t,r);o+=m,r+=d;break;case"%":const h=Ai(t,r);if(h>=0&&h!==37)r+=2,o+=ca(i,String.fromCharCode(h),n);else throw new Error("Invalid format string");break;case"\\":const y=Ai(t,r);if(y>=0)r+=2,o+=String.fromCharCode(y);else throw new Error("Invalid format string");break;default:r++,o+=s;break}}return o}function Ii(e){return e.kind||0}function Rt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+V(n,2)+":"+V(r,2)}function qn(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function uf(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return V(e.getFullYear(),4)+"-"+V(e.getMonth()+1,2)+"-"+V(e.getDate(),2)+"T"+V(e.getHours(),2)+":"+V(e.getMinutes(),2)+":"+V(e.getSeconds(),2)+"."+V(e.getMilliseconds(),3)+(n?Rt(e.getTimezoneOffset()*-6e4):"")}}function lf(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Rt(t)}function cf(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Rt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return qn(n,"first");case"T":case"t":return qn(n,"second");case"O":case"o":return lf(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return ca(n,t,!0)}function ff(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?qn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?qn(e,"second"):e.toLocaleTimeString();case"O":case"o":return uf(e,n);default:throw new Error("Unrecognized Date print format")}else return ca(e,t,n)}function fa(e,t,n){return e.offset!=null?cf(e,t):ff(e,t)}function at(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function df(){return at(-621355968e5,1)}function Oi(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const a=/^\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(a!=null){let o,i=0;if(a[2]!=null){const s=a[2].split(":"),u=parseInt(s[0],10);i=u*3600+parseInt(s[1]||"0",10)*60+parseFloat(s[2]||"0"),a[3]!=null&&a[3].toUpperCase()==="PM"&&u<12&&(i+=720)}if(a[4]!=null){if(a[1]!=null)o=new Date(a[1]+" UTC");else{const s=new Date;o=new Date(s.getUTCFullYear()+"/"+(s.getUTCMonth()+1)+"/"+s.getUTCDate())}if(a[4]==="Z")r="Z";else{let s=parseInt(a[5],10)*60+parseInt(a[6]||"0",10);a[4][0]==="-"&&(s*=-1),r=s,i-=s*60}}else if(a[1]!=null)o=new Date(a[1]);else{const s=new Date;o=new Date(s.getFullYear()+"/"+(s.getMonth()+1)+"/"+s.getDate())}n=new Date(o.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function mf(e,t=!1){const[n,r]=Oi(e),a=r!=null?t&&r==="Z"?1:2:0;return at(n.getTime(),a)}function hf(e,t){try{return t.contents=mf(e),!0}catch{return!1}}function Pi(){return at(Date.now(),1)}function pf(e){return e.kind===1?e:at(e.getTime(),1)}function gf(e){return e.kind===2?e:at(e.getTime(),2)}function $i(e){return e.kind===1?e.getUTCDate():e.getDate()}function Xn(e){return e.kind===1?e.getUTCHours():e.getHours()}function Jn(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function Ni(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Zn(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function Di(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function Fi(e){return e.kind===1?e.getUTCDay():e.getDay()}function yf(e,t){const n=at(e.getTime()+t,e.kind);if(e.kind!==1){const r=e.getTimezoneOffset(),a=n.getTimezoneOffset();return r!==a?at(n.getTime()+(a-r)*6e4,e.kind):n}else return n}function _f(e,t){return yf(e,t*864e5)}const Ri=ea;function bf(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function Li(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function ji(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let a,o=-1;for(;(a=e.exec(t))!=null;)a.index===o?e.lastIndex++:(o=a.index,r.push(a));return r}function vf(e,t,n,r,a=0){function o(){let i=arguments[0];if(r){r--;const s=[],u=arguments.length,l=typeof arguments[u-1]!="string";let f=l?u-3:u-2;for(let c=0;c<f;c++)s.push(arguments[c]);s.index=arguments[f++],s.input=arguments[f++],l&&(s.groups=arguments[f]),i=n(s)}return i}if(typeof e=="string"){const i=e;e=bf(t,r??0),t=i,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,a)+t.substring(a).replace(e,o);if(n=n.replace(/\$0/g,i=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let i;const s=t.substring(a),u=ji(e,s),l=ji.length>r?(i=u[r-1],s.substring(0,i.index+i[0].length)):s;return t.substring(0,a)+l.replace(e,n)+t.substring(a+l.length)}else return t.replace(e,n)}const mn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,wf=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function zi(e,t){return Cc(e,t)<0}function Lt(e){return{input:e,cont:xf(e)}}function Vi(e,t){return typeof t=="string"?e(t):t.cont(e)}function hn(e){return Vi(t=>t,e)}function Sf(e){return Vi(t=>{throw new Error(t)},e)}function kf(e,t,n,r,a){let o="";if(t=t||"",a=a||"",wi(e))switch(a.toLowerCase()!=="x"&&(zi(e,0)?(e=ra(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=r==null?null:parseInt(r,10),a){case"f":case"F":r=r??6,e=zn(e,r);break;case"g":case"G":e=r!=null?Vn(e,r):Vn(e);break;case"e":case"E":e=r!=null?Hn(e,r):Hn(e);break;case"x":e=Wn(e);break;case"X":e=Wn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=fa(e):e=$e(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=o+e;else{const i=t.indexOf("0")>=0,s=t.indexOf("-")>=0,u=s||!i?" ":"0";u==="0"?(e=pn(e,n-o.length,u,s),e=o+e):e=pn(o+e,n,u,s)}return e}function Hi(e,t,n,r="",a=-1){return(...o)=>{let i=r;const s=t.slice(),u=n.slice();for(const l of o){const[,,f,c,m,d]=u[0];let h=c;if(a>=0)h=a,a=-1;else if(h==="*"){if(l<0)throw new Error("Non-negative number required");a=l;continue}i+=s[0],i+=kf(l,f,h,m,d),s.splice(0,1),u.splice(0,1)}return u.length===0?(i+=s[0],e(i)):Hi(e,s,u,i,a)}}function xf(e){return t=>{mn.lastIndex=0;const n=[],r=[];let a=0,o=mn.exec(e);for(;o;){const i=o.index+(o[1]||"").length;n.push(e.substring(a,i).replace(/%%/g,"%")),r.push(o),a=mn.lastIndex,mn.lastIndex-=1,o=mn.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(a).replace(/%%/g,"%")),Hi(t,n,r))}}function Cf(e,...t){let n;return n=e,n.replace(wf,(r,a,o,i,s,u)=>{if(a<0||a>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let l=t[a];if(wi(l))switch(s=s==null?null:parseInt(s,10),i){case"f":case"F":s=s??2,l=zn(l,s);break;case"g":case"G":l=s!=null?Vn(l,s):Vn(l);break;case"e":case"E":l=s!=null?Hn(l,s):Hn(l);break;case"p":case"P":s=s??2,l=zn(ra(l,100),s)+" %";break;case"d":case"D":l=s!=null?da(String(l),s,"0"):String(l);break;case"x":case"X":l=s!=null?da(Wn(l),s,"0"):Wn(l),i==="X"&&(l=l.toUpperCase());break;default:if(u){let f="";l=u.replace(/([0#,]+)(\.[0#]+)?/,(c,m,d)=>{zi(l,0)&&(l=ra(l,-1),f="-"),d=d==null?"":d.substring(1),l=zn(l,Math.max(d.length,0));let[h,y]=l.split(".");y||(y="");const g=m.replace(/,/g,"").replace(/^#+/,"").length;h=da(h,g,"0");const _=d.replace(/#+$/,"").length;if(_>y.length?y=Tf(y,_,"0"):_<y.length&&(y=y.substring(0,_)+y.substring(_).replace(/0+$/,"")),m.indexOf(",")>0){const b=h.length%3,k=Math.floor(h.length/3);let F=b>0?h.substr(0,b)+(k>0?",":""):"";for(let D=0;D<k;D++)F+=h.substr(b+D*3,3)+(D<k-1?",":"");h=F}return y.length>0?h+"."+y:h}),l=f+l}}else l instanceof Date?l=fa(l,u||i):l=$e(l);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(l=pn(String(l),Math.abs(o)," ",o<0)),l})}function Ef(e){return typeof e!="string"||e.length===0}function Ye(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function pn(e,t,n,r){n=n||" ",t=t-e.length;for(let a=0;a<t;a++)e=r?e+n:n+e;return e}function da(e,t,n){return pn(e,t,n)}function Tf(e,t,n){return pn(e,t,n,!0)}function Mf(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const a=(r&1)===1,o=(r&2)===2;t=t||[],t=t.filter(f=>f).map(Li),t=t.length>0?t:["\\s"];const i=[],s=new RegExp(t.join("|"),"g");let u=!0,l=0;do{const f=s.exec(e);if(f===null){const c=o?e.substring(l).trim():e.substring(l);(!a||c.length>0)&&i.push(c),u=!1}else{const c=o?e.substring(l,f.index).trim():e.substring(l,f.index);(!a||c.length>0)&&(n!=null&&i.length+1===n?(i.push(o?e.substring(l).trim():e.substring(l)),u=!1):i.push(c)),l=s.lastIndex}}while(u);return i}function Af(e,...t){if(t.length===0)return e.trim();const n="["+Li(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const Wi="Collection was empty.";function Ui(e,t){return new Array(t)}function Gi(e,t){return e>t?e:t}function ma(e,t,n,r){const a=t|0;return e.fill(r,a,a+n)}function Kn(e,t,n){const r=t.length|0,a=Ui(n,r);for(let o=0;o<=r-1;o++)qe(a,o,e(oe(o,t)));return a}function If(e,t){const n=Ui(t,1);return qe(n,0,e),n}function Of(e){return e.slice().reverse()}function Pf(e,t){return t.find(e)}function $f(e,t,n){const r=[];for(let a=0;a<=t.length-1;a++){const o=e(oe(a,t));if(o!=null){const i=v(o);r.push(i)}}return re(n,We())?r:Kn(a=>a,r,n)}function Qn(e,t,n){const r=e;return n.reduce(r,t)}function oe(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 qe(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function Bi(e,t,n){return t.reduceRight((r,a)=>e(a,r),n)}class le extends Z{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+Ye("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((a,o)=>{e:for(;;){const i=a,s=o,u=i.tail,l=s.tail;if(u!=null)if(l!=null){const f=v(u),c=v(l);if(re(i.head,s.head)){a=f,o=c;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,a,o)=>{e:for(;;){const i=r,s=a,u=o,l=u.tail;if(l!=null){const f=v(l);if(i>18)return s|0;r=i+1,a=(s<<1)+Ge(u.head)+631*i,o=f;continue e}else return s|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((a,o)=>{e:for(;;){const i=a,s=o,u=i.tail,l=s.tail;if(u!=null)if(l!=null){const f=v(u),c=v(l),m=be(i.head,s.head)|0;if(m===0){a=f,o=c;continue e}else return m|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return Df(this)}[Symbol.iterator](){return cn(W(this))}"System.Collections.IEnumerable.GetEnumerator"(){return W(this)}}class Nf{constructor(t){this.xs=t,this.it=this.xs,this.current=We()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=v(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=We()}Dispose(){}}function Df(e){return new Nf(e)}function K(){return new le(We(),void 0)}function gn(e,t){return new le(e,t)}function ot(e){return e.tail==null}function Yi(e){return((n,r)=>{e:for(;;){const a=n,i=r.tail;if(i!=null){n=a+1,r=v(i);continue e}else return a|0}})(0,e)|0}function jt(e){if(e.tail!=null)return e.head;throw new Error(Wi+"\\nParameter name: list")}function ce(e){const t=e.tail;if(t!=null)return v(t);throw new Error(Wi+"\\nParameter name: list")}function ee(){return K()}function ve(e,t){return gn(e,t)}function it(e){return gn(e,K())}function $(e){return ot(e)}function qi(e){return Yi(e)}function C(e){return jt(e)}function P(e){return ce(e)}function Ff(e){e:for(;;){const t=e;if(ot(t))return;{const n=ce(t);if(ot(n))return ae(jt(t));e=n;continue e}}}function zt(e){const t=Yi(e)|0,n=ma(new Array(t),0,t,null);return((a,o)=>{e:for(;;){const i=a,s=o;if(!ot(s)){qe(n,i,jt(s)),a=i+1,o=ce(s);continue e}break}})(0,e),n}function Xe(e,t,n){let r=t,a=n;for(;!ot(a);)r=e(r,C(a)),a=ce(a);return r}function ha(e){return Xe((t,n)=>gn(n,t),K(),e)}function Rf(e,t,n){return Bi(e,zt(t),n)}function er(e,t){Xe((n,r)=>{e(r)},void 0,t)}function G(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=gn(oe(r,e),n);return n}function te(e){return G(e,K())}function Lf(e){let t,n;if(Pe(e))return te(e);if(e instanceof le)return e;{const r=K();let a=r;const o=W(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();a=(t=a,n=new le(u,void 0),t.tail=n,n)}}finally{L(o)}const i=a,s=K();return i.tail=s,ce(r)}}function pa(e,t){return Xe((n,r)=>gn(r,n),t,ha(e))}function jf(e,t){let n,r;const a=K();let o=a,i=t;for(;!ot(i);){let l=e(jt(i));for(;!ot(l);)o=(n=o,r=new le(jt(l),void 0),n.tail=r,r),l=ce(l);i=ce(i)}const s=o,u=K();return s.tail=u,ce(a)}function tr(e,t){const n=K(),r=Xe((o,i)=>{const s=new le(e(i),void 0);return o.tail=s,s},n,t),a=K();return r.tail=a,ce(n)}function zf(e,t){return(r=>{e:for(;;){const a=r;if(ot(a))return;{const o=e(jt(a));if(o==null){r=ce(a);continue e}else return o}}})(t)}function Xi(e,t){return zf(n=>e(n)?ae(n):void 0,t)}function Ji(e,t){const n=K(),r=Xe((o,i)=>{if(e(i)){const s=new le(i,void 0);return o.tail=s,s}else return o},n,t),a=K();return r.tail=a,ce(n)}function Vf(e,t){const n=K(),r=K(),a=n,o=Xe((u,l)=>{let f,c;const m=u[0],d=u[1];return e(l)?[(f=new le(l,void 0),m.tail=f,f),d]:[m,(c=new le(l,void 0),d.tail=c,c)]},[a,r],t),i=K();o[0].tail=i;const s=K();return o[1].tail=s,[ce(a),ce(r)]}function Hf(e,t){const n=K(),r=Xe((o,i)=>{const s=e(i);if(s==null)return o;{const u=new le(v(s),void 0);return o.tail=u,u}},n,t),a=K();return r.tail=a,ce(n)}function Zi(e,t){const n=zt(t);return n.sort(e),te(n)}function Wf(e,t){return Zi((n,r)=>t.Compare(n,r),e)}function Uf(e,t,n){return Zi((r,a)=>n.Compare(e(r),e(a))*-1,t)}function Gf(e){throw new Error(e)}const Bf="Enumeration already finished.",Yf="Enumeration has not started. Call MoveNext.",Ki="The input sequence has an insufficient number of elements.",qf="Reset is not supported on this enumerator.";function Xf(){throw new Error(qf)}function ga(){throw new Error(Yf)}function ya(){throw new Error(Bf)}class Jf{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const a=W(t);try{for(;n<4&&a["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+$e(a["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{L(a)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return cn(W(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Zf(e){return new Jf(e)}class Kf{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Xf()}Dispose(){this.dispose()}}function nr(e,t,n){return new Kf(e,t,n)}function Qf(e){let t,n,r=!1,a=!1,o;const i=()=>{if(a=!0,n!=null){const s=v(n);try{L(s)}finally{n=void 0}}if(t!=null){const s=v(t);try{L(s)}finally{t=void 0}}};return nr(()=>(r?a&&ya():ga(),o!=null?v(o):ya()),()=>{let s;if(r||(r=!0),a)return!1;{let u;for(;u==null;){const l=t,f=n;if(l!=null)if(f!=null){const c=v(f);if(c["System.Collections.IEnumerator.MoveNext"]())o=ae(c["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{L(c)}finally{n=void 0}}else{const c=v(l);c["System.Collections.IEnumerator.MoveNext"]()?n=(s=c["System.Collections.Generic.IEnumerator`1.get_Current"](),W(s)):(i(),u=!1)}else t=W(e)}return v(u)}},()=>{a||i()})}function ed(e,t){return nr(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{L(t)}finally{}})}function Qi(e,t,n){let r=!1,a,o=ae(e());const i=()=>{if(o!=null){const u=v(o);try{n(u)}finally{o=void 0}}},s=()=>{try{i()}finally{a=void 0}};return nr(()=>(r||ga(),a!=null?v(a):ya()),()=>{if(r||(r=!0),o!=null){const u=v(o);let l;try{l=t(u)}catch(f){throw s(),f}return l!=null?(a=l,!0):(s(),!1)}else return!1},i)}function td(e,t){let n,r=t;return nr(()=>{if(n!=null){const a=v(n)[0];return v(n)[1],a}else return ga()},()=>(n=e(r),n!=null?(v(n)[0],r=v(n)[1],!0):!1),()=>{})}function nd(e,t){t==null&&Gf(e)}function Vt(e){return Zf(e)}function st(e){return nd("source",e),W(e)}function O(e){return Vt(()=>W(e()))}function _a(e){return Vt(()=>Qf(e))}function rd(e,t){return Vt(()=>td(e,t))}function ad(){return O(()=>new Array(0))}function A(e){return O(()=>If(e))}function L1(e){return e}function od(e){return e instanceof le?zt(e):Array.from(e)}function De(e){return Pe(e)?te(e):e instanceof le?e:Lf(e)}function es(e,t,n){return Vt(()=>Qi(e,t,n))}function id(e,t,n){return Vt(()=>{let r=-1;return Qi(e,a=>(r=r+1|0,t(r,a)),n)})}function Y(e,t){return _a([e,t])}function sd(e,t){return es(()=>st(t),n=>{let r;for(;r==null&&n["System.Collections.IEnumerator.MoveNext"]();)r=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return r},n=>{L(n)})}function ud(e,t,n){const r=st(t);try{const a=st(n);try{let o=0,i=r["System.Collections.IEnumerator.MoveNext"](),s=a["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&i&&s;)o=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),a["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),s=a["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:i?1:s?-1:0)|0}finally{L(a)}}finally{L(r)}}function Ht(e,t,n){const r=st(t);try{let a=!1;for(;!a&&r["System.Collections.IEnumerator.MoveNext"]();)a=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return a}finally{L(r)}}function ld(e,t){return sd(n=>{if(e(n))return ae(n)},t)}function ba(e,t,n){const r=st(n);try{let a=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)a=e(a,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return a}finally{L(r)}}function rr(e,t){ba((n,r)=>{e(r)},void 0,t)}function cd(e,t){ba((n,r)=>(e(n,r),n+1|0),0,t)}function we(e,t){return es(()=>st(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ae(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{L(n)})}function fd(e){return O(()=>Of(od(e)))}function dd(e,t){return Vt(()=>{const n=st(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Ki+"\\nParameter name: source");return ed(()=>{},n)}catch(r){throw L(n),r}})}function md(e,t){return id(()=>st(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ae(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Ki+"\\nParameter name: source")}else return},n=>{L(n)})}function va(e,t){return O(()=>_a(we(e,t)))}class ts{constructor(t,n){this.k=t,this.v=n}}function ar(e,t){return new ts(e,t)}function ie(e){return e.k}function pe(e){return e.v}class J extends ts{constructor(t,n,r,a,o){super(t,n),this.left=r,this.right=a,this.h=o|0}}function or(e,t,n,r,a){return new J(e,t,n,r,a)}function se(e){return e.left}function ue(e){return e.right}function wt(e){return e.h}function j1(){}function ns(e,t){e:for(;;){const n=e,r=t;if(r!=null){const a=v(r);if(a instanceof J){const o=a;e=ns(n+1,se(o)),t=ue(o);continue e}else return n+1|0}else return n|0}}function hd(e){return ns(0,e)}function Ee(e,t,n,r){let a,o,i;const s=e;if(s!=null){const c=v(s);i=c instanceof J?(a=c,wt(a)):1}else i=0;let u;const l=r;if(l!=null){const c=v(l);u=c instanceof J?(o=c,wt(o)):1}else u=0;const f=(i<u?u:i)|0;return f===0?ar(t,n):or(t,n,e,r,f+1)}function rs(e,t,n,r){let a,o,i,s,u,l,f,c,m;const d=e;if(d!=null){const g=v(d);m=g instanceof J?(a=g,wt(a)):1}else m=0;let h;const y=r;if(y!=null){const g=v(y);h=g instanceof J?(o=g,wt(o)):1}else h=0;if(h>m+2){const g=v(r);if(g instanceof J){const _=g;if(i=se(_),(i!=null?(s=v(i),s instanceof J?(u=s,wt(u)):1):0)>m+1){const b=v(se(_));if(b instanceof J){const k=b;return Ee(Ee(e,t,n,se(k)),ie(k),pe(k),Ee(ue(k),ie(_),pe(_),ue(_)))}else throw new Error("internal error: Map.rebalance")}else return Ee(Ee(e,t,n,se(_)),ie(_),pe(_),ue(_))}else throw new Error("internal error: Map.rebalance")}else if(m>h+2){const g=v(e);if(g instanceof J){const _=g;if(l=ue(_),(l!=null?(f=v(l),f instanceof J?(c=f,wt(c)):1):0)>h+1){const b=v(ue(_));if(b instanceof J){const k=b;return Ee(Ee(se(_),ie(_),pe(_),se(k)),ie(k),pe(k),Ee(ue(k),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ee(se(_),ie(_),pe(_),Ee(ue(_),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ee(e,t,n,r)}function Wt(e,t,n,r){if(r!=null){const a=v(r),o=e.Compare(t,ie(a))|0;if(a instanceof J){const i=a;return o<0?rs(Wt(e,t,n,se(i)),ie(i),pe(i),ue(i)):o===0?or(t,n,se(i),ue(i),wt(i)):rs(se(i),ie(i),pe(i),Wt(e,t,n,ue(i)))}else return o<0?or(t,n,void 0,r,2):o===0?ar(t,n):or(t,n,r,void 0,2)}else return ar(t,n)}function as(e,t,n){e:for(;;){const r=e,a=t,o=n;if(o!=null){const i=v(o),s=r.Compare(a,ie(i))|0;if(s===0)return ae(pe(i));if(i instanceof J){const u=i;e=r,t=a,n=s<0?se(u):ue(u);continue e}else return}else return}}function pd(e,t,n){const r=as(e,t,n);if(r==null)throw new Error;return v(r)}function gd(e,t,n){e:for(;;){const r=e,a=t,o=n;if(o!=null){const i=v(o),s=r.Compare(a,ie(i))|0;if(i instanceof J){const u=i;if(s<0){e=r,t=a,n=se(u);continue e}else{if(s===0)return!0;e=r,t=a,n=ue(u);continue e}}else return s===0}else return!1}}function os(e,t){e:for(;;){const n=e,r=t;if(r!=null){const a=v(r);if(a instanceof J){const o=a;os(n,se(o)),n(ie(o),pe(o)),e=n,t=ue(o);continue e}else n(ie(a),pe(a))}break}}function yd(e,t){os(e,t)}function _d(e,t,n){let r=n;yd((a,o)=>{qe(t,r,[a,o]),r=r+1|0},e)}function bd(e,t){return Xe((n,r)=>Wt(e,r[0],r[1],n),void 0,t)}function vd(e,t,n){e:for(;;){const r=e,a=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){const i=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Wt(r,i[0],i[1],a),n=o;continue e}else return a}}function wd(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const a=oe(r,t);n=Wt(e,a[0],a[1],n)}return n}function is(e,t){if(Pe(t))return wd(e,t);if(t instanceof le)return bd(e,t);{const n=W(t);try{return vd(e,void 0,n)}finally{L(n)}}}class Sd extends Z{constructor(t,n){super(),this.stack=t,this.started=n}}function ss(e){e:for(;;){const t=e;if($(t))return ee();{const n=P(t),r=C(t);if(r!=null){const a=v(r);if(a instanceof J){const o=a;e=G([se(o),ar(ie(o),pe(o)),ue(o)],n);continue e}else return t}else{e=n;continue e}}}}function us(e){return new Sd(ss(it(e)),!1)}function kd(){throw new Error("enumeration not started")}function xd(){throw new Error("enumeration already finished")}function ls(e){if(e.started){const t=e.stack;if($(t))return xd();if(C(t)!=null){const n=v(C(t));if(n instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ie(n),pe(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return kd()}function Cd(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(v(C(t))instanceof J)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ss(P(t)),!$(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function cs(e){let t=us(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return ls(t)},"System.Collections.IEnumerator.get_Current"(){return ls(t)},"System.Collections.IEnumerator.MoveNext"(){return Cd(t)},"System.Collections.IEnumerator.Reset"(){t=us(e)},Dispose(){}}}class ir{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Ad(this)|0}Equals(t){const n=this;if(t instanceof ir){const r=t,a=W(n);try{const o=W(r);try{const i=()=>{const s=a["System.Collections.IEnumerator.MoveNext"]();if(s===o["System.Collections.IEnumerator.MoveNext"]())if(s){const u=a["System.Collections.Generic.IEnumerator`1.get_Current"](),l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return re(u[0],l[0])&&re(u[1],l[1])?i():!1}else return!0;else return!1};return i()}finally{L(o)}}finally{L(a)}}else return!1}toString(){return"map ["+Ye("; ",we(n=>Cf("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return cs(this.tree)}[Symbol.iterator](){return cn(W(this))}"System.Collections.IEnumerable.GetEnumerator"(){return cs(this.tree)}CompareTo(t){const n=this;if(t instanceof ir)return ud((a,o)=>{const i=n.comparer.Compare(a[0],o[0])|0;return(i!==0?i:be(a[1],o[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return ds(n,t[0])&&re(fs(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){_d(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return wa(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return wa(this)|0}get size(){return wa(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return we(n=>[n[0],n[1]],this)}get(t){return fs(this,t)}has(t){return ds(this,t)}keys(){return we(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return we(n=>n[1],this)}forEach(t,n){const r=this;rr(a=>{t(a[1],a[0],r)},r)}}function sr(e,t){return new ir(e,t)}function Ed(e){return sr(e,void 0)}function Td(e,t,n){return sr(e.comparer,Wt(e.comparer,t,n,e.tree))}function fs(e,t){return pd(e.comparer,t,e.tree)}function wa(e){return hd(e.tree)}function ds(e,t){return gd(e.comparer,t,e.tree)}function Md(e,t){return as(e.comparer,t,e.tree)}function Ad(e){const t=(a,o)=>(a<<1)+o+631;let n=0;const r=W(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const a=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ge(a[0]))|0,n=t(n,Ge(a[1]))|0}}finally{L(r)}return n|0}function Id(e,t,n){return Td(n,e,t)}function Od(e,t){return Md(t,e)}function Pd(e,t){return sr(t,is(t,e))}function $d(e,t){return sr(t,is(t,e))}function ms(e){return Ed(e)}function Nd(e){return new ef("Authorization",e)}const St=new Yn("",new Ti(0,[]),ee(),!1,void 0,void 0,void 0,new tf(0,[]));new Mi(0,"","","",ms({Compare:Rn}),new Ft(0,[""]));function hs(e,t){return Ef(t)?new Array(0):Mf(t,[e],void 0,0)}function Dd(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 Fd(e){return new Yn(e,St.method,St.headers,St.withCredentials,St.overridenMimeType,St.overridenResponseType,St.timeout,St.content)}function Rd(e,t){return new Yn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ld(e,t){return new Yn(t.url,t.method,pa(t.headers,it(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function ps(e){return Jc(t=>{const n=new XMLHttpRequest;n.open(Dd(e.method),e.url),n.onreadystatechange=()=>{let u,l,f,c,m,d,h;n.readyState===4&&t[0]((u=(l=n.responseType,l===""||l==="text"?n.responseText:""),f=n.status|0,c=n.responseType,m=(d=n.responseType,d===""?new Ft(0,[n.responseText]):d==="text"?new Ft(0,[n.responseText]):d==="arraybuffer"?new Ft(2,[n.response]):d==="blob"?new Ft(1,[n.response]):new Ft(3,[n.response])),h=$d($f(y=>{const g=te(hs(":",y));if(!$(g))return[C(g).toLocaleLowerCase(),Ye(":",P(g)).trim()]},hs(`\r
5
+ `,n.getAllResponseHeaders())),{Compare:Rn}),new Mi(f,u,c,n.responseURL,h,m)))};const r=W(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const u=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(u.fields[0],u.fields[1])}}finally{L(r)}n.withCredentials=e.withCredentials;const a=e.overridenMimeType;if(a!=null){const u=a;n.overrideMimeType(u)}const o=e.overridenResponseType;if(o!=null)switch(o.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const i=e.timeout;if(i!=null){const u=i|0;n.timeout=u|0}const s=e.content;switch(s.tag){case 1:{n.send(ae(s.fields[0]));break}case 3:{n.send(ae(s.fields[0]));break}case 2:{n.send(ae(s.fields[0]));break}default:n.send()}})}function jd(e){return new p(0,[e])}function gs(e){return new p(1,[e])}class p extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Je(e,t){return t.tag===0?jd(e(t.fields[0])):gs(t.fields[0])}function zd(e,t){return t.tag===0?e(t.fields[0]):gs(t.fields[0])}function Vd(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function Hd(e,t){return t.has(e)?!1:(t.add(e),!0)}function ys(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class S extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class _s extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function bs(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Wd(e,t){switch(e.tag){case 2:return vf(bs(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return bs(t)}}const Ud=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,vs=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Gd=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Bd(e){function t(r){return r.replace(vs,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ud.test(n))return Af(n,"{","}","(",")");if(vs.test(n))return t(n);if(Gd.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Yd(e,t){try{return t.contents=Bd(e),!0}catch{return!1}}var Sa;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(Sa||(Sa={}));function qd(e,t){const[,n,r,a]=e;return{sign:n||"",prefix:r||"",digits:a,radix:t}}function ws(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 Xd(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 Jd(e,t){if(t&Sa.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 Zd(e,t,n){const a=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(a!=null){const[,,o,i]=a;if(n=n||Jd(o,t),!Xd(n).test(i))return qd(a,n)}return null}function Kd(e,t,n,r,a){const o=Zd(e,t,a);if(o!=null){let i=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(i)){const[s,u]=ws(!0,r);!n&&o.radix!==10&&i>=s&&i<=u&&(i=i<<32-r>>32-r);const[l,f]=ws(n,r);if(i>=l&&i<=f)return i}}throw new Error(`The input string ${e} was not in a correct format.`)}function Ut(e,t,n,r,a){try{return a.contents=Kd(e,t,n,r),!0}catch{return!1}}function Ss(e,t){Qd(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Qd(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 em(){return Ss(-621355968e5,0)}function tm(e){const[t,n]=Oi(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Ss(t.getTime(),r)}function nm(e,t){try{return t.contents=tm(e),!0}catch{return!1}}function ks(e=0,t=0,n=0,r=0,a=0){switch(arguments.length){case 1:return rm(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],a=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+a}function rm(e){return Number(BigInt(e)/10000n)}function am(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return ks(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let a=0,o=0,i=0;const s=r[1]!=null&&r[1]==="-"?-1:1,u=+r[4],l=+r[5];if(r[3]!=null&&(a=+r[3]),r[7]!=null&&(i=+r[7]),r[8]!=null)switch(r[8].length){case 1:o=+r[8]*100;break;case 2:o=+r[8]*10;break;case 3:o=+r[8];break;case 4:o=+r[8]/10;break;case 5:o=+r[8]/100;break;case 6:o=+r[8]/1e3;break;case 7:o=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return s*ks(a,u,l,i,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function om(e,t){try{return t.contents=am(e),!0}catch{return!1}}class im{constructor(t,n){const r=new de(We());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const a=W(t);try{for(;a["System.Collections.IEnumerator.MoveNext"]();){const o=a["System.Collections.Generic.IEnumerator`1.get_Current"]();xa(r.contents,o)}}finally{L(a)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return W(this)}GetEnumerator(){return W(_a(this.hashMap.values()))}[Symbol.iterator](){return cn(W(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){xa(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){xs(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Es(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){cd((a,o)=>{qe(t,n+a,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Cs(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return Ts(this,t)}get size(){return Cs(this)|0}add(t){const n=this;return xa(n,t),n}clear(){xs(this)}delete(t){return Ts(this,t)}has(t){return Es(this,t)}keys(){return we(n=>n,this)}values(){return we(n=>n,this)}entries(){return we(n=>[n,n],this)}forEach(t,n){const r=this;rr(a=>{t(a,a,r)},r)}}function ka(e,t){const n=e.comparer.GetHashCode(t)|0;let r,a=We();return r=[Vd(e.hashMap,n,new de(()=>a,o=>{a=o})),a],r[0]?[!0,n,r[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,n,-1]}function xs(e){e.hashMap.clear()}function Cs(e){let t=0,n=W(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{L(n)}return t|0}function xa(e,t){const n=ka(e,t);return n[0]?n[2]>-1?!1:(ys(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function Es(e,t){const n=ka(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;default:return!1}}function Ts(e,t){const n=ka(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return ys(e.hashMap,n[1]).splice(n[2],1),!0;default:return!1}}class Ms{constructor(t){this.k=t}}function ge(e){return new Ms(e)}function E(e){return e.k}class N extends Ms{constructor(t,n,r,a){super(t),this.left=n,this.right=r,this.h=a|0}}function ye(e,t,n,r){return new N(e,t,n,r)}function z(e){return e.left}function j(e){return e.right}function Gt(e){return e.h}function z1(){}function As(e,t){e:for(;;){const n=e,r=t;if(n!=null){const a=v(n);if(a instanceof N){const o=a;e=z(o),t=As(j(o),r+1);continue e}else return r+1|0}else return r|0}}function sm(e){return As(e,0)}function Te(e,t,n){let r,a,o;const i=e;if(i!=null){const f=v(i);o=f instanceof N?(r=f,Gt(r)):1}else o=0;let s;const u=n;if(u!=null){const f=v(u);s=f instanceof N?(a=f,Gt(a)):1}else s=0;const l=(o<s?s:o)|0;return l===0?ge(t):ye(t,e,n,l+1)}function Is(e,t,n){let r,a,o,i,s,u,l,f,c;const m=e;if(m!=null){const y=v(m);c=y instanceof N?(r=y,Gt(r)):1}else c=0;let d;const h=n;if(h!=null){const y=v(h);d=y instanceof N?(a=y,Gt(a)):1}else d=0;if(d>c+2){const y=v(n);if(y instanceof N){const g=y;if(o=z(g),(o!=null?(i=v(o),i instanceof N?(s=i,Gt(s)):1):0)>c+1){const _=v(z(g));if(_ instanceof N){const b=_;return Te(Te(e,t,z(b)),E(b),Te(j(b),E(g),j(g)))}else throw new Error("internal error: Set.rebalance")}else return Te(Te(e,t,z(g)),E(g),j(g))}else throw new Error("internal error: Set.rebalance")}else if(c>d+2){const y=v(e);if(y instanceof N){const g=y;if(u=j(g),(u!=null?(l=v(u),l instanceof N?(f=l,Gt(f)):1):0)>d+1){const _=v(j(g));if(_ instanceof N){const b=_;return Te(Te(z(g),E(g),z(b)),E(b),Te(j(b),t,n))}else throw new Error("internal error: Set.rebalance")}else return Te(z(g),E(g),Te(j(g),t,n))}else throw new Error("internal error: Set.rebalance")}else return Te(e,t,n)}function Bt(e,t,n){if(n!=null){const r=v(n),a=e.Compare(t,E(r))|0;if(r instanceof N){const o=r;return a<0?Is(Bt(e,t,z(o)),E(o),j(o)):a===0?n:Is(z(o),E(o),Bt(e,t,j(o)))}else{const o=e.Compare(t,E(r))|0;return o<0?ye(t,void 0,n,2):o===0?n:ye(t,n,void 0,2)}}else return ge(t)}function Os(e,t,n){e:for(;;){const r=e,a=t,o=n;if(o!=null){const i=v(o),s=r.Compare(a,E(i))|0;if(i instanceof N){const u=i;if(s<0){e=r,t=a,n=z(u);continue e}else{if(s===0)return!0;e=r,t=a,n=j(u);continue e}}else return s===0}else return!1}}function Ps(e,t){e:for(;;){const n=e,r=t;if(r!=null){const a=v(r);if(a instanceof N){const o=a;Ps(n,z(o)),n(E(o)),e=n,t=j(o);continue e}else n(E(a))}break}}class um extends Z{constructor(t,n){super(),this.stack=t,this.started=n}}function $s(e){e:for(;;){const t=e;if($(t))return ee();{const n=C(t),r=P(t);if(n!=null){const a=v(n);if(a instanceof N){const o=a;e=G([z(o),ge(E(o)),j(o)],r);continue e}else return t}else{e=r;continue e}}}}function Ns(e){return new um($s(it(e)),!1)}function lm(){throw new Error("Enumeration not started")}function cm(){throw new Error("Enumeration already started")}function Ds(e){if(e.started){const t=e.stack;if($(t))return cm();if(C(t)!=null){const n=v(C(t));return E(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return lm()}function fm(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(v(C(t))instanceof N)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=$s(P(t)),!$(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function Fs(e){let t=Ns(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Ds(t)},"System.Collections.IEnumerator.get_Current"(){return Ds(t)},"System.Collections.IEnumerator.MoveNext"(){return fm(t)},"System.Collections.IEnumerator.Reset"(){t=Ns(e)},Dispose(){}}}function dm(e,t,n){e:for(;;){const r=e,a=t,o=n;if($(a))return $(o)?0:-1;if($(o))return 1;if(C(o)!=null)if(C(a)!=null){const i=v(C(a)),s=v(C(o));if(i instanceof N){const u=i;if(z(u)==null)if(s instanceof N){const l=s;if(z(l)==null){const f=r.Compare(E(u),E(l))|0;if(f!==0)return f|0;e=r,t=ve(j(u),P(a)),n=ve(j(l),P(o));continue e}else{let f,c,m,d,h;switch($(a)?$(o)?f=2:C(o)!=null?(f=1,d=P(o),h=v(C(o))):f=2:C(a)!=null?(f=0,c=P(a),m=v(C(a))):$(o)?f=2:C(o)!=null?(f=1,d=P(o),h=v(C(o))):f=2,f){case 0:if(m instanceof N){const y=m;e=r,t=G([z(y),ye(E(y),void 0,j(y),0)],c),n=o;continue e}else{e=r,t=G([void 0,ge(E(m))],c),n=o;continue e}case 1:if(h instanceof N){const y=h;e=r,t=a,n=G([z(y),ye(E(y),void 0,j(y),0)],d);continue e}else{e=r,t=a,n=G([void 0,ge(E(h))],d);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(E(u),E(s))|0;if(l!==0)return l|0;e=r,t=ve(j(u),P(a)),n=ve(void 0,P(o));continue e}else{let l,f,c,m,d;switch($(a)?$(o)?l=2:C(o)!=null?(l=1,m=P(o),d=v(C(o))):l=2:C(a)!=null?(l=0,f=P(a),c=v(C(a))):$(o)?l=2:C(o)!=null?(l=1,m=P(o),d=v(C(o))):l=2,l){case 0:if(c instanceof N){const h=c;e=r,t=G([z(h),ye(E(h),void 0,j(h),0)],f),n=o;continue e}else{e=r,t=G([void 0,ge(E(c))],f),n=o;continue e}case 1:if(d instanceof N){const h=d;e=r,t=a,n=G([z(h),ye(E(h),void 0,j(h),0)],m);continue e}else{e=r,t=a,n=G([void 0,ge(E(d))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(s instanceof N){const u=s;if(z(u)==null){const l=r.Compare(E(i),E(u))|0;if(l!==0)return l|0;e=r,t=ve(void 0,P(a)),n=ve(j(u),P(o));continue e}else{let l,f,c,m,d;switch($(a)?$(o)?l=2:C(o)!=null?(l=1,m=P(o),d=v(C(o))):l=2:C(a)!=null?(l=0,f=P(a),c=v(C(a))):$(o)?l=2:C(o)!=null?(l=1,m=P(o),d=v(C(o))):l=2,l){case 0:if(c instanceof N){const h=c;e=r,t=G([z(h),ye(E(h),void 0,j(h),0)],f),n=o;continue e}else{e=r,t=G([void 0,ge(E(c))],f),n=o;continue e}case 1:if(d instanceof N){const h=d;e=r,t=a,n=G([z(h),ye(E(h),void 0,j(h),0)],m);continue e}else{e=r,t=a,n=G([void 0,ge(E(d))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(E(i),E(s))|0;if(u!==0)return u|0;e=r,t=P(a),n=P(o);continue e}}else{v(C(o));let i,s,u,l,f;switch($(a)?$(o)?i=2:C(o)!=null?(i=1,l=P(o),f=v(C(o))):i=2:C(a)!=null?(i=0,s=P(a),u=v(C(a))):$(o)?i=2:C(o)!=null?(i=1,l=P(o),f=v(C(o))):i=2,i){case 0:if(u instanceof N){const c=u;e=r,t=G([z(c),ye(E(c),void 0,j(c),0)],s),n=o;continue e}else{e=r,t=G([void 0,ge(E(u))],s),n=o;continue e}case 1:if(f instanceof N){const c=f;e=r,t=a,n=G([z(c),ye(E(c),void 0,j(c),0)],l);continue e}else{e=r,t=a,n=G([void 0,ge(E(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(C(a)!=null){v(C(a));let i,s,u,l,f;switch($(a)?$(o)?i=2:C(o)!=null?(i=1,l=P(o),f=v(C(o))):i=2:C(a)!=null?(i=0,s=P(a),u=v(C(a))):$(o)?i=2:C(o)!=null?(i=1,l=P(o),f=v(C(o))):i=2,i){case 0:if(u instanceof N){const c=u;e=r,t=G([z(c),ye(E(c),void 0,j(c),0)],s),n=o;continue e}else{e=r,t=G([void 0,ge(E(u))],s),n=o;continue e}case 1:if(f instanceof N){const c=f;e=r,t=a,n=G([z(c),ye(E(c),void 0,j(c),0)],l);continue e}else{e=r,t=a,n=G([void 0,ge(E(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=P(a),n=P(o);continue e}}}function Rs(e,t,n){return t==null?n==null?0:-1:n==null?1:dm(e,it(t),it(n))|0}function mm(e,t,n){let r=n;Ps(a=>{qe(t,r,a),r=r+1|0},e)}function hm(e,t,n){e:for(;;){const r=e,a=t,o=n;if(o["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Bt(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),a),n=o;continue e}else return a}}function pm(e,t){return Qn((n,r)=>Bt(e,r,n),void 0,t)}function gm(e,t){return Xe((n,r)=>Bt(e,r,n),void 0,t)}function Ls(e,t){if(Pe(t))return pm(e,t);if(t instanceof le)return gm(e,t);{const n=W(t);try{return hm(e,void 0,n)}finally{L(n)}}}class Ca{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return bm(this)|0}Equals(t){let n;const r=this;return t instanceof Ca&&(n=t,Rs(Yt(r),Me(r),Me(n))===0)}toString(){return"set ["+Ye("; ",we(n=>$e(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Rs(Yt(n),Me(n),Me(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Os(Yt(n),t,Me(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){mm(Me(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Ea(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Ea(this)|0}GetEnumerator(){return Fs(Me(this))}[Symbol.iterator](){return cn(W(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Fs(Me(this))}get size(){return Ea(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 js(this,t)}keys(){return we(n=>n,this)}values(){return we(n=>n,this)}entries(){return we(n=>[n,n],this)}forEach(t,n){const r=this;rr(a=>{t(a,a,r)},r)}}function ur(e,t){return new Ca(e,t)}function Yt(e){return e.comparer}function Me(e){return e.tree}function ym(e){return ur(e,void 0)}function _m(e,t){return ur(Yt(e),Bt(Yt(e),t,Me(e)))}function Ea(e){return sm(Me(e))}function js(e,t){return Os(Yt(e),t,Me(e))}function bm(e){let t=0;const n=W(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ge(r)+631|0}}finally{L(n)}return Math.abs(t)|0}function Ta(e,t){return js(t,e)}function vm(e,t){return _m(t,e)}function wm(e){return ym(e)}function Sm(e,t){return ur(t,Ls(t,e))}function km(e,t){return ur(t,Ls(t,e))}function yn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
6
+ `:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
7
+ `:" ")}}function xm(e,t){const n=t.tag===2?yn(t.fields[0],t.fields[1],!0):t.tag===1?yn(t.fields[0],t.fields[1],!1)+`
8
+ Reason: `+t.fields[2]:t.tag===3?yn(t.fields[0],t.fields[1],!0):t.tag===4?yn(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
9
+ `+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
10
+
11
+ `+Ye(`
12
+
13
+ `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:yn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function zs(e,t,n){const r=t(e,n);if(r.tag===1){const a=r.fields[0];return new p(1,[xm(a[0],a[1])])}else return new p(0,[r.fields[0]])}function Cm(e,t){try{return zs("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new p(1,["Given an invalid JSON: "+n.message]);throw n}}function Vs(e,t){return typeof t=="string"?new p(0,[t]):new p(1,[[e,new S(0,["a string",t])]])}function Em(e,t){if(typeof t=="string"){const n=t;return n.length===1?new p(0,[n[0]]):new p(1,[[e,new S(0,["a single character string",t])]])}else return new p(1,[[e,new S(0,["a char",t])]])}function Tm(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Yd(t,new de(()=>r,a=>{r=a})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new S(0,["a guid",t])]])}else return new p(1,[[e,new S(0,["a guid",t])]])}function Mm(e,t){return t==null?new p(0,[void 0]):new p(1,[[e,new S(0,["null",t])]])}const Hs=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?-128<=a&&a<=127?new p(0,[(a+128&255)-128]):new p(1,[[n,new S(1,["a sbyte",a,"Value was either too large or too small for a sbyte"])]]):new p(1,[[n,new S(1,["a sbyte",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!1,8,new de(()=>o,i=>{o=i|0})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["a sbyte",r])]])}else return new p(1,[[n,new S(0,["a sbyte",r])]])},Ws=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?0<=a&&a<=255?new p(0,[a&255]):new p(1,[[n,new S(1,["a byte",a,"Value was either too large or too small for a byte"])]]):new p(1,[[n,new S(1,["a byte",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!0,8,new de(()=>o,i=>{o=i})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["a byte",r])]])}else return new p(1,[[n,new S(0,["a byte",r])]])},Us=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?-32768<=a&&a<=32767?new p(0,[(a+32768&65535)-32768]):new p(1,[[n,new S(1,["an int16",a,"Value was either too large or too small for an int16"])]]):new p(1,[[n,new S(1,["an int16",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!1,16,new de(()=>o,i=>{o=i|0})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["an int16",r])]])}else return new p(1,[[n,new S(0,["an int16",r])]])},Gs=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?0<=a&&a<=65535?new p(0,[a&65535]):new p(1,[[n,new S(1,["an uint16",a,"Value was either too large or too small for an uint16"])]]):new p(1,[[n,new S(1,["an uint16",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!0,16,new de(()=>o,i=>{o=i})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["an uint16",r])]])}else return new p(1,[[n,new S(0,["an uint16",r])]])},Bs=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?-2147483648<=a&&a<=2147483647?new p(0,[~~a]):new p(1,[[n,new S(1,["an int",a,"Value was either too large or too small for an int"])]]):new p(1,[[n,new S(1,["an int",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!1,32,new de(()=>o,i=>{o=i|0})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["an int",r])]])}else return new p(1,[[n,new S(0,["an int",r])]])},Ys=e=>t=>{const n=e,r=t;if(typeof r=="number"){const a=r;return isFinite(a)&&Math.floor(a)===a?0<=a&&a<=4294967295?new p(0,[a>>>0]):new p(1,[[n,new S(1,["an uint32",a,"Value was either too large or too small for an uint32"])]]):new p(1,[[n,new S(1,["an uint32",a,"Value is not an integral value"])]])}else if(typeof r=="string"){let a,o=0;return a=[Ut(r,511,!0,32,new de(()=>o,i=>{o=i})),o],a[0]?new p(0,[a[1]]):new p(1,[[n,new S(0,["an uint32",r])]])}else return new p(1,[[n,new S(0,["an uint32",r])]])};function Am(e,t){return typeof t=="boolean"?new p(0,[t]):new p(1,[[e,new S(0,["a boolean",t])]])}function Im(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new S(0,["a float",t])]])}function Om(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new S(0,["a float32",t])]])}function Pm(e,t){if(typeof t=="string"){let n,r=df();return n=[hf(t,new de(()=>r,a=>{r=a})),r],n[0]?new p(0,[pf(n[1])]):new p(1,[[e,new S(0,["a datetime",t])]])}else return new p(1,[[e,new S(0,["a datetime",t])]])}function $m(e,t){if(typeof t=="string"){let n,r=em();return n=[nm(t,new de(()=>r,a=>{r=a})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new S(0,["a datetimeoffset",t])]])}else return new p(1,[[e,new S(0,["a datetime",t])]])}function Nm(e,t){if(typeof t=="string"){let n,r=0;return n=[om(t,new de(()=>r,a=>{r=a})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new S(0,["a timespan",t])]])}else return new p(1,[[e,new S(0,["a timespan",t])]])}function qs(e,t,n,r){let a;const o=n+".["+_t(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(o,oe(e,i)):new p(1,[[o,new S(5,["a longer array. Need index `"+_t(e)+"` but there are only `"+(a=i.length,_t(a))+"` entries",r])]])}else return new p(1,[[o,new S(0,["an array",r])]])}function Dm(e,t,n){return n==null?new p(0,[void 0]):Je(ae,e(t,n))}function Xs(e,t,n){if(Array.isArray(n)){let r=-1;return Je(ha,Qn((a,o)=>{if(r=r+1|0,a.tag===0){const i=e(t+".["+_t(r)+"]",o);return i.tag===0?new p(0,[ve(i.fields[0],a.fields[0])]):new p(1,[i.fields[0]])}else return a},new p(0,[ee()]),n))}else return new p(1,[[t,new S(0,["a list",n])]])}function Fm(e,t,n){if(Array.isArray(n)){let r=-1;return Je(fd,Qn((a,o)=>{if(r=r+1|0,a.tag===0){const i=e(t+".["+_t(r)+"]",o);return i.tag===0?new p(0,[Y([i.fields[0]],a.fields[0])]):new p(1,[i.fields[0]])}else return a},new p(0,[[]]),n))}else return new p(1,[[t,new S(0,["a seq",n])]])}function Js(e,t,n){if(Array.isArray(n)){let r=-1;const a=n;return Qn((o,i)=>{if(r=r+1|0,o.tag===0){const s=o.fields[0],u=e(t+".["+_t(r)+"]",i);return u.tag===0?(qe(s,r,u.fields[0]),new p(0,[s])):new p(1,[u.fields[0]])}else return o},new p(0,[ma(new Array(a.length),0,a.length,null)]),a)}else return new p(1,[[t,new S(0,["an array",n])]])}function Rm(e,t,n){return((a,o)=>{e:for(;;){const i=a,s=o;if($(i))return new p(1,[[t,new S(7,[s])]]);{const u=zs(t,B(C(i)),n);if(u.tag===1){a=P(i),o=pa(s,it(u.fields[0]));continue e}else return new p(0,[u.fields[0]])}}})(e,ee())}function Lm(e,t,n){return new p(0,[e])}function Zs(e,t,n,r){const a=t(n,r);return a.tag===0?e(a.fields[0],n,r):new p(1,[a.fields[0]])}function jm(e,t,n,r){const a=t(n,r);return a.tag===1?new p(1,[a.fields[0]]):new p(0,[e(a.fields[0])])}function zm(e,t){let n;const r=e;return n=a=>o=>qs(0,r,a,o),a=>o=>Zs(ta(i=>{let s;const u=t;return s=l=>f=>qs(1,u,l,f),l=>f=>Zs((c,m,d)=>Lm([i,c]),B(s),l,f)}),B(n),a,o)}function Vm(e){return Pd(e,{Compare:be})}function Hm(e){return km(e,{Compare:be})}function Wm(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Bi((r,a)=>{const o=r[0];return a.tag===0?Je(i=>ve(i,a.fields[0]),r[1](t+"."+o)(n[o])):a},e,new p(0,[ee()])):new p(1,[[t,new S(0,["an object",n])]])}function Um(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?ba((a,o)=>{if(a.tag===0){const i=e(n,o);if(i.tag===0){const s=t(n+"."+o,r[o]);return s.tag===0?new p(0,[ve([i.fields[0],s.fields[0]],a.fields[0])]):new p(1,[s.fields[0]])}else return new p(1,[i.fields[0]])}else return a},new p(0,[ee()]),Object.keys(r)):new p(1,[[n,new S(0,["an object",r])]])}function Ks(e,t,n,r){let a;const o=t.length+e|0;if(o!==r.length)return new p(1,[[n,new S(6,[(a=r.length|0,hn(Lt("Expected array of length %i but got %i"))(o)(a))])]]);{let i=new p(0,[ee()]);for(let s=e;s<=r.length-1;s++)if(i.tag===0){const u=i.fields[0],l=hn(Lt("%s[%i]"))(n)(s),f=oe(s-e,t),c=oe(s,r);i=Je(m=>ve(m,u),f(l)(c))}return Je(ha,i)}}function Qs(e,t,n,r,a,o){const i=Pf(s=>ia(s)===r,Nc(n));if(i!=null){const s=i,u=Kn(l=>Ae(e,t,!1,l[1]),Lc(s));return Je(l=>jc(s,zt(l)),u.length===0&&o.length<=1?new p(0,[ee()]):Ks(1,u,a,o))}else return new p(1,[[a,new S(6,["Cannot find case "+r+" in "+Q(n)])]])}function eu(e,t,n,r){let a;const o=new de(We());let i;const s=Q(r);i=s===""?e:Id(s,o,e);let u;if(Rc(r)){const l=Kn(f=>[Wd(t,ia(f)),Ae(i,t,!1,f[1])],Bn(r));u=f=>c=>Je(m=>zc(r,zt(m)),Wm(l,f,c))}else if(Fc(r))u=l=>f=>{if(typeof f=="string")return Qs(i,t,r,f,l,[]);if(Array.isArray(f)){const c=f;return zd(m=>Qs(i,t,r,m,l,c),Vs(l+"[0]",oe(0,c)))}else return new p(1,[[l,new S(0,["a string or array",f])]])};else if(n)u=l=>f=>new p(1,[[l,new S(2,["an extra coder for "+Q(r),f])]]);else throw new Error((a=Q(r),hn(Lt(`Cannot generate auto decoder for %s. Please pass an extra decoder.
14
+
15
+ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(a)));return o.contents=u,u}function Ae(e,t,n,r){let a,o,i,s;const u=Q(r),l=Od(u,e);if(l==null)if(Ac(r)){const f=Ae(e,t,!1,Gn(r));return c=>m=>Js(B(f),c,m)}else if(ki(r))switch(Q(Pc(r))){case"System.SByte":return c=>m=>{const d=r,h=c,y=m,g=Hs(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0]|0;return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,_.toString())]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};case"System.Byte":return c=>m=>{const d=r,h=c,y=m,g=Ws(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0];return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,_.toString())]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};case"System.Int16":return c=>m=>{const d=r,h=c,y=m,g=Us(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0]|0;return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,sc(_))]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};case"System.UInt16":return c=>m=>{const d=r,h=c,y=m,g=Gs(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0];return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,_.toString())]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};case"System.Int32":return c=>m=>{const d=r,h=c,y=m,g=Bs(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0]|0;return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,_t(_))]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};case"System.UInt32":return c=>m=>{const d=r,h=c,y=m,g=Ys(h)(y);if(g.tag===1)return new p(1,[g.fields[0]]);{const _=g.fields[0];return Ht(_,$t(d),{Equals:(b,k)=>b===k,GetHashCode:Ue})?new p(0,[Nt(d,_.toString())]):new p(1,[[h,new S(1,[Q(d),y,"Unkown value provided for the enum"])]])}};default:{const c=Q(r),m=Sf(Lt(`Cannot generate auto decoder for %s.
16
+ Thoth.Json.Net only support the following enum types:
17
+ - sbyte
18
+ - byte
19
+ - int16
20
+ - uint16
21
+ - int
22
+ - uint32
23
+ If you can't use one of these types, please pass an extra decoder.
24
+ `))(c);return d=>m(d)}}else if(Ic(r))if(xi(r)){const f=Kn(c=>Ae(e,t,!1,c),Dc(r));return c=>m=>Array.isArray(m)?Je(d=>Vc(zt(d)),Ks(0,f,c,m)):new p(1,[[c,new S(0,["an array",m])]])}else switch(Q(Oc(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return a=Ae(e,t,!0,oe(0,Be(r))),c=>m=>Dm(B(a),c,m);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return o=Ae(e,t,!1,oe(0,Be(r))),c=>m=>Xs(B(o),c,m);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=Ae(e,t,!1,oe(0,Be(r))),c=>m=>Fm(B(i),c,m);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const c=Ae(e,t,!1,oe(0,Be(r))),m=Ae(e,t,!1,oe(1,Be(r)));let d;const h=te([y=>g=>Um(B(c),B(m),y,g),(s=zm(B(c),B(m)),y=>g=>Xs(B(s),y,g))]);return d=y=>g=>Rm(h,y,g),y=>g=>jm(Vm,B(d),y,g)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const c=Ae(e,t,!1,oe(0,Be(r)));return m=>d=>{const h=Js(B(c),m,d);return h.tag===0?new p(0,[Hm(h.fields[0])]):new p(1,[h.fields[0]])}}default:return eu(e,t,n,r)}else switch(u){case"System.Boolean":return f=>c=>Am(f,c);case"Microsoft.FSharp.Core.Unit":return f=>c=>Mm(f,c);case"System.String":return f=>c=>Vs(f,c);case"System.Char":return f=>c=>Em(f,c);case"System.SByte":return Hs;case"System.Byte":return Ws;case"System.Int16":return Us;case"System.UInt16":return Gs;case"System.Int32":return Bs;case"System.UInt32":return Ys;case"System.Double":return f=>c=>Im(f,c);case"System.Single":return f=>c=>Om(f,c);case"System.DateTime":return f=>c=>Pm(f,c);case"System.DateTimeOffset":return f=>c=>$m(f,c);case"System.TimeSpan":return f=>c=>Nm(f,c);case"System.Guid":return f=>c=>Tm(f,c);case"System.Object":return f=>c=>new p(0,[c]);default:return eu(e,t,n,r)}else{const f=l;return c=>m=>f.contents(c)(m)}}function Gm(e){return ms({Compare:Rn})}function Bm(e,t,n){const r=Ei(t,new _s(0,[]));return Ae(Gm(),r,!1,e)}class Ym extends Z{constructor(t,n,r,a,o,i,s){super(),this.Configuration=t,this.LastUpdated=n,this.Status=r,this.Invite=a,this.Creator=o,this.Profile=i,this.Tags=s}}function qm(){return Ne("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Ym,()=>[["Configuration",Jm()],["LastUpdated",dn("System.DateTime")],["Status",eh()],["Invite",oa(ih())],["Creator",oa(ch())],["Profile",dh()],["Tags",Un(uh())]])}class Xm extends Z{constructor(t,n){super(),this.Name=t,this.Steps=n}}function Jm(){return Ne("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],Xm,()=>[["Name",me],["Steps",Un(Km())]])}class Zm extends Z{constructor(t,n){super(),this.Id=t,this.DisplayName=n}}function Km(){return Ne("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],Zm,()=>[["Id",me],["DisplayName",me]])}class Qm extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}function eh(){return Tc("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Qm,()=>[[],[["Item",nh()]],[["Item",dn("System.DateTime")]],[["Item",dn("System.DateTime")]]])}class th extends Z{constructor(t){super(),this.CompletedSteps=t}}function nh(){return Ne("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],th,()=>[["CompletedSteps",Un(ah())]])}class rh extends Z{constructor(t,n){super(),this.Type=t,this.Date=n}}function ah(){return Ne("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],rh,()=>[["Type",me],["Date",dn("System.DateTime")]])}class oh extends Z{constructor(t){super(),this.DateIssued=t}}function ih(){return Ne("Workflows.Api.Models.ProgressBackendModels.Invite",[],oh,()=>[["DateIssued",dn("System.DateTime")]])}class sh extends Z{constructor(t,n){super(),this.Name=t,this.Value=n}}function uh(){return Ne("Workflows.Api.Models.ProgressBackendModels.Tag",[],sh,()=>[["Name",me],["Value",me]])}class lh extends Z{constructor(t,n,r){super(),this.FirstName=t,this.LastName=n,this.Email=r}}function ch(){return Ne("Workflows.Api.Models.ProgressBackendModels.Creator",[],lh,()=>[["FirstName",me],["LastName",me],["Email",me]])}class fh extends Z{constructor(t,n,r,a){super(),this.FirstName=t,this.LastName=n,this.Email=r,this.ExternalId=a}}function dh(){return Ne("Workflows.Api.Models.ProgressBackendModels.Profile",[],fh,()=>[["FirstName",me],["LastName",me],["Email",me],["ExternalId",oa(me)]])}class Ma extends Z{constructor(t){super(),this.Data=t}}function mh(){return Ne("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],Ma,()=>[["Data",Un(qm())]])}class hh{constructor(t,n){this.accessToken=n,this.backendUrl=`${t}/workflows/progress-backend`}}function ph(e,t){return new hh(e,t)}function gh(e){return X.Delay(()=>{const t=yh(e,Rd(new Ti(0,[]),Fd(`${e.backendUrl}/instances?dateFrom=${fa(_f(Pi(),-30),"o")}`)));return X.Bind(t,n=>{const r=n;if(r.tag===1)return X.Return(new p(1,[r.fields[0]]));{const a=r.fields[0];if(a.statusCode===200){const o=Cm(B(Bm(mh(),new _s(1,[]))),a.responseText);return X.Return(o)}else return X.Return(new p(1,["Unexpected response from backend"]))}})})}function yh(e,t){return X.Delay(()=>{const n=Ld(Nd(`Bearer ${e.accessToken}`),t);let r;const a=ps(n);return r=X.Bind(a,o=>X.Return(new p(0,[o]))),X.Bind(r,o=>{const i=o;if(i.tag===1)return X.Return(new p(1,[i.fields[0]]));{const s=i.fields[0];if(s.statusCode===429||s.statusCode>=500){const u=ps(n);return X.Bind(u,l=>X.Return(new p(0,[l])))}else return X.Return(new p(0,[s]))}})})}function _h(){return ee()}function Aa(e){return Ye("/",e)}function bh(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Aa(t),n])}function tu(e,t,n){try{L(n)}catch(r){e(["Error stopping subscription: "+Aa(t),r])}}function vh(e,t,n,r){try{return[n,r(t)]}catch(a){e(["Error starting subscription: "+Aa(n),a]);return}}function wh(e,t){er(n=>{tu(e,n[0],n[1])},t)}function nu(e,t,n,r,a,o){return er(i=>{bh(e,i)},n),er(i=>{tu(e,i[0],i[1])},r),pa(a,Hf(i=>vh(e,t,i[0],i[1]),o))}function Sh(){return[ee(),wm({Compare:be}),ee()]}function kh(e,t,n,r,a){return Ta(e,r)?[ve(e,n),r,a]:[n,vm(e,r),ve([e,t],a)]}function xh(e){return Rf((t,n)=>kh(t[0],t[1],n[0],n[1],n[2]),e,Sh())}const Ch=ee();function ru(e,t){const n=Sm(tr(i=>i[0],e),{Compare:be}),r=xh(t),a=r[1],o=r[0];if(n.Equals(a))return[o,ee(),e,ee()];{const i=Vf(s=>Ta(s[0],a),e);return[o,i[1],i[0],Ji(s=>!Ta(s[0],n),r[2])]}}function Eh(e,t){console.error(ae(e),t)}function au(e,t,n){er(r=>{try{r(t)}catch(a){e(a)}},n)}function kt(){return ee()}function Th(e,t,n,r){const a=be(e,n)|0;if(a===0)throw new Error("The step of a range cannot be zero");const o=a>0;return i=>{const s=be(i,t)|0;return o&&s<=0||!o&&s>=0?[i,r(i,e)]:void 0}}function Mh(e,t,n,r,a){const o=Th(t,n,r,a);return O(()=>rd(o,e))}function Ah(e,t,n){return Mh(e,t,n,0,(r,a)=>r+a)}class qt extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Ih{constructor(t){this.state=new qt(0,[ma(new Array(Gi(t,10)),0,Gi(t,10),null),0])}}function Oh(e){return new Ih(e)}function ou(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,a=t.fields[0],o=(r+1)%a.length|0;return o===n?e.state=new qt(0,[a,n]):e.state=new qt(1,[a,n,o]),ae(oe(r,a))}else return}function Ph(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,a=n.fields[2]|0,o=n.fields[0];qe(o,r,t);const i=(r+1)%o.length|0;i===a?e.state=new qt(1,[$h(e,a,o),o.length,0]):e.state=new qt(1,[o,i,a])}else{const r=n.fields[1]|0,a=n.fields[0];qe(a,r,t);const o=(r+1)%a.length|0;e.state=new qt(1,[a,o,r])}}function $h(e,t,n){return Array.from(O(()=>Y(dd(t,n),O(()=>Y(md(t,n),O(()=>va(r=>A(We()),Ah(0,1,n.length))))))))}class Ia extends Z{constructor(t,n,r,a,o,i,s){super(),this.init=t,this.update=n,this.subscribe=r,this.view=a,this.setState=o,this.onError=i,this.termination=s}}function Nh(e,t,n){return new Ia(e,t,r=>_h(),n,B(r=>{const a=bt(n)(r);return o=>{a(o)}}),r=>{Eh(r[0],r[1])},[r=>!1,r=>{}])}function Dh(e,t){return new Ia(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Fh(e){return e.init}function Rh(e,t,n,r,a,o,i){const s=bt(e)(i.init),u=na(t)(bt(i.update)),l=na(n)(bt(i.view)),f=na(r)(bt(i.setState));return new Ia(s,B(u),bt(a)(i.subscribe),B(l),B(f),i.onError,o(i.termination))}function Lh(e,t,n){let r;const a=n.init(t),o=a[0],i=n.subscribe(o),s=n.termination,u=Oh(10);let l=!1,f=o,c=Ch,m=!1;const d=g=>{m||(Ph(u,g),l||(l=!0,y(),l=!1))},h=bt(e)(d),y=()=>{let g,_=ou(u);for(;!m&&_!=null;){const b=v(_);if(s[0](b))wh(n.onError,c),s[1](f),m=!0;else{const k=n.update(b,f),F=k[0],D=n.subscribe(F);n.setState(F,h),au(ne=>{n.onError([hn(Lt("Error handling the message: %A"))(b),ne])},h,k[1]),f=F,c=(g=ru(c,D),nu(n.onError,h,g[0],g[1],g[2],g[3])),_=ou(u)}}};l=!0,n.setState(o,h),au(g=>{n.onError([hn(Lt("Error intitializing:")),g])},h,a[1]),c=(r=ru(c,i),nu(n.onError,h,r[0],r[1],r[2],r[3])),y(),l=!1}function jh(e,t){Lh(B(n=>n),e,t)}function zh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var iu={exports:{}},su={};const Hh=Vh(tc);/**
25
+ * @license React
26
+ * use-sync-external-store-shim.production.min.js
27
+ *
28
+ * Copyright (c) Facebook, Inc. and its affiliates.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */var Xt=Hh;function Wh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Uh=typeof Object.is=="function"?Object.is:Wh,Gh=Xt.useState,Bh=Xt.useEffect,Yh=Xt.useLayoutEffect,qh=Xt.useDebugValue;function Xh(e,t){var n=t(),r=Gh({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return Yh(function(){a.value=n,a.getSnapshot=t,Oa(a)&&o({inst:a})},[e,n,t]),Bh(function(){return Oa(a)&&o({inst:a}),e(function(){Oa(a)&&o({inst:a})})},[e]),qh(n),n}function Oa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Uh(e,n)}catch{return!0}}function Jh(e,t){return t()}var Zh=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Jh:Xh;su.useSyncExternalStore=Xt.useSyncExternalStore!==void 0?Xt.useSyncExternalStore:Zh,iu.exports=su;var Kh=iu.exports;class Qh{constructor(t,n,r){this.arg=n,this.dependencies=r;const a=t(),o=[];this.finalDispatch=void 0;let i;const s=Fh(a)(this.arg);let u=s[0],l=s[1];i=[[u,f=>{const c=this.finalDispatch;c==null?o.push(f):c(f)},!1,o],l],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let c=!1;const m=Kr(this.state[0]);return jh(this.arg,Dh((d,h)=>{const y=this.state;this.finalDispatch=h,this.state=[d,y[1],!0,o],d!==y[0]&&f()},Rh((d,h)=>{const y=this.cmd;return this.cmd=kt(),[this.state[0],y]},(d,h,y)=>d(h)(this.state[0]),ta(d=>d),ta(d=>d),B(d=>d),d=>[h=>d[0](h)?!0:m&&c,h=>{const y=h;Kr(y)?L(y):d[1](h)}],a))),()=>{c=!0}}}}function uu(e,t,n){return new Qh(e,t,n)}function ep(e){return e.state}function tp(e){return e.subscribe}function np(e,t,n){return re(e.arg,t)?!re(e.dependencies,n):!0}function rp(e,t,n){const r=At(()=>uu(e,t,n)),a=r[0];np(a,t,n)&&r[1](uu(e,t,n));const o=Kh.useSyncExternalStore(tp(a),()=>ep(a)),i=o[2],s=o[3],u=o[1];return It(()=>{if(i&&s.length>0){let l=W(s);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const f=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{u(f)})}}finally{L(l)}hc(s)}},[i,s]),[o[0],u]}const ap=(e,t)=>{It(()=>{const n=e();return()=>{n.Dispose()}},t)},op=e=>{yt(()=>{const t=e();return()=>{t.Dispose()}})},q=Nn,lu=ap,ip=op;function Pa(e){return{Dispose(){e()}}}function sp(e,t){lu(e,t)}function up(e){ip(t=>(e(),Pa(()=>{})))}function lp(e){const t=q.useRef(!1);fp(()=>{t.current||(t.current=!0,e())},[])}function cp(e){const t=q.useRef(void 0),n=q.useRef(!1),r=q.useRef(!1);n.current&&(r.current=!0),sp(()=>{let a;return n.current?a=void 0:(n.current=!0,t.current=ae(e()),a=r.current?t.current:void 0),{Dispose(){rr(o=>{L(o)},Gc(a))}}},[])}function fp(e,t){lu(n=>(e(),Pa(()=>{})),t)}function dp(e,t){const n=Ei(t,[]);return q.useCallback(e,n)}function cu(e){return q.useRef(e)}function mp(e){const t=cu(e),n=dp(r=>t.current(r),[]);return up(()=>{t.current=e}),n}class ut extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function hp(e,t){const n=cu(Bc());return cp(()=>Pa(()=>{Yc(n.current)})),mp(r=>{qc(n.current)||Kc(X.Delay(()=>X.TryWith(X.Delay(()=>(t(new ut(1,[])),X.Bind(e(r),a=>(t(new ut(2,[a])),X.Zero())))),a=>(t(new ut(3,[a])),X.Zero()))),n.current)})}function pp(e,t){return O(()=>{const n=new im([],t);return ld(r=>Hd(r,n),e)})}function gp(e,t){return De(pp(e,t))}class Ze extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["All","Completed","InProgress","NotStarted"]}}function yp(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class fu extends fe{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class Jt extends Z{constructor(t,n){super(),this.ProcessInstanceList=t,this.SelectedStatusTab=n}}function _p(e){const t=e.Status;switch(t.tag){case 1:{const n=Ff(t.fields[0].CompletedSteps);if(n!=null){const r=n,a=Xi(o=>o.Id===r.Type,e.Configuration.Steps);return a==null?"A step was completed":`${a.DisplayName} step completed`}else return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return e.Invite==null?"Workflow created":"Invite sent"}}function bp(e){switch(e.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}function du(e){return Wf(gp(tr(t=>t.Name,jf(t=>t.Tags,e.Data)),{Equals:(t,n)=>t===n,GetHashCode:Fn}),{Compare:Rn})}function mu(e,t){return re(e,new Ze(0,[]))?t:new Ma(Ji(n=>{let r;return re((r=n.Status,r.tag===1?new Ze(2,[]):r.tag===2?new Ze(1,[]):r.tag===3?void 0:new Ze(3,[])),e)},t.Data))}function hu(){let e;e=new CustomEvent("progressComponentReady"),window.dispatchEvent(e)}function vp(){return[new Jt(new ut(0,[]),new Ze(0,[])),kt()]}function wp(e,t){if(e.tag===1)return[new Jt(t.ProcessInstanceList,e.fields[0]),kt()];{const n=e.fields[0];let r,a;switch(n.tag){case 3:{r=1;break}case 0:{r=2;break}case 1:{r=3;break}default:n.fields[0].tag===1?r=1:(r=0,a=n.fields[0].fields[0])}switch(r){case 0:return hu(),[new Jt(new ut(2,[new Ma(Uf(o=>o.LastUpdated,a.Data,{Compare:Ri}))]),t.SelectedStatusTab),kt()];case 1:return hu(),[new Jt(new ut(3,[new Error]),t.SelectedStatusTab),kt()];case 2:return[new Jt(new ut(0,[]),t.SelectedStatusTab),kt()];default:return[new Jt(new ut(1,[]),t.SelectedStatusTab),kt()]}}}/*!
33
+ * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
34
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
35
+ * Copyright 2022 Fonticons, Inc.
36
+ */function pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pu(Object(n),!0).forEach(function(r){Cp(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function lr(e){"@babel/helpers - typeof";return lr=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},lr(e)}function Sp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xp(e,t,n){return t&&kp(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e,t){return Tp(e)||Ap(e,t)||gu(e,t)||Op()}function cr(e){return Ep(e)||Mp(e)||gu(e)||Ip()}function Ep(e){if(Array.isArray(e))return Na(e)}function Tp(e){if(Array.isArray(e))return e}function Mp(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ap(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,s;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function gu(e,t){if(e){if(typeof e=="string")return Na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(e,t)}}function Na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ip(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
37
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Op(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
38
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var yu=function(){},Da={},_u={},bu=null,vu={mark:yu,measure:yu};try{typeof window<"u"&&(Da=window),typeof document<"u"&&(_u=document),typeof MutationObserver<"u"&&(bu=MutationObserver),typeof performance<"u"&&(vu=performance)}catch{}var Pp=Da.navigator||{},wu=Pp.userAgent,Su=wu===void 0?"":wu,lt=Da,H=_u,ku=bu,fr=vu;lt.document;var Ke=!!H.documentElement&&!!H.head&&typeof H.addEventListener=="function"&&typeof H.createElement=="function",xu=~Su.indexOf("MSIE")||~Su.indexOf("Trident/"),Qe="___FONT_AWESOME___",Fa=16,Cu="fa",Eu="svg-inline--fa",xt="data-fa-i2svg",Ra="data-fa-pseudo-element",$p="data-fa-pseudo-element-pending",La="data-prefix",ja="data-icon",Tu="fontawesome-i2svg",Np="async",Dp=["HTML","HEAD","STYLE","SCRIPT"],Mu=function(){try{return!0}catch{return!1}}(),za={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},dr={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Au={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Fp={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Rp=/fa[srltdbk]?[\-\ ]/,Iu="fa-layers-text",Lp=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,jp={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ou=[1,2,3,4,5,6,7,8,9,10],zp=Ou.concat([11,12,13,14,15,16,17,18,19,20]),Vp=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ct={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Hp=[].concat(cr(Object.keys(dr)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ct.GROUP,Ct.SWAP_OPACITY,Ct.PRIMARY,Ct.SECONDARY]).concat(Ou.map(function(e){return"".concat(e,"x")})).concat(zp.map(function(e){return"w-".concat(e)})),Pu=lt.FontAwesomeConfig||{};function Wp(e){var t=H.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Up(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(H&&typeof H.querySelector=="function"){var Gp=[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Gp.forEach(function(e){var t=$a(e,2),n=t[0],r=t[1],a=Up(Wp(n));a!=null&&(Pu[r]=a)})}var Bp={familyPrefix:Cu,styleDefault:"solid",replacementClass:Eu,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},_n=w(w({},Bp),Pu);_n.autoReplaceSvg||(_n.observeMutations=!1);var x={};Object.keys(_n).forEach(function(e){Object.defineProperty(x,e,{enumerable:!0,set:function(n){_n[e]=n,mr.forEach(function(r){return r(x)})},get:function(){return _n[e]}})}),lt.FontAwesomeConfig=x;var mr=[];function Yp(e){return mr.push(e),function(){mr.splice(mr.indexOf(e),1)}}var ct=Fa,Fe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function qp(e){if(!(!e||!Ke)){var t=H.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=H.head.childNodes,r=null,a=n.length-1;a>-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return H.head.insertBefore(t,r),e}}var Xp="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function bn(){for(var e=12,t="";e-- >0;)t+=Xp[Math.random()*62|0];return t}function Zt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Va(e){return e.classList?Zt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function $u(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Jp(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat($u(e[n]),'" ')},"").trim()}function hr(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Ha(e){return e.size!==Fe.size||e.x!==Fe.x||e.y!==Fe.y||e.rotate!==Fe.rotate||e.flipX||e.flipY}function Zp(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(o," ").concat(i," ").concat(s)},l={transform:"translate(".concat(r/2*-1," -256)")};return{outer:a,inner:u,path:l}}function Kp(e){var t=e.transform,n=e.width,r=n===void 0?Fa:n,a=e.height,o=a===void 0?Fa:a,i=e.startCentered,s=i===void 0?!1:i,u="";return s&&xu?u+="translate(".concat(t.x/ct-r/2,"em, ").concat(t.y/ct-o/2,"em) "):s?u+="translate(calc(-50% + ".concat(t.x/ct,"em), calc(-50% + ").concat(t.y/ct,"em)) "):u+="translate(".concat(t.x/ct,"em, ").concat(t.y/ct,"em) "),u+="scale(".concat(t.size/ct*(t.flipX?-1:1),", ").concat(t.size/ct*(t.flipY?-1:1),") "),u+="rotate(".concat(t.rotate,"deg) "),u}var Qp=`:root, :host {
39
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
40
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
41
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
42
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
43
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
44
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
45
+ }
46
+
47
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
48
+ overflow: visible;
49
+ box-sizing: content-box;
50
+ }
51
+
52
+ .svg-inline--fa {
53
+ display: var(--fa-display, inline-block);
54
+ height: 1em;
55
+ overflow: visible;
56
+ vertical-align: -0.125em;
57
+ }
58
+ .svg-inline--fa.fa-2xs {
59
+ vertical-align: 0.1em;
60
+ }
61
+ .svg-inline--fa.fa-xs {
62
+ vertical-align: 0em;
63
+ }
64
+ .svg-inline--fa.fa-sm {
65
+ vertical-align: -0.0714285705em;
66
+ }
67
+ .svg-inline--fa.fa-lg {
68
+ vertical-align: -0.2em;
69
+ }
70
+ .svg-inline--fa.fa-xl {
71
+ vertical-align: -0.25em;
72
+ }
73
+ .svg-inline--fa.fa-2xl {
74
+ vertical-align: -0.3125em;
75
+ }
76
+ .svg-inline--fa.fa-pull-left {
77
+ margin-right: var(--fa-pull-margin, 0.3em);
78
+ width: auto;
79
+ }
80
+ .svg-inline--fa.fa-pull-right {
81
+ margin-left: var(--fa-pull-margin, 0.3em);
82
+ width: auto;
83
+ }
84
+ .svg-inline--fa.fa-li {
85
+ width: var(--fa-li-width, 2em);
86
+ top: 0.25em;
87
+ }
88
+ .svg-inline--fa.fa-fw {
89
+ width: var(--fa-fw-width, 1.25em);
90
+ }
91
+
92
+ .fa-layers svg.svg-inline--fa {
93
+ bottom: 0;
94
+ left: 0;
95
+ margin: auto;
96
+ position: absolute;
97
+ right: 0;
98
+ top: 0;
99
+ }
100
+
101
+ .fa-layers-counter, .fa-layers-text {
102
+ display: inline-block;
103
+ position: absolute;
104
+ text-align: center;
105
+ }
106
+
107
+ .fa-layers {
108
+ display: inline-block;
109
+ height: 1em;
110
+ position: relative;
111
+ text-align: center;
112
+ vertical-align: -0.125em;
113
+ width: 1em;
114
+ }
115
+ .fa-layers svg.svg-inline--fa {
116
+ -webkit-transform-origin: center center;
117
+ transform-origin: center center;
118
+ }
119
+
120
+ .fa-layers-text {
121
+ left: 50%;
122
+ top: 50%;
123
+ -webkit-transform: translate(-50%, -50%);
124
+ transform: translate(-50%, -50%);
125
+ -webkit-transform-origin: center center;
126
+ transform-origin: center center;
127
+ }
128
+
129
+ .fa-layers-counter {
130
+ background-color: var(--fa-counter-background-color, #ff253a);
131
+ border-radius: var(--fa-counter-border-radius, 1em);
132
+ box-sizing: border-box;
133
+ color: var(--fa-inverse, #fff);
134
+ line-height: var(--fa-counter-line-height, 1);
135
+ max-width: var(--fa-counter-max-width, 5em);
136
+ min-width: var(--fa-counter-min-width, 1.5em);
137
+ overflow: hidden;
138
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
139
+ right: var(--fa-right, 0);
140
+ text-overflow: ellipsis;
141
+ top: var(--fa-top, 0);
142
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
143
+ transform: scale(var(--fa-counter-scale, 0.25));
144
+ -webkit-transform-origin: top right;
145
+ transform-origin: top right;
146
+ }
147
+
148
+ .fa-layers-bottom-right {
149
+ bottom: var(--fa-bottom, 0);
150
+ right: var(--fa-right, 0);
151
+ top: auto;
152
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
153
+ transform: scale(var(--fa-layers-scale, 0.25));
154
+ -webkit-transform-origin: bottom right;
155
+ transform-origin: bottom right;
156
+ }
157
+
158
+ .fa-layers-bottom-left {
159
+ bottom: var(--fa-bottom, 0);
160
+ left: var(--fa-left, 0);
161
+ right: auto;
162
+ top: auto;
163
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
164
+ transform: scale(var(--fa-layers-scale, 0.25));
165
+ -webkit-transform-origin: bottom left;
166
+ transform-origin: bottom left;
167
+ }
168
+
169
+ .fa-layers-top-right {
170
+ top: var(--fa-top, 0);
171
+ right: var(--fa-right, 0);
172
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
173
+ transform: scale(var(--fa-layers-scale, 0.25));
174
+ -webkit-transform-origin: top right;
175
+ transform-origin: top right;
176
+ }
177
+
178
+ .fa-layers-top-left {
179
+ left: var(--fa-left, 0);
180
+ right: auto;
181
+ top: var(--fa-top, 0);
182
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
183
+ transform: scale(var(--fa-layers-scale, 0.25));
184
+ -webkit-transform-origin: top left;
185
+ transform-origin: top left;
186
+ }
187
+
188
+ .fa-1x {
189
+ font-size: 1em;
190
+ }
191
+
192
+ .fa-2x {
193
+ font-size: 2em;
194
+ }
195
+
196
+ .fa-3x {
197
+ font-size: 3em;
198
+ }
199
+
200
+ .fa-4x {
201
+ font-size: 4em;
202
+ }
203
+
204
+ .fa-5x {
205
+ font-size: 5em;
206
+ }
207
+
208
+ .fa-6x {
209
+ font-size: 6em;
210
+ }
211
+
212
+ .fa-7x {
213
+ font-size: 7em;
214
+ }
215
+
216
+ .fa-8x {
217
+ font-size: 8em;
218
+ }
219
+
220
+ .fa-9x {
221
+ font-size: 9em;
222
+ }
223
+
224
+ .fa-10x {
225
+ font-size: 10em;
226
+ }
227
+
228
+ .fa-2xs {
229
+ font-size: 0.625em;
230
+ line-height: 0.1em;
231
+ vertical-align: 0.225em;
232
+ }
233
+
234
+ .fa-xs {
235
+ font-size: 0.75em;
236
+ line-height: 0.0833333337em;
237
+ vertical-align: 0.125em;
238
+ }
239
+
240
+ .fa-sm {
241
+ font-size: 0.875em;
242
+ line-height: 0.0714285718em;
243
+ vertical-align: 0.0535714295em;
244
+ }
245
+
246
+ .fa-lg {
247
+ font-size: 1.25em;
248
+ line-height: 0.05em;
249
+ vertical-align: -0.075em;
250
+ }
251
+
252
+ .fa-xl {
253
+ font-size: 1.5em;
254
+ line-height: 0.0416666682em;
255
+ vertical-align: -0.125em;
256
+ }
257
+
258
+ .fa-2xl {
259
+ font-size: 2em;
260
+ line-height: 0.03125em;
261
+ vertical-align: -0.1875em;
262
+ }
263
+
264
+ .fa-fw {
265
+ text-align: center;
266
+ width: 1.25em;
267
+ }
268
+
269
+ .fa-ul {
270
+ list-style-type: none;
271
+ margin-left: var(--fa-li-margin, 2.5em);
272
+ padding-left: 0;
273
+ }
274
+ .fa-ul > li {
275
+ position: relative;
276
+ }
277
+
278
+ .fa-li {
279
+ left: calc(var(--fa-li-width, 2em) * -1);
280
+ position: absolute;
281
+ text-align: center;
282
+ width: var(--fa-li-width, 2em);
283
+ line-height: inherit;
284
+ }
285
+
286
+ .fa-border {
287
+ border-color: var(--fa-border-color, #eee);
288
+ border-radius: var(--fa-border-radius, 0.1em);
289
+ border-style: var(--fa-border-style, solid);
290
+ border-width: var(--fa-border-width, 0.08em);
291
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
292
+ }
293
+
294
+ .fa-pull-left {
295
+ float: left;
296
+ margin-right: var(--fa-pull-margin, 0.3em);
297
+ }
298
+
299
+ .fa-pull-right {
300
+ float: right;
301
+ margin-left: var(--fa-pull-margin, 0.3em);
302
+ }
303
+
304
+ .fa-beat {
305
+ -webkit-animation-name: fa-beat;
306
+ animation-name: fa-beat;
307
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
308
+ animation-delay: var(--fa-animation-delay, 0);
309
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
310
+ animation-direction: var(--fa-animation-direction, normal);
311
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
312
+ animation-duration: var(--fa-animation-duration, 1s);
313
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
314
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
315
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
316
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
317
+ }
318
+
319
+ .fa-bounce {
320
+ -webkit-animation-name: fa-bounce;
321
+ animation-name: fa-bounce;
322
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
323
+ animation-delay: var(--fa-animation-delay, 0);
324
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
325
+ animation-direction: var(--fa-animation-direction, normal);
326
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
327
+ animation-duration: var(--fa-animation-duration, 1s);
328
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
329
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
330
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
331
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
332
+ }
333
+
334
+ .fa-fade {
335
+ -webkit-animation-name: fa-fade;
336
+ animation-name: fa-fade;
337
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
338
+ animation-delay: var(--fa-animation-delay, 0);
339
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
340
+ animation-direction: var(--fa-animation-direction, normal);
341
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
342
+ animation-duration: var(--fa-animation-duration, 1s);
343
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
344
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
345
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
346
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
347
+ }
348
+
349
+ .fa-beat-fade {
350
+ -webkit-animation-name: fa-beat-fade;
351
+ animation-name: fa-beat-fade;
352
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
353
+ animation-delay: var(--fa-animation-delay, 0);
354
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
355
+ animation-direction: var(--fa-animation-direction, normal);
356
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
357
+ animation-duration: var(--fa-animation-duration, 1s);
358
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
359
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
360
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
361
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
362
+ }
363
+
364
+ .fa-flip {
365
+ -webkit-animation-name: fa-flip;
366
+ animation-name: fa-flip;
367
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
368
+ animation-delay: var(--fa-animation-delay, 0);
369
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
370
+ animation-direction: var(--fa-animation-direction, normal);
371
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
372
+ animation-duration: var(--fa-animation-duration, 1s);
373
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
374
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
375
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
376
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
377
+ }
378
+
379
+ .fa-shake {
380
+ -webkit-animation-name: fa-shake;
381
+ animation-name: fa-shake;
382
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
383
+ animation-delay: var(--fa-animation-delay, 0);
384
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
385
+ animation-direction: var(--fa-animation-direction, normal);
386
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
387
+ animation-duration: var(--fa-animation-duration, 1s);
388
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
389
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
390
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
391
+ animation-timing-function: var(--fa-animation-timing, linear);
392
+ }
393
+
394
+ .fa-spin {
395
+ -webkit-animation-name: fa-spin;
396
+ animation-name: fa-spin;
397
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
398
+ animation-delay: var(--fa-animation-delay, 0);
399
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
400
+ animation-direction: var(--fa-animation-direction, normal);
401
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
402
+ animation-duration: var(--fa-animation-duration, 2s);
403
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
404
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
405
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
406
+ animation-timing-function: var(--fa-animation-timing, linear);
407
+ }
408
+
409
+ .fa-spin-reverse {
410
+ --fa-animation-direction: reverse;
411
+ }
412
+
413
+ .fa-pulse,
414
+ .fa-spin-pulse {
415
+ -webkit-animation-name: fa-spin;
416
+ animation-name: fa-spin;
417
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
418
+ animation-direction: var(--fa-animation-direction, normal);
419
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
420
+ animation-duration: var(--fa-animation-duration, 1s);
421
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
422
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
423
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
424
+ animation-timing-function: var(--fa-animation-timing, steps(8));
425
+ }
426
+
427
+ @media (prefers-reduced-motion: reduce) {
428
+ .fa-beat,
429
+ .fa-bounce,
430
+ .fa-fade,
431
+ .fa-beat-fade,
432
+ .fa-flip,
433
+ .fa-pulse,
434
+ .fa-shake,
435
+ .fa-spin,
436
+ .fa-spin-pulse {
437
+ -webkit-animation-delay: -1ms;
438
+ animation-delay: -1ms;
439
+ -webkit-animation-duration: 1ms;
440
+ animation-duration: 1ms;
441
+ -webkit-animation-iteration-count: 1;
442
+ animation-iteration-count: 1;
443
+ transition-delay: 0s;
444
+ transition-duration: 0s;
445
+ }
446
+ }
447
+ @-webkit-keyframes fa-beat {
448
+ 0%, 90% {
449
+ -webkit-transform: scale(1);
450
+ transform: scale(1);
451
+ }
452
+ 45% {
453
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
454
+ transform: scale(var(--fa-beat-scale, 1.25));
455
+ }
456
+ }
457
+ @keyframes fa-beat {
458
+ 0%, 90% {
459
+ -webkit-transform: scale(1);
460
+ transform: scale(1);
461
+ }
462
+ 45% {
463
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
464
+ transform: scale(var(--fa-beat-scale, 1.25));
465
+ }
466
+ }
467
+ @-webkit-keyframes fa-bounce {
468
+ 0% {
469
+ -webkit-transform: scale(1, 1) translateY(0);
470
+ transform: scale(1, 1) translateY(0);
471
+ }
472
+ 10% {
473
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
474
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
475
+ }
476
+ 30% {
477
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
478
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
479
+ }
480
+ 50% {
481
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
482
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
483
+ }
484
+ 57% {
485
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
486
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
487
+ }
488
+ 64% {
489
+ -webkit-transform: scale(1, 1) translateY(0);
490
+ transform: scale(1, 1) translateY(0);
491
+ }
492
+ 100% {
493
+ -webkit-transform: scale(1, 1) translateY(0);
494
+ transform: scale(1, 1) translateY(0);
495
+ }
496
+ }
497
+ @keyframes fa-bounce {
498
+ 0% {
499
+ -webkit-transform: scale(1, 1) translateY(0);
500
+ transform: scale(1, 1) translateY(0);
501
+ }
502
+ 10% {
503
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
504
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
505
+ }
506
+ 30% {
507
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
508
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
509
+ }
510
+ 50% {
511
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
512
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
513
+ }
514
+ 57% {
515
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
516
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
517
+ }
518
+ 64% {
519
+ -webkit-transform: scale(1, 1) translateY(0);
520
+ transform: scale(1, 1) translateY(0);
521
+ }
522
+ 100% {
523
+ -webkit-transform: scale(1, 1) translateY(0);
524
+ transform: scale(1, 1) translateY(0);
525
+ }
526
+ }
527
+ @-webkit-keyframes fa-fade {
528
+ 50% {
529
+ opacity: var(--fa-fade-opacity, 0.4);
530
+ }
531
+ }
532
+ @keyframes fa-fade {
533
+ 50% {
534
+ opacity: var(--fa-fade-opacity, 0.4);
535
+ }
536
+ }
537
+ @-webkit-keyframes fa-beat-fade {
538
+ 0%, 100% {
539
+ opacity: var(--fa-beat-fade-opacity, 0.4);
540
+ -webkit-transform: scale(1);
541
+ transform: scale(1);
542
+ }
543
+ 50% {
544
+ opacity: 1;
545
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
546
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
547
+ }
548
+ }
549
+ @keyframes fa-beat-fade {
550
+ 0%, 100% {
551
+ opacity: var(--fa-beat-fade-opacity, 0.4);
552
+ -webkit-transform: scale(1);
553
+ transform: scale(1);
554
+ }
555
+ 50% {
556
+ opacity: 1;
557
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
558
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
559
+ }
560
+ }
561
+ @-webkit-keyframes fa-flip {
562
+ 50% {
563
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
564
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
565
+ }
566
+ }
567
+ @keyframes fa-flip {
568
+ 50% {
569
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
570
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
571
+ }
572
+ }
573
+ @-webkit-keyframes fa-shake {
574
+ 0% {
575
+ -webkit-transform: rotate(-15deg);
576
+ transform: rotate(-15deg);
577
+ }
578
+ 4% {
579
+ -webkit-transform: rotate(15deg);
580
+ transform: rotate(15deg);
581
+ }
582
+ 8%, 24% {
583
+ -webkit-transform: rotate(-18deg);
584
+ transform: rotate(-18deg);
585
+ }
586
+ 12%, 28% {
587
+ -webkit-transform: rotate(18deg);
588
+ transform: rotate(18deg);
589
+ }
590
+ 16% {
591
+ -webkit-transform: rotate(-22deg);
592
+ transform: rotate(-22deg);
593
+ }
594
+ 20% {
595
+ -webkit-transform: rotate(22deg);
596
+ transform: rotate(22deg);
597
+ }
598
+ 32% {
599
+ -webkit-transform: rotate(-12deg);
600
+ transform: rotate(-12deg);
601
+ }
602
+ 36% {
603
+ -webkit-transform: rotate(12deg);
604
+ transform: rotate(12deg);
605
+ }
606
+ 40%, 100% {
607
+ -webkit-transform: rotate(0deg);
608
+ transform: rotate(0deg);
609
+ }
610
+ }
611
+ @keyframes fa-shake {
612
+ 0% {
613
+ -webkit-transform: rotate(-15deg);
614
+ transform: rotate(-15deg);
615
+ }
616
+ 4% {
617
+ -webkit-transform: rotate(15deg);
618
+ transform: rotate(15deg);
619
+ }
620
+ 8%, 24% {
621
+ -webkit-transform: rotate(-18deg);
622
+ transform: rotate(-18deg);
623
+ }
624
+ 12%, 28% {
625
+ -webkit-transform: rotate(18deg);
626
+ transform: rotate(18deg);
627
+ }
628
+ 16% {
629
+ -webkit-transform: rotate(-22deg);
630
+ transform: rotate(-22deg);
631
+ }
632
+ 20% {
633
+ -webkit-transform: rotate(22deg);
634
+ transform: rotate(22deg);
635
+ }
636
+ 32% {
637
+ -webkit-transform: rotate(-12deg);
638
+ transform: rotate(-12deg);
639
+ }
640
+ 36% {
641
+ -webkit-transform: rotate(12deg);
642
+ transform: rotate(12deg);
643
+ }
644
+ 40%, 100% {
645
+ -webkit-transform: rotate(0deg);
646
+ transform: rotate(0deg);
647
+ }
648
+ }
649
+ @-webkit-keyframes fa-spin {
650
+ 0% {
651
+ -webkit-transform: rotate(0deg);
652
+ transform: rotate(0deg);
653
+ }
654
+ 100% {
655
+ -webkit-transform: rotate(360deg);
656
+ transform: rotate(360deg);
657
+ }
658
+ }
659
+ @keyframes fa-spin {
660
+ 0% {
661
+ -webkit-transform: rotate(0deg);
662
+ transform: rotate(0deg);
663
+ }
664
+ 100% {
665
+ -webkit-transform: rotate(360deg);
666
+ transform: rotate(360deg);
667
+ }
668
+ }
669
+ .fa-rotate-90 {
670
+ -webkit-transform: rotate(90deg);
671
+ transform: rotate(90deg);
672
+ }
673
+
674
+ .fa-rotate-180 {
675
+ -webkit-transform: rotate(180deg);
676
+ transform: rotate(180deg);
677
+ }
678
+
679
+ .fa-rotate-270 {
680
+ -webkit-transform: rotate(270deg);
681
+ transform: rotate(270deg);
682
+ }
683
+
684
+ .fa-flip-horizontal {
685
+ -webkit-transform: scale(-1, 1);
686
+ transform: scale(-1, 1);
687
+ }
688
+
689
+ .fa-flip-vertical {
690
+ -webkit-transform: scale(1, -1);
691
+ transform: scale(1, -1);
692
+ }
693
+
694
+ .fa-flip-both,
695
+ .fa-flip-horizontal.fa-flip-vertical {
696
+ -webkit-transform: scale(-1, -1);
697
+ transform: scale(-1, -1);
698
+ }
699
+
700
+ .fa-rotate-by {
701
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
702
+ transform: rotate(var(--fa-rotate-angle, none));
703
+ }
704
+
705
+ .fa-stack {
706
+ display: inline-block;
707
+ vertical-align: middle;
708
+ height: 2em;
709
+ position: relative;
710
+ width: 2.5em;
711
+ }
712
+
713
+ .fa-stack-1x,
714
+ .fa-stack-2x {
715
+ bottom: 0;
716
+ left: 0;
717
+ margin: auto;
718
+ position: absolute;
719
+ right: 0;
720
+ top: 0;
721
+ z-index: var(--fa-stack-z-index, auto);
722
+ }
723
+
724
+ .svg-inline--fa.fa-stack-1x {
725
+ height: 1em;
726
+ width: 1.25em;
727
+ }
728
+ .svg-inline--fa.fa-stack-2x {
729
+ height: 2em;
730
+ width: 2.5em;
731
+ }
732
+
733
+ .fa-inverse {
734
+ color: var(--fa-inverse, #fff);
735
+ }
736
+
737
+ .sr-only,
738
+ .fa-sr-only {
739
+ position: absolute;
740
+ width: 1px;
741
+ height: 1px;
742
+ padding: 0;
743
+ margin: -1px;
744
+ overflow: hidden;
745
+ clip: rect(0, 0, 0, 0);
746
+ white-space: nowrap;
747
+ border-width: 0;
748
+ }
749
+
750
+ .sr-only-focusable:not(:focus),
751
+ .fa-sr-only-focusable:not(:focus) {
752
+ position: absolute;
753
+ width: 1px;
754
+ height: 1px;
755
+ padding: 0;
756
+ margin: -1px;
757
+ overflow: hidden;
758
+ clip: rect(0, 0, 0, 0);
759
+ white-space: nowrap;
760
+ border-width: 0;
761
+ }
762
+
763
+ .svg-inline--fa .fa-primary {
764
+ fill: var(--fa-primary-color, currentColor);
765
+ opacity: var(--fa-primary-opacity, 1);
766
+ }
767
+
768
+ .svg-inline--fa .fa-secondary {
769
+ fill: var(--fa-secondary-color, currentColor);
770
+ opacity: var(--fa-secondary-opacity, 0.4);
771
+ }
772
+
773
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
774
+ opacity: var(--fa-secondary-opacity, 0.4);
775
+ }
776
+
777
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
778
+ opacity: var(--fa-primary-opacity, 1);
779
+ }
780
+
781
+ .svg-inline--fa mask .fa-primary,
782
+ .svg-inline--fa mask .fa-secondary {
783
+ fill: black;
784
+ }
785
+
786
+ .fad.fa-inverse,
787
+ .fa-duotone.fa-inverse {
788
+ color: var(--fa-inverse, #fff);
789
+ }`;function Nu(){var e=Cu,t=Eu,n=x.familyPrefix,r=x.replacementClass,a=Qp;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return a}var Du=!1;function Wa(){x.autoAddCss&&!Du&&(qp(Nu()),Du=!0)}var e0={mixout:function(){return{dom:{css:Nu,insertCss:Wa}}},hooks:function(){return{beforeDOMElementCreation:function(){Wa()},beforeI2svg:function(){Wa()}}}},et=lt||{};et[Qe]||(et[Qe]={}),et[Qe].styles||(et[Qe].styles={}),et[Qe].hooks||(et[Qe].hooks={}),et[Qe].shims||(et[Qe].shims=[]);var Ie=et[Qe],Fu=[],t0=function e(){H.removeEventListener("DOMContentLoaded",e),pr=1,Fu.map(function(t){return t()})},pr=!1;Ke&&(pr=(H.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(H.readyState),pr||H.addEventListener("DOMContentLoaded",t0));function n0(e){Ke&&(pr?setTimeout(e,0):Fu.push(e))}function vn(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,a=e.children,o=a===void 0?[]:a;return typeof e=="string"?$u(e):"<".concat(t," ").concat(Jp(r),">").concat(o.map(vn).join(""),"</").concat(t,">")}function Ru(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Ua=function(t,n,r,a){var o=Object.keys(t),i=o.length,s=n,u,l,f;for(r===void 0?(u=1,f=t[o[0]]):(u=0,f=r);u<i;u++)l=o[u],f=s(f,t[l],l,t);return f};function r0(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)==56320?t.push(((a&1023)<<10)+(o&1023)+65536):(t.push(a),n--)}else t.push(a)}return t}function Ga(e){var t=r0(e);return t.length===1?t[0].toString(16):null}function a0(e,t){var n=e.length,r=e.charCodeAt(t),a;return r>=55296&&r<=56319&&n>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(r-55296)*1024+a-56320+65536:r}function Lu(e){return Object.keys(e).reduce(function(t,n){var r=e[n],a=!!r.icon;return a?t[r.iconName]=r.icon:t[n]=r,t},{})}function Ba(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,a=r===void 0?!1:r,o=Lu(t);typeof Ie.hooks.addPack=="function"&&!a?Ie.hooks.addPack(e,Lu(t)):Ie.styles[e]=w(w({},Ie.styles[e]||{}),o),e==="fas"&&Ba("fa",t)}var wn=Ie.styles,o0=Ie.shims,i0=Object.values(Au),Ya=null,ju={},zu={},Vu={},Hu={},Wu={},s0=Object.keys(za);function u0(e){return~Hp.indexOf(e)}function l0(e,t){var n=t.split("-"),r=n[0],a=n.slice(1).join("-");return r===e&&a!==""&&!u0(a)?a:null}var Uu=function(){var t=function(o){return Ua(wn,function(i,s,u){return i[u]=Ua(s,o,{}),i},{})};ju=t(function(a,o,i){if(o[3]&&(a[o[3]]=i),o[2]){var s=o[2].filter(function(u){return typeof u=="number"});s.forEach(function(u){a[u.toString(16)]=i})}return a}),zu=t(function(a,o,i){if(a[i]=i,o[2]){var s=o[2].filter(function(u){return typeof u=="string"});s.forEach(function(u){a[u]=i})}return a}),Wu=t(function(a,o,i){var s=o[2];return a[i]=i,s.forEach(function(u){a[u]=i}),a});var n="far"in wn||x.autoFetchSvg,r=Ua(o0,function(a,o){var i=o[0],s=o[1],u=o[2];return s==="far"&&!n&&(s="fas"),typeof i=="string"&&(a.names[i]={prefix:s,iconName:u}),typeof i=="number"&&(a.unicodes[i.toString(16)]={prefix:s,iconName:u}),a},{names:{},unicodes:{}});Vu=r.names,Hu=r.unicodes,Ya=gr(x.styleDefault)};Yp(function(e){Ya=gr(e.styleDefault)}),Uu();function qa(e,t){return(ju[e]||{})[t]}function c0(e,t){return(zu[e]||{})[t]}function Kt(e,t){return(Wu[e]||{})[t]}function Gu(e){return Vu[e]||{prefix:null,iconName:null}}function f0(e){var t=Hu[e],n=qa("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ft(){return Ya}var Xa=function(){return{prefix:null,iconName:null,rest:[]}};function gr(e){var t=za[e],n=dr[e]||dr[t],r=e in Ie.styles?e:null;return n||r||null}function yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,a=null,o=e.reduce(function(i,s){var u=l0(x.familyPrefix,s);if(wn[s]?(s=i0.includes(s)?Fp[s]:s,a=s,i.prefix=s):s0.indexOf(s)>-1?(a=s,i.prefix=gr(s)):u?i.iconName=u:s!==x.replacementClass&&i.rest.push(s),!r&&i.prefix&&i.iconName){var l=a==="fa"?Gu(i.iconName):{},f=Kt(i.prefix,i.iconName);l.prefix&&(a=null),i.iconName=l.iconName||f||i.iconName,i.prefix=l.prefix||i.prefix,i.prefix==="far"&&!wn.far&&wn.fas&&!x.autoFetchSvg&&(i.prefix="fas")}return i},Xa());return(o.prefix==="fa"||a==="fa")&&(o.prefix=ft()||"fas"),o}var d0=function(){function e(){Sp(this,e),this.definitions={}}return xp(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];var i=a.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(s){n.definitions[s]=w(w({},n.definitions[s]||{}),i[s]),Ba(s,i[s]);var u=Au[s];u&&Ba(u,i[s]),Uu()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var a=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(a).map(function(o){var i=a[o],s=i.prefix,u=i.iconName,l=i.icon,f=l[2];n[s]||(n[s]={}),f.length>0&&f.forEach(function(c){typeof c=="string"&&(n[s][c]=l)}),n[s][u]=l}),n}}]),e}(),Bu=[],Qt={},en={},m0=Object.keys(en);function h0(e,t){var n=t.mixoutsTo;return Bu=e,Qt={},Object.keys(en).forEach(function(r){m0.indexOf(r)===-1&&delete en[r]}),Bu.forEach(function(r){var a=r.mixout?r.mixout():{};if(Object.keys(a).forEach(function(i){typeof a[i]=="function"&&(n[i]=a[i]),lr(a[i])==="object"&&Object.keys(a[i]).forEach(function(s){n[i]||(n[i]={}),n[i][s]=a[i][s]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(i){Qt[i]||(Qt[i]=[]),Qt[i].push(o[i])})}r.provides&&r.provides(en)}),n}function Ja(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var o=Qt[e]||[];return o.forEach(function(i){t=i.apply(null,[t].concat(r))}),t}function Et(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=Qt[e]||[];a.forEach(function(o){o.apply(null,n)})}function tt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return en[e]?en[e].apply(null,t):void 0}function Za(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ft();if(t)return t=Kt(n,t)||t,Ru(Yu.definitions,n,t)||Ru(Ie.styles,n,t)}var Yu=new d0,p0=function(){x.autoReplaceSvg=!1,x.observeMutations=!1,Et("noAuto")},g0={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ke?(Et("beforeI2svg",t),tt("pseudoElements2svg",t),tt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;x.autoReplaceSvg===!1&&(x.autoReplaceSvg=!0),x.observeMutations=!0,n0(function(){_0({autoReplaceSvgRoot:n}),Et("watch",t)})}},y0={icon:function(t){if(t===null)return null;if(lr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Kt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=gr(t[0]);return{prefix:r,iconName:Kt(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(x.familyPrefix,"-"))>-1||t.match(Rp))){var a=yr(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||ft(),iconName:Kt(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var o=ft();return{prefix:o,iconName:Kt(o,t)||t}}}},_e={noAuto:p0,config:x,dom:g0,parse:y0,library:Yu,findIconDefinition:Za,toHtml:vn},_0=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?H:n;(Object.keys(Ie.styles).length>0||x.autoFetchSvg)&&Ke&&x.autoReplaceSvg&&_e.dom.i2svg({node:r})};function _r(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return vn(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ke){var r=H.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function b0(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,o=e.styles,i=e.transform;if(Ha(i)&&n.found&&!r.found){var s=n.width,u=n.height,l={x:s/u/2,y:.5};a.style=hr(w(w({},o),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function v0(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,o=e.symbol,i=o===!0?"".concat(t,"-").concat(x.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:w(w({},a),{},{id:i}),children:r}]}]}function Ka(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,o=e.iconName,i=e.transform,s=e.symbol,u=e.title,l=e.maskId,f=e.titleId,c=e.extra,m=e.watchable,d=m===void 0?!1:m,h=r.found?r:n,y=h.width,g=h.height,_=a==="fak",b=[x.replacementClass,o?"".concat(x.familyPrefix,"-").concat(o):""].filter(function(Le){return c.classes.indexOf(Le)===-1}).filter(function(Le){return Le!==""||!!Le}).concat(c.classes).join(" "),k={children:[],attributes:w(w({},c.attributes),{},{"data-prefix":a,"data-icon":o,class:b,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(y," ").concat(g)})},F=_&&!~c.classes.indexOf("fa-fw")?{width:"".concat(y/g*16*.0625,"em")}:{};d&&(k.attributes[xt]=""),u&&(k.children.push({tag:"title",attributes:{id:k.attributes["aria-labelledby"]||"title-".concat(f||bn())},children:[u]}),delete k.attributes.title);var D=w(w({},k),{},{prefix:a,iconName:o,main:n,mask:r,maskId:l,transform:i,symbol:s,styles:w(w({},F),c.styles)}),ne=r.found&&n.found?tt("generateAbstractMask",D)||{children:[],attributes:{}}:tt("generateAbstractIcon",D)||{children:[],attributes:{}},ht=ne.children,Re=ne.attributes;return D.children=ht,D.attributes=Re,s?v0(D):b0(D)}function qu(e){var t=e.content,n=e.width,r=e.height,a=e.transform,o=e.title,i=e.extra,s=e.watchable,u=s===void 0?!1:s,l=w(w(w({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")});u&&(l[xt]="");var f=w({},i.styles);Ha(a)&&(f.transform=Kp({transform:a,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var c=hr(f);c.length>0&&(l.style=c);var m=[];return m.push({tag:"span",attributes:l,children:[t]}),o&&m.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),m}function w0(e){var t=e.content,n=e.title,r=e.extra,a=w(w(w({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=hr(r.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}var Qa=Ie.styles;function eo(e){var t=e[0],n=e[1],r=e.slice(4),a=$a(r,1),o=a[0],i=null;return Array.isArray(o)?i={tag:"g",attributes:{class:"".concat(x.familyPrefix,"-").concat(Ct.GROUP)},children:[{tag:"path",attributes:{class:"".concat(x.familyPrefix,"-").concat(Ct.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(x.familyPrefix,"-").concat(Ct.PRIMARY),fill:"currentColor",d:o[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:i}}var S0={found:!1,width:512,height:512};function k0(e,t){!Mu&&!x.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function to(e,t){var n=t;return t==="fa"&&x.styleDefault!==null&&(t=ft()),new Promise(function(r,a){if(tt("missingIconAbstract"),n==="fa"){var o=Gu(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Qa[t]&&Qa[t][e]){var i=Qa[t][e];return r(eo(i))}k0(e,t),r(w(w({},S0),{},{icon:x.showMissingIcons&&e?tt("missingIconAbstract")||{}:{}}))})}var Xu=function(){},no=x.measurePerformance&&fr&&fr.mark&&fr.measure?fr:{mark:Xu,measure:Xu},Sn='FA "6.1.2"',x0=function(t){return no.mark("".concat(Sn," ").concat(t," begins")),function(){return Ju(t)}},Ju=function(t){no.mark("".concat(Sn," ").concat(t," ends")),no.measure("".concat(Sn," ").concat(t),"".concat(Sn," ").concat(t," begins"),"".concat(Sn," ").concat(t," ends"))},ro={begin:x0,end:Ju},br=function(){};function Zu(e){var t=e.getAttribute?e.getAttribute(xt):null;return typeof t=="string"}function C0(e){var t=e.getAttribute?e.getAttribute(La):null,n=e.getAttribute?e.getAttribute(ja):null;return t&&n}function E0(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(x.replacementClass)}function T0(){if(x.autoReplaceSvg===!0)return vr.replace;var e=vr[x.autoReplaceSvg];return e||vr.replace}function M0(e){return H.createElementNS("http://www.w3.org/2000/svg",e)}function A0(e){return H.createElement(e)}function Ku(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?M0:A0:n;if(typeof e=="string")return H.createTextNode(e);var a=r(e.tag);Object.keys(e.attributes||[]).forEach(function(i){a.setAttribute(i,e.attributes[i])});var o=e.children||[];return o.forEach(function(i){a.appendChild(Ku(i,{ceFn:r}))}),a}function I0(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var vr={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(a){n.parentNode.insertBefore(Ku(a),n)}),n.getAttribute(xt)===null&&x.keepOriginalSource){var r=H.createComment(I0(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Va(n).indexOf(x.replacementClass))return vr.replace(t);var a=new RegExp("".concat(x.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(s,u){return u===x.replacementClass||u.match(a)?s.toSvg.push(u):s.toNode.push(u),s},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var i=r.map(function(s){return vn(s)}).join(`
790
+ `);n.setAttribute(xt,""),n.innerHTML=i}};function Qu(e){e()}function el(e,t){var n=typeof t=="function"?t:br;if(e.length===0)n();else{var r=Qu;x.mutateApproach===Np&&(r=lt.requestAnimationFrame||Qu),r(function(){var a=T0(),o=ro.begin("mutate");e.map(a),o(),n()})}}var ao=!1;function tl(){ao=!0}function oo(){ao=!1}var wr=null;function nl(e){if(ku&&x.observeMutations){var t=e.treeCallback,n=t===void 0?br:t,r=e.nodeCallback,a=r===void 0?br:r,o=e.pseudoElementsCallback,i=o===void 0?br:o,s=e.observeMutationsRoot,u=s===void 0?H:s;wr=new ku(function(l){if(!ao){var f=ft();Zt(l).forEach(function(c){if(c.type==="childList"&&c.addedNodes.length>0&&!Zu(c.addedNodes[0])&&(x.searchPseudoElements&&i(c.target),n(c.target)),c.type==="attributes"&&c.target.parentNode&&x.searchPseudoElements&&i(c.target.parentNode),c.type==="attributes"&&Zu(c.target)&&~Vp.indexOf(c.attributeName))if(c.attributeName==="class"&&C0(c.target)){var m=yr(Va(c.target)),d=m.prefix,h=m.iconName;c.target.setAttribute(La,d||f),h&&c.target.setAttribute(ja,h)}else E0(c.target)&&a(c.target)})}}),Ke&&wr.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function O0(){wr&&wr.disconnect()}function P0(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,a){var o=a.split(":"),i=o[0],s=o.slice(1);return i&&s.length>0&&(r[i]=s.join(":").trim()),r},{})),n}function $0(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",a=yr(Va(e));return a.prefix||(a.prefix=ft()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||(a.prefix&&r.length>0&&(a.iconName=c0(a.prefix,e.innerText)||qa(a.prefix,Ga(e.innerText))),!a.iconName&&x.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function N0(e){var t=Zt(e.attributes).reduce(function(a,o){return a.name!=="class"&&a.name!=="style"&&(a[o.name]=o.value),a},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return x.autoA11y&&(n?t["aria-labelledby"]="".concat(x.replacementClass,"-title-").concat(r||bn()):(t["aria-hidden"]="true",t.focusable="false")),t}function D0(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Fe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function rl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=$0(e),r=n.iconName,a=n.prefix,o=n.rest,i=N0(e),s=Ja("parseNodeAttributes",{},e),u=t.styleParser?P0(e):[];return w({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:Fe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:u,attributes:i}},s)}var F0=Ie.styles;function al(e){var t=x.autoReplaceSvg==="nest"?rl(e,{styleParser:!1}):rl(e);return~t.extra.classes.indexOf(Iu)?tt("generateLayersText",e,t):tt("generateSvgReplacementMutation",e,t)}function ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ke)return Promise.resolve();var n=H.documentElement.classList,r=function(c){return n.add("".concat(Tu,"-").concat(c))},a=function(c){return n.remove("".concat(Tu,"-").concat(c))},o=x.autoFetchSvg?Object.keys(za):Object.keys(F0);o.includes("fa")||o.push("fa");var i=[".".concat(Iu,":not([").concat(xt,"])")].concat(o.map(function(f){return".".concat(f,":not([").concat(xt,"])")})).join(", ");if(i.length===0)return Promise.resolve();var s=[];try{s=Zt(e.querySelectorAll(i))}catch{}if(s.length>0)r("pending"),a("complete");else return Promise.resolve();var u=ro.begin("onTree"),l=s.reduce(function(f,c){try{var m=al(c);m&&f.push(m)}catch(d){Mu||d.name==="MissingIcon"&&console.error(d)}return f},[]);return new Promise(function(f,c){Promise.all(l).then(function(m){el(m,function(){r("active"),r("complete"),a("pending"),typeof t=="function"&&t(),u(),f()})}).catch(function(m){u(),c(m)})})}function R0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;al(e).then(function(n){n&&el([n],t)})}function L0(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Za(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:Za(a||{})),e(r,w(w({},n),{},{mask:a}))}}var j0=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,a=r===void 0?Fe:r,o=n.symbol,i=o===void 0?!1:o,s=n.mask,u=s===void 0?null:s,l=n.maskId,f=l===void 0?null:l,c=n.title,m=c===void 0?null:c,d=n.titleId,h=d===void 0?null:d,y=n.classes,g=y===void 0?[]:y,_=n.attributes,b=_===void 0?{}:_,k=n.styles,F=k===void 0?{}:k;if(t){var D=t.prefix,ne=t.iconName,ht=t.icon;return _r(w({type:"icon"},t),function(){return Et("beforeDOMElementCreation",{iconDefinition:t,params:n}),x.autoA11y&&(m?b["aria-labelledby"]="".concat(x.replacementClass,"-title-").concat(h||bn()):(b["aria-hidden"]="true",b.focusable="false")),Ka({icons:{main:eo(ht),mask:u?eo(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:D,iconName:ne,transform:w(w({},Fe),a),symbol:i,title:m,maskId:f,titleId:h,extra:{attributes:b,styles:F,classes:g}})})}},z0={mixout:function(){return{icon:L0(j0)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=ol,n.nodeCallback=R0,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,a=r===void 0?H:r,o=n.callback,i=o===void 0?function(){}:o;return ol(a,i)},t.generateSvgReplacementMutation=function(n,r){var a=r.iconName,o=r.title,i=r.titleId,s=r.prefix,u=r.transform,l=r.symbol,f=r.mask,c=r.maskId,m=r.extra;return new Promise(function(d,h){Promise.all([to(a,s),f.iconName?to(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(y){var g=$a(y,2),_=g[0],b=g[1];d([n,Ka({icons:{main:_,mask:b},prefix:s,iconName:a,transform:u,symbol:l,maskId:c,title:o,titleId:i,extra:m,watchable:!0})])}).catch(h)})},t.generateAbstractIcon=function(n){var r=n.children,a=n.attributes,o=n.main,i=n.transform,s=n.styles,u=hr(s);u.length>0&&(a.style=u);var l;return Ha(i)&&(l=tt("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),r.push(l||o.icon),{children:r,attributes:a}}}},V0={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.classes,o=a===void 0?[]:a;return _r({type:"layer"},function(){Et("beforeDOMElementCreation",{assembler:n,params:r});var i=[];return n(function(s){Array.isArray(s)?s.map(function(u){i=i.concat(u.abstract)}):i=i.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(x.familyPrefix,"-layers")].concat(cr(o)).join(" ")},children:i}]})}}}},H0={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.title,o=a===void 0?null:a,i=r.classes,s=i===void 0?[]:i,u=r.attributes,l=u===void 0?{}:u,f=r.styles,c=f===void 0?{}:f;return _r({type:"counter",content:n},function(){return Et("beforeDOMElementCreation",{content:n,params:r}),w0({content:n.toString(),title:o,extra:{attributes:l,styles:c,classes:["".concat(x.familyPrefix,"-layers-counter")].concat(cr(s))}})})}}}},W0={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.transform,o=a===void 0?Fe:a,i=r.title,s=i===void 0?null:i,u=r.classes,l=u===void 0?[]:u,f=r.attributes,c=f===void 0?{}:f,m=r.styles,d=m===void 0?{}:m;return _r({type:"text",content:n},function(){return Et("beforeDOMElementCreation",{content:n,params:r}),qu({content:n,transform:w(w({},Fe),o),title:s,extra:{attributes:c,styles:d,classes:["".concat(x.familyPrefix,"-layers-text")].concat(cr(l))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var a=r.title,o=r.transform,i=r.extra,s=null,u=null;if(xu){var l=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();s=f.width/l,u=f.height/l}return x.autoA11y&&!a&&(i.attributes["aria-hidden"]="true"),Promise.resolve([n,qu({content:n.innerHTML,width:s,height:u,transform:o,title:a,extra:i,watchable:!0})])}}},U0=new RegExp('"',"ug"),il=[1105920,1112319];function G0(e){var t=e.replace(U0,""),n=a0(t,0),r=n>=il[0]&&n<=il[1],a=t.length===2?t[0]===t[1]:!1;return{value:Ga(a?t[0]:t),isSecondary:r||a}}function sl(e,t){var n="".concat($p).concat(t.replace(":","-"));return new Promise(function(r,a){if(e.getAttribute(n)!==null)return r();var o=Zt(e.children),i=o.filter(function(ne){return ne.getAttribute(Ra)===t})[0],s=lt.getComputedStyle(e,t),u=s.getPropertyValue("font-family").match(Lp),l=s.getPropertyValue("font-weight"),f=s.getPropertyValue("content");if(i&&!u)return e.removeChild(i),r();if(u&&f!=="none"&&f!==""){var c=s.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?dr[u[2].toLowerCase()]:jp[l],d=G0(c),h=d.value,y=d.isSecondary,g=u[0].startsWith("FontAwesome"),_=qa(m,h),b=_;if(g){var k=f0(h);k.iconName&&k.prefix&&(_=k.iconName,m=k.prefix)}if(_&&!y&&(!i||i.getAttribute(La)!==m||i.getAttribute(ja)!==b)){e.setAttribute(n,b),i&&e.removeChild(i);var F=D0(),D=F.extra;D.attributes[Ra]=t,to(_,m).then(function(ne){var ht=Ka(w(w({},F),{},{icons:{main:ne,mask:Xa()},prefix:m,iconName:b,extra:D,watchable:!0})),Re=H.createElement("svg");t==="::before"?e.insertBefore(Re,e.firstChild):e.appendChild(Re),Re.outerHTML=ht.map(function(Le){return vn(Le)}).join(`
791
+ `),e.removeAttribute(n),r()}).catch(a)}else r()}else r()})}function B0(e){return Promise.all([sl(e,"::before"),sl(e,"::after")])}function Y0(e){return e.parentNode!==document.head&&!~Dp.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ra)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ul(e){if(Ke)return new Promise(function(t,n){var r=Zt(e.querySelectorAll("*")).filter(Y0).map(B0),a=ro.begin("searchPseudoElements");tl(),Promise.all(r).then(function(){a(),oo(),t()}).catch(function(){a(),oo(),n()})})}var q0={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=ul,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,a=r===void 0?H:r;x.searchPseudoElements&&ul(a)}}},ll=!1,X0={mixout:function(){return{dom:{unwatch:function(){tl(),ll=!0}}}},hooks:function(){return{bootstrap:function(){nl(Ja("mutationObserverCallbacks",{}))},noAuto:function(){O0()},watch:function(n){var r=n.observeMutationsRoot;ll?oo():nl(Ja("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},cl=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,a){var o=a.toLowerCase().split("-"),i=o[0],s=o.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},J0={mixout:function(){return{parse:{transform:function(n){return cl(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-transform");return a&&(n.transform=cl(a)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,a=n.transform,o=n.containerWidth,i=n.iconWidth,s={transform:"translate(".concat(o/2," 256)")},u="translate(".concat(a.x*32,", ").concat(a.y*32,") "),l="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),f="rotate(".concat(a.rotate," 0 0)"),c={transform:"".concat(u," ").concat(l," ").concat(f)},m={transform:"translate(".concat(i/2*-1," -256)")},d={outer:s,inner:c,path:m};return{tag:"g",attributes:w({},d.outer),children:[{tag:"g",attributes:w({},d.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:w(w({},r.icon.attributes),d.path)}]}]}}}},io={x:0,y:0,width:"100%",height:"100%"};function fl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Z0(e){return e.tag==="g"?e.children:[e]}var K0={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-mask"),o=a?yr(a.split(" ").map(function(i){return i.trim()})):Xa();return o.prefix||(o.prefix=ft()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,a=n.attributes,o=n.main,i=n.mask,s=n.maskId,u=n.transform,l=o.width,f=o.icon,c=i.width,m=i.icon,d=Zp({transform:u,containerWidth:c,iconWidth:l}),h={tag:"rect",attributes:w(w({},io),{},{fill:"white"})},y=f.children?{children:f.children.map(fl)}:{},g={tag:"g",attributes:w({},d.inner),children:[fl(w({tag:f.tag,attributes:w(w({},f.attributes),d.path)},y))]},_={tag:"g",attributes:w({},d.outer),children:[g]},b="mask-".concat(s||bn()),k="clip-".concat(s||bn()),F={tag:"mask",attributes:w(w({},io),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,_]},D={tag:"defs",children:[{tag:"clipPath",attributes:{id:k},children:Z0(m)},F]};return r.push(D,{tag:"rect",attributes:w({fill:"currentColor","clip-path":"url(#".concat(k,")"),mask:"url(#".concat(b,")")},io)}),{children:r,attributes:a}}}},Q0={provides:function(t){var n=!1;lt.matchMedia&&(n=lt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],a={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:w(w({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=w(w({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:w(w({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:w(w({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:w(w({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:w(w({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:w(w({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:w(w({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:w(w({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},eg={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-symbol"),o=a===null?!1:a===""?!0:a;return n.symbol=o,n}}}},tg=[e0,z0,V0,H0,W0,q0,X0,J0,K0,Q0,eg];h0(tg,{mixoutsTo:_e}),_e.noAuto,_e.config,_e.library,_e.dom;var so=_e.parse;_e.findIconDefinition,_e.toHtml;var ng=_e.icon;_e.layer,_e.text,_e.counter;var dl={exports:{}},rg="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ag=rg,og=ag;function ml(){}function hl(){}hl.resetWarningCache=ml;var ig=function(){function e(r,a,o,i,s,u){if(u!==og){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hl,resetWarningCache:ml};return n.PropTypes=n,n};dl.exports=ig();var sg=dl.exports;const I=zh(sg);function pl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pl(Object(n),!0).forEach(function(r){tn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sr(e){"@babel/helpers - typeof";return Sr=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},Sr(e)}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ug(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function lg(e,t){if(e==null)return{};var n=ug(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uo(e){return cg(e)||fg(e)||dg(e)||mg()}function cg(e){if(Array.isArray(e))return lo(e)}function fg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dg(e,t){if(e){if(typeof e=="string")return lo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lo(e,t)}}function lo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mg(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
792
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hg(e){var t,n=e.beat,r=e.fade,a=e.beatFade,o=e.bounce,i=e.shake,s=e.flash,u=e.spin,l=e.spinPulse,f=e.spinReverse,c=e.pulse,m=e.fixedWidth,d=e.inverse,h=e.border,y=e.listItem,g=e.flip,_=e.size,b=e.rotation,k=e.pull,F=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":o,"fa-shake":i,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":f,"fa-spin-pulse":l,"fa-pulse":c,"fa-fw":m,"fa-inverse":d,"fa-border":h,"fa-li":y,"fa-flip":g===!0,"fa-flip-horizontal":g==="horizontal"||g==="both","fa-flip-vertical":g==="vertical"||g==="both"},tn(t,"fa-".concat(_),typeof _<"u"&&_!==null),tn(t,"fa-rotate-".concat(b),typeof b<"u"&&b!==null&&b!==0),tn(t,"fa-pull-".concat(k),typeof k<"u"&&k!==null),tn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(F).map(function(D){return F[D]?D:null}).filter(function(D){return D})}function pg(e){return e=e-0,e===e}function gl(e){return pg(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var gg=["style"];function yg(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _g(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),a=gl(n.slice(0,r)),o=n.slice(r+1).trim();return a.startsWith("webkit")?t[yg(a)]=o:t[a]=o,t},{})}function yl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(u){return yl(e,u)}),a=Object.keys(t.attributes||{}).reduce(function(u,l){var f=t.attributes[l];switch(l){case"class":u.attrs.className=f,delete t.attributes.class;break;case"style":u.attrs.style=_g(f);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?u.attrs[l.toLowerCase()]=f:u.attrs[gl(l)]=f}return u},{attrs:{}}),o=n.style,i=o===void 0?{}:o,s=lg(n,gg);return a.attrs.style=dt(dt({},a.attrs.style),i),e.apply(void 0,[t.tag,dt(dt({},a.attrs),s)].concat(uo(r)))}var _l=!1;try{_l=!0}catch{}function bg(){if(!_l&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function bl(e){if(e&&Sr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(so.icon)return so.icon(e);if(e===null)return null;if(e&&Sr(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function co(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?tn({},e,t):{}}var kn=Nn.forwardRef(function(e,t){var n=e.icon,r=e.mask,a=e.symbol,o=e.className,i=e.title,s=e.titleId,u=e.maskId,l=bl(n),f=co("classes",[].concat(uo(hg(e)),uo(o.split(" ")))),c=co("transform",typeof e.transform=="string"?so.transform(e.transform):e.transform),m=co("mask",bl(r)),d=ng(l,dt(dt(dt(dt({},f),c),m),{},{symbol:a,title:i,titleId:s,maskId:u}));if(!d)return bg("Could not find icon",l),null;var h=d.abstract,y={ref:t};return Object.keys(e).forEach(function(g){kn.defaultProps.hasOwnProperty(g)||(y[g]=e[g])}),vg(h[0],y)});kn.displayName="FontAwesomeIcon",kn.propTypes={beat:I.bool,border:I.bool,beatFade:I.bool,bounce:I.bool,className:I.string,fade:I.bool,flash:I.bool,mask:I.oneOfType([I.object,I.array,I.string]),maskId:I.string,fixedWidth:I.bool,inverse:I.bool,flip:I.oneOf([!0,!1,"horizontal","vertical","both"]),icon:I.oneOfType([I.object,I.array,I.string]),listItem:I.bool,pull:I.oneOf(["right","left"]),pulse:I.bool,rotation:I.oneOf([0,90,180,270]),shake:I.bool,size:I.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:I.bool,spinPulse:I.bool,spinReverse:I.bool,symbol:I.oneOfType([I.bool,I.string]),title:I.string,titleId:I.string,transform:I.oneOfType([I.string,I.object]),swapOpacity:I.bool},kn.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var vg=yl.bind(null,Nn.createElement);/*!
793
+ * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
794
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
795
+ * Copyright 2022 Fonticons, Inc.
796
+ */var wg={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"]},Sg=wg,kg={prefix:"fas",iconName:"hourglass-start",icon:[384,512,["hourglass-1"],"f251","M352 0C369.7 0 384 14.33 384 32C384 49.67 369.7 64 352 64V74.98C352 117.4 335.1 158.1 305.1 188.1L237.3 256L305.1 323.9C335.1 353.9 352 394.6 352 437V448C369.7 448 384 462.3 384 480C384 497.7 369.7 512 352 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448V437C32 394.6 48.86 353.9 78.86 323.9L146.7 256L78.86 188.1C48.86 158.1 32 117.4 32 74.98V64C14.33 64 0 49.67 0 32C0 14.33 14.33 0 32 0H352zM259.9 369.1L192 301.3L124.1 369.1C106.1 387.1 96 411.6 96 437V448H288V437C288 411.6 277.9 387.1 259.9 369.1V369.1z"]},xg={prefix:"fas",iconName:"square-pen",icon:[448,512,["pen-square","pencil-square"],"f14b","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM325.8 139.7C310.1 124.1 284.8 124.1 269.2 139.7L247.8 161.1L318.7 232.1L340.1 210.7C355.8 195 355.8 169.7 340.1 154.1L325.8 139.7zM111.5 303.8L96.48 363.1C95.11 369.4 96.71 375.2 100.7 379.2C104.7 383.1 110.4 384.7 115.9 383.4L176 368.3C181.6 366.9 186.8 364 190.9 359.9L296.1 254.7L225.1 183.8L119.9 288.1C115.8 293.1 112.9 298.2 111.5 303.8z"]},Cg=xg,Eg={prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]};function kr(e){return T(kn,e)}const Tg=kr({icon:Eg}),Mg=kr({icon:Sg}),Ag=kr({icon:Cg}),Ig=kr({icon:kg});function Og(e,t,n){let r;const a=it(T("nav",xe(te([["className","flex space-x-4 p-1 mb-5 bg-gray-50"],(r=De(O(()=>tr(o=>{let i,s;const u=qi(mu(o,t).Data)|0,l=T("span",xe(te([["className",Ye(" ",De(O(()=>{if(re(o,e)){const f=o;return f.tag===1?A("text-green-500"):f.tag===2?A("text-blue-500"):f.tag===3?A("text-yellow-500"):A("text-gray-800")}else return ad()})))],(i=De(O(()=>o.tag===1?A(Mg):o.tag===2?A(Ag):o.tag===3?A(Ig):A(Tg))),["children",q.Children.toArray(Array.from(i))])])));return T("a",xe(te([["className",Ye(" ",De(O(()=>Y(A("flex-1 px-3 py-2 font-medium text-sm rounded-md text-center space-x-2"),O(()=>re(o,e)?A("bg-white text-gray-800 filter drop-shadow"):A("text-gray-600 hover:bg-gray-100 cursor-pointer"))))))],["onClick",f=>{n(o)}],(s=[l,T("span",{children:[yp(o)]}),T("span",{className:"text-gray-400",children:`(${u})`})],["children",q.Children.toArray(Array.from(s))])])))},te([new Ze(0,[]),new Ze(1,[]),new Ze(2,[]),new Ze(3,[])])))),["children",q.Children.toArray(Array.from(r))])]))));return T("div",{children:q.Children.toArray(Array.from(a))})}const Pg=864e5,$g=6e4,Ng=36e5,vl=Symbol.for("constructDateFrom");function nn(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&vl in e?e[vl](t):e instanceof Date?new e.constructor(t):new Date(t)}function Se(e,t){return nn(e,e)}function Dg(e,t,n){const r=Se(e);return isNaN(t)?nn(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Fg(e,t,n){const r=Se(e);if(isNaN(t))return nn(e,NaN);if(!t)return r;const a=r.getDate(),o=nn(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const i=o.getDate();return a>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),a),r)}function xn(e,t,n){const{years:r=0,months:a=0,weeks:o=0,days:i=0,hours:s=0,minutes:u=0,seconds:l=0}=t,f=Se(e),c=a||r?Fg(f,a+r*12):f,m=i||o?Dg(c,i+o*7):c,d=u+s*60,y=(l+d*60)*1e3;return nn(e,+m+y)}let Rg={};function Lg(){return Rg}function wl(e){const t=Se(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function mt(e,...t){const n=nn.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function Sl(e,t){const n=Se(e);return n.setHours(0,0,0,0),n}function jg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t),o=Sl(r),i=Sl(a),s=+o-wl(o),u=+i-wl(i);return Math.round((s-u)/Pg)}function Cn(e,t){const n=+Se(e)-+Se(t);return n<0?-1:n>0?1:n}function zg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t),o=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return o*12+i}function Vg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t);return r.getFullYear()-a.getFullYear()}function Hg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t),o=kl(r,a),i=Math.abs(jg(r,a));r.setDate(r.getDate()-o*i);const s=+(kl(r,a)===-o),u=o*(i-s);return u===0?0:u}function kl(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function fo(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function Wg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t),o=(+r-+a)/Ng;return fo(n==null?void 0:n.roundingMethod)(o)}function xl(e,t){return+Se(e)-+Se(t)}function Ug(e,t,n){const r=xl(e,t)/$g;return fo(n==null?void 0:n.roundingMethod)(r)}function Gg(e,t){const n=Se(e);return n.setHours(23,59,59,999),n}function Bg(e,t){const n=Se(e),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Yg(e,t){const n=Se(e);return+Gg(n)==+Bg(n)}function qg(e,t,n){const[r,a,o]=mt(n==null?void 0:n.in,e,e,t),i=Cn(a,o),s=Math.abs(zg(a,o));if(s<1)return 0;a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*s);let u=Cn(a,o)===-i;Yg(r)&&s===1&&Cn(r,o)===1&&(u=!1);const l=i*(s-+u);return l===0?0:l}function Xg(e,t,n){const r=xl(e,t)/1e3;return fo(n==null?void 0:n.roundingMethod)(r)}function Jg(e,t,n){const[r,a]=mt(n==null?void 0:n.in,e,t),o=Cn(r,a),i=Math.abs(Vg(r,a));r.setFullYear(1584),a.setFullYear(1584);const s=Cn(r,a)===-o,u=o*(i-+s);return u===0?0:u}function Zg(e,t){const[n,r]=mt(e,t.start,t.end);return{start:n,end:r}}const Kg={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"}},Qg=(e,t,n)=>{let r;const a=Kg[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function mo(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const e1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},t1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},n1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},r1={date:mo({formats:e1,defaultWidth:"full"}),time:mo({formats:t1,defaultWidth:"full"}),dateTime:mo({formats:n1,defaultWidth:"full"})},a1={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o1=(e,t,n,r)=>a1[e];function En(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return a[o]}}const i1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},u1={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"]},l1={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"]},c1={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"}},f1={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"}},d1={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:En({values:i1,defaultWidth:"wide"}),quarter:En({values:s1,defaultWidth:"wide",argumentCallback:e=>e-1}),month:En({values:u1,defaultWidth:"wide"}),day:En({values:l1,defaultWidth:"wide"}),dayPeriod:En({values:c1,defaultWidth:"wide",formattingValues:f1,defaultFormattingWidth:"wide"})};function Tn(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?h1(s,c=>c.test(i)):m1(s,c=>c.test(i));let l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;const f=t.slice(i.length);return{value:l,rest:f}}}function m1(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function h1(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function p1(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(a.length);return{value:i,rest:s}}}const g1=/^(\d+)(th|st|nd|rd)?/i,y1=/\d+/i,_1={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},b1={any:[/^b/i,/^(a|c)/i]},v1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},w1={any:[/1/i,/2/i,/3/i,/4/i]},S1={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},k1={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]},x1={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},C1={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]},E1={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},T1={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}},M1={ordinalNumber:p1({matchPattern:g1,parsePattern:y1,valueCallback:e=>parseInt(e,10)}),era:Tn({matchPatterns:_1,defaultMatchWidth:"wide",parsePatterns:b1,defaultParseWidth:"any"}),quarter:Tn({matchPatterns:v1,defaultMatchWidth:"wide",parsePatterns:w1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Tn({matchPatterns:S1,defaultMatchWidth:"wide",parsePatterns:k1,defaultParseWidth:"any"}),day:Tn({matchPatterns:x1,defaultMatchWidth:"wide",parsePatterns:C1,defaultParseWidth:"any"}),dayPeriod:Tn({matchPatterns:E1,defaultMatchWidth:"any",parsePatterns:T1,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:Qg,formatLong:r1,formatRelative:o1,localize:d1,match:M1,options:{weekStartsOn:0,firstWeekContainsDate:1}},I1=["years","months","weeks","days","hours","minutes","seconds"];function O1(e,t){const n=Lg(),r=(t==null?void 0:t.locale)??n.locale??A1,a=(t==null?void 0:t.format)??I1,o=(t==null?void 0:t.zero)??!1,i=(t==null?void 0:t.delimiter)??" ";return r.formatDistance?a.reduce((u,l)=>{const f=`x${l.replace(/(^.)/,m=>m.toUpperCase())}`,c=e[l];return c!==void 0&&(o||e[l])?u.concat(r.formatDistance(f,c)):u},[]).join(i):""}function P1(e,t){const{start:n,end:r}=Zg(t==null?void 0:t.in,e),a={},o=Jg(r,n);o&&(a.years=o);const i=xn(n,{years:a.years}),s=qg(r,i);s&&(a.months=s);const u=xn(i,{months:a.months}),l=Hg(r,u);l&&(a.days=l);const f=xn(u,{days:a.days}),c=Wg(r,f);c&&(a.hours=c);const m=xn(f,{hours:a.hours}),d=Ug(r,m);d&&(a.minutes=d);const h=xn(m,{minutes:a.minutes}),y=Xg(r,h);return y&&(a.seconds=y),a}function $1(e){const t={days:0,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:0};return e.years>0?{days:t.days,hours:t.hours,minutes:t.minutes,months:t.months,seconds:t.seconds,weeks:t.weeks,years:e.years}:e.months>0?{days:t.days,hours:t.hours,minutes:t.minutes,months:e.months,seconds:t.seconds,weeks:t.weeks,years:t.years}:e.weeks>0?{days:t.days,hours:t.hours,minutes:t.minutes,months:t.months,seconds:t.seconds,weeks:e.weeks,years:t.years}:e.days>0?{days:e.days,hours:t.hours,minutes:t.minutes,months:t.months,seconds:t.seconds,weeks:t.weeks,years:t.years}:e.hours>0?{days:t.days,hours:e.hours,minutes:t.minutes,months:t.months,seconds:t.seconds,weeks:t.weeks,years:t.years}:e.minutes>0?{days:t.days,hours:t.hours,minutes:e.minutes,months:t.months,seconds:t.seconds,weeks:t.weeks,years:t.years}:e.seconds>0?{days:t.days,hours:t.hours,minutes:t.minutes,months:t.months,seconds:e.seconds,weeks:t.weeks,years:t.years}:{days:t.days,hours:t.hours,minutes:1,months:t.months,seconds:t.seconds,weeks:t.weeks,years:t.years}}function Cl(e){const t=Pi();return Ri(e,t)>0?"1 minute ago":`${O1($1(P1({end:t,start:e})))} ago`}function N1(e,t){let n,r,a,o;return T("div",xe(te([["className","flex flex-col"],(n=[T("div",xe(te([["className","-my-2 overflow-x-auto -mx-6"],(r=[T("div",xe(te([["className","py-2 align-middle inline-block min-w-full px-6"],(a=[T("div",xe(te([["className","shadow overflow-hidden border-b border-gray-200 sm:rounded-lg"],(o=[T("table",{className:"min-w-full divide-y divide-gray-200",children:q.Children.toArray([e,t])})],["children",q.Children.toArray(Array.from(o))])])))],["children",q.Children.toArray(Array.from(a))])])))],["children",q.Children.toArray(Array.from(r))])])))],["children",q.Children.toArray(Array.from(n))])])))}function D1(e){let t,n;return T("thead",xe(te([["className","bg-gray-50"],(t=[(n=De(O(()=>tr(r=>T("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:r}),e))),T("tr",{children:q.Children.toArray(Array.from(n))}))],["children",q.Children.toArray(Array.from(t))])])))}function F1(e){let t;const n=u=>T("td",{className:"px-6 py-4 whitespace-nowrap",children:q.Children.toArray(Array.from(u))}),r=u=>T("div",{className:"text-sm text-gray-500",children:u}),a=u=>n([r(u)]),o=(u,l)=>n([T("div",{className:"text-sm text-gray-900",children:u}),r(l)]),i=a("---"),s=du(e);return T("tbody",xe(te([["className","bg-white divide-y divide-gray-200"],(t=De(O(()=>va(u=>{let l,f;const c=qi(u.Configuration.Steps)|0;return f=c===1?"1 step":`${c} steps`,A(T("tr",xe(te([["className","hover:bg-gray-50"],(l=De(O(()=>{let m;return Y((m=u.Profile.ExternalId,m==null?A(i):A(a(m))),O(()=>Y(A(n([T("div",{className:"text-sm font-medium text-gray-900",children:`${u.Profile.FirstName} ${u.Profile.LastName}`}),r(u.Profile.Email)])),O(()=>{let d,h;return Y((d=u.Creator,d==null?A(i):(h=d,A(o(`${h.FirstName} ${h.LastName}`,h.Email)))),O(()=>{let y,g,_;return Y(A((y=u,g=bp(y),n([T("span",{className:Ye(" ",["px-2 inline-flex text-xs leading-5 font-semibold rounded",(_=y.Status,_.tag===1?"bg-blue-100 text-blue-800":_.tag===2?"bg-green-100 text-green-800":_.tag===3?"bg-gray-100 text-gray-800":"bg-yellow-100 text-yellow-800")]),children:g})]))),O(()=>Y(va(b=>{const k=Xi(F=>F.Name===b,u.Tags);return k==null?A(i):A(a(k.Value))},s),O(()=>Y(A(o(u.Configuration.Name,f)),O(()=>{let b;return Y((b=u.Invite,b==null?A(i):A(a(Cl(b.DateIssued)))),O(()=>Y(A(a(Cl(u.LastUpdated))),O(()=>A(a(_p(u)))))))}))))))}))}))))})),["children",q.Children.toArray(Array.from(l))])]))))},e.Data))),["children",q.Children.toArray(Array.from(t))])])))}function R1(e){let t;const n=ph(e.backendUrl,e.accessToken),r=rp(()=>Nh(vp,wp,(i,s)=>{}),void 0,[]),a=r[0],o=r[1];return lp(hp(()=>gh(n),i=>{o(new fu(0,[i]))})),T("div",xe(it((t=De(O(()=>{const i=a.ProcessInstanceList;switch(i.tag){case 2:{const s=i.fields[0];return Y(A(Og(a.SelectedStatusTab,s,u=>{o(new fu(1,[u]))})),O(()=>{const u=mu(a.SelectedStatusTab,s);return A(N1(D1(De(O(()=>Y(A("Ext. ID"),O(()=>Y(A("Onboarder"),O(()=>Y(A("Manager"),O(()=>Y(A("Status"),O(()=>Y(du(u),O(()=>Y(A("Workflow"),O(()=>Y(A("Invited"),O(()=>Y(A("Updated"),O(()=>A("Last Action")))))))))))))))))))),F1(u)))}))}case 3:return A(T("p",{children:["There was an error loading. Please try refreshing this page."]}));default:return A(T("p",{children:["Loading..."]}))}})),["children",q.Children.toArray(Array.from(t))]))))}Rl(e=>T(R1,e),"workflows-progress-component")})();