@accounter/client 0.0.7-alpha-20251006003125-2f2a60e90a2031b4a6079a5c98799567e1b26692 → 0.0.7-alpha-20251006202717-8189e481d748362329f81889649e0f2f008c6d37
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.
|
@@ -108,532 +108,532 @@ Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}
|
|
|
108
108
|
* This source code is licensed under the MIT license found in the
|
|
109
109
|
* LICENSE file in the root directory of this source tree.
|
|
110
110
|
*/var che;function eht(){if(che)return Gi;che=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function k(C){if(typeof C=="object"&&C!==null){var N=C.$$typeof;switch(N){case t:switch(C=C.type,C){case l:case c:case r:case a:case i:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case u:case A:case m:case o:return C;default:return N}}case n:return N}}}function S(C){return k(C)===c}return Gi.AsyncMode=l,Gi.ConcurrentMode=c,Gi.ContextConsumer=s,Gi.ContextProvider=o,Gi.Element=t,Gi.ForwardRef=u,Gi.Fragment=r,Gi.Lazy=A,Gi.Memo=m,Gi.Portal=n,Gi.Profiler=a,Gi.StrictMode=i,Gi.Suspense=f,Gi.isAsyncMode=function(C){return S(C)||k(C)===l},Gi.isConcurrentMode=S,Gi.isContextConsumer=function(C){return k(C)===s},Gi.isContextProvider=function(C){return k(C)===o},Gi.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Gi.isForwardRef=function(C){return k(C)===u},Gi.isFragment=function(C){return k(C)===r},Gi.isLazy=function(C){return k(C)===A},Gi.isMemo=function(C){return k(C)===m},Gi.isPortal=function(C){return k(C)===n},Gi.isProfiler=function(C){return k(C)===a},Gi.isStrictMode=function(C){return k(C)===i},Gi.isSuspense=function(C){return k(C)===f},Gi.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===c||C===a||C===i||C===f||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===A||C.$$typeof===m||C.$$typeof===o||C.$$typeof===s||C.$$typeof===u||C.$$typeof===v||C.$$typeof===y||C.$$typeof===x||C.$$typeof===p)},Gi.typeOf=k,Gi}var uhe;function tht(){return uhe||(uhe=1,dz.exports=eht()),dz.exports}var fz,dhe;function nht(){if(dhe)return fz;dhe=1;var e=tht(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=i;function o(A){return e.isMemo(A)?i:a[A.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;function m(A,p,v){if(typeof p!="string"){if(h){var y=f(p);y&&y!==h&&m(A,y,v)}var x=l(p);c&&(x=x.concat(c(p)));for(var k=o(A),S=o(p),C=0;C<x.length;++C){var N=x[C];if(!n[N]&&!(v&&v[N])&&!(S&&S[N])&&!(k&&k[N])){var E=u(p,N);try{s(A,N,E)}catch{}}}}return A}return fz=m,fz}nht();var rht=!0;function Bte(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var jte=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||rht===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},V$=function(t,n,r){jte(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function iht(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var aht={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oht=/[A-Z]|^ms/g,sht=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QIe=function(t){return t.charCodeAt(1)===45},fhe=function(t){return t!=null&&typeof t!="boolean"},hz=zIe(function(e){return QIe(e)?e:e.replace(oht,"-$&").toLowerCase()}),hhe=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(sht,function(r,i,a){return lp={name:i,styles:a,next:lp},i})}return aht[t]!==1&&!QIe(t)&&typeof n=="number"&&n!==0?n+"px":n};function rE(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return lp={name:i.name,styles:i.styles,next:lp},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)lp={name:o.name,styles:o.styles,next:lp},o=o.next;var s=a.styles+";";return s}return lht(e,t,n)}case"function":{if(e!==void 0){var l=lp,c=n(e);return lp=l,rE(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function lht(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=rE(e,t,n[i])+";";else for(var a in n){var o=n[a];if(typeof o!="object"){var s=o;t!=null&&t[s]!==void 0?r+=a+"{"+t[s]+"}":fhe(s)&&(r+=hz(a)+":"+hhe(a,s)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)fhe(o[l])&&(r+=hz(a)+":"+hhe(a,o[l])+";");else{var c=rE(e,t,o);switch(a){case"animation":case"animationName":{r+=hz(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var mhe=/label:\s*([^\s;{]+)\s*(;|$)/g,lp;function lC(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";lp=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=rE(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=rE(n,t,e[s]),r){var l=a;i+=l[s]}mhe.lastIndex=0;for(var c="",u;(u=mhe.exec(i))!==null;)c+="-"+u[1];var f=iht(i)+c;return{name:f,styles:i,next:lp}}var cht=function(t){return t()},qIe=nx.useInsertionEffect?nx.useInsertionEffect:!1,GIe=qIe||cht,phe=qIe||w.useLayoutEffect,WIe=w.createContext(typeof HTMLElement<"u"?VIe({key:"css"}):null);WIe.Provider;var Ite=function(t){return w.forwardRef(function(n,r){var i=w.useContext(WIe);return t(n,i,r)})},rx=w.createContext({}),uht=function(t,n){if(typeof n=="function"){var r=n(t);return r}return lt({},t,n)},dht=she(function(e){return she(function(t){return uht(e,t)})}),fht=function(t){var n=w.useContext(rx);return t.theme!==n&&(n=dht(n)(t.theme)),w.createElement(rx.Provider,{value:n},t.children)},Pte={}.hasOwnProperty,yY="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",hht=function(t,n){var r={};for(var i in n)Pte.call(n,i)&&(r[i]=n[i]);return r[yY]=t,r},mht=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return jte(n,r,i),GIe(function(){return V$(n,r,i)}),null},pht=Ite(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[yY],a=[r],o="";typeof e.className=="string"?o=Bte(t.registered,a,e.className):e.className!=null&&(o=e.className+" ");var s=lC(a,void 0,w.useContext(rx));o+=t.key+"-"+s.name;var l={};for(var c in e)Pte.call(e,c)&&c!=="css"&&c!==yY&&(l[c]=e[c]);return l.className=o,n&&(l.ref=n),w.createElement(w.Fragment,null,w.createElement(mht,{cache:t,serialized:s,isStringTag:typeof i=="string"}),w.createElement(i,l))}),Aht=pht,Ahe=function(t,n){var r=arguments;if(n==null||!Pte.call(n,"css"))return w.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=Aht,a[1]=hht(t,n);for(var o=2;o<i;o++)a[o]=r[o];return w.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ahe||(Ahe={}));var YF=Ite(function(e,t){var n=e.styles,r=lC([n],void 0,w.useContext(rx)),i=w.useRef();return phe(function(){var a=t.key+"-global",o=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),o.hydrate([l])),i.current=[o,s],function(){o.flush()}},[t]),phe(function(){var a=i.current,o=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&V$(t,r.next,!0),o.tags.length){var l=o.tags[o.tags.length-1].nextElementSibling;o.before=l,o.flush()}t.insert("",r,o,!1)},[t,r.name]),null});function Mte(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return lC(t)}function Mx(){var e=Mte.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var ght=Object.defineProperty,vht=Object.defineProperties,yht=Object.getOwnPropertyDescriptors,ghe=Object.getOwnPropertySymbols,bht=Object.prototype.hasOwnProperty,xht=Object.prototype.propertyIsEnumerable,vhe=(e,t,n)=>t in e?ght(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wht=(e,t)=>{for(var n in t||(t={}))bht.call(t,n)&&vhe(e,n,t[n]);if(ghe)for(var n of ghe(t))xht.call(t,n)&&vhe(e,n,t[n]);return e},kht=(e,t)=>vht(e,yht(t));function Sht({theme:e}){return L.createElement(YF,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:e.colorScheme==="dark"?"dark":"light"},body:kht(wht({},e.fn.fontStyles()),{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}function T_(e,t,n,r=He){Object.keys(t).forEach(i=>{e[`--mantine-${n}-${i}`]=r(t[i])})}function Cht({theme:e}){const t={"--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-transition-timing-function":e.transitionTimingFunction,"--mantine-line-height":`${e.lineHeight}`,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":`${e.headings.fontWeight}`};T_(t,e.shadows,"shadow"),T_(t,e.fontSizes,"font-size"),T_(t,e.radius,"radius"),T_(t,e.spacing,"spacing"),T_(t,e.breakpoints,"breakpoints",oC),Object.keys(e.colors).forEach(r=>{e.colors[r].forEach((i,a)=>{t[`--mantine-color-${r}-${a}`]=i})});const n=e.headings.sizes;return Object.keys(n).forEach(r=>{t[`--mantine-${r}-font-size`]=n[r].fontSize,t[`--mantine-${r}-line-height`]=`${n[r].lineHeight}`}),L.createElement(YF,{styles:{":root":t}})}var _ht=Object.defineProperty,Nht=Object.defineProperties,Eht=Object.getOwnPropertyDescriptors,yhe=Object.getOwnPropertySymbols,Fht=Object.prototype.hasOwnProperty,Dht=Object.prototype.propertyIsEnumerable,bhe=(e,t,n)=>t in e?_ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$m=(e,t)=>{for(var n in t||(t={}))Fht.call(t,n)&&bhe(e,n,t[n]);if(yhe)for(var n of yhe(t))Dht.call(t,n)&&bhe(e,n,t[n]);return e},mz=(e,t)=>Nht(e,Eht(t));function Tht(e,t){var n;if(!t)return e;const r=Object.keys(e).reduce((i,a)=>{if(a==="headings"&&t.headings){const o=t.headings.sizes?Object.keys(e.headings.sizes).reduce((s,l)=>(s[l]=$m($m({},e.headings.sizes[l]),t.headings.sizes[l]),s),{}):e.headings.sizes;return mz($m({},i),{headings:mz($m($m({},e.headings),t.headings),{sizes:o})})}if(a==="breakpoints"&&t.breakpoints){const o=$m($m({},e.breakpoints),t.breakpoints);return mz($m({},i),{breakpoints:Object.fromEntries(Object.entries(o).sort((s,l)=>Kh(s[1])-Kh(l[1])))})}return i[a]=typeof t[a]=="object"?$m($m({},e[a]),t[a]):typeof t[a]=="number"||typeof t[a]=="boolean"||typeof t[a]=="function"?t[a]:t[a]||e[a],i},{});if(t?.fontFamily&&!((n=t?.headings)!=null&&n.fontFamily)&&(r.headings.fontFamily=t.fontFamily),!(r.primaryColor in r.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");return r}function Oht(e,t){return jIe(Tht(e,t))}function KIe(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[n]=e[n]),t),{})}const Bht={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:`${He(1)} dotted ButtonText`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"}};function jht(){return L.createElement(YF,{styles:Bht})}var Iht=Object.defineProperty,xhe=Object.getOwnPropertySymbols,Pht=Object.prototype.hasOwnProperty,Mht=Object.prototype.propertyIsEnumerable,whe=(e,t,n)=>t in e?Iht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p2=(e,t)=>{for(var n in t||(t={}))Pht.call(t,n)&&whe(e,n,t[n]);if(xhe)for(var n of xhe(t))Mht.call(t,n)&&whe(e,n,t[n]);return e};const zI=w.createContext({theme:Fte});function Hu(){var e;return((e=w.useContext(zI))==null?void 0:e.theme)||Fte}function Rht(e){const t=Hu(),n=r=>{var i,a,o,s;return{styles:((i=t.components[r])==null?void 0:i.styles)||{},classNames:((a=t.components[r])==null?void 0:a.classNames)||{},variants:(o=t.components[r])==null?void 0:o.variants,sizes:(s=t.components[r])==null?void 0:s.sizes}};return Array.isArray(e)?e.map(n):[n(e)]}function YIe(){var e;return(e=w.useContext(zI))==null?void 0:e.emotionCache}function Qt(e,t,n){var r;const i=Hu(),a=(r=i.components[e])==null?void 0:r.defaultProps,o=typeof a=="function"?a(i):a;return p2(p2(p2({},t),o),KIe(n))}function XIe({theme:e,emotionCache:t,withNormalizeCSS:n=!1,withGlobalStyles:r=!1,withCSSVariables:i=!1,inherit:a=!1,children:o}){const s=w.useContext(zI),l=Oht(Fte,a?p2(p2({},s.theme),e):e);return L.createElement(fht,{theme:l},L.createElement(zI.Provider,{value:{theme:l,emotionCache:t}},n&&L.createElement(jht,null),r&&L.createElement(Sht,{theme:l}),i&&L.createElement(Cht,{theme:l}),typeof l.globalStyles=="function"&&L.createElement(YF,{styles:l.globalStyles(l)}),o))}XIe.displayName="@mantine/core/MantineProvider";const $ht={app:100,modal:200,popover:300,overlay:400,max:9999};function Hp(e){return $ht[e]}function Lht(e,t){const n=w.useRef();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map((r,i)=>r===t[i]).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}const Uht=VIe({key:"mantine",prepend:!0});function zht(){return YIe()||Uht}var Hht=Object.defineProperty,khe=Object.getOwnPropertySymbols,Vht=Object.prototype.hasOwnProperty,Qht=Object.prototype.propertyIsEnumerable,She=(e,t,n)=>t in e?Hht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qht=(e,t)=>{for(var n in t||(t={}))Vht.call(t,n)&&She(e,n,t[n]);if(khe)for(var n of khe(t))Qht.call(t,n)&&She(e,n,t[n]);return e};const pz="ref";function Ght(e){let t;if(e.length!==1)return{args:e,ref:t};const[n]=e;if(!(n instanceof Object))return{args:e,ref:t};if(!(pz in n))return{args:e,ref:t};t=n[pz];const r=qht({},n);return delete r[pz],{args:[r],ref:t}}const{cssFactory:Wht}=(()=>{function e(n,r,i){const a=[],o=Bte(n,a,i);return a.length<2?i:o+r(a)}function t(n){const{cache:r}=n,i=(...o)=>{const{ref:s,args:l}=Ght(o),c=lC(l,r.registered);return V$(r,c,!1),`${r.key}-${c.name}${s===void 0?"":` ${s}`}`};return{css:i,cx:(...o)=>e(r.registered,i,DIe(o))}}return{cssFactory:t}})();function ZIe(){const e=zht();return Lht(()=>Wht({cache:e}),[e])}function Kht({cx:e,classes:t,context:n,classNames:r,name:i,cache:a}){const o=n.reduce((s,l)=>(Object.keys(l.classNames).forEach(c=>{typeof s[c]!="string"?s[c]=`${l.classNames[c]}`:s[c]=`${s[c]} ${l.classNames[c]}`}),s),{});return Object.keys(t).reduce((s,l)=>(s[l]=e(t[l],o[l],r!=null&&r[l],Array.isArray(i)?i.filter(Boolean).map(c=>`${a?.key||"mantine"}-${c}-${l}`).join(" "):i?`${a?.key||"mantine"}-${i}-${l}`:null),s),{})}var Yht=Object.defineProperty,Che=Object.getOwnPropertySymbols,Xht=Object.prototype.hasOwnProperty,Zht=Object.prototype.propertyIsEnumerable,_he=(e,t,n)=>t in e?Yht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Az=(e,t)=>{for(var n in t||(t={}))Xht.call(t,n)&&_he(e,n,t[n]);if(Che)for(var n of Che(t))Zht.call(t,n)&&_he(e,n,t[n]);return e};function bY(e,t){return t&&Object.keys(t).forEach(n=>{e[n]?e[n]=Az(Az({},e[n]),t[n]):e[n]=Az({},t[n])}),e}function Nhe(e,t,n,r){const i=a=>typeof a=="function"?a(t,n||{},r):a||{};return Array.isArray(e)?e.map(a=>i(a.styles)).reduce((a,o)=>bY(a,o),{}):i(e)}function Jht({ctx:e,theme:t,params:n,variant:r,size:i}){return e.reduce((a,o)=>(o.variants&&r in o.variants&&bY(a,o.variants[r](t,n,{variant:r,size:i})),o.sizes&&i in o.sizes&&bY(a,o.sizes[i](t,n,{variant:r,size:i})),a),{})}function ln(e){const t=typeof e=="function"?e:()=>e;function n(r,i){const a=Hu(),o=Rht(i?.name),s=YIe(),l={variant:i?.variant,size:i?.size},{css:c,cx:u}=ZIe(),f=t(a,r,l),h=Nhe(i?.styles,a,r,l),m=Nhe(o,a,r,l),A=Jht({ctx:o,theme:a,params:r,variant:i?.variant,size:i?.size}),p=Object.fromEntries(Object.keys(f).map(v=>{const y=u({[c(f[v])]:!i?.unstyled},c(A[v]),c(m[v]),c(h[v]));return[v,y]}));return{classes:Kht({cx:u,classes:p,context:o,classNames:i?.classNames,name:i?.name,cache:s}),cx:u,theme:a}}return n}function Rb(e){return`___ref-${e||""}`}var emt=Object.defineProperty,tmt=Object.defineProperties,nmt=Object.getOwnPropertyDescriptors,Ehe=Object.getOwnPropertySymbols,rmt=Object.prototype.hasOwnProperty,imt=Object.prototype.propertyIsEnumerable,Fhe=(e,t,n)=>t in e?emt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O_=(e,t)=>{for(var n in t||(t={}))rmt.call(t,n)&&Fhe(e,n,t[n]);if(Ehe)for(var n of Ehe(t))imt.call(t,n)&&Fhe(e,n,t[n]);return e},B_=(e,t)=>tmt(e,nmt(t));const j_={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${He(10)})`},transitionProperty:"transform, opacity"},IO={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${He(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${He(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${He(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${He(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:B_(O_({},j_),{common:{transformOrigin:"center center"}}),"pop-bottom-left":B_(O_({},j_),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":B_(O_({},j_),{common:{transformOrigin:"bottom right"}}),"pop-top-left":B_(O_({},j_),{common:{transformOrigin:"top left"}}),"pop-top-right":B_(O_({},j_),{common:{transformOrigin:"top right"}})},Dhe=["mousedown","touchstart"];function amt(e,t,n){const r=w.useRef();return w.useEffect(()=>{const i=a=>{const{target:o}=a??{};if(Array.isArray(n)){const s=o?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(o)&&o.tagName!=="HTML";n.every(c=>!!c&&!a.composedPath().includes(c))&&!s&&e()}else r.current&&!r.current.contains(o)&&e()};return(t||Dhe).forEach(a=>document.addEventListener(a,i)),()=>{(t||Dhe).forEach(a=>document.removeEventListener(a,i))}},[r,e,n]),r}function omt(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function smt(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function lmt(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[r,i]=w.useState(n?t:smt(e)),a=w.useRef();return w.useEffect(()=>{if("matchMedia"in window)return a.current=window.matchMedia(e),i(a.current.matches),omt(a.current,o=>i(o.matches))},[e]),r}function A2(e,t,n){return Math.min(Math.max(e,t),n)}const Rte=typeof document<"u"?w.useLayoutEffect:w.useEffect;function ql(e,t){const n=w.useRef(!1);w.useEffect(()=>()=>{n.current=!1},[]),w.useEffect(()=>{if(n.current)return e();n.current=!0},t)}function JIe({opened:e,shouldReturnFocus:t=!0}){const n=w.useRef(),r=()=>{var i;n.current&&"focus"in n.current&&typeof n.current.focus=="function"&&((i=n.current)==null||i.focus({preventScroll:!0}))};return ql(()=>{let i=-1;const a=o=>{o.key==="Tab"&&window.clearTimeout(i)};return document.addEventListener("keydown",a),e?n.current=document.activeElement:t&&(i=window.setTimeout(r,10)),()=>{window.clearTimeout(i),document.removeEventListener("keydown",a)}},[e,t]),r}const cmt=/input|select|textarea|button|object/,ePe="a, input, select, textarea, button, object, [tabindex]";function umt(e){return e.style.display==="none"}function dmt(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let n=e;for(;n&&!(n===document.body||n.nodeType===11);){if(umt(n))return!1;n=n.parentNode}return!0}function tPe(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function xY(e){const t=e.nodeName.toLowerCase(),n=!Number.isNaN(tPe(e));return(cmt.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&dmt(e)}function nPe(e){const t=tPe(e);return(Number.isNaN(t)||t>=0)&&xY(e)}function fmt(e){return Array.from(e.querySelectorAll(ePe)).filter(nPe)}function hmt(e,t){const n=fmt(e);if(!n.length){t.preventDefault();return}const r=n[t.shiftKey?0:n.length-1],i=e.getRootNode();if(!(r===i.activeElement||e===i.activeElement))return;t.preventDefault();const o=n[t.shiftKey?n.length-1:0];o&&o.focus()}function $te(){return`mantine-${Math.random().toString(36).slice(2,11)}`}function mmt(e,t="body > :not(script)"){const n=$te(),r=Array.from(document.querySelectorAll(t)).map(i=>{var a;if((a=i?.shadowRoot)!=null&&a.contains(e)||i.contains(e))return;const o=i.getAttribute("aria-hidden"),s=i.getAttribute("data-hidden"),l=i.getAttribute("data-focus-id");return i.setAttribute("data-focus-id",n),o===null||o==="false"?i.setAttribute("aria-hidden","true"):!s&&!l&&i.setAttribute("data-hidden",o),{node:i,ariaHidden:s||null}});return()=>{r.forEach(i=>{!i||n!==i.node.getAttribute("data-focus-id")||(i.ariaHidden===null?i.node.removeAttribute("aria-hidden"):i.node.setAttribute("aria-hidden",i.ariaHidden),i.node.removeAttribute("data-focus-id"),i.node.removeAttribute("data-hidden"))})}}function pmt(e=!0){const t=w.useRef(),n=w.useRef(null),r=a=>{let o=a.querySelector("[data-autofocus]");if(!o){const s=Array.from(a.querySelectorAll(ePe));o=s.find(nPe)||s.find(xY)||null,!o&&xY(a)&&(o=a)}o&&o.focus({preventScroll:!0})},i=w.useCallback(a=>{if(e){if(a===null){n.current&&(n.current(),n.current=null);return}n.current=mmt(a),t.current!==a&&(a?(setTimeout(()=>{a.getRootNode()&&r(a)}),t.current=a):t.current=null)}},[e]);return w.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const a=o=>{o.key==="Tab"&&t.current&&hmt(t.current,o)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a),n.current&&n.current()}},[e]),i}const Amt=L.useId||(()=>{});function gmt(){const e=Amt();return e?`mantine-${e.replace(/:/g,"")}`:""}function Rx(e){const t=gmt(),[n,r]=w.useState(t);return Rte(()=>{r($te())},[]),typeof e=="string"?e:typeof window>"u"?t:n}function wY(e,t,n){w.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}function Q$(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}function rPe(...e){return t=>{e.forEach(n=>Q$(n,t))}}function Vp(...e){return w.useCallback(rPe(...e),e)}function Kc({value:e,defaultValue:t,finalValue:n,onChange:r=()=>{}}){const[i,a]=w.useState(t!==void 0?t:n),o=s=>{a(s),r?.(s)};return e!==void 0?[e,r,!0]:[i,o,!1]}function xv(e,t){const n=t-e+1;return Array.from({length:n},(r,i)=>i+e)}const PO="dots";function vmt({total:e,siblings:t=1,boundaries:n=1,page:r,initialPage:i=1,onChange:a}){const o=Math.max(Math.trunc(e),0),[s,l]=Kc({value:r,onChange:a,defaultValue:i,finalValue:i}),c=p=>{p<=0?l(1):p>o?l(o):l(p)},u=()=>c(s+1),f=()=>c(s-1),h=()=>c(1),m=()=>c(o);return{range:w.useMemo(()=>{if(t*2+3+n*2>=o)return xv(1,o);const v=Math.max(s-t,n),y=Math.min(s+t,o-n),x=v>n+2,k=y<o-(n+1);if(!x&&k){const S=t*2+n+2;return[...xv(1,S),PO,...xv(o-(n-1),o)]}if(x&&!k){const S=n+1+2*t;return[...xv(1,n),PO,...xv(o-S,o)]}return[...xv(1,n),PO,...xv(v,y),PO,...xv(o-n+1,o)]},[o,t,s]),active:s,setPage:c,next:u,previous:f,first:h,last:m}}function q$(e,t){return lmt("(prefers-reduced-motion: reduce)",e,t)}const ymt=e=>e<.5?2*e*e:-1+(4-2*e)*e,bmt=({axis:e,target:t,parent:n,alignment:r,offset:i,isList:a})=>{if(!t||!n&&typeof document>"u")return 0;const o=!!n,l=(n||document.body).getBoundingClientRect(),c=t.getBoundingClientRect(),u=f=>c[f]-l[f];if(e==="y"){const f=u("top");if(f===0)return 0;if(r==="start"){const m=f-i;return m<=c.height*(a?0:1)||!a?m:0}const h=o?l.height:window.innerHeight;if(r==="end"){const m=f+i-h+c.height;return m>=-c.height*(a?0:1)||!a?m:0}return r==="center"?f-h/2+c.height/2:0}if(e==="x"){const f=u("left");if(f===0)return 0;if(r==="start"){const m=f-i;return m<=c.width||!a?m:0}const h=o?l.width:window.innerWidth;if(r==="end"){const m=f+i-h+c.width;return m>=-c.width||!a?m:0}return r==="center"?f-h/2+c.width/2:0}return 0},xmt=({axis:e,parent:t})=>{if(!t&&typeof document>"u")return 0;const n=e==="y"?"scrollTop":"scrollLeft";if(t)return t[n];const{body:r,documentElement:i}=document;return r[n]+i[n]},wmt=({axis:e,parent:t,distance:n})=>{if(!t&&typeof document>"u")return;const r=e==="y"?"scrollTop":"scrollLeft";if(t)t[r]=n;else{const{body:i,documentElement:a}=document;i[r]=n,a[r]=n}};function iPe({duration:e=1250,axis:t="y",onScrollFinish:n,easing:r=ymt,offset:i=0,cancelable:a=!0,isList:o=!1}={}){const s=w.useRef(0),l=w.useRef(0),c=w.useRef(!1),u=w.useRef(null),f=w.useRef(null),h=q$(),m=()=>{s.current&&cancelAnimationFrame(s.current)},A=w.useCallback(({alignment:v="start"}={})=>{var y;c.current=!1,s.current&&m();const x=(y=xmt({parent:u.current,axis:t}))!=null?y:0,k=bmt({parent:u.current,target:f.current,axis:t,alignment:v,offset:i,isList:o})-(u.current?0:x);function S(){l.current===0&&(l.current=performance.now());const N=performance.now()-l.current,E=h||e===0?1:N/e,D=x+k*r(E);wmt({parent:u.current,axis:t,distance:D}),!c.current&&E<1?s.current=requestAnimationFrame(S):(typeof n=="function"&&n(),l.current=0,s.current=0,m())}S()},[t,e,r,o,i,n,h]),p=()=>{a&&(c.current=!0)};return wY("wheel",p,{passive:!0}),wY("touchmove",p,{passive:!0}),w.useEffect(()=>m,[]),{scrollableRef:u,targetRef:f,scrollIntoView:A,cancel:m}}function The(){if(typeof window>"u")return"undetermined";const{userAgent:e}=window.navigator,t=/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i,n=/(Win32)|(Win64)|(Windows)|(WinCE)/i,r=/(iPhone)|(iPad)|(iPod)/i;return t.test(e)?"macos":r.test(e)?"ios":n.test(e)?"windows":/Android/i.test(e)?"android":/Linux/i.test(e)?"linux":"undetermined"}function kmt(e={getValueInEffect:!0}){const[t,n]=w.useState(e.getValueInEffect?"undetermined":The());return Rte(()=>{e.getValueInEffect&&n(The)},[]),t}function hs(e=!1,t){const{onOpen:n,onClose:r}={},[i,a]=w.useState(e),o=w.useCallback(()=>{a(c=>c||(n?.(),!0))},[n]),s=w.useCallback(()=>{a(c=>c&&(r?.(),!1))},[r]),l=w.useCallback(()=>{i?s():o()},[s,o,i]);return[i,{open:o,close:s,toggle:l}]}function Ohe(e){return typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1)}const HI={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"},[Smt,VI]=Wf(HI.context);function Cmt({children:e,multiple:t,value:n,defaultValue:r,onChange:i,id:a,loop:o,transitionDuration:s,disableChevronRotation:l,chevronPosition:c,chevronSize:u,order:f,chevron:h,variant:m,radius:A,classNames:p,styles:v,unstyled:y}){const x=Rx(a),[k,S]=Kc({value:n,defaultValue:r,finalValue:t?[]:null,onChange:i}),C=E=>Array.isArray(k)?k.includes(E):E===k,N=E=>{const D=Array.isArray(k)?k.includes(E)?k.filter(T=>T!==E):[...k,E]:E===k?null:E;S(D)};return L.createElement(Smt,{value:{isItemActive:C,onChange:N,getControlId:Jfe(`${x}-control`,HI.value),getRegionId:Jfe(`${x}-panel`,HI.value),transitionDuration:s,disableChevronRotation:l,chevronPosition:c,chevronSize:u,order:f,chevron:h,loop:o,variant:m,radius:A,classNames:p,styles:v,unstyled:y}},e)}const[_mt,aPe]=Wf(HI.itemContext);function Nmt(e,t,{radius:n}){const r=e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3],i=e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0],a=e.fn.radius(n);return t==="default"?{color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,borderBottom:`${He(1)} solid ${r}`}:t==="contained"?{border:`${He(1)} solid ${r}`,transition:"background-color 150ms ease","&[data-active]":{backgroundColor:i},"&:first-of-type":{borderTopRightRadius:a,borderTopLeftRadius:a,"& > [data-accordion-control]":{borderTopRightRadius:a,borderTopLeftRadius:a}},"&:last-of-type":{borderBottomRightRadius:a,borderBottomLeftRadius:a,"& > [data-accordion-control]":{borderBottomRightRadius:a,borderBottomLeftRadius:a}},"& + &":{borderTop:0}}:t==="filled"?{borderRadius:a,"&[data-active]":{backgroundColor:i}}:t==="separated"?{borderRadius:a,backgroundColor:i,border:`${He(1)} solid transparent`,transition:"background-color 150ms ease","& + &":{marginTop:e.spacing.md},"&[data-active]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,borderColor:r}}:{}}var Emt=ln((e,t,{variant:n})=>({item:Nmt(e,n,t)})),Bhe=Object.getOwnPropertySymbols,Fmt=Object.prototype.hasOwnProperty,Dmt=Object.prototype.propertyIsEnumerable,Tmt=(e,t)=>{var n={};for(var r in e)Fmt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Bhe)for(var r of Bhe(e))t.indexOf(r)<0&&Dmt.call(e,r)&&(n[r]=e[r]);return n};function cC(e){const t=e,{m:n,mx:r,my:i,mt:a,mb:o,ml:s,mr:l,p:c,px:u,py:f,pt:h,pb:m,pl:A,pr:p,bg:v,c:y,opacity:x,ff:k,fz:S,fw:C,lts:N,ta:E,lh:D,fs:T,tt:P,td:O,w:B,miw:M,maw:$,h:U,mih:I,mah:Q,bgsz:G,bgp:X,bgr:he,bga:ne,pos:H,top:W,left:q,bottom:Z,right:re,inset:te,display:ue}=t,fe=Tmt(t,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:KIe({m:n,mx:r,my:i,mt:a,mb:o,ml:s,mr:l,p:c,px:u,py:f,pt:h,pb:m,pl:A,pr:p,bg:v,c:y,opacity:x,ff:k,fz:S,fw:C,lts:N,ta:E,lh:D,fs:T,tt:P,td:O,w:B,miw:M,maw:$,h:U,mih:I,mah:Q,bgsz:G,bgp:X,bgr:he,bga:ne,pos:H,top:W,left:q,bottom:Z,right:re,inset:te,display:ue}),rest:fe}}function Omt(e,t){const n=Object.keys(e).filter(r=>r!=="base").sort((r,i)=>Kh(Tt({size:r,sizes:t.breakpoints}))-Kh(Tt({size:i,sizes:t.breakpoints})));return"base"in e?["base",...n]:n}function Bmt({value:e,theme:t,getValue:n,property:r}){if(e==null)return;if(typeof e=="object")return Omt(e,t).reduce((o,s)=>{if(s==="base"&&e.base!==void 0){const c=n(e.base,t);return Array.isArray(r)?(r.forEach(u=>{o[u]=c}),o):(o[r]=c,o)}const l=n(e[s],t);return Array.isArray(r)?(o[t.fn.largerThan(s)]={},r.forEach(c=>{o[t.fn.largerThan(s)][c]=l}),o):(o[t.fn.largerThan(s)]={[r]:l},o)},{});const i=n(e,t);return Array.isArray(r)?r.reduce((a,o)=>(a[o]=i,a),{}):{[r]:i}}function jmt(e,t){return e==="dimmed"?t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6]:t.fn.variant({variant:"filled",color:e,primaryFallback:!1}).background}function Imt(e){return He(e)}function Pmt(e){return e}function Mmt(e,t){return Tt({size:e,sizes:t.fontSizes})}const Rmt=["-xs","-sm","-md","-lg","-xl"];function $mt(e,t){return Rmt.includes(e)?`calc(${Tt({size:e.replace("-",""),sizes:t.spacing})} * -1)`:Tt({size:e,sizes:t.spacing})}const Lmt={identity:Pmt,color:jmt,size:Imt,fontSize:Mmt,spacing:$mt},Umt={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"identity",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"identity",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"}};var zmt=Object.defineProperty,jhe=Object.getOwnPropertySymbols,Hmt=Object.prototype.hasOwnProperty,Vmt=Object.prototype.propertyIsEnumerable,Ihe=(e,t,n)=>t in e?zmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Phe=(e,t)=>{for(var n in t||(t={}))Hmt.call(t,n)&&Ihe(e,n,t[n]);if(jhe)for(var n of jhe(t))Vmt.call(t,n)&&Ihe(e,n,t[n]);return e};function Mhe(e,t,n=Umt){return Object.keys(n).reduce((i,a)=>(a in e&&e[a]!==void 0&&i.push(Bmt({value:e[a],getValue:Lmt[n[a].type],property:n[a].property,theme:t})),i),[]).reduce((i,a)=>(Object.keys(a).forEach(o=>{typeof a[o]=="object"&&a[o]!==null&&o in i?i[o]=Phe(Phe({},i[o]),a[o]):i[o]=a[o]}),i),{})}function Rhe(e,t){return typeof e=="function"?e(t):e}function Qmt(e,t,n){const r=Hu(),{css:i,cx:a}=ZIe();return Array.isArray(e)?a(n,i(Mhe(t,r)),e.map(o=>i(Rhe(o,r)))):a(n,i(Rhe(e,r)),i(Mhe(t,r)))}var qmt=Object.defineProperty,QI=Object.getOwnPropertySymbols,oPe=Object.prototype.hasOwnProperty,sPe=Object.prototype.propertyIsEnumerable,$he=(e,t,n)=>t in e?qmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gmt=(e,t)=>{for(var n in t||(t={}))oPe.call(t,n)&&$he(e,n,t[n]);if(QI)for(var n of QI(t))sPe.call(t,n)&&$he(e,n,t[n]);return e},Wmt=(e,t)=>{var n={};for(var r in e)oPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&QI)for(var r of QI(e))t.indexOf(r)<0&&sPe.call(e,r)&&(n[r]=e[r]);return n};const lPe=w.forwardRef((e,t)=>{var n=e,{className:r,component:i,style:a,sx:o}=n,s=Wmt(n,["className","component","style","sx"]);const{systemStyles:l,rest:c}=cC(s),u=i||"div";return L.createElement(u,Gmt({ref:t,className:Qmt(o,l,r),style:a},c))});lPe.displayName="@mantine/core/Box";const En=lPe;var Kmt=Object.defineProperty,qI=Object.getOwnPropertySymbols,cPe=Object.prototype.hasOwnProperty,uPe=Object.prototype.propertyIsEnumerable,Lhe=(e,t,n)=>t in e?Kmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ymt=(e,t)=>{for(var n in t||(t={}))cPe.call(t,n)&&Lhe(e,n,t[n]);if(qI)for(var n of qI(t))uPe.call(t,n)&&Lhe(e,n,t[n]);return e},Xmt=(e,t)=>{var n={};for(var r in e)cPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qI)for(var r of qI(e))t.indexOf(r)<0&&uPe.call(e,r)&&(n[r]=e[r]);return n};const Zmt={},dPe=w.forwardRef((e,t)=>{const n=Qt("AccordionItem",Zmt,e),{children:r,className:i,value:a}=n,o=Xmt(n,["children","className","value"]),s=VI(),{classes:l,cx:c}=Emt({radius:s.radius},{name:"Accordion",classNames:s.classNames,styles:s.styles,unstyled:s.unstyled,variant:s.variant});return L.createElement(_mt,{value:{value:a}},L.createElement(En,Ymt({ref:t,className:c(l.item,i),"data-active":s.isItemActive(a)||void 0},o),r))});dPe.displayName="@mantine/core/AccordionItem";var Jmt=Object.defineProperty,ept=Object.defineProperties,tpt=Object.getOwnPropertyDescriptors,Uhe=Object.getOwnPropertySymbols,npt=Object.prototype.hasOwnProperty,rpt=Object.prototype.propertyIsEnumerable,zhe=(e,t,n)=>t in e?Jmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MO=(e,t)=>{for(var n in t||(t={}))npt.call(t,n)&&zhe(e,n,t[n]);if(Uhe)for(var n of Uhe(t))rpt.call(t,n)&&zhe(e,n,t[n]);return e},ipt=(e,t)=>ept(e,tpt(t));function apt(e,t){return t==="default"||t==="contained"?e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]}):{}}var opt=ln((e,{transitionDuration:t,chevronPosition:n,chevronSize:r},{variant:i})=>({icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:n==="left"?0:e.spacing.sm,marginLeft:n==="left"?e.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:`transform ${t}ms ease`,marginRight:n==="right"?0:e.spacing.sm,marginLeft:n==="right"?e.spacing.lg:0,width:He(r),minWidth:He(r),"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.md,paddingBottom:e.spacing.md},itemTitle:{margin:0,padding:0},control:ipt(MO(MO(MO({},e.fn.focusStyles()),e.fn.fontStyles()),apt(e,i)),{width:"100%",display:"flex",alignItems:"center",flexDirection:n==="right"?"row-reverse":"row",paddingRight:e.spacing.md,paddingLeft:n==="right"?`calc(${e.spacing.md} + ${He(4)})`:e.spacing.xs,textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,"&:disabled":MO({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))})})),spt=Object.defineProperty,lpt=Object.defineProperties,cpt=Object.getOwnPropertyDescriptors,Hhe=Object.getOwnPropertySymbols,upt=Object.prototype.hasOwnProperty,dpt=Object.prototype.propertyIsEnumerable,Vhe=(e,t,n)=>t in e?spt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qhe=(e,t)=>{for(var n in t||(t={}))upt.call(t,n)&&Vhe(e,n,t[n]);if(Hhe)for(var n of Hhe(t))dpt.call(t,n)&&Vhe(e,n,t[n]);return e},fpt=(e,t)=>lpt(e,cpt(t)),hpt=ln(e=>({root:fpt(Qhe(Qhe({},e.fn.focusStyles()),e.fn.fontStyles()),{cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:e.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,textDecoration:"none",boxSizing:"border-box"})})),mpt=Object.defineProperty,GI=Object.getOwnPropertySymbols,fPe=Object.prototype.hasOwnProperty,hPe=Object.prototype.propertyIsEnumerable,qhe=(e,t,n)=>t in e?mpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ppt=(e,t)=>{for(var n in t||(t={}))fPe.call(t,n)&&qhe(e,n,t[n]);if(GI)for(var n of GI(t))hPe.call(t,n)&&qhe(e,n,t[n]);return e},Apt=(e,t)=>{var n={};for(var r in e)fPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&GI)for(var r of GI(e))t.indexOf(r)<0&&hPe.call(e,r)&&(n[r]=e[r]);return n};const mPe=w.forwardRef((e,t)=>{const n=Qt("UnstyledButton",{},e),{className:r,component:i="button",unstyled:a,variant:o}=n,s=Apt(n,["className","component","unstyled","variant"]),{classes:l,cx:c}=hpt(null,{name:"UnstyledButton",unstyled:a,variant:o});return L.createElement(En,ppt({component:i,ref:t,className:c(l.root,r),type:i==="button"?"button":void 0},s))});mPe.displayName="@mantine/core/UnstyledButton";const Td=mPe;var gpt=Object.defineProperty,vpt=Object.defineProperties,ypt=Object.getOwnPropertyDescriptors,WI=Object.getOwnPropertySymbols,pPe=Object.prototype.hasOwnProperty,APe=Object.prototype.propertyIsEnumerable,Ghe=(e,t,n)=>t in e?gpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bpt=(e,t)=>{for(var n in t||(t={}))pPe.call(t,n)&&Ghe(e,n,t[n]);if(WI)for(var n of WI(t))APe.call(t,n)&&Ghe(e,n,t[n]);return e},xpt=(e,t)=>vpt(e,ypt(t)),wpt=(e,t)=>{var n={};for(var r in e)pPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&WI)for(var r of WI(e))t.indexOf(r)<0&&APe.call(e,r)&&(n[r]=e[r]);return n};const kpt={},gPe=w.forwardRef((e,t)=>{const n=Qt("AccordionControl",kpt,e),{disabled:r,onKeyDown:i,onClick:a,chevron:o,children:s,className:l,icon:c}=n,u=wpt(n,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),f=VI(),{value:h}=aPe(),{classes:m,cx:A}=opt({transitionDuration:f.transitionDuration,chevronPosition:f.chevronPosition,chevronSize:f.chevronSize,radius:f.radius},{name:"Accordion",classNames:f.classNames,styles:f.styles,unstyled:f.unstyled,variant:f.variant}),p=f.isItemActive(h),v=typeof f.order=="number",y=`h${f.order}`,x=L.createElement(Td,xpt(bpt({},u),{ref:t,"data-accordion-control":!0,disabled:r,className:A(m.control,l),onClick:k=>{a?.(k),f.onChange(h)},type:"button","data-active":p||void 0,"aria-expanded":p,"aria-controls":f.getRegionId(h),id:f.getControlId(h),unstyled:f.unstyled,onKeyDown:_Ie({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:f.loop,orientation:"vertical",onKeyDown:i})}),L.createElement("span",{className:m.chevron,"data-rotate":!f.disableChevronRotation&&p||void 0},o||f.chevron),L.createElement("span",{className:m.label},s),c&&L.createElement("span",{className:m.icon},c));return v?L.createElement(y,{className:m.itemTitle},x):x});gPe.displayName="@mantine/core/AccordionControl";var Spt=Object.defineProperty,Cpt=Object.defineProperties,_pt=Object.getOwnPropertyDescriptors,Whe=Object.getOwnPropertySymbols,Npt=Object.prototype.hasOwnProperty,Ept=Object.prototype.propertyIsEnumerable,Khe=(e,t,n)=>t in e?Spt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fpt=(e,t)=>{for(var n in t||(t={}))Npt.call(t,n)&&Khe(e,n,t[n]);if(Whe)for(var n of Whe(t))Ept.call(t,n)&&Khe(e,n,t[n]);return e},Dpt=(e,t)=>Cpt(e,_pt(t)),Tpt=ln((e,t)=>({panel:Dpt(Fpt({},e.fn.fontStyles()),{wordBreak:"break-word",lineHeight:e.lineHeight}),content:{padding:e.spacing.md,paddingTop:`calc(${e.spacing.xs} / 2)`}})),Opt=Object.defineProperty,Bpt=Object.defineProperties,jpt=Object.getOwnPropertyDescriptors,KI=Object.getOwnPropertySymbols,vPe=Object.prototype.hasOwnProperty,yPe=Object.prototype.propertyIsEnumerable,Yhe=(e,t,n)=>t in e?Opt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R0=(e,t)=>{for(var n in t||(t={}))vPe.call(t,n)&&Yhe(e,n,t[n]);if(KI)for(var n of KI(t))yPe.call(t,n)&&Yhe(e,n,t[n]);return e},gz=(e,t)=>Bpt(e,jpt(t)),Ipt=(e,t)=>{var n={};for(var r in e)vPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&KI)for(var r of KI(e))t.indexOf(r)<0&&yPe.call(e,r)&&(n[r]=e[r]);return n};function Ppt(e){if(!e||typeof e=="string")return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function vz(e){return e?.current?e.current.scrollHeight:"auto"}const RO=typeof window<"u"&&window.requestAnimationFrame;function Mpt({transitionDuration:e,transitionTimingFunction:t="ease",onTransitionEnd:n=()=>{},opened:r}){const i=w.useRef(null),a=0,o={display:"none",height:0,overflow:"hidden"},[s,l]=w.useState(r?{}:o),c=A=>{Gf.flushSync(()=>l(A))},u=A=>{c(p=>R0(R0({},p),A))};function f(A){return{transition:`height ${e||Ppt(A)}ms ${t}`}}ql(()=>{RO(r?()=>{u({willChange:"height",display:"block",overflow:"hidden"}),RO(()=>{const A=vz(i);u(gz(R0({},f(A)),{height:A}))})}:()=>{const A=vz(i);u(gz(R0({},f(A)),{willChange:"height",height:A})),RO(()=>u({height:a,overflow:"hidden"}))})},[r]);const h=A=>{if(!(A.target!==i.current||A.propertyName!=="height"))if(r){const p=vz(i);p===s.height?c({}):u({height:p}),n()}else s.height===a&&(c(o),n())};function m(A={}){var p=A,{style:v={},refKey:y="ref"}=p,x=Ipt(p,["style","refKey"]);const k=x[y];return gz(R0({"aria-hidden":!r},x),{[y]:rPe(i,k),onTransitionEnd:h,style:R0(R0({boxSizing:"border-box"},v),s)})}return m}var Rpt=Object.defineProperty,YI=Object.getOwnPropertySymbols,bPe=Object.prototype.hasOwnProperty,xPe=Object.prototype.propertyIsEnumerable,Xhe=(e,t,n)=>t in e?Rpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$O=(e,t)=>{for(var n in t||(t={}))bPe.call(t,n)&&Xhe(e,n,t[n]);if(YI)for(var n of YI(t))xPe.call(t,n)&&Xhe(e,n,t[n]);return e},$pt=(e,t)=>{var n={};for(var r in e)bPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&YI)for(var r of YI(e))t.indexOf(r)<0&&xPe.call(e,r)&&(n[r]=e[r]);return n};const Lpt={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},G$=w.forwardRef((e,t)=>{const n=Qt("Collapse",Lpt,e),{children:r,in:i,transitionDuration:a,transitionTimingFunction:o,style:s,onTransitionEnd:l,animateOpacity:c}=n,u=$pt(n,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),f=Hu(),h=q$(),A=(f.respectReducedMotion?h:!1)?0:a,{systemStyles:p,rest:v}=cC(u),y=Mpt({opened:i,transitionDuration:A,transitionTimingFunction:o,onTransitionEnd:l});return A===0?i?L.createElement(En,$O({},v),r):null:L.createElement(En,$O({},y($O($O({style:s,ref:t},v),p))),L.createElement("div",{style:{opacity:i||!c?1:0,transition:c?`opacity ${A}ms ${o}`:"none"}},r))});G$.displayName="@mantine/core/Collapse";var Upt=Object.defineProperty,zpt=Object.defineProperties,Hpt=Object.getOwnPropertyDescriptors,XI=Object.getOwnPropertySymbols,wPe=Object.prototype.hasOwnProperty,kPe=Object.prototype.propertyIsEnumerable,Zhe=(e,t,n)=>t in e?Upt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vpt=(e,t)=>{for(var n in t||(t={}))wPe.call(t,n)&&Zhe(e,n,t[n]);if(XI)for(var n of XI(t))kPe.call(t,n)&&Zhe(e,n,t[n]);return e},Qpt=(e,t)=>zpt(e,Hpt(t)),qpt=(e,t)=>{var n={};for(var r in e)wPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&XI)for(var r of XI(e))t.indexOf(r)<0&&kPe.call(e,r)&&(n[r]=e[r]);return n};const Gpt={};function SPe(e){const t=Qt("AccordionPanel",Gpt,e),{children:n,className:r}=t,i=qpt(t,["children","className"]),a=VI(),{value:o}=aPe(),{classNames:s,styles:l,unstyled:c}=VI(),{classes:u,cx:f}=Tpt({radius:a.radius},{name:"Accordion",classNames:s,styles:l,unstyled:c,variant:a.variant});return L.createElement(G$,Qpt(Vpt({},i),{className:f(u.panel,r),in:a.isItemActive(o),transitionDuration:a.transitionDuration,role:"region",id:a.getRegionId(o),"aria-labelledby":a.getControlId(o)}),L.createElement("div",{className:u.content},n))}SPe.displayName="@mantine/core/AccordionPanel";var Wpt=Object.defineProperty,ZI=Object.getOwnPropertySymbols,CPe=Object.prototype.hasOwnProperty,_Pe=Object.prototype.propertyIsEnumerable,Jhe=(e,t,n)=>t in e?Wpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eme=(e,t)=>{for(var n in t||(t={}))CPe.call(t,n)&&Jhe(e,n,t[n]);if(ZI)for(var n of ZI(t))_Pe.call(t,n)&&Jhe(e,n,t[n]);return e},Kpt=(e,t)=>{var n={};for(var r in e)CPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ZI)for(var r of ZI(e))t.indexOf(r)<0&&_Pe.call(e,r)&&(n[r]=e[r]);return n};function iE(e){const t=e,{style:n}=t,r=Kpt(t,["style"]);return L.createElement("svg",eme({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:eme({width:He(16),height:He(16)},n)},r),L.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var Ypt=Object.defineProperty,Xpt=Object.defineProperties,Zpt=Object.getOwnPropertyDescriptors,JI=Object.getOwnPropertySymbols,NPe=Object.prototype.hasOwnProperty,EPe=Object.prototype.propertyIsEnumerable,tme=(e,t,n)=>t in e?Ypt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jpt=(e,t)=>{for(var n in t||(t={}))NPe.call(t,n)&&tme(e,n,t[n]);if(JI)for(var n of JI(t))EPe.call(t,n)&&tme(e,n,t[n]);return e},eAt=(e,t)=>Xpt(e,Zpt(t)),tAt=(e,t)=>{var n={};for(var r in e)NPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&JI)for(var r of JI(e))t.indexOf(r)<0&&EPe.call(e,r)&&(n[r]=e[r]);return n};const nAt={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:L.createElement(iE,null)};function Pn(e){const t=Qt("Accordion",nAt,e),{id:n,loop:r,children:i,multiple:a,value:o,defaultValue:s,onChange:l,transitionDuration:c,disableChevronRotation:u,chevronPosition:f,chevronSize:h,order:m,chevron:A,classNames:p,styles:v,unstyled:y,variant:x,radius:k}=t,S=tAt(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return L.createElement(Cmt,{id:n,multiple:a,value:o,defaultValue:s,onChange:l,loop:r,transitionDuration:c,disableChevronRotation:u,chevronPosition:f,chevronSize:h,order:m,chevron:A,variant:x,radius:k,classNames:p,styles:v,unstyled:y},L.createElement(En,eAt(Jpt({},S),{"data-accordion":!0}),i))}Pn.Item=dPe;Pn.Control=gPe;Pn.Panel=SPe;Pn.displayName="@mantine/core/Accordion";var rAt=Object.defineProperty,iAt=Object.defineProperties,aAt=Object.getOwnPropertyDescriptors,nme=Object.getOwnPropertySymbols,oAt=Object.prototype.hasOwnProperty,sAt=Object.prototype.propertyIsEnumerable,rme=(e,t,n)=>t in e?rAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kY=(e,t)=>{for(var n in t||(t={}))oAt.call(t,n)&&rme(e,n,t[n]);if(nme)for(var n of nme(t))sAt.call(t,n)&&rme(e,n,t[n]);return e},ime=(e,t)=>iAt(e,aAt(t));const lAt=["subtle","filled","outline","light","default","transparent","gradient"],LO={xs:He(18),sm:He(22),md:He(28),lg:He(34),xl:He(44)};function cAt({variant:e,theme:t,color:n,gradient:r}){const i=t.fn.variant({color:n,variant:e,gradient:r});return e==="gradient"?{border:0,backgroundImage:i.background,color:i.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:lAt.includes(e)?kY({border:`${He(1)} solid ${i.border}`,backgroundColor:i.background,color:i.color},t.fn.hover({backgroundColor:i.hover})):null}var uAt=ln((e,{radius:t,color:n,gradient:r},{variant:i,size:a})=>({root:ime(kY({position:"relative",borderRadius:e.fn.radius(t),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:Tt({size:a,sizes:LO}),minHeight:Tt({size:a,sizes:LO}),width:Tt({size:a,sizes:LO}),minWidth:Tt({size:a,sizes:LO})},cAt({variant:i,theme:e,color:n,gradient:r})),{"&:active":e.activeStyles,"& [data-action-icon-loader]":{maxWidth:"70%"},"&:disabled, &[data-disabled]":{color:e.colors.gray[e.colorScheme==="dark"?6:4],cursor:"not-allowed",backgroundColor:i==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),borderColor:i==="transparent"?void 0:e.fn.themeColor("gray",e.colorScheme==="dark"?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":ime(kY({content:'""'},e.fn.cover(He(-1))),{backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(t),cursor:"not-allowed"})}})})),dAt=Object.defineProperty,eP=Object.getOwnPropertySymbols,FPe=Object.prototype.hasOwnProperty,DPe=Object.prototype.propertyIsEnumerable,ame=(e,t,n)=>t in e?dAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ome=(e,t)=>{for(var n in t||(t={}))FPe.call(t,n)&&ame(e,n,t[n]);if(eP)for(var n of eP(t))DPe.call(t,n)&&ame(e,n,t[n]);return e},sme=(e,t)=>{var n={};for(var r in e)FPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&eP)for(var r of eP(e))t.indexOf(r)<0&&DPe.call(e,r)&&(n[r]=e[r]);return n};function fAt(e){var t=e,{size:n,color:r}=t,i=sme(t,["size","color"]);const a=i,{style:o}=a,s=sme(a,["style"]);return L.createElement("svg",ome({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:r,style:ome({width:n},o)},s),L.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},L.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var hAt=Object.defineProperty,tP=Object.getOwnPropertySymbols,TPe=Object.prototype.hasOwnProperty,OPe=Object.prototype.propertyIsEnumerable,lme=(e,t,n)=>t in e?hAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cme=(e,t)=>{for(var n in t||(t={}))TPe.call(t,n)&&lme(e,n,t[n]);if(tP)for(var n of tP(t))OPe.call(t,n)&&lme(e,n,t[n]);return e},ume=(e,t)=>{var n={};for(var r in e)TPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tP)for(var r of tP(e))t.indexOf(r)<0&&OPe.call(e,r)&&(n[r]=e[r]);return n};function mAt(e){var t=e,{size:n,color:r}=t,i=ume(t,["size","color"]);const a=i,{style:o}=a,s=ume(a,["style"]);return L.createElement("svg",cme({viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:r,style:cme({width:n,height:n},o)},s),L.createElement("g",{fill:"none",fillRule:"evenodd"},L.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},L.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),L.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},L.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))}var pAt=Object.defineProperty,nP=Object.getOwnPropertySymbols,BPe=Object.prototype.hasOwnProperty,jPe=Object.prototype.propertyIsEnumerable,dme=(e,t,n)=>t in e?pAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fme=(e,t)=>{for(var n in t||(t={}))BPe.call(t,n)&&dme(e,n,t[n]);if(nP)for(var n of nP(t))jPe.call(t,n)&&dme(e,n,t[n]);return e},hme=(e,t)=>{var n={};for(var r in e)BPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&nP)for(var r of nP(e))t.indexOf(r)<0&&jPe.call(e,r)&&(n[r]=e[r]);return n};function AAt(e){var t=e,{size:n,color:r}=t,i=hme(t,["size","color"]);const a=i,{style:o}=a,s=hme(a,["style"]);return L.createElement("svg",fme({viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:r,style:fme({width:n},o)},s),L.createElement("circle",{cx:"15",cy:"15",r:"15"},L.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},L.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),L.createElement("circle",{cx:"105",cy:"15",r:"15"},L.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),L.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var gAt=Object.defineProperty,rP=Object.getOwnPropertySymbols,IPe=Object.prototype.hasOwnProperty,PPe=Object.prototype.propertyIsEnumerable,mme=(e,t,n)=>t in e?gAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vAt=(e,t)=>{for(var n in t||(t={}))IPe.call(t,n)&&mme(e,n,t[n]);if(rP)for(var n of rP(t))PPe.call(t,n)&&mme(e,n,t[n]);return e},yAt=(e,t)=>{var n={};for(var r in e)IPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rP)for(var r of rP(e))t.indexOf(r)<0&&PPe.call(e,r)&&(n[r]=e[r]);return n};const yz={bars:fAt,oval:mAt,dots:AAt},bAt={xs:He(18),sm:He(22),md:He(36),lg:He(44),xl:He(58)},xAt={size:"md"};function co(e){const t=Qt("Loader",xAt,e),{size:n,color:r,variant:i}=t,a=yAt(t,["size","color","variant"]),o=Hu(),s=i in yz?i:o.loader;return L.createElement(En,vAt({role:"presentation",component:yz[s]||yz.bars,size:Tt({size:n,sizes:bAt}),color:o.fn.variant({variant:"filled",primaryFallback:!1,color:r||o.primaryColor}).background},a))}co.displayName="@mantine/core/Loader";var wAt=Object.defineProperty,iP=Object.getOwnPropertySymbols,MPe=Object.prototype.hasOwnProperty,RPe=Object.prototype.propertyIsEnumerable,pme=(e,t,n)=>t in e?wAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ame=(e,t)=>{for(var n in t||(t={}))MPe.call(t,n)&&pme(e,n,t[n]);if(iP)for(var n of iP(t))RPe.call(t,n)&&pme(e,n,t[n]);return e},kAt=(e,t)=>{var n={};for(var r in e)MPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&iP)for(var r of iP(e))t.indexOf(r)<0&&RPe.call(e,r)&&(n[r]=e[r]);return n};const SAt={color:"gray",size:"md",variant:"subtle"},$Pe=w.forwardRef((e,t)=>{const n=Qt("ActionIcon",SAt,e),{className:r,color:i,children:a,radius:o,size:s,variant:l,gradient:c,disabled:u,loaderProps:f,loading:h,unstyled:m,__staticSelector:A}=n,p=kAt(n,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:v,cx:y,theme:x}=uAt({radius:o,color:i,gradient:c},{name:["ActionIcon",A],unstyled:m,size:s,variant:l}),k=L.createElement(co,Ame({color:x.fn.variant({color:i,variant:l}).color,size:"100%","data-action-icon-loader":!0},f));return L.createElement(Td,Ame({className:y(v.root,r),ref:t,disabled:u,"data-disabled":u||void 0,"data-loading":h||void 0,unstyled:m},p),h?k:a)});$Pe.displayName="@mantine/core/ActionIcon";const LPe=$Pe;var CAt=Object.defineProperty,_At=Object.defineProperties,NAt=Object.getOwnPropertyDescriptors,aP=Object.getOwnPropertySymbols,UPe=Object.prototype.hasOwnProperty,zPe=Object.prototype.propertyIsEnumerable,gme=(e,t,n)=>t in e?CAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,EAt=(e,t)=>{for(var n in t||(t={}))UPe.call(t,n)&&gme(e,n,t[n]);if(aP)for(var n of aP(t))zPe.call(t,n)&&gme(e,n,t[n]);return e},FAt=(e,t)=>_At(e,NAt(t)),DAt=(e,t)=>{var n={};for(var r in e)UPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&aP)for(var r of aP(e))t.indexOf(r)<0&&zPe.call(e,r)&&(n[r]=e[r]);return n};function HPe(e){const t=Qt("Portal",{},e),{children:n,target:r,className:i,innerRef:a}=t,o=DAt(t,["children","target","className","innerRef"]),s=Hu(),[l,c]=w.useState(!1),u=w.useRef();return Rte(()=>(c(!0),u.current=r?typeof r=="string"?document.querySelector(r):r:document.createElement("div"),r||document.body.appendChild(u.current),()=>{!r&&document.body.removeChild(u.current)}),[r]),l?Gf.createPortal(L.createElement("div",FAt(EAt({className:i,dir:s.dir},o),{ref:a}),n),u.current):null}HPe.displayName="@mantine/core/Portal";var TAt=Object.defineProperty,oP=Object.getOwnPropertySymbols,VPe=Object.prototype.hasOwnProperty,QPe=Object.prototype.propertyIsEnumerable,vme=(e,t,n)=>t in e?TAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OAt=(e,t)=>{for(var n in t||(t={}))VPe.call(t,n)&&vme(e,n,t[n]);if(oP)for(var n of oP(t))QPe.call(t,n)&&vme(e,n,t[n]);return e},BAt=(e,t)=>{var n={};for(var r in e)VPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&oP)for(var r of oP(e))t.indexOf(r)<0&&QPe.call(e,r)&&(n[r]=e[r]);return n};function uC(e){var t=e,{withinPortal:n=!0,children:r}=t,i=BAt(t,["withinPortal","children"]);return n?L.createElement(HPe,OAt({},i),r):L.createElement(L.Fragment,null,r)}uC.displayName="@mantine/core/OptionalPortal";var jAt=Object.defineProperty,sP=Object.getOwnPropertySymbols,qPe=Object.prototype.hasOwnProperty,GPe=Object.prototype.propertyIsEnumerable,yme=(e,t,n)=>t in e?jAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bme=(e,t)=>{for(var n in t||(t={}))qPe.call(t,n)&&yme(e,n,t[n]);if(sP)for(var n of sP(t))GPe.call(t,n)&&yme(e,n,t[n]);return e},IAt=(e,t)=>{var n={};for(var r in e)qPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&sP)for(var r of sP(e))t.indexOf(r)<0&&GPe.call(e,r)&&(n[r]=e[r]);return n};function WPe(e){const t=e,{width:n,height:r,style:i}=t,a=IAt(t,["width","height","style"]);return L.createElement("svg",bme({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:bme({width:n,height:r},i)},a),L.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}WPe.displayName="@mantine/core/CloseIcon";var PAt=Object.defineProperty,lP=Object.getOwnPropertySymbols,KPe=Object.prototype.hasOwnProperty,YPe=Object.prototype.propertyIsEnumerable,xme=(e,t,n)=>t in e?PAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MAt=(e,t)=>{for(var n in t||(t={}))KPe.call(t,n)&&xme(e,n,t[n]);if(lP)for(var n of lP(t))YPe.call(t,n)&&xme(e,n,t[n]);return e},RAt=(e,t)=>{var n={};for(var r in e)KPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lP)for(var r of lP(e))t.indexOf(r)<0&&YPe.call(e,r)&&(n[r]=e[r]);return n};const $At={xs:He(12),sm:He(16),md:He(20),lg:He(28),xl:He(34)},LAt={size:"sm"},XPe=w.forwardRef((e,t)=>{const n=Qt("CloseButton",LAt,e),{iconSize:r,size:i,children:a}=n,o=RAt(n,["iconSize","size","children"]),s=He(r||$At[i]);return L.createElement(LPe,MAt({ref:t,__staticSelector:"CloseButton",size:i},o),a||L.createElement(WPe,{width:s,height:s}))});XPe.displayName="@mantine/core/CloseButton";const XF=XPe;var UAt=Object.defineProperty,zAt=Object.defineProperties,HAt=Object.getOwnPropertyDescriptors,wme=Object.getOwnPropertySymbols,VAt=Object.prototype.hasOwnProperty,QAt=Object.prototype.propertyIsEnumerable,kme=(e,t,n)=>t in e?UAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,UO=(e,t)=>{for(var n in t||(t={}))VAt.call(t,n)&&kme(e,n,t[n]);if(wme)for(var n of wme(t))QAt.call(t,n)&&kme(e,n,t[n]);return e},qAt=(e,t)=>zAt(e,HAt(t));function GAt({underline:e,strikethrough:t}){const n=[];return e&&n.push("underline"),t&&n.push("line-through"),n.length>0?n.join(" "):"none"}function WAt({theme:e,color:t}){return t==="dimmed"?e.fn.dimmed():typeof t=="string"&&(t in e.colors||t.split(".")[0]in e.colors)?e.fn.variant({variant:"filled",color:t}).background:t||"inherit"}function KAt(e){return typeof e=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}:null}function YAt({theme:e,truncate:t}){return t==="start"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:e.dir==="ltr"?"rtl":"ltr",textAlign:e.dir==="ltr"?"right":"left"}:t?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}var XAt=ln((e,{color:t,lineClamp:n,truncate:r,inline:i,inherit:a,underline:o,gradient:s,weight:l,transform:c,align:u,strikethrough:f,italic:h},{size:m})=>{const A=e.fn.variant({variant:"gradient",gradient:s});return{root:qAt(UO(UO(UO(UO({},e.fn.fontStyles()),e.fn.focusStyles()),KAt(n)),YAt({theme:e,truncate:r})),{color:WAt({color:t,theme:e}),fontFamily:a?"inherit":e.fontFamily,fontSize:a||m===void 0?"inherit":Tt({size:m,sizes:e.fontSizes}),lineHeight:a?"inherit":i?1:e.lineHeight,textDecoration:GAt({underline:o,strikethrough:f}),WebkitTapHighlightColor:"transparent",fontWeight:a?"inherit":l,textTransform:c,textAlign:u,fontStyle:h?"italic":void 0}),gradient:{backgroundImage:A.background,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}}),ZAt=Object.defineProperty,cP=Object.getOwnPropertySymbols,ZPe=Object.prototype.hasOwnProperty,JPe=Object.prototype.propertyIsEnumerable,Sme=(e,t,n)=>t in e?ZAt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,JAt=(e,t)=>{for(var n in t||(t={}))ZPe.call(t,n)&&Sme(e,n,t[n]);if(cP)for(var n of cP(t))JPe.call(t,n)&&Sme(e,n,t[n]);return e},egt=(e,t)=>{var n={};for(var r in e)ZPe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cP)for(var r of cP(e))t.indexOf(r)<0&&JPe.call(e,r)&&(n[r]=e[r]);return n};const tgt={variant:"text"},e4e=w.forwardRef((e,t)=>{const n=Qt("Text",tgt,e),{className:r,size:i,weight:a,transform:o,color:s,align:l,variant:c,lineClamp:u,truncate:f,gradient:h,inline:m,inherit:A,underline:p,strikethrough:v,italic:y,classNames:x,styles:k,unstyled:S,span:C,__staticSelector:N}=n,E=egt(n,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span","__staticSelector"]),{classes:D,cx:T}=XAt({color:s,lineClamp:u,truncate:f,inline:m,inherit:A,underline:p,strikethrough:v,italic:y,weight:a,transform:o,align:l,gradient:h},{unstyled:S,name:N||"Text",variant:c,size:i});return L.createElement(En,JAt({ref:t,className:T(D.root,{[D.gradient]:c==="gradient"},r),component:C?"span":"div"},E))});e4e.displayName="@mantine/core/Text";const Jn=e4e,zO={xs:He(1),sm:He(2),md:He(3),lg:He(4),xl:He(5)};function HO(e,t){const n=e.fn.variant({variant:"outline",color:t}).border;return typeof t=="string"&&(t in e.colors||t.split(".")[0]in e.colors)?n:t===void 0?e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]:t}var ngt=ln((e,{color:t},{size:n,variant:r})=>({root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:He(1),borderTop:`${Tt({size:n,sizes:zO})} ${r} ${HO(e,t)}`,marginRight:e.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${Tt({size:n,sizes:zO})} ${r} ${HO(e,t)}`,marginLeft:e.spacing.xs}},labelDefaultStyles:{color:t==="dark"?e.colors.dark[1]:e.fn.themeColor(t,e.colorScheme==="dark"?5:e.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:He(Tt({size:n,sizes:zO})),borderTopColor:HO(e,t),borderTopStyle:r,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:He(Tt({size:n,sizes:zO})),borderLeftColor:HO(e,t),borderLeftStyle:r}})),rgt=Object.defineProperty,igt=Object.defineProperties,agt=Object.getOwnPropertyDescriptors,uP=Object.getOwnPropertySymbols,t4e=Object.prototype.hasOwnProperty,n4e=Object.prototype.propertyIsEnumerable,Cme=(e,t,n)=>t in e?rgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_me=(e,t)=>{for(var n in t||(t={}))t4e.call(t,n)&&Cme(e,n,t[n]);if(uP)for(var n of uP(t))n4e.call(t,n)&&Cme(e,n,t[n]);return e},ogt=(e,t)=>igt(e,agt(t)),sgt=(e,t)=>{var n={};for(var r in e)t4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&uP)for(var r of uP(e))t.indexOf(r)<0&&n4e.call(e,r)&&(n[r]=e[r]);return n};const lgt={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},SY=w.forwardRef((e,t)=>{const n=Qt("Divider",lgt,e),{className:r,color:i,orientation:a,size:o,label:s,labelPosition:l,labelProps:c,variant:u,styles:f,classNames:h,unstyled:m}=n,A=sgt(n,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:p,cx:v}=ngt({color:i},{classNames:h,styles:f,unstyled:m,name:"Divider",variant:u,size:o}),y=a==="vertical",x=a==="horizontal",k=!!s&&x,S=!c?.color;return L.createElement(En,_me({ref:t,className:v(p.root,{[p.vertical]:y,[p.horizontal]:x,[p.withLabel]:k},r),role:"separator"},A),k&&L.createElement(Jn,ogt(_me({},c),{size:c?.size||"xs",mt:He(2),className:v(p.label,p[l],{[p.labelDefaultStyles]:S})}),s))});SY.displayName="@mantine/core/Divider";var cgt=Object.defineProperty,ugt=Object.defineProperties,dgt=Object.getOwnPropertyDescriptors,Nme=Object.getOwnPropertySymbols,fgt=Object.prototype.hasOwnProperty,hgt=Object.prototype.propertyIsEnumerable,Eme=(e,t,n)=>t in e?cgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fme=(e,t)=>{for(var n in t||(t={}))fgt.call(t,n)&&Eme(e,n,t[n]);if(Nme)for(var n of Nme(t))hgt.call(t,n)&&Eme(e,n,t[n]);return e},mgt=(e,t)=>ugt(e,dgt(t)),pgt=ln((e,t,{size:n})=>({item:mgt(Fme({},e.fn.fontStyles()),{boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:`calc(${Tt({size:n,sizes:e.spacing})} / 1.5) ${Tt({size:n,sizes:e.spacing})}`,cursor:"pointer",fontSize:Tt({size:n,sizes:e.fontSizes}),color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,borderRadius:e.fn.radius(),"&[data-hovered]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[1]},"&[data-selected]":Fme({backgroundColor:e.fn.variant({variant:"filled"}).background,color:e.fn.variant({variant:"filled"}).color},e.fn.hover({backgroundColor:e.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:e.colors.dark[2]}}),nothingFound:{boxSizing:"border-box",color:e.colors.gray[6],paddingTop:`calc(${Tt({size:n,sizes:e.spacing})} / 2)`,paddingBottom:`calc(${Tt({size:n,sizes:e.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${Tt({size:n,sizes:e.spacing})} / 1.5) ${Tt({size:n,sizes:e.spacing})}`},separatorLabel:{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}})),Agt=Object.defineProperty,Dme=Object.getOwnPropertySymbols,ggt=Object.prototype.hasOwnProperty,vgt=Object.prototype.propertyIsEnumerable,Tme=(e,t,n)=>t in e?Agt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ygt=(e,t)=>{for(var n in t||(t={}))ggt.call(t,n)&&Tme(e,n,t[n]);if(Dme)for(var n of Dme(t))vgt.call(t,n)&&Tme(e,n,t[n]);return e};function Lte({data:e,hovered:t,classNames:n,styles:r,isItemSelected:i,uuid:a,__staticSelector:o,onItemHover:s,onItemSelect:l,itemsRefs:c,itemComponent:u,size:f,nothingFound:h,creatable:m,createLabel:A,unstyled:p,variant:v}){const{classes:y}=pgt(null,{classNames:n,styles:r,unstyled:p,name:o,variant:v,size:f}),x=[],k=[];let S=null;const C=(E,D)=>{const T=typeof i=="function"?i(E.value):!1;return L.createElement(u,ygt({key:E.value,className:y.item,"data-disabled":E.disabled||void 0,"data-hovered":!E.disabled&&t===D||void 0,"data-selected":!E.disabled&&T||void 0,selected:T,onMouseEnter:()=>s(D),id:`${a}-${D}`,role:"option",tabIndex:-1,"aria-selected":t===D,ref:P=>{c&&c.current&&(c.current[E.value]=P)},onMouseDown:E.disabled?null:P=>{P.preventDefault(),l(E)},disabled:E.disabled,variant:v},E))};let N=null;if(e.forEach((E,D)=>{E.creatable?S=D:E.group?(N!==E.group&&(N=E.group,k.push(L.createElement("div",{className:y.separator,key:`__mantine-divider-${D}`},L.createElement(SY,{classNames:{label:y.separatorLabel},label:E.group})))),k.push(C(E,D))):x.push(C(E,D))}),m){const E=e[S];x.push(L.createElement("div",{key:$te(),className:y.item,"data-hovered":t===S||void 0,onMouseEnter:()=>s(S),onMouseDown:D=>{D.preventDefault(),l(E)},tabIndex:-1,ref:D=>{c&&c.current&&(c.current[E.value]=D)}},A))}return k.length>0&&x.length>0&&x.unshift(L.createElement("div",{className:y.separator,key:"empty-group-separator"},L.createElement(SY,null))),k.length>0||x.length>0?L.createElement(L.Fragment,null,k,x):L.createElement(Jn,{size:f,unstyled:p,className:y.nothingFound},h)}Lte.displayName="@mantine/core/SelectItems";var bgt=Object.defineProperty,dP=Object.getOwnPropertySymbols,r4e=Object.prototype.hasOwnProperty,i4e=Object.prototype.propertyIsEnumerable,Ome=(e,t,n)=>t in e?bgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xgt=(e,t)=>{for(var n in t||(t={}))r4e.call(t,n)&&Ome(e,n,t[n]);if(dP)for(var n of dP(t))i4e.call(t,n)&&Ome(e,n,t[n]);return e},wgt=(e,t)=>{var n={};for(var r in e)r4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&dP)for(var r of dP(e))t.indexOf(r)<0&&i4e.call(e,r)&&(n[r]=e[r]);return n};const Ute=w.forwardRef((e,t)=>{var n=e,{label:r,value:i}=n,a=wgt(n,["label","value"]);return L.createElement("div",xgt({ref:t},a),r||i)});Ute.displayName="@mantine/core/DefaultItem";function kgt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function a4e(...e){return t=>e.forEach(n=>kgt(n,t))}function $x(...e){return w.useCallback(a4e(...e),e)}const o4e=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),a=i.find(Cgt);if(a){const o=a.props.children,s=i.map(l=>l===a?w.Children.count(o)>1?w.Children.only(null):w.isValidElement(o)?o.props.children:null:l);return w.createElement(CY,lt({},r,{ref:t}),w.isValidElement(o)?w.cloneElement(o,void 0,s):null)}return w.createElement(CY,lt({},r,{ref:t}),n)});o4e.displayName="Slot";const CY=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{..._gt(r,n.props),ref:a4e(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});CY.displayName="SlotClone";const Sgt=({children:e})=>w.createElement(w.Fragment,null,e);function Cgt(e){return w.isValidElement(e)&&e.type===Sgt}function _gt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{a(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const Ngt=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ZF=Ngt.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?o4e:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,lt({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),_Y=globalThis?.document?w.useLayoutEffect:()=>{};function Egt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const JF=e=>{const{present:t,children:n}=e,r=Fgt(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),a=$x(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:a}):null};JF.displayName="Presence";function Fgt(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),a=w.useRef("none"),o=e?"mounted":"unmounted",[s,l]=Egt(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=VO(r.current);a.current=s==="mounted"?c:"none"},[s]),_Y(()=>{const c=r.current,u=i.current;if(u!==e){const h=a.current,m=VO(c);e?l("MOUNT"):m==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&h!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),_Y(()=>{if(t){const c=f=>{const m=VO(r.current).includes(f.animationName);f.target===t&&m&&Gf.flushSync(()=>l("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=VO(r.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function VO(e){return e?.animationName||"none"}function Dgt(e,t=[]){let n=[];function r(a,o){const s=w.createContext(o),l=n.length;n=[...n,o];function c(f){const{scope:h,children:m,...A}=f,p=h?.[e][l]||s,v=w.useMemo(()=>A,Object.values(A));return w.createElement(p.Provider,{value:v},m)}function u(f,h){const m=h?.[e][l]||s,A=w.useContext(m);if(A)return A;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,u]}const i=()=>{const a=n.map(o=>w.createContext(o));return function(s){const l=s?.[e]||a;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,Tgt(i,...t)]}function Tgt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const f=l(a)[`__scope${c}`];return{...s,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function fb(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}const Ogt=w.createContext(void 0);function Bgt(e){const t=w.useContext(Ogt);return e||t||"ltr"}function jgt(e,[t,n]){return Math.min(n,Math.max(t,e))}function $b(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)}}function Igt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const s4e="ScrollArea",[l4e]=Dgt(s4e),[Pgt,Kf]=l4e(s4e),Mgt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:a=600,...o}=e,[s,l]=w.useState(null),[c,u]=w.useState(null),[f,h]=w.useState(null),[m,A]=w.useState(null),[p,v]=w.useState(null),[y,x]=w.useState(0),[k,S]=w.useState(0),[C,N]=w.useState(!1),[E,D]=w.useState(!1),T=$x(t,O=>l(O)),P=Bgt(i);return w.createElement(Pgt,{scope:n,type:r,dir:P,scrollHideDelay:a,scrollArea:s,viewport:c,onViewportChange:u,content:f,onContentChange:h,scrollbarX:m,onScrollbarXChange:A,scrollbarXEnabled:C,onScrollbarXEnabledChange:N,scrollbarY:p,onScrollbarYChange:v,scrollbarYEnabled:E,onScrollbarYEnabledChange:D,onCornerWidthChange:x,onCornerHeightChange:S},w.createElement(ZF.div,lt({dir:P},o,{ref:T,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":k+"px",...e.style}})))}),Rgt="ScrollAreaViewport",$gt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,...i}=e,a=Kf(Rgt,n),o=w.useRef(null),s=$x(t,o,a.onViewportChange);return w.createElement(w.Fragment,null,w.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),w.createElement(ZF.div,lt({"data-radix-scroll-area-viewport":""},i,{ref:s,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style}}),w.createElement("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"}},r)))}),_g="ScrollAreaScrollbar",Lgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Kf(_g,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation==="horizontal";return w.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type==="hover"?w.createElement(Ugt,lt({},r,{ref:t,forceMount:n})):i.type==="scroll"?w.createElement(zgt,lt({},r,{ref:t,forceMount:n})):i.type==="auto"?w.createElement(c4e,lt({},r,{ref:t,forceMount:n})):i.type==="always"?w.createElement(zte,lt({},r,{ref:t})):null}),Ugt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Kf(_g,e.__scopeScrollArea),[a,o]=w.useState(!1);return w.useEffect(()=>{const s=i.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),o(!0)},u=()=>{l=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[i.scrollArea,i.scrollHideDelay]),w.createElement(JF,{present:n||a},w.createElement(c4e,lt({"data-state":a?"visible":"hidden"},r,{ref:t})))}),zgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Kf(_g,e.__scopeScrollArea),a=e.orientation==="horizontal",o=K$(()=>l("SCROLL_END"),100),[s,l]=Igt("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return w.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,i.scrollHideDelay,l]),w.useEffect(()=>{const c=i.viewport,u=a?"scrollLeft":"scrollTop";if(c){let f=c[u];const h=()=>{const m=c[u];f!==m&&(l("SCROLL"),o()),f=m};return c.addEventListener("scroll",h),()=>c.removeEventListener("scroll",h)}},[i.viewport,a,l,o]),w.createElement(JF,{present:n||s!=="hidden"},w.createElement(zte,lt({"data-state":s==="hidden"?"hidden":"visible"},r,{ref:t,onPointerEnter:$b(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:$b(e.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),c4e=w.forwardRef((e,t)=>{const n=Kf(_g,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=w.useState(!1),s=e.orientation==="horizontal",l=K$(()=>{if(n.viewport){const c=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?c:u)}},10);return Jk(n.viewport,l),Jk(n.content,l),w.createElement(JF,{present:r||a},w.createElement(zte,lt({"data-state":a?"visible":"hidden"},i,{ref:t})))}),zte=w.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,i=Kf(_g,e.__scopeScrollArea),a=w.useRef(null),o=w.useRef(0),[s,l]=w.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=h4e(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:h=>a.current=h,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:h=>o.current=h};function f(h,m){return Ygt(h,o.current,s,m)}return n==="horizontal"?w.createElement(Hgt,lt({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollLeft,m=Bme(h,s,i.dir);a.current.style.transform=`translate3d(${m}px, 0, 0)`}},onWheelScroll:h=>{i.viewport&&(i.viewport.scrollLeft=h)},onDragScroll:h=>{i.viewport&&(i.viewport.scrollLeft=f(h,i.dir))}})):n==="vertical"?w.createElement(Vgt,lt({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollTop,m=Bme(h,s);a.current.style.transform=`translate3d(0, ${m}px, 0)`}},onWheelScroll:h=>{i.viewport&&(i.viewport.scrollTop=h)},onDragScroll:h=>{i.viewport&&(i.viewport.scrollTop=f(h))}})):null}),Hgt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=Kf(_g,e.__scopeScrollArea),[o,s]=w.useState(),l=w.useRef(null),c=$x(t,l,a.onScrollbarXChange);return w.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),w.createElement(d4e,lt({"data-orientation":"horizontal"},i,{ref:c,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":W$(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(a.viewport){const h=a.viewport.scrollLeft+u.deltaX;e.onWheelScroll(h),p4e(h,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:fP(o.paddingLeft),paddingEnd:fP(o.paddingRight)}})}}))}),Vgt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=Kf(_g,e.__scopeScrollArea),[o,s]=w.useState(),l=w.useRef(null),c=$x(t,l,a.onScrollbarYChange);return w.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),w.createElement(d4e,lt({"data-orientation":"vertical"},i,{ref:c,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":W$(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(a.viewport){const h=a.viewport.scrollTop+u.deltaY;e.onWheelScroll(h),p4e(h,f)&&u.preventDefault()}},onResize:()=>{l.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:fP(o.paddingTop),paddingEnd:fP(o.paddingBottom)}})}}))}),[Qgt,u4e]=l4e(_g),d4e=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:f,...h}=e,m=Kf(_g,n),[A,p]=w.useState(null),v=$x(t,T=>p(T)),y=w.useRef(null),x=w.useRef(""),k=m.viewport,S=r.content-r.viewport,C=fb(u),N=fb(l),E=K$(f,10);function D(T){if(y.current){const P=T.clientX-y.current.left,O=T.clientY-y.current.top;c({x:P,y:O})}}return w.useEffect(()=>{const T=P=>{const O=P.target;A?.contains(O)&&C(P,S)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[k,A,S,C]),w.useEffect(N,[r,N]),Jk(A,E),Jk(m.content,E),w.createElement(Qgt,{scope:n,scrollbar:A,hasThumb:i,onThumbChange:fb(a),onThumbPointerUp:fb(o),onThumbPositionChange:N,onThumbPointerDown:fb(s)},w.createElement(ZF.div,lt({},h,{ref:v,style:{position:"absolute",...h.style},onPointerDown:$b(e.onPointerDown,T=>{T.button===0&&(T.target.setPointerCapture(T.pointerId),y.current=A.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",D(T))}),onPointerMove:$b(e.onPointerMove,D),onPointerUp:$b(e.onPointerUp,T=>{const P=T.target;P.hasPointerCapture(T.pointerId)&&P.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=x.current,y.current=null})})))}),NY="ScrollAreaThumb",qgt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=u4e(NY,e.__scopeScrollArea);return w.createElement(JF,{present:n||i.hasThumb},w.createElement(Ggt,lt({ref:t},r)))}),Ggt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,a=Kf(NY,n),o=u4e(NY,n),{onThumbPositionChange:s}=o,l=$x(t,f=>o.onThumbChange(f)),c=w.useRef(),u=K$(()=>{c.current&&(c.current(),c.current=void 0)},100);return w.useEffect(()=>{const f=a.viewport;if(f){const h=()=>{if(u(),!c.current){const m=Xgt(f,s);c.current=m,s()}};return s(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,u,s]),w.createElement(ZF.div,lt({"data-state":o.hasThumb?"visible":"hidden"},i,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:$b(e.onPointerDownCapture,f=>{const m=f.target.getBoundingClientRect(),A=f.clientX-m.left,p=f.clientY-m.top;o.onThumbPointerDown({x:A,y:p})}),onPointerUp:$b(e.onPointerUp,o.onThumbPointerUp)}))}),f4e="ScrollAreaCorner",Wgt=w.forwardRef((e,t)=>{const n=Kf(f4e,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?w.createElement(Kgt,lt({},e,{ref:t})):null}),Kgt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=Kf(f4e,n),[a,o]=w.useState(0),[s,l]=w.useState(0),c=!!(a&&s);return Jk(i.scrollbarX,()=>{var u;const f=((u=i.scrollbarX)===null||u===void 0?void 0:u.offsetHeight)||0;i.onCornerHeightChange(f),l(f)}),Jk(i.scrollbarY,()=>{var u;const f=((u=i.scrollbarY)===null||u===void 0?void 0:u.offsetWidth)||0;i.onCornerWidthChange(f),o(f)}),c?w.createElement(ZF.div,lt({},r,{ref:t,style:{width:a,height:s,position:"absolute",right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function fP(e){return e?parseInt(e,10):0}function h4e(e,t){const n=e/t;return isNaN(n)?0:n}function W$(e){const t=h4e(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Ygt(e,t,n,r="ltr"){const i=W$(n),a=i/2,o=t||a,s=i-o,l=n.scrollbar.paddingStart+o,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,f=r==="ltr"?[0,u]:[u*-1,0];return m4e([l,c],f)(e)}function Bme(e,t,n="ltr"){const r=W$(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,l=n==="ltr"?[0,o]:[o*-1,0],c=jgt(e,l);return m4e([0,o],[0,s])(c)}function m4e(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function p4e(e,t){return e>0&&e<t}const Xgt=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){const a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function K$(e,t){const n=fb(e),r=w.useRef(0);return w.useEffect(()=>()=>window.clearTimeout(r.current),[]),w.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Jk(e,t){const n=fb(t);_Y(()=>{let r=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return i.observe(e),()=>{window.cancelAnimationFrame(r),i.unobserve(e)}}},[e,n])}const Zgt=Mgt,Jgt=$gt,jme=Lgt,Ime=qgt,evt=Wgt;var tvt=ln((e,{scrollbarSize:t,offsetScrollbars:n,scrollbarHovered:r,hidden:i})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:n?He(t):void 0,paddingBottom:n?He(t):void 0},scrollbar:{display:i?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${He(t)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.colors.gray[0],[`& .${Rb("thumb")}`]:{backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.5):e.fn.rgba(e.black,.5)}},'&[data-orientation="vertical"]':{width:He(t)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:He(t)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:Rb("thumb"),flex:1,backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.4):e.fn.rgba(e.black,.4),borderRadius:He(t),position:"relative",transition:"background-color 150ms ease",display:i?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:He(44),minHeight:He(44)}},corner:{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0],transition:"opacity 150ms ease",opacity:r?1:0,display:i?"none":void 0}})),nvt=Object.defineProperty,rvt=Object.defineProperties,ivt=Object.getOwnPropertyDescriptors,hP=Object.getOwnPropertySymbols,A4e=Object.prototype.hasOwnProperty,g4e=Object.prototype.propertyIsEnumerable,Pme=(e,t,n)=>t in e?nvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,EY=(e,t)=>{for(var n in t||(t={}))A4e.call(t,n)&&Pme(e,n,t[n]);if(hP)for(var n of hP(t))g4e.call(t,n)&&Pme(e,n,t[n]);return e},v4e=(e,t)=>rvt(e,ivt(t)),y4e=(e,t)=>{var n={};for(var r in e)A4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&hP)for(var r of hP(e))t.indexOf(r)<0&&g4e.call(e,r)&&(n[r]=e[r]);return n};const b4e={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},Y$=w.forwardRef((e,t)=>{const n=Qt("ScrollArea",b4e,e),{children:r,className:i,classNames:a,styles:o,scrollbarSize:s,scrollHideDelay:l,type:c,dir:u,offsetScrollbars:f,viewportRef:h,onScrollPositionChange:m,unstyled:A,variant:p,viewportProps:v}=n,y=y4e(n,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[x,k]=w.useState(!1),S=Hu(),{classes:C,cx:N}=tvt({scrollbarSize:s,offsetScrollbars:f,scrollbarHovered:x,hidden:c==="never"},{name:"ScrollArea",classNames:a,styles:o,unstyled:A,variant:p});return L.createElement(Zgt,{type:c==="never"?"always":c,scrollHideDelay:l,dir:u||S.dir,ref:t,asChild:!0},L.createElement(En,EY({className:N(C.root,i)},y),L.createElement(Jgt,v4e(EY({},v),{className:C.viewport,ref:h,onScroll:typeof m=="function"?({currentTarget:E})=>m({x:E.scrollLeft,y:E.scrollTop}):void 0}),r),L.createElement(jme,{orientation:"horizontal",className:C.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},L.createElement(Ime,{className:C.thumb})),L.createElement(jme,{orientation:"vertical",className:C.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},L.createElement(Ime,{className:C.thumb})),L.createElement(evt,{className:C.corner})))}),x4e=w.forwardRef((e,t)=>{const n=Qt("ScrollAreaAutosize",b4e,e),{children:r,classNames:i,styles:a,scrollbarSize:o,scrollHideDelay:s,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:h,unstyled:m,sx:A,variant:p,viewportProps:v}=n,y=y4e(n,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return L.createElement(En,v4e(EY({},y),{ref:t,sx:[{display:"flex"},...NIe(A)]}),L.createElement(En,{sx:{display:"flex",flexDirection:"column",flex:1}},L.createElement(Y$,{classNames:i,styles:a,scrollHideDelay:s,scrollbarSize:o,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:h,unstyled:m,variant:p,viewportProps:v},r)))});x4e.displayName="@mantine/core/ScrollAreaAutosize";Y$.displayName="@mantine/core/ScrollArea";Y$.Autosize=x4e;const avt=Y$;var ovt=Object.defineProperty,svt=Object.defineProperties,lvt=Object.getOwnPropertyDescriptors,mP=Object.getOwnPropertySymbols,w4e=Object.prototype.hasOwnProperty,k4e=Object.prototype.propertyIsEnumerable,Mme=(e,t,n)=>t in e?ovt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rme=(e,t)=>{for(var n in t||(t={}))w4e.call(t,n)&&Mme(e,n,t[n]);if(mP)for(var n of mP(t))k4e.call(t,n)&&Mme(e,n,t[n]);return e},cvt=(e,t)=>svt(e,lvt(t)),uvt=(e,t)=>{var n={};for(var r in e)w4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mP)for(var r of mP(e))t.indexOf(r)<0&&k4e.call(e,r)&&(n[r]=e[r]);return n};const X$=w.forwardRef((e,t)=>{var n=e,{style:r}=n,i=uvt(n,["style"]);return L.createElement(avt,cvt(Rme({},i),{style:Rme({width:"100%"},r),viewportProps:{tabIndex:-1},viewportRef:t}),i.children)});X$.displayName="@mantine/core/SelectScrollArea";var dvt=ln(()=>({dropdown:{},itemsWrapper:{padding:He(4),display:"flex",width:"100%",boxSizing:"border-box"}})),fvt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ow=new WeakMap,QO=new WeakMap,qO={},bz=0,S4e=function(e){return e&&(e.host||S4e(e.parentNode))},hvt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=S4e(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mvt=function(e,t,n,r){var i=hvt(t,Array.isArray(e)?e:[e]);qO[n]||(qO[n]=new WeakMap);var a=qO[n],o=[],s=new Set,l=new Set(i),c=function(f){!f||s.has(f)||(s.add(f),c(f.parentNode))};i.forEach(c);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(s.has(h))u(h);else try{var m=h.getAttribute(r),A=m!==null&&m!=="false",p=(ow.get(h)||0)+1,v=(a.get(h)||0)+1;ow.set(h,p),a.set(h,v),o.push(h),p===1&&A&&QO.set(h,!0),v===1&&h.setAttribute(n,"true"),A||h.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return u(t),s.clear(),bz++,function(){o.forEach(function(f){var h=ow.get(f)-1,m=a.get(f)-1;ow.set(f,h),a.set(f,m),h||(QO.has(f)||f.removeAttribute(r),QO.delete(f)),m||f.removeAttribute(n)}),bz--,bz||(ow=new WeakMap,ow=new WeakMap,QO=new WeakMap,qO={})}},Z$=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=fvt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),mvt(r,i,n,"aria-hidden")):function(){return null}};const pvt=["top","right","bottom","left"],Yh=Math.min,pc=Math.max,pP=Math.round,GO=Math.floor,bp=e=>({x:e,y:e}),Avt={left:"right",right:"left",bottom:"top",top:"bottom"},gvt={start:"end",end:"start"};function FY(e,t,n){return pc(e,Yh(t,n))}function Dp(e,t){return typeof e=="function"?e(t):e}function Xh(e){return e.split("-")[0]}function dC(e){return e.split("-")[1]}function Hte(e){return e==="x"?"y":"x"}function Vte(e){return e==="y"?"height":"width"}const vvt=new Set(["top","bottom"]);function Rh(e){return vvt.has(Xh(e))?"y":"x"}function Qte(e){return Hte(Rh(e))}function yvt(e,t,n){n===void 0&&(n=!1);const r=dC(e),i=Qte(e),a=Vte(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=AP(o)),[o,AP(o)]}function bvt(e){const t=AP(e);return[DY(e),t,DY(t)]}function DY(e){return e.replace(/start|end/g,t=>gvt[t])}const $me=["left","right"],Lme=["right","left"],xvt=["top","bottom"],wvt=["bottom","top"];function kvt(e,t,n){switch(e){case"top":case"bottom":return n?t?Lme:$me:t?$me:Lme;case"left":case"right":return t?xvt:wvt;default:return[]}}function Svt(e,t,n,r){const i=dC(e);let a=kvt(Xh(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(DY)))),a}function AP(e){return e.replace(/left|right|bottom|top/g,t=>Avt[t])}function Cvt(e){return{top:0,right:0,bottom:0,left:0,...e}}function qte(e){return typeof e!="number"?Cvt(e):{top:e,right:e,bottom:e,left:e}}function eS(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ume(e,t,n){let{reference:r,floating:i}=e;const a=Rh(t),o=Qte(t),s=Vte(o),l=Xh(t),c=a==="y",u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let m;switch(l){case"top":m={x:u,y:r.y-i.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-i.width,y:f};break;default:m={x:r.x,y:r.y}}switch(dC(t)){case"start":m[o]-=h*(n&&c?-1:1);break;case"end":m[o]+=h*(n&&c?-1:1);break}return m}const _vt=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=Ume(c,r,l),h=r,m={},A=0;for(let p=0;p<s.length;p++){const{name:v,fn:y}=s[p],{x,y:k,data:S,reset:C}=await y({x:u,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:m,rects:c,platform:o,elements:{reference:e,floating:t}});u=x??u,f=k??f,m={...m,[v]:{...m[v],...S}},C&&A<=50&&(A++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:u,y:f}=Ume(c,h,l)),p=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:m}};async function aE(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=Dp(t,e),A=qte(m),v=s[h?f==="floating"?"reference":"floating":f],y=eS(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(v)))==null||n?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),x=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),S=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},C=eS(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:k,strategy:l}):x);return{top:(y.top-C.top+A.top)/S.y,bottom:(C.bottom-y.bottom+A.bottom)/S.y,left:(y.left-C.left+A.left)/S.x,right:(C.right-y.right+A.right)/S.x}}const Nvt=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=Dp(e,t)||{};if(c==null)return{};const f=qte(u),h={x:n,y:r},m=Qte(i),A=Vte(m),p=await o.getDimensions(c),v=m==="y",y=v?"top":"left",x=v?"bottom":"right",k=v?"clientHeight":"clientWidth",S=a.reference[A]+a.reference[m]-h[m]-a.floating[A],C=h[m]-a.reference[m],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let E=N?N[k]:0;(!E||!await(o.isElement==null?void 0:o.isElement(N)))&&(E=s.floating[k]||a.floating[A]);const D=S/2-C/2,T=E/2-p[A]/2-1,P=Yh(f[y],T),O=Yh(f[x],T),B=P,M=E-p[A]-O,$=E/2-p[A]/2+D,U=FY(B,$,M),I=!l.arrow&&dC(i)!=null&&$!==U&&a.reference[A]/2-($<B?P:O)-p[A]/2<0,Q=I?$<B?$-B:$-M:0;return{[m]:h[m]+Q,data:{[m]:U,centerOffset:$-U-Q,...I&&{alignmentOffset:Q}},reset:I}}}),Evt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:p=!0,...v}=Dp(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const y=Xh(i),x=Rh(s),k=Xh(s)===s,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(k||!p?[AP(s)]:bvt(s)),N=A!=="none";!h&&N&&C.push(...Svt(s,p,A,S));const E=[s,...C],D=await aE(t,v),T=[];let P=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&T.push(D[y]),f){const $=yvt(i,o,S);T.push(D[$[0]],D[$[1]])}if(P=[...P,{placement:i,overflows:T}],!T.every($=>$<=0)){var O,B;const $=(((O=a.flip)==null?void 0:O.index)||0)+1,U=E[$];if(U&&(!(f==="alignment"?x!==Rh(U):!1)||P.every(G=>Rh(G.placement)===x?G.overflows[0]>0:!0)))return{data:{index:$,overflows:P},reset:{placement:U}};let I=(B=P.filter(Q=>Q.overflows[0]<=0).sort((Q,G)=>Q.overflows[1]-G.overflows[1])[0])==null?void 0:B.placement;if(!I)switch(m){case"bestFit":{var M;const Q=(M=P.filter(G=>{if(N){const X=Rh(G.placement);return X===x||X==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(X=>X>0).reduce((X,he)=>X+he,0)]).sort((G,X)=>G[1]-X[1])[0])==null?void 0:M[0];Q&&(I=Q);break}case"initialPlacement":I=s;break}if(i!==I)return{reset:{placement:I}}}return{}}}};function zme(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hme(e){return pvt.some(t=>e[t]>=0)}const Fvt=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Dp(e,t);switch(r){case"referenceHidden":{const a=await aE(t,{...i,elementContext:"reference"}),o=zme(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Hme(o)}}}case"escaped":{const a=await aE(t,{...i,altBoundary:!0}),o=zme(a,n.floating);return{data:{escapedOffsets:o,escaped:Hme(o)}}}default:return{}}}}};function C4e(e){const t=Yh(...e.map(a=>a.left)),n=Yh(...e.map(a=>a.top)),r=pc(...e.map(a=>a.right)),i=pc(...e.map(a=>a.bottom));return{x:t,y:n,width:r-t,height:i-n}}function Dvt(e){const t=e.slice().sort((i,a)=>i.y-a.y),n=[];let r=null;for(let i=0;i<t.length;i++){const a=t[i];!r||a.y-r.y>r.height/2?n.push([a]):n[n.length-1].push(a),r=a}return n.map(i=>eS(C4e(i)))}const Tvt=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:i,platform:a,strategy:o}=t,{padding:s=2,x:l,y:c}=Dp(e,t),u=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(r.reference))||[]),f=Dvt(u),h=eS(C4e(u)),m=qte(s);function A(){if(f.length===2&&f[0].left>f[1].right&&l!=null&&c!=null)return f.find(v=>l>v.left-m.left&&l<v.right+m.right&&c>v.top-m.top&&c<v.bottom+m.bottom)||h;if(f.length>=2){if(Rh(n)==="y"){const P=f[0],O=f[f.length-1],B=Xh(n)==="top",M=P.top,$=O.bottom,U=B?P.left:O.left,I=B?P.right:O.right,Q=I-U,G=$-M;return{top:M,bottom:$,left:U,right:I,width:Q,height:G,x:U,y:M}}const v=Xh(n)==="left",y=pc(...f.map(P=>P.right)),x=Yh(...f.map(P=>P.left)),k=f.filter(P=>v?P.left===x:P.right===y),S=k[0].top,C=k[k.length-1].bottom,N=x,E=y,D=E-N,T=C-S;return{top:S,bottom:C,left:N,right:E,width:D,height:T,x:N,y:S}}return h}const p=await a.getElementRects({reference:{getBoundingClientRect:A},floating:r.floating,strategy:o});return i.reference.x!==p.reference.x||i.reference.y!==p.reference.y||i.reference.width!==p.reference.width||i.reference.height!==p.reference.height?{reset:{rects:p}}:{}}}},_4e=new Set(["left","top"]);async function Ovt(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Xh(n),s=dC(n),l=Rh(n)==="y",c=_4e.has(o)?-1:1,u=a&&l?-1:1,f=Dp(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:A}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof A=="number"&&(m=s==="end"?A*-1:A),l?{x:m*u,y:h*c}:{x:h*c,y:m*u}}const Bvt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await Ovt(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},jvt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:v=>{let{x:y,y:x}=v;return{x:y,y:x}}},...l}=Dp(e,t),c={x:n,y:r},u=await aE(t,l),f=Rh(Xh(i)),h=Hte(f);let m=c[h],A=c[f];if(a){const v=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=m+u[v],k=m-u[y];m=FY(x,m,k)}if(o){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",x=A+u[v],k=A-u[y];A=FY(x,A,k)}const p=s.fn({...t,[h]:m,[f]:A});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[h]:a,[f]:o}}}}}},Ivt=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=Dp(e,t),u={x:n,y:r},f=Rh(i),h=Hte(f);let m=u[h],A=u[f];const p=Dp(s,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const k=h==="y"?"height":"width",S=a.reference[h]-a.floating[k]+v.mainAxis,C=a.reference[h]+a.reference[k]-v.mainAxis;m<S?m=S:m>C&&(m=C)}if(c){var y,x;const k=h==="y"?"width":"height",S=_4e.has(Xh(i)),C=a.reference[f]-a.floating[k]+(S&&((y=o.offset)==null?void 0:y[f])||0)+(S?0:v.crossAxis),N=a.reference[f]+a.reference[k]+(S?0:((x=o.offset)==null?void 0:x[f])||0)-(S?v.crossAxis:0);A<C?A=C:A>N&&(A=N)}return{[h]:m,[f]:A}}}},Pvt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:o,elements:s}=t,{apply:l=()=>{},...c}=Dp(e,t),u=await aE(t,c),f=Xh(i),h=dC(i),m=Rh(i)==="y",{width:A,height:p}=a.floating;let v,y;f==="top"||f==="bottom"?(v=f,y=h===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(y=f,v=h==="end"?"top":"bottom");const x=p-u.top-u.bottom,k=A-u.left-u.right,S=Yh(p-u[v],x),C=Yh(A-u[y],k),N=!t.middlewareData.shift;let E=S,D=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=k),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=x),N&&!h){const P=pc(u.left,0),O=pc(u.right,0),B=pc(u.top,0),M=pc(u.bottom,0);m?D=A-2*(P!==0||O!==0?P+O:pc(u.left,u.right)):E=p-2*(B!==0||M!==0?B+M:pc(u.top,u.bottom))}await l({...t,availableWidth:D,availableHeight:E});const T=await o.getDimensions(s.floating);return A!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function J$(){return typeof window<"u"}function fC(e){return N4e(e)?(e.nodeName||"").toLowerCase():"#document"}function Od(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qp(e){var t;return(t=(N4e(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function N4e(e){return J$()?e instanceof Node||e instanceof Od(e).Node:!1}function Zh(e){return J$()?e instanceof Element||e instanceof Od(e).Element:!1}function Tp(e){return J$()?e instanceof HTMLElement||e instanceof Od(e).HTMLElement:!1}function Vme(e){return!J$()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Od(e).ShadowRoot}const Mvt=new Set(["inline","contents"]);function eD(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Jh(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Mvt.has(i)}const Rvt=new Set(["table","td","th"]);function $vt(e){return Rvt.has(fC(e))}const Lvt=[":popover-open",":modal"];function e3(e){return Lvt.some(t=>{try{return e.matches(t)}catch{return!1}})}const Uvt=["transform","translate","scale","rotate","perspective"],zvt=["transform","translate","scale","rotate","perspective","filter"],Hvt=["paint","layout","strict","content"];function Gte(e){const t=Wte(),n=Zh(e)?Jh(e):e;return Uvt.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||zvt.some(r=>(n.willChange||"").includes(r))||Hvt.some(r=>(n.contain||"").includes(r))}function Vvt(e){let t=yy(e);for(;Tp(t)&&!tS(t);){if(Gte(t))return t;if(e3(t))return null;t=yy(t)}return null}function Wte(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qvt=new Set(["html","body","#document"]);function tS(e){return Qvt.has(fC(e))}function Jh(e){return Od(e).getComputedStyle(e)}function t3(e){return Zh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yy(e){if(fC(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Vme(e)&&e.host||Qp(e);return Vme(t)?t.host:t}function E4e(e){const t=yy(e);return tS(t)?e.ownerDocument?e.ownerDocument.body:e.body:Tp(t)&&eD(t)?t:E4e(t)}function lg(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=E4e(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=Od(i);if(a){const s=TY(o);return t.concat(o,o.visualViewport||[],eD(i)?i:[],s&&n?lg(s):[])}return t.concat(i,lg(i,[],n))}function TY(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function F4e(e){const t=Jh(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Tp(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=pP(n)!==a||pP(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Kte(e){return Zh(e)?e:e.contextElement}function Sk(e){const t=Kte(e);if(!Tp(t))return bp(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=F4e(t);let o=(a?pP(n.width):n.width)/r,s=(a?pP(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const qvt=bp(0);function D4e(e){const t=Od(e);return!Wte()||!t.visualViewport?qvt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Gvt(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Od(e)?!1:t}function ix(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Kte(e);let o=bp(1);t&&(r?Zh(r)&&(o=Sk(r)):o=Sk(e));const s=Gvt(a,n,r)?D4e(a):bp(0);let l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,u=i.width/o.x,f=i.height/o.y;if(a){const h=Od(a),m=r&&Zh(r)?Od(r):r;let A=h,p=TY(A);for(;p&&r&&m!==A;){const v=Sk(p),y=p.getBoundingClientRect(),x=Jh(p),k=y.left+(p.clientLeft+parseFloat(x.paddingLeft))*v.x,S=y.top+(p.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,f*=v.y,l+=k,c+=S,A=Od(p),p=TY(A)}}return eS({width:u,height:f,x:l,y:c})}function n3(e,t){const n=t3(e).scrollLeft;return t?t.left+n:ix(Qp(e)).left+n}function T4e(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-n3(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function Wvt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=Qp(r),s=t?e3(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=bp(1);const u=bp(0),f=Tp(r);if((f||!f&&!a)&&((fC(r)!=="body"||eD(o))&&(l=t3(r)),Tp(r))){const m=ix(r);c=Sk(r),u.x=m.x+r.clientLeft,u.y=m.y+r.clientTop}const h=o&&!f&&!a?T4e(o,l):bp(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function Kvt(e){return Array.from(e.getClientRects())}function Yvt(e){const t=Qp(e),n=t3(e),r=e.ownerDocument.body,i=pc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+n3(e);const s=-n.scrollTop;return Jh(r).direction==="rtl"&&(o+=pc(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}const Qme=25;function Xvt(e,t){const n=Od(e),r=Qp(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const u=Wte();(!u||u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}const c=n3(r);if(c<=0){const u=r.ownerDocument,f=u.body,h=getComputedStyle(f),m=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,A=Math.abs(r.clientWidth-f.clientWidth-m);A<=Qme&&(a-=A)}else c<=Qme&&(a+=c);return{width:a,height:o,x:s,y:l}}const Zvt=new Set(["absolute","fixed"]);function Jvt(e,t){const n=ix(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Tp(e)?Sk(e):bp(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,l=i*a.x,c=r*a.y;return{width:o,height:s,x:l,y:c}}function qme(e,t,n){let r;if(t==="viewport")r=Xvt(e,n);else if(t==="document")r=Yvt(Qp(e));else if(Zh(t))r=Jvt(t,n);else{const i=D4e(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return eS(r)}function O4e(e,t){const n=yy(e);return n===t||!Zh(n)||tS(n)?!1:Jh(n).position==="fixed"||O4e(n,t)}function eyt(e,t){const n=t.get(e);if(n)return n;let r=lg(e,[],!1).filter(s=>Zh(s)&&fC(s)!=="body"),i=null;const a=Jh(e).position==="fixed";let o=a?yy(e):e;for(;Zh(o)&&!tS(o);){const s=Jh(o),l=Gte(o);!l&&s.position==="fixed"&&(i=null),(a?!l&&!i:!l&&s.position==="static"&&!!i&&Zvt.has(i.position)||eD(o)&&!l&&O4e(e,o))?r=r.filter(u=>u!==o):i=s,o=yy(o)}return t.set(e,r),r}function tyt(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?e3(t)?[]:eyt(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((c,u)=>{const f=qme(t,u,i);return c.top=pc(f.top,c.top),c.right=Yh(f.right,c.right),c.bottom=Yh(f.bottom,c.bottom),c.left=pc(f.left,c.left),c},qme(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function nyt(e){const{width:t,height:n}=F4e(e);return{width:t,height:n}}function ryt(e,t,n){const r=Tp(t),i=Qp(t),a=n==="fixed",o=ix(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=bp(0);function c(){l.x=n3(i)}if(r||!r&&!a)if((fC(t)!=="body"||eD(i))&&(s=t3(t)),r){const m=ix(t,!0,a,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&c();a&&!r&&i&&c();const u=i&&!r&&!a?T4e(i,s):bp(0),f=o.left+s.scrollLeft-l.x-u.x,h=o.top+s.scrollTop-l.y-u.y;return{x:f,y:h,width:o.width,height:o.height}}function xz(e){return Jh(e).position==="static"}function Gme(e,t){if(!Tp(e)||Jh(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qp(e)===n&&(n=n.ownerDocument.body),n}function B4e(e,t){const n=Od(e);if(e3(e))return n;if(!Tp(e)){let i=yy(e);for(;i&&!tS(i);){if(Zh(i)&&!xz(i))return i;i=yy(i)}return n}let r=Gme(e,t);for(;r&&$vt(r)&&xz(r);)r=Gme(r,t);return r&&tS(r)&&xz(r)&&!Gte(r)?n:r||Vvt(e)||n}const iyt=async function(e){const t=this.getOffsetParent||B4e,n=this.getDimensions,r=await n(e.floating);return{reference:ryt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ayt(e){return Jh(e).direction==="rtl"}const oyt={convertOffsetParentRelativeRectToViewportRelativeRect:Wvt,getDocumentElement:Qp,getClippingRect:tyt,getOffsetParent:B4e,getElementRects:iyt,getClientRects:Kvt,getDimensions:nyt,getScale:Sk,isElement:Zh,isRTL:ayt};function j4e(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function syt(e,t){let n=null,r;const i=Qp(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const c=e.getBoundingClientRect(),{left:u,top:f,width:h,height:m}=c;if(s||t(),!h||!m)return;const A=GO(f),p=GO(i.clientWidth-(u+h)),v=GO(i.clientHeight-(f+m)),y=GO(u),k={rootMargin:-A+"px "+-p+"px "+-v+"px "+-y+"px",threshold:pc(0,Yh(1,l))||1};let S=!0;function C(N){const E=N[0].intersectionRatio;if(E!==l){if(!S)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!j4e(c,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,k)}n.observe(e)}return o(!0),a}function I4e(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Kte(e),u=i||a?[...c?lg(c):[],...lg(t)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const f=c&&s?syt(c,n):null;let h=-1,m=null;o&&(m=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var k;(k=m)==null||k.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let A,p=l?ix(e):null;l&&v();function v(){const y=ix(e);p&&!j4e(p,y)&&n(),p=y,A=requestAnimationFrame(v)}return n(),()=>{var y;u.forEach(x=>{i&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),f?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(A)}}const Yte=Bvt,r3=jvt,Xte=Evt,P4e=Pvt,lyt=Fvt,gP=Nvt,M4e=Tvt,R4e=Ivt,$4e=(e,t,n)=>{const r=new Map,i={platform:oyt,...n},a={...i.platform,_c:r};return _vt(e,t,{...i,platform:a})},L4e=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?gP({element:t.current,padding:n}).fn(i):{}:t?gP({element:t,padding:n}).fn(i):{}}}};var Mj=typeof document<"u"?w.useLayoutEffect:w.useEffect;function vP(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!vP(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!vP(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Wme(e){const t=w.useRef(e);return Mj(()=>{t.current=e}),t}function cyt(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,whileElementsMounted:a,open:o}=e,[s,l]=w.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[c,u]=w.useState(r);vP(c,r)||u(r);const f=w.useRef(null),h=w.useRef(null),m=w.useRef(s),A=Wme(a),p=Wme(i),[v,y]=w.useState(null),[x,k]=w.useState(null),S=w.useCallback(P=>{f.current!==P&&(f.current=P,y(P))},[]),C=w.useCallback(P=>{h.current!==P&&(h.current=P,k(P))},[]),N=w.useCallback(()=>{if(!f.current||!h.current)return;const P={placement:t,strategy:n,middleware:c};p.current&&(P.platform=p.current),$4e(f.current,h.current,P).then(O=>{const B={...O,isPositioned:!0};E.current&&!vP(m.current,B)&&(m.current=B,Gf.flushSync(()=>{l(B)}))})},[c,t,n,p]);Mj(()=>{o===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,l(P=>({...P,isPositioned:!1})))},[o]);const E=w.useRef(!1);Mj(()=>(E.current=!0,()=>{E.current=!1}),[]),Mj(()=>{if(v&&x){if(A.current)return A.current(v,x,N);N()}},[v,x,N,A]);const D=w.useMemo(()=>({reference:f,floating:h,setReference:S,setFloating:C}),[S,C]),T=w.useMemo(()=>({reference:v,floating:x}),[v,x]);return w.useMemo(()=>({...s,update:N,refs:D,elements:T,reference:S,floating:C}),[s,N,D,T,S,C])}var nS=typeof document<"u"?w.useLayoutEffect:w.useEffect;let wz=!1,uyt=0;const Kme=()=>"floating-ui-"+uyt++;function dyt(){const[e,t]=w.useState(()=>wz?Kme():void 0);return nS(()=>{e==null&&t(Kme())},[]),w.useEffect(()=>{wz||(wz=!0)},[]),e}const fyt=nx.useId,Yme=fyt||dyt;function hyt(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(r=>r!==n))}}}const myt=w.createContext(null),pyt=w.createContext(null),U4e=()=>{var e;return((e=w.useContext(myt))==null?void 0:e.id)||null},Zte=()=>w.useContext(pyt);function Kv(e){return e?.ownerDocument||document}function Ayt(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function gyt(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Jte(e){return Kv(e).defaultView||window}function fp(e){return e?e instanceof Jte(e).Element:!1}function z4e(e){return e?e instanceof Jte(e).HTMLElement:!1}function vyt(e){if(typeof ShadowRoot>"u")return!1;const t=Jte(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yyt(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(Ayt())||t.test(gyt()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function byt(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function H4e(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Xme(e){const t=w.useRef(e);return nS(()=>{t.current=e}),t}const Zme="data-floating-ui-safe-polygon";function Rj(e,t,n){return n&&!H4e(n)?0:typeof e=="number"?e:e?.[t]}const xyt=function(e,t){let{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:a=!1,restMs:o=0,move:s=!0}=t===void 0?{}:t;const{open:l,onOpenChange:c,dataRef:u,events:f,elements:{domReference:h,floating:m},refs:A}=e,p=Zte(),v=U4e(),y=Xme(i),x=Xme(r),k=w.useRef(),S=w.useRef(),C=w.useRef(),N=w.useRef(),E=w.useRef(!0),D=w.useRef(!1),T=w.useRef(()=>{}),P=w.useCallback(()=>{var $;const U=($=u.current.openEvent)==null?void 0:$.type;return U?.includes("mouse")&&U!=="mousedown"},[u]);w.useEffect(()=>{if(!n)return;function $(){clearTimeout(S.current),clearTimeout(N.current),E.current=!0}return f.on("dismiss",$),()=>{f.off("dismiss",$)}},[n,f]),w.useEffect(()=>{if(!n||!y.current||!l)return;function $(){P()&&c(!1)}const U=Kv(m).documentElement;return U.addEventListener("mouseleave",$),()=>{U.removeEventListener("mouseleave",$)}},[m,l,c,n,y,u,P]);const O=w.useCallback(function($){$===void 0&&($=!0);const U=Rj(x.current,"close",k.current);U&&!C.current?(clearTimeout(S.current),S.current=setTimeout(()=>c(!1),U)):$&&(clearTimeout(S.current),c(!1))},[x,c]),B=w.useCallback(()=>{T.current(),C.current=void 0},[]),M=w.useCallback(()=>{if(D.current){const $=Kv(A.floating.current).body;$.style.pointerEvents="",$.removeAttribute(Zme),D.current=!1}},[A]);return w.useEffect(()=>{if(!n)return;function $(){return u.current.openEvent?["click","mousedown"].includes(u.current.openEvent.type):!1}function U(G){if(clearTimeout(S.current),E.current=!1,a&&!H4e(k.current)||o>0&&Rj(x.current,"open")===0)return;u.current.openEvent=G;const X=Rj(x.current,"open",k.current);X?S.current=setTimeout(()=>{c(!0)},X):c(!0)}function I(G){if($())return;T.current();const X=Kv(m);if(clearTimeout(N.current),y.current){l||clearTimeout(S.current),C.current=y.current({...e,tree:p,x:G.clientX,y:G.clientY,onClose(){M(),B(),O()}});const he=C.current;X.addEventListener("mousemove",he),T.current=()=>{X.removeEventListener("mousemove",he)};return}O()}function Q(G){$()||y.current==null||y.current({...e,tree:p,x:G.clientX,y:G.clientY,onClose(){M(),B(),O()}})(G)}if(fp(h)){const G=h;return l&&G.addEventListener("mouseleave",Q),m?.addEventListener("mouseleave",Q),s&&G.addEventListener("mousemove",U,{once:!0}),G.addEventListener("mouseenter",U),G.addEventListener("mouseleave",I),()=>{l&&G.removeEventListener("mouseleave",Q),m?.removeEventListener("mouseleave",Q),s&&G.removeEventListener("mousemove",U),G.removeEventListener("mouseenter",U),G.removeEventListener("mouseleave",I)}}},[h,m,n,e,a,o,s,O,B,M,c,l,p,x,y,u]),nS(()=>{var $;if(n&&l&&($=y.current)!=null&&$.__options.blockPointerEvents&&P()){const Q=Kv(m).body;if(Q.setAttribute(Zme,""),Q.style.pointerEvents="none",D.current=!0,fp(h)&&m){var U,I;const G=h,X=p==null||(U=p.nodesRef.current.find(he=>he.id===v))==null||(I=U.context)==null?void 0:I.elements.floating;return X&&(X.style.pointerEvents=""),G.style.pointerEvents="auto",m.style.pointerEvents="auto",()=>{G.style.pointerEvents="",m.style.pointerEvents=""}}}},[n,l,v,m,h,p,y,u,P]),nS(()=>{l||(k.current=void 0,B(),M())},[l,B,M]),w.useEffect(()=>()=>{B(),clearTimeout(S.current),clearTimeout(N.current),M()},[n,B,M]),w.useMemo(()=>{if(!n)return{};function $(U){k.current=U.pointerType}return{reference:{onPointerDown:$,onPointerEnter:$,onMouseMove(){l||o===0||(clearTimeout(N.current),N.current=setTimeout(()=>{E.current||c(!0)},o))}},floating:{onMouseEnter(){clearTimeout(S.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),O(!1)}}}},[f,n,o,l,c,O])},V4e=w.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),Q4e=()=>w.useContext(V4e),wyt=e=>{let{children:t,delay:n,timeoutMs:r=0}=e;const[i,a]=w.useReducer((l,c)=>({...l,...c}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),o=w.useRef(null),s=w.useCallback(l=>{a({currentId:l})},[]);return nS(()=>{i.currentId?o.current===null?o.current=i.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),o.current=null)},[i.currentId]),w.createElement(V4e.Provider,{value:w.useMemo(()=>({...i,setState:a,setCurrentId:s}),[i,a,s])},t)},kyt=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:i}=t;const{currentId:a,setCurrentId:o,initialDelay:s,setState:l,timeoutMs:c}=Q4e();w.useEffect(()=>{a&&(l({delay:{open:1,close:Rj(s,"close")}}),a!==i&&r(!1))},[i,r,l,a,s]),w.useEffect(()=>{function u(){r(!1),l({delay:s,currentId:null})}if(!n&&a===i)if(c){const f=window.setTimeout(u,c);return()=>{clearTimeout(f)}}else u()},[n,l,a,i,r,s,c]),w.useEffect(()=>{n&&o(i)},[n,o,i])};function Syt(e){let t=e.activeElement;for(;((n=t)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}function Jme(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vyt(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function kz(e,t){let n=e.filter(i=>{var a;return i.parentId===t&&((a=i.context)==null?void 0:a.open)})||[],r=n;for(;r.length;)r=e.filter(i=>{var a;return(a=r)==null?void 0:a.some(o=>{var s;return i.parentId===o.id&&((s=i.context)==null?void 0:s.open)})})||[],n=n.concat(r);return n}function Cyt(e){return"composedPath"in e?e.composedPath()[0]:e.target}const _yt=nx.useInsertionEffect,Nyt=_yt||(e=>e());function q4e(e){const t=w.useRef(()=>{});return Nyt(()=>{t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function $j(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}const Eyt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Fyt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Dyt=function(e){var t,n;return e===void 0&&(e=!0),{escapeKeyBubbles:typeof e=="boolean"?e:(t=e.escapeKey)!=null?t:!0,outsidePressBubbles:typeof e=="boolean"?e:(n=e.outsidePress)!=null?n:!0}},Tyt=function(e,t){let{open:n,onOpenChange:r,events:i,nodeId:a,elements:{reference:o,domReference:s,floating:l},dataRef:c}=e,{enabled:u=!0,escapeKey:f=!0,outsidePress:h=!0,outsidePressEvent:m="pointerdown",referencePress:A=!1,referencePressEvent:p="pointerdown",ancestorScroll:v=!1,bubbles:y=!0}=t===void 0?{}:t;const x=Zte(),k=U4e()!=null,S=q4e(typeof h=="function"?h:()=>!1),C=typeof h=="function"?S:h,N=w.useRef(!1),{escapeKeyBubbles:E,outsidePressBubbles:D}=Dyt(y);return w.useEffect(()=>{if(!n||!u)return;c.current.__escapeKeyBubbles=E,c.current.__outsidePressBubbles=D;function T($){if($.key==="Escape"){const U=x?kz(x.nodesRef.current,a):[];if(U.length>0){let I=!0;if(U.forEach(Q=>{var G;if((G=Q.context)!=null&&G.open&&!Q.context.dataRef.current.__escapeKeyBubbles){I=!1;return}}),!I)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}}function P($){const U=N.current;if(N.current=!1,U||typeof C=="function"&&!C($))return;const I=Cyt($);if(z4e(I)&&l){const X=l.ownerDocument.defaultView||window,he=I.scrollWidth>I.clientWidth,ne=I.scrollHeight>I.clientHeight;let H=ne&&$.offsetX>I.clientWidth;if(ne&&X.getComputedStyle(I).direction==="rtl"&&(H=$.offsetX<=I.offsetWidth-I.clientWidth),H||he&&$.offsetY>I.clientHeight)return}const Q=x&&kz(x.nodesRef.current,a).some(X=>{var he;return $j($,(he=X.context)==null?void 0:he.elements.floating)});if($j($,l)||$j($,s)||Q)return;const G=x?kz(x.nodesRef.current,a):[];if(G.length>0){let X=!0;if(G.forEach(he=>{var ne;if((ne=he.context)!=null&&ne.open&&!he.context.dataRef.current.__outsidePressBubbles){X=!1;return}}),!X)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:k?{preventScroll:!0}:yyt($)||byt($)}}),r(!1)}function O(){r(!1)}const B=Kv(l);f&&B.addEventListener("keydown",T),C&&B.addEventListener(m,P);let M=[];return v&&(fp(s)&&(M=lg(s)),fp(l)&&(M=M.concat(lg(l))),!fp(o)&&o&&o.contextElement&&(M=M.concat(lg(o.contextElement)))),M=M.filter($=>{var U;return $!==((U=B.defaultView)==null?void 0:U.visualViewport)}),M.forEach($=>{$.addEventListener("scroll",O,{passive:!0})}),()=>{f&&B.removeEventListener("keydown",T),C&&B.removeEventListener(m,P),M.forEach($=>{$.removeEventListener("scroll",O)})}},[c,l,s,o,f,C,m,i,x,a,n,r,v,u,E,D,k]),w.useEffect(()=>{N.current=!1},[C,m]),w.useMemo(()=>u?{reference:{[Eyt[p]]:()=>{A&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{[Fyt[m]]:()=>{N.current=!0}}}:{},[u,i,A,m,p,r])},Oyt=function(e,t){let{open:n,onOpenChange:r,dataRef:i,events:a,refs:o,elements:{floating:s,domReference:l}}=e,{enabled:c=!0,keyboardOnly:u=!0}=t===void 0?{}:t;const f=w.useRef(""),h=w.useRef(!1),m=w.useRef();return w.useEffect(()=>{if(!c)return;const p=Kv(s).defaultView||window;function v(){!n&&z4e(l)&&l===Syt(Kv(l))&&(h.current=!0)}return p.addEventListener("blur",v),()=>{p.removeEventListener("blur",v)}},[s,l,n,c]),w.useEffect(()=>{if(!c)return;function A(p){(p.type==="referencePress"||p.type==="escapeKey")&&(h.current=!0)}return a.on("dismiss",A),()=>{a.off("dismiss",A)}},[a,c]),w.useEffect(()=>()=>{clearTimeout(m.current)},[]),w.useMemo(()=>c?{reference:{onPointerDown(A){let{pointerType:p}=A;f.current=p,h.current=!!(p&&u)},onMouseLeave(){h.current=!1},onFocus(A){var p;h.current||A.type==="focus"&&((p=i.current.openEvent)==null?void 0:p.type)==="mousedown"&&i.current.openEvent&&$j(i.current.openEvent,l)||(i.current.openEvent=A.nativeEvent,r(!0))},onBlur(A){h.current=!1;const p=A.relatedTarget,v=fp(p)&&p.hasAttribute("data-floating-ui-focus-guard")&&p.getAttribute("data-type")==="outside";m.current=setTimeout(()=>{Jme(o.floating.current,p)||Jme(l,p)||v||r(!1)})}}}:{},[c,u,l,o,i,r])},Byt=function(e,t){let{open:n}=e,{enabled:r=!0,role:i="dialog"}=t===void 0?{}:t;const a=Yme(),o=Yme();return w.useMemo(()=>{const s={id:a,role:i};return r?i==="tooltip"?{reference:{"aria-describedby":n?a:void 0},floating:s}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":i==="alertdialog"?"dialog":i,"aria-controls":n?a:void 0,...i==="listbox"&&{role:"combobox"},...i==="menu"&&{id:o}},floating:{...s,...i==="menu"&&{"aria-labelledby":o}}}:{}},[r,i,n,a,o])};function ene(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:r}=e,i=cyt(e),a=Zte(),o=w.useRef(null),s=w.useRef({}),l=w.useState(()=>hyt())[0],[c,u]=w.useState(null),f=w.useCallback(y=>{const x=fp(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;i.refs.setReference(x)},[i.refs]),h=w.useCallback(y=>{(fp(y)||y===null)&&(o.current=y,u(y)),(fp(i.refs.reference.current)||i.refs.reference.current===null||y!==null&&!fp(y))&&i.refs.setReference(y)},[i.refs]),m=w.useMemo(()=>({...i.refs,setReference:h,setPositionReference:f,domReference:o}),[i.refs,h,f]),A=w.useMemo(()=>({...i.elements,domReference:c}),[i.elements,c]),p=q4e(n),v=w.useMemo(()=>({...i,refs:m,elements:A,dataRef:s,nodeId:r,events:l,open:t,onOpenChange:p}),[i,r,l,t,p,m,A]);return nS(()=>{const y=a?.nodesRef.current.find(x=>x.id===r);y&&(y.context=v)}),w.useMemo(()=>({...i,context:v,refs:m,reference:h,positionReference:f}),[i,m,v,h,f])}function Sz(e,t,n){const r=new Map;return{...n==="floating"&&{tabIndex:-1},...e,...t.map(i=>i?i[n]:null).concat(e).reduce((i,a)=>(a&&Object.entries(a).forEach(o=>{let[s,l]=o;if(s.indexOf("on")===0){if(r.has(s)||r.set(s,[]),typeof l=="function"){var c;(c=r.get(s))==null||c.push(l),i[s]=function(){for(var u,f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];(u=r.get(s))==null||u.forEach(A=>A(...h))}}}else i[s]=l}),i),{})}}const jyt=function(e){e===void 0&&(e=[]);const t=e,n=w.useCallback(a=>Sz(a,e,"reference"),t),r=w.useCallback(a=>Sz(a,e,"floating"),t),i=w.useCallback(a=>Sz(a,e,"item"),e.map(a=>a?.item));return w.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])};function G4e({opened:e,floating:t,position:n,positionDependencies:r}){const[i,a]=w.useState(0);w.useEffect(()=>{if(t.refs.reference.current&&t.refs.floating.current)return I4e(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,i,n]),ql(()=>{t.update()},r),ql(()=>{a(o=>o+1)},[e])}function Iyt(e,t){const n=[Yte(e.offset)];return e.middlewares.shift&&n.push(r3({limiter:R4e()})),e.middlewares.flip&&n.push(Xte()),e.middlewares.inline&&n.push(M4e()),n.push(L4e({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares.size||e.width==="target")&&n.push(P4e({apply({rects:r,availableWidth:i,availableHeight:a}){var o,s;const c=(s=(o=t().refs.floating.current)==null?void 0:o.style)!=null?s:{};e.middlewares.size&&Object.assign(c,{maxWidth:`${i}px`,maxHeight:`${a}px`}),e.width==="target"&&Object.assign(c,{width:`${r.reference.width}px`})}})),n}function Pyt(e){const[t,n]=Kc({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=()=>{var o;(o=e.onClose)==null||o.call(e),n(!1)},i=()=>{var o,s;t?((o=e.onClose)==null||o.call(e),n(!1)):((s=e.onOpen)==null||s.call(e),n(!0))},a=ene({placement:e.position,middleware:Iyt(e,()=>a)});return G4e({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies,floating:a}),ql(()=>{var o;(o=e.onPositionChange)==null||o.call(e,a.placement)},[a.placement]),ql(()=>{var o,s;e.opened?(s=e.onOpen)==null||s.call(e):(o=e.onClose)==null||o.call(e)},[e.opened]),{floating:a,controlled:typeof e.opened=="boolean",opened:t,onClose:r,onToggle:i}}const W4e={context:"Popover component was not found in the tree",children:"Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[Myt,K4e]=Wf(W4e.context);var Ryt=Object.defineProperty,$yt=Object.defineProperties,Lyt=Object.getOwnPropertyDescriptors,yP=Object.getOwnPropertySymbols,Y4e=Object.prototype.hasOwnProperty,X4e=Object.prototype.propertyIsEnumerable,epe=(e,t,n)=>t in e?Ryt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WO=(e,t)=>{for(var n in t||(t={}))Y4e.call(t,n)&&epe(e,n,t[n]);if(yP)for(var n of yP(t))X4e.call(t,n)&&epe(e,n,t[n]);return e},Uyt=(e,t)=>$yt(e,Lyt(t)),zyt=(e,t)=>{var n={};for(var r in e)Y4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&yP)for(var r of yP(e))t.indexOf(r)<0&&X4e.call(e,r)&&(n[r]=e[r]);return n};const Hyt={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},Z4e=w.forwardRef((e,t)=>{const n=Qt("PopoverTarget",Hyt,e),{children:r,refProp:i,popupType:a,shouldOverrideDefaultTargetId:o}=n,s=zyt(n,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!aC(r))throw new Error(W4e.children);const l=s,c=K4e(),u=Vp(c.reference,r.ref,t),f=c.withRoles?{"aria-haspopup":a,"aria-expanded":c.opened,"aria-controls":c.getDropdownId(),id:o?c.getTargetId():r.props.id}:{};return w.cloneElement(r,WO(Uyt(WO(WO(WO({},l),f),c.targetProps),{className:DIe(c.targetProps.className,l.className,r.props.className),[i]:u}),c.controlled?null:{onClick:c.onToggle}))});Z4e.displayName="@mantine/core/PopoverTarget";var Vyt=ln((e,{radius:t,shadow:n})=>({dropdown:{position:"absolute",backgroundColor:e.white,background:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`,padding:`${e.spacing.sm} ${e.spacing.md}`,boxShadow:e.shadows[n]||n||"none",borderRadius:e.fn.radius(t),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`,zIndex:1}})),Qyt=Object.defineProperty,tpe=Object.getOwnPropertySymbols,qyt=Object.prototype.hasOwnProperty,Gyt=Object.prototype.propertyIsEnumerable,npe=(e,t,n)=>t in e?Qyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sw=(e,t)=>{for(var n in t||(t={}))qyt.call(t,n)&&npe(e,n,t[n]);if(tpe)for(var n of tpe(t))Gyt.call(t,n)&&npe(e,n,t[n]);return e};const rpe={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function Wyt({transition:e,state:t,duration:n,timingFunction:r}){const i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return typeof e=="string"?e in IO?sw(sw(sw({transitionProperty:IO[e].transitionProperty},i),IO[e].common),IO[e][rpe[t]]):null:sw(sw(sw({transitionProperty:e.transitionProperty},i),e.common),e[rpe[t]])}function Kyt({duration:e,exitDuration:t,timingFunction:n,mounted:r,onEnter:i,onExit:a,onEntered:o,onExited:s}){const l=Hu(),c=q$(),u=l.respectReducedMotion?c:!1,[f,h]=w.useState(u?0:e),[m,A]=w.useState(r?"entered":"exited"),p=w.useRef(-1),v=y=>{const x=y?i:a,k=y?o:s;A(y?"pre-entering":"pre-exiting"),window.clearTimeout(p.current);const S=u?0:y?e:t;if(h(S),S===0)typeof x=="function"&&x(),typeof k=="function"&&k(),A(y?"entered":"exited");else{const C=window.setTimeout(()=>{typeof x=="function"&&x(),A(y?"entering":"exiting")},10);p.current=window.setTimeout(()=>{window.clearTimeout(C),typeof k=="function"&&k(),A(y?"entered":"exited")},S)}};return ql(()=>{v(r)},[r]),w.useEffect(()=>()=>window.clearTimeout(p.current),[]),{transitionDuration:f,transitionStatus:m,transitionTimingFunction:n||l.transitionTimingFunction}}function hC({keepMounted:e,transition:t,duration:n=250,exitDuration:r=n,mounted:i,children:a,timingFunction:o,onExit:s,onEntered:l,onEnter:c,onExited:u}){const{transitionDuration:f,transitionStatus:h,transitionTimingFunction:m}=Kyt({mounted:i,exitDuration:r,duration:n,timingFunction:o,onExit:s,onEntered:l,onEnter:c,onExited:u});return f===0?i?L.createElement(L.Fragment,null,a({})):e?a({display:"none"}):null:h==="exited"?e?a({display:"none"}):null:L.createElement(L.Fragment,null,a(Wyt({transition:t,duration:f,state:h,timingFunction:m})))}hC.displayName="@mantine/core/Transition";function tne({children:e,active:t=!0,refProp:n="ref"}){const r=pmt(t),i=Vp(r,e?.ref);return aC(e)?w.cloneElement(e,{[n]:i}):e}tne.displayName="@mantine/core/FocusTrap";var Yyt=Object.defineProperty,Xyt=Object.defineProperties,Zyt=Object.getOwnPropertyDescriptors,ipe=Object.getOwnPropertySymbols,Jyt=Object.prototype.hasOwnProperty,e0t=Object.prototype.propertyIsEnumerable,ape=(e,t,n)=>t in e?Yyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wv=(e,t)=>{for(var n in t||(t={}))Jyt.call(t,n)&&ape(e,n,t[n]);if(ipe)for(var n of ipe(t))e0t.call(t,n)&&ape(e,n,t[n]);return e},KO=(e,t)=>Xyt(e,Zyt(t));function ope(e,t,n,r){return e==="center"||r==="center"?{top:t}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}function spe(e,t,n,r,i){return e==="center"||r==="center"?{left:t}:e==="end"?{[i==="ltr"?"right":"left"]:n}:e==="start"?{[i==="ltr"?"left":"right"]:n}:{}}const t0t={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function n0t({position:e,arrowSize:t,arrowOffset:n,arrowRadius:r,arrowPosition:i,arrowX:a,arrowY:o,dir:s}){const[l,c="center"]=e.split("-"),u={width:He(t),height:He(t),transform:"rotate(45deg)",position:"absolute",[t0t[l]]:He(r)},f=He(-t/2);return l==="left"?KO(wv(wv({},u),ope(c,o,n,i)),{right:f,borderLeftColor:"transparent",borderBottomColor:"transparent"}):l==="right"?KO(wv(wv({},u),ope(c,o,n,i)),{left:f,borderRightColor:"transparent",borderTopColor:"transparent"}):l==="top"?KO(wv(wv({},u),spe(c,a,n,i,s)),{bottom:f,borderTopColor:"transparent",borderLeftColor:"transparent"}):l==="bottom"?KO(wv(wv({},u),spe(c,a,n,i,s)),{top:f,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var r0t=Object.defineProperty,i0t=Object.defineProperties,a0t=Object.getOwnPropertyDescriptors,bP=Object.getOwnPropertySymbols,J4e=Object.prototype.hasOwnProperty,eMe=Object.prototype.propertyIsEnumerable,lpe=(e,t,n)=>t in e?r0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o0t=(e,t)=>{for(var n in t||(t={}))J4e.call(t,n)&&lpe(e,n,t[n]);if(bP)for(var n of bP(t))eMe.call(t,n)&&lpe(e,n,t[n]);return e},s0t=(e,t)=>i0t(e,a0t(t)),l0t=(e,t)=>{var n={};for(var r in e)J4e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bP)for(var r of bP(e))t.indexOf(r)<0&&eMe.call(e,r)&&(n[r]=e[r]);return n};const nne=w.forwardRef((e,t)=>{var n=e,{position:r,arrowSize:i,arrowOffset:a,arrowRadius:o,arrowPosition:s,visible:l,arrowX:c,arrowY:u}=n,f=l0t(n,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const h=Hu();return l?L.createElement("div",s0t(o0t({},f),{ref:t,style:n0t({position:r,arrowSize:i,arrowOffset:a,arrowRadius:o,arrowPosition:s,dir:h.dir,arrowX:c,arrowY:u})})):null});nne.displayName="@mantine/core/FloatingArrow";var c0t=Object.defineProperty,u0t=Object.defineProperties,d0t=Object.getOwnPropertyDescriptors,xP=Object.getOwnPropertySymbols,tMe=Object.prototype.hasOwnProperty,nMe=Object.prototype.propertyIsEnumerable,cpe=(e,t,n)=>t in e?c0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lw=(e,t)=>{for(var n in t||(t={}))tMe.call(t,n)&&cpe(e,n,t[n]);if(xP)for(var n of xP(t))nMe.call(t,n)&&cpe(e,n,t[n]);return e},YO=(e,t)=>u0t(e,d0t(t)),f0t=(e,t)=>{var n={};for(var r in e)tMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&xP)for(var r of xP(e))t.indexOf(r)<0&&nMe.call(e,r)&&(n[r]=e[r]);return n};const h0t={};function rMe(e){var t;const n=Qt("PopoverDropdown",h0t,e),{style:r,className:i,children:a,onKeyDownCapture:o}=n,s=f0t(n,["style","className","children","onKeyDownCapture"]),l=K4e(),{classes:c,cx:u}=Vyt({radius:l.radius,shadow:l.shadow},{name:l.__staticSelector,classNames:l.classNames,styles:l.styles,unstyled:l.unstyled,variant:l.variant}),f=JIe({opened:l.opened,shouldReturnFocus:l.returnFocus}),h=l.withRoles?{"aria-labelledby":l.getTargetId(),id:l.getDropdownId(),role:"dialog"}:{};return l.disabled?null:L.createElement(uC,YO(lw({},l.portalProps),{withinPortal:l.withinPortal}),L.createElement(hC,YO(lw({mounted:l.opened},l.transitionProps),{transition:l.transitionProps.transition||"fade",duration:(t=l.transitionProps.duration)!=null?t:150,keepMounted:l.keepMounted,exitDuration:typeof l.transitionProps.exitDuration=="number"?l.transitionProps.exitDuration:l.transitionProps.duration}),m=>{var A,p;return L.createElement(tne,{active:l.trapFocus},L.createElement(En,lw(YO(lw({},h),{tabIndex:-1,ref:l.floating,style:YO(lw(lw({},r),m),{zIndex:l.zIndex,top:(A=l.y)!=null?A:0,left:(p=l.x)!=null?p:0,width:l.width==="target"?void 0:He(l.width)}),className:u(c.dropdown,i),onKeyDownCapture:Gdt(l.onClose,{active:l.closeOnEscape,onTrigger:f,onKeyDown:o}),"data-position":l.placement}),s),a,L.createElement(nne,{ref:l.arrowRef,arrowX:l.arrowX,arrowY:l.arrowY,visible:l.withArrow,position:l.placement,arrowSize:l.arrowSize,arrowRadius:l.arrowRadius,arrowOffset:l.arrowOffset,arrowPosition:l.arrowPosition,className:c.arrow})))}))}rMe.displayName="@mantine/core/PopoverDropdown";function iMe(e,t){if(e==="rtl"&&(t.includes("right")||t.includes("left"))){const[n,r]=t.split("-"),i=n==="right"?"left":"right";return r===void 0?i:`${i}-${r}`}return t}var upe=Object.getOwnPropertySymbols,m0t=Object.prototype.hasOwnProperty,p0t=Object.prototype.propertyIsEnumerable,A0t=(e,t)=>{var n={};for(var r in e)m0t.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&upe)for(var r of upe(e))t.indexOf(r)<0&&p0t.call(e,r)&&(n[r]=e[r]);return n};const g0t={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:Hp("popover"),__staticSelector:"Popover",width:"max-content"};function Gc(e){var t,n,r,i,a,o;const s=w.useRef(null),l=Qt("Popover",g0t,e),{children:c,position:u,offset:f,onPositionChange:h,positionDependencies:m,opened:A,transitionProps:p,width:v,middlewares:y,withArrow:x,arrowSize:k,arrowOffset:S,arrowRadius:C,arrowPosition:N,unstyled:E,classNames:D,styles:T,closeOnClickOutside:P,withinPortal:O,portalProps:B,closeOnEscape:M,clickOutsideEvents:$,trapFocus:U,onClose:I,onOpen:Q,onChange:G,zIndex:X,radius:he,shadow:ne,id:H,defaultOpened:W,__staticSelector:q,withRoles:Z,disabled:re,returnFocus:te,variant:ue,keepMounted:fe}=l,ge=A0t(l,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[oe,J]=w.useState(null),[Se,ye]=w.useState(null),xe=Rx(H),pe=Hu(),K=Pyt({middlewares:y,width:v,position:iMe(pe.dir,u),offset:typeof f=="number"?f+(x?k/2:0):f,arrowRef:s,arrowOffset:S,onPositionChange:h,positionDependencies:m,opened:A,defaultOpened:W,onChange:G,onOpen:Q,onClose:I});amt(()=>K.opened&&P&&K.onClose(),$,[oe,Se]);const ie=w.useCallback(ce=>{J(ce),K.floating.reference(ce)},[K.floating.reference]),le=w.useCallback(ce=>{ye(ce),K.floating.floating(ce)},[K.floating.floating]);return L.createElement(Myt,{value:{returnFocus:te,disabled:re,controlled:K.controlled,reference:ie,floating:le,x:K.floating.x,y:K.floating.y,arrowX:(r=(n=(t=K.floating)==null?void 0:t.middlewareData)==null?void 0:n.arrow)==null?void 0:r.x,arrowY:(o=(a=(i=K.floating)==null?void 0:i.middlewareData)==null?void 0:a.arrow)==null?void 0:o.y,opened:K.opened,arrowRef:s,transitionProps:p,width:v,withArrow:x,arrowSize:k,arrowOffset:S,arrowRadius:C,arrowPosition:N,placement:K.floating.placement,trapFocus:U,withinPortal:O,portalProps:B,zIndex:X,radius:he,shadow:ne,closeOnEscape:M,onClose:K.onClose,onToggle:K.onToggle,getTargetId:()=>`${xe}-target`,getDropdownId:()=>`${xe}-dropdown`,withRoles:Z,targetProps:ge,__staticSelector:q,classNames:D,styles:T,unstyled:E,variant:ue,keepMounted:fe}},c)}Gc.Target=Z4e;Gc.Dropdown=rMe;Gc.displayName="@mantine/core/Popover";var v0t=Object.defineProperty,wP=Object.getOwnPropertySymbols,aMe=Object.prototype.hasOwnProperty,oMe=Object.prototype.propertyIsEnumerable,dpe=(e,t,n)=>t in e?v0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y0t=(e,t)=>{for(var n in t||(t={}))aMe.call(t,n)&&dpe(e,n,t[n]);if(wP)for(var n of wP(t))oMe.call(t,n)&&dpe(e,n,t[n]);return e},b0t=(e,t)=>{var n={};for(var r in e)aMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&wP)for(var r of wP(e))t.indexOf(r)<0&&oMe.call(e,r)&&(n[r]=e[r]);return n};function x0t(e){var t=e,{children:n,component:r="div",maxHeight:i=220,direction:a="column",id:o,innerRef:s,__staticSelector:l,styles:c,classNames:u,unstyled:f}=t,h=b0t(t,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:m}=dvt(null,{name:l,styles:c,classNames:u,unstyled:f});return L.createElement(Gc.Dropdown,y0t({p:0,onMouseDown:A=>A.preventDefault()},h),L.createElement("div",{style:{maxHeight:He(i),display:"flex"}},L.createElement(En,{component:r||"div",id:`${o}-items`,"aria-labelledby":`${o}-label`,role:"listbox",onMouseDown:A=>A.preventDefault(),style:{flex:1,overflowY:r!==X$?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:s},L.createElement("div",{className:m.itemsWrapper,style:{flexDirection:a}},n))))}function ly({opened:e,transitionProps:t={transition:"fade",duration:0},shadow:n,withinPortal:r,portalProps:i,children:a,__staticSelector:o,onDirectionChange:s,switchDirectionOnFlip:l,zIndex:c,dropdownPosition:u,positionDependencies:f=[],classNames:h,styles:m,unstyled:A,readOnly:p,variant:v}){return L.createElement(Gc,{unstyled:A,classNames:h,styles:m,width:"target",withRoles:!1,opened:e,middlewares:{flip:u==="flip",shift:!1},position:u==="flip"?"bottom":u,positionDependencies:f,zIndex:c,__staticSelector:o,withinPortal:r,portalProps:i,transitionProps:t,shadow:n,disabled:p,onPositionChange:y=>l&&s?.(y==="top"?"column-reverse":"column"),variant:v},a)}ly.Target=Gc.Target;ly.Dropdown=x0t;var w0t=Object.defineProperty,k0t=Object.defineProperties,S0t=Object.getOwnPropertyDescriptors,kP=Object.getOwnPropertySymbols,sMe=Object.prototype.hasOwnProperty,lMe=Object.prototype.propertyIsEnumerable,fpe=(e,t,n)=>t in e?w0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XO=(e,t)=>{for(var n in t||(t={}))sMe.call(t,n)&&fpe(e,n,t[n]);if(kP)for(var n of kP(t))lMe.call(t,n)&&fpe(e,n,t[n]);return e},C0t=(e,t)=>k0t(e,S0t(t)),_0t=(e,t)=>{var n={};for(var r in e)sMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&kP)for(var r of kP(e))t.indexOf(r)<0&&lMe.call(e,r)&&(n[r]=e[r]);return n};function i3(e,t,n){const r=Qt(e,t,n),{label:i,description:a,error:o,required:s,classNames:l,styles:c,className:u,unstyled:f,__staticSelector:h,sx:m,errorProps:A,labelProps:p,descriptionProps:v,wrapperProps:y,id:x,size:k,style:S,inputContainer:C,inputWrapperOrder:N,withAsterisk:E,variant:D}=r,T=_0t(r,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),P=Rx(x),{systemStyles:O,rest:B}=cC(T),M=XO({label:i,description:a,error:o,required:s,classNames:l,className:u,__staticSelector:h,sx:m,errorProps:A,labelProps:p,descriptionProps:v,unstyled:f,styles:c,id:P,size:k,style:S,inputContainer:C,inputWrapperOrder:N,withAsterisk:E,variant:D},y);return C0t(XO({},B),{classNames:l,styles:c,unstyled:f,wrapperProps:XO(XO({},M),O),inputProps:{required:s,classNames:l,styles:c,unstyled:f,id:P,size:k,__staticSelector:h,error:o,variant:D}})}var N0t=ln((e,t,{size:n})=>({label:{display:"inline-block",fontSize:Tt({size:n,sizes:e.fontSizes}),fontWeight:500,color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:e.fn.variant({variant:"filled",color:"red"}).background}})),E0t=Object.defineProperty,SP=Object.getOwnPropertySymbols,cMe=Object.prototype.hasOwnProperty,uMe=Object.prototype.propertyIsEnumerable,hpe=(e,t,n)=>t in e?E0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F0t=(e,t)=>{for(var n in t||(t={}))cMe.call(t,n)&&hpe(e,n,t[n]);if(SP)for(var n of SP(t))uMe.call(t,n)&&hpe(e,n,t[n]);return e},D0t=(e,t)=>{var n={};for(var r in e)cMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&SP)for(var r of SP(e))t.indexOf(r)<0&&uMe.call(e,r)&&(n[r]=e[r]);return n};const T0t={labelElement:"label",size:"sm"},rne=w.forwardRef((e,t)=>{const n=Qt("InputLabel",T0t,e),{labelElement:r,children:i,required:a,size:o,classNames:s,styles:l,unstyled:c,className:u,htmlFor:f,__staticSelector:h,variant:m,onMouseDown:A}=n,p=D0t(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:v,cx:y}=N0t(null,{name:["InputWrapper",h],classNames:s,styles:l,unstyled:c,variant:m,size:o});return L.createElement(En,F0t({component:r,ref:t,className:y(v.label,u),htmlFor:r==="label"?f:void 0,onMouseDown:x=>{A?.(x),!x.defaultPrevented&&x.detail>1&&x.preventDefault()}},p),i,a&&L.createElement("span",{className:v.required,"aria-hidden":!0}," *"))});rne.displayName="@mantine/core/InputLabel";var O0t=ln((e,t,{size:n})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${Tt({size:n,sizes:e.fontSizes})} - ${He(2)})`,lineHeight:1.2,display:"block"}})),B0t=Object.defineProperty,CP=Object.getOwnPropertySymbols,dMe=Object.prototype.hasOwnProperty,fMe=Object.prototype.propertyIsEnumerable,mpe=(e,t,n)=>t in e?B0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j0t=(e,t)=>{for(var n in t||(t={}))dMe.call(t,n)&&mpe(e,n,t[n]);if(CP)for(var n of CP(t))fMe.call(t,n)&&mpe(e,n,t[n]);return e},I0t=(e,t)=>{var n={};for(var r in e)dMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&CP)for(var r of CP(e))t.indexOf(r)<0&&fMe.call(e,r)&&(n[r]=e[r]);return n};const P0t={size:"sm"},ine=w.forwardRef((e,t)=>{const n=Qt("InputError",P0t,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=I0t(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=O0t(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return L.createElement(Jn,j0t({className:m(h.error,i),ref:t},f),r)});ine.displayName="@mantine/core/InputError";var M0t=ln((e,t,{size:n})=>({description:{wordBreak:"break-word",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontSize:`calc(${Tt({size:n,sizes:e.fontSizes})} - ${He(2)})`,lineHeight:1.2,display:"block"}})),R0t=Object.defineProperty,_P=Object.getOwnPropertySymbols,hMe=Object.prototype.hasOwnProperty,mMe=Object.prototype.propertyIsEnumerable,ppe=(e,t,n)=>t in e?R0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$0t=(e,t)=>{for(var n in t||(t={}))hMe.call(t,n)&&ppe(e,n,t[n]);if(_P)for(var n of _P(t))mMe.call(t,n)&&ppe(e,n,t[n]);return e},L0t=(e,t)=>{var n={};for(var r in e)hMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&_P)for(var r of _P(e))t.indexOf(r)<0&&mMe.call(e,r)&&(n[r]=e[r]);return n};const U0t={size:"sm"},ane=w.forwardRef((e,t)=>{const n=Qt("InputDescription",U0t,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=L0t(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=M0t(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return L.createElement(Jn,$0t({color:"dimmed",className:m(h.description,i),ref:t,unstyled:s},f),r)});ane.displayName="@mantine/core/InputDescription";const pMe=w.createContext({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),z0t=pMe.Provider,H0t=()=>w.useContext(pMe);function V0t(e,{hasDescription:t,hasError:n}){const r=e.findIndex(l=>l==="input"),i=e[r-1],a=e[r+1];return{offsetBottom:t&&a==="description"||n&&a==="error",offsetTop:t&&i==="description"||n&&i==="error"}}var Q0t=Object.defineProperty,q0t=Object.defineProperties,G0t=Object.getOwnPropertyDescriptors,Ape=Object.getOwnPropertySymbols,W0t=Object.prototype.hasOwnProperty,K0t=Object.prototype.propertyIsEnumerable,gpe=(e,t,n)=>t in e?Q0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y0t=(e,t)=>{for(var n in t||(t={}))W0t.call(t,n)&&gpe(e,n,t[n]);if(Ape)for(var n of Ape(t))K0t.call(t,n)&&gpe(e,n,t[n]);return e},X0t=(e,t)=>q0t(e,G0t(t)),Z0t=ln(e=>({root:X0t(Y0t({},e.fn.fontStyles()),{lineHeight:e.lineHeight})})),J0t=Object.defineProperty,ebt=Object.defineProperties,tbt=Object.getOwnPropertyDescriptors,NP=Object.getOwnPropertySymbols,AMe=Object.prototype.hasOwnProperty,gMe=Object.prototype.propertyIsEnumerable,vpe=(e,t,n)=>t in e?J0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kv=(e,t)=>{for(var n in t||(t={}))AMe.call(t,n)&&vpe(e,n,t[n]);if(NP)for(var n of NP(t))gMe.call(t,n)&&vpe(e,n,t[n]);return e},ype=(e,t)=>ebt(e,tbt(t)),nbt=(e,t)=>{var n={};for(var r in e)AMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&NP)for(var r of NP(e))t.indexOf(r)<0&&gMe.call(e,r)&&(n[r]=e[r]);return n};const rbt={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},vMe=w.forwardRef((e,t)=>{const n=Qt("InputWrapper",rbt,e),{className:r,label:i,children:a,required:o,id:s,error:l,description:c,labelElement:u,labelProps:f,descriptionProps:h,errorProps:m,classNames:A,styles:p,size:v,inputContainer:y,__staticSelector:x,unstyled:k,inputWrapperOrder:S,withAsterisk:C,variant:N}=n,E=nbt(n,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:D,cx:T}=Z0t(null,{classNames:A,styles:p,name:["InputWrapper",x],unstyled:k,variant:N,size:v}),P={classNames:A,styles:p,unstyled:k,size:v,variant:N,__staticSelector:x},O=typeof C=="boolean"?C:o,B=s?`${s}-error`:m?.id,M=s?`${s}-description`:h?.id,U=`${!!l&&typeof l!="boolean"?B:""} ${c?M:""}`,I=U.trim().length>0?U.trim():void 0,Q=i&&L.createElement(rne,kv(kv({key:"label",labelElement:u,id:s?`${s}-label`:void 0,htmlFor:s,required:O},P),f),i),G=c&&L.createElement(ane,ype(kv(kv({key:"description"},h),P),{size:h?.size||P.size,id:h?.id||M}),c),X=L.createElement(w.Fragment,{key:"input"},y(a)),he=typeof l!="boolean"&&l&&L.createElement(ine,ype(kv(kv({},m),P),{size:m?.size||P.size,key:"error",id:m?.id||B}),l),ne=S.map(H=>{switch(H){case"label":return Q;case"input":return X;case"description":return G;case"error":return he;default:return null}});return L.createElement(z0t,{value:kv({describedBy:I},V0t(S,{hasDescription:!!G,hasError:!!he}))},L.createElement(En,kv({className:T(D.root,r),ref:t},E),ne))});vMe.displayName="@mantine/core/InputWrapper";var ibt=Object.defineProperty,EP=Object.getOwnPropertySymbols,yMe=Object.prototype.hasOwnProperty,bMe=Object.prototype.propertyIsEnumerable,bpe=(e,t,n)=>t in e?ibt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,abt=(e,t)=>{for(var n in t||(t={}))yMe.call(t,n)&&bpe(e,n,t[n]);if(EP)for(var n of EP(t))bMe.call(t,n)&&bpe(e,n,t[n]);return e},obt=(e,t)=>{var n={};for(var r in e)yMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&EP)for(var r of EP(e))t.indexOf(r)<0&&bMe.call(e,r)&&(n[r]=e[r]);return n};const sbt={},xMe=w.forwardRef((e,t)=>{const n=Qt("InputPlaceholder",sbt,e),{sx:r}=n,i=obt(n,["sx"]);return L.createElement(En,abt({component:"span",sx:[a=>a.fn.placeholderStyles(),...NIe(r)],ref:t},i))});xMe.displayName="@mantine/core/InputPlaceholder";var lbt=Object.defineProperty,cbt=Object.defineProperties,ubt=Object.getOwnPropertyDescriptors,xpe=Object.getOwnPropertySymbols,dbt=Object.prototype.hasOwnProperty,fbt=Object.prototype.propertyIsEnumerable,wpe=(e,t,n)=>t in e?lbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ZO=(e,t)=>{for(var n in t||(t={}))dbt.call(t,n)&&wpe(e,n,t[n]);if(xpe)for(var n of xpe(t))fbt.call(t,n)&&wpe(e,n,t[n]);return e},Cz=(e,t)=>cbt(e,ubt(t));const ku={xs:He(30),sm:He(36),md:He(42),lg:He(50),xl:He(60)},hbt=["default","filled","unstyled"];function mbt({theme:e,variant:t}){return hbt.includes(t)?t==="default"?{border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,transition:"border-color 100ms ease","&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:t==="filled"?{border:`${He(1)} solid transparent`,backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[1],"&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:{borderWidth:0,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:"transparent",minHeight:He(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}var pbt=ln((e,{multiline:t,radius:n,invalid:r,rightSectionWidth:i,withRightSection:a,iconWidth:o,offsetBottom:s,offsetTop:l,pointer:c},{variant:u,size:f})=>{const h=e.fn.variant({variant:"filled",color:"red"}).background,m=u==="default"||u==="filled"?{minHeight:Tt({size:f,sizes:ku}),paddingLeft:`calc(${Tt({size:f,sizes:ku})} / 3)`,paddingRight:a?i||Tt({size:f,sizes:ku}):`calc(${Tt({size:f,sizes:ku})} / 3)`,borderRadius:e.fn.radius(n)}:u==="unstyled"&&a?{paddingRight:i||Tt({size:f,sizes:ku})}:null;return{wrapper:{position:"relative",marginTop:l?`calc(${e.spacing.xs} / 2)`:void 0,marginBottom:s?`calc(${e.spacing.xs} / 2)`:void 0,"&:has(input:disabled)":{"& .mantine-Input-rightSection":{display:"none"}}},input:Cz(ZO(ZO(Cz(ZO({},e.fn.fontStyles()),{height:t?u==="unstyled"?void 0:"auto":Tt({size:f,sizes:ku}),WebkitTapHighlightColor:"transparent",lineHeight:t?e.lineHeight:`calc(${Tt({size:f,sizes:ku})} - ${He(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:Tt({size:f,sizes:e.fontSizes}),width:"100%",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,display:"block",textAlign:"left",cursor:c?"pointer":void 0}),mbt({theme:e,variant:u})),m),{"&:disabled, &[data-disabled]":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed",pointerEvents:"none","&::placeholder":{color:e.colors.dark[2]}},"&[data-invalid]":{color:h,borderColor:h,"&::placeholder":{opacity:1,color:h}},"&[data-with-icon]":{paddingLeft:typeof o=="number"?He(o):Tt({size:f,sizes:ku})},"&::placeholder":Cz(ZO({},e.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:o?He(o):Tt({size:f,sizes:ku}),color:r?e.colors.red[e.colorScheme==="dark"?6:7]:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:i||Tt({size:f,sizes:ku})}}}),Abt=Object.defineProperty,gbt=Object.defineProperties,vbt=Object.getOwnPropertyDescriptors,FP=Object.getOwnPropertySymbols,wMe=Object.prototype.hasOwnProperty,kMe=Object.prototype.propertyIsEnumerable,kpe=(e,t,n)=>t in e?Abt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,JO=(e,t)=>{for(var n in t||(t={}))wMe.call(t,n)&&kpe(e,n,t[n]);if(FP)for(var n of FP(t))kMe.call(t,n)&&kpe(e,n,t[n]);return e},Spe=(e,t)=>gbt(e,vbt(t)),ybt=(e,t)=>{var n={};for(var r in e)wMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&FP)for(var r of FP(e))t.indexOf(r)<0&&kMe.call(e,r)&&(n[r]=e[r]);return n};const bbt={size:"sm",variant:"default"},Lx=w.forwardRef((e,t)=>{const n=Qt("Input",bbt,e),{className:r,error:i,required:a,disabled:o,variant:s,icon:l,style:c,rightSectionWidth:u,iconWidth:f,rightSection:h,rightSectionProps:m,radius:A,size:p,wrapperProps:v,classNames:y,styles:x,__staticSelector:k,multiline:S,sx:C,unstyled:N,pointer:E}=n,D=ybt(n,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:T,offsetTop:P,describedBy:O}=H0t(),{classes:B,cx:M}=pbt({radius:A,multiline:S,invalid:!!i,rightSectionWidth:u?He(u):void 0,iconWidth:f,withRightSection:!!h,offsetBottom:T,offsetTop:P,pointer:E},{classNames:y,styles:x,name:["Input",k],unstyled:N,variant:s,size:p}),{systemStyles:$,rest:U}=cC(D);return L.createElement(En,JO(JO({className:M(B.wrapper,r),sx:C,style:c},$),v),l&&L.createElement("div",{className:B.icon},l),L.createElement(En,Spe(JO({component:"input"},U),{ref:t,required:a,"aria-invalid":!!i,"aria-describedby":O,disabled:o,"data-disabled":o||void 0,"data-with-icon":!!l||void 0,"data-invalid":!!i||void 0,className:B.input})),h&&L.createElement("div",Spe(JO({},m),{className:B.rightSection}),h))});Lx.displayName="@mantine/core/Input";Lx.Wrapper=vMe;Lx.Label=rne;Lx.Description=ane;Lx.Error=ine;Lx.Placeholder=xMe;const Gl=Lx;var xbt=Object.defineProperty,wbt=Object.defineProperties,kbt=Object.getOwnPropertyDescriptors,Cpe=Object.getOwnPropertySymbols,Sbt=Object.prototype.hasOwnProperty,Cbt=Object.prototype.propertyIsEnumerable,_pe=(e,t,n)=>t in e?xbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_z=(e,t)=>{for(var n in t||(t={}))Sbt.call(t,n)&&_pe(e,n,t[n]);if(Cpe)for(var n of Cpe(t))Cbt.call(t,n)&&_pe(e,n,t[n]);return e},_bt=(e,t)=>wbt(e,kbt(t));const Nbt=["light","filled","outline","dot","gradient"],Nz={xs:{fontSize:He(9),height:He(16)},sm:{fontSize:He(10),height:He(18)},md:{fontSize:He(11),height:He(20)},lg:{fontSize:He(13),height:He(26)},xl:{fontSize:He(16),height:He(32)}},Ebt={xs:He(4),sm:He(4),md:He(6),lg:He(8),xl:He(10)};function Fbt({theme:e,variant:t,color:n,size:r,gradient:i}){if(!Nbt.includes(t))return null;if(t==="dot"){const o=Tt({size:r,sizes:Ebt});return{backgroundColor:"transparent",color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[3]}`,paddingLeft:`calc(${Tt({size:r,sizes:e.spacing})} / 1.5 - ${o} / 2)`,"&::before":{content:'""',display:"block",width:o,height:o,borderRadius:o,backgroundColor:e.fn.themeColor(n,e.colorScheme==="dark"?4:e.fn.primaryShade("light"),!0),marginRight:o}}}const a=e.fn.variant({color:n,variant:t,gradient:i});return{background:a.background,color:a.color,border:`${He(t==="gradient"?0:1)} solid ${a.border}`}}var Dbt=ln((e,{color:t,radius:n,gradient:r,fullWidth:i},{variant:a,size:o})=>{const{fontSize:s,height:l}=o in Nz?Nz[o]:Nz.md;return{leftSection:{marginRight:`calc(${e.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${e.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:_z(_bt(_z(_z({},e.fn.focusStyles()),e.fn.fontStyles()),{fontSize:s,height:l,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${l} - ${He(2)})`,textDecoration:"none",padding:`0 calc(${Tt({size:o,sizes:e.spacing})} / 1.5)`,boxSizing:"border-box",display:i?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:i?"100%":"auto",textTransform:"uppercase",borderRadius:e.fn.radius(n),fontWeight:700,letterSpacing:He(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),Fbt({theme:e,variant:a,color:t,size:o,gradient:r}))}}),Tbt=Object.defineProperty,DP=Object.getOwnPropertySymbols,SMe=Object.prototype.hasOwnProperty,CMe=Object.prototype.propertyIsEnumerable,Npe=(e,t,n)=>t in e?Tbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Obt=(e,t)=>{for(var n in t||(t={}))SMe.call(t,n)&&Npe(e,n,t[n]);if(DP)for(var n of DP(t))CMe.call(t,n)&&Npe(e,n,t[n]);return e},Bbt=(e,t)=>{var n={};for(var r in e)SMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&DP)for(var r of DP(e))t.indexOf(r)<0&&CMe.call(e,r)&&(n[r]=e[r]);return n};const jbt={variant:"light",size:"md",radius:"xl"},_Me=w.forwardRef((e,t)=>{const n=Qt("Badge",jbt,e),{className:r,color:i,variant:a,fullWidth:o,children:s,size:l,leftSection:c,rightSection:u,radius:f,gradient:h,classNames:m,styles:A,unstyled:p}=n,v=Bbt(n,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:y,cx:x}=Dbt({fullWidth:o,color:i,radius:f,gradient:h},{classNames:m,styles:A,name:"Badge",unstyled:p,variant:a,size:l});return L.createElement(En,Obt({className:x(y.root,r),ref:t},v),c&&L.createElement("span",{className:y.leftSection},c),L.createElement("span",{className:y.inner},s),u&&L.createElement("span",{className:y.rightSection},u))});_Me.displayName="@mantine/core/Badge";const OY=_Me,Ibt={xs:He(12),sm:He(18),md:He(24),lg:He(34),xl:He(42)};var Pbt=ln((e,{color:t,transitionDuration:n},{size:r})=>{const i=Tt({size:r,sizes:Ibt}),a=t||(e.colorScheme==="dark"?e.white:e.black);return{root:{borderRadius:e.radius.sm,width:`calc(${i} + ${e.spacing.xs})`,height:`calc(${i} + ${e.spacing.xs})`,padding:`calc(${e.spacing.xs} / 2)`,cursor:"pointer"},burger:{position:"relative",userSelect:"none",boxSizing:"border-box","&, &::before, &::after":{display:"block",width:i,height:`calc(${i} / 12)`,backgroundColor:a,outline:`${He(1)} solid transparent`,transitionProperty:"background-color, transform",transitionDuration:`${n}ms`,"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},"&::before, &::after":{position:"absolute",content:'""',left:0},"&::before":{top:`calc((${i} / 3) * -1)`},"&::after":{top:`calc(${i} / 3)`},"&[data-opened]":{backgroundColor:"transparent","&::before":{transform:`translateY(calc(${i} / 3)) rotate(45deg)`},"&::after":{transform:`translateY(calc(-${i} / 3)) rotate(-45deg)`}}}}}),Mbt=Object.defineProperty,TP=Object.getOwnPropertySymbols,NMe=Object.prototype.hasOwnProperty,EMe=Object.prototype.propertyIsEnumerable,Epe=(e,t,n)=>t in e?Mbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rbt=(e,t)=>{for(var n in t||(t={}))NMe.call(t,n)&&Epe(e,n,t[n]);if(TP)for(var n of TP(t))EMe.call(t,n)&&Epe(e,n,t[n]);return e},$bt=(e,t)=>{var n={};for(var r in e)NMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&TP)for(var r of TP(e))t.indexOf(r)<0&&EMe.call(e,r)&&(n[r]=e[r]);return n};const Lbt={size:"md",transitionDuration:300},one=w.forwardRef((e,t)=>{const n=Qt("Burger",Lbt,e),{className:r,opened:i,color:a,size:o,classNames:s,styles:l,transitionDuration:c,variant:u}=n,f=$bt(n,["className","opened","color","size","classNames","styles","transitionDuration","variant"]),{classes:h,cx:m}=Pbt({color:a,transitionDuration:c},{classNames:s,styles:l,name:"Burger",variant:u,size:o});return L.createElement(Td,Rbt({className:m(h.root,r),ref:t},f),L.createElement("div",{"data-opened":i||void 0,className:h.burger}))});one.displayName="@mantine/core/Burger";var Ubt=ln((e,{radius:t,shadow:n})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(t),boxShadow:e.shadows[n]||n||"none","&[data-with-border]":{border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`}}})),zbt=Object.defineProperty,OP=Object.getOwnPropertySymbols,FMe=Object.prototype.hasOwnProperty,DMe=Object.prototype.propertyIsEnumerable,Fpe=(e,t,n)=>t in e?zbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hbt=(e,t)=>{for(var n in t||(t={}))FMe.call(t,n)&&Fpe(e,n,t[n]);if(OP)for(var n of OP(t))DMe.call(t,n)&&Fpe(e,n,t[n]);return e},Vbt=(e,t)=>{var n={};for(var r in e)FMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&OP)for(var r of OP(e))t.indexOf(r)<0&&DMe.call(e,r)&&(n[r]=e[r]);return n};const Qbt={},TMe=w.forwardRef((e,t)=>{const n=Qt("Paper",Qbt,e),{className:r,children:i,radius:a,withBorder:o,shadow:s,unstyled:l,variant:c}=n,u=Vbt(n,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:f,cx:h}=Ubt({radius:a,shadow:s},{name:"Paper",unstyled:l,variant:c});return L.createElement(En,Hbt({className:h(f.root,r),"data-with-border":o||void 0,ref:t},u),i)});TMe.displayName="@mantine/core/Paper";const Ng=TMe,OMe=w.createContext({padding:0}),qbt=OMe.Provider,Gbt=()=>w.useContext(OMe).padding;var Wbt=ln((e,{padding:t,withBorder:n,inheritPadding:r})=>{const i=Tt({size:t,sizes:e.spacing}),a=`calc(-1 * ${i})`,o=e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3];return{cardSection:{display:"block",marginLeft:a,marginRight:a,paddingLeft:r?i:void 0,paddingRight:r?i:void 0,borderTop:n?`${He(1)} solid ${o}`:void 0,borderBottom:n?`${He(1)} solid ${o}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:a,borderTop:0,borderBottom:n?`${He(1)} solid ${o}`:void 0},"&[data-last]":{marginBottom:a,borderBottom:0}}}}),Kbt=Object.defineProperty,BP=Object.getOwnPropertySymbols,BMe=Object.prototype.hasOwnProperty,jMe=Object.prototype.propertyIsEnumerable,Dpe=(e,t,n)=>t in e?Kbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ybt=(e,t)=>{for(var n in t||(t={}))BMe.call(t,n)&&Dpe(e,n,t[n]);if(BP)for(var n of BP(t))jMe.call(t,n)&&Dpe(e,n,t[n]);return e},Xbt=(e,t)=>{var n={};for(var r in e)BMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&BP)for(var r of BP(e))t.indexOf(r)<0&&jMe.call(e,r)&&(n[r]=e[r]);return n};const Zbt={withBorder:!1,inheritPadding:!1},IMe=w.forwardRef((e,t)=>{const n=Qt("CardSection",Zbt,e),{className:r,withBorder:i,inheritPadding:a,unstyled:o,variant:s}=n,l=Xbt(n,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:c,cx:u}=Wbt({padding:Gbt(),withBorder:i,inheritPadding:a},{name:"Card",unstyled:o,variant:s});return L.createElement(En,Ybt({className:u(c.cardSection,r),ref:t},l))});IMe.displayName="@mantine/core/CardSection";const PMe=IMe;var Jbt=ln(e=>({root:{position:"relative",overflow:"hidden",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white}})),ext=Object.defineProperty,jP=Object.getOwnPropertySymbols,MMe=Object.prototype.hasOwnProperty,RMe=Object.prototype.propertyIsEnumerable,Tpe=(e,t,n)=>t in e?ext(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,txt=(e,t)=>{for(var n in t||(t={}))MMe.call(t,n)&&Tpe(e,n,t[n]);if(jP)for(var n of jP(t))RMe.call(t,n)&&Tpe(e,n,t[n]);return e},nxt=(e,t)=>{var n={};for(var r in e)MMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&jP)for(var r of jP(e))t.indexOf(r)<0&&RMe.call(e,r)&&(n[r]=e[r]);return n};const rxt={padding:"md"},sne=w.forwardRef((e,t)=>{const n=Qt("Card",rxt,e),{className:r,padding:i,radius:a,children:o,unstyled:s,variant:l}=n,c=nxt(n,["className","padding","radius","children","unstyled","variant"]),{classes:u,cx:f}=Jbt(null,{name:"Card",unstyled:s,variant:l}),h=w.Children.toArray(o),m=h.map((A,p)=>typeof A=="object"&&A&&"type"in A&&A.type===PMe?w.cloneElement(A,{variant:l,padding:i,"data-first":p===0||void 0,"data-last":p===h.length-1||void 0}):A);return L.createElement(qbt,{value:{padding:i}},L.createElement(Ng,txt({className:f(u.root,r),radius:a,p:i,ref:t},c),m))});sne.Section=PMe;sne.displayName="@mantine/core/Card";const IP=sne,$Me=w.createContext(null),ixt=$Me.Provider,axt=()=>w.useContext($Me);var oxt=Object.defineProperty,PP=Object.getOwnPropertySymbols,LMe=Object.prototype.hasOwnProperty,UMe=Object.prototype.propertyIsEnumerable,Ope=(e,t,n)=>t in e?oxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bpe=(e,t)=>{for(var n in t||(t={}))LMe.call(t,n)&&Ope(e,n,t[n]);if(PP)for(var n of PP(t))UMe.call(t,n)&&Ope(e,n,t[n]);return e},sxt=(e,t)=>{var n={};for(var r in e)LMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&PP)for(var r of PP(e))t.indexOf(r)<0&&UMe.call(e,r)&&(n[r]=e[r]);return n};const lxt={size:"sm"},zMe=w.forwardRef((e,t)=>{const n=Qt("CheckboxGroup",lxt,e),{children:r,value:i,defaultValue:a,onChange:o,size:s,wrapperProps:l}=n,c=sxt(n,["children","value","defaultValue","onChange","size","wrapperProps"]),[u,f]=Kc({value:i,defaultValue:a,finalValue:[],onChange:o}),h=m=>{const A=m.currentTarget.value;f(u.includes(A)?u.filter(p=>p!==A):[...u,A])};return L.createElement(ixt,{value:{value:u,onChange:h,size:s}},L.createElement(Gl.Wrapper,Bpe(Bpe({labelElement:"div",size:s,__staticSelector:"CheckboxGroup",ref:t},l),c),r))});zMe.displayName="@mantine/core/CheckboxGroup";var cxt=Object.defineProperty,MP=Object.getOwnPropertySymbols,HMe=Object.prototype.hasOwnProperty,VMe=Object.prototype.propertyIsEnumerable,jpe=(e,t,n)=>t in e?cxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RP=(e,t)=>{for(var n in t||(t={}))HMe.call(t,n)&&jpe(e,n,t[n]);if(MP)for(var n of MP(t))VMe.call(t,n)&&jpe(e,n,t[n]);return e},QMe=(e,t)=>{var n={};for(var r in e)HMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&MP)for(var r of MP(e))t.indexOf(r)<0&&VMe.call(e,r)&&(n[r]=e[r]);return n};function qMe(e){const t=e,{width:n,height:r,style:i}=t,a=QMe(t,["width","height","style"]);return L.createElement("svg",RP({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:RP({width:n,height:r},i)},a),L.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function uxt(e){var t=e,{indeterminate:n}=t,r=QMe(t,["indeterminate"]);return n?L.createElement("svg",RP({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},r),L.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):L.createElement(qMe,RP({},r))}var dxt=Object.defineProperty,fxt=Object.defineProperties,hxt=Object.getOwnPropertyDescriptors,Ipe=Object.getOwnPropertySymbols,mxt=Object.prototype.hasOwnProperty,pxt=Object.prototype.propertyIsEnumerable,Ppe=(e,t,n)=>t in e?dxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mpe=(e,t)=>{for(var n in t||(t={}))mxt.call(t,n)&&Ppe(e,n,t[n]);if(Ipe)for(var n of Ipe(t))pxt.call(t,n)&&Ppe(e,n,t[n]);return e},Rpe=(e,t)=>fxt(e,hxt(t));const Axt={xs:He(16),sm:He(20),md:He(24),lg:He(30),xl:He(36)};var gxt=ln((e,{radius:t,color:n,transitionDuration:r,labelPosition:i,error:a,indeterminate:o},{size:s})=>{const l=Tt({size:s,sizes:Axt}),c=e.fn.variant({variant:"filled",color:n});return{icon:Rpe(Mpe({},e.fn.cover()),{ref:Rb("icon"),color:o?"inherit":e.white,transform:o?"none":`translateY(${He(5)}) scale(0.5)`,opacity:o?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:`${r}ms`,pointerEvents:"none",width:"60%",position:"absolute",zIndex:1,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}),inner:{position:"relative",width:l,height:l,order:i==="left"?2:1},input:Rpe(Mpe({},e.fn.focusStyles()),{appearance:"none",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${He(1)} solid ${a?e.fn.variant({variant:"filled",color:"red"}).background:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,width:l,height:l,borderRadius:e.fn.radius(t),padding:0,display:"block",margin:0,transition:`border-color ${r}ms ease, background-color ${r}ms ease`,cursor:e.cursorType,"&:checked":{backgroundColor:c.background,borderColor:c.background,[`& + .${Rb("icon")}`]:{opacity:1,color:e.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[3],cursor:"not-allowed",pointerEvents:"none",[`& + .${Rb("icon")}`]:{color:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[5]}}})}}),vxt=Object.defineProperty,yxt=Object.defineProperties,bxt=Object.getOwnPropertyDescriptors,$pe=Object.getOwnPropertySymbols,xxt=Object.prototype.hasOwnProperty,wxt=Object.prototype.propertyIsEnumerable,Lpe=(e,t,n)=>t in e?vxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kxt=(e,t)=>{for(var n in t||(t={}))xxt.call(t,n)&&Lpe(e,n,t[n]);if($pe)for(var n of $pe(t))wxt.call(t,n)&&Lpe(e,n,t[n]);return e},Sxt=(e,t)=>yxt(e,bxt(t));const Ez={xs:He(16),sm:He(20),md:He(24),lg:He(30),xl:He(36)};var Cxt=ln((e,{labelPosition:t},{size:n})=>({root:{},body:{display:"flex","&:has(input:disabled) label":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}},labelWrapper:Sxt(kxt({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:n in Ez?Tt({size:n,sizes:e.fontSizes}):void 0,lineHeight:n in Ez?Tt({size:n,sizes:Ez}):void 0,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,cursor:e.cursorType,order:t==="left"?1:2}),description:{marginTop:`calc(${e.spacing.xs} / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:`calc(${e.spacing.xs} / 2)`,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,[t==="left"?"paddingRight":"paddingLeft"]:e.spacing.sm,"&:disabled, &[data-disabled]":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}}})),_xt=Object.defineProperty,$P=Object.getOwnPropertySymbols,GMe=Object.prototype.hasOwnProperty,WMe=Object.prototype.propertyIsEnumerable,Upe=(e,t,n)=>t in e?_xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nxt=(e,t)=>{for(var n in t||(t={}))GMe.call(t,n)&&Upe(e,n,t[n]);if($P)for(var n of $P(t))WMe.call(t,n)&&Upe(e,n,t[n]);return e},Ext=(e,t)=>{var n={};for(var r in e)GMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$P)for(var r of $P(e))t.indexOf(r)<0&&WMe.call(e,r)&&(n[r]=e[r]);return n};const KMe=w.forwardRef((e,t)=>{var n=e,{__staticSelector:r,className:i,classNames:a,styles:o,unstyled:s,children:l,label:c,description:u,id:f,disabled:h,error:m,size:A,labelPosition:p,bodyElement:v="div",labelElement:y="label",variant:x}=n,k=Ext(n,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant"]);const{classes:S,cx:C}=Cxt({labelPosition:p},{name:r,styles:o,classNames:a,unstyled:s,variant:x,size:A});return L.createElement(En,Nxt({className:C(S.root,i),ref:t},k),L.createElement(En,{component:v,htmlFor:v==="label"?f:void 0,className:C(S.body)},l,L.createElement("div",{className:S.labelWrapper},c!=null&&L.createElement(En,{component:y,htmlFor:y==="label"?f:void 0,className:S.label,"data-disabled":h||void 0},c),u&&L.createElement(Gl.Description,{className:S.description},u),m&&m!=="boolean"&&L.createElement(Gl.Error,{className:S.error},m))))});KMe.displayName="@mantine/core/InlineInput";var Fxt=Object.defineProperty,LP=Object.getOwnPropertySymbols,YMe=Object.prototype.hasOwnProperty,XMe=Object.prototype.propertyIsEnumerable,zpe=(e,t,n)=>t in e?Fxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e5=(e,t)=>{for(var n in t||(t={}))YMe.call(t,n)&&zpe(e,n,t[n]);if(LP)for(var n of LP(t))XMe.call(t,n)&&zpe(e,n,t[n]);return e},Dxt=(e,t)=>{var n={};for(var r in e)YMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&LP)for(var r of LP(e))t.indexOf(r)<0&&XMe.call(e,r)&&(n[r]=e[r]);return n};const Txt={size:"sm",transitionDuration:100,icon:uxt,labelPosition:"right"},a3=w.forwardRef((e,t)=>{const n=Qt("Checkbox",Txt,e),{className:r,style:i,sx:a,checked:o,disabled:s,color:l,label:c,indeterminate:u,id:f,size:h,radius:m,wrapperProps:A,children:p,classNames:v,styles:y,transitionDuration:x,icon:k,unstyled:S,labelPosition:C,description:N,error:E,variant:D}=n,T=Dxt(n,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),P=axt(),O=Rx(f),{systemStyles:B,rest:M}=cC(T),{classes:$}=gxt({radius:m,color:l,transitionDuration:x,labelPosition:C,error:!!E,indeterminate:u},{name:"Checkbox",classNames:v,styles:y,unstyled:S,variant:D,size:P?.size||h}),U=P?{checked:P.value.includes(M.value),onChange:P.onChange}:{};return L.createElement(KMe,e5(e5({className:r,sx:a,style:i,id:O,size:P?.size||h,labelPosition:C,label:c,description:N,error:E,disabled:s,__staticSelector:"Checkbox",classNames:v,styles:y,unstyled:S,"data-checked":U.checked||void 0,variant:D},B),A),L.createElement("div",{className:$.inner},L.createElement("input",e5(e5({id:O,ref:t,type:"checkbox",className:$.input,checked:o,disabled:s},M),U)),L.createElement(k,{indeterminate:u,className:$.icon})))});a3.displayName="@mantine/core/Checkbox";a3.Group=zMe;var Oxt=ln((e,{fluid:t,sizes:n},{size:r})=>({root:{paddingLeft:e.spacing.md,paddingRight:e.spacing.md,maxWidth:t?"100%":Tt({size:r,sizes:n}),marginLeft:"auto",marginRight:"auto"}})),Bxt=Object.defineProperty,UP=Object.getOwnPropertySymbols,ZMe=Object.prototype.hasOwnProperty,JMe=Object.prototype.propertyIsEnumerable,Hpe=(e,t,n)=>t in e?Bxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jxt=(e,t)=>{for(var n in t||(t={}))ZMe.call(t,n)&&Hpe(e,n,t[n]);if(UP)for(var n of UP(t))JMe.call(t,n)&&Hpe(e,n,t[n]);return e},Ixt=(e,t)=>{var n={};for(var r in e)ZMe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&UP)for(var r of UP(e))t.indexOf(r)<0&&JMe.call(e,r)&&(n[r]=e[r]);return n};const Pxt={sizes:{xs:He(540),sm:He(720),md:He(960),lg:He(1140),xl:He(1320)}},lne=w.forwardRef((e,t)=>{const n=Qt("Container",Pxt,e),{className:r,fluid:i,size:a,unstyled:o,sizes:s,variant:l}=n,c=Ixt(n,["className","fluid","size","unstyled","sizes","variant"]),{classes:u,cx:f}=Oxt({fluid:i,sizes:s},{unstyled:o,name:"Container",variant:l,size:a});return L.createElement(En,jxt({className:f(u.root,r),ref:t},c))});lne.displayName="@mantine/core/Container";const[Mxt,Rxt]=Wf("Drawer component was not found in tree"),Vpe={xs:He(320),sm:He(380),md:He(440),lg:He(620),xl:He(780)};var $xt=ln((e,{position:t},{size:n})=>({header:{zIndex:1e3},content:{flex:t==="right"||t==="left"?`0 0 ${Tt({size:n,sizes:Vpe})}`:"0 0 100%",maxWidth:"100%",maxHeight:"100%",height:t==="right"||t==="left"?"100%":Tt({size:n,sizes:Vpe}),borderRadius:0,overflowY:"auto"},inner:{display:"flex",justifyContent:t==="right"?"flex-end":"flex-start",alignItems:t==="bottom"?"flex-end":"flex-start"}}));const[Lxt,mC]=Wf("ModalBase component was not found in tree");var Uxt=ln(()=>({close:{marginLeft:"auto",marginRight:0}})),zxt=Object.defineProperty,zP=Object.getOwnPropertySymbols,eRe=Object.prototype.hasOwnProperty,tRe=Object.prototype.propertyIsEnumerable,Qpe=(e,t,n)=>t in e?zxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hxt=(e,t)=>{for(var n in t||(t={}))eRe.call(t,n)&&Qpe(e,n,t[n]);if(zP)for(var n of zP(t))tRe.call(t,n)&&Qpe(e,n,t[n]);return e},Vxt=(e,t)=>{var n={};for(var r in e)eRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&zP)for(var r of zP(e))t.indexOf(r)<0&&tRe.call(e,r)&&(n[r]=e[r]);return n};const Qxt={size:"sm"},qxt=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}CloseButton`,Qxt,e),{className:i}=r,a=Vxt(r,["className"]),{classes:o,cx:s}=Uxt(null,n.stylesApi);return L.createElement(XF,Hxt({className:s(o.close,i),ref:t,onClick:n.onClose},a))});var Gxt=ln(()=>({overlay:{}})),Wxt=Object.defineProperty,Kxt=Object.defineProperties,Yxt=Object.getOwnPropertyDescriptors,qpe=Object.getOwnPropertySymbols,Xxt=Object.prototype.hasOwnProperty,Zxt=Object.prototype.propertyIsEnumerable,Gpe=(e,t,n)=>t in e?Wxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jxt=(e,t)=>{for(var n in t||(t={}))Xxt.call(t,n)&&Gpe(e,n,t[n]);if(qpe)for(var n of qpe(t))Zxt.call(t,n)&&Gpe(e,n,t[n]);return e},e1t=(e,t)=>Kxt(e,Yxt(t)),t1t=ln((e,{color:t,opacity:n,blur:r,radius:i,gradient:a,fixed:o,zIndex:s})=>({root:e1t(Jxt({},e.fn.cover(0)),{position:o?"fixed":"absolute",backgroundColor:a?void 0:e.fn.rgba(t,n),backgroundImage:a,backdropFilter:r?`blur(${He(r)})`:void 0,borderRadius:e.fn.radius(i),zIndex:s,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}})})),n1t=Object.defineProperty,HP=Object.getOwnPropertySymbols,nRe=Object.prototype.hasOwnProperty,rRe=Object.prototype.propertyIsEnumerable,Wpe=(e,t,n)=>t in e?n1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r1t=(e,t)=>{for(var n in t||(t={}))nRe.call(t,n)&&Wpe(e,n,t[n]);if(HP)for(var n of HP(t))rRe.call(t,n)&&Wpe(e,n,t[n]);return e},i1t=(e,t)=>{var n={};for(var r in e)nRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&HP)for(var r of HP(e))t.indexOf(r)<0&&rRe.call(e,r)&&(n[r]=e[r]);return n};const a1t={opacity:.6,color:"#000",zIndex:Hp("modal"),radius:0},iRe=w.forwardRef((e,t)=>{const n=Qt("Overlay",a1t,e),{variant:r,opacity:i,color:a,blur:o,gradient:s,zIndex:l,radius:c,children:u,className:f,classNames:h,styles:m,unstyled:A,center:p,fixed:v}=n,y=i1t(n,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:x,cx:k}=t1t({color:a,opacity:i,blur:o,radius:c,gradient:s,fixed:v,zIndex:l},{name:"Overlay",classNames:h,styles:m,unstyled:A,variant:r});return L.createElement(En,r1t({ref:t,className:k(x.root,f),"data-center":p||void 0},y),u)});iRe.displayName="@mantine/core/Overlay";const om=iRe;var o1t=Object.defineProperty,s1t=Object.defineProperties,l1t=Object.getOwnPropertyDescriptors,VP=Object.getOwnPropertySymbols,aRe=Object.prototype.hasOwnProperty,oRe=Object.prototype.propertyIsEnumerable,Kpe=(e,t,n)=>t in e?o1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I_=(e,t)=>{for(var n in t||(t={}))aRe.call(t,n)&&Kpe(e,n,t[n]);if(VP)for(var n of VP(t))oRe.call(t,n)&&Kpe(e,n,t[n]);return e},c1t=(e,t)=>s1t(e,l1t(t)),u1t=(e,t)=>{var n={};for(var r in e)aRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&VP)for(var r of VP(e))t.indexOf(r)<0&&oRe.call(e,r)&&(n[r]=e[r]);return n};const d1t={},f1t=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}Overlay`,d1t,e),{onClick:i,transitionProps:a,style:o,className:s}=r,l=u1t(r,["onClick","transitionProps","style","className"]),{classes:c,cx:u}=Gxt(null,n.stylesApi),f=h=>{i?.(h),n.closeOnClickOutside&&n.onClose()};return L.createElement(hC,c1t(I_(I_({mounted:n.opened},n.transitionProps),a),{transition:"fade"}),h=>L.createElement(om,I_({ref:t,onClick:f,fixed:!0,style:I_(I_({},o),h),className:u(c.overlay,s),zIndex:n.zIndex},l)))});var h1t=ln((e,{zIndex:t})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:t,pointerEvents:"none"},content:{pointerEvents:"all"}})),m1t=Object.defineProperty,QP=Object.getOwnPropertySymbols,sRe=Object.prototype.hasOwnProperty,lRe=Object.prototype.propertyIsEnumerable,Ype=(e,t,n)=>t in e?m1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P_=(e,t)=>{for(var n in t||(t={}))sRe.call(t,n)&&Ype(e,n,t[n]);if(QP)for(var n of QP(t))lRe.call(t,n)&&Ype(e,n,t[n]);return e},p1t=(e,t)=>{var n={};for(var r in e)sRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&QP)for(var r of QP(e))t.indexOf(r)<0&&lRe.call(e,r)&&(n[r]=e[r]);return n};const A1t={},g1t=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}Content`,A1t,e),{className:i,transitionProps:a,style:o,onKeyDown:s}=r,l=p1t(r,["className","transitionProps","style","onKeyDown"]),{classes:c,cx:u}=h1t({zIndex:n.zIndex},n.stylesApi),f=h=>{var m;((m=h.target)==null?void 0:m.getAttribute("data-mantine-stop-propagation"))!=="true"&&h.key==="Escape"&&n.closeOnEscape&&n.onClose(),s?.(h)};return L.createElement(hC,P_(P_({mounted:n.opened,transition:"pop"},n.transitionProps),a),h=>L.createElement("div",{className:u(c.inner)},L.createElement(tne,{active:n.opened&&n.trapFocus},L.createElement(Ng,P_({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":n.bodyMounted?n.getBodyId():void 0,"aria-labelledby":n.titleMounted?n.getTitleId():void 0,onKeyDown:f,ref:t,className:u(c.content,i),style:P_(P_({},o),h),shadow:n.shadow},l),l.children))))});var v1t=ln((e,{padding:t})=>{const n=Tt({size:t,sizes:e.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:n,paddingRight:`calc(${n} - ${He(5)})`,position:"sticky",top:0,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,zIndex:1e3}}}),y1t=Object.defineProperty,qP=Object.getOwnPropertySymbols,cRe=Object.prototype.hasOwnProperty,uRe=Object.prototype.propertyIsEnumerable,Xpe=(e,t,n)=>t in e?y1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b1t=(e,t)=>{for(var n in t||(t={}))cRe.call(t,n)&&Xpe(e,n,t[n]);if(qP)for(var n of qP(t))uRe.call(t,n)&&Xpe(e,n,t[n]);return e},x1t=(e,t)=>{var n={};for(var r in e)cRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qP)for(var r of qP(e))t.indexOf(r)<0&&uRe.call(e,r)&&(n[r]=e[r]);return n};const w1t={},k1t=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}Header`,w1t,e),{className:i}=r,a=x1t(r,["className"]),{classes:o,cx:s}=v1t({padding:n.padding},n.stylesApi);return L.createElement(En,b1t({ref:t,className:s(o.header,i)},a))});var S1t=ln(e=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:e.fontSizes.md}})),C1t=Object.defineProperty,GP=Object.getOwnPropertySymbols,dRe=Object.prototype.hasOwnProperty,fRe=Object.prototype.propertyIsEnumerable,Zpe=(e,t,n)=>t in e?C1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_1t=(e,t)=>{for(var n in t||(t={}))dRe.call(t,n)&&Zpe(e,n,t[n]);if(GP)for(var n of GP(t))fRe.call(t,n)&&Zpe(e,n,t[n]);return e},N1t=(e,t)=>{var n={};for(var r in e)dRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&GP)for(var r of GP(e))t.indexOf(r)<0&&fRe.call(e,r)&&(n[r]=e[r]);return n};const E1t={},F1t=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}Title`,E1t,e),{className:i}=r,a=N1t(r,["className"]),{classes:o,cx:s}=S1t(null,n.stylesApi);return w.useEffect(()=>(n.setTitleMounted(!0),()=>n.setTitleMounted(!1)),[]),L.createElement(En,_1t({component:"h2",id:n.getTitleId(),className:s(o.title,i),ref:t},a))});var D1t=ln((e,{padding:t})=>({body:{padding:Tt({size:t,sizes:e.spacing}),"&:not(:only-child)":{paddingTop:0}}})),T1t=Object.defineProperty,WP=Object.getOwnPropertySymbols,hRe=Object.prototype.hasOwnProperty,mRe=Object.prototype.propertyIsEnumerable,Jpe=(e,t,n)=>t in e?T1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O1t=(e,t)=>{for(var n in t||(t={}))hRe.call(t,n)&&Jpe(e,n,t[n]);if(WP)for(var n of WP(t))mRe.call(t,n)&&Jpe(e,n,t[n]);return e},B1t=(e,t)=>{var n={};for(var r in e)hRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&WP)for(var r of WP(e))t.indexOf(r)<0&&mRe.call(e,r)&&(n[r]=e[r]);return n};const j1t={},I1t=w.forwardRef((e,t)=>{const n=mC(),r=Qt(`${n.__staticSelector}Body`,j1t,e),{className:i}=r,a=B1t(r,["className"]),{classes:o,cx:s}=D1t({padding:n.padding},n.stylesApi);return w.useEffect(()=>(n.setBodyMounted(!0),()=>n.setBodyMounted(!1)),[]),L.createElement(En,O1t({id:n.getBodyId(),className:s(o.body,i),ref:t},a))});function P1t({children:e}){return L.createElement(L.Fragment,null,e)}function M1t({opened:e,transitionDuration:t}){const[n,r]=w.useState(e),i=w.useRef(),o=q$()?0:t;return w.useEffect(()=>(e?(r(!0),window.clearTimeout(i.current)):o===0?r(!1):i.current=window.setTimeout(()=>r(!1),o),()=>window.clearTimeout(i.current)),[e,o]),n}var R1t=ln(()=>({root:{}})),$1t=Object.defineProperty,L1t=Object.defineProperties,U1t=Object.getOwnPropertyDescriptors,KP=Object.getOwnPropertySymbols,pRe=Object.prototype.hasOwnProperty,ARe=Object.prototype.propertyIsEnumerable,eAe=(e,t,n)=>t in e?$1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fz=(e,t)=>{for(var n in t||(t={}))pRe.call(t,n)&&eAe(e,n,t[n]);if(KP)for(var n of KP(t))ARe.call(t,n)&&eAe(e,n,t[n]);return e},tAe=(e,t)=>L1t(e,U1t(t)),z1t=(e,t)=>{var n={};for(var r in e)pRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&KP)for(var r of KP(e))t.indexOf(r)<0&&ARe.call(e,r)&&(n[r]=e[r]);return n};const tD={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Hp("modal"),padding:"md",size:"md",shadow:"xl"};function xi(e){const t=Qt("ModalBase",tD,e),{opened:n,onClose:r,children:i,closeOnClickOutside:a,__staticSelector:o,transitionProps:s,withinPortal:l,portalProps:c,keepMounted:u,target:f,zIndex:h,lockScroll:m,trapFocus:A,closeOnEscape:p,returnFocus:v,padding:y,shadow:x,id:k,size:S,variant:C,classNames:N,unstyled:E,styles:D,className:T}=t,P=z1t(t,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:O,cx:B}=R1t(null,{name:o,classNames:N,styles:D,unstyled:E,variant:C,size:S}),M=Rx(k),[$,U]=w.useState(!1),[I,Q]=w.useState(!1),G=typeof s?.duration=="number"?s?.duration:200,X=M1t({opened:n,transitionDuration:G});return wY("keydown",he=>{!A&&he.key==="Escape"&&p&&r()}),JIe({opened:n,shouldReturnFocus:A&&v}),L.createElement(uC,tAe(Fz({},c),{withinPortal:l,target:f}),L.createElement(Lxt,{value:{__staticSelector:o,opened:n,onClose:r,closeOnClickOutside:a,transitionProps:tAe(Fz({},s),{duration:G,keepMounted:u}),zIndex:h,padding:y,id:M,getTitleId:()=>`${M}-title`,getBodyId:()=>`${M}-body`,titleMounted:$,bodyMounted:I,setTitleMounted:U,setBodyMounted:Q,trapFocus:A,closeOnEscape:p,shadow:x,stylesApi:{name:o,size:S,variant:C,classNames:N,styles:D,unstyled:E}}},L.createElement(iC,{enabled:X&&m},L.createElement(En,Fz({className:B(O.root,T)},P),i))))}xi.CloseButton=qxt;xi.Overlay=f1t;xi.Content=g1t;xi.Header=k1t;xi.Title=F1t;xi.Body=I1t;xi.NativeScrollArea=P1t;var H1t=Object.defineProperty,V1t=Object.defineProperties,Q1t=Object.getOwnPropertyDescriptors,YP=Object.getOwnPropertySymbols,gRe=Object.prototype.hasOwnProperty,vRe=Object.prototype.propertyIsEnumerable,nAe=(e,t,n)=>t in e?H1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lj=(e,t)=>{for(var n in t||(t={}))gRe.call(t,n)&&nAe(e,n,t[n]);if(YP)for(var n of YP(t))vRe.call(t,n)&&nAe(e,n,t[n]);return e},yRe=(e,t)=>V1t(e,Q1t(t)),q1t=(e,t)=>{var n={};for(var r in e)gRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&YP)for(var r of YP(e))t.indexOf(r)<0&&vRe.call(e,r)&&(n[r]=e[r]);return n};const G1t={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},W1t={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},K1t=yRe(Lj({},tD),{position:"left"});function bRe(e){const t=Qt("DrawerRoot",K1t,e),{classNames:n,variant:r,size:i,scrollAreaComponent:a,position:o,transitionProps:s}=t,l=q1t(t,["classNames","variant","size","scrollAreaComponent","position","transitionProps"]),{classes:c,cx:u,theme:f}=$xt({position:o},{name:"Drawer",variant:r,size:i}),h=(f.dir==="rtl"?W1t:G1t)[o];return L.createElement(Mxt,{value:{scrollAreaComponent:a}},L.createElement(xi,Lj({__staticSelector:"Drawer",size:i,variant:r,transitionProps:Lj({transition:h,duration:200},s),classNames:yRe(Lj({},n),{content:u(c.content,n?.content),inner:u(c.inner,n?.inner)})},l)))}var Y1t=Object.defineProperty,XP=Object.getOwnPropertySymbols,xRe=Object.prototype.hasOwnProperty,wRe=Object.prototype.propertyIsEnumerable,rAe=(e,t,n)=>t in e?Y1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X1t=(e,t)=>{for(var n in t||(t={}))xRe.call(t,n)&&rAe(e,n,t[n]);if(XP)for(var n of XP(t))wRe.call(t,n)&&rAe(e,n,t[n]);return e},Z1t=(e,t)=>{var n={};for(var r in e)xRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&XP)for(var r of XP(e))t.indexOf(r)<0&&wRe.call(e,r)&&(n[r]=e[r]);return n};const J1t={shadow:"xl"},kRe=w.forwardRef((e,t)=>{const n=Qt("ModalContent",J1t,e),{children:r,scrollAreaComponent:i}=n,a=Z1t(n,["children","scrollAreaComponent"]),o=Rxt(),s=i||o.scrollAreaComponent||xi.NativeScrollArea;return L.createElement(xi.Content,X1t({ref:t,radius:0},a),L.createElement(s,{style:{height:"100vh"}},r))});var ewt=Object.defineProperty,twt=Object.defineProperties,nwt=Object.getOwnPropertyDescriptors,ZP=Object.getOwnPropertySymbols,SRe=Object.prototype.hasOwnProperty,CRe=Object.prototype.propertyIsEnumerable,iAe=(e,t,n)=>t in e?ewt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uj=(e,t)=>{for(var n in t||(t={}))SRe.call(t,n)&&iAe(e,n,t[n]);if(ZP)for(var n of ZP(t))CRe.call(t,n)&&iAe(e,n,t[n]);return e},rwt=(e,t)=>twt(e,nwt(t)),iwt=(e,t)=>{var n={};for(var r in e)SRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ZP)for(var r of ZP(e))t.indexOf(r)<0&&CRe.call(e,r)&&(n[r]=e[r]);return n};const awt=rwt(Uj({},tD),{withOverlay:!0,withCloseButton:!0});function sm(e){const t=Qt("Drawer",awt,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=iwt(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return L.createElement(bRe,Uj({},l),r&&L.createElement(xi.Overlay,Uj({},i)),L.createElement(kRe,null,c&&L.createElement(xi.Header,null,n&&L.createElement(xi.Title,null,n),a&&L.createElement(xi.CloseButton,Uj({},o))),L.createElement(xi.Body,null,s)))}sm.Root=bRe;sm.CloseButton=xi.CloseButton;sm.Overlay=xi.Overlay;sm.Content=kRe;sm.Header=xi.Header;sm.Title=xi.Title;sm.Body=xi.Body;sm.NativeScrollArea=xi.NativeScrollArea;var owt=Object.defineProperty,JP=Object.getOwnPropertySymbols,_Re=Object.prototype.hasOwnProperty,NRe=Object.prototype.propertyIsEnumerable,aAe=(e,t,n)=>t in e?owt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oAe=(e,t)=>{for(var n in t||(t={}))_Re.call(t,n)&&aAe(e,n,t[n]);if(JP)for(var n of JP(t))NRe.call(t,n)&&aAe(e,n,t[n]);return e},swt=(e,t)=>{var n={};for(var r in e)_Re.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&JP)for(var r of JP(e))t.indexOf(r)<0&&NRe.call(e,r)&&(n[r]=e[r]);return n};const lwt={multiple:!1},ERe=w.forwardRef((e,t)=>{const n=Qt("FileButton",lwt,e),{onChange:r,children:i,multiple:a,accept:o,name:s,form:l,resetRef:c,disabled:u,capture:f,inputProps:h}=n,m=swt(n,["onChange","children","multiple","accept","name","form","resetRef","disabled","capture","inputProps"]),A=w.useRef(),p=()=>{!u&&A.current.click()},v=x=>{r(a?Array.from(x.currentTarget.files):x.currentTarget.files[0]||null)};return Q$(c,()=>{A.current.value=""}),L.createElement(L.Fragment,null,i(oAe({onClick:p},m)),L.createElement("input",oAe({style:{display:"none"},type:"file",accept:o,multiple:a,onChange:v,ref:Vp(t,A),name:s,form:l,capture:f},h)))});ERe.displayName="@mantine/core/FileButton";var cwt=ln(()=>({placeholder:{},input:{cursor:"pointer"}})),uwt=Object.defineProperty,dwt=Object.defineProperties,fwt=Object.getOwnPropertyDescriptors,e4=Object.getOwnPropertySymbols,FRe=Object.prototype.hasOwnProperty,DRe=Object.prototype.propertyIsEnumerable,sAe=(e,t,n)=>t in e?uwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cw=(e,t)=>{for(var n in t||(t={}))FRe.call(t,n)&&sAe(e,n,t[n]);if(e4)for(var n of e4(t))DRe.call(t,n)&&sAe(e,n,t[n]);return e},t5=(e,t)=>dwt(e,fwt(t)),hwt=(e,t)=>{var n={};for(var r in e)FRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&e4)for(var r of e4(e))t.indexOf(r)<0&&DRe.call(e,r)&&(n[r]=e[r]);return n};const mwt=({value:e})=>L.createElement(Jn,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Array.isArray(e)?e.map(t=>t.name).join(", "):e?.name),pwt={size:"sm",valueComponent:mwt},TRe=w.forwardRef((e,t)=>{const n=i3("FileInput",pwt,e),{inputProps:r,wrapperProps:i,placeholder:a,value:o,defaultValue:s,onChange:l,multiple:c,accept:u,name:f,form:h,classNames:m,styles:A,unstyled:p,valueComponent:v,rightSection:y,clearable:x,clearButtonProps:k,readOnly:S,capture:C,fileInputProps:N}=n,E=hwt(n,["inputProps","wrapperProps","placeholder","value","defaultValue","onChange","multiple","accept","name","form","classNames","styles","unstyled","valueComponent","rightSection","clearable","clearButtonProps","readOnly","capture","fileInputProps"]),D=w.useRef(),{classes:T,cx:P}=cwt(null,{name:"FileInput",classNames:m,styles:A,unstyled:p}),[O,B]=Kc({value:o,defaultValue:s,onChange:l,finalValue:c?[]:null}),M=Array.isArray(O)?O.length!==0:O!==null,$=y||(x&&M&&!S?L.createElement(XF,t5(cw({},k),{variant:"transparent",onClick:()=>B(c?[]:null),size:r.size,unstyled:p})):null);return w.useEffect(()=>{(Array.isArray(O)&&O.length===0||O===null)&&D.current()},[O]),L.createElement(Gl.Wrapper,t5(cw({},i),{__staticSelector:"FileInput"}),L.createElement(ERe,{onChange:B,multiple:c,accept:u,name:f,form:h,resetRef:D,disabled:S,capture:C,inputProps:N},U=>L.createElement(Gl,t5(cw(cw(cw({multiline:!0},U),r),E),{component:"button",type:"button",ref:t,__staticSelector:"FileInput",rightSection:$,classNames:t5(cw({},m),{input:P(T.input,m?.input)})}),M?L.createElement(v,{value:O}):L.createElement(Gl.Placeholder,{className:T.placeholder},a))))});TRe.displayName="@mantine/core/FileInput";const Awt=TRe,[gwt,vwt]=Wf("Grid component was not found in tree");var ywt=Object.defineProperty,lAe=Object.getOwnPropertySymbols,bwt=Object.prototype.hasOwnProperty,xwt=Object.prototype.propertyIsEnumerable,cAe=(e,t,n)=>t in e?ywt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wwt=(e,t)=>{for(var n in t||(t={}))bwt.call(t,n)&&cAe(e,n,t[n]);if(lAe)for(var n of lAe(t))xwt.call(t,n)&&cAe(e,n,t[n]);return e};const cne=(e,t)=>e==="content"?"auto":e==="auto"?"0rem":e?`${100/(t/e)}%`:void 0,ORe=(e,t,n)=>n||e==="auto"||e==="content"?"unset":cne(e,t),BRe=(e,t)=>{if(e)return e==="auto"||t?1:0},jRe=(e,t)=>e===0?0:e?`${100/(t/e)}%`:void 0,IRe=(e,t)=>typeof e<"u"?`calc(${Tt({size:e,sizes:t.spacing})} / 2)`:void 0;function kwt({sizes:e,offsets:t,orders:n,theme:r,columns:i,gutters:a,grow:o}){return IIe.reduce((s,l)=>(s[`@media (min-width: ${oC(r.breakpoints[l])})`]={order:n[l],flexBasis:cne(e[l],i),padding:IRe(a[l],r),flexShrink:0,width:e[l]==="content"?"auto":void 0,maxWidth:ORe(e[l],i,o),marginLeft:jRe(t[l],i),flexGrow:BRe(e[l],o)},s),{})}var Swt=ln((e,{gutter:t,gutterXs:n,gutterSm:r,gutterMd:i,gutterLg:a,gutterXl:o,grow:s,offset:l,offsetXs:c,offsetSm:u,offsetMd:f,offsetLg:h,offsetXl:m,columns:A,span:p,xs:v,sm:y,md:x,lg:k,xl:S,order:C,orderXs:N,orderSm:E,orderMd:D,orderLg:T,orderXl:P})=>({col:wwt({boxSizing:"border-box",flexGrow:BRe(p,s),order:C,padding:IRe(t,e),marginLeft:jRe(l,A),flexBasis:cne(p,A),flexShrink:0,width:p==="content"?"auto":void 0,maxWidth:ORe(p,A,s)},kwt({sizes:{xs:v,sm:y,md:x,lg:k,xl:S},offsets:{xs:c,sm:u,md:f,lg:h,xl:m},orders:{xs:N,sm:E,md:D,lg:T,xl:P},gutters:{xs:n,sm:r,md:i,lg:a,xl:o},theme:e,columns:A,grow:s}))})),Cwt=Object.defineProperty,t4=Object.getOwnPropertySymbols,PRe=Object.prototype.hasOwnProperty,MRe=Object.prototype.propertyIsEnumerable,uAe=(e,t,n)=>t in e?Cwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_wt=(e,t)=>{for(var n in t||(t={}))PRe.call(t,n)&&uAe(e,n,t[n]);if(t4)for(var n of t4(t))MRe.call(t,n)&&uAe(e,n,t[n]);return e},Nwt=(e,t)=>{var n={};for(var r in e)PRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&t4)for(var r of t4(e))t.indexOf(r)<0&&MRe.call(e,r)&&(n[r]=e[r]);return n};const Ewt={};function Fwt(e){return e==="auto"||e==="content"?!0:typeof e=="number"&&e>0&&e%1===0}const RRe=w.forwardRef((e,t)=>{const n=Qt("GridCol",Ewt,e),{children:r,span:i,offset:a,offsetXs:o,offsetSm:s,offsetMd:l,offsetLg:c,offsetXl:u,xs:f,sm:h,md:m,lg:A,xl:p,order:v,orderXs:y,orderSm:x,orderMd:k,orderLg:S,orderXl:C,className:N,unstyled:E,variant:D}=n,T=Nwt(n,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","unstyled","variant"]),P=vwt(),O=i||P.columns,{classes:B,cx:M}=Swt({gutter:P.gutter,gutterXs:P.gutterXs,gutterSm:P.gutterSm,gutterMd:P.gutterMd,gutterLg:P.gutterLg,gutterXl:P.gutterXl,offset:a,offsetXs:o,offsetSm:s,offsetMd:l,offsetLg:c,offsetXl:u,xs:f,sm:h,md:m,lg:A,xl:p,order:v,orderXs:y,orderSm:x,orderMd:k,orderLg:S,orderXl:C,grow:P.grow,columns:P.columns,span:O},{unstyled:E,name:"Grid",variant:D});return!Fwt(O)||O>P.columns?null:L.createElement(En,_wt({className:M(B.col,N),ref:t},T),r)});RRe.displayName="@mantine/core/Col";var Dwt=Object.defineProperty,dAe=Object.getOwnPropertySymbols,Twt=Object.prototype.hasOwnProperty,Owt=Object.prototype.propertyIsEnumerable,fAe=(e,t,n)=>t in e?Dwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bwt=(e,t)=>{for(var n in t||(t={}))Twt.call(t,n)&&fAe(e,n,t[n]);if(dAe)for(var n of dAe(t))Owt.call(t,n)&&fAe(e,n,t[n]);return e};function jwt(e,t){return IIe.reduce((n,r)=>(typeof e[r]<"u"&&(n[`@media (min-width: ${t.breakpoints[r]})`]={margin:`calc(-${Tt({size:e[r],sizes:t.spacing})} / 2)`}),n),{})}var Iwt=ln((e,{justify:t,align:n,gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l})=>({root:Bwt({margin:`calc(-${Tt({size:r,sizes:e.spacing})} / 2)`,display:"flex",flexWrap:"wrap",justifyContent:t,alignItems:n},jwt({xs:i,sm:a,md:o,lg:s,xl:l},e))})),Pwt=Object.defineProperty,n4=Object.getOwnPropertySymbols,$Re=Object.prototype.hasOwnProperty,LRe=Object.prototype.propertyIsEnumerable,hAe=(e,t,n)=>t in e?Pwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mwt=(e,t)=>{for(var n in t||(t={}))$Re.call(t,n)&&hAe(e,n,t[n]);if(n4)for(var n of n4(t))LRe.call(t,n)&&hAe(e,n,t[n]);return e},Rwt=(e,t)=>{var n={};for(var r in e)$Re.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&n4)for(var r of n4(e))t.indexOf(r)<0&&LRe.call(e,r)&&(n[r]=e[r]);return n};const $wt={gutter:"md",justify:"flex-start",align:"stretch",columns:12},os=w.forwardRef((e,t)=>{const n=Qt("Grid",$wt,e),{gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l,children:c,grow:u,justify:f,align:h,columns:m,className:A,unstyled:p,variant:v}=n,y=Rwt(n,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","justify","align","columns","className","unstyled","variant"]),{classes:x,cx:k}=Iwt({gutter:r,justify:f,align:h,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l},{unstyled:p,name:"Grid",variant:v});return L.createElement(gwt,{value:{gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l,grow:u,columns:m}},L.createElement(En,Mwt({className:k(x.root,A),ref:t},y),c))});os.Col=RRe;os.displayName="@mantine/core/Grid";function Lwt(e){return w.Children.toArray(e).filter(Boolean)}const Uwt={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var zwt=ln((e,{spacing:t,position:n,noWrap:r,grow:i,align:a,count:o})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:a||"center",flexWrap:r?"nowrap":"wrap",justifyContent:Uwt[n],gap:Tt({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:i?`calc(${100/o}% - (${He(Tt({size:t,sizes:e.spacing}))} - ${Tt({size:t,sizes:e.spacing})} / ${o}))`:void 0,flexGrow:i?1:0}}})),Hwt=Object.defineProperty,r4=Object.getOwnPropertySymbols,URe=Object.prototype.hasOwnProperty,zRe=Object.prototype.propertyIsEnumerable,mAe=(e,t,n)=>t in e?Hwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vwt=(e,t)=>{for(var n in t||(t={}))URe.call(t,n)&&mAe(e,n,t[n]);if(r4)for(var n of r4(t))zRe.call(t,n)&&mAe(e,n,t[n]);return e},Qwt=(e,t)=>{var n={};for(var r in e)URe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&r4)for(var r of r4(e))t.indexOf(r)<0&&zRe.call(e,r)&&(n[r]=e[r]);return n};const qwt={position:"left",spacing:"md"},rS=w.forwardRef((e,t)=>{const n=Qt("Group",qwt,e),{className:r,position:i,align:a,children:o,noWrap:s,grow:l,spacing:c,unstyled:u,variant:f}=n,h=Qwt(n,["className","position","align","children","noWrap","grow","spacing","unstyled","variant"]),m=Lwt(o),{classes:A,cx:p}=zwt({align:a,grow:l,noWrap:s,spacing:c,position:i,count:m.length},{unstyled:u,name:"Group",variant:f});return L.createElement(En,Vwt({className:p(A.root,r),ref:t},h),m)});rS.displayName="@mantine/core/Group";var Gwt=ln((e,{color:t})=>({root:{backgroundColor:e.fn.themeColor(t,e.colorScheme==="dark"?5:2),color:e.colorScheme==="dark"?e.colors.dark[9]:"inherit"}})),Wwt=Object.defineProperty,i4=Object.getOwnPropertySymbols,HRe=Object.prototype.hasOwnProperty,VRe=Object.prototype.propertyIsEnumerable,pAe=(e,t,n)=>t in e?Wwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kwt=(e,t)=>{for(var n in t||(t={}))HRe.call(t,n)&&pAe(e,n,t[n]);if(i4)for(var n of i4(t))VRe.call(t,n)&&pAe(e,n,t[n]);return e},Ywt=(e,t)=>{var n={};for(var r in e)HRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&i4)for(var r of i4(e))t.indexOf(r)<0&&VRe.call(e,r)&&(n[r]=e[r]);return n};const Xwt={color:"yellow"},by=w.forwardRef((e,t)=>{const n=Qt("Mark",Xwt,e),{color:r,className:i,unstyled:a,variant:o}=n,s=Ywt(n,["color","className","unstyled","variant"]),{classes:l,cx:c}=Gwt({color:r},{unstyled:a,name:"Mark",variant:o});return L.createElement(En,Kwt({component:"mark",ref:t,className:c(l.root,i)},s))});by.displayName="@mantine/core/Mark";function Zwt({open:e,close:t,openDelay:n,closeDelay:r}){const i=w.useRef(-1),a=w.useRef(-1),o=()=>{window.clearTimeout(i.current),window.clearTimeout(a.current)},s=()=>{o(),n===0?e():i.current=window.setTimeout(e,n)},l=()=>{o(),r===0?t():a.current=window.setTimeout(t,r)};return w.useEffect(()=>o,[]),{openDropdown:s,closeDropdown:l}}var Jwt=Object.defineProperty,a4=Object.getOwnPropertySymbols,QRe=Object.prototype.hasOwnProperty,qRe=Object.prototype.propertyIsEnumerable,AAe=(e,t,n)=>t in e?Jwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gAe=(e,t)=>{for(var n in t||(t={}))QRe.call(t,n)&&AAe(e,n,t[n]);if(a4)for(var n of a4(t))qRe.call(t,n)&&AAe(e,n,t[n]);return e},ekt=(e,t)=>{var n={};for(var r in e)QRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&a4)for(var r of a4(e))t.indexOf(r)<0&&qRe.call(e,r)&&(n[r]=e[r]);return n};function tkt(e){const t=e,{width:n,height:r,style:i}=t,a=ekt(t,["width","height","style"]);return L.createElement("svg",gAe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:gAe({width:n,height:r},i)},a),L.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var nkt=Object.defineProperty,rkt=Object.defineProperties,ikt=Object.getOwnPropertyDescriptors,vAe=Object.getOwnPropertySymbols,akt=Object.prototype.hasOwnProperty,okt=Object.prototype.propertyIsEnumerable,yAe=(e,t,n)=>t in e?nkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bAe=(e,t)=>{for(var n in t||(t={}))akt.call(t,n)&&yAe(e,n,t[n]);if(vAe)for(var n of vAe(t))okt.call(t,n)&&yAe(e,n,t[n]);return e},xAe=(e,t)=>rkt(e,ikt(t)),skt=ln((e,{radius:t})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:xAe(bAe({},e.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:e.fn.radius(t)}),caption:{color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[7],marginTop:e.spacing.xs},placeholder:xAe(bAe({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.colors.gray[0],borderRadius:e.fn.radius(t)})})),lkt=Object.defineProperty,ckt=Object.defineProperties,ukt=Object.getOwnPropertyDescriptors,o4=Object.getOwnPropertySymbols,GRe=Object.prototype.hasOwnProperty,WRe=Object.prototype.propertyIsEnumerable,wAe=(e,t,n)=>t in e?lkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M_=(e,t)=>{for(var n in t||(t={}))GRe.call(t,n)&&wAe(e,n,t[n]);if(o4)for(var n of o4(t))WRe.call(t,n)&&wAe(e,n,t[n]);return e},dkt=(e,t)=>ckt(e,ukt(t)),fkt=(e,t)=>{var n={};for(var r in e)GRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&o4)for(var r of o4(e))t.indexOf(r)<0&&WRe.call(e,r)&&(n[r]=e[r]);return n};const hkt={fit:"cover",width:"100%",height:"auto",radius:0},pC=w.forwardRef((e,t)=>{const n=Qt("Image",hkt,e),{className:r,alt:i,src:a,fit:o,width:s,height:l,radius:c,imageProps:u,withPlaceholder:f,placeholder:h,imageRef:m,classNames:A,styles:p,caption:v,unstyled:y,style:x,variant:k}=n,S=fkt(n,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:C,cx:N}=skt({radius:c},{classNames:A,styles:p,unstyled:y,name:"Image",variant:k}),[E,D]=w.useState(!a),T=f&&E;return ql(()=>{D(!a)},[a]),L.createElement(En,M_({className:N(C.root,r),style:M_({width:He(s)},x),ref:t},S),L.createElement("figure",{className:C.figure},L.createElement("div",{className:C.imageWrapper},L.createElement("img",dkt(M_({src:a,alt:i,ref:m},u),{className:N(C.image,u?.className),onError:P=>{D(!0),typeof u?.onError=="function"&&u.onError(P)},style:M_(M_({objectFit:o,width:He(s),height:He(l)},T&&{overflow:"hidden"}),u?.style)})),T&&L.createElement("div",{className:C.placeholder,title:i},h||L.createElement("div",null,L.createElement(tkt,{width:He(40),height:He(40)})))),!!v&&L.createElement(Jn,{component:"figcaption",size:"sm",align:"center",className:C.caption},v)))});pC.displayName="@mantine/core/Image";var mkt=Object.defineProperty,pkt=Object.defineProperties,Akt=Object.getOwnPropertyDescriptors,kAe=Object.getOwnPropertySymbols,gkt=Object.prototype.hasOwnProperty,vkt=Object.prototype.propertyIsEnumerable,SAe=(e,t,n)=>t in e?mkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CAe=(e,t)=>{for(var n in t||(t={}))gkt.call(t,n)&&SAe(e,n,t[n]);if(kAe)for(var n of kAe(t))vkt.call(t,n)&&SAe(e,n,t[n]);return e},_Ae=(e,t)=>pkt(e,Akt(t));const ykt=e=>Mx({from:{boxShadow:`0 0 ${He(.5)} 0 ${e}`,opacity:.6},to:{boxShadow:`0 0 ${He(.5)} ${He(4.4)} ${e}`,opacity:0}});function NAe(e,t=0){const n={},[r,i]=e.split("-");let a="",o="";return r==="top"&&(n.top=t,o="-50%"),r==="middle"&&(n.top="50%",o="-50%"),r==="bottom"&&(n.bottom=t,o="50%"),i==="start"&&(n.left=t,a="-50%"),i==="center"&&(n.left="50%",a="-50%"),i==="end"&&(n.right=t,a="50%"),n.transform=`translate(${a}, ${o})`,n}var bkt=ln((e,{radius:t,color:n,position:r,offset:i,inline:a,withBorder:o,withLabel:s,zIndex:l},{size:c})=>{const{background:u}=e.fn.variant({variant:"filled",primaryFallback:!1,color:n||e.primaryColor}),f=He(c);return{root:{position:"relative",display:a?"inline-block":"block"},indicator:_Ae(CAe({},NAe(r,i)),{zIndex:l,position:"absolute",[s?"minWidth":"width"]:f,height:f,display:"flex",justifyContent:"center",alignItems:"center",fontSize:e.fontSizes.xs,paddingLeft:s?`calc(${e.spacing.xs} / 2)`:0,paddingRight:s?`calc(${e.spacing.xs} / 2)`:0,borderRadius:e.fn.radius(t),backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:n||e.primaryColor}).background,border:o?`${He(2)} solid ${e.colorScheme==="dark"?e.colors.dark[7]:e.white}`:void 0,color:e.white,whiteSpace:"nowrap"}),processing:{animation:`${ykt(u)} 1000ms linear infinite`},common:_Ae(CAe({},NAe(r,i)),{position:"absolute",[s?"minWidth":"width"]:f,height:f,borderRadius:e.fn.radius(t)})}}),xkt=Object.defineProperty,s4=Object.getOwnPropertySymbols,KRe=Object.prototype.hasOwnProperty,YRe=Object.prototype.propertyIsEnumerable,EAe=(e,t,n)=>t in e?xkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wkt=(e,t)=>{for(var n in t||(t={}))KRe.call(t,n)&&EAe(e,n,t[n]);if(s4)for(var n of s4(t))YRe.call(t,n)&&EAe(e,n,t[n]);return e},kkt=(e,t)=>{var n={};for(var r in e)KRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&s4)for(var r of s4(e))t.indexOf(r)<0&&YRe.call(e,r)&&(n[r]=e[r]);return n};const Skt={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1,size:10,radius:1e3,zIndex:Hp("app")},Na=w.forwardRef((e,t)=>{const n=Qt("Indicator",Skt,e),{children:r,position:i,offset:a,size:o,radius:s,inline:l,withBorder:c,className:u,color:f,styles:h,label:m,classNames:A,disabled:p,zIndex:v,unstyled:y,processing:x,variant:k}=n,S=kkt(n,["children","position","offset","size","radius","inline","withBorder","className","color","styles","label","classNames","disabled","zIndex","unstyled","processing","variant"]),{classes:C,cx:N}=bkt({position:i,offset:a,radius:s,inline:l,color:f,withBorder:c,zIndex:v,withLabel:!!m},{name:"Indicator",classNames:A,styles:h,unstyled:y,variant:k,size:o});return L.createElement(En,wkt({ref:t,className:N(C.root,u)},S),!p&&L.createElement(L.Fragment,null,L.createElement("div",{className:N(C.indicator,C.common)},m),x&&L.createElement("div",{className:N(C.processing,C.common)})),r)});Na.displayName="@mantine/core/Indicator";function lo(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}const[Ckt,_kt]=Wf("List component was not found in tree");var Nkt=ln((e,{spacing:t,center:n})=>({itemWrapper:{ref:Rb("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:n?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:Tt({size:t,sizes:e.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${Rb("itemWrapper")}`]:{display:"inline-flex",alignItems:n?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}})),Ekt=Object.defineProperty,l4=Object.getOwnPropertySymbols,XRe=Object.prototype.hasOwnProperty,ZRe=Object.prototype.propertyIsEnumerable,FAe=(e,t,n)=>t in e?Ekt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fkt=(e,t)=>{for(var n in t||(t={}))XRe.call(t,n)&&FAe(e,n,t[n]);if(l4)for(var n of l4(t))ZRe.call(t,n)&&FAe(e,n,t[n]);return e},Dkt=(e,t)=>{var n={};for(var r in e)XRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&l4)for(var r of l4(e))t.indexOf(r)<0&&ZRe.call(e,r)&&(n[r]=e[r]);return n};const Tkt={},JRe=w.forwardRef((e,t)=>{const n=Qt("ListItem",Tkt,e),{className:r,children:i,icon:a}=n,o=Dkt(n,["className","children","icon"]),{icon:s,spacing:l,center:c,listStyleType:u,size:f,withPadding:h,classNames:m,styles:A,unstyled:p,variant:v}=_kt(),y=a||s,{classes:x,cx:k}=Nkt({withPadding:h,listStyleType:u,center:c,spacing:l},{classNames:m,styles:A,unstyled:p,name:"List",variant:v,size:f});return L.createElement(En,Fkt({component:"li",className:k(x.item,r),"data-with-icon":!!y||void 0,ref:t},o),L.createElement("div",{className:x.itemWrapper},y&&L.createElement("span",{className:x.itemIcon},y),L.createElement("span",null,i)))});JRe.displayName="@mantine/core/ListItem";var Okt=Object.defineProperty,Bkt=Object.defineProperties,jkt=Object.getOwnPropertyDescriptors,DAe=Object.getOwnPropertySymbols,Ikt=Object.prototype.hasOwnProperty,Pkt=Object.prototype.propertyIsEnumerable,TAe=(e,t,n)=>t in e?Okt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mkt=(e,t)=>{for(var n in t||(t={}))Ikt.call(t,n)&&TAe(e,n,t[n]);if(DAe)for(var n of DAe(t))Pkt.call(t,n)&&TAe(e,n,t[n]);return e},Rkt=(e,t)=>Bkt(e,jkt(t)),$kt=ln((e,{withPadding:t,listStyleType:n},{size:r})=>({root:Rkt(Mkt({},e.fn.fontStyles()),{listStyleType:n,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,fontSize:Tt({size:r,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})})),Lkt=Object.defineProperty,c4=Object.getOwnPropertySymbols,e$e=Object.prototype.hasOwnProperty,t$e=Object.prototype.propertyIsEnumerable,OAe=(e,t,n)=>t in e?Lkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ukt=(e,t)=>{for(var n in t||(t={}))e$e.call(t,n)&&OAe(e,n,t[n]);if(c4)for(var n of c4(t))t$e.call(t,n)&&OAe(e,n,t[n]);return e},zkt=(e,t)=>{var n={};for(var r in e)e$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&c4)for(var r of c4(e))t.indexOf(r)<0&&t$e.call(e,r)&&(n[r]=e[r]);return n};const Hkt={type:"unordered",size:"md",spacing:0},Op=w.forwardRef((e,t)=>{const n=Qt("List",Hkt,e),{children:r,type:i,size:a,listStyleType:o,withPadding:s,center:l,spacing:c,icon:u,className:f,styles:h,classNames:m,unstyled:A,variant:p}=n,v=zkt(n,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:y,cx:x}=$kt({withPadding:s,listStyleType:o,center:l,spacing:c},{classNames:m,styles:h,name:"List",unstyled:A,size:a,variant:p});return L.createElement(Ckt,{value:{spacing:c,center:l,icon:u,listStyleType:o,size:a,withPadding:s,classNames:m,styles:h,unstyled:A,variant:p}},L.createElement(En,Ukt({component:i==="unordered"?"ul":"ol",className:x(y.root,f),ref:t},v),r))});Op.Item=JRe;Op.displayName="@mantine/core/List";var Vkt=Object.defineProperty,Qkt=Object.defineProperties,qkt=Object.getOwnPropertyDescriptors,BAe=Object.getOwnPropertySymbols,Gkt=Object.prototype.hasOwnProperty,Wkt=Object.prototype.propertyIsEnumerable,jAe=(e,t,n)=>t in e?Vkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kkt=(e,t)=>{for(var n in t||(t={}))Gkt.call(t,n)&&jAe(e,n,t[n]);if(BAe)for(var n of BAe(t))Wkt.call(t,n)&&jAe(e,n,t[n]);return e},Ykt=(e,t)=>Qkt(e,qkt(t)),Xkt=ln(e=>({root:Ykt(Kkt({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})})),Zkt=Object.defineProperty,Jkt=Object.defineProperties,eSt=Object.getOwnPropertyDescriptors,u4=Object.getOwnPropertySymbols,n$e=Object.prototype.hasOwnProperty,r$e=Object.prototype.propertyIsEnumerable,IAe=(e,t,n)=>t in e?Zkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,n5=(e,t)=>{for(var n in t||(t={}))n$e.call(t,n)&&IAe(e,n,t[n]);if(u4)for(var n of u4(t))r$e.call(t,n)&&IAe(e,n,t[n]);return e},tSt=(e,t)=>Jkt(e,eSt(t)),nSt=(e,t)=>{var n={};for(var r in e)n$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&u4)for(var r of u4(e))t.indexOf(r)<0&&r$e.call(e,r)&&(n[r]=e[r]);return n};const rSt={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:Hp("overlay")},i$e=w.forwardRef((e,t)=>{const n=Qt("LoadingOverlay",rSt,e),{className:r,visible:i,loaderProps:a,overlayOpacity:o,overlayColor:s,transitionDuration:l,exitTransitionDuration:c,zIndex:u,style:f,loader:h,radius:m,overlayBlur:A,unstyled:p,variant:v,keepMounted:y}=n,x=nSt(n,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:k,cx:S,theme:C}=Xkt(null,{name:"LoadingOverlay",unstyled:p,variant:v}),N=`calc(${u} + 1)`;return L.createElement(hC,{keepMounted:y,duration:l,exitDuration:c,mounted:i,transition:"fade"},E=>L.createElement(En,n5({className:S(k.root,r),style:tSt(n5(n5({},E),f),{zIndex:u}),ref:t},x),h?L.createElement("div",{style:{zIndex:N}},h):L.createElement(co,n5({style:{zIndex:N}},a)),L.createElement(om,{opacity:o,zIndex:u,radius:m,blur:A,unstyled:p,color:s||(C.colorScheme==="dark"?C.colors.dark[5]:C.white)})))});i$e.displayName="@mantine/core/LoadingOverlay";const a$e={context:"Menu component was not found in the tree",children:"Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[iSt,nD]=Wf(a$e.context);var aSt=ln(e=>({divider:{marginTop:He(4),marginBottom:He(4),borderTop:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`}})),oSt=Object.defineProperty,d4=Object.getOwnPropertySymbols,o$e=Object.prototype.hasOwnProperty,s$e=Object.prototype.propertyIsEnumerable,PAe=(e,t,n)=>t in e?oSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sSt=(e,t)=>{for(var n in t||(t={}))o$e.call(t,n)&&PAe(e,n,t[n]);if(d4)for(var n of d4(t))s$e.call(t,n)&&PAe(e,n,t[n]);return e},lSt=(e,t)=>{var n={};for(var r in e)o$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&d4)for(var r of d4(e))t.indexOf(r)<0&&s$e.call(e,r)&&(n[r]=e[r]);return n};const cSt={},l$e=w.forwardRef((e,t)=>{const n=Qt("MenuDivider",cSt,e),{children:r,className:i}=n,a=lSt(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=nD(),{classes:u,cx:f}=aSt(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return L.createElement(En,sSt({className:f(u.divider,i),ref:t},a))});l$e.displayName="@mantine/core/MenuDivider";var uSt=Object.defineProperty,f4=Object.getOwnPropertySymbols,c$e=Object.prototype.hasOwnProperty,u$e=Object.prototype.propertyIsEnumerable,MAe=(e,t,n)=>t in e?uSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dSt=(e,t)=>{for(var n in t||(t={}))c$e.call(t,n)&&MAe(e,n,t[n]);if(f4)for(var n of f4(t))u$e.call(t,n)&&MAe(e,n,t[n]);return e},fSt=(e,t)=>{var n={};for(var r in e)c$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&f4)for(var r of f4(e))t.indexOf(r)<0&&u$e.call(e,r)&&(n[r]=e[r]);return n};const hSt={};function d$e(e){const t=Qt("MenuDropdown",hSt,e),{children:n,onMouseEnter:r,onMouseLeave:i}=t,a=fSt(t,["children","onMouseEnter","onMouseLeave"]),o=w.useRef(),s=nD(),l=f=>{var h;(f.key==="ArrowUp"||f.key==="ArrowDown")&&(f.preventDefault(),(h=o.current.querySelectorAll("[data-menu-item]:not(:disabled)")[0])==null||h.focus())},c=Nd(r,()=>s.trigger==="hover"&&s.openDropdown()),u=Nd(i,()=>s.trigger==="hover"&&s.closeDropdown());return L.createElement(Gc.Dropdown,dSt({onMouseEnter:c,onMouseLeave:u,role:"menu","aria-orientation":"vertical"},a),L.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:l,ref:o,style:{outline:0}},n))}d$e.displayName="@mantine/core/MenuDropdown";var mSt=Object.defineProperty,pSt=Object.defineProperties,ASt=Object.getOwnPropertyDescriptors,RAe=Object.getOwnPropertySymbols,gSt=Object.prototype.hasOwnProperty,vSt=Object.prototype.propertyIsEnumerable,$Ae=(e,t,n)=>t in e?mSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ySt=(e,t)=>{for(var n in t||(t={}))gSt.call(t,n)&&$Ae(e,n,t[n]);if(RAe)for(var n of RAe(t))vSt.call(t,n)&&$Ae(e,n,t[n]);return e},bSt=(e,t)=>pSt(e,ASt(t)),xSt=ln((e,{color:t,radius:n})=>({item:bSt(ySt({},e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",fontSize:e.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:`${e.spacing.xs} ${e.spacing.sm}`,cursor:"pointer",borderRadius:e.fn.radius(n),color:t?e.fn.variant({variant:"filled",primaryFallback:!1,color:t}).background:e.colorScheme==="dark"?e.colors.dark[0]:e.black,display:"flex",alignItems:"center","&:disabled":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:t?e.fn.variant({variant:"light",color:t}).background:e.colorScheme==="dark"?e.fn.rgba(e.colors.dark[3],.35):e.colors.gray[1]}}),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:e.spacing.xs},itemRightSection:{}})),wSt=Object.defineProperty,kSt=Object.defineProperties,SSt=Object.getOwnPropertyDescriptors,h4=Object.getOwnPropertySymbols,f$e=Object.prototype.hasOwnProperty,h$e=Object.prototype.propertyIsEnumerable,LAe=(e,t,n)=>t in e?wSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CSt=(e,t)=>{for(var n in t||(t={}))f$e.call(t,n)&&LAe(e,n,t[n]);if(h4)for(var n of h4(t))h$e.call(t,n)&&LAe(e,n,t[n]);return e},_St=(e,t)=>kSt(e,SSt(t)),NSt=(e,t)=>{var n={};for(var r in e)f$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&h4)for(var r of h4(e))t.indexOf(r)<0&&h$e.call(e,r)&&(n[r]=e[r]);return n};const ESt={},m$e=w.forwardRef((e,t)=>{const n=Qt("MenuItem",ESt,e),{children:r,className:i,color:a,closeMenuOnClick:o,icon:s,rightSection:l}=n,c=NSt(n,["children","className","color","closeMenuOnClick","icon","rightSection"]),u=nD(),{classes:f,cx:h,theme:m}=xSt({radius:u.radius,color:a},{name:"Menu",classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant}),A=w.useRef(),p=u.getItemIndex(A.current),v=c,y=Nd(v.onMouseLeave,()=>u.setHovered(-1)),x=Nd(v.onMouseEnter,()=>u.setHovered(u.getItemIndex(A.current))),k=Nd(v.onClick,()=>{typeof o=="boolean"?o&&u.closeDropdownImmediately():u.closeOnItemClick&&u.closeDropdownImmediately()}),S=Nd(v.onFocus,()=>u.setHovered(u.getItemIndex(A.current)));return L.createElement(En,_St(CSt({component:"button",type:"button"},c),{tabIndex:-1,onFocus:S,className:h(f.item,i),ref:Vp(A,t),role:"menuitem","data-menu-item":!0,"data-hovered":u.hovered===p?!0:void 0,onMouseEnter:x,onMouseLeave:y,onClick:k,onKeyDown:_Ie({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:u.loop,dir:m.dir,orientation:"vertical",onKeyDown:v.onKeydown})}),s&&L.createElement("div",{className:f.itemIcon},s),r&&L.createElement("div",{className:f.itemLabel},r),l&&L.createElement("div",{className:f.itemRightSection},l))});m$e.displayName="@mantine/core/MenuItem";const FSt=m$e;var DSt=ln(e=>({label:{color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontWeight:500,fontSize:e.fontSizes.xs,padding:`calc(${e.spacing.xs} / 2) ${e.spacing.sm}`,cursor:"default"}})),TSt=Object.defineProperty,m4=Object.getOwnPropertySymbols,p$e=Object.prototype.hasOwnProperty,A$e=Object.prototype.propertyIsEnumerable,UAe=(e,t,n)=>t in e?TSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OSt=(e,t)=>{for(var n in t||(t={}))p$e.call(t,n)&&UAe(e,n,t[n]);if(m4)for(var n of m4(t))A$e.call(t,n)&&UAe(e,n,t[n]);return e},BSt=(e,t)=>{var n={};for(var r in e)p$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&m4)for(var r of m4(e))t.indexOf(r)<0&&A$e.call(e,r)&&(n[r]=e[r]);return n};const jSt={},g$e=w.forwardRef((e,t)=>{const n=Qt("MenuLabel",jSt,e),{children:r,className:i}=n,a=BSt(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=nD(),{classes:u,cx:f}=DSt(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return L.createElement(Jn,OSt({className:f(u.label,i),ref:t},a),r)});g$e.displayName="@mantine/core/MenuLabel";var ISt=Object.defineProperty,p4=Object.getOwnPropertySymbols,v$e=Object.prototype.hasOwnProperty,y$e=Object.prototype.propertyIsEnumerable,zAe=(e,t,n)=>t in e?ISt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,PSt=(e,t)=>{for(var n in t||(t={}))v$e.call(t,n)&&zAe(e,n,t[n]);if(p4)for(var n of p4(t))y$e.call(t,n)&&zAe(e,n,t[n]);return e},MSt=(e,t)=>{var n={};for(var r in e)v$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&p4)for(var r of p4(e))t.indexOf(r)<0&&y$e.call(e,r)&&(n[r]=e[r]);return n};const RSt={refProp:"ref"},b$e=w.forwardRef((e,t)=>{const n=Qt("MenuTarget",RSt,e),{children:r,refProp:i}=n,a=MSt(n,["children","refProp"]);if(!aC(r))throw new Error(a$e.children);const o=nD(),s=Nd(r.props.onClick,()=>o.trigger==="click"&&o.toggleDropdown()),l=Nd(r.props.onMouseEnter,()=>o.trigger==="hover"&&o.openDropdown()),c=Nd(r.props.onMouseLeave,()=>o.trigger==="hover"&&o.closeDropdown());return L.createElement(Gc.Target,PSt({refProp:i,popupType:"menu",ref:t},a),w.cloneElement(r,{onClick:s,onMouseEnter:l,onMouseLeave:c,"data-expanded":o.opened?!0:void 0}))});b$e.displayName="@mantine/core/MenuTarget";var $St=ln({dropdown:{padding:He(4)}}),LSt=Object.defineProperty,USt=Object.defineProperties,zSt=Object.getOwnPropertyDescriptors,A4=Object.getOwnPropertySymbols,x$e=Object.prototype.hasOwnProperty,w$e=Object.prototype.propertyIsEnumerable,HAe=(e,t,n)=>t in e?LSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,VAe=(e,t)=>{for(var n in t||(t={}))x$e.call(t,n)&&HAe(e,n,t[n]);if(A4)for(var n of A4(t))w$e.call(t,n)&&HAe(e,n,t[n]);return e},QAe=(e,t)=>USt(e,zSt(t)),HSt=(e,t)=>{var n={};for(var r in e)x$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&A4)for(var r of A4(e))t.indexOf(r)<0&&w$e.call(e,r)&&(n[r]=e[r]);return n};const VSt={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function zi(e){const t=Qt("Menu",VSt,e),{children:n,onOpen:r,onClose:i,opened:a,defaultOpened:o,onChange:s,closeOnItemClick:l,loop:c,closeOnEscape:u,trigger:f,openDelay:h,closeDelay:m,classNames:A,styles:p,unstyled:v,radius:y,variant:x}=t,k=HSt(t,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:S,cx:C}=$St(),[N,{setHovered:E,resetHovered:D}]=Wdt(),[T,P]=Kc({value:a,defaultValue:o,finalValue:!1,onChange:s}),O=()=>{P(!1),T&&i?.()},B=()=>{P(!0),!T&&r?.()},M=()=>T?O():B(),{openDropdown:$,closeDropdown:U}=Zwt({open:B,close:O,closeDelay:m,openDelay:h}),I=Q=>Qdt("[data-menu-item]","[data-menu-dropdown]",Q);return ql(()=>{D()},[T]),L.createElement(iSt,{value:{opened:T,toggleDropdown:M,getItemIndex:I,hovered:N,setHovered:E,closeOnItemClick:l,closeDropdown:f==="click"?O:U,openDropdown:f==="click"?B:$,closeDropdownImmediately:O,loop:c,trigger:f,radius:y,classNames:A,styles:p,unstyled:v,variant:x}},L.createElement(Gc,QAe(VAe({},k),{radius:y,opened:T,onChange:M,defaultOpened:o,trapFocus:f==="click"&&T,closeOnEscape:u&&f==="click",__staticSelector:"Menu",classNames:QAe(VAe({},A),{dropdown:C(S.dropdown,A?.dropdown)}),styles:p,unstyled:v,variant:x}),n))}zi.displayName="@mantine/core/Menu";zi.Item=FSt;zi.Label=g$e;zi.Dropdown=d$e;zi.Target=b$e;zi.Divider=l$e;const[QSt,qSt]=Wf("Modal component was not found in tree"),GSt={xs:He(320),sm:He(380),md:He(440),lg:He(620),xl:He(780)};var WSt=ln((e,{yOffset:t,xOffset:n,centered:r,fullScreen:i},{size:a})=>({content:{flex:i?"0 0 100%":`0 0 ${Tt({size:a,sizes:GSt})}`,maxWidth:"100%",maxHeight:i?void 0:`calc(100dvh - (${He(t)} * 2))`,height:i?"100vh":void 0,borderRadius:i?0:void 0,overflowY:"auto"},inner:{paddingTop:i?0:t,paddingBottom:i?0:t,paddingLeft:i?0:n,paddingRight:i?0:n,display:"flex",justifyContent:"center",alignItems:r?"center":"flex-start"}})),KSt=Object.defineProperty,YSt=Object.defineProperties,XSt=Object.getOwnPropertyDescriptors,g4=Object.getOwnPropertySymbols,k$e=Object.prototype.hasOwnProperty,S$e=Object.prototype.propertyIsEnumerable,qAe=(e,t,n)=>t in e?KSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,BY=(e,t)=>{for(var n in t||(t={}))k$e.call(t,n)&&qAe(e,n,t[n]);if(g4)for(var n of g4(t))S$e.call(t,n)&&qAe(e,n,t[n]);return e},C$e=(e,t)=>YSt(e,XSt(t)),ZSt=(e,t)=>{var n={};for(var r in e)k$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&g4)for(var r of g4(e))t.indexOf(r)<0&&S$e.call(e,r)&&(n[r]=e[r]);return n};const JSt=C$e(BY({},tD),{yOffset:"5dvh",xOffset:"5vw"});function _$e(e){const t=Qt("ModalRoot",JSt,e),{classNames:n,variant:r,size:i,yOffset:a,xOffset:o,scrollAreaComponent:s,radius:l,centered:c,fullScreen:u}=t,f=ZSt(t,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:h,cx:m}=WSt({yOffset:a,xOffset:o,centered:c,fullScreen:u},{name:"Modal",variant:r,size:i});return L.createElement(QSt,{value:{yOffset:a,scrollAreaComponent:s,radius:l}},L.createElement(xi,BY({__staticSelector:"Modal",size:i,variant:r,classNames:C$e(BY({},n),{content:m(h.content,n?.content),inner:m(h.inner,n?.inner)})},f)))}var eCt=Object.defineProperty,v4=Object.getOwnPropertySymbols,N$e=Object.prototype.hasOwnProperty,E$e=Object.prototype.propertyIsEnumerable,GAe=(e,t,n)=>t in e?eCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tCt=(e,t)=>{for(var n in t||(t={}))N$e.call(t,n)&&GAe(e,n,t[n]);if(v4)for(var n of v4(t))E$e.call(t,n)&&GAe(e,n,t[n]);return e},nCt=(e,t)=>{var n={};for(var r in e)N$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&v4)for(var r of v4(e))t.indexOf(r)<0&&E$e.call(e,r)&&(n[r]=e[r]);return n};const rCt={shadow:"xl"},F$e=w.forwardRef((e,t)=>{const n=Qt("ModalContent",rCt,e),{children:r,scrollAreaComponent:i}=n,a=nCt(n,["children","scrollAreaComponent"]),o=qSt(),s=i||o.scrollAreaComponent||xi.NativeScrollArea;return L.createElement(xi.Content,tCt({ref:t,radius:o.radius},a),L.createElement(s,{style:{maxHeight:`calc(100dvh - (${He(o.yOffset)} * 2))`}},r))});var iCt=Object.defineProperty,aCt=Object.defineProperties,oCt=Object.getOwnPropertyDescriptors,y4=Object.getOwnPropertySymbols,D$e=Object.prototype.hasOwnProperty,T$e=Object.prototype.propertyIsEnumerable,WAe=(e,t,n)=>t in e?iCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zj=(e,t)=>{for(var n in t||(t={}))D$e.call(t,n)&&WAe(e,n,t[n]);if(y4)for(var n of y4(t))T$e.call(t,n)&&WAe(e,n,t[n]);return e},sCt=(e,t)=>aCt(e,oCt(t)),lCt=(e,t)=>{var n={};for(var r in e)D$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&y4)for(var r of y4(e))t.indexOf(r)<0&&T$e.call(e,r)&&(n[r]=e[r]);return n};const cCt=sCt(zj({},tD),{transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0});function kr(e){const t=Qt("Modal",cCt,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=lCt(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return L.createElement(_$e,zj({},l),r&&L.createElement(xi.Overlay,zj({},i)),L.createElement(F$e,null,c&&L.createElement(xi.Header,null,n&&L.createElement(xi.Title,null,n),a&&L.createElement(xi.CloseButton,zj({},o))),L.createElement(xi.Body,null,s)))}kr.Root=_$e;kr.CloseButton=xi.CloseButton;kr.Overlay=xi.Overlay;kr.Content=F$e;kr.Header=xi.Header;kr.Title=xi.Title;kr.Body=xi.Body;kr.NativeScrollArea=xi.NativeScrollArea;const O$e={xs:He(16),sm:He(22),md:He(26),lg:He(30),xl:He(36)},uCt={xs:He(10),sm:He(12),md:He(14),lg:He(16),xl:He(18)};var dCt=ln((e,{disabled:t,radius:n,readOnly:r},{size:i,variant:a})=>({defaultValue:{display:"flex",alignItems:"center",backgroundColor:t?e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]:e.colorScheme==="dark"?e.colors.dark[7]:a==="filled"?e.white:e.colors.gray[1],color:t?e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7]:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],height:Tt({size:i,sizes:O$e}),paddingLeft:`calc(${Tt({size:i,sizes:e.spacing})} / 1.5)`,paddingRight:t||r?Tt({size:i,sizes:e.spacing}):0,fontWeight:500,fontSize:Tt({size:i,sizes:uCt}),borderRadius:Tt({size:n,sizes:e.radius}),cursor:t?"not-allowed":"default",userSelect:"none",maxWidth:`calc(100% - ${He(10)})`},defaultValueRemove:{color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],marginLeft:`calc(${Tt({size:i,sizes:e.spacing})} / 6)`},defaultValueLabel:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}})),fCt=Object.defineProperty,b4=Object.getOwnPropertySymbols,B$e=Object.prototype.hasOwnProperty,j$e=Object.prototype.propertyIsEnumerable,KAe=(e,t,n)=>t in e?fCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hCt=(e,t)=>{for(var n in t||(t={}))B$e.call(t,n)&&KAe(e,n,t[n]);if(b4)for(var n of b4(t))j$e.call(t,n)&&KAe(e,n,t[n]);return e},mCt=(e,t)=>{var n={};for(var r in e)B$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&b4)for(var r of b4(e))t.indexOf(r)<0&&j$e.call(e,r)&&(n[r]=e[r]);return n};const pCt={xs:16,sm:22,md:24,lg:26,xl:30};function I$e(e){var t=e,{label:n,classNames:r,styles:i,className:a,onRemove:o,disabled:s,readOnly:l,size:c,radius:u="sm",variant:f,unstyled:h}=t,m=mCt(t,["label","classNames","styles","className","onRemove","disabled","readOnly","size","radius","variant","unstyled"]);const{classes:A,cx:p}=dCt({disabled:s,readOnly:l,radius:u},{name:"MultiSelect",classNames:r,styles:i,unstyled:h,size:c,variant:f});return L.createElement("div",hCt({className:p(A.defaultValue,a)},m),L.createElement("span",{className:A.defaultValueLabel},n),!s&&!l&&L.createElement(XF,{"aria-hidden":!0,onMouseDown:o,size:pCt[c],radius:2,color:"blue",variant:"transparent",iconSize:"70%",className:A.defaultValueRemove,tabIndex:-1,unstyled:h}))}I$e.displayName="@mantine/core/MultiSelect/DefaultValue";function ACt({data:e,searchable:t,limit:n,searchValue:r,filter:i,value:a,disableSelectedItemFiltering:o}){if(!t&&a.length===0)return e;if(!t){const l=[];for(let c=0;c<e.length;c+=1)(o||!a.some(u=>u===e[c].value&&!e[c].disabled))&&l.push(e[c]);return l}const s=[];for(let l=0;l<e.length&&(i(r,!o&&a.some(c=>c===e[l].value&&!e[l].disabled),e[l])&&s.push(e[l]),!(s.length>=n));l+=1);return s}var gCt=Object.defineProperty,x4=Object.getOwnPropertySymbols,P$e=Object.prototype.hasOwnProperty,M$e=Object.prototype.propertyIsEnumerable,YAe=(e,t,n)=>t in e?gCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XAe=(e,t)=>{for(var n in t||(t={}))P$e.call(t,n)&&YAe(e,n,t[n]);if(x4)for(var n of x4(t))M$e.call(t,n)&&YAe(e,n,t[n]);return e},vCt=(e,t)=>{var n={};for(var r in e)P$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&x4)for(var r of x4(e))t.indexOf(r)<0&&M$e.call(e,r)&&(n[r]=e[r]);return n};const yCt={xs:He(14),sm:He(18),md:He(20),lg:He(24),xl:He(28)};function bCt(e){var t=e,{size:n,error:r,style:i}=t,a=vCt(t,["size","error","style"]);const o=Hu(),s=Tt({size:n,sizes:yCt});return L.createElement("svg",XAe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:XAe({color:r?o.colors.red[6]:o.colors.gray[6],width:s,height:s},i),"data-chevron":!0},a),L.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var xCt=Object.defineProperty,wCt=Object.defineProperties,kCt=Object.getOwnPropertyDescriptors,ZAe=Object.getOwnPropertySymbols,SCt=Object.prototype.hasOwnProperty,CCt=Object.prototype.propertyIsEnumerable,JAe=(e,t,n)=>t in e?xCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_Ct=(e,t)=>{for(var n in t||(t={}))SCt.call(t,n)&&JAe(e,n,t[n]);if(ZAe)for(var n of ZAe(t))CCt.call(t,n)&&JAe(e,n,t[n]);return e},NCt=(e,t)=>wCt(e,kCt(t));function R$e({shouldClear:e,clearButtonProps:t,onClear:n,size:r,error:i}){return e?L.createElement(XF,NCt(_Ct({},t),{variant:"transparent",onClick:n,size:r,onMouseDown:a=>a.preventDefault()})):L.createElement(bCt,{error:i,size:r})}R$e.displayName="@mantine/core/SelectRightSection";var ECt=Object.defineProperty,FCt=Object.defineProperties,DCt=Object.getOwnPropertyDescriptors,w4=Object.getOwnPropertySymbols,$$e=Object.prototype.hasOwnProperty,L$e=Object.prototype.propertyIsEnumerable,ege=(e,t,n)=>t in e?ECt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dz=(e,t)=>{for(var n in t||(t={}))$$e.call(t,n)&&ege(e,n,t[n]);if(w4)for(var n of w4(t))L$e.call(t,n)&&ege(e,n,t[n]);return e},tge=(e,t)=>FCt(e,DCt(t)),TCt=(e,t)=>{var n={};for(var r in e)$$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&w4)for(var r of w4(e))t.indexOf(r)<0&&L$e.call(e,r)&&(n[r]=e[r]);return n};function U$e(e){var t=e,{styles:n,rightSection:r,rightSectionWidth:i,theme:a}=t,o=TCt(t,["styles","rightSection","rightSectionWidth","theme"]);if(r)return{rightSection:r,rightSectionWidth:i,styles:n};const s=typeof n=="function"?n(a):n;return{rightSection:!o.readOnly&&!(o.disabled&&o.shouldClear)&&L.createElement(R$e,Dz({},o)),styles:tge(Dz({},s),{rightSection:tge(Dz({},s?.rightSection),{pointerEvents:o.shouldClear?void 0:"none"})})}}var OCt=Object.defineProperty,BCt=Object.defineProperties,jCt=Object.getOwnPropertyDescriptors,nge=Object.getOwnPropertySymbols,ICt=Object.prototype.hasOwnProperty,PCt=Object.prototype.propertyIsEnumerable,rge=(e,t,n)=>t in e?OCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MCt=(e,t)=>{for(var n in t||(t={}))ICt.call(t,n)&&rge(e,n,t[n]);if(nge)for(var n of nge(t))PCt.call(t,n)&&rge(e,n,t[n]);return e},RCt=(e,t)=>BCt(e,jCt(t)),$Ct=ln((e,{invalid:t},{size:n})=>({wrapper:{position:"relative","&:has(input:disabled)":{cursor:"not-allowed",pointerEvents:"none","& .mantine-MultiSelect-input":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,"&::placeholder":{color:e.colors.dark[2]}},"& .mantine-MultiSelect-defaultValue":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3],color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7]}}},values:{minHeight:`calc(${Tt({size:n,sizes:ku})} - ${He(2)})`,display:"flex",alignItems:"center",flexWrap:"wrap",marginLeft:`calc(-${e.spacing.xs} / 2)`,boxSizing:"border-box","&[data-clearable]":{marginRight:Tt({size:n,sizes:ku})}},value:{margin:`calc(${e.spacing.xs} / 2 - ${He(2)}) calc(${e.spacing.xs} / 2)`},searchInput:RCt(MCt({},e.fn.fontStyles()),{flex:1,minWidth:He(60),backgroundColor:"transparent",border:0,outline:0,fontSize:Tt({size:n,sizes:e.fontSizes}),padding:0,marginLeft:`calc(${e.spacing.xs} / 2)`,appearance:"none",color:"inherit",maxHeight:Tt({size:n,sizes:O$e}),"&::placeholder":{opacity:1,color:t?e.colors.red[e.fn.primaryShade()]:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]},"&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}),searchInputEmpty:{width:"100%"},searchInputInputHidden:{flex:0,width:0,minWidth:0,margin:0,overflow:"hidden"},searchInputPointer:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}},input:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}})),LCt=Object.defineProperty,UCt=Object.defineProperties,zCt=Object.getOwnPropertyDescriptors,k4=Object.getOwnPropertySymbols,z$e=Object.prototype.hasOwnProperty,H$e=Object.prototype.propertyIsEnumerable,ige=(e,t,n)=>t in e?LCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uw=(e,t)=>{for(var n in t||(t={}))z$e.call(t,n)&&ige(e,n,t[n]);if(k4)for(var n of k4(t))H$e.call(t,n)&&ige(e,n,t[n]);return e},age=(e,t)=>UCt(e,zCt(t)),HCt=(e,t)=>{var n={};for(var r in e)z$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&k4)for(var r of k4(e))t.indexOf(r)<0&&H$e.call(e,r)&&(n[r]=e[r]);return n};function VCt(e,t,n){return t?!1:n.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function QCt(e,t){return!!e&&!t.some(n=>n.value.toLowerCase()===e.toLowerCase())}function oge(e,t){if(!Array.isArray(e))return;if(t.length===0)return[];const n=t.map(r=>typeof r=="object"?r.value:r);return e.filter(r=>n.includes(r))}const qCt={size:"sm",valueComponent:I$e,itemComponent:Ute,transitionProps:{transition:"fade",duration:0},maxDropdownHeight:220,shadow:"sm",searchable:!1,filter:VCt,limit:1/0,clearSearchOnChange:!0,clearable:!1,clearSearchOnBlur:!1,disabled:!1,initiallyOpened:!1,creatable:!1,shouldCreate:QCt,switchDirectionOnFlip:!1,zIndex:Hp("popover"),selectOnBlur:!1,positionDependencies:[],dropdownPosition:"flip"},kl=w.forwardRef((e,t)=>{const n=Qt("MultiSelect",qCt,e),{className:r,style:i,required:a,label:o,description:s,size:l,error:c,classNames:u,styles:f,wrapperProps:h,value:m,defaultValue:A,data:p,onChange:v,valueComponent:y,itemComponent:x,id:k,transitionProps:S,maxDropdownHeight:C,shadow:N,nothingFound:E,onFocus:D,onBlur:T,searchable:P,placeholder:O,filter:B,limit:M,clearSearchOnChange:$,clearable:U,clearSearchOnBlur:I,variant:Q,onSearchChange:G,searchValue:X,disabled:he,initiallyOpened:ne,radius:H,icon:W,rightSection:q,rightSectionWidth:Z,creatable:re,getCreateLabel:te,shouldCreate:ue,onCreate:fe,sx:ge,dropdownComponent:oe,onDropdownClose:J,onDropdownOpen:Se,maxSelectedValues:ye,withinPortal:xe,portalProps:pe,switchDirectionOnFlip:K,zIndex:ie,selectOnBlur:le,name:ce,dropdownPosition:ve,errorProps:be,labelProps:$e,descriptionProps:je,form:Re,positionDependencies:Ke,onKeyDown:rt,unstyled:ct,inputContainer:St,inputWrapperOrder:Ae,readOnly:ee,withAsterisk:se,clearButtonProps:Ne,hoverOnSearchChange:Fe,disableSelectedItemFiltering:Ue}=n,De=HCt(n,["className","style","required","label","description","size","error","classNames","styles","wrapperProps","value","defaultValue","data","onChange","valueComponent","itemComponent","id","transitionProps","maxDropdownHeight","shadow","nothingFound","onFocus","onBlur","searchable","placeholder","filter","limit","clearSearchOnChange","clearable","clearSearchOnBlur","variant","onSearchChange","searchValue","disabled","initiallyOpened","radius","icon","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","onCreate","sx","dropdownComponent","onDropdownClose","onDropdownOpen","maxSelectedValues","withinPortal","portalProps","switchDirectionOnFlip","zIndex","selectOnBlur","name","dropdownPosition","errorProps","labelProps","descriptionProps","form","positionDependencies","onKeyDown","unstyled","inputContainer","inputWrapperOrder","readOnly","withAsterisk","clearButtonProps","hoverOnSearchChange","disableSelectedItemFiltering"]),{classes:Le,cx:ot,theme:Ze}=$Ct({invalid:!!c},{name:"MultiSelect",classNames:u,styles:f,unstyled:ct,size:l,variant:Q}),{systemStyles:et,rest:st}=cC(De),Mt=w.useRef(),wt=w.useRef({}),kt=Rx(k),[nn,un]=w.useState(ne),[hn,Gn]=w.useState(-1),[Be,We]=w.useState("column"),[it,vt]=Kc({value:X,defaultValue:"",finalValue:void 0,onChange:G}),[Bt,Kt]=w.useState(!1),{scrollIntoView:Wt,targetRef:Zt,scrollableRef:An}=iPe({duration:0,offset:5,cancelable:!1,isList:!0}),mn=re&&typeof te=="function";let At=null;const It=p.map(Sn=>typeof Sn=="string"?{label:Sn,value:Sn}:Sn),pn=EIe({data:It}),[dn,Lr]=Kc({value:oge(m,p),defaultValue:oge(A,p),finalValue:[],onChange:v}),Hr=w.useRef(!!ye&&ye<dn.length),pr=Sn=>{if(!ee){const Ur=dn.filter(Yr=>Yr!==Sn);Lr(Ur),ye&&Ur.length<ye&&(Hr.current=!1)}},yr=Sn=>{vt(Sn.currentTarget.value),!he&&!Hr.current&&P&&un(!0)},No=Sn=>{typeof D=="function"&&D(Sn),!he&&!Hr.current&&P&&un(!0)},qr=ACt({data:pn,searchable:P,searchValue:it,limit:M,filter:B,value:dn,disableSelectedItemFiltering:Ue});mn&&ue(it,pn)&&(At=te(it),qr.push({label:it,value:it,creatable:!0}));const qi=Math.min(hn,qr.length-1),uo=(Sn,Ur,Yr)=>{let Da=Sn;for(;Yr(Da);)if(Da=Ur(Da),!qr[Da].disabled)return Da;return Sn};ql(()=>{Gn(Fe&&it?0:-1)},[it,Fe]),ql(()=>{!he&&dn.length>p.length&&un(!1),ye&&dn.length<ye&&(Hr.current=!1),ye&&dn.length>=ye&&(Hr.current=!0,un(!1))},[dn]);const Yo=Sn=>{if(!ee)if($&&vt(""),dn.includes(Sn.value))pr(Sn.value);else{if(Sn.creatable&&typeof fe=="function"){const Ur=fe(Sn.value);typeof Ur<"u"&&Ur!==null&&Lr(typeof Ur=="string"?[...dn,Ur]:[...dn,Ur.value])}else Lr([...dn,Sn.value]);dn.length===ye-1&&(Hr.current=!0,un(!1)),qr.length===1&&un(!1)}},Ii=Sn=>{typeof T=="function"&&T(Sn),le&&qr[qi]&&nn&&Yo(qr[qi]),I&&vt(""),un(!1)},_l=Sn=>{if(Bt||(rt?.(Sn),ee)||Sn.key!=="Backspace"&&ye&&Hr.current)return;const Ur=Be==="column",Yr=()=>{Gn($s=>{var zr;const fo=uo($s,_c=>_c+1,_c=>_c<qr.length-1);return nn&&(Zt.current=wt.current[(zr=qr[fo])==null?void 0:zr.value],Wt({alignment:Ur?"end":"start"})),fo})},Da=()=>{Gn($s=>{var zr;const fo=uo($s,_c=>_c-1,_c=>_c>0);return nn&&(Zt.current=wt.current[(zr=qr[fo])==null?void 0:zr.value],Wt({alignment:Ur?"start":"end"})),fo})};switch(Sn.key){case"ArrowUp":{Sn.preventDefault(),un(!0),Ur?Da():Yr();break}case"ArrowDown":{Sn.preventDefault(),un(!0),Ur?Yr():Da();break}case"Enter":{Sn.preventDefault(),qr[qi]&&nn?Yo(qr[qi]):un(!0);break}case" ":{P||(Sn.preventDefault(),qr[qi]&&nn?Yo(qr[qi]):un(!0));break}case"Backspace":{dn.length>0&&it.length===0&&(Lr(dn.slice(0,-1)),un(!0),ye&&(Hr.current=!1));break}case"Home":{if(!P){Sn.preventDefault(),nn||un(!0);const $s=qr.findIndex(zr=>!zr.disabled);Gn($s),Wt({alignment:Ur?"end":"start"})}break}case"End":{if(!P){Sn.preventDefault(),nn||un(!0);const $s=qr.map(zr=>!!zr.disabled).lastIndexOf(!1);Gn($s),Wt({alignment:Ur?"end":"start"})}break}case"Escape":un(!1)}},Eo=dn.map(Sn=>{let Ur=pn.find(Yr=>Yr.value===Sn&&!Yr.disabled);return!Ur&&mn&&(Ur={value:Sn,label:Sn}),Ur}).filter(Sn=>!!Sn).map((Sn,Ur)=>L.createElement(y,age(uw({},Sn),{variant:Q,disabled:he,className:Le.value,readOnly:ee,onRemove:Yr=>{Yr.preventDefault(),Yr.stopPropagation(),pr(Sn.value)},key:Sn.value,size:l,styles:f,classNames:u,radius:H,index:Ur}))),xs=Sn=>dn.includes(Sn),Ar=()=>{var Sn;vt(""),Lr([]),(Sn=Mt.current)==null||Sn.focus(),ye&&(Hr.current=!1)},Xi=!ee&&(qr.length>0?nn:nn&&!!E);return ql(()=>{const Sn=Xi?Se:J;typeof Sn=="function"&&Sn()},[Xi]),L.createElement(Gl.Wrapper,uw(uw({required:a,id:kt,label:o,error:c,description:s,size:l,className:r,style:i,classNames:u,styles:f,__staticSelector:"MultiSelect",sx:ge,errorProps:be,descriptionProps:je,labelProps:$e,inputContainer:St,inputWrapperOrder:Ae,unstyled:ct,withAsterisk:se,variant:Q},et),h),L.createElement(ly,{opened:Xi,transitionProps:S,shadow:"sm",withinPortal:xe,portalProps:pe,__staticSelector:"MultiSelect",onDirectionChange:We,switchDirectionOnFlip:K,zIndex:ie,dropdownPosition:ve,positionDependencies:[...Ke,it],classNames:u,styles:f,unstyled:ct,variant:Q},L.createElement(ly.Target,null,L.createElement("div",{className:Le.wrapper,role:"combobox","aria-haspopup":"listbox","aria-owns":nn&&Xi?`${kt}-items`:null,"aria-controls":kt,"aria-expanded":nn,onMouseLeave:()=>Gn(-1),tabIndex:-1},L.createElement("input",{type:"hidden",name:ce,value:dn.join(","),form:Re,disabled:he}),L.createElement(Gl,uw({__staticSelector:"MultiSelect",style:{overflow:"hidden"},component:"div",multiline:!0,size:l,variant:Q,disabled:he,error:c,required:a,radius:H,icon:W,unstyled:ct,onMouseDown:Sn=>{var Ur;Sn.preventDefault(),!he&&!Hr.current&&un(!nn),(Ur=Mt.current)==null||Ur.focus()},classNames:age(uw({},u),{input:ot({[Le.input]:!P},u?.input)})},U$e({theme:Ze,rightSection:q,rightSectionWidth:Z,styles:f,size:l,shouldClear:U&&dn.length>0,onClear:Ar,error:c,disabled:he,clearButtonProps:Ne,readOnly:ee})),L.createElement("div",{className:Le.values,"data-clearable":U||void 0},Eo,L.createElement("input",uw({ref:Vp(t,Mt),type:"search",id:kt,className:ot(Le.searchInput,{[Le.searchInputPointer]:!P,[Le.searchInputInputHidden]:!nn&&dn.length>0||!P&&dn.length>0,[Le.searchInputEmpty]:dn.length===0}),onKeyDown:_l,value:it,onChange:yr,onFocus:No,onBlur:Ii,readOnly:!P||Hr.current||ee,placeholder:dn.length===0?O:void 0,disabled:he,"data-mantine-stop-propagation":nn,autoComplete:"off",onCompositionStart:()=>Kt(!0),onCompositionEnd:()=>Kt(!1)},st)))))),L.createElement(ly.Dropdown,{component:oe||X$,maxHeight:C,direction:Be,id:kt,innerRef:An,__staticSelector:"MultiSelect",classNames:u,styles:f},L.createElement(Lte,{data:qr,hovered:qi,classNames:u,styles:f,uuid:kt,__staticSelector:"MultiSelect",onItemHover:Gn,onItemSelect:Yo,itemsRefs:wt,itemComponent:x,size:l,nothingFound:E,isItemSelected:xs,creatable:re&&!!At,createLabel:At,unstyled:ct,variant:Q}))))});kl.displayName="@mantine/core/MultiSelect";var GCt=Object.defineProperty,WCt=Object.defineProperties,KCt=Object.getOwnPropertyDescriptors,sge=Object.getOwnPropertySymbols,YCt=Object.prototype.hasOwnProperty,XCt=Object.prototype.propertyIsEnumerable,lge=(e,t,n)=>t in e?GCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jY=(e,t)=>{for(var n in t||(t={}))YCt.call(t,n)&&lge(e,n,t[n]);if(sge)for(var n of sge(t))XCt.call(t,n)&&lge(e,n,t[n]);return e},ZCt=(e,t)=>WCt(e,KCt(t));const JCt=["filled","light","subtle"];function e_t({theme:e,variant:t,color:n}){if(!JCt.includes(t))return null;const r=e.fn.variant({variant:t,color:n});return{"&[data-active]":jY({backgroundColor:r.background,color:r.color},e.fn.hover({backgroundColor:r.hover}))}}var t_t=ln((e,{noWrap:t,childrenOffset:n,alignIcon:r,color:i},{variant:a})=>({root:ZCt(jY(jY({display:"flex",alignItems:"center",width:"100%",padding:`${He(8)} ${e.spacing.sm}`,userSelect:"none"},e_t({theme:e,variant:a,color:i})),e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-disabled]":{opacity:.4,pointerEvents:"none"}}),icon:{marginRight:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",alignSelf:r==="center"?"center":"flex-start",paddingTop:r==="center"?void 0:He(4)},rightSection:{marginLeft:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",transition:`transform 150ms ${e.transitionTimingFunction}`,"&[data-rotate]":{transform:"rotate(90deg)"}},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:t?"nowrap":void 0},label:{},description:{display:"block","&[data-active]":{color:"inherit"}},children:{paddingLeft:Tt({size:n,sizes:e.spacing})}})),n_t=Object.defineProperty,S4=Object.getOwnPropertySymbols,V$e=Object.prototype.hasOwnProperty,Q$e=Object.prototype.propertyIsEnumerable,cge=(e,t,n)=>t in e?n_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r_t=(e,t)=>{for(var n in t||(t={}))V$e.call(t,n)&&cge(e,n,t[n]);if(S4)for(var n of S4(t))Q$e.call(t,n)&&cge(e,n,t[n]);return e},i_t=(e,t)=>{var n={};for(var r in e)V$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&S4)for(var r of S4(e))t.indexOf(r)<0&&Q$e.call(e,r)&&(n[r]=e[r]);return n};const a_t={variant:"light",childrenOffset:"lg"},q$e=w.forwardRef((e,t)=>{const n=Qt("NavLink",a_t,e),{label:r,description:i,icon:a,rightSection:o,className:s,classNames:l,styles:c,unstyled:u,active:f,color:h,variant:m,noWrap:A,children:p,opened:v,defaultOpened:y,onChange:x,disableRightSectionRotation:k,childrenOffset:S,disabled:C,onClick:N}=n,E=i_t(n,["label","description","icon","rightSection","className","classNames","styles","unstyled","active","color","variant","noWrap","children","opened","defaultOpened","onChange","disableRightSectionRotation","childrenOffset","disabled","onClick"]),{classes:D,cx:T}=t_t({color:h,noWrap:A,childrenOffset:S,alignIcon:i?"top":"center"},{name:"NavLink",classNames:l,styles:c,unstyled:u,variant:m}),[P,O]=Kc({value:v,defaultValue:y,finalValue:!1,onChange:x}),B=!!p,M=$=>{B?($.preventDefault(),N?.($),O(!P)):N?.($)};return L.createElement(L.Fragment,null,L.createElement(Td,r_t({ref:t,className:T(D.root,s),"data-active":f||void 0,onClick:M,unstyled:u,"data-expanded":P||void 0,"data-disabled":C||void 0,disabled:C},E),a&&L.createElement("span",{className:D.icon},a),L.createElement("span",{className:D.body},L.createElement(Jn,{component:"span",size:"sm",className:D.label},r),L.createElement(Jn,{component:"span",color:"dimmed",size:"xs","data-active":f||void 0,className:D.description},i)),(B||o)&&L.createElement("span",{className:D.rightSection,"data-rotate":P&&!k||void 0},B?o||L.createElement(iE,{width:He(14),height:He(14),style:{transform:"rotate(-90deg)"}}):o)),L.createElement(G$,{in:P},L.createElement("div",{className:D.children},p)))});q$e.displayName="@mantine/core/NavLink";const em=q$e,o_t=(e,t,n)=>Number.isInteger(e)&&e>=0&&t===0?"numeric":!Number.isInteger(e)&&e>=0&&t!==0?"decimal":Number.isInteger(e)&&e<0&&t===0||!Number.isInteger(e)&&e<0&&t!==0?n==="ios"?"text":"decimal":"numeric";function uge({direction:e,size:t}){return L.createElement("svg",{style:{width:He(t),height:He(t),transform:e==="up"?"rotate(180deg)":void 0},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}const G$e={xs:He(20),sm:He(24),md:He(30),lg:He(34),xl:He(36)};var s_t=ln((e,{radius:t},{size:n})=>({rightSection:{display:"flex",flexDirection:"column",height:`calc(100% - ${He(2)})`,margin:He(1),overflow:"hidden",borderTopRightRadius:e.fn.radius(t),borderBottomRightRadius:e.fn.radius(t)},control:{margin:0,position:"relative",flex:"0 0 50%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:Tt({size:n,sizes:G$e}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderLeft:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:He(1),color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,"&:not(:disabled):hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[0]},"&:disabled":{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[4]}},controlUp:{},controlDown:{borderBottom:0}})),l_t=Object.defineProperty,c_t=Object.defineProperties,u_t=Object.getOwnPropertyDescriptors,C4=Object.getOwnPropertySymbols,W$e=Object.prototype.hasOwnProperty,K$e=Object.prototype.propertyIsEnumerable,dge=(e,t,n)=>t in e?l_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tz=(e,t)=>{for(var n in t||(t={}))W$e.call(t,n)&&dge(e,n,t[n]);if(C4)for(var n of C4(t))K$e.call(t,n)&&dge(e,n,t[n]);return e},d_t=(e,t)=>c_t(e,u_t(t)),f_t=(e,t)=>{var n={};for(var r in e)W$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&C4)for(var r of C4(e))t.indexOf(r)<0&&K$e.call(e,r)&&(n[r]=e[r]);return n};const h_t={type:"text",size:"sm",__staticSelector:"TextInput"},une=w.forwardRef((e,t)=>{const n=i3("TextInput",h_t,e),{inputProps:r,wrapperProps:i}=n,a=f_t(n,["inputProps","wrapperProps"]);return L.createElement(Gl.Wrapper,Tz({},i),L.createElement(Gl,d_t(Tz(Tz({},r),a),{ref:t})))});une.displayName="@mantine/core/TextInput";var m_t=Object.defineProperty,p_t=Object.defineProperties,A_t=Object.getOwnPropertyDescriptors,_4=Object.getOwnPropertySymbols,Y$e=Object.prototype.hasOwnProperty,X$e=Object.prototype.propertyIsEnumerable,fge=(e,t,n)=>t in e?m_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g_t=(e,t)=>{for(var n in t||(t={}))Y$e.call(t,n)&&fge(e,n,t[n]);if(_4)for(var n of _4(t))X$e.call(t,n)&&fge(e,n,t[n]);return e},v_t=(e,t)=>p_t(e,A_t(t)),y_t=(e,t)=>{var n={};for(var r in e)Y$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&_4)for(var r of _4(e))t.indexOf(r)<0&&X$e.call(e,r)&&(n[r]=e[r]);return n};const b_t=e=>e||"",x_t=e=>{if(e==="-")return e;let t=e;t[0]==="."&&(t=`0${e}`);const n=parseFloat(t);return Number.isNaN(n)?"":e},hge={xs:He(10),sm:He(14),md:He(16),lg:He(18),xl:He(20)},w_t={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:b_t,parser:x_t,type:"text"},Ml=w.forwardRef((e,t)=>{const n=Qt("NumberInput",w_t,e),{readOnly:r,disabled:i,value:a,onChange:o,decimalSeparator:s,thousandsSeparator:l,min:c,max:u,startValue:f,step:h,stepHoldInterval:m,stepHoldDelay:A,onFocus:p,onBlur:v,onKeyDown:y,onKeyUp:x,hideControls:k,radius:S,variant:C,precision:N,removeTrailingZeros:E,defaultValue:D,noClampOnBlur:T,handlersRef:P,classNames:O,styles:B,size:M,rightSection:$,rightSectionWidth:U,formatter:I,parser:Q,inputMode:G,unstyled:X,type:he}=n,ne=y_t(n,["readOnly","disabled","value","onChange","decimalSeparator","thousandsSeparator","min","max","startValue","step","stepHoldInterval","stepHoldDelay","onFocus","onBlur","onKeyDown","onKeyUp","hideControls","radius","variant","precision","removeTrailingZeros","defaultValue","noClampOnBlur","handlersRef","classNames","styles","size","rightSection","rightSectionWidth","formatter","parser","inputMode","unstyled","type"]),{classes:H,cx:W}=s_t({radius:S},{classNames:O,styles:B,unstyled:X,name:"NumberInput",variant:C,size:M}),q=Fe=>{if(Fe==="")return"";let Ue=Fe.toFixed(N);return E&&N>0&&(Ue=Ue.replace(new RegExp(`[0]{0,${N}}$`),""),Ue.endsWith(".")&&(Ue=Ue.slice(0,-1))),Ue},Z=Fe=>{let Ue=Fe;return s&&(Ue=Ue.replace(".",s)),I(Ue)},re=Fe=>{let Ue=Fe;return s&&(Ue=Ue.replaceAll(l,"").replace(s,".")),Q(Ue)},te=Fe=>Z(q(Fe)),[ue,fe]=w.useState(typeof a=="number"?a:typeof D=="number"?D:""),[ge,oe]=w.useState(()=>te(ue)),J=w.useRef(),[Se,ye]=w.useState(!1),xe=(Fe,Ue)=>{if(!Se||Ue){const De=te(Fe);De!==ge&&oe(De)}Fe!==ue&&fe(Fe)},pe=typeof c=="number"?c:-1/0,K=typeof u=="number"?u:1/0,ie=w.useRef();ie.current=()=>{var Fe;let Ue;ue===""?Ue=(Fe=f??c)!=null?Fe:0:Ue=parseFloat(q(A2(ue+h,pe,K))),xe(Ue,!0),o?.(Ue)};const le=w.useRef();le.current=()=>{var Fe;let Ue;ue===""?Ue=(Fe=f??c)!=null?Fe:0:Ue=parseFloat(q(A2(ue-h,pe,K))),xe(Ue,!0),o?.(Ue)},Q$(P,{increment:ie.current,decrement:le.current}),w.useEffect(()=>{Se||xe(a===void 0?ue:a,!0)},[a,Se]);const ce=A!==void 0&&m!==void 0,ve=w.useRef(null),be=w.useRef(0),$e=()=>{ve.current&&window.clearTimeout(ve.current),ve.current=null,be.current=0},je=Fe=>{Fe?ie.current():le.current(),be.current+=1},Re=Fe=>{if(je(Fe),ce){const Ue=typeof m=="number"?m:m(be.current);ve.current=window.setTimeout(()=>Re(Fe),Ue)}},Ke=(Fe,Ue)=>{Fe.preventDefault(),J.current.focus(),je(Ue),ce&&(ve.current=window.setTimeout(()=>Re(Ue),A))};w.useEffect(()=>($e(),$e),[]);const rt=L.createElement("div",{className:H.rightSection},L.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:ue>=u,className:W(H.control,H.controlUp),onPointerDown:Fe=>{Ke(Fe,!0)},onPointerUp:$e,onPointerLeave:$e},L.createElement(uge,{size:Tt({size:M,sizes:hge}),direction:"up"})),L.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:ue<=c,className:W(H.control,H.controlDown),onPointerDown:Fe=>{Ke(Fe,!1)},onPointerUp:$e,onPointerLeave:$e},L.createElement(uge,{size:Tt({size:M,sizes:hge}),direction:"down"}))),ct=Fe=>{let Ue=Fe;(Ue[0]===`${s}`||Ue[0]===".")&&(Ue=`0${Ue}`);const De=parseFloat(q(parseFloat(re(Ue)))),Le=T?De:A2(De,pe,K),ot=Number.isNaN(Le)?"":Le,Ze=ue!==ot;oe(Fe),xe(ot),Ze&&o?.(ot)},St=Fe=>{Fe.nativeEvent.isComposing||ct(Fe.target.value)},Ae=Fe=>{ye(!0),p?.(Fe)},ee=Fe=>{ye(!1),v?.(Fe)},se=Fe=>{if(typeof y=="function"&&y(Fe),Fe.repeat&&ce&&(Fe.key==="ArrowUp"||Fe.key==="ArrowDown")){Fe.preventDefault();return}r||(Fe.key==="ArrowUp"?Ke(Fe,!0):Fe.key==="ArrowDown"&&Ke(Fe,!1))},Ne=Fe=>{typeof x=="function"&&x(Fe),(Fe.key==="ArrowUp"||Fe.key==="ArrowDown")&&$e()};return L.createElement(une,v_t(g_t({},ne),{type:he,variant:C,value:ge,disabled:i,readOnly:r,ref:Vp(J,t),onChange:St,onFocus:Ae,onBlur:ee,onKeyDown:se,onKeyUp:Ne,rightSection:$||(i||r||k||C==="unstyled"?null:rt),rightSectionWidth:U??`calc(${Tt({size:M,sizes:G$e})} + ${He(1)})`,radius:S,max:u,min:c,step:h,size:M,styles:B,classNames:O,inputMode:G||o_t(h,N,kmt()),__staticSelector:"NumberInput",unstyled:X}))});Ml.displayName="@mantine/core/NumberInput";const[k_t,o3]=Wf("Pagination.Root component was not found in tree"),S_t={siblings:1,boundaries:1};function Z$e(e){const{total:t,value:n,defaultValue:r,onChange:i,disabled:a,children:o,siblings:s,boundaries:l,color:c,radius:u,onNextPage:f,onPreviousPage:h,onFirstPage:m,onLastPage:A,getItemProps:p,classNames:v,styles:y,unstyled:x,variant:k,size:S}=Qt("PaginationRoot",S_t,e),{range:C,setPage:N,next:E,previous:D,active:T,first:P,last:O}=vmt({page:n,initialPage:r,onChange:i,total:t,siblings:s,boundaries:l}),B=Nd(f,E),M=Nd(h,D),$=Nd(m,P),U=Nd(A,O);return L.createElement(k_t,{value:{total:t,range:C,active:T,disabled:a,color:c,radius:u,getItemProps:p,onChange:N,onNext:B,onPrevious:M,onFirst:$,onLast:U,stylesApi:{name:"Pagination",classNames:v,styles:y,unstyled:x,variant:k,size:S}}},o)}const oE={xs:He(22),sm:He(26),md:He(32),lg:He(38),xl:He(44)};var C_t=ln((e,{color:t,radius:n,withPadding:r},{size:i})=>{const a=e.fn.variant({color:t,variant:"filled"});return{control:{cursor:"pointer",userSelect:"none",display:"flex",alignItems:"center",justifyContent:"center",border:`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,height:Tt({size:i,sizes:oE}),minWidth:Tt({size:i,sizes:oE}),padding:r?`0 calc(${Tt({size:i,sizes:e.spacing})} / 2)`:void 0,fontSize:Tt({size:i,sizes:e.fontSizes}),borderRadius:e.fn.radius(n),lineHeight:1,backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,"&:not([data-disabled])":e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[0]}),"&:active:not([data-disabled])":e.activeStyles,"&[data-disabled]":{opacity:.4,cursor:"not-allowed",pointerEvents:"none"},"&[data-active]":{borderColor:"transparent",color:a.color,backgroundColor:a.background,"&:not([data-disabled])":e.fn.hover({backgroundColor:a.hover})}}}}),__t=Object.defineProperty,N_t=Object.defineProperties,E_t=Object.getOwnPropertyDescriptors,N4=Object.getOwnPropertySymbols,J$e=Object.prototype.hasOwnProperty,e3e=Object.prototype.propertyIsEnumerable,mge=(e,t,n)=>t in e?__t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F_t=(e,t)=>{for(var n in t||(t={}))J$e.call(t,n)&&mge(e,n,t[n]);if(N4)for(var n of N4(t))e3e.call(t,n)&&mge(e,n,t[n]);return e},D_t=(e,t)=>N_t(e,E_t(t)),T_t=(e,t)=>{var n={};for(var r in e)J$e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&N4)for(var r of N4(e))t.indexOf(r)<0&&e3e.call(e,r)&&(n[r]=e[r]);return n};const O_t={withPadding:!0},s3=w.forwardRef((e,t)=>{const n=Qt("PaginationControl",O_t,e),{active:r,className:i,disabled:a,withPadding:o}=n,s=T_t(n,["active","className","disabled","withPadding"]),l=o3(),{classes:c,cx:u}=C_t({color:l.color,radius:l.radius,withPadding:o},l.stylesApi);return L.createElement(Td,D_t(F_t({},s),{disabled:a,"data-active":r||void 0,"data-disabled":a||void 0,ref:t,className:u(c.control,i)}))});s3.displayName="@mantine/core/PaginationControl";var B_t=Object.defineProperty,j_t=Object.defineProperties,I_t=Object.getOwnPropertyDescriptors,E4=Object.getOwnPropertySymbols,t3e=Object.prototype.hasOwnProperty,n3e=Object.prototype.propertyIsEnumerable,pge=(e,t,n)=>t in e?B_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ax=(e,t)=>{for(var n in t||(t={}))t3e.call(t,n)&&pge(e,n,t[n]);if(E4)for(var n of E4(t))n3e.call(t,n)&&pge(e,n,t[n]);return e},rD=(e,t)=>j_t(e,I_t(t)),P_t=(e,t)=>{var n={};for(var r in e)t3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&E4)for(var r of E4(e))t.indexOf(r)<0&&n3e.call(e,r)&&(n[r]=e[r]);return n};function r3e(e){return`calc(${Tt({size:e,sizes:oE})} / 2)`}function iD(e){var t=e,{size:n,style:r,children:i,path:a}=t,o=P_t(t,["size","style","children","path"]);return L.createElement("svg",ax({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",style:ax({width:n,height:n},r)},o),L.createElement("path",{d:a,fill:"currentColor"}))}const M_t=e=>L.createElement(iD,rD(ax({},e),{path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"})),R_t=e=>L.createElement(iD,rD(ax({},e),{path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"})),$_t=e=>L.createElement(iD,rD(ax({},e),{path:"M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z"})),L_t=e=>L.createElement(iD,rD(ax({},e),{path:"M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z"})),U_t=e=>L.createElement(iD,rD(ax({},e),{path:"M2 8c0-.733.6-1.333 1.333-1.333.734 0 1.334.6 1.334 1.333s-.6 1.333-1.334 1.333C2.6 9.333 2 8.733 2 8zm9.333 0c0-.733.6-1.333 1.334-1.333C13.4 6.667 14 7.267 14 8s-.6 1.333-1.333 1.333c-.734 0-1.334-.6-1.334-1.333zM6.667 8c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 9.333 8 9.333 6.667 8.733 6.667 8z"}));var z_t=ln((e,t,{size:n})=>({dots:{height:Tt({size:n,sizes:oE}),minWidth:Tt({size:n,sizes:oE}),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}})),H_t=Object.defineProperty,F4=Object.getOwnPropertySymbols,i3e=Object.prototype.hasOwnProperty,a3e=Object.prototype.propertyIsEnumerable,Age=(e,t,n)=>t in e?H_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V_t=(e,t)=>{for(var n in t||(t={}))i3e.call(t,n)&&Age(e,n,t[n]);if(F4)for(var n of F4(t))a3e.call(t,n)&&Age(e,n,t[n]);return e},Q_t=(e,t)=>{var n={};for(var r in e)i3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&F4)for(var r of F4(e))t.indexOf(r)<0&&a3e.call(e,r)&&(n[r]=e[r]);return n};const q_t={icon:U_t},dne=w.forwardRef((e,t)=>{const n=Qt("PaginationDots",q_t,e),{className:r,icon:i}=n,a=Q_t(n,["className","icon"]),o=o3(),{classes:s,cx:l}=z_t(null,o.stylesApi);return L.createElement(En,V_t({ref:t,className:l(s.dots,r)},a),L.createElement(i,{size:r3e(o.stylesApi.size)}))});dne.displayName="@mantine/core/PaginationDots";var G_t=Object.defineProperty,gge=Object.getOwnPropertySymbols,W_t=Object.prototype.hasOwnProperty,K_t=Object.prototype.propertyIsEnumerable,vge=(e,t,n)=>t in e?G_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y_t=(e,t)=>{for(var n in t||(t={}))W_t.call(t,n)&&vge(e,n,t[n]);if(gge)for(var n of gge(t))K_t.call(t,n)&&vge(e,n,t[n]);return e};function fne({dotsIcon:e}){const t=o3(),n=t.range.map((r,i)=>{var a;return r==="dots"?L.createElement(dne,{icon:e,key:i}):L.createElement(s3,Y_t({key:i,active:r===t.active,"aria-current":r===t.active?"page":void 0,onClick:()=>t.onChange(r),disabled:t.disabled},(a=t.getItemProps)==null?void 0:a.call(t,r)),r)});return L.createElement(L.Fragment,null,n)}fne.displayName="@mantine/core/PaginationItems";var X_t=ln(e=>({icon:{transform:e.dir==="rtl"?"rotate(180deg)":"unset"}})),Z_t=Object.defineProperty,D4=Object.getOwnPropertySymbols,o3e=Object.prototype.hasOwnProperty,s3e=Object.prototype.propertyIsEnumerable,yge=(e,t,n)=>t in e?Z_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J_t=(e,t)=>{for(var n in t||(t={}))o3e.call(t,n)&&yge(e,n,t[n]);if(D4)for(var n of D4(t))s3e.call(t,n)&&yge(e,n,t[n]);return e},eNt=(e,t)=>{var n={};for(var r in e)o3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&D4)for(var r of D4(e))t.indexOf(r)<0&&s3e.call(e,r)&&(n[r]=e[r]);return n};function l3({icon:e,name:t,action:n,type:r}){const i={icon:e},a=w.forwardRef((o,s)=>{const l=Qt(t,i,o),{icon:c}=l,u=eNt(l,["icon"]),{classes:f}=X_t(),h=o3(),m=r==="next"?h.active===h.total:h.active===1;return L.createElement(s3,J_t({disabled:h.disabled||m,ref:s,onClick:h[n],withPadding:!1},u),L.createElement(c,{className:f.icon,size:r3e(h.stylesApi.size)}))});return a.displayName=`@mantine/core/${t}`,a}const l3e=l3({icon:M_t,name:"PaginationNext",action:"onNext",type:"next"}),c3e=l3({icon:R_t,name:"PaginationPrevious",action:"onPrevious",type:"previous"}),u3e=l3({icon:$_t,name:"PaginationFirst",action:"onFirst",type:"previous"}),d3e=l3({icon:L_t,name:"PaginationLast",action:"onLast",type:"next"});var tNt=Object.defineProperty,T4=Object.getOwnPropertySymbols,f3e=Object.prototype.hasOwnProperty,h3e=Object.prototype.propertyIsEnumerable,bge=(e,t,n)=>t in e?tNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R_=(e,t)=>{for(var n in t||(t={}))f3e.call(t,n)&&bge(e,n,t[n]);if(T4)for(var n of T4(t))h3e.call(t,n)&&bge(e,n,t[n]);return e},nNt=(e,t)=>{var n={};for(var r in e)f3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&T4)for(var r of T4(e))t.indexOf(r)<0&&h3e.call(e,r)&&(n[r]=e[r]);return n};const rNt={withControls:!0,siblings:1,boundaries:1};function Yf(e){const t=Qt("Pagination",rNt,e),{withEdges:n,withControls:r,classNames:i,styles:a,unstyled:o,variant:s,size:l,total:c,value:u,defaultValue:f,onChange:h,disabled:m,siblings:A,boundaries:p,color:v,radius:y,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:C,getItemProps:N,getControlProps:E,spacing:D,nextIcon:T,previousIcon:P,lastIcon:O,firstIcon:B,dotsIcon:M}=t,$=nNt(t,["withEdges","withControls","classNames","styles","unstyled","variant","size","total","value","defaultValue","onChange","disabled","siblings","boundaries","color","radius","onNextPage","onPreviousPage","onFirstPage","onLastPage","getItemProps","getControlProps","spacing","nextIcon","previousIcon","lastIcon","firstIcon","dotsIcon"]),U=Hu();return c<=0?null:L.createElement(Z$e,{classNames:i,styles:a,unstyled:o,variant:s,size:l,total:c,value:u,defaultValue:f,onChange:h,disabled:m,siblings:A,boundaries:p,color:v,radius:y,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:C,getItemProps:N},L.createElement(rS,R_({spacing:D??`calc(${Tt({size:l,sizes:U.spacing})} / 2)`},$),n&&L.createElement(u3e,R_({icon:B},E?.("first"))),r&&L.createElement(c3e,R_({icon:P},E?.("previous"))),L.createElement(fne,{dotsIcon:M}),r&&L.createElement(l3e,R_({icon:T},E?.("next"))),n&&L.createElement(d3e,R_({icon:O},E?.("last")))))}Yf.displayName="@mantine/core/Pagination";Yf.Root=Z$e;Yf.Items=fne;Yf.Control=s3;Yf.Dots=dne;Yf.Next=l3e;Yf.Previous=c3e;Yf.Last=d3e;Yf.First=u3e;const xge={xs:He(3),sm:He(5),md:He(8),lg:He(12),xl:He(16)},iNt=Mx({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${He(40)} 0`}});var aNt=ln((e,{color:t,radius:n},{size:r})=>({root:{position:"relative",height:Tt({size:r,sizes:xge}),backgroundColor:e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2],borderRadius:e.fn.radius(n),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:t||e.primaryColor}).background,transition:"width 100ms linear","&[data-animate]":{animation:`${iNt} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${He(20)} ${He(20)}`,backgroundImage:"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)"},"&:last-of-type":{borderTopRightRadius:e.fn.radius(n),borderBottomRightRadius:e.fn.radius(n)},"&:first-of-type":{borderTopLeftRadius:e.fn.radius(n),borderBottomLeftRadius:e.fn.radius(n)},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},label:{color:e.white,fontSize:`calc(${Tt({size:r,sizes:xge})} * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}));const m3e=w.createContext(!1),oNt=m3e.Provider,sNt=()=>w.useContext(m3e);function p3e({children:e,openDelay:t=0,closeDelay:n=0}){return L.createElement(oNt,{value:!0},L.createElement(wyt,{delay:{open:t,close:n}},e))}p3e.displayName="@mantine/core/TooltipGroup";var lNt=Object.defineProperty,cNt=Object.defineProperties,uNt=Object.getOwnPropertyDescriptors,wge=Object.getOwnPropertySymbols,dNt=Object.prototype.hasOwnProperty,fNt=Object.prototype.propertyIsEnumerable,kge=(e,t,n)=>t in e?lNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sge=(e,t)=>{for(var n in t||(t={}))dNt.call(t,n)&&kge(e,n,t[n]);if(wge)for(var n of wge(t))fNt.call(t,n)&&kge(e,n,t[n]);return e},hNt=(e,t)=>cNt(e,uNt(t));function mNt(e,t){if(!t)return{backgroundColor:e.colorScheme==="dark"?e.colors.gray[2]:e.colors.gray[9],color:e.colorScheme==="dark"?e.black:e.white};const n=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:n.background,color:n.color}}var A3e=ln((e,{color:t,radius:n,width:r,multiline:i})=>({tooltip:hNt(Sge(Sge({},e.fn.fontStyles()),mNt(e,t)),{lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(n),padding:`calc(${e.spacing.xs} / 2) ${e.spacing.xs}`,position:"absolute",whiteSpace:i?"unset":"nowrap",pointerEvents:"none",width:r}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));const g3e={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};function pNt({offset:e,position:t}){const[n,r]=w.useState(!1),i=w.useRef(),{x:a,y:o,reference:s,floating:l,refs:c,update:u,placement:f}=ene({placement:t,middleware:[r3({crossAxis:!0,padding:5,rootBoundary:"document"})]}),h=f.includes("right")?e:t.includes("left")?e*-1:0,m=f.includes("bottom")?e:t.includes("top")?e*-1:0,A=w.useCallback(({clientX:p,clientY:v})=>{s({getBoundingClientRect(){return{width:0,height:0,x:p,y:v,left:p+h,top:v+m,right:p,bottom:v}}})},[s]);return w.useEffect(()=>{if(c.floating.current){const p=i.current;p.addEventListener("mousemove",A);const v=lg(c.floating.current);return v.forEach(y=>{y.addEventListener("scroll",u)}),()=>{p.removeEventListener("mousemove",A),v.forEach(y=>{y.removeEventListener("scroll",u)})}}},[s,c.floating.current,u,A,n]),{handleMouseMove:A,x:a,y:o,opened:n,setOpened:r,boundaryRef:i,floating:l}}var ANt=Object.defineProperty,gNt=Object.defineProperties,vNt=Object.getOwnPropertyDescriptors,O4=Object.getOwnPropertySymbols,v3e=Object.prototype.hasOwnProperty,y3e=Object.prototype.propertyIsEnumerable,Cge=(e,t,n)=>t in e?ANt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r5=(e,t)=>{for(var n in t||(t={}))v3e.call(t,n)&&Cge(e,n,t[n]);if(O4)for(var n of O4(t))y3e.call(t,n)&&Cge(e,n,t[n]);return e},i5=(e,t)=>gNt(e,vNt(t)),yNt=(e,t)=>{var n={};for(var r in e)v3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&O4)for(var r of O4(e))t.indexOf(r)<0&&y3e.call(e,r)&&(n[r]=e[r]);return n};const bNt={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Hp("popover")};function b3e(e){var t;const n=Qt("TooltipFloating",bNt,e),{children:r,refProp:i,withinPortal:a,portalProps:o,style:s,className:l,classNames:c,styles:u,unstyled:f,radius:h,color:m,label:A,offset:p,position:v,multiline:y,width:x,zIndex:k,disabled:S,variant:C}=n,N=yNt(n,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:E,x:D,y:T,opened:P,boundaryRef:O,floating:B,setOpened:M}=pNt({offset:p,position:v}),{classes:$,cx:U}=A3e({radius:h,color:m,multiline:y,width:x},{name:"TooltipFloating",classNames:c,styles:u,unstyled:f,variant:C});if(!aC(r))throw new Error(g3e.children);const I=Vp(O,r.ref),Q=X=>{var he,ne;(ne=(he=r.props).onMouseEnter)==null||ne.call(he,X),E(X),M(!0)},G=X=>{var he,ne;(ne=(he=r.props).onMouseLeave)==null||ne.call(he,X),M(!1)};return L.createElement(L.Fragment,null,L.createElement(uC,i5(r5({},o),{withinPortal:a}),L.createElement(En,i5(r5({},N),{ref:B,className:U($.tooltip,l),style:i5(r5({},s),{zIndex:k,display:!S&&P?"block":"none",top:T??"",left:(t=Math.round(D))!=null?t:""})}),A)),w.cloneElement(r,i5(r5({},r.props),{[i]:I,onMouseEnter:Q,onMouseLeave:G})))}b3e.displayName="@mantine/core/TooltipFloating";function xNt(e){const[t,n]=w.useState(!1),i=typeof e.opened=="boolean"?e.opened:t,a=sNt(),o=Rx(),{delay:s,currentId:l,setCurrentId:c}=Q4e(),u=w.useCallback(D=>{n(D),D&&c(o)},[c,o]),{x:f,y:h,reference:m,floating:A,context:p,refs:v,update:y,placement:x,middlewareData:{arrow:{x:k,y:S}={}}}=ene({placement:e.position,open:i,onOpenChange:u,middleware:[Yte(e.offset),r3({padding:8}),Xte(),L4e({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[M4e()]:[]]}),{getReferenceProps:C,getFloatingProps:N}=jyt([xyt(p,{enabled:e.events.hover,delay:a?s:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),Oyt(p,{enabled:e.events.focus,keyboardOnly:!0}),Byt(p,{role:"tooltip"}),Tyt(p,{enabled:typeof e.opened===void 0}),kyt(p,{id:o})]);return G4e({opened:i,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:v,update:y}}),ql(()=>{var D;(D=e.onPositionChange)==null||D.call(e,x)},[x]),{x:f,y:h,arrowX:k,arrowY:S,reference:m,floating:A,getFloatingProps:N,getReferenceProps:C,isGroupPhase:i&&l&&l!==o,opened:i,placement:x}}var wNt=Object.defineProperty,kNt=Object.defineProperties,SNt=Object.getOwnPropertyDescriptors,B4=Object.getOwnPropertySymbols,x3e=Object.prototype.hasOwnProperty,w3e=Object.prototype.propertyIsEnumerable,_ge=(e,t,n)=>t in e?wNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$0=(e,t)=>{for(var n in t||(t={}))x3e.call(t,n)&&_ge(e,n,t[n]);if(B4)for(var n of B4(t))w3e.call(t,n)&&_ge(e,n,t[n]);return e},Oz=(e,t)=>kNt(e,SNt(t)),CNt=(e,t)=>{var n={};for(var r in e)x3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&B4)for(var r of B4(e))t.indexOf(r)<0&&w3e.call(e,r)&&(n[r]=e[r]);return n};const _Nt={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:Hp("popover"),positionDependencies:[]},c3=w.forwardRef((e,t)=>{var n;const r=w.useRef(null),i=Qt("Tooltip",_Nt,e),{children:a,position:o,refProp:s,label:l,openDelay:c,closeDelay:u,onPositionChange:f,opened:h,withinPortal:m,portalProps:A,radius:p,color:v,classNames:y,styles:x,unstyled:k,style:S,className:C,withArrow:N,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:P,offset:O,transitionProps:B,multiline:M,width:$,events:U,zIndex:I,disabled:Q,positionDependencies:G,onClick:X,onMouseEnter:he,onMouseLeave:ne,inline:H,variant:W,keepMounted:q}=i,Z=CNt(i,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:re,cx:te,theme:ue}=A3e({radius:p,color:v,width:$,multiline:M},{name:"Tooltip",classNames:y,styles:x,unstyled:k,variant:W}),fe=xNt({position:iMe(ue.dir,o),closeDelay:u,openDelay:c,onPositionChange:f,opened:h,events:U,arrowRef:r,arrowOffset:D,offset:O+(N?E/2:0),positionDependencies:[...G,a],inline:H});if(!aC(a))throw new Error(g3e.children);const ge=Vp(fe.reference,a.ref,t);return L.createElement(L.Fragment,null,L.createElement(uC,Oz($0({},A),{withinPortal:m}),L.createElement(hC,Oz($0({keepMounted:q,mounted:!Q&&fe.opened},B),{transition:B.transition||"fade",duration:fe.isGroupPhase?10:(n=B.duration)!=null?n:100}),oe=>{var J,Se;return L.createElement(En,$0($0({},Z),fe.getFloatingProps({ref:fe.floating,className:re.tooltip,style:Oz($0($0({},S),oe),{zIndex:I,top:(J=fe.y)!=null?J:0,left:(Se=fe.x)!=null?Se:0})})),l,L.createElement(nne,{ref:r,arrowX:fe.arrowX,arrowY:fe.arrowY,visible:N,position:fe.placement,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:P,className:re.arrow}))})),w.cloneElement(a,fe.getReferenceProps($0({onClick:X,onMouseEnter:he,onMouseLeave:ne,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[s]:ge,className:te(C,a.props.className)},a.props))))});c3.Group=p3e;c3.Floating=b3e;c3.displayName="@mantine/core/Tooltip";const Un=c3;var NNt=Object.defineProperty,ENt=Object.defineProperties,FNt=Object.getOwnPropertyDescriptors,j4=Object.getOwnPropertySymbols,k3e=Object.prototype.hasOwnProperty,S3e=Object.prototype.propertyIsEnumerable,Nge=(e,t,n)=>t in e?NNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,IY=(e,t)=>{for(var n in t||(t={}))k3e.call(t,n)&&Nge(e,n,t[n]);if(j4)for(var n of j4(t))S3e.call(t,n)&&Nge(e,n,t[n]);return e},C3e=(e,t)=>ENt(e,FNt(t)),Ege=(e,t)=>{var n={};for(var r in e)k3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&j4)for(var r of j4(e))t.indexOf(r)<0&&S3e.call(e,r)&&(n[r]=e[r]);return n};function DNt(e){return e.reduce((t,n)=>(t.sections.push(C3e(IY({},n),{accumulated:t.accumulated})),t.accumulated+=n.value,t),{accumulated:0,sections:[]}).sections}const TNt={size:"md",radius:"sm",striped:!1,animate:!1,label:""},hne=w.forwardRef((e,t)=>{const n=Qt("Progress",TNt,e),{className:r,value:i,color:a,size:o,radius:s,striped:l,animate:c,label:u,"aria-label":f,classNames:h,styles:m,sections:A,unstyled:p,variant:v}=n,y=Ege(n,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:x,cx:k,theme:S}=aNt({color:a,radius:s},{name:"Progress",classNames:h,styles:m,unstyled:p,variant:v,size:o}),C=Array.isArray(A)?DNt(A).map((N,E)=>{var D=N,{tooltip:T,accumulated:P,value:O,label:B,color:M}=D,$=Ege(D,["tooltip","accumulated","value","label","color"]);return L.createElement(Un.Floating,{label:T,disabled:!T,key:E},L.createElement(En,C3e(IY({},$),{className:k(x.bar,$.className),"data-striped":l||c||void 0,"data-animate":c||void 0,sx:{width:`${O}%`,left:`${P}%`,backgroundColor:S.fn.variant({variant:"filled",primaryFallback:!1,color:M||S.primaryColor}).background}}),B&&L.createElement(Jn,{className:x.label},B)))}):null;return L.createElement(En,IY({className:k(x.root,r),ref:t},y),C||L.createElement("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":i,"aria-label":f,className:x.bar,style:{width:`${i}%`},"data-striped":l||c||void 0,"data-animate":c||void 0},u?L.createElement(Jn,{className:x.label},u):""))});hne.displayName="@mantine/core/Progress";function ONt({data:e,searchable:t,limit:n,searchValue:r,filter:i,value:a,filterDataOnExactSearchMatch:o}){if(!t)return e;const s=a!=null&&e.find(c=>c.value===a)||null;if(s&&!o&&s?.label===r){if(n){if(n>=e.length)return e;const c=e.indexOf(s),u=c+n,f=u-e.length;return f>0?e.slice(c-f):e.slice(c,u)}return e}const l=[];for(let c=0;c<e.length&&(i(r,e[c])&&l.push(e[c]),!(l.length>=n));c+=1);return l}var BNt=ln(()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}})),jNt=Object.defineProperty,INt=Object.defineProperties,PNt=Object.getOwnPropertyDescriptors,I4=Object.getOwnPropertySymbols,_3e=Object.prototype.hasOwnProperty,N3e=Object.prototype.propertyIsEnumerable,Fge=(e,t,n)=>t in e?jNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$_=(e,t)=>{for(var n in t||(t={}))_3e.call(t,n)&&Fge(e,n,t[n]);if(I4)for(var n of I4(t))N3e.call(t,n)&&Fge(e,n,t[n]);return e},Bz=(e,t)=>INt(e,PNt(t)),MNt=(e,t)=>{var n={};for(var r in e)_3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&I4)for(var r of I4(e))t.indexOf(r)<0&&N3e.call(e,r)&&(n[r]=e[r]);return n};function RNt(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function $Nt(e,t){return!!e&&!t.some(n=>n.label.toLowerCase()===e.toLowerCase())}const LNt={required:!1,size:"sm",shadow:"sm",itemComponent:Ute,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:RNt,maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:$Nt,selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:Hp("popover"),positionDependencies:[],dropdownPosition:"flip"},ri=w.forwardRef((e,t)=>{const n=i3("Select",LNt,e),{inputProps:r,wrapperProps:i,shadow:a,data:o,value:s,defaultValue:l,onChange:c,itemComponent:u,onKeyDown:f,onBlur:h,onFocus:m,transitionProps:A,initiallyOpened:p,unstyled:v,classNames:y,styles:x,filter:k,maxDropdownHeight:S,searchable:C,clearable:N,nothingFound:E,limit:D,disabled:T,onSearchChange:P,searchValue:O,rightSection:B,rightSectionWidth:M,creatable:$,getCreateLabel:U,shouldCreate:I,selectOnBlur:Q,onCreate:G,dropdownComponent:X,onDropdownClose:he,onDropdownOpen:ne,withinPortal:H,portalProps:W,switchDirectionOnFlip:q,zIndex:Z,name:re,dropdownPosition:te,allowDeselect:ue,placeholder:fe,filterDataOnExactSearchMatch:ge,form:oe,positionDependencies:J,readOnly:Se,clearButtonProps:ye,hoverOnSearchChange:xe}=n,pe=MNt(n,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:K,cx:ie,theme:le}=BNt(),[ce,ve]=w.useState(p),[be,$e]=w.useState(-1),je=w.useRef(),Re=w.useRef({}),[Ke,rt]=w.useState("column"),ct=Ke==="column",{scrollIntoView:St,targetRef:Ae,scrollableRef:ee}=iPe({duration:0,offset:5,cancelable:!1,isList:!0}),se=ue===void 0?N:ue,Ne=At=>{if(ce!==At){ve(At);const It=At?ne:he;typeof It=="function"&&It()}},Fe=$&&typeof U=="function";let Ue=null;const De=o.map(At=>typeof At=="string"?{label:At,value:At}:At),Le=EIe({data:De}),[ot,Ze,et]=Kc({value:s,defaultValue:l,finalValue:null,onChange:c}),st=Le.find(At=>At.value===ot),[Mt,wt]=Kc({value:O,defaultValue:st?.label||"",finalValue:void 0,onChange:P}),kt=At=>{wt(At),C&&typeof P=="function"&&P(At)},nn=()=>{var At;Se||(Ze(null),et||kt(""),(At=je.current)==null||At.focus())};w.useEffect(()=>{const At=Le.find(It=>It.value===ot);At?kt(At.label):(!Fe||!ot)&&kt("")},[ot]),w.useEffect(()=>{st&&(!C||!ce)&&kt(st.label)},[st?.label]);const un=At=>{if(!Se)if(se&&st?.value===At.value)Ze(null),Ne(!1);else{if(At.creatable&&typeof G=="function"){const It=G(At.value);typeof It<"u"&&It!==null&&Ze(typeof It=="string"?It:It.value)}else Ze(At.value);et||kt(At.label),$e(-1),Ne(!1),je.current.focus()}},hn=ONt({data:Le,searchable:C,limit:D,searchValue:Mt,filter:k,filterDataOnExactSearchMatch:ge,value:ot});Fe&&I(Mt,hn)&&(Ue=U(Mt),hn.push({label:Mt,value:Mt,creatable:!0}));const Gn=(At,It,pn)=>{let dn=At;for(;pn(dn);)if(dn=It(dn),!hn[dn].disabled)return dn;return At};ql(()=>{$e(xe&&Mt?0:-1)},[Mt,xe]);const Be=ot?hn.findIndex(At=>At.value===ot):0,We=!Se&&(hn.length>0?ce:ce&&!!E),it=()=>{$e(At=>{var It;const pn=Gn(At,dn=>dn-1,dn=>dn>0);return Ae.current=Re.current[(It=hn[pn])==null?void 0:It.value],We&&St({alignment:ct?"start":"end"}),pn})},vt=()=>{$e(At=>{var It;const pn=Gn(At,dn=>dn+1,dn=>dn<hn.length-1);return Ae.current=Re.current[(It=hn[pn])==null?void 0:It.value],We&&St({alignment:ct?"end":"start"}),pn})},Bt=()=>window.setTimeout(()=>{var At;Ae.current=Re.current[(At=hn[Be])==null?void 0:At.value],St({alignment:ct?"end":"start"})},50);ql(()=>{We&&Bt()},[We]);const Kt=At=>{switch(typeof f=="function"&&f(At),At.key){case"ArrowUp":{At.preventDefault(),ce?ct?it():vt():($e(Be),Ne(!0),Bt());break}case"ArrowDown":{At.preventDefault(),ce?ct?vt():it():($e(Be),Ne(!0),Bt());break}case"Home":{if(!C){At.preventDefault(),ce||Ne(!0);const It=hn.findIndex(pn=>!pn.disabled);$e(It),We&&St({alignment:ct?"end":"start"})}break}case"End":{if(!C){At.preventDefault(),ce||Ne(!0);const It=hn.map(pn=>!!pn.disabled).lastIndexOf(!1);$e(It),We&&St({alignment:ct?"end":"start"})}break}case"Escape":{At.preventDefault(),Ne(!1),$e(-1);break}case" ":{C||(At.preventDefault(),hn[be]&&ce?un(hn[be]):(Ne(!0),$e(Be),Bt()));break}case"Enter":C||At.preventDefault(),hn[be]&&ce&&(At.preventDefault(),un(hn[be]))}},Wt=At=>{typeof h=="function"&&h(At);const It=Le.find(pn=>pn.value===ot);Q&&hn[be]&&ce&&un(hn[be]),kt(It?.label||""),Ne(!1)},Zt=At=>{typeof m=="function"&&m(At),C&&Ne(!0)},An=At=>{Se||(kt(At.currentTarget.value),N&&At.currentTarget.value===""&&Ze(null),$e(-1),Ne(!0))},mn=()=>{Se||(Ne(!ce),ot&&!ce&&$e(Be))};return L.createElement(Gl.Wrapper,Bz($_({},i),{__staticSelector:"Select"}),L.createElement(ly,{opened:We,transitionProps:A,shadow:a,withinPortal:H,portalProps:W,__staticSelector:"Select",onDirectionChange:rt,switchDirectionOnFlip:q,zIndex:Z,dropdownPosition:te,positionDependencies:[...J,Mt],classNames:y,styles:x,unstyled:v,variant:r.variant},L.createElement(ly.Target,null,L.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":We?`${r.id}-items`:null,"aria-controls":r.id,"aria-expanded":We,onMouseLeave:()=>$e(-1),tabIndex:-1},L.createElement("input",{type:"hidden",name:re,value:ot||"",form:oe,disabled:T}),L.createElement(Gl,$_(Bz($_($_({autoComplete:"off",type:"search"},r),pe),{ref:Vp(t,je),onKeyDown:Kt,__staticSelector:"Select",value:Mt,placeholder:fe,onChange:An,"aria-autocomplete":"list","aria-controls":We?`${r.id}-items`:null,"aria-activedescendant":be>=0?`${r.id}-${be}`:null,onMouseDown:mn,onBlur:Wt,onFocus:Zt,readOnly:!C||Se,disabled:T,"data-mantine-stop-propagation":We,name:null,classNames:Bz($_({},y),{input:ie({[K.input]:!C},y?.input)})}),U$e({theme:le,rightSection:B,rightSectionWidth:M,styles:x,size:r.size,shouldClear:N&&!!st,onClear:nn,error:i.error,clearButtonProps:ye,disabled:T,readOnly:Se}))))),L.createElement(ly.Dropdown,{component:X||X$,maxHeight:S,direction:Ke,id:r.id,innerRef:ee,__staticSelector:"Select",classNames:y,styles:x},L.createElement(Lte,{data:hn,hovered:be,classNames:y,styles:x,isItemSelected:At=>At===ot,uuid:r.id,__staticSelector:"Select",onItemHover:$e,onItemSelect:un,itemsRefs:Re,itemComponent:u,size:r.size,nothingFound:E,creatable:Fe&&!!Ue,createLabel:Ue,"aria-label":i.label,unstyled:v,variant:r.variant}))))});ri.displayName="@mantine/core/Select";function mne(e,t){if(t.length===0)return t;const n="maxWidth"in t[0]?"maxWidth":"minWidth",r=[...t].sort((i,a)=>Kh(Tt({size:a[n],sizes:e.breakpoints}))-Kh(Tt({size:i[n],sizes:e.breakpoints})));return n==="minWidth"?r.reverse():r}var UNt=Object.defineProperty,Dge=Object.getOwnPropertySymbols,zNt=Object.prototype.hasOwnProperty,HNt=Object.prototype.propertyIsEnumerable,Tge=(e,t,n)=>t in e?UNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,VNt=(e,t)=>{for(var n in t||(t={}))zNt.call(t,n)&&Tge(e,n,t[n]);if(Dge)for(var n of Dge(t))HNt.call(t,n)&&Tge(e,n,t[n]);return e},QNt=ln((e,{spacing:t,breakpoints:n,cols:r,verticalSpacing:i})=>{const a=i!=null,o=mne(e,n).reduce((s,l)=>{var c,u;const f="maxWidth"in l?"max-width":"min-width",h=Tt({size:f==="max-width"?l.maxWidth:l.minWidth,sizes:e.breakpoints,units:"em"}),m=Kh(h)-(f==="max-width"?1:0);return s[`@media (${f}: ${oC(m)})`]={gridTemplateColumns:`repeat(${l.cols}, minmax(0, 1fr))`,gap:`${Tt({size:(c=l.verticalSpacing)!=null?c:a?i:t,sizes:e.spacing})} ${Tt({size:(u=l.spacing)!=null?u:t,sizes:e.spacing})}`},s},{});return{root:VNt({boxSizing:"border-box",display:"grid",gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`,gap:`${Tt({size:a?i:t,sizes:e.spacing})} ${Tt({size:t,sizes:e.spacing})}`},o)}}),qNt=Object.defineProperty,P4=Object.getOwnPropertySymbols,E3e=Object.prototype.hasOwnProperty,F3e=Object.prototype.propertyIsEnumerable,Oge=(e,t,n)=>t in e?qNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GNt=(e,t)=>{for(var n in t||(t={}))E3e.call(t,n)&&Oge(e,n,t[n]);if(P4)for(var n of P4(t))F3e.call(t,n)&&Oge(e,n,t[n]);return e},WNt=(e,t)=>{var n={};for(var r in e)E3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&P4)for(var r of P4(e))t.indexOf(r)<0&&F3e.call(e,r)&&(n[r]=e[r]);return n};const KNt={breakpoints:[],cols:1,spacing:"md"},AC=w.forwardRef((e,t)=>{const n=Qt("SimpleGrid",KNt,e),{className:r,breakpoints:i,cols:a,spacing:o,verticalSpacing:s,children:l,unstyled:c,variant:u}=n,f=WNt(n,["className","breakpoints","cols","spacing","verticalSpacing","children","unstyled","variant"]),{classes:h,cx:m}=QNt({breakpoints:i,cols:a,spacing:o,verticalSpacing:s},{name:"SimpleGrid",unstyled:c,variant:u});return L.createElement(En,GNt({className:m(h.root,r),ref:t},f),l)});AC.displayName="@mantine/core/SimpleGrid";var YNt=Object.defineProperty,XNt=Object.defineProperties,ZNt=Object.getOwnPropertyDescriptors,Bge=Object.getOwnPropertySymbols,JNt=Object.prototype.hasOwnProperty,e2t=Object.prototype.propertyIsEnumerable,jge=(e,t,n)=>t in e?YNt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t2t=(e,t)=>{for(var n in t||(t={}))JNt.call(t,n)&&jge(e,n,t[n]);if(Bge)for(var n of Bge(t))e2t.call(t,n)&&jge(e,n,t[n]);return e},n2t=(e,t)=>XNt(e,ZNt(t)),r2t=ln((e,{captionSide:t,horizontalSpacing:n,verticalSpacing:r,fontSize:i,withBorder:a,withColumnBorders:o})=>{const s=`${He(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`;return{root:n2t(t2t({},e.fn.fontStyles()),{width:"100%",borderCollapse:"collapse",captionSide:t,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,border:a?s:void 0,"& > caption":{marginTop:t==="top"?0:e.spacing.xs,marginBottom:t==="bottom"?0:e.spacing.xs,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6]},"& > thead > tr > th, & > tfoot > tr > th, & > tbody > tr > th":{textAlign:"left",fontWeight:"bold",color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],fontSize:Tt({size:i,sizes:e.fontSizes}),padding:`${Tt({size:r,sizes:e.spacing})} ${Tt({size:n,sizes:e.spacing})}`},"& > thead > tr > th":{borderBottom:s},"& > tfoot > tr > th, & > tbody > tr > th":{borderTop:s},"& > tbody > tr > td":{padding:`${Tt({size:r,sizes:e.spacing})} ${Tt({size:n,sizes:e.spacing})}`,borderTop:s,fontSize:Tt({size:i,sizes:e.fontSizes})},"& > tbody > tr:first-of-type > td, & > tbody > tr:first-of-type > th":{borderTop:"none"},"& > thead > tr > th, & > tbody > tr > td":{borderRight:o?s:"none","&:last-of-type":{borderRight:"none",borderLeft:o?s:"none"}},"& > tbody > tr > th":{borderRight:o?s:"none"},"&[data-striped] > tbody > tr:nth-of-type(odd)":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]},"&[data-hover] > tbody > tr":e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[1]})})}}),i2t=Object.defineProperty,a2t=Object.defineProperties,o2t=Object.getOwnPropertyDescriptors,M4=Object.getOwnPropertySymbols,D3e=Object.prototype.hasOwnProperty,T3e=Object.prototype.propertyIsEnumerable,Ige=(e,t,n)=>t in e?i2t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s2t=(e,t)=>{for(var n in t||(t={}))D3e.call(t,n)&&Ige(e,n,t[n]);if(M4)for(var n of M4(t))T3e.call(t,n)&&Ige(e,n,t[n]);return e},l2t=(e,t)=>a2t(e,o2t(t)),c2t=(e,t)=>{var n={};for(var r in e)D3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&M4)for(var r of M4(e))t.indexOf(r)<0&&T3e.call(e,r)&&(n[r]=e[r]);return n};const u2t={striped:!1,highlightOnHover:!1,captionSide:"top",horizontalSpacing:"xs",fontSize:"sm",verticalSpacing:7,withBorder:!1,withColumnBorders:!1},_o=w.forwardRef((e,t)=>{const n=Qt("Table",u2t,e),{className:r,children:i,striped:a,highlightOnHover:o,captionSide:s,horizontalSpacing:l,verticalSpacing:c,fontSize:u,unstyled:f,withBorder:h,withColumnBorders:m,variant:A}=n,p=c2t(n,["className","children","striped","highlightOnHover","captionSide","horizontalSpacing","verticalSpacing","fontSize","unstyled","withBorder","withColumnBorders","variant"]),{classes:v,cx:y}=r2t({captionSide:s,verticalSpacing:c,horizontalSpacing:l,fontSize:u,withBorder:h,withColumnBorders:m},{unstyled:f,name:"Table",variant:A});return L.createElement(En,l2t(s2t({},p),{component:"table",ref:t,className:y(v.root,r),"data-striped":a||void 0,"data-hover":o||void 0}),i)});_o.displayName="@mantine/core/Table";var d2t=Object.defineProperty,f2t=Object.defineProperties,h2t=Object.getOwnPropertyDescriptors,Pge=Object.getOwnPropertySymbols,m2t=Object.prototype.hasOwnProperty,p2t=Object.prototype.propertyIsEnumerable,Mge=(e,t,n)=>t in e?d2t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rge=(e,t)=>{for(var n in t||(t={}))m2t.call(t,n)&&Mge(e,n,t[n]);if(Pge)for(var n of Pge(t))p2t.call(t,n)&&Mge(e,n,t[n]);return e},A2t=(e,t)=>f2t(e,h2t(t));const g2t={xs:He(16),sm:He(20),md:He(26),lg:He(32),xl:He(40)},v2t=["filled","light","gradient","outline","default"];function y2t({theme:e,variant:t,color:n,gradient:r}){if(!v2t.includes(t))return null;const i=e.fn.variant({variant:t,color:n||e.primaryColor,gradient:r,primaryFallback:!1});return{backgroundColor:i.background,color:i.color,backgroundImage:t==="gradient"?i.background:void 0,border:`${He(t==="gradient"?0:1)} solid ${i.border}`}}var b2t=ln((e,{color:t,radius:n,gradient:r},{variant:i,size:a})=>{const o=Tt({size:a,sizes:g2t});return{root:Rge(A2t(Rge({},e.fn.fontStyles()),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:o,height:o,minWidth:o,minHeight:o,borderRadius:e.fn.radius(n)}),y2t({theme:e,variant:i,gradient:r,color:t}))}}),x2t=Object.defineProperty,R4=Object.getOwnPropertySymbols,O3e=Object.prototype.hasOwnProperty,B3e=Object.prototype.propertyIsEnumerable,$ge=(e,t,n)=>t in e?x2t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w2t=(e,t)=>{for(var n in t||(t={}))O3e.call(t,n)&&$ge(e,n,t[n]);if(R4)for(var n of R4(t))B3e.call(t,n)&&$ge(e,n,t[n]);return e},k2t=(e,t)=>{var n={};for(var r in e)O3e.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&R4)for(var r of R4(e))t.indexOf(r)<0&&B3e.call(e,r)&&(n[r]=e[r]);return n};const S2t={size:"md",variant:"filled"},pne=w.forwardRef((e,t)=>{const n=Qt("ThemeIcon",S2t,e),{className:r,size:i,radius:a,variant:o,color:s,children:l,gradient:c,unstyled:u}=n,f=k2t(n,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:h,cx:m}=b2t({variant:o,radius:a,color:s,gradient:c},{name:"ThemeIcon",unstyled:u,variant:o,size:i});return L.createElement(En,w2t({className:m(h.root,r),ref:t},f),l)});pne.displayName="@mantine/core/ThemeIcon";const Hj={Approved:"APPROVED",Pending:"PENDING",Unapproved:"UNAPPROVED"},Lge={DoubleEntry:"DOUBLE_ENTRY",SingleEntry:"SINGLE_ENTRY"},Uge={Computerized:"COMPUTERIZED",Manual:"MANUAL"},L0={Adverse:"ADVERSE",Disclaimer:"DISCLAIMER",None:"NONE",Qualified:"QUALIFIED",Unqualified:"UNQUALIFIED",UnqualifiedWithGoingConcern:"UNQUALIFIED_WITH_GOING_CONCERN",UnqualifiedWithOtherEmphases:"UNQUALIFIED_WITH_OTHER_EMPHASES"},C2t={Monthly:"MONTHLY"},_2t={Accommodation:"ACCOMMODATION",CarRental:"CAR_RENTAL",Flight:"FLIGHT",Other:"OTHER",TravelAndSubsistence:"TRAVEL_AND_SUBSISTENCE"},Lb={All:"ALL",Expense:"EXPENSE",Income:"INCOME"},Ck={AbsAmount:"ABS_AMOUNT",Amount:"AMOUNT",Date:"DATE"},Vt={Aud:"AUD",Cad:"CAD",Eth:"ETH",Eur:"EUR",Gbp:"GBP",Grt:"GRT",Ils:"ILS",Jpy:"JPY",Sek:"SEK",Usd:"USD",Usdc:"USDC"},zge={Dollars:"DOLLARS",Shekels:"SHEKELS"},N2t={GeneralAndManagement:"GENERAL_AND_MANAGEMENT",Marketing:"MARKETING",ResearchAndDevelopment:"RESEARCH_AND_DEVELOPMENT"},_r={CreditInvoice:"CREDIT_INVOICE",Invoice:"INVOICE",InvoiceReceipt:"INVOICE_RECEIPT",Other:"OTHER",Proforma:"PROFORMA",Receipt:"RECEIPT",Unprocessed:"UNPROCESSED"},j3e={Business:"BUSINESS",Economy:"ECONOMY",FirstClass:"FIRST_CLASS",PremiumEconomy:"PREMIUM_ECONOMY"},ze={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Aq:"AQ",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bv:"BV",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gs:"GS",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hm:"HM",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pn:"PN",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tf:"TF",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Um:"UM",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},PY={English:"ENGLISH",Hebrew:"HEBREW"},dw={ApplePay:"APPLE_PAY",Bit:"BIT",Culo:"CULO",GooglePay:"GOOGLE_PAY",Paybox:"PAYBOX",PayByPepper:"PAY_BY_PEPPER"},fw={AmericanExpress:"AMERICAN_EXPRESS",Diners:"DINERS",Isracard:"ISRACARD",Mastercard:"MASTERCARD",Unknown:"UNKNOWN",Visa:"VISA"},hw={Credit:"CREDIT",Deferred:"DEFERRED",Other:"OTHER",Payments:"PAYMENTS",Recurring:"RECURRING",Standard:"STANDARD"},Sv={Bitcoin:"BITCOIN",BuymeVoucher:"BUYME_VOUCHER",Ethereum:"ETHEREUM",GiftCard:"GIFT_CARD",MoneyEqual:"MONEY_EQUAL",NiiEmployeeDeduction:"NII_EMPLOYEE_DEDUCTION",Payoneer:"PAYONEER",VCheck:"V_CHECK"},Rl={Cash:"CASH",Cheque:"CHEQUE",CreditCard:"CREDIT_CARD",Other:"OTHER",OtherDeduction:"OTHER_DEDUCTION",PaymentApp:"PAYMENT_APP",Paypal:"PAYPAL",TaxDeduction:"TAX_DEDUCTION",WireTransfer:"WIRE_TRANSFER"},g2={Default:"DEFAULT",Exempt:"EXEMPT",Mixed:"MIXED"},a5={None:"NONE",Option_1:"OPTION_1",Option_2Adjustments:"OPTION_2_ADJUSTMENTS",Option_3Adjustments:"OPTION_3_ADJUSTMENTS"},cy={Counterparty:"COUNTERPARTY",Description:"DESCRIPTION",Documents:"DOCUMENTS",Tags:"TAGS",TaxCategory:"TAX_CATEGORY",Transactions:"TRANSACTIONS",Vat:"VAT"},Vj={Accrual:"ACCRUAL",Cash:"CASH",DollarRegulations:"DOLLAR_REGULATIONS"},E2t={},F2t={},D2t={},T2t={},I3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableErrorsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"errorsLedger"},name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]}}]}}]},P3e={},Hge={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},M3e={},R3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeTableTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},$3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ConversionChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversionCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eventRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"officialRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}}]}}]},L3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CreditcardBankChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditCardTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},U3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExchangeRatesInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"exchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"ils"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"eth"}},{kind:"Field",name:{kind:"Name",value:"grt"}},{kind:"Field",name:{kind:"Name",value:"usdc"}}]}}]}}]}}]},O2t={},z3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableMiscExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditMiscExpenseFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditMiscExpenseFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MiscExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},H3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableSalariesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SalaryCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}}]},B2t={},j2t={},I2t={},P2t={},M2t={},R2t={},$2t={},L2t={},U2t={},z2t={},H2t={},V2t={},Q2t={},q2t={},G2t={},W2t={},K2t={},Y2t={},X2t={},Z2t={},J2t={},eEt={},tEt={},nEt={},rEt={},iEt={},aEt={},oEt={},sEt={},lEt={},cEt={},uEt={},V3e={},sE={},dEt={},fEt={},Q3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsGalleryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentType"}}]}}]}}]}}]},q3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TableLedgerRecordsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"}},{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}}]}}]}}]}}]}}]}}]},Vge={},hEt={},mEt={},pEt={},AEt={},gEt={},G3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},vEt={},yEt={},W3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}}]},bEt={},K3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}}]},Y3e={definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}}]},xEt={},wEt={},U0={},kEt={},SEt={},CEt={},_Et={},NEt={},EEt={},FEt={},DEt={},TEt={},OEt={},BEt={},jEt={},IEt={},PEt={},MEt={},REt={},$Et={},LEt={},X3e={},UEt={},zEt={},Qge={},qge={},Gge={},Wge={},HEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTransactionsInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"details"}},{kind:"Field",name:{kind:"Name",value:"counterAccount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},Z3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTransactionsSummery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignCurrenciesSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},VEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}}]}}]}}]}}]},QEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripsRowValidation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripSummary"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]},qEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditableBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportHeaderFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAttendeesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripUncategorizedTransactionsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCarRentalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportOtherFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportSummaryFields"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"charges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripFlightExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"class"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripFlightExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAccommodationExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"nightsCount"}},{kind:"Field",name:{kind:"Name",value:"attendeesStay"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"nightsCount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAccommodationExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAttendeeRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAttendee"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"arrivalDate"}},{kind:"Field",name:{kind:"Name",value:"departureDate"}},{kind:"Field",name:{kind:"Name",value:"flights"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"accommodations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableEventDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableDebitDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableAccountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableSourceIDFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionsTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UncategorizedTransactionsTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UncategorizedTransaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"categorizedAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripTravelAndSubsistenceExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"expenseType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCarRentalRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCarRentalExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"days"}},{kind:"Field",name:{kind:"Name",value:"isFuelExpense"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportOtherRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripOtherExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCoreExpenseRowFields"}},{kind:"Field",name:{kind:"Name",value:"payedByEmployee"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"deductibleExpense"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportHeaderFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAttendeesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAttendeeRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripUncategorizedTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableEventDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableDebitDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableAccountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableSourceIDFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionsTableEntityFields"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"UncategorizedTransactionsTableAmountFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFlightsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"flightExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFlightsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportAccommodationsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accommodationExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportAccommodationsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"travelAndSubsistenceExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportTravelAndSubsistenceRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportCarRentalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"carRentalExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportCarRentalRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportOtherFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"otherExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportOtherRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportSummaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessTax"}},{kind:"Field",name:{kind:"Name",value:"rows"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"totalForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]},GEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BusinessTripsScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}}]},WEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinessesForScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesRowFields"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesNameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesHebrewNameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"hebrewName"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AllBusinessesRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesNameFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AllBusinessesHebrewNameFields"}}]}}]},KEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargesLedgerValidation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesWithLedgerChanges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"progress"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},Ch={__meta__:{deferredFields:{DocumentsGalleryFields:["id","additionalDocuments"],TableDocumentsFields:["id","additionalDocuments"],TableLedgerRecordsFields:["id","ledger"],ChargeTableTransactionsFields:["id","transactions"],ConversionChargeInfo:["id","__typename"],CreditcardBankChargeInfo:["id","__typename"],TableSalariesFields:["id","__typename"],ChargesTableErrorsFields:["id"],TableMiscExpensesFields:["id","miscExpenses"],ExchangeRatesInfo:["id","__typename"]}},kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"receiptsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"isLedgerLocked"}},{kind:"Field",name:{kind:"Name",value:"openDocuments"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"DocumentsGalleryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableLedgerRecordsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargeTableTransactionsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ConversionChargeInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"CreditcardBankChargeInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"TableSalariesFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportFields"}}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableErrorsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableMiscExpensesFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ExchangeRatesInfo"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportHeaderFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"dates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"start"}},{kind:"Field",name:{kind:"Name",value:"end"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripAccountantApprovalFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportSummaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessTax"}},{kind:"Field",name:{kind:"Name",value:"rows"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"totalForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableForeignCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTaxableLocalCurrency"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"excessExpenditure"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditMiscExpenseFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MiscExpense"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsGalleryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentType"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"additionalDocuments"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableLedgerRecordsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"matches"}},{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creditAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAccount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"creditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyCreditAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount1"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"localCurrencyDebitAmount2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeTableTransactionsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ConversionChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversionCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eventRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"officialRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"from"}},{kind:"Field",name:{kind:"Name",value:"to"}},{kind:"Field",name:{kind:"Name",value:"rate"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CreditcardBankChargeInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditCardTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableSalariesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SalaryCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"BusinessTripReportFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportHeaderFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"BusinessTripReportSummaryFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableErrorsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"errorsLedger"},name:{kind:"Name",value:"ledger"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LedgerValidation"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableMiscExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"miscExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditMiscExpenseFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ExchangeRatesInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"exchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"ils"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"eth"}},{kind:"Field",name:{kind:"Name",value:"grt"}},{kind:"Field",name:{kind:"Name",value:"usdc"}}]}}]}}]}}]},YEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeForRow"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}}]},XEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BankDepositInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depositByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"isOpen"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},ZEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IncomeChargesChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"eventExchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"date"}}]}},{kind:"Field",name:{kind:"Name",value:"debitExchangeRates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aud"}},{kind:"Field",name:{kind:"Name",value:"cad"}},{kind:"Field",name:{kind:"Name",value:"eur"}},{kind:"Field",name:{kind:"Name",value:"gbp"}},{kind:"Field",name:{kind:"Name",value:"jpy"}},{kind:"Field",name:{kind:"Name",value:"sek"}},{kind:"Field",name:{kind:"Name",value:"usd"}},{kind:"Field",name:{kind:"Name",value:"date"}}]}}]}}]}}]}}]}}]},JEt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyIncomeExpenseChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IncomeExpenseChartFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"incomeExpenseChart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fromDate"}},{kind:"Field",name:{kind:"Name",value:"toDate"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MonthlyIncomeExpenseChartInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"MonthlyIncomeExpenseChartInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IncomeExpenseChart"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"monthlyData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"expense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}}]}}]}}]},eFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UncategorizedTransactionsByBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"uncategorizedTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transaction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]}}]}}]},tFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeDepreciation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationRecordsByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationRecordRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DepreciationRecordRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"activationDate"}},{kind:"Field",name:{kind:"Name",value:"category"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]},nFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DocumentsToChargeMatcher"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentsFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsByFilters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DocumentsToMatchFields"}}]}},{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargeToMatchDocumentsFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DocumentsToMatchFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargeToMatchDocumentsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}}]}}]},rFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RecentClientIssuedDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentDocumentsByClient"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"externalId"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},iFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RecentIssuedDocumentsOfSameType"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentType"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentIssuedDocumentsByType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentType"},value:{kind:"Variable",name:{kind:"Name",value:"documentType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TableDocumentsRowFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TableDocumentsRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"isIncome"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"issuedDocumentInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"originalDocument"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]}}]}}]},aFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"exemptDealer"}},{kind:"Field",name:{kind:"Name",value:"governmentId"}},{kind:"Field",name:{kind:"Name",value:"hebrewName"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phoneNumber"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"website"}},{kind:"Field",name:{kind:"Name",value:"suggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phrases"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"description"}}]}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"irsCode"}}]}}]}}]}}]},oFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentById"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatReportDateOverride"}},{kind:"Field",name:{kind:"Name",value:"noVatAmount"}},{kind:"Field",name:{kind:"Name",value:"allocationNumber"}},{kind:"Field",name:{kind:"Name",value:"exchangeRateOverride"}}]}}]}}]}}]},sFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"isFee"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},lFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ClientInfoForDocumentIssuing"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}}]},cFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},J3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllDepreciationCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}}]}}]},eLe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllEmployeesByEmployer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"employeesByEmployerId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"employerId"},value:{kind:"Variable",name:{kind:"Name",value:"employerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},uFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllPensionFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allPensionFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},dFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTrainingFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTrainingFunds"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},u3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AttendeesByBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"attendees"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},fFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchMultipleBusinesses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"businessIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},hFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchMultipleCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"invoicesCount"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"Field",name:{kind:"Name",value:"conversion"}},{kind:"Field",name:{kind:"Name",value:"property"}},{kind:"Field",name:{kind:"Name",value:"isInvoicePaymentDifferentCurrency"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"optionalDocuments"}}]}}]}}]},mFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"property"}},{kind:"Field",name:{kind:"Name",value:"conversion"}},{kind:"Field",name:{kind:"Name",value:"isInvoicePaymentDifferentCurrency"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"optionalVAT"}},{kind:"Field",name:{kind:"Name",value:"optionalDocuments"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"yearsOfRelevance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"amount"}}]}}]}}]}}]},pFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"month"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecordsByDates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"month"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"month"}}},{kind:"Argument",name:{kind:"Name",value:"employeeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"employer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsPercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"globalAdditionalHoursAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"bonus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"gift"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"travelAndSubsistence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"recovery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"notionalExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationTakeout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"workDays"}},{kind:"Field",name:{kind:"Name",value:"sicknessDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}}]}}]},AFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SortCodeToUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},gFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TaxCategoryToUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"irsCode"}}]}}]}}]},vFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MiscExpenseTransactionFields"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"transactionId"}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"exactEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},yFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NewDocumentDraftByCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newDocumentInfoDraftByCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},bFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NewDocumentDraftByDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newDocumentInfoDraftByDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},xFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarChargesByBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarChargesByBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"tagsDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}}},{kind:"Argument",name:{kind:"Name",value:"descriptionDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimilarChargesTable"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SimilarChargesTable"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}}]},wFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingTags"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingDescription"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingTags"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingTags"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingDescription"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingDescription"}}},{kind:"Argument",name:{kind:"Name",value:"tagsDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"tagsDifferentThan"}}},{kind:"Argument",name:{kind:"Name",value:"descriptionDifferentThan"},value:{kind:"Variable",name:{kind:"Name",value:"descriptionDifferentThan"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SimilarChargesTable"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SimilarChargesTable"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}}]},kFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimilarTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"withMissingInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"similarTransactions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"withMissingInfo"},value:{kind:"Variable",name:{kind:"Name",value:"withMissingInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}}]}}]}}]},SFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UniformFormat"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uniformFormat"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bkmvdata"}},{kind:"Field",name:{kind:"Name",value:"ini"}}]}}]}}]},CFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountantApprovalsChargesTable"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}}]}}]}}]},_Ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllContoReports"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allDynamicReports"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"updated"}}]}}]}}]},NFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContoReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]},EFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TemplateForContoReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dynamicReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"parent"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"droppable"}},{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"descendantSortCodes"}},{kind:"Field",name:{kind:"Name",value:"descendantFinancialEntities"}},{kind:"Field",name:{kind:"Name",value:"mergedSortCodes"}},{kind:"Field",name:{kind:"Name",value:"isOpen"}},{kind:"Field",name:{kind:"Name",value:"hebrewText"}}]}}]}}]}}]}}]},FFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CorporateTaxRulingComplianceReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"years"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"corporateTaxRulingComplianceReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"years"},value:{kind:"Variable",name:{kind:"Name",value:"years"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"totalIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"rndRelativeToIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripRndExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CorporateTaxRulingComplianceReport"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"differences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"rndRelativeToIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"localDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignDevelopmentRelativeToRnd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripRndExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CorporateTaxRulingReportRuleCellFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CorporateTaxRule"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"rule"}},{kind:"Field",name:{kind:"Name",value:"percentage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"isCompliant"}}]}}]},DFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProfitAndLossReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportYear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profitAndLossReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportYear"},value:{kind:"Variable",name:{kind:"Name",value:"reportYear"}}},{kind:"Argument",name:{kind:"Name",value:"referenceYears"},value:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"report"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"revenue"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"costOfSales"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"grossProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"marketingExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"managementAndGeneralExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"operatingProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"financialExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"otherIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"tax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"netProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"reference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"revenue"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"costOfSales"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"grossProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"marketingExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"managementAndGeneralExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"operatingProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"financialExpenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"otherIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"tax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"netProfit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportSubCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentarySubRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"financialEntity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReportSubCommentaryTableFields"}}]}}]}}]}}]},TFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TaxReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportYear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportYear"},value:{kind:"Variable",name:{kind:"Name",value:"reportYear"}}},{kind:"Argument",name:{kind:"Name",value:"referenceYears"},value:{kind:"Variable",name:{kind:"Name",value:"referenceYears"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"report"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesByRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesForTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"fines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"untaxableGifts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripsExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"salaryExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"reserves"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"nontaxableLinkage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"taxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxRate"}},{kind:"Field",name:{kind:"Name",value:"specialTaxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"specialTaxRate"}},{kind:"Field",name:{kind:"Name",value:"annualTaxExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"reference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"profitBeforeTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesByRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"researchAndDevelopmentExpensesForTax"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"fines"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"untaxableGifts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"businessTripsExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"salaryExcessExpensesAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"reserves"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"nontaxableLinkage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"taxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxRate"}},{kind:"Field",name:{kind:"Name",value:"specialTaxableIncome"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ReportCommentaryTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"specialTaxRate"}},{kind:"Field",name:{kind:"Name",value:"annualTaxExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportSubCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentarySubRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"financialEntity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReportCommentaryTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReportCommentary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReportSubCommentaryTableFields"}}]}}]}}]}}]},OFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TrialBalanceReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSumFromLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TrialBalanceTableFields"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TrialBalanceTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTransactionsSum"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"credit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"debit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"total"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}}]},BFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ValidatePcn874Reports"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromMonthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toMonthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pcnByDate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"fromMonthDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromMonthDate"}}},{kind:"Argument",name:{kind:"Name",value:"toMonthDate"},value:{kind:"Variable",name:{kind:"Name",value:"toMonthDate"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"diffContent"}}]}}]}}]},jFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VatMonthlyReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"VatReportFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vatReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportIncomeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportExpensesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportMissingInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportMiscTableFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportBusinessTripsFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"chargeAccountantStatus"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportIncomeRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportAccountantApprovalFields"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatNumber"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"documentSerial"}},{kind:"Field",name:{kind:"Name",value:"documentDate"}},{kind:"Field",name:{kind:"Name",value:"chargeDate"}},{kind:"Field",name:{kind:"Name",value:"taxReducedForeignAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportExpensesRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportAccountantApprovalFields"}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vatNumber"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"documentSerial"}},{kind:"Field",name:{kind:"Name",value:"documentDate"}},{kind:"Field",name:{kind:"Name",value:"chargeDate"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localVat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"foreignVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"localVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"roundedLocalVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportIncomeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportIncomeRowFields"}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportExpensesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expenses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VatReportExpensesRowFields"}},{kind:"Field",name:{kind:"Name",value:"roundedLocalVatAfterDeduction"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"taxReducedLocalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportMissingInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportMiscTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"differentMonthDoc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"VatReportBusinessTripsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VatReportResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrips"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}}]},IFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratePCN"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"monthDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"financialEntityId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pcnFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"monthDate"},value:{kind:"Variable",name:{kind:"Name",value:"monthDate"}}},{kind:"Argument",name:{kind:"Name",value:"financialEntityId"},value:{kind:"Variable",name:{kind:"Name",value:"financialEntityId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reportContent"}},{kind:"Field",name:{kind:"Name",value:"fileName"}}]}}]}}]},PFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"YearlyLedger"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"yearlyLedgerReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"financialEntitiesInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"openingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCredit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalDebit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"closingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"counterParty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"LedgerCsvFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LedgerCsvFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"YearlyLedgerReport"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"financialEntitiesInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"openingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCredit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"totalDebit"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"closingBalance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"invoiceDate"}},{kind:"Field",name:{kind:"Name",value:"valueDate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"reference"}},{kind:"Field",name:{kind:"Name",value:"counterParty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}}]}}]},MFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SalaryScreenRecords"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecordsByDates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}},{kind:"Argument",name:{kind:"Name",value:"employeeIDs"},value:{kind:"Variable",name:{kind:"Name",value:"employeeIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordEmployeeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordMainSalaryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"baseAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"directAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"globalAdditionalHoursAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"bonus"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"gift"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"recovery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationTakeout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordFundsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"pensionEmployerPercentage"}},{kind:"Field",name:{kind:"Name",value:"compensationsAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"compensationsPercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFund"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployeePercentage"}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"trainingFundEmployerPercentage"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordInsurancesAndTaxesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"healthInsuranceAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployeeAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"socialSecurityEmployerAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"incomeTaxAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"notionalExpense"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordWorkFrameFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"vacationDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"}},{kind:"Field",name:{kind:"Name",value:"taken"}},{kind:"Field",name:{kind:"Name",value:"balance"}}]}},{kind:"Field",name:{kind:"Name",value:"workDays"}},{kind:"Field",name:{kind:"Name",value:"sicknessDays"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"balance"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesRecordFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordEmployeeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordMainSalaryFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordFundsFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordInsurancesAndTaxesFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordWorkFrameFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesMonthFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesRecordFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SalariesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Salary"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"SalariesMonthFields"}}]}}]},RFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ChargeFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},$Ft={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChargeScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},LFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MissingInfoCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chargesWithMissingRequiredInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableFields"}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountantApproval"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableAmountFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CreditcardBankCharge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validCreditCardAmount"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripCharge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessTrip"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDateFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"minEventDate"}},{kind:"Field",name:{kind:"Name",value:"minDebitDate"}},{kind:"Field",name:{kind:"Name",value:"minDocumentsDate"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableDescriptionFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableEntityFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableMoreInfoFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}},{kind:"Field",name:{kind:"Name",value:"isSalary"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invalidLedger"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTagsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValidationData"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeSuggestions"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxCategory"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableTypeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableVatFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"validationData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"missingInfo"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableRowFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ChargeMetadata"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsCount"}},{kind:"Field",name:{kind:"Name",value:"ledgerCount"}},{kind:"Field",name:{kind:"Name",value:"transactionsCount"}},{kind:"Field",name:{kind:"Name",value:"miscExpensesCount"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"totalAmount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAccountantApprovalFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableAmountFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableBusinessTripFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDateFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableDescriptionFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableEntityFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableMoreInfoFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTagsFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTaxCategoryFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableTypeFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableVatFields"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ChargesTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Charge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"owner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ChargesTableRowFields"}}]}}]},UFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DocumentsScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DocumentsFilters"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentsByFilters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"file"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}},{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FinancialDocument"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"debtor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"vat"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}},{kind:"Field",name:{kind:"Name",value:"serialNumber"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"currency"}}]}}]}}]}}]}}]},zFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyDocumentDraftByClient"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMonthlyChargeDraft"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}},{kind:"Argument",name:{kind:"Name",value:"issueMonth"},value:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},tLe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MonthlyDocumentsDrafts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMonthlyChargesDrafts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"issueMonth"},value:{kind:"Variable",name:{kind:"Name",value:"issueMonth"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NewDocumentInfo"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"IssueDocumentClientFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GreenInvoiceClient"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"phone"}},{kind:"Field",name:{kind:"Name",value:"taxId"}},{kind:"Field",name:{kind:"Name",value:"address"}},{kind:"Field",name:{kind:"Name",value:"city"}},{kind:"Field",name:{kind:"Name",value:"zip"}},{kind:"Field",name:{kind:"Name",value:"fax"}},{kind:"Field",name:{kind:"Name",value:"mobile"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewDocumentInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"footer"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"dueDate"}},{kind:"Field",name:{kind:"Name",value:"lang"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"vatType"}},{kind:"Field",name:{kind:"Name",value:"discount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"rounding"}},{kind:"Field",name:{kind:"Name",value:"signed"}},{kind:"Field",name:{kind:"Name",value:"maxPayments"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"IssueDocumentClientFields"}}]}},{kind:"Field",name:{kind:"Name",value:"income"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"quantity"}},{kind:"Field",name:{kind:"Name",value:"vatRate"}},{kind:"Field",name:{kind:"Name",value:"vatType"}}]}},{kind:"Field",name:{kind:"Name",value:"payment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"currencyRate"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"price"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"bankName"}},{kind:"Field",name:{kind:"Name",value:"bankBranch"}},{kind:"Field",name:{kind:"Name",value:"bankAccount"}},{kind:"Field",name:{kind:"Name",value:"chequeNum"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"appType"}},{kind:"Field",name:{kind:"Name",value:"cardType"}},{kind:"Field",name:{kind:"Name",value:"cardNum"}},{kind:"Field",name:{kind:"Name",value:"dealType"}},{kind:"Field",name:{kind:"Name",value:"numPayments"}},{kind:"Field",name:{kind:"Name",value:"firstPayment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedDocumentIds"}},{kind:"Field",name:{kind:"Name",value:"linkedPaymentId"}}]}}]},HFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BalanceReportExtendedTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsByIDs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIDs"},value:{kind:"Variable",name:{kind:"Name",value:"transactionIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"TransactionForTransactionsTableFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TransactionForTransactionsTableFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"eventDate"}},{kind:"Field",name:{kind:"Name",value:"effectiveDate"}},{kind:"Field",name:{kind:"Name",value:"sourceEffectiveDate"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"cryptoExchangeRate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rate"}}]}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}},{kind:"Field",name:{kind:"Name",value:"sourceDescription"}},{kind:"Field",name:{kind:"Name",value:"referenceKey"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"missingInfoSuggestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},VFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BalanceReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fromDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"toDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TimelessDate"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactionsForBalanceReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fromDate"},value:{kind:"Variable",name:{kind:"Name",value:"fromDate"}}},{kind:"Argument",name:{kind:"Name",value:"toDate"},value:{kind:"Variable",name:{kind:"Name",value:"toDate"}}},{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"amountUsd"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"formatted"}},{kind:"Field",name:{kind:"Name",value:"raw"}}]}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"isFee"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]}}]},QFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DepreciationReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DepreciationReportFilter"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"depreciationReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"categories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"category"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"percentage"}}]}},{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"chargeId"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"purchaseDate"}},{kind:"Field",name:{kind:"Name",value:"activationDate"}},{kind:"Field",name:{kind:"Name",value:"statutoryDepreciationRate"}},{kind:"Field",name:{kind:"Name",value:"claimedDepreciationRate"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"summary"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DepreciationReportRecordCore"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DepreciationReportRecordCore"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationCoreRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"originalCost"}},{kind:"Field",name:{kind:"Name",value:"reportYearDelta"}},{kind:"Field",name:{kind:"Name",value:"totalDepreciableCosts"}},{kind:"Field",name:{kind:"Name",value:"reportYearClaimedDepreciation"}},{kind:"Field",name:{kind:"Name",value:"pastYearsAccumulatedDepreciation"}},{kind:"Field",name:{kind:"Name",value:"totalDepreciation"}},{kind:"Field",name:{kind:"Name",value:"netValue"}}]}}]},qFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Shaam6111ReportScreen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shaam6111"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}},{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"year"}},{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContent"}}]}},{kind:"Field",name:{kind:"Name",value:"business"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentHeaderBusiness"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentHeader"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"header"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxYear"}},{kind:"Field",name:{kind:"Name",value:"businessDescription"}},{kind:"Field",name:{kind:"Name",value:"taxFileNumber"}},{kind:"Field",name:{kind:"Name",value:"idNumber"}},{kind:"Field",name:{kind:"Name",value:"vatFileNumber"}},{kind:"Field",name:{kind:"Name",value:"withholdingTaxFileNumber"}},{kind:"Field",name:{kind:"Name",value:"businessType"}},{kind:"Field",name:{kind:"Name",value:"reportingMethod"}},{kind:"Field",name:{kind:"Name",value:"currencyType"}},{kind:"Field",name:{kind:"Name",value:"amountsInThousands"}},{kind:"Field",name:{kind:"Name",value:"accountingMethod"}},{kind:"Field",name:{kind:"Name",value:"accountingSystem"}},{kind:"Field",name:{kind:"Name",value:"softwareRegistrationNumber"}},{kind:"Field",name:{kind:"Name",value:"isPartnership"}},{kind:"Field",name:{kind:"Name",value:"partnershipCount"}},{kind:"Field",name:{kind:"Name",value:"partnershipProfitShare"}},{kind:"Field",name:{kind:"Name",value:"ifrsImplementationYear"}},{kind:"Field",name:{kind:"Name",value:"ifrsReportingOption"}},{kind:"Field",name:{kind:"Name",value:"includesProfitLoss"}},{kind:"Field",name:{kind:"Name",value:"includesTaxAdjustment"}},{kind:"Field",name:{kind:"Name",value:"includesBalanceSheet"}},{kind:"Field",name:{kind:"Name",value:"industryCode"}},{kind:"Field",name:{kind:"Name",value:"auditOpinionType"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentProfitLoss"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"profitAndLoss"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentTaxAdjustment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"taxAdjustment"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentBalanceSheet"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"balanceSheet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContent"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Shaam6111Data"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentHeader"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentProfitLoss"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentTaxAdjustment"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Shaam6111DataContentBalanceSheet"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"Shaam6111DataContentHeaderBusiness"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Business"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]},GFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllSortCodesForScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},WFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTagsScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}},{kind:"FragmentSpread",name:{kind:"Name",value:"EditTagFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EditTagFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"parent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},KFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTaxCategoriesForScreen"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sortCode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},YFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripAccommodationsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripAccommodationsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripAccommodationsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},XFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripCarRentalExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripCarRentalExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripCarRentalExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},ZFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripFlightsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripFlightsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripFlightsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},JFt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripOtherExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripOtherExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripOtherExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},eDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBusinessTripTravelAndSubsistenceExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddBusinessTripTravelAndSubsistenceExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addBusinessTripTravelAndSubsistenceExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},tDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertDepreciationRecordInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},nDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddSortCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"defaultIrsCode"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addSortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"defaultIrsCode"},value:{kind:"Variable",name:{kind:"Name",value:"defaultIrsCode"}}}]}]}}]},rDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"tagName"}}}]}]}}]},iDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateBalanceCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"balanceRecords"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertMiscExpenseInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateBalanceCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}},{kind:"Argument",name:{kind:"Name",value:"balanceRecords"},value:{kind:"Variable",name:{kind:"Name",value:"balanceRecords"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},aDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BatchUpdateCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUpdateCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeIds"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIds"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BatchUpdateChargesSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},oDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CategorizeBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CategorizeBusinessTripExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"categorizeBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},sDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CategorizeIntoExistingBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CategorizeIntoExistingBusinessTripExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"categorizeIntoExistingBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},lDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CloseDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"closeDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}]}]}}]},cDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FlagForeignFeeTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"flagForeignFeeTransactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},uDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeChargesByTransactionReference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeChargesByTransactionReference"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},dDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CalculateCreditcardTransactionsDebitDate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calculateCreditcardTransactionsDebitDate"}}]}}]},fDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreditShareholdersBusinessTripTravelAndSubsistence"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creditShareholdersBusinessTripTravelAndSubsistence"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}}]}]}}]},hDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DeleteBusinessTripAttendeeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},mDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteBusinessTripExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripExpenseId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteBusinessTripExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripExpenseId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripExpenseId"}}}]}]}}]},pDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}]}]}}]},ADt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"depreciationRecordId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"depreciationRecordId"},value:{kind:"Variable",name:{kind:"Name",value:"depreciationRecordId"}}}]}]}}]},gDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}}]}]}}]},vDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteDynamicReportTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteDynamicReportTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}]}]}}]},yDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},bDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"tagId"}}}]}]}}]},xDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"FetchIncomeDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fetchIncomeDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},wDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllClients"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allClients"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceId"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"originalBusiness"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},kDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllOpenContracts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allOpenContracts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"client"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"greenInvoiceId"}},{kind:"Field",name:{kind:"Name",value:"emails"}},{kind:"Field",name:{kind:"Name",value:"originalBusiness"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"purchaseOrder"}},{kind:"Field",name:{kind:"Name",value:"startDate"}},{kind:"Field",name:{kind:"Name",value:"endDate"}},{kind:"Field",name:{kind:"Name",value:"remarks"}},{kind:"Field",name:{kind:"Name",value:"amount"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"currency"}},{kind:"Field",name:{kind:"Name",value:"formatted"}}]}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"billingCycle"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"product"}},{kind:"Field",name:{kind:"Name",value:"plan"}},{kind:"Field",name:{kind:"Name",value:"signedAgreement"}},{kind:"Field",name:{kind:"Name",value:"msCloud"}}]}}]}}]},SDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllBusinesses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allBusinesses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},CDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allCountries"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]},_Dt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllFinancialEntities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allFinancialEntities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},NDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allSortCodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultIrsCode"}}]}}]}}]},EDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allTags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"namePath"}}]}}]}}]},FDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllTaxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taxCategories"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},DDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertBusinessTripAttendeeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},TDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusinessTrip"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertBusinessTripInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertBusinessTrip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},ODt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertNewBusinessInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertNewBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},BDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"record"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"record"},value:{kind:"Variable",name:{kind:"Name",value:"record"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InsertDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},jDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertDynamicReportTemplate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"template"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertDynamicReportTemplate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"template"},value:{kind:"Variable",name:{kind:"Name",value:"template"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},IDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertMiscExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},PDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"salaryRecords"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SalaryRecordInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertSalaryRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"salaryRecords"},value:{kind:"Variable",name:{kind:"Name",value:"salaryRecords"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InsertSalaryRecordsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecords"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},MDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InsertTaxCategory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InsertTaxCategoryInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertTaxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},RDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"IssueGreenInvoiceDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"emailContent"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"attachment"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issueGreenInvoiceDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}},{kind:"Argument",name:{kind:"Name",value:"emailContent"},value:{kind:"Variable",name:{kind:"Name",value:"emailContent"}}},{kind:"Argument",name:{kind:"Name",value:"attachment"},value:{kind:"Variable",name:{kind:"Name",value:"attachment"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},$Dt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"IssueMonthlyDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"generateDocumentsInfo"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issueGreenInvoiceDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"generateDocumentsInfo"},value:{kind:"Variable",name:{kind:"Name",value:"generateDocumentsInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"errors"}}]}}]}}]},LDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeBusinesses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetBusinessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessIdsToMerge"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeBusinesses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"targetBusinessId"},value:{kind:"Variable",name:{kind:"Name",value:"targetBusinessId"}}},{kind:"Argument",name:{kind:"Name",value:"businessIdsToMerge"},value:{kind:"Variable",name:{kind:"Name",value:"businessIdsToMerge"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},UDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MergeCharges"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseChargeID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeIdsToMerge"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mergeCharges"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseChargeID"},value:{kind:"Variable",name:{kind:"Name",value:"baseChargeID"}}},{kind:"Argument",name:{kind:"Name",value:"chargeIdsToMerge"},value:{kind:"Variable",name:{kind:"Name",value:"chargeIdsToMerge"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MergeChargeSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},zDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"PreviewGreenInvoiceDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NewDocumentInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"previewGreenInvoiceDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},HDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RegenerateLedger"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regenerateLedgerRecords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Ledger"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"records"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},VDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAccommodationsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripAccommodationsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAccommodationsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},QDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAccountantApproval"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AccountantStatus"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAccountantApproval"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessTripId"},value:{kind:"Variable",name:{kind:"Name",value:"businessTripId"}}},{kind:"Argument",name:{kind:"Name",value:"approvalStatus"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}]}}]},qDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripAttendee"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BusinessTripAttendeeUpdateInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripAttendee"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},GDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripCarRentalExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripCarRentalExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripCarRentalExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},WDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripFlightsExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripFlightsExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripFlightsExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},KDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripOtherExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripOtherExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripOtherExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},YDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusinessTripTravelAndSubsistenceExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessTripTravelAndSubsistenceExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusinessTripTravelAndSubsistenceExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},XDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateBusiness"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"businessId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ownerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBusinessInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateBusiness"},arguments:[{kind:"Argument",name:{kind:"Name",value:"businessId"},value:{kind:"Variable",name:{kind:"Name",value:"businessId"}}},{kind:"Argument",name:{kind:"Name",value:"ownerId"},value:{kind:"Variable",name:{kind:"Name",value:"ownerId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LtdFinancialEntity"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},ZDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateChargeAccountantApproval"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AccountantStatus"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateChargeAccountantApproval"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"approvalStatus"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}]}]}}]},JDt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateCharge"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCharge"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateChargeSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},eTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDepreciationRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateDepreciationRecordInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateDepreciationRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DepreciationRecord"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},tTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateDocument"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateDocumentFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateDocument"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documentId"},value:{kind:"Variable",name:{kind:"Name",value:"documentId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]},nTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMiscExpense"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateMiscExpenseInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateMiscExpense"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},rTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSalaryRecord"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"salaryRecord"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SalaryRecordEditInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSalaryRecord"},arguments:[{kind:"Argument",name:{kind:"Name",value:"salaryRecord"},value:{kind:"Variable",name:{kind:"Name",value:"salaryRecord"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdateSalaryRecordSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salaryRecord"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"month"}},{kind:"Field",name:{kind:"Name",value:"employee"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},iTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSortCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateSortCodeFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSortCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},aTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTag"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tagId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTagFieldsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"tagId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}]}]}}]},oTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTaxCategory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"taxCategoryId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTaxCategoryInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTaxCategory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"taxCategoryId"},value:{kind:"Variable",name:{kind:"Name",value:"taxCategoryId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TaxCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},sTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTransaction"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTransactionInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTransaction"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionId"},value:{kind:"Variable",name:{kind:"Name",value:"transactionId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},lTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateTransactions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateTransactionInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateTransactions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transactionIds"},value:{kind:"Variable",name:{kind:"Name",value:"transactionIds"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UpdatedTransactionsSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Transaction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}}]}}]}}]},cTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadDocumentsFromGoogleDrive"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sharedFolderUrl"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUploadDocumentsFromGoogleDrive"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sharedFolderUrl"},value:{kind:"Variable",name:{kind:"Name",value:"sharedFolderUrl"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"isSensitive"},value:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UploadDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},uTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadMultipleDocuments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"documents"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FileScalar"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchUploadDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"documents"},value:{kind:"Variable",name:{kind:"Name",value:"documents"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}},{kind:"Argument",name:{kind:"Name",value:"isSensitive"},value:{kind:"Variable",name:{kind:"Name",value:"isSensitive"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CommonError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UploadDocumentSuccessfulResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"document"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NewFetchedDocumentFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NewFetchedDocumentFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Document"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"documentType"}},{kind:"Field",name:{kind:"Name",value:"charge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"userDescription"}},{kind:"Field",name:{kind:"Name",value:"counterparty"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},dTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadPayrollFile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"file"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FileScalar"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chargeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UUID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"insertSalaryRecordsFromFile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"file"},value:{kind:"Variable",name:{kind:"Name",value:"file"}}},{kind:"Argument",name:{kind:"Name",value:"chargeId"},value:{kind:"Variable",name:{kind:"Name",value:"chargeId"}}}]}]}}]},fTt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserContext"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userContext"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminBusinessId"}},{kind:"Field",name:{kind:"Name",value:"defaultLocalCurrency"}},{kind:"Field",name:{kind:"Name",value:"defaultCryptoConversionFiatCurrency"}},{kind:"Field",name:{kind:"Name",value:"ledgerLock"}},{kind:"Field",name:{kind:"Name",value:"financialAccountsBusinessesIds"}}]}}]}}]};function pi(){const{search:e}=zp(),t=w.useMemo(()=>new URLSearchParams(e),[e]),n=w.useCallback(()=>{if(window.history.pushState){const r=t.keys().next().done?"":`?${t.toString()}`,i=window.location.protocol+"//"+window.location.host+window.location.pathname+r;window.history.pushState({path:i},"",i)}},[t]);return{query:t,queryString:()=>t.toString(),get:r=>t?.get(r),set:(r,i)=>{i==null?t.delete(r):t.set(r,i),n()}}}const la=w.createContext({filtersContext:null,setFiltersContext:()=>{}});function nLe(e){const[t,n]=w.useState(!1),r=e.moreInfo?e.moreInfo(e.item):null;return d.jsxs(d.Fragment,{children:[d.jsxs("tr",{children:[e.columns.map((i,a)=>i.disabled?null:d.jsx("td",{style:i.style,children:i.value(e.item,e.rowContext?e.rowContext(e.item):void 0)},String(a))),e.moreInfo&&d.jsx("td",{children:r===null?d.jsx("p",{children:"No Data Related"}):d.jsx(Nne,{title:"More Info",onClick:()=>n(!t)})})]}),(e.isShowAll||t)&&r!==null&&d.jsx("tr",{children:d.jsx("td",{colSpan:12,children:d.jsx(Ng,{style:{width:"100%"},withBorder:!0,shadow:"lg",children:r})})})]})}function Ane(e){const[t,n]=w.useState(!1);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex flex-row justify-end w-full",children:[e.pagination&&d.jsx(Yf,{className:"flex-auto",...e.pagination}),e.showButton===!0?d.jsx("button",{className:"inline-flex text-white bg-indigo-500 border-0 py-1.5 px-3 focus:outline-hidden hover:bg-indigo-600 rounded-sm text-sm",type:"button",onClick:()=>{n(r=>!r)},children:t?"Hide All":"Show All"}):null]}),d.jsxs(_o,{striped:e.striped,highlightOnHover:e.highlightOnHover,children:[d.jsx("thead",{style:e.stickyHeader?{position:"sticky",top:0,zIndex:20}:{},children:d.jsxs("tr",{className:"px-10 py-10 title-font tracking-wider font-medium text-gray-900 text-sm bg-gray-100 rounded-tl rounded-bl",children:[e.columns.map((r,i)=>r.disabled?null:d.jsx("th",{children:r.title},String(i))),e.moreInfo&&d.jsx("th",{children:"More Info"})]})}),d.jsx("tbody",{children:e.items.map((r,i)=>d.jsx(nLe,{columns:e.columns,item:r,moreInfo:e.moreInfo,isShowAll:t,rowContext:e.rowContext},i))})]})]})}function Lt(e,t){return t}function Su(e,t,n){const r=e.__meta__?.deferredFields;if(!r)return!0;const a=t.definitions[0]?.name?.value,o=a&&r[a]||[];return o.length>0&&o.every(s=>n&&s in n)}const rLe=6048e5,hTt=864e5,Kge=Symbol.for("constructDateFrom");function Ms(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Kge in e?e[Kge](t):e instanceof Date?new e.constructor(t):new Date(t)}function sa(e,t){return Ms(t||e,e)}function gne(e,t,n){const r=sa(e,n?.in);return isNaN(t)?Ms(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function vne(e,t,n){const r=sa(e,n?.in);if(isNaN(t))return Ms(e,NaN);if(!t)return r;const i=r.getDate(),a=Ms(e,r.getTime());a.setMonth(r.getMonth()+t+1,0);const o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}let mTt={};function aD(){return mTt}function iS(e,t){const n=aD(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=sa(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function lE(e,t){return iS(e,{...t,weekStartsOn:1})}function iLe(e,t){const n=sa(e,t?.in),r=n.getFullYear(),i=Ms(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const a=lE(i),o=Ms(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const s=lE(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Yge(e){const t=sa(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 Ux(e,...t){const n=Ms.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function cE(e,t){const n=sa(e,t?.in);return n.setHours(0,0,0,0),n}function yne(e,t,n){const[r,i]=Ux(n?.in,e,t),a=cE(r),o=cE(i),s=+a-Yge(a),l=+o-Yge(o);return Math.round((s-l)/hTt)}function pTt(e,t){const n=iLe(e,t),r=Ms(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),lE(r)}function ATt(e,t,n){return gne(e,t*7,n)}function aLe(e,t,n){return vne(e,t*12,n)}function gTt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=Ms.bind(null,i));const a=sa(i,r);(!n||n<a||isNaN(+a))&&(n=a)}),Ms(r,n||NaN)}function vTt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=Ms.bind(null,i));const a=sa(i,r);(!n||n>a||isNaN(+a))&&(n=a)}),Ms(r,n||NaN)}function yTt(e,t,n){const[r,i]=Ux(n?.in,e,t);return+cE(r)==+cE(i)}function oLe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function bTt(e){return!(!oLe(e)&&typeof e!="number"||isNaN(+sa(e)))}function xTt(e,t,n){const[r,i]=Ux(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function wTt(e,t,n){const[r,i]=Ux(n?.in,e,t),a=Xge(r,i),o=Math.abs(yne(r,i));r.setDate(r.getDate()-a*o);const s=+(Xge(r,i)===-a),l=a*(o-s);return l===0?0:l}function Xge(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 kTt(e,t){const n=sa(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function STt(e,t){const[n,r]=Ux(e,t.start,t.end);return{start:n,end:r}}function CTt(e,t){const{start:n,end:r}=STt(t?.in,e);let i=+n>+r;const a=i?+n:+r,o=i?r:n;o.setHours(0,0,0,0),o.setDate(1);let s=1;const l=[];for(;+o<=a;)l.push(Ms(n,o)),o.setMonth(o.getMonth()+s);return i?l.reverse():l}function _Tt(e,t){const n=sa(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function sLe(e,t){const n=sa(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function d3(e,t){const n=sa(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function lLe(e,t){const n=aD(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=sa(e,t?.in),a=i.getDay(),o=(a<r?-7:0)+6-(a-r);return i.setDate(i.getDate()+o),i.setHours(23,59,59,999),i}function NTt(e,t){return lLe(e,{...t,weekStartsOn:1})}const ETt={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"}},FTt=(e,t,n)=>{let r;const i=ETt[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function jz(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const DTt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},TTt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},OTt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},BTt={date:jz({formats:DTt,defaultWidth:"full"}),time:jz({formats:TTt,defaultWidth:"full"}),dateTime:jz({formats:OTt,defaultWidth:"full"})},jTt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ITt=(e,t,n,r)=>jTt[e];function L_(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const PTt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},MTt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},RTt={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"]},$Tt={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"]},LTt={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"}},UTt={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"}},zTt=(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"},HTt={ordinalNumber:zTt,era:L_({values:PTt,defaultWidth:"wide"}),quarter:L_({values:MTt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:L_({values:RTt,defaultWidth:"wide"}),day:L_({values:$Tt,defaultWidth:"wide"}),dayPeriod:L_({values:LTt,defaultWidth:"wide",formattingValues:UTt,defaultFormattingWidth:"wide"})};function U_(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?QTt(s,f=>f.test(o)):VTt(s,f=>f.test(o));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(o.length);return{value:c,rest:u}}}function VTt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function QTt(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function qTt(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const GTt=/^(\d+)(th|st|nd|rd)?/i,WTt=/\d+/i,KTt={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},YTt={any:[/^b/i,/^(a|c)/i]},XTt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ZTt={any:[/1/i,/2/i,/3/i,/4/i]},JTt={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},eOt={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]},tOt={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},nOt={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]},rOt={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},iOt={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}},aOt={ordinalNumber:qTt({matchPattern:GTt,parsePattern:WTt,valueCallback:e=>parseInt(e,10)}),era:U_({matchPatterns:KTt,defaultMatchWidth:"wide",parsePatterns:YTt,defaultParseWidth:"any"}),quarter:U_({matchPatterns:XTt,defaultMatchWidth:"wide",parsePatterns:ZTt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:U_({matchPatterns:JTt,defaultMatchWidth:"wide",parsePatterns:eOt,defaultParseWidth:"any"}),day:U_({matchPatterns:tOt,defaultMatchWidth:"wide",parsePatterns:nOt,defaultParseWidth:"any"}),dayPeriod:U_({matchPatterns:rOt,defaultMatchWidth:"any",parsePatterns:iOt,defaultParseWidth:"any"})},bne={code:"en-US",formatDistance:FTt,formatLong:BTt,formatRelative:ITt,localize:HTt,match:aOt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function oOt(e,t){const n=sa(e,t?.in);return yne(n,d3(n))+1}function cLe(e,t){const n=sa(e,t?.in),r=+lE(n)-+pTt(n);return Math.round(r/rLe)+1}function uLe(e,t){const n=sa(e,t?.in),r=n.getFullYear(),i=aD(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=Ms(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);const s=iS(o,t),l=Ms(t?.in||e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const c=iS(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function sOt(e,t){const n=aD(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=uLe(e,t),a=Ms(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),iS(a,t)}function dLe(e,t){const n=sa(e,t?.in),r=+iS(n,t)-+sOt(n,t);return Math.round(r/rLe)+1}function ra(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Cv={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ra(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ra(n+1,2)},d(e,t){return ra(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ra(e.getHours()%12||12,t.length)},H(e,t){return ra(e.getHours(),t.length)},m(e,t){return ra(e.getMinutes(),t.length)},s(e,t){return ra(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return ra(i,t.length)}},mw={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zge={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return Cv.y(e,t)},Y:function(e,t,n,r){const i=uLe(e,r),a=i>0?i:1-i;if(t==="YY"){const o=a%100;return ra(o,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):ra(a,t.length)},R:function(e,t){const n=iLe(e);return ra(n,t.length)},u:function(e,t){const n=e.getFullYear();return ra(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ra(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ra(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Cv.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ra(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=dLe(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):ra(i,t.length)},I:function(e,t,n){const r=cLe(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ra(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Cv.d(e,t)},D:function(e,t,n){const r=oOt(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ra(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return ra(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return ra(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return ra(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=mw.noon:r===0?i=mw.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=mw.evening:r>=12?i=mw.afternoon:r>=4?i=mw.morning:i=mw.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Cv.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Cv.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ra(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ra(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Cv.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Cv.s(e,t)},S:function(e,t){return Cv.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return eve(r);case"XXXX":case"XX":return tb(r);case"XXXXX":case"XXX":default:return tb(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return eve(r);case"xxxx":case"xx":return tb(r);case"xxxxx":case"xxx":default:return tb(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Jge(r,":");case"OOOO":default:return"GMT"+tb(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Jge(r,":");case"zzzz":default:return"GMT"+tb(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return ra(r,t.length)},T:function(e,t,n){return ra(+e,t.length)}};function Jge(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+ra(a,2)}function eve(e,t){return e%60===0?(e>0?"-":"+")+ra(Math.abs(e)/60,2):tb(e,t)}function tb(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=ra(Math.trunc(r/60),2),a=ra(r%60,2);return n+i+t+a}const tve=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},fLe=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},lOt=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return tve(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",tve(r,t)).replace("{{time}}",fLe(i,t))},cOt={p:fLe,P:lOt},uOt=/^D+$/,dOt=/^Y+$/,fOt=["D","DD","YY","YYYY"];function hOt(e){return uOt.test(e)}function mOt(e){return dOt.test(e)}function pOt(e,t,n){const r=AOt(e,t,n);if(console.warn(r),fOt.includes(e))throw new RangeError(r)}function AOt(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const gOt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vOt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yOt=/^'([^]*?)'?$/,bOt=/''/g,xOt=/[a-zA-Z]/;function $t(e,t,n){const r=aD(),i=n?.locale??r.locale??bne,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=sa(e,n?.in);if(!bTt(s))throw new RangeError("Invalid time value");let l=t.match(vOt).map(u=>{const f=u[0];if(f==="p"||f==="P"){const h=cOt[f];return h(u,i.formatLong)}return u}).join("").match(gOt).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const f=u[0];if(f==="'")return{isToken:!1,value:wOt(u)};if(Zge[f])return{isToken:!0,value:u};if(f.match(xOt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:u}});i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const c={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return l.map(u=>{if(!u.isToken)return u.value;const f=u.value;(!n?.useAdditionalWeekYearTokens&&mOt(f)||!n?.useAdditionalDayOfYearTokens&&hOt(f))&&pOt(f,t,String(e));const h=Zge[f[0]];return h(s,f,i.localize,c)}).join("")}function wOt(e){const t=e.match(yOt);return t?t[1].replace(bOt,"'"):e}function kOt(e,t){const n=sa(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=Ms(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function SOt(e,t){return sa(e,t?.in).getMonth()}function COt(e,t){return sa(e,t?.in).getFullYear()}function _Ot(e,t){return+sa(e)>+sa(t)}function NOt(e,t){return+sa(e)<+sa(t)}function EOt(e,t,n){const[r,i]=Ux(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function FOt(e,t,n){const[r,i]=Ux(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function DOt(e,t,n){return gne(e,-t,n)}function TOt(e,t,n){const r=sa(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=Ms(e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);const s=kOt(o);return r.setMonth(t,Math.min(a,s)),r}function nve(e,t,n){const r=sa(e,n?.in);return r.setHours(t),r}function OOt(e,t,n){const r=sa(e,n?.in);return isNaN(+r)?Ms(e,NaN):(r.setFullYear(t),r)}function xne(e,t,n){return vne(e,-t,n)}function oD(e,t,n){const{years:r=0,months:i=0,weeks:a=0,days:o=0,hours:s=0,minutes:l=0,seconds:c=0}=t,u=xne(e,i+r*12,n),f=DOt(u,o+a*7,n),h=l+s*60,A=(c+h*60)*1e3;return Ms(e,+f-A)}function wne(e,t,n){return aLe(e,-1,n)}function BOt(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const jOt=e=>{switch(e){case"success":return MOt;case"info":return $Ot;case"warning":return ROt;case"error":return LOt;default:return null}},IOt=Array(12).fill(0),POt=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},IOt.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),MOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ROt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),$Ot=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),LOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),UOt=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),zOt=()=>{const[e,t]=L.useState(document.hidden);return L.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let MY=1;class HOt{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...i}=t,a=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:MY++,o=this.toasts.find(l=>l.id===a),s=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),o?this.toasts=this.toasts.map(l=>l.id===a?(this.publish({...l,...t,id:a,title:r}),{...l,...t,id:a,dismissible:s,title:r}):l):this.addToast({title:r,...i,dismissible:s,id:a}),a},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let a=r!==void 0,o;const s=i.then(async c=>{if(o=["resolve",c],L.isValidElement(c))a=!1,this.create({id:r,type:"default",message:c});else if(QOt(c)&&!c.ok){a=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description,A=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...A})}else if(c instanceof Error){a=!1;const f=typeof n.error=="function"?await n.error(c):n.error,h=typeof n.description=="function"?await n.description(c):n.description,A=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...A})}else if(n.success!==void 0){a=!1;const f=typeof n.success=="function"?await n.success(c):n.success,h=typeof n.description=="function"?await n.description(c):n.description,A=typeof f=="object"&&!L.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...A})}}).catch(async c=>{if(o=["reject",c],n.error!==void 0){a=!1;const u=typeof n.error=="function"?await n.error(c):n.error,f=typeof n.description=="function"?await n.description(c):n.description,m=typeof u=="object"&&!L.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{a&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((c,u)=>s.then(()=>o[0]==="reject"?u(o[1]):c(o[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=n?.id||MY++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Cu=new HOt,VOt=(e,t)=>{const n=t?.id||MY++;return Cu.addToast({title:e,...t,id:n}),n},QOt=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",qOt=VOt,GOt=()=>Cu.toasts,WOt=()=>Cu.getActiveToasts(),Ve=Object.assign(qOt,{success:Cu.success,info:Cu.info,warning:Cu.warning,error:Cu.error,custom:Cu.custom,message:Cu.message,promise:Cu.promise,dismiss:Cu.dismiss,loading:Cu.loading},{getHistory:GOt,getToasts:WOt});BOt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function o5(e){return e.label!==void 0}const KOt=3,YOt="24px",XOt="16px",rve=4e3,ZOt=356,JOt=14,e5t=45,t5t=200;function Lm(...e){return e.filter(Boolean).join(" ")}function n5t(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const r5t=e=>{var t,n,r,i,a,o,s,l,c;const{invert:u,toast:f,unstyled:h,interacting:m,setHeights:A,visibleToasts:p,heights:v,index:y,toasts:x,expanded:k,removeToast:S,defaultRichColors:C,closeButton:N,style:E,cancelButtonStyle:D,actionButtonStyle:T,className:P="",descriptionClassName:O="",duration:B,position:M,gap:$,expandByDefault:U,classNames:I,icons:Q,closeButtonAriaLabel:G="Close toast"}=e,[X,he]=L.useState(null),[ne,H]=L.useState(null),[W,q]=L.useState(!1),[Z,re]=L.useState(!1),[te,ue]=L.useState(!1),[fe,ge]=L.useState(!1),[oe,J]=L.useState(!1),[Se,ye]=L.useState(0),[xe,pe]=L.useState(0),K=L.useRef(f.duration||B||rve),ie=L.useRef(null),le=L.useRef(null),ce=y===0,ve=y+1<=p,be=f.type,$e=f.dismissible!==!1,je=f.className||"",Re=f.descriptionClassName||"",Ke=L.useMemo(()=>v.findIndex(kt=>kt.toastId===f.id)||0,[v,f.id]),rt=L.useMemo(()=>{var kt;return(kt=f.closeButton)!=null?kt:N},[f.closeButton,N]),ct=L.useMemo(()=>f.duration||B||rve,[f.duration,B]),St=L.useRef(0),Ae=L.useRef(0),ee=L.useRef(0),se=L.useRef(null),[Ne,Fe]=M.split("-"),Ue=L.useMemo(()=>v.reduce((kt,nn,un)=>un>=Ke?kt:kt+nn.height,0),[v,Ke]),De=zOt(),Le=f.invert||u,ot=be==="loading";Ae.current=L.useMemo(()=>Ke*$+Ue,[Ke,Ue]),L.useEffect(()=>{K.current=ct},[ct]),L.useEffect(()=>{q(!0)},[]),L.useEffect(()=>{const kt=le.current;if(kt){const nn=kt.getBoundingClientRect().height;return pe(nn),A(un=>[{toastId:f.id,height:nn,position:f.position},...un]),()=>A(un=>un.filter(hn=>hn.toastId!==f.id))}},[A,f.id]),L.useLayoutEffect(()=>{if(!W)return;const kt=le.current,nn=kt.style.height;kt.style.height="auto";const un=kt.getBoundingClientRect().height;kt.style.height=nn,pe(un),A(hn=>hn.find(Be=>Be.toastId===f.id)?hn.map(Be=>Be.toastId===f.id?{...Be,height:un}:Be):[{toastId:f.id,height:un,position:f.position},...hn])},[W,f.title,f.description,A,f.id,f.jsx,f.action,f.cancel]);const Ze=L.useCallback(()=>{re(!0),ye(Ae.current),A(kt=>kt.filter(nn=>nn.toastId!==f.id)),setTimeout(()=>{S(f)},t5t)},[f,S,A,Ae]);L.useEffect(()=>{if(f.promise&&be==="loading"||f.duration===1/0||f.type==="loading")return;let kt;return k||m||De?(()=>{if(ee.current<St.current){const hn=new Date().getTime()-St.current;K.current=K.current-hn}ee.current=new Date().getTime()})():(()=>{K.current!==1/0&&(St.current=new Date().getTime(),kt=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Ze()},K.current))})(),()=>clearTimeout(kt)},[k,m,f,be,De,Ze]),L.useEffect(()=>{f.delete&&(Ze(),f.onDismiss==null||f.onDismiss.call(f,f))},[Ze,f.delete]);function et(){var kt;if(Q?.loading){var nn;return L.createElement("div",{className:Lm(I?.loader,f==null||(nn=f.classNames)==null?void 0:nn.loader,"sonner-loader"),"data-visible":be==="loading"},Q.loading)}return L.createElement(POt,{className:Lm(I?.loader,f==null||(kt=f.classNames)==null?void 0:kt.loader),visible:be==="loading"})}const st=f.icon||Q?.[be]||jOt(be);var Mt,wt;return L.createElement("li",{tabIndex:0,ref:le,className:Lm(P,je,I?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,I?.default,I?.[be],f==null||(n=f.classNames)==null?void 0:n[be]),"data-sonner-toast":"","data-rich-colors":(Mt=f.richColors)!=null?Mt:C,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":W,"data-promise":!!f.promise,"data-swiped":oe,"data-removed":Z,"data-visible":ve,"data-y-position":Ne,"data-x-position":Fe,"data-index":y,"data-front":ce,"data-swiping":te,"data-dismissible":$e,"data-type":be,"data-invert":Le,"data-swipe-out":fe,"data-swipe-direction":ne,"data-expanded":!!(k||U&&W),"data-testid":f.testId,style:{"--index":y,"--toasts-before":y,"--z-index":x.length-y,"--offset":`${Z?Se:Ae.current}px`,"--initial-height":U?"auto":`${xe}px`,...E,...f.style},onDragEnd:()=>{ue(!1),he(null),se.current=null},onPointerDown:kt=>{kt.button!==2&&(ot||!$e||(ie.current=new Date,ye(Ae.current),kt.target.setPointerCapture(kt.pointerId),kt.target.tagName!=="BUTTON"&&(ue(!0),se.current={x:kt.clientX,y:kt.clientY})))},onPointerUp:()=>{var kt,nn,un;if(fe||!$e)return;se.current=null;const hn=Number(((kt=le.current)==null?void 0:kt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Gn=Number(((nn=le.current)==null?void 0:nn.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Be=new Date().getTime()-((un=ie.current)==null?void 0:un.getTime()),We=X==="x"?hn:Gn,it=Math.abs(We)/Be;if(Math.abs(We)>=e5t||it>.11){ye(Ae.current),f.onDismiss==null||f.onDismiss.call(f,f),H(X==="x"?hn>0?"right":"left":Gn>0?"down":"up"),Ze(),ge(!0);return}else{var vt,Bt;(vt=le.current)==null||vt.style.setProperty("--swipe-amount-x","0px"),(Bt=le.current)==null||Bt.style.setProperty("--swipe-amount-y","0px")}J(!1),ue(!1),he(null)},onPointerMove:kt=>{var nn,un,hn;if(!se.current||!$e||((nn=window.getSelection())==null?void 0:nn.toString().length)>0)return;const Be=kt.clientY-se.current.y,We=kt.clientX-se.current.x;var it;const vt=(it=e.swipeDirections)!=null?it:n5t(M);!X&&(Math.abs(We)>1||Math.abs(Be)>1)&&he(Math.abs(We)>Math.abs(Be)?"x":"y");let Bt={x:0,y:0};const Kt=Wt=>1/(1.5+Math.abs(Wt)/20);if(X==="y"){if(vt.includes("top")||vt.includes("bottom"))if(vt.includes("top")&&Be<0||vt.includes("bottom")&&Be>0)Bt.y=Be;else{const Wt=Be*Kt(Be);Bt.y=Math.abs(Wt)<Math.abs(Be)?Wt:Be}}else if(X==="x"&&(vt.includes("left")||vt.includes("right")))if(vt.includes("left")&&We<0||vt.includes("right")&&We>0)Bt.x=We;else{const Wt=We*Kt(We);Bt.x=Math.abs(Wt)<Math.abs(We)?Wt:We}(Math.abs(Bt.x)>0||Math.abs(Bt.y)>0)&&J(!0),(un=le.current)==null||un.style.setProperty("--swipe-amount-x",`${Bt.x}px`),(hn=le.current)==null||hn.style.setProperty("--swipe-amount-y",`${Bt.y}px`)}},rt&&!f.jsx&&be!=="loading"?L.createElement("button",{"aria-label":G,"data-disabled":ot,"data-close-button":!0,onClick:ot||!$e?()=>{}:()=>{Ze(),f.onDismiss==null||f.onDismiss.call(f,f)},className:Lm(I?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(wt=Q?.close)!=null?wt:UOt):null,(be||f.icon||f.promise)&&f.icon!==null&&(Q?.[be]!==null||f.icon)?L.createElement("div",{"data-icon":"",className:Lm(I?.icon,f==null||(i=f.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||et():null,f.type!=="loading"?st:null):null,L.createElement("div",{"data-content":"",className:Lm(I?.content,f==null||(a=f.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Lm(I?.title,f==null||(o=f.classNames)==null?void 0:o.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?L.createElement("div",{"data-description":"",className:Lm(O,Re,I?.description,f==null||(s=f.classNames)==null?void 0:s.description)},typeof f.description=="function"?f.description():f.description):null),L.isValidElement(f.cancel)?f.cancel:f.cancel&&o5(f.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||D,onClick:kt=>{o5(f.cancel)&&$e&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,kt),Ze())},className:Lm(I?.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,L.isValidElement(f.action)?f.action:f.action&&o5(f.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||T,onClick:kt=>{o5(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,kt),!kt.defaultPrevented&&Ze())},className:Lm(I?.actionButton,f==null||(c=f.classNames)==null?void 0:c.actionButton)},f.action.label):null)};function ive(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function i5t(e,t){const n={};return[e,t].forEach((r,i)=>{const a=i===1,o=a?"--mobile-offset":"--offset",s=a?XOt:YOt;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=s:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(s)}),n}const a5t=L.forwardRef(function(t,n){const{id:r,invert:i,position:a="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:l,className:c,offset:u,mobileOffset:f,theme:h="light",richColors:m,duration:A,style:p,visibleToasts:v=KOt,toastOptions:y,dir:x=ive(),gap:k=JOt,icons:S,containerAriaLabel:C="Notifications"}=t,[N,E]=L.useState([]),D=L.useMemo(()=>r?N.filter(W=>W.toasterId===r):N.filter(W=>!W.toasterId),[N,r]),T=L.useMemo(()=>Array.from(new Set([a].concat(D.filter(W=>W.position).map(W=>W.position)))),[D,a]),[P,O]=L.useState([]),[B,M]=L.useState(!1),[$,U]=L.useState(!1),[I,Q]=L.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),G=L.useRef(null),X=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),he=L.useRef(null),ne=L.useRef(!1),H=L.useCallback(W=>{E(q=>{var Z;return(Z=q.find(re=>re.id===W.id))!=null&&Z.delete||Cu.dismiss(W.id),q.filter(({id:re})=>re!==W.id)})},[]);return L.useEffect(()=>Cu.subscribe(W=>{if(W.dismiss){requestAnimationFrame(()=>{E(q=>q.map(Z=>Z.id===W.id?{...Z,delete:!0}:Z))});return}setTimeout(()=>{cIe.flushSync(()=>{E(q=>{const Z=q.findIndex(re=>re.id===W.id);return Z!==-1?[...q.slice(0,Z),{...q[Z],...W},...q.slice(Z+1)]:[W,...q]})})})}),[N]),L.useEffect(()=>{if(h!=="system"){Q(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Q("dark"):Q("light")),typeof window>"u")return;const W=window.matchMedia("(prefers-color-scheme: dark)");try{W.addEventListener("change",({matches:q})=>{Q(q?"dark":"light")})}catch{W.addListener(({matches:Z})=>{try{Q(Z?"dark":"light")}catch(re){console.error(re)}})}},[h]),L.useEffect(()=>{N.length<=1&&M(!1)},[N]),L.useEffect(()=>{const W=q=>{var Z;if(o.every(ue=>q[ue]||q.code===ue)){var te;M(!0),(te=G.current)==null||te.focus()}q.code==="Escape"&&(document.activeElement===G.current||(Z=G.current)!=null&&Z.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[o]),L.useEffect(()=>{if(G.current)return()=>{he.current&&(he.current.focus({preventScroll:!0}),he.current=null,ne.current=!1)}},[G.current]),L.createElement("section",{ref:n,"aria-label":`${C} ${X}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((W,q)=>{var Z;const[re,te]=W.split("-");return D.length?L.createElement("ol",{key:W,dir:x==="auto"?ive():x,tabIndex:-1,ref:G,className:c,"data-sonner-toaster":!0,"data-sonner-theme":I,"data-y-position":re,"data-x-position":te,style:{"--front-toast-height":`${((Z=P[0])==null?void 0:Z.height)||0}px`,"--width":`${ZOt}px`,"--gap":`${k}px`,...p,...i5t(u,f)},onBlur:ue=>{ne.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(ne.current=!1,he.current&&(he.current.focus({preventScroll:!0}),he.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||ne.current||(ne.current=!0,he.current=ue.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{$||M(!1)},onDragEnd:()=>M(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||U(!0)},onPointerUp:()=>U(!1)},D.filter(ue=>!ue.position&&q===0||ue.position===W).map((ue,fe)=>{var ge,oe;return L.createElement(r5t,{key:ue.id,icons:S,index:fe,toast:ue,defaultRichColors:m,duration:(ge=y?.duration)!=null?ge:A,className:y?.className,descriptionClassName:y?.descriptionClassName,invert:i,visibleToasts:v,closeButton:(oe=y?.closeButton)!=null?oe:l,interacting:$,position:W,style:y?.style,unstyled:y?.unstyled,classNames:y?.classNames,cancelButtonStyle:y?.cancelButtonStyle,actionButtonStyle:y?.actionButtonStyle,closeButtonAriaLabel:y?.closeButtonAriaLabel,removeToast:H,toasts:D.filter(J=>J.position==ue.position),heights:P.filter(J=>J.position==ue.position),setHeights:O,expandByDefault:s,gap:k,expanded:B,swipeDirections:t.swipeDirections})})):null}))});function Hn(e,t,n,r){try{if(e.error){const{error:i}=e;if(i.graphQLErrors?.[0]?.extensions?.code){const a=i.graphQLErrors[0],{message:o,extensions:{code:s}}=a;throw console.error(`Error ${s} - ${t}: ${a}`),new Error(o)}throw console.error(i),new Error(`${t}: Error occurred`)}if(!e.data)throw new Error(`${t}: No data`);if(r&&typeof e.data=="object"){const i=e.data;if(r in i&&typeof i[r]=="object"){const a=i[r];if("__typename"in a&&a.__typename==="CommonError")throw console.error(`${t}: ${a}`),new Error(a.message)}}return e.data}catch(i){Ve.error("Error",{id:n,description:i.message,duration:1e5,closeButton:!0});return}}const o5t="updateBusinessTripAccountantApproval",s5t=()=>{const[{fetching:e},t]=zn(QDt),n=w.useCallback(async r=>{const i=`Error toggling accountant approval for trip [${r.businessTripId}]`,a=`${o5t}-${r.businessTripId}`;Ve.loading("Updating accountant approval status",{id:a});try{const o=await t(r),s=Hn(o,i,a);if(s)return Ve.success("Success",{id:a,description:"Accountant approval status updated"}),s.updateBusinessTripAccountantApproval}catch(o){console.error(`${i}: ${o}`),Ve.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,updateBusinessTripAccountantApproval:n}};function l5t({data:e,onChange:t}){const n=Lt(j2t,e),[r,i]=w.useState(n.accountantApproval),{updateBusinessTripAccountantApproval:a}=s5t();return w.useEffect(()=>{r==null&&n.accountantApproval!=null&&i(n.accountantApproval)},[r,n.accountantApproval]),d.jsx(Lae,{value:r,onChange:o=>a({businessTripId:n.id,status:o}).then(t)})}/**
|
|
111
|
-
* @license lucide-react v0.
|
|
111
|
+
* @license lucide-react v0.545.0 - ISC
|
|
112
112
|
*
|
|
113
113
|
* This source code is licensed under the ISC license.
|
|
114
114
|
* See the LICENSE file in the root directory of this source tree.
|
|
115
115
|
*/const c5t=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u5t=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),ave=e=>{const t=u5t(e);return t.charAt(0).toUpperCase()+t.slice(1)},hLe=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),d5t=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
116
|
-
* @license lucide-react v0.
|
|
116
|
+
* @license lucide-react v0.545.0 - ISC
|
|
117
117
|
*
|
|
118
118
|
* This source code is licensed under the ISC license.
|
|
119
119
|
* See the LICENSE file in the root directory of this source tree.
|
|
120
120
|
*/var f5t={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
121
|
-
* @license lucide-react v0.
|
|
121
|
+
* @license lucide-react v0.545.0 - ISC
|
|
122
122
|
*
|
|
123
123
|
* This source code is licensed under the ISC license.
|
|
124
124
|
* See the LICENSE file in the root directory of this source tree.
|
|
125
125
|
*/const h5t=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:o,...s},l)=>w.createElement("svg",{ref:l,...f5t,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hLe("lucide",i),...!a&&!d5t(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,u])=>w.createElement(c,u)),...Array.isArray(a)?a:[a]]));/**
|
|
126
|
-
* @license lucide-react v0.
|
|
126
|
+
* @license lucide-react v0.545.0 - ISC
|
|
127
127
|
*
|
|
128
128
|
* This source code is licensed under the ISC license.
|
|
129
129
|
* See the LICENSE file in the root directory of this source tree.
|
|
130
130
|
*/const qt=(e,t)=>{const n=w.forwardRef(({className:r,...i},a)=>w.createElement(h5t,{ref:a,iconNode:t,className:hLe(`lucide-${c5t(ave(e))}`,`lucide-${e}`,r),...i}));return n.displayName=ave(e),n};/**
|
|
131
|
-
* @license lucide-react v0.
|
|
131
|
+
* @license lucide-react v0.545.0 - ISC
|
|
132
132
|
*
|
|
133
133
|
* This source code is licensed under the ISC license.
|
|
134
134
|
* See the LICENSE file in the root directory of this source tree.
|
|
135
135
|
*/const m5t=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],p5t=qt("arrow-down-0-1",m5t);/**
|
|
136
|
-
* @license lucide-react v0.
|
|
136
|
+
* @license lucide-react v0.545.0 - ISC
|
|
137
137
|
*
|
|
138
138
|
* This source code is licensed under the ISC license.
|
|
139
139
|
* See the LICENSE file in the root directory of this source tree.
|
|
140
140
|
*/const A5t=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],g5t=qt("arrow-down-wide-narrow",A5t);/**
|
|
141
|
-
* @license lucide-react v0.
|
|
141
|
+
* @license lucide-react v0.545.0 - ISC
|
|
142
142
|
*
|
|
143
143
|
* This source code is licensed under the ISC license.
|
|
144
144
|
* See the LICENSE file in the root directory of this source tree.
|
|
145
145
|
*/const v5t=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]],y5t=qt("arrow-left-right",v5t);/**
|
|
146
|
-
* @license lucide-react v0.
|
|
146
|
+
* @license lucide-react v0.545.0 - ISC
|
|
147
147
|
*
|
|
148
148
|
* This source code is licensed under the ISC license.
|
|
149
149
|
* See the LICENSE file in the root directory of this source tree.
|
|
150
150
|
*/const b5t=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],x5t=qt("arrow-right-left",b5t);/**
|
|
151
|
-
* @license lucide-react v0.
|
|
151
|
+
* @license lucide-react v0.545.0 - ISC
|
|
152
152
|
*
|
|
153
153
|
* This source code is licensed under the ISC license.
|
|
154
154
|
* See the LICENSE file in the root directory of this source tree.
|
|
155
155
|
*/const w5t=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],yd=qt("arrow-up-down",w5t);/**
|
|
156
|
-
* @license lucide-react v0.
|
|
156
|
+
* @license lucide-react v0.545.0 - ISC
|
|
157
157
|
*
|
|
158
158
|
* This source code is licensed under the ISC license.
|
|
159
159
|
* See the LICENSE file in the root directory of this source tree.
|
|
160
160
|
*/const k5t=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],S5t=qt("badge-dollar-sign",k5t);/**
|
|
161
|
-
* @license lucide-react v0.
|
|
161
|
+
* @license lucide-react v0.545.0 - ISC
|
|
162
162
|
*
|
|
163
163
|
* This source code is licensed under the ISC license.
|
|
164
164
|
* See the LICENSE file in the root directory of this source tree.
|
|
165
165
|
*/const C5t=[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M8 5v14",key:"1ybrkv"}],["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"M17 5v14",key:"ycjyhj"}],["path",{d:"M21 5v14",key:"nzette"}]],ove=qt("barcode",C5t);/**
|
|
166
|
-
* @license lucide-react v0.
|
|
166
|
+
* @license lucide-react v0.545.0 - ISC
|
|
167
167
|
*
|
|
168
168
|
* This source code is licensed under the ISC license.
|
|
169
169
|
* See the LICENSE file in the root directory of this source tree.
|
|
170
170
|
*/const _5t=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],N5t=qt("book-open-check",_5t);/**
|
|
171
|
-
* @license lucide-react v0.
|
|
171
|
+
* @license lucide-react v0.545.0 - ISC
|
|
172
172
|
*
|
|
173
173
|
* This source code is licensed under the ISC license.
|
|
174
174
|
* See the LICENSE file in the root directory of this source tree.
|
|
175
175
|
*/const E5t=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],F5t=qt("book",E5t);/**
|
|
176
|
-
* @license lucide-react v0.
|
|
176
|
+
* @license lucide-react v0.545.0 - ISC
|
|
177
177
|
*
|
|
178
178
|
* This source code is licensed under the ISC license.
|
|
179
179
|
* See the LICENSE file in the root directory of this source tree.
|
|
180
180
|
*/const D5t=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]],sve=qt("bookmark",D5t);/**
|
|
181
|
-
* @license lucide-react v0.
|
|
181
|
+
* @license lucide-react v0.545.0 - ISC
|
|
182
182
|
*
|
|
183
183
|
* This source code is licensed under the ISC license.
|
|
184
184
|
* See the LICENSE file in the root directory of this source tree.
|
|
185
|
-
*/const T5t=[["path",{d:"
|
|
186
|
-
* @license lucide-react v0.
|
|
185
|
+
*/const T5t=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],O5t=qt("building-2",T5t);/**
|
|
186
|
+
* @license lucide-react v0.545.0 - ISC
|
|
187
187
|
*
|
|
188
188
|
* This source code is licensed under the ISC license.
|
|
189
189
|
* See the LICENSE file in the root directory of this source tree.
|
|
190
190
|
*/const B5t=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],j5t=qt("calculator",B5t);/**
|
|
191
|
-
* @license lucide-react v0.
|
|
191
|
+
* @license lucide-react v0.545.0 - ISC
|
|
192
192
|
*
|
|
193
193
|
* This source code is licensed under the ISC license.
|
|
194
194
|
* See the LICENSE file in the root directory of this source tree.
|
|
195
195
|
*/const I5t=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],aS=qt("calendar",I5t);/**
|
|
196
|
-
* @license lucide-react v0.
|
|
196
|
+
* @license lucide-react v0.545.0 - ISC
|
|
197
197
|
*
|
|
198
198
|
* This source code is licensed under the ISC license.
|
|
199
199
|
* See the LICENSE file in the root directory of this source tree.
|
|
200
200
|
*/const P5t=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],M5t=qt("car",P5t);/**
|
|
201
|
-
* @license lucide-react v0.
|
|
201
|
+
* @license lucide-react v0.545.0 - ISC
|
|
202
202
|
*
|
|
203
203
|
* This source code is licensed under the ISC license.
|
|
204
204
|
* See the LICENSE file in the root directory of this source tree.
|
|
205
205
|
*/const R5t=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],Iz=qt("chart-column-big",R5t);/**
|
|
206
|
-
* @license lucide-react v0.
|
|
206
|
+
* @license lucide-react v0.545.0 - ISC
|
|
207
207
|
*
|
|
208
208
|
* This source code is licensed under the ISC license.
|
|
209
209
|
* See the LICENSE file in the root directory of this source tree.
|
|
210
210
|
*/const $5t=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]],L5t=qt("chart-column-decreasing",$5t);/**
|
|
211
|
-
* @license lucide-react v0.
|
|
211
|
+
* @license lucide-react v0.545.0 - ISC
|
|
212
212
|
*
|
|
213
213
|
* This source code is licensed under the ISC license.
|
|
214
214
|
* See the LICENSE file in the root directory of this source tree.
|
|
215
215
|
*/const U5t=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],z5t=qt("chart-no-axes-combined",U5t);/**
|
|
216
|
-
* @license lucide-react v0.
|
|
216
|
+
* @license lucide-react v0.545.0 - ISC
|
|
217
217
|
*
|
|
218
218
|
* This source code is licensed under the ISC license.
|
|
219
219
|
* See the LICENSE file in the root directory of this source tree.
|
|
220
220
|
*/const H5t=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],V5t=qt("check-check",H5t);/**
|
|
221
|
-
* @license lucide-react v0.
|
|
221
|
+
* @license lucide-react v0.545.0 - ISC
|
|
222
222
|
*
|
|
223
223
|
* This source code is licensed under the ISC license.
|
|
224
224
|
* See the LICENSE file in the root directory of this source tree.
|
|
225
225
|
*/const Q5t=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Rs=qt("check",Q5t);/**
|
|
226
|
-
* @license lucide-react v0.
|
|
226
|
+
* @license lucide-react v0.545.0 - ISC
|
|
227
227
|
*
|
|
228
228
|
* This source code is licensed under the ISC license.
|
|
229
229
|
* See the LICENSE file in the root directory of this source tree.
|
|
230
230
|
*/const q5t=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Jr=qt("chevron-down",q5t);/**
|
|
231
|
-
* @license lucide-react v0.
|
|
231
|
+
* @license lucide-react v0.545.0 - ISC
|
|
232
232
|
*
|
|
233
233
|
* This source code is licensed under the ISC license.
|
|
234
234
|
* See the LICENSE file in the root directory of this source tree.
|
|
235
235
|
*/const G5t=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],kne=qt("chevron-left",G5t);/**
|
|
236
|
-
* @license lucide-react v0.
|
|
236
|
+
* @license lucide-react v0.545.0 - ISC
|
|
237
237
|
*
|
|
238
238
|
* This source code is licensed under the ISC license.
|
|
239
239
|
* See the LICENSE file in the root directory of this source tree.
|
|
240
240
|
*/const W5t=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mLe=qt("chevron-right",W5t);/**
|
|
241
|
-
* @license lucide-react v0.
|
|
241
|
+
* @license lucide-react v0.545.0 - ISC
|
|
242
242
|
*
|
|
243
243
|
* This source code is licensed under the ISC license.
|
|
244
244
|
* See the LICENSE file in the root directory of this source tree.
|
|
245
245
|
*/const K5t=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Hi=qt("chevron-up",K5t);/**
|
|
246
|
-
* @license lucide-react v0.
|
|
246
|
+
* @license lucide-react v0.545.0 - ISC
|
|
247
247
|
*
|
|
248
248
|
* This source code is licensed under the ISC license.
|
|
249
249
|
* See the LICENSE file in the root directory of this source tree.
|
|
250
250
|
*/const Y5t=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"m17 7 5 5-5 5",key:"1xlxn0"}],["path",{d:"m7 7-5 5 5 5",key:"19njba"}],["path",{d:"M8 12h.01",key:"czm47f"}]],pLe=qt("chevrons-left-right-ellipsis",Y5t);/**
|
|
251
|
-
* @license lucide-react v0.
|
|
251
|
+
* @license lucide-react v0.545.0 - ISC
|
|
252
252
|
*
|
|
253
253
|
* This source code is licensed under the ISC license.
|
|
254
254
|
* See the LICENSE file in the root directory of this source tree.
|
|
255
255
|
*/const X5t=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],Z5t=qt("chevrons-left",X5t);/**
|
|
256
|
-
* @license lucide-react v0.
|
|
256
|
+
* @license lucide-react v0.545.0 - ISC
|
|
257
257
|
*
|
|
258
258
|
* This source code is licensed under the ISC license.
|
|
259
259
|
* See the LICENSE file in the root directory of this source tree.
|
|
260
260
|
*/const J5t=[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]],ALe=qt("chevrons-right-left",J5t);/**
|
|
261
|
-
* @license lucide-react v0.
|
|
261
|
+
* @license lucide-react v0.545.0 - ISC
|
|
262
262
|
*
|
|
263
263
|
* This source code is licensed under the ISC license.
|
|
264
264
|
* See the LICENSE file in the root directory of this source tree.
|
|
265
265
|
*/const eBt=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],tBt=qt("chevrons-right",eBt);/**
|
|
266
|
-
* @license lucide-react v0.
|
|
266
|
+
* @license lucide-react v0.545.0 - ISC
|
|
267
267
|
*
|
|
268
268
|
* This source code is licensed under the ISC license.
|
|
269
269
|
* See the LICENSE file in the root directory of this source tree.
|
|
270
270
|
*/const nBt=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],rBt=qt("circle-alert",nBt);/**
|
|
271
|
-
* @license lucide-react v0.
|
|
271
|
+
* @license lucide-react v0.545.0 - ISC
|
|
272
272
|
*
|
|
273
273
|
* This source code is licensed under the ISC license.
|
|
274
274
|
* See the LICENSE file in the root directory of this source tree.
|
|
275
275
|
*/const iBt=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aBt=qt("circle-check-big",iBt);/**
|
|
276
|
-
* @license lucide-react v0.
|
|
276
|
+
* @license lucide-react v0.545.0 - ISC
|
|
277
277
|
*
|
|
278
278
|
* This source code is licensed under the ISC license.
|
|
279
279
|
* See the LICENSE file in the root directory of this source tree.
|
|
280
280
|
*/const oBt=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],lve=qt("circle-x",oBt);/**
|
|
281
|
-
* @license lucide-react v0.
|
|
281
|
+
* @license lucide-react v0.545.0 - ISC
|
|
282
282
|
*
|
|
283
283
|
* This source code is licensed under the ISC license.
|
|
284
284
|
* See the LICENSE file in the root directory of this source tree.
|
|
285
285
|
*/const sBt=[["path",{d:"m10.852 19.772-.383.924",key:"r7sl7d"}],["path",{d:"m13.148 14.228.383-.923",key:"1d5zpm"}],["path",{d:"M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1ydik7"}],["path",{d:"m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1m1vsf"}],["path",{d:"m14.772 15.852.923-.383",key:"660p6e"}],["path",{d:"m14.772 18.148.923.383",key:"hrcpis"}],["path",{d:"M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"j2q98n"}],["path",{d:"m9.228 15.852-.923-.383",key:"1p9ong"}],["path",{d:"m9.228 18.148-.923.383",key:"6558rz"}]],lBt=qt("cloud-cog",sBt);/**
|
|
286
|
-
* @license lucide-react v0.
|
|
286
|
+
* @license lucide-react v0.545.0 - ISC
|
|
287
287
|
*
|
|
288
288
|
* This source code is licensed under the ISC license.
|
|
289
289
|
* See the LICENSE file in the root directory of this source tree.
|
|
290
290
|
*/const cBt=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],uBt=qt("cloud-upload",cBt);/**
|
|
291
|
-
* @license lucide-react v0.
|
|
291
|
+
* @license lucide-react v0.545.0 - ISC
|
|
292
292
|
*
|
|
293
293
|
* This source code is licensed under the ISC license.
|
|
294
294
|
* See the LICENSE file in the root directory of this source tree.
|
|
295
295
|
*/const dBt=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],$4=qt("coins",dBt);/**
|
|
296
|
-
* @license lucide-react v0.
|
|
296
|
+
* @license lucide-react v0.545.0 - ISC
|
|
297
297
|
*
|
|
298
298
|
* This source code is licensed under the ISC license.
|
|
299
299
|
* See the LICENSE file in the root directory of this source tree.
|
|
300
|
-
*/const fBt=[["path",{d:"
|
|
301
|
-
* @license lucide-react v0.
|
|
300
|
+
*/const fBt=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],hBt=qt("combine",fBt);/**
|
|
301
|
+
* @license lucide-react v0.545.0 - ISC
|
|
302
302
|
*
|
|
303
303
|
* This source code is licensed under the ISC license.
|
|
304
304
|
* See the LICENSE file in the root directory of this source tree.
|
|
305
305
|
*/const mBt=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],pBt=qt("copy",mBt);/**
|
|
306
|
-
* @license lucide-react v0.
|
|
306
|
+
* @license lucide-react v0.545.0 - ISC
|
|
307
307
|
*
|
|
308
308
|
* This source code is licensed under the ISC license.
|
|
309
309
|
* See the LICENSE file in the root directory of this source tree.
|
|
310
310
|
*/const ABt=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],gLe=qt("credit-card",ABt);/**
|
|
311
|
-
* @license lucide-react v0.
|
|
311
|
+
* @license lucide-react v0.545.0 - ISC
|
|
312
312
|
*
|
|
313
313
|
* This source code is licensed under the ISC license.
|
|
314
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
315
315
|
*/const gBt=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Sne=qt("download",gBt);/**
|
|
316
|
-
* @license lucide-react v0.
|
|
316
|
+
* @license lucide-react v0.545.0 - ISC
|
|
317
317
|
*
|
|
318
318
|
* This source code is licensed under the ISC license.
|
|
319
319
|
* See the LICENSE file in the root directory of this source tree.
|
|
320
320
|
*/const vBt=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],vLe=qt("ellipsis",vBt);/**
|
|
321
|
-
* @license lucide-react v0.
|
|
321
|
+
* @license lucide-react v0.545.0 - ISC
|
|
322
322
|
*
|
|
323
323
|
* This source code is licensed under the ISC license.
|
|
324
324
|
* See the LICENSE file in the root directory of this source tree.
|
|
325
325
|
*/const yBt=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],bBt=qt("external-link",yBt);/**
|
|
326
|
-
* @license lucide-react v0.
|
|
326
|
+
* @license lucide-react v0.545.0 - ISC
|
|
327
327
|
*
|
|
328
328
|
* This source code is licensed under the ISC license.
|
|
329
329
|
* See the LICENSE file in the root directory of this source tree.
|
|
330
330
|
*/const xBt=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],wBt=qt("eye-off",xBt);/**
|
|
331
|
-
* @license lucide-react v0.
|
|
331
|
+
* @license lucide-react v0.545.0 - ISC
|
|
332
332
|
*
|
|
333
333
|
* This source code is licensed under the ISC license.
|
|
334
334
|
* See the LICENSE file in the root directory of this source tree.
|
|
335
|
-
*/const kBt=[["path",{d:"
|
|
336
|
-
* @license lucide-react v0.
|
|
335
|
+
*/const kBt=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],SBt=qt("factory",kBt);/**
|
|
336
|
+
* @license lucide-react v0.545.0 - ISC
|
|
337
337
|
*
|
|
338
338
|
* This source code is licensed under the ISC license.
|
|
339
339
|
* See the LICENSE file in the root directory of this source tree.
|
|
340
|
-
*/const
|
|
341
|
-
* @license lucide-react v0.
|
|
340
|
+
*/const CBt=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Cne=qt("eye",CBt);/**
|
|
341
|
+
* @license lucide-react v0.545.0 - ISC
|
|
342
342
|
*
|
|
343
343
|
* This source code is licensed under the ISC license.
|
|
344
344
|
* See the LICENSE file in the root directory of this source tree.
|
|
345
345
|
*/const _Bt=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["rect",{width:"4",height:"6",x:"2",y:"12",rx:"2",key:"jm304g"}],["path",{d:"M10 12h2v6",key:"12zw74"}],["path",{d:"M10 18h4",key:"1ulq68"}]],NBt=qt("file-digit",_Bt);/**
|
|
346
|
-
* @license lucide-react v0.
|
|
346
|
+
* @license lucide-react v0.545.0 - ISC
|
|
347
347
|
*
|
|
348
348
|
* This source code is licensed under the ISC license.
|
|
349
349
|
* See the LICENSE file in the root directory of this source tree.
|
|
350
350
|
*/const EBt=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],yLe=qt("file-down",EBt);/**
|
|
351
|
-
* @license lucide-react v0.
|
|
351
|
+
* @license lucide-react v0.545.0 - ISC
|
|
352
352
|
*
|
|
353
353
|
* This source code is licensed under the ISC license.
|
|
354
354
|
* See the LICENSE file in the root directory of this source tree.
|
|
355
355
|
*/const FBt=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],cve=qt("file-pen",FBt);/**
|
|
356
|
-
* @license lucide-react v0.
|
|
356
|
+
* @license lucide-react v0.545.0 - ISC
|
|
357
357
|
*
|
|
358
358
|
* This source code is licensed under the ISC license.
|
|
359
359
|
* See the LICENSE file in the root directory of this source tree.
|
|
360
360
|
*/const DBt=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 15h6",key:"4e2qda"}],["path",{d:"M6 12v6",key:"1u72j0"}]],uve=qt("file-plus-2",DBt);/**
|
|
361
|
-
* @license lucide-react v0.
|
|
361
|
+
* @license lucide-react v0.545.0 - ISC
|
|
362
362
|
*
|
|
363
363
|
* This source code is licensed under the ISC license.
|
|
364
364
|
* See the LICENSE file in the root directory of this source tree.
|
|
365
365
|
*/const TBt=[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],dve=qt("file-question-mark",TBt);/**
|
|
366
|
-
* @license lucide-react v0.
|
|
366
|
+
* @license lucide-react v0.545.0 - ISC
|
|
367
367
|
*
|
|
368
368
|
* This source code is licensed under the ISC license.
|
|
369
369
|
* See the LICENSE file in the root directory of this source tree.
|
|
370
370
|
*/const OBt=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],bLe=qt("file-text",OBt);/**
|
|
371
|
-
* @license lucide-react v0.
|
|
371
|
+
* @license lucide-react v0.545.0 - ISC
|
|
372
372
|
*
|
|
373
373
|
* This source code is licensed under the ISC license.
|
|
374
374
|
* See the LICENSE file in the root directory of this source tree.
|
|
375
375
|
*/const BBt=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],fve=qt("file",BBt);/**
|
|
376
|
-
* @license lucide-react v0.
|
|
376
|
+
* @license lucide-react v0.545.0 - ISC
|
|
377
377
|
*
|
|
378
378
|
* This source code is licensed under the ISC license.
|
|
379
379
|
* See the LICENSE file in the root directory of this source tree.
|
|
380
380
|
*/const jBt=[["path",{d:"M15 2a2 2 0 0 1 1.414.586l4 4A2 2 0 0 1 21 8v7a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z",key:"1vo8kb"}],["path",{d:"M15 2v4a2 2 0 0 0 2 2h4",key:"sud9ri"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],hve=qt("files",jBt);/**
|
|
381
|
-
* @license lucide-react v0.
|
|
381
|
+
* @license lucide-react v0.545.0 - ISC
|
|
382
382
|
*
|
|
383
383
|
* This source code is licensed under the ISC license.
|
|
384
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
385
385
|
*/const IBt=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],PBt=qt("folder-open",IBt);/**
|
|
386
|
-
* @license lucide-react v0.
|
|
386
|
+
* @license lucide-react v0.545.0 - ISC
|
|
387
387
|
*
|
|
388
388
|
* This source code is licensed under the ISC license.
|
|
389
389
|
* See the LICENSE file in the root directory of this source tree.
|
|
390
390
|
*/const MBt=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],RBt=qt("folder-plus",MBt);/**
|
|
391
|
-
* @license lucide-react v0.
|
|
391
|
+
* @license lucide-react v0.545.0 - ISC
|
|
392
392
|
*
|
|
393
393
|
* This source code is licensed under the ISC license.
|
|
394
394
|
* See the LICENSE file in the root directory of this source tree.
|
|
395
395
|
*/const $Bt=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],LBt=qt("folder",$Bt);/**
|
|
396
|
-
* @license lucide-react v0.
|
|
396
|
+
* @license lucide-react v0.545.0 - ISC
|
|
397
397
|
*
|
|
398
398
|
* This source code is licensed under the ISC license.
|
|
399
399
|
* See the LICENSE file in the root directory of this source tree.
|
|
400
400
|
*/const UBt=[["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5",key:"1wtuz0"}],["path",{d:"M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16",key:"e09ifn"}],["path",{d:"M2 21h13",key:"1x0fut"}],["path",{d:"M3 9h11",key:"1p7c0w"}]],zBt=qt("fuel",UBt);/**
|
|
401
|
-
* @license lucide-react v0.
|
|
401
|
+
* @license lucide-react v0.545.0 - ISC
|
|
402
402
|
*
|
|
403
403
|
* This source code is licensed under the ISC license.
|
|
404
404
|
* See the LICENSE file in the root directory of this source tree.
|
|
405
405
|
*/const HBt=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Yl=qt("funnel",HBt);/**
|
|
406
|
-
* @license lucide-react v0.
|
|
406
|
+
* @license lucide-react v0.545.0 - ISC
|
|
407
407
|
*
|
|
408
408
|
* This source code is licensed under the ISC license.
|
|
409
409
|
* See the LICENSE file in the root directory of this source tree.
|
|
410
410
|
*/const VBt=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],QBt=qt("gift",VBt);/**
|
|
411
|
-
* @license lucide-react v0.
|
|
411
|
+
* @license lucide-react v0.545.0 - ISC
|
|
412
412
|
*
|
|
413
413
|
* This source code is licensed under the ISC license.
|
|
414
414
|
* See the LICENSE file in the root directory of this source tree.
|
|
415
415
|
*/const qBt=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],GBt=qt("globe",qBt);/**
|
|
416
|
-
* @license lucide-react v0.
|
|
416
|
+
* @license lucide-react v0.545.0 - ISC
|
|
417
417
|
*
|
|
418
418
|
* This source code is licensed under the ISC license.
|
|
419
419
|
* See the LICENSE file in the root directory of this source tree.
|
|
420
420
|
*/const WBt=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],RY=qt("hand-coins",WBt);/**
|
|
421
|
-
* @license lucide-react v0.
|
|
421
|
+
* @license lucide-react v0.545.0 - ISC
|
|
422
422
|
*
|
|
423
423
|
* This source code is licensed under the ISC license.
|
|
424
424
|
* See the LICENSE file in the root directory of this source tree.
|
|
425
425
|
*/const KBt=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],xLe=qt("id-card",KBt);/**
|
|
426
|
-
* @license lucide-react v0.
|
|
426
|
+
* @license lucide-react v0.545.0 - ISC
|
|
427
427
|
*
|
|
428
428
|
* This source code is licensed under the ISC license.
|
|
429
429
|
* See the LICENSE file in the root directory of this source tree.
|
|
430
430
|
*/const YBt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],wLe=qt("image",YBt);/**
|
|
431
|
-
* @license lucide-react v0.
|
|
431
|
+
* @license lucide-react v0.545.0 - ISC
|
|
432
432
|
*
|
|
433
433
|
* This source code is licensed under the ISC license.
|
|
434
434
|
* See the LICENSE file in the root directory of this source tree.
|
|
435
435
|
*/const XBt=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],ZBt=qt("link",XBt);/**
|
|
436
|
-
* @license lucide-react v0.
|
|
436
|
+
* @license lucide-react v0.545.0 - ISC
|
|
437
437
|
*
|
|
438
438
|
* This source code is licensed under the ISC license.
|
|
439
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
440
440
|
*/const JBt=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],xp=qt("list-plus",JBt);/**
|
|
441
|
-
* @license lucide-react v0.
|
|
441
|
+
* @license lucide-react v0.545.0 - ISC
|
|
442
442
|
*
|
|
443
443
|
* This source code is licensed under the ISC license.
|
|
444
444
|
* See the LICENSE file in the root directory of this source tree.
|
|
445
445
|
*/const ejt=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ai=qt("loader-circle",ejt);/**
|
|
446
|
-
* @license lucide-react v0.
|
|
446
|
+
* @license lucide-react v0.545.0 - ISC
|
|
447
447
|
*
|
|
448
448
|
* This source code is licensed under the ISC license.
|
|
449
449
|
* See the LICENSE file in the root directory of this source tree.
|
|
450
450
|
*/const tjt=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],njt=qt("mail",tjt);/**
|
|
451
|
-
* @license lucide-react v0.
|
|
451
|
+
* @license lucide-react v0.545.0 - ISC
|
|
452
452
|
*
|
|
453
453
|
* This source code is licensed under the ISC license.
|
|
454
454
|
* See the LICENSE file in the root directory of this source tree.
|
|
455
455
|
*/const rjt=[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],ijt=qt("map-plus",rjt);/**
|
|
456
|
-
* @license lucide-react v0.
|
|
456
|
+
* @license lucide-react v0.545.0 - ISC
|
|
457
457
|
*
|
|
458
458
|
* This source code is licensed under the ISC license.
|
|
459
459
|
* See the LICENSE file in the root directory of this source tree.
|
|
460
|
-
*/const ajt=[["path",{d:"
|
|
461
|
-
* @license lucide-react v0.
|
|
460
|
+
*/const ajt=[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]],kLe=qt("merge",ajt);/**
|
|
461
|
+
* @license lucide-react v0.545.0 - ISC
|
|
462
462
|
*
|
|
463
463
|
* This source code is licensed under the ISC license.
|
|
464
464
|
* See the LICENSE file in the root directory of this source tree.
|
|
465
|
-
*/const
|
|
466
|
-
* @license lucide-react v0.
|
|
465
|
+
*/const ojt=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],sjt=qt("menu",ojt);/**
|
|
466
|
+
* @license lucide-react v0.545.0 - ISC
|
|
467
467
|
*
|
|
468
468
|
* This source code is licensed under the ISC license.
|
|
469
469
|
* See the LICENSE file in the root directory of this source tree.
|
|
470
470
|
*/const ljt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 16 3-3 3 3",key:"1idcnm"}]],Vu=qt("panel-top-close",ljt);/**
|
|
471
|
-
* @license lucide-react v0.
|
|
471
|
+
* @license lucide-react v0.545.0 - ISC
|
|
472
472
|
*
|
|
473
473
|
* This source code is licensed under the ISC license.
|
|
474
474
|
* See the LICENSE file in the root directory of this source tree.
|
|
475
475
|
*/const cjt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]],Qu=qt("panel-top-open",cjt);/**
|
|
476
|
-
* @license lucide-react v0.
|
|
476
|
+
* @license lucide-react v0.545.0 - ISC
|
|
477
477
|
*
|
|
478
478
|
* This source code is licensed under the ISC license.
|
|
479
479
|
* See the LICENSE file in the root directory of this source tree.
|
|
480
480
|
*/const ujt=[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]],mve=qt("parking-meter",ujt);/**
|
|
481
|
-
* @license lucide-react v0.
|
|
481
|
+
* @license lucide-react v0.545.0 - ISC
|
|
482
482
|
*
|
|
483
483
|
* This source code is licensed under the ISC license.
|
|
484
484
|
* See the LICENSE file in the root directory of this source tree.
|
|
485
485
|
*/const djt=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],fjt=qt("pencil",djt);/**
|
|
486
|
-
* @license lucide-react v0.
|
|
486
|
+
* @license lucide-react v0.545.0 - ISC
|
|
487
487
|
*
|
|
488
488
|
* This source code is licensed under the ISC license.
|
|
489
489
|
* See the LICENSE file in the root directory of this source tree.
|
|
490
490
|
*/const hjt=[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]],mjt=qt("piggy-bank",hjt);/**
|
|
491
|
-
* @license lucide-react v0.
|
|
491
|
+
* @license lucide-react v0.545.0 - ISC
|
|
492
492
|
*
|
|
493
493
|
* This source code is licensed under the ISC license.
|
|
494
494
|
* See the LICENSE file in the root directory of this source tree.
|
|
495
495
|
*/const pjt=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],Ajt=qt("plane-takeoff",pjt);/**
|
|
496
|
-
* @license lucide-react v0.
|
|
496
|
+
* @license lucide-react v0.545.0 - ISC
|
|
497
497
|
*
|
|
498
498
|
* This source code is licensed under the ISC license.
|
|
499
499
|
* See the LICENSE file in the root directory of this source tree.
|
|
500
500
|
*/const gjt=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],vjt=qt("plane",gjt);/**
|
|
501
|
-
* @license lucide-react v0.
|
|
501
|
+
* @license lucide-react v0.545.0 - ISC
|
|
502
502
|
*
|
|
503
503
|
* This source code is licensed under the ISC license.
|
|
504
504
|
* See the LICENSE file in the root directory of this source tree.
|
|
505
505
|
*/const yjt=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],wc=qt("plus",yjt);/**
|
|
506
|
-
* @license lucide-react v0.
|
|
506
|
+
* @license lucide-react v0.545.0 - ISC
|
|
507
507
|
*
|
|
508
508
|
* This source code is licensed under the ISC license.
|
|
509
509
|
* See the LICENSE file in the root directory of this source tree.
|
|
510
510
|
*/const bjt=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],xjt=qt("printer",bjt);/**
|
|
511
|
-
* @license lucide-react v0.
|
|
511
|
+
* @license lucide-react v0.545.0 - ISC
|
|
512
512
|
*
|
|
513
513
|
* This source code is licensed under the ISC license.
|
|
514
514
|
* See the LICENSE file in the root directory of this source tree.
|
|
515
515
|
*/const wjt=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],kjt=qt("puzzle",wjt);/**
|
|
516
|
-
* @license lucide-react v0.
|
|
516
|
+
* @license lucide-react v0.545.0 - ISC
|
|
517
517
|
*
|
|
518
518
|
* This source code is licensed under the ISC license.
|
|
519
519
|
* See the LICENSE file in the root directory of this source tree.
|
|
520
520
|
*/const Sjt=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]],Cjt=qt("receipt-text",Sjt);/**
|
|
521
|
-
* @license lucide-react v0.
|
|
521
|
+
* @license lucide-react v0.545.0 - ISC
|
|
522
522
|
*
|
|
523
523
|
* This source code is licensed under the ISC license.
|
|
524
524
|
* See the LICENSE file in the root directory of this source tree.
|
|
525
525
|
*/const _jt=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],_k=qt("receipt",_jt);/**
|
|
526
|
-
* @license lucide-react v0.
|
|
526
|
+
* @license lucide-react v0.545.0 - ISC
|
|
527
527
|
*
|
|
528
528
|
* This source code is licensed under the ISC license.
|
|
529
529
|
* See the LICENSE file in the root directory of this source tree.
|
|
530
530
|
*/const Njt=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],Ejt=qt("rectangle-ellipsis",Njt);/**
|
|
531
|
-
* @license lucide-react v0.
|
|
531
|
+
* @license lucide-react v0.545.0 - ISC
|
|
532
532
|
*
|
|
533
533
|
* This source code is licensed under the ISC license.
|
|
534
534
|
* See the LICENSE file in the root directory of this source tree.
|
|
535
535
|
*/const Fjt=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],Djt=qt("refresh-ccw-dot",Fjt);/**
|
|
536
|
-
* @license lucide-react v0.
|
|
536
|
+
* @license lucide-react v0.545.0 - ISC
|
|
537
537
|
*
|
|
538
538
|
* This source code is licensed under the ISC license.
|
|
539
539
|
* See the LICENSE file in the root directory of this source tree.
|
|
540
540
|
*/const Tjt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]],Ojt=qt("rows-4",Tjt);/**
|
|
541
|
-
* @license lucide-react v0.
|
|
541
|
+
* @license lucide-react v0.545.0 - ISC
|
|
542
542
|
*
|
|
543
543
|
* This source code is licensed under the ISC license.
|
|
544
544
|
* See the LICENSE file in the root directory of this source tree.
|
|
545
545
|
*/const Bjt=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],jjt=qt("save",Bjt);/**
|
|
546
|
-
* @license lucide-react v0.
|
|
546
|
+
* @license lucide-react v0.545.0 - ISC
|
|
547
547
|
*
|
|
548
548
|
* This source code is licensed under the ISC license.
|
|
549
549
|
* See the LICENSE file in the root directory of this source tree.
|
|
550
550
|
*/const Ijt=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],SLe=qt("scale",Ijt);/**
|
|
551
|
-
* @license lucide-react v0.
|
|
551
|
+
* @license lucide-react v0.545.0 - ISC
|
|
552
552
|
*
|
|
553
553
|
* This source code is licensed under the ISC license.
|
|
554
554
|
* See the LICENSE file in the root directory of this source tree.
|
|
555
555
|
*/const Pjt=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],CLe=qt("search",Pjt);/**
|
|
556
|
-
* @license lucide-react v0.
|
|
556
|
+
* @license lucide-react v0.545.0 - ISC
|
|
557
557
|
*
|
|
558
558
|
* This source code is licensed under the ISC license.
|
|
559
559
|
* See the LICENSE file in the root directory of this source tree.
|
|
560
560
|
*/const Mjt=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],_Le=qt("send",Mjt);/**
|
|
561
|
-
* @license lucide-react v0.
|
|
561
|
+
* @license lucide-react v0.545.0 - ISC
|
|
562
562
|
*
|
|
563
563
|
* This source code is licensed under the ISC license.
|
|
564
564
|
* See the LICENSE file in the root directory of this source tree.
|
|
565
565
|
*/const Rjt=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],$jt=qt("settings",Rjt);/**
|
|
566
|
-
* @license lucide-react v0.
|
|
566
|
+
* @license lucide-react v0.545.0 - ISC
|
|
567
567
|
*
|
|
568
568
|
* This source code is licensed under the ISC license.
|
|
569
569
|
* See the LICENSE file in the root directory of this source tree.
|
|
570
570
|
*/const Ljt=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],z_=qt("square-check-big",Ljt);/**
|
|
571
|
-
* @license lucide-react v0.
|
|
571
|
+
* @license lucide-react v0.545.0 - ISC
|
|
572
572
|
*
|
|
573
573
|
* This source code is licensed under the ISC license.
|
|
574
574
|
* See the LICENSE file in the root directory of this source tree.
|
|
575
575
|
*/const Ujt=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],qu=qt("square-pen",Ujt);/**
|
|
576
|
-
* @license lucide-react v0.
|
|
576
|
+
* @license lucide-react v0.545.0 - ISC
|
|
577
577
|
*
|
|
578
578
|
* This source code is licensed under the ISC license.
|
|
579
579
|
* See the LICENSE file in the root directory of this source tree.
|
|
580
580
|
*/const zjt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],H_=qt("square-x",zjt);/**
|
|
581
|
-
* @license lucide-react v0.
|
|
581
|
+
* @license lucide-react v0.545.0 - ISC
|
|
582
582
|
*
|
|
583
583
|
* This source code is licensed under the ISC license.
|
|
584
584
|
* See the LICENSE file in the root directory of this source tree.
|
|
585
585
|
*/const Hjt=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],Vjt=qt("tags",Hjt);/**
|
|
586
|
-
* @license lucide-react v0.
|
|
586
|
+
* @license lucide-react v0.545.0 - ISC
|
|
587
587
|
*
|
|
588
588
|
* This source code is licensed under the ISC license.
|
|
589
589
|
* See the LICENSE file in the root directory of this source tree.
|
|
590
590
|
*/const Qjt=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Uy=qt("trash-2",Qjt);/**
|
|
591
|
-
* @license lucide-react v0.
|
|
591
|
+
* @license lucide-react v0.545.0 - ISC
|
|
592
592
|
*
|
|
593
593
|
* This source code is licensed under the ISC license.
|
|
594
594
|
* See the LICENSE file in the root directory of this source tree.
|
|
595
595
|
*/const qjt=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],zx=qt("trash",qjt);/**
|
|
596
|
-
* @license lucide-react v0.
|
|
596
|
+
* @license lucide-react v0.545.0 - ISC
|
|
597
597
|
*
|
|
598
598
|
* This source code is licensed under the ISC license.
|
|
599
599
|
* See the LICENSE file in the root directory of this source tree.
|
|
600
600
|
*/const Gjt=[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]],Wjt=qt("trending-up-down",Gjt);/**
|
|
601
|
-
* @license lucide-react v0.
|
|
601
|
+
* @license lucide-react v0.545.0 - ISC
|
|
602
602
|
*
|
|
603
603
|
* This source code is licensed under the ISC license.
|
|
604
604
|
* See the LICENSE file in the root directory of this source tree.
|
|
605
605
|
*/const Kjt=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],NLe=qt("unlink",Kjt);/**
|
|
606
|
-
* @license lucide-react v0.
|
|
606
|
+
* @license lucide-react v0.545.0 - ISC
|
|
607
607
|
*
|
|
608
608
|
* This source code is licensed under the ISC license.
|
|
609
609
|
* See the LICENSE file in the root directory of this source tree.
|
|
610
610
|
*/const Yjt=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Xjt=qt("user-round",Yjt);/**
|
|
611
|
-
* @license lucide-react v0.
|
|
611
|
+
* @license lucide-react v0.545.0 - ISC
|
|
612
612
|
*
|
|
613
613
|
* This source code is licensed under the ISC license.
|
|
614
614
|
* See the LICENSE file in the root directory of this source tree.
|
|
615
615
|
*/const Zjt=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Jjt=qt("user",Zjt);/**
|
|
616
|
-
* @license lucide-react v0.
|
|
616
|
+
* @license lucide-react v0.545.0 - ISC
|
|
617
617
|
*
|
|
618
618
|
* This source code is licensed under the ISC license.
|
|
619
619
|
* See the LICENSE file in the root directory of this source tree.
|
|
620
620
|
*/const eIt=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],tIt=qt("wallet",eIt);/**
|
|
621
|
-
* @license lucide-react v0.
|
|
621
|
+
* @license lucide-react v0.545.0 - ISC
|
|
622
622
|
*
|
|
623
623
|
* This source code is licensed under the ISC license.
|
|
624
624
|
* See the LICENSE file in the root directory of this source tree.
|
|
625
625
|
*/const nIt=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],rIt=qt("wand-sparkles",nIt);/**
|
|
626
|
-
* @license lucide-react v0.
|
|
626
|
+
* @license lucide-react v0.545.0 - ISC
|
|
627
627
|
*
|
|
628
628
|
* This source code is licensed under the ISC license.
|
|
629
629
|
* See the LICENSE file in the root directory of this source tree.
|
|
630
630
|
*/const iIt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Hx=qt("x",iIt);/**
|
|
631
|
-
* @license lucide-react v0.
|
|
631
|
+
* @license lucide-react v0.545.0 - ISC
|
|
632
632
|
*
|
|
633
633
|
* This source code is licensed under the ISC license.
|
|
634
634
|
* See the LICENSE file in the root directory of this source tree.
|
|
635
635
|
*/const aIt=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],pve=qt("zoom-in",aIt);/**
|
|
636
|
-
* @license lucide-react v0.
|
|
636
|
+
* @license lucide-react v0.545.0 - ISC
|
|
637
637
|
*
|
|
638
638
|
* This source code is licensed under the ISC license.
|
|
639
639
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -812,7 +812,7 @@ T* `):Y.join(` Tj
|
|
|
812
812
|
endobj\r
|
|
813
813
|
`},n.outline.count_r=function(r,i){for(var a=0;a<i.children.length;a++)r.count++,this.count_r(r,i.children[a]);return r.count}}])})(qn.API),(function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,r,i,a,o,s){var l,c=this.decode.DCT_DECODE,u=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=o||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,l=(function(f){for(var h,m=256*f.charCodeAt(4)+f.charCodeAt(5),A=f.length,p={width:0,height:0,numcomponents:1},v=4;v<A;v+=2){if(v+=m,t.indexOf(f.charCodeAt(v+1))!==-1){h=256*f.charCodeAt(v+5)+f.charCodeAt(v+6),p={width:256*f.charCodeAt(v+7)+f.charCodeAt(v+8),height:h,numcomponents:f.charCodeAt(v+9)};break}m=256*f.charCodeAt(v+2)+f.charCodeAt(v+3)}return p})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),l.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}u={data:n,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:c,index:r,alias:i}}return u}})(qn.API),qn.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,a=KZt(e,{checkCrc:!0}),o=a.width,s=a.height,l=a.channels,c=a.palette,u=a.depth;i=c&&l===1?(function(D){for(var T=D.width,P=D.height,O=D.data,B=D.palette,M=D.depth,$=!1,U=[],I=[],Q=void 0,G=!1,X=0,he=0;he<B.length;he++){var ne=b1e(B[he],4),H=ne[0],W=ne[1],q=ne[2],Z=ne[3];U.push(H,W,q),Z!=null&&(Z===0?(X++,I.length<1&&I.push(he)):Z<255&&(G=!0))}if(G||X>1){$=!0,I=void 0;var re=T*P;Q=new Uint8Array(re);for(var te=new DataView(O.buffer),ue=0;ue<re;ue++){var fe=VH(te,ue,M),ge=b1e(B[fe],4)[3];Q[ue]=ge}}else X===0&&(I=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:$?8:void 0,colorBytes:O,alphaBytes:Q,needSMask:$,palette:U,mask:I}})(a):l===2||l===4?(function(D){for(var T=D.data,P=D.width,O=D.height,B=D.channels,M=D.depth,$=B===2?"DeviceGray":"DeviceRGB",U=B-1,I=P*O,Q=U,G=I*Q,X=1*I,he=Math.ceil(G*M/8),ne=Math.ceil(X*M/8),H=new Uint8Array(he),W=new Uint8Array(ne),q=new DataView(T.buffer),Z=new DataView(H.buffer),re=new DataView(W.buffer),te=!1,ue=0;ue<I;ue++){for(var fe=ue*B,ge=0;ge<Q;ge++)Cwe(Z,VH(q,fe+ge,M),ue*Q+ge,M);var oe=VH(q,fe+Q,M);oe<(1<<M)-1&&(te=!0),Cwe(re,oe,1*ue,M)}return{colorSpace:$,colorsPerPixel:U,sMaskBitsPerComponent:te?M:void 0,colorBytes:H,alphaBytes:W,needSMask:te}})(a):(function(D){var T=D.data,P=D.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:P,colorsPerPixel:P==="DeviceGray"?1:3,colorBytes:T instanceof Uint16Array?(function(O){for(var B=O.length,M=new Uint8Array(2*B),$=new DataView(M.buffer,M.byteOffset,M.byteLength),U=0;U<B;U++)$.setUint16(2*U,O[U],!1);return M})(T):T,needSMask:!1}})(a);var f,h,m,A=i,p=A.colorSpace,v=A.colorsPerPixel,y=A.sMaskBitsPerComponent,x=A.colorBytes,k=A.alphaBytes,S=A.needSMask,C=A.palette,N=A.mask,E=null;return r!==qn.API.image_compression.NONE&&typeof zX=="function"?(E=(function(D){var T;switch(D){case qn.API.image_compression.FAST:T=11;break;case qn.API.image_compression.MEDIUM:T=13;break;case qn.API.image_compression.SLOW:T=14;break;default:T=12}return T})(r),f=this.decode.FLATE_DECODE,h="/Predictor ".concat(E," /Colors ").concat(v," /BitsPerComponent ").concat(u," /Columns ").concat(o),e=bwe(x,Math.ceil(o*v*u/8),v,u,r),S&&(m=bwe(k,Math.ceil(o*y/8),1,y,r))):(f=void 0,h=void 0,e=x,S&&(m=k)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(m&&this.__addimage__.isArrayBuffer(m)||this.__addimage__.isArrayBufferView(m))&&(m=this.__addimage__.arrayBufferToBinaryString(m)),{alias:n,data:e,index:t,filter:f,decodeParameters:h,transparency:N,palette:C,sMask:m,predictor:E,width:o,height:s,bitsPerComponent:u,sMaskBitsPerComponent:y,colorSpace:p}}},(function(e){e.processGIF89A=function(t,n,r,i){var a=new AJt(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},u=new QH(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A})(qn.API),_h.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_h.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){wa.log("bit decode error:"+n)}},_h.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}n!==0&&(this.pos+=4-n)}},_h.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,s=a>>4,l=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}t!==0&&(this.pos+=4-t)}},_h.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}e!==0&&(this.pos+=4-e)}},_h.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,c=a>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},_h.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/t*255|0,u=i*this.width*4+4*a;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},_h.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},_h.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=o}},_h.prototype.getData=function(){return this.data},(function(e){e.processBMP=function(t,n,r,i){var a=new _h(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new QH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(qn.API),Nwe.prototype.getData=function(){return this.data},(function(e){e.processWEBP=function(t,n,r,i){var a=new Nwe(t),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new QH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(qn.API),qn.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,a=new Uint8Array(i/4*3),o=new Uint8Array(i/4),s=0,l=0,c=0;c<i;c+=4){var u=r[c],f=r[c+1],h=r[c+2],m=r[c+3];a[s++]=u,a[s++]=f,a[s++]=h,o[l++]=m}var A=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:A,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},qn.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Cw=qn.API,oB=Cw.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:i.metadata.Unicode.widths,l=s.fof?s.fof:1,c=t.kerning?t.kerning:i.metadata.Unicode.kerning,u=c.fof?c.fof:1,f=t.doKerning!==!1,h=0,m=e.length,A=0,p=s[0]||l,v=[];for(n=0;n<m;n++)r=e.charCodeAt(n),typeof i.metadata.widthOfString=="function"?v.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/a)||0)/1e3):(h=f&&aa(c[r])==="object"&&!isNaN(parseInt(c[r][A],10))?c[r][A]/u:0,v.push((s[r]||p)/l+h)),A=r;return v},gwe=Cw.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return Cw.processArabic&&(e=Cw.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:oB.apply(this,arguments).reduce(function(a,o){return a+o},0)},vwe=function(e,t,n,r){for(var i=[],a=0,o=e.length,s=0;a!==o&&s+t[a]<n;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>r&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},ywe=function(e,t,n){n||(n={});var r,i,a,o,s,l,c,u=[],f=[u],h=n.textIndent||0,m=0,A=0,p=e.split(" "),v=oB.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?p[0].length+2:n.lineIndent||0){var y=Array(l).join(" "),x=[];p.map(function(S){(S=S.split(/\s*\n/)).length>1?x=x.concat(S.map(function(C,N){return(N&&C.length?`
|
|
814
814
|
`:"")+C})):x.push(S[0])}),p=x,l=gwe.apply(this,[y,n])}for(a=0,o=p.length;a<o;a++){var k=0;if(r=p[a],l&&r[0]==`
|
|
815
|
-
`&&(r=r.substr(1),k=1),h+m+(A=(i=oB.apply(this,[r,n])).reduce(function(S,C){return S+C},0))>t||k){if(A>t){for(s=vwe.apply(this,[r,i,t-(h+m),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);A=i.slice(r.length-(u[0]?u[0].length:0)).reduce(function(S,C){return S+C},0)}else u=[r];f.push(u),h=A+l,m=v}else u.push(r),h+=m+A,m=v}return c=l?function(S,C){return(C?y:"")+S.join(" ")}:function(S){return S.join(" ")},f.map(c)},Cw.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var f=this.internal.getFont(u.fontName,u.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(ywe.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[n[a]]=t[a],i[t[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=e.__fontmetrics__.compress=function(h){var m,A,p,v,y=["{"];for(var x in h){if(m=h[x],isNaN(parseInt(x,10))?A="'"+x+"'":(x=parseInt(x,10),A=(A=o(x).slice(2)).slice(0,-1)+i[A.slice(-1)]),typeof m=="number")m<0?(p=o(m).slice(3),v="-"):(p=o(m).slice(2),v=""),p=v+p.slice(0,-1)+i[p.slice(-1)];else{if(aa(m)!=="object")throw new Error("Don't know what to do with value type "+aa(m)+".");p=s(m)}y.push(A+p)}return y.push("}"),y.join("")},l=e.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,A,p,v,y={},x=1,k=y,S=[],C="",N="",E=h.length-1,D=1;D<E;D+=1)(v=h[D])=="'"?m?(p=m.join(""),m=void 0):m=[]:m?m.push(v):v=="{"?(S.push([k,p]),k={},p=void 0):v=="}"?((A=S.pop())[0][A[1]]=k,p=void 0,k=A[0]):v=="-"?x=-1:p===void 0?r.hasOwnProperty(v)?(C+=r[v],p=parseInt(C,16)*x,x=1,C=""):C+=v:r.hasOwnProperty(v)?(N+=r[v],k[p]=parseInt(N,16)*x,x=1,p=void 0,N=""):N+=v;return y},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(h){var m=h.font,A=f.Unicode[m.postScriptName];A&&(m.metadata.Unicode={},m.metadata.Unicode.widths=A.widths,m.metadata.Unicode.kerning=A.kerning);var p=u.Unicode[m.postScriptName];p&&(m.metadata.Unicode.encoding=p,m.encoding=p.codePages[0])}])})(qn.API),(function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=n.charCodeAt(a);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,a=n.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?t(s):t(Jj(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(qn),qn.API.addSvgAsImage=function(e,t,n,r,i,a,o,s){if(isNaN(t)||isNaN(n))throw wa.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw wa.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(vr.canvg?Promise.resolve(vr.canvg):SH(()=>import("./index.es-lYIImKSd.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(u)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,s)})},qn.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},qn.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,u=0,f=0;function h(A,p){var v,y=!1;for(v=0;v<A.length;v+=1)A[v]===p&&(y=!0);return y}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(aa(e)==="object"){for(i in e)if(a=e[i],h(s,i)&&a!==void 0){if(n[i].type==="boolean"&&typeof a=="boolean")n[i].value=a;else if(n[i].type==="name"&&h(n[i].valueSet,a))n[i].value=a;else if(n[i].type==="integer"&&Number.isInteger(a))n[i].value=a;else if(n[i].type==="array"){for(c=0;c<a.length;c+=1)if(r=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(u=0;u<a[c].length;u+=1)typeof a[c][u]!="number"&&(r=!1);r===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var A,p=[];for(A in n)n[A].explicitSet===!0&&(n[A].type==="name"?p.push("/"+A+" /"+n[A].value):p.push("/"+A+" "+n[A].value));p.length!==0&&this.internal.write(`/ViewerPreferences
|
|
815
|
+
`&&(r=r.substr(1),k=1),h+m+(A=(i=oB.apply(this,[r,n])).reduce(function(S,C){return S+C},0))>t||k){if(A>t){for(s=vwe.apply(this,[r,i,t-(h+m),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);A=i.slice(r.length-(u[0]?u[0].length:0)).reduce(function(S,C){return S+C},0)}else u=[r];f.push(u),h=A+l,m=v}else u.push(r),h+=m+A,m=v}return c=l?function(S,C){return(C?y:"")+S.join(" ")}:function(S){return S.join(" ")},f.map(c)},Cw.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var f=this.internal.getFont(u.fontName,u.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(ywe.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[n[a]]=t[a],i[t[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=e.__fontmetrics__.compress=function(h){var m,A,p,v,y=["{"];for(var x in h){if(m=h[x],isNaN(parseInt(x,10))?A="'"+x+"'":(x=parseInt(x,10),A=(A=o(x).slice(2)).slice(0,-1)+i[A.slice(-1)]),typeof m=="number")m<0?(p=o(m).slice(3),v="-"):(p=o(m).slice(2),v=""),p=v+p.slice(0,-1)+i[p.slice(-1)];else{if(aa(m)!=="object")throw new Error("Don't know what to do with value type "+aa(m)+".");p=s(m)}y.push(A+p)}return y.push("}"),y.join("")},l=e.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,A,p,v,y={},x=1,k=y,S=[],C="",N="",E=h.length-1,D=1;D<E;D+=1)(v=h[D])=="'"?m?(p=m.join(""),m=void 0):m=[]:m?m.push(v):v=="{"?(S.push([k,p]),k={},p=void 0):v=="}"?((A=S.pop())[0][A[1]]=k,p=void 0,k=A[0]):v=="-"?x=-1:p===void 0?r.hasOwnProperty(v)?(C+=r[v],p=parseInt(C,16)*x,x=1,C=""):C+=v:r.hasOwnProperty(v)?(N+=r[v],k[p]=parseInt(N,16)*x,x=1,p=void 0,N=""):N+=v;return y},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(h){var m=h.font,A=f.Unicode[m.postScriptName];A&&(m.metadata.Unicode={},m.metadata.Unicode.widths=A.widths,m.metadata.Unicode.kerning=A.kerning);var p=u.Unicode[m.postScriptName];p&&(m.metadata.Unicode.encoding=p,m.encoding=p.codePages[0])}])})(qn.API),(function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=n.charCodeAt(a);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,a=n.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?t(s):t(Jj(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(qn),qn.API.addSvgAsImage=function(e,t,n,r,i,a,o,s){if(isNaN(t)||isNaN(n))throw wa.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw wa.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(vr.canvg?Promise.resolve(vr.canvg):SH(()=>import("./index.es-BFRfI1qK.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(u)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,s)})},qn.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},qn.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,u=0,f=0;function h(A,p){var v,y=!1;for(v=0;v<A.length;v+=1)A[v]===p&&(y=!0);return y}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(aa(e)==="object"){for(i in e)if(a=e[i],h(s,i)&&a!==void 0){if(n[i].type==="boolean"&&typeof a=="boolean")n[i].value=a;else if(n[i].type==="name"&&h(n[i].valueSet,a))n[i].value=a;else if(n[i].type==="integer"&&Number.isInteger(a))n[i].value=a;else if(n[i].type==="array"){for(c=0;c<a.length;c+=1)if(r=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(u=0;u<a[c].length;u+=1)typeof a[c][u]!="number"&&(r=!1);r===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var A,p=[];for(A in n)n[A].explicitSet===!0&&(n[A].type==="name"?p.push("/"+A+" /"+n[A].value):p.push("/"+A+" "+n[A].value));p.length!==0&&this.internal.write(`/ViewerPreferences
|
|
816
816
|
<<
|
|
817
817
|
`+p.join(`
|
|
818
818
|
`)+`
|
|
@@ -984,7 +984,7 @@ export default theme;`}function UCe(e){return typeof e=="number"?`${(e*100).toFi
|
|
|
984
984
|
`))):ge=W.stylize("[Circular]","special")),D(fe)){if(ue&&te.match(/^\d+$/))return ge;fe=JSON.stringify(""+te),fe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(fe=fe.slice(1,-1),fe=W.stylize(fe,"name")):(fe=fe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),fe=W.stylize(fe,"string"))}return fe+": "+ge}function v(W,q,Z){var re=W.reduce(function(te,ue){return ue.indexOf(`
|
|
985
985
|
`)>=0,te+ue.replace(/\u001b\[\d\d?m/g,"").length+1},0);return re>60?Z[0]+(q===""?"":q+`
|
|
986
986
|
`)+" "+W.join(`,
|
|
987
|
-
`)+" "+Z[1]:Z[0]+q+" "+W.join(", ")+" "+Z[1]}e.types=cEn();function y(W){return Array.isArray(W)}e.isArray=y;function x(W){return typeof W=="boolean"}e.isBoolean=x;function k(W){return W===null}e.isNull=k;function S(W){return W==null}e.isNullOrUndefined=S;function C(W){return typeof W=="number"}e.isNumber=C;function N(W){return typeof W=="string"}e.isString=N;function E(W){return typeof W=="symbol"}e.isSymbol=E;function D(W){return W===void 0}e.isUndefined=D;function T(W){return P(W)&&U(W)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function P(W){return typeof W=="object"&&W!==null}e.isObject=P;function O(W){return P(W)&&U(W)==="[object Date]"}e.isDate=O,e.types.isDate=O;function B(W){return P(W)&&(U(W)==="[object Error]"||W instanceof Error)}e.isError=B,e.types.isNativeError=B;function M(W){return typeof W=="function"}e.isFunction=M;function $(W){return W===null||typeof W=="boolean"||typeof W=="number"||typeof W=="string"||typeof W=="symbol"||typeof W>"u"}e.isPrimitive=$,e.isBuffer=uEn();function U(W){return Object.prototype.toString.call(W)}function I(W){return W<10?"0"+W.toString(10):W.toString(10)}var Q=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function G(){var W=new Date,q=[I(W.getHours()),I(W.getMinutes()),I(W.getSeconds())].join(":");return[W.getDate(),Q[W.getMonth()],q].join(" ")}e.log=function(){console.log("%s - %s",G(),e.format.apply(e,arguments))},e.inherits=c1(),e._extend=function(W,q){if(!q||!P(q))return W;for(var Z=Object.keys(q),re=Z.length;re--;)W[Z[re]]=q[Z[re]];return W};function X(W,q){return Object.prototype.hasOwnProperty.call(W,q)}var he=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(q){if(typeof q!="function")throw new TypeError('The "original" argument must be of type Function');if(he&&q[he]){var Z=q[he];if(typeof Z!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Z,he,{value:Z,enumerable:!1,writable:!1,configurable:!0}),Z}function Z(){for(var re,te,ue=new Promise(function(oe,J){re=oe,te=J}),fe=[],ge=0;ge<arguments.length;ge++)fe.push(arguments[ge]);fe.push(function(oe,J){oe?te(oe):re(J)});try{q.apply(this,fe)}catch(oe){te(oe)}return ue}return Object.setPrototypeOf(Z,Object.getPrototypeOf(q)),he&&Object.defineProperty(Z,he,{value:Z,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Z,n(q))},e.promisify.custom=he;function ne(W,q){if(!W){var Z=new Error("Promise was rejected with a falsy value");Z.reason=W,W=Z}return q(W)}function H(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');function q(){for(var Z=[],re=0;re<arguments.length;re++)Z.push(arguments[re]);var te=Z.pop();if(typeof te!="function")throw new TypeError("The last argument must be of type Function");var ue=this,fe=function(){return te.apply(ue,arguments)};W.apply(this,Z).then(function(ge){Kn.nextTick(fe.bind(null,null,ge))},function(ge){Kn.nextTick(ne.bind(null,ge,fe))})}return Object.setPrototypeOf(q,Object.getPrototypeOf(W)),Object.defineProperties(q,n(W)),q}e.callbackify=H})(kQ)),kQ}var EQ,r2e;function dEn(){if(r2e)return EQ;r2e=1;function e(A,p){var v=Object.keys(A);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(A);p&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(A,x).enumerable})),v.push.apply(v,y)}return v}function t(A){for(var p=1;p<arguments.length;p++){var v=arguments[p]!=null?arguments[p]:{};p%2?e(Object(v),!0).forEach(function(y){n(A,y,v[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(y){Object.defineProperty(A,y,Object.getOwnPropertyDescriptor(v,y))})}return A}function n(A,p,v){return p=o(p),p in A?Object.defineProperty(A,p,{value:v,enumerable:!0,configurable:!0,writable:!0}):A[p]=v,A}function r(A,p){if(!(A instanceof p))throw new TypeError("Cannot call a class as a function")}function i(A,p){for(var v=0;v<p.length;v++){var y=p[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(A,o(y.key),y)}}function a(A,p,v){return p&&i(A.prototype,p),Object.defineProperty(A,"prototype",{writable:!1}),A}function o(A){var p=s(A,"string");return typeof p=="symbol"?p:String(p)}function s(A,p){if(typeof A!="object"||A===null)return A;var v=A[Symbol.toPrimitive];if(v!==void 0){var y=v.call(A,p);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}var l=xT(),c=l.Buffer,u=Qet(),f=u.inspect,h=f&&f.custom||"inspect";function m(A,p,v){c.prototype.copy.call(A,p,v)}return EQ=(function(){function A(){r(this,A),this.head=null,this.tail=null,this.length=0}return a(A,[{key:"push",value:function(v){var y={data:v,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:"unshift",value:function(v){var y={data:v,next:this.head};this.length===0&&(this.tail=y),this.head=y,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var y=this.head,x=""+y.data;y=y.next;)x+=v+y.data;return x}},{key:"concat",value:function(v){if(this.length===0)return c.alloc(0);for(var y=c.allocUnsafe(v>>>0),x=this.head,k=0;x;)m(x.data,y,k),k+=x.data.length,x=x.next;return y}},{key:"consume",value:function(v,y){var x;return v<this.head.data.length?(x=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?x=this.shift():x=y?this._getString(v):this._getBuffer(v),x}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var y=this.head,x=1,k=y.data;for(v-=k.length;y=y.next;){var S=y.data,C=v>S.length?S.length:v;if(C===S.length?k+=S:k+=S.slice(0,v),v-=C,v===0){C===S.length?(++x,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=S.slice(C));break}++x}return this.length-=x,k}},{key:"_getBuffer",value:function(v){var y=c.allocUnsafe(v),x=this.head,k=1;for(x.data.copy(y),v-=x.data.length;x=x.next;){var S=x.data,C=v>S.length?S.length:v;if(S.copy(y,y.length-v,0,C),v-=C,v===0){C===S.length?(++k,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=S.slice(C));break}++k}return this.length-=k,y}},{key:h,value:function(v,y){return f(this,t(t({},y),{},{depth:0,customInspect:!1}))}}]),A})(),EQ}var FQ,i2e;function qet(){if(i2e)return FQ;i2e=1;function e(o,s){var l=this,c=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return c||u?(s?s(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Kn.nextTick(i,this,o)):Kn.nextTick(i,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(f){!s&&f?l._writableState?l._writableState.errorEmitted?Kn.nextTick(n,l):(l._writableState.errorEmitted=!0,Kn.nextTick(t,l,f)):Kn.nextTick(t,l,f):s?(Kn.nextTick(n,l),s(f)):Kn.nextTick(n,l)}),this)}function t(o,s){i(o,s),n(o)}function n(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(o,s){o.emit("error",s)}function a(o,s){var l=o._readableState,c=o._writableState;l&&l.autoDestroy||c&&c.autoDestroy?o.destroy(s):o.emit("error",s)}return FQ={destroy:e,undestroy:r,errorOrDestroy:a},FQ}var DQ={},a2e;function IC(){if(a2e)return DQ;a2e=1;function e(s,l){s.prototype=Object.create(l.prototype),s.prototype.constructor=s,s.__proto__=l}var t={};function n(s,l,c){c||(c=Error);function u(h,m,A){return typeof l=="string"?l:l(h,m,A)}var f=(function(h){e(m,h);function m(A,p,v){return h.call(this,u(A,p,v))||this}return m})(c);f.prototype.name=c.name,f.prototype.code=s,t[s]=f}function r(s,l){if(Array.isArray(s)){var c=s.length;return s=s.map(function(u){return String(u)}),c>2?"one of ".concat(l," ").concat(s.slice(0,c-1).join(", "),", or ")+s[c-1]:c===2?"one of ".concat(l," ").concat(s[0]," or ").concat(s[1]):"of ".concat(l," ").concat(s[0])}else return"of ".concat(l," ").concat(String(s))}function i(s,l,c){return s.substr(0,l.length)===l}function a(s,l,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-l.length,c)===l}function o(s,l,c){return typeof c!="number"&&(c=0),c+l.length>s.length?!1:s.indexOf(l,c)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,l){return'The value "'+l+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,l,c){var u;typeof l=="string"&&i(l,"not ")?(u="must not be",l=l.replace(/^not /,"")):u="must be";var f;if(a(s," argument"))f="The ".concat(s," ").concat(u," ").concat(r(l,"type"));else{var h=o(s,".")?"property":"argument";f='The "'.concat(s,'" ').concat(h," ").concat(u," ").concat(r(l,"type"))}return f+=". Received type ".concat(typeof c),f},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),DQ.codes=t,DQ}var TQ,o2e;function Get(){if(o2e)return TQ;o2e=1;var e=IC().codes.ERR_INVALID_OPT_VALUE;function t(r,i,a){return r.highWaterMark!=null?r.highWaterMark:i?r[a]:null}function n(r,i,a,o){var s=t(i,o,a);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var l=o?a:"highWaterMark";throw new e(l,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return TQ={getHighWaterMark:n},TQ}var OQ,s2e;function fEn(){if(s2e)return OQ;s2e=1,OQ=e;function e(n,r){if(t("noDeprecation"))return n;var i=!1;function a(){if(!i){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return a}function t(n){try{if(!ju.localStorage)return!1}catch{return!1}var r=ju.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return OQ}var BQ,l2e;function Wet(){if(l2e)return BQ;l2e=1,BQ=D;function e(re){var te=this;this.next=null,this.entry=null,this.finish=function(){Z(te,re)}}var t;D.WritableState=N;var n={deprecate:fEn()},r=Vet(),i=xT().Buffer,a=(typeof ju<"u"?ju:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(re){return i.from(re)}function s(re){return i.isBuffer(re)||re instanceof a}var l=qet(),c=Get(),u=c.getHighWaterMark,f=IC().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,A=f.ERR_MULTIPLE_CALLBACK,p=f.ERR_STREAM_CANNOT_PIPE,v=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,x=f.ERR_STREAM_WRITE_AFTER_END,k=f.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;c1()(D,r);function C(){}function N(re,te,ue){t=t||TS(),re=re||{},typeof ue!="boolean"&&(ue=te instanceof t),this.objectMode=!!re.objectMode,ue&&(this.objectMode=this.objectMode||!!re.writableObjectMode),this.highWaterMark=u(this,re,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var fe=re.decodeStrings===!1;this.decodeStrings=!fe,this.defaultEncoding=re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ge){I(te,ge)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=re.emitClose!==!1,this.autoDestroy=!!re.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}N.prototype.getBuffer=function(){for(var te=this.bufferedRequest,ue=[];te;)ue.push(te),te=te.next;return ue},(function(){try{Object.defineProperty(N.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var E;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(te){return E.call(this,te)?!0:this!==D?!1:te&&te._writableState instanceof N}})):E=function(te){return te instanceof this};function D(re){t=t||TS();var te=this instanceof t;if(!te&&!E.call(D,this))return new D(re);this._writableState=new N(re,this,te),this.writable=!0,re&&(typeof re.write=="function"&&(this._write=re.write),typeof re.writev=="function"&&(this._writev=re.writev),typeof re.destroy=="function"&&(this._destroy=re.destroy),typeof re.final=="function"&&(this._final=re.final)),r.call(this)}D.prototype.pipe=function(){S(this,new p)};function T(re,te){var ue=new x;S(re,ue),Kn.nextTick(te,ue)}function P(re,te,ue,fe){var ge;return ue===null?ge=new y:typeof ue!="string"&&!te.objectMode&&(ge=new h("chunk",["string","Buffer"],ue)),ge?(S(re,ge),Kn.nextTick(fe,ge),!1):!0}D.prototype.write=function(re,te,ue){var fe=this._writableState,ge=!1,oe=!fe.objectMode&&s(re);return oe&&!i.isBuffer(re)&&(re=o(re)),typeof te=="function"&&(ue=te,te=null),oe?te="buffer":te||(te=fe.defaultEncoding),typeof ue!="function"&&(ue=C),fe.ending?T(this,ue):(oe||P(this,fe,re,ue))&&(fe.pendingcb++,ge=B(this,fe,oe,re,te,ue)),ge},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var re=this._writableState;re.corked&&(re.corked--,!re.writing&&!re.corked&&!re.bufferProcessing&&re.bufferedRequest&&X(this,re))},D.prototype.setDefaultEncoding=function(te){if(typeof te=="string"&&(te=te.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((te+"").toLowerCase())>-1))throw new k(te);return this._writableState.defaultEncoding=te,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(re,te,ue){return!re.objectMode&&re.decodeStrings!==!1&&typeof te=="string"&&(te=i.from(te,ue)),te}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(re,te,ue,fe,ge,oe){if(!ue){var J=O(te,fe,ge);fe!==J&&(ue=!0,ge="buffer",fe=J)}var Se=te.objectMode?1:fe.length;te.length+=Se;var ye=te.length<te.highWaterMark;if(ye||(te.needDrain=!0),te.writing||te.corked){var xe=te.lastBufferedRequest;te.lastBufferedRequest={chunk:fe,encoding:ge,isBuf:ue,callback:oe,next:null},xe?xe.next=te.lastBufferedRequest:te.bufferedRequest=te.lastBufferedRequest,te.bufferedRequestCount+=1}else M(re,te,!1,Se,fe,ge,oe);return ye}function M(re,te,ue,fe,ge,oe,J){te.writelen=fe,te.writecb=J,te.writing=!0,te.sync=!0,te.destroyed?te.onwrite(new v("write")):ue?re._writev(ge,te.onwrite):re._write(ge,oe,te.onwrite),te.sync=!1}function $(re,te,ue,fe,ge){--te.pendingcb,ue?(Kn.nextTick(ge,fe),Kn.nextTick(W,re,te),re._writableState.errorEmitted=!0,S(re,fe)):(ge(fe),re._writableState.errorEmitted=!0,S(re,fe),W(re,te))}function U(re){re.writing=!1,re.writecb=null,re.length-=re.writelen,re.writelen=0}function I(re,te){var ue=re._writableState,fe=ue.sync,ge=ue.writecb;if(typeof ge!="function")throw new A;if(U(ue),te)$(re,ue,fe,te,ge);else{var oe=he(ue)||re.destroyed;!oe&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&X(re,ue),fe?Kn.nextTick(Q,re,ue,oe,ge):Q(re,ue,oe,ge)}}function Q(re,te,ue,fe){ue||G(re,te),te.pendingcb--,fe(),W(re,te)}function G(re,te){te.length===0&&te.needDrain&&(te.needDrain=!1,re.emit("drain"))}function X(re,te){te.bufferProcessing=!0;var ue=te.bufferedRequest;if(re._writev&&ue&&ue.next){var fe=te.bufferedRequestCount,ge=new Array(fe),oe=te.corkedRequestsFree;oe.entry=ue;for(var J=0,Se=!0;ue;)ge[J]=ue,ue.isBuf||(Se=!1),ue=ue.next,J+=1;ge.allBuffers=Se,M(re,te,!0,te.length,ge,"",oe.finish),te.pendingcb++,te.lastBufferedRequest=null,oe.next?(te.corkedRequestsFree=oe.next,oe.next=null):te.corkedRequestsFree=new e(te),te.bufferedRequestCount=0}else{for(;ue;){var ye=ue.chunk,xe=ue.encoding,pe=ue.callback,K=te.objectMode?1:ye.length;if(M(re,te,!1,K,ye,xe,pe),ue=ue.next,te.bufferedRequestCount--,te.writing)break}ue===null&&(te.lastBufferedRequest=null)}te.bufferedRequest=ue,te.bufferProcessing=!1}D.prototype._write=function(re,te,ue){ue(new m("_write()"))},D.prototype._writev=null,D.prototype.end=function(re,te,ue){var fe=this._writableState;return typeof re=="function"?(ue=re,re=null,te=null):typeof te=="function"&&(ue=te,te=null),re!=null&&this.write(re,te),fe.corked&&(fe.corked=1,this.uncork()),fe.ending||q(this,fe,ue),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function he(re){return re.ending&&re.length===0&&re.bufferedRequest===null&&!re.finished&&!re.writing}function ne(re,te){re._final(function(ue){te.pendingcb--,ue&&S(re,ue),te.prefinished=!0,re.emit("prefinish"),W(re,te)})}function H(re,te){!te.prefinished&&!te.finalCalled&&(typeof re._final=="function"&&!te.destroyed?(te.pendingcb++,te.finalCalled=!0,Kn.nextTick(ne,re,te)):(te.prefinished=!0,re.emit("prefinish")))}function W(re,te){var ue=he(te);if(ue&&(H(re,te),te.pendingcb===0&&(te.finished=!0,re.emit("finish"),te.autoDestroy))){var fe=re._readableState;(!fe||fe.autoDestroy&&fe.endEmitted)&&re.destroy()}return ue}function q(re,te,ue){te.ending=!0,W(re,te),ue&&(te.finished?Kn.nextTick(ue):re.once("finish",ue)),te.ended=!0,re.writable=!1}function Z(re,te,ue){var fe=re.entry;for(re.entry=null;fe;){var ge=fe.callback;te.pendingcb--,ge(ue),fe=fe.next}te.corkedRequestsFree.next=re}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(te){this._writableState&&(this._writableState.destroyed=te)}}),D.prototype.destroy=l.destroy,D.prototype._undestroy=l.undestroy,D.prototype._destroy=function(re,te){te(re)},BQ}var jQ,c2e;function TS(){if(c2e)return jQ;c2e=1;var e=Object.keys||function(c){var u=[];for(var f in c)u.push(f);return u};jQ=o;var t=Ket(),n=Wet();c1()(o,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var a=r[i];o.prototype[a]||(o.prototype[a]=n.prototype[a])}function o(c){if(!(this instanceof o))return new o(c);t.call(this,c),n.call(this,c),this.allowHalfOpen=!0,c&&(c.readable===!1&&(this.readable=!1),c.writable===!1&&(this.writable=!1),c.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||Kn.nextTick(l,this)}function l(c){c.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),jQ}var IQ,u2e;function Xse(){if(u2e)return IQ;u2e=1;var e=IC().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var o=!1;return function(){if(!o){o=!0;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.apply(this,l)}}}function n(){}function r(a){return a.setHeader&&typeof a.abort=="function"}function i(a,o,s){if(typeof o=="function")return i(a,null,o);o||(o={}),s=t(s||n);var l=o.readable||o.readable!==!1&&a.readable,c=o.writable||o.writable!==!1&&a.writable,u=function(){a.writable||h()},f=a._writableState&&a._writableState.finished,h=function(){c=!1,f=!0,l||s.call(a)},m=a._readableState&&a._readableState.endEmitted,A=function(){l=!1,m=!0,c||s.call(a)},p=function(k){s.call(a,k)},v=function(){var k;if(l&&!m)return(!a._readableState||!a._readableState.ended)&&(k=new e),s.call(a,k);if(c&&!f)return(!a._writableState||!a._writableState.ended)&&(k=new e),s.call(a,k)},y=function(){a.req.on("finish",h)};return r(a)?(a.on("complete",h),a.on("abort",v),a.req?y():a.on("request",y)):c&&!a._writableState&&(a.on("end",u),a.on("close",u)),a.on("end",A),a.on("finish",h),o.error!==!1&&a.on("error",p),a.on("close",v),function(){a.removeListener("complete",h),a.removeListener("abort",v),a.removeListener("request",y),a.req&&a.req.removeListener("finish",h),a.removeListener("end",u),a.removeListener("close",u),a.removeListener("finish",h),a.removeListener("end",A),a.removeListener("error",p),a.removeListener("close",v)}}return IQ=i,IQ}var PQ,d2e;function hEn(){if(d2e)return PQ;d2e=1;var e;function t(k,S,C){return S=n(S),S in k?Object.defineProperty(k,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):k[S]=C,k}function n(k){var S=r(k,"string");return typeof S=="symbol"?S:String(S)}function r(k,S){if(typeof k!="object"||k===null)return k;var C=k[Symbol.toPrimitive];if(C!==void 0){var N=C.call(k,S);if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(k)}var i=Xse(),a=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),u=Symbol("handlePromise"),f=Symbol("stream");function h(k,S){return{value:k,done:S}}function m(k){var S=k[a];if(S!==null){var C=k[f].read();C!==null&&(k[c]=null,k[a]=null,k[o]=null,S(h(C,!1)))}}function A(k){Kn.nextTick(m,k)}function p(k,S){return function(C,N){k.then(function(){if(S[l]){C(h(void 0,!0));return}S[u](C,N)},N)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var S=this,C=this[s];if(C!==null)return Promise.reject(C);if(this[l])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise(function(T,P){Kn.nextTick(function(){S[s]?P(S[s]):T(h(void 0,!0))})});var N=this[c],E;if(N)E=new Promise(p(N,this));else{var D=this[f].read();if(D!==null)return Promise.resolve(h(D,!1));E=new Promise(this[u])}return this[c]=E,E}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var S=this;return new Promise(function(C,N){S[f].destroy(null,function(E){if(E){N(E);return}C(h(void 0,!0))})})}),e),v),x=function(S){var C,N=Object.create(y,(C={},t(C,f,{value:S,writable:!0}),t(C,a,{value:null,writable:!0}),t(C,o,{value:null,writable:!0}),t(C,s,{value:null,writable:!0}),t(C,l,{value:S._readableState.endEmitted,writable:!0}),t(C,u,{value:function(D,T){var P=N[f].read();P?(N[c]=null,N[a]=null,N[o]=null,D(h(P,!1))):(N[a]=D,N[o]=T)},writable:!0}),C));return N[c]=null,i(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=N[o];D!==null&&(N[c]=null,N[a]=null,N[o]=null,D(E)),N[s]=E;return}var T=N[a];T!==null&&(N[c]=null,N[a]=null,N[o]=null,T(h(void 0,!0))),N[l]=!0}),S.on("readable",A.bind(null,N)),N};return PQ=x,PQ}var MQ,f2e;function mEn(){return f2e||(f2e=1,MQ=function(){throw new Error("Readable.from is not available in the browser")}),MQ}var RQ,h2e;function Ket(){if(h2e)return RQ;h2e=1,RQ=T;var e;T.ReadableState=D,Yse().EventEmitter;var t=function(J,Se){return J.listeners(Se).length},n=Vet(),r=xT().Buffer,i=(typeof ju<"u"?ju:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(oe){return r.from(oe)}function o(oe){return r.isBuffer(oe)||oe instanceof i}var s=Qet(),l;s&&s.debuglog?l=s.debuglog("stream"):l=function(){};var c=dEn(),u=qet(),f=Get(),h=f.getHighWaterMark,m=IC().codes,A=m.ERR_INVALID_ARG_TYPE,p=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,k,S;c1()(T,n);var C=u.errorOrDestroy,N=["error","close","destroy","pause","resume"];function E(oe,J,Se){if(typeof oe.prependListener=="function")return oe.prependListener(J,Se);!oe._events||!oe._events[J]?oe.on(J,Se):Array.isArray(oe._events[J])?oe._events[J].unshift(Se):oe._events[J]=[Se,oe._events[J]]}function D(oe,J,Se){e=e||TS(),oe=oe||{},typeof Se!="boolean"&&(Se=J instanceof e),this.objectMode=!!oe.objectMode,Se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=h(this,oe,"readableHighWaterMark",Se),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=oe.emitClose!==!1,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(x||(x=AJ().StringDecoder),this.decoder=new x(oe.encoding),this.encoding=oe.encoding)}function T(oe){if(e=e||TS(),!(this instanceof T))return new T(oe);var J=this instanceof e;this._readableState=new D(oe,this,J),this.readable=!0,oe&&(typeof oe.read=="function"&&(this._read=oe.read),typeof oe.destroy=="function"&&(this._destroy=oe.destroy)),n.call(this)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(J){this._readableState&&(this._readableState.destroyed=J)}}),T.prototype.destroy=u.destroy,T.prototype._undestroy=u.undestroy,T.prototype._destroy=function(oe,J){J(oe)},T.prototype.push=function(oe,J){var Se=this._readableState,ye;return Se.objectMode?ye=!0:typeof oe=="string"&&(J=J||Se.defaultEncoding,J!==Se.encoding&&(oe=r.from(oe,J),J=""),ye=!0),P(this,oe,J,!1,ye)},T.prototype.unshift=function(oe){return P(this,oe,null,!0,!1)};function P(oe,J,Se,ye,xe){l("readableAddChunk",J);var pe=oe._readableState;if(J===null)pe.reading=!1,I(oe,pe);else{var K;if(xe||(K=B(pe,J)),K)C(oe,K);else if(pe.objectMode||J&&J.length>0)if(typeof J!="string"&&!pe.objectMode&&Object.getPrototypeOf(J)!==r.prototype&&(J=a(J)),ye)pe.endEmitted?C(oe,new y):O(oe,pe,J,!0);else if(pe.ended)C(oe,new p);else{if(pe.destroyed)return!1;pe.reading=!1,pe.decoder&&!Se?(J=pe.decoder.write(J),pe.objectMode||J.length!==0?O(oe,pe,J,!1):X(oe,pe)):O(oe,pe,J,!1)}else ye||(pe.reading=!1,X(oe,pe))}return!pe.ended&&(pe.length<pe.highWaterMark||pe.length===0)}function O(oe,J,Se,ye){J.flowing&&J.length===0&&!J.sync?(J.awaitDrain=0,oe.emit("data",Se)):(J.length+=J.objectMode?1:Se.length,ye?J.buffer.unshift(Se):J.buffer.push(Se),J.needReadable&&Q(oe)),X(oe,J)}function B(oe,J){var Se;return!o(J)&&typeof J!="string"&&J!==void 0&&!oe.objectMode&&(Se=new A("chunk",["string","Buffer","Uint8Array"],J)),Se}T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(oe){x||(x=AJ().StringDecoder);var J=new x(oe);this._readableState.decoder=J,this._readableState.encoding=this._readableState.decoder.encoding;for(var Se=this._readableState.buffer.head,ye="";Se!==null;)ye+=J.write(Se.data),Se=Se.next;return this._readableState.buffer.clear(),ye!==""&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var M=1073741824;function $(oe){return oe>=M?oe=M:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}function U(oe,J){return oe<=0||J.length===0&&J.ended?0:J.objectMode?1:oe!==oe?J.flowing&&J.length?J.buffer.head.data.length:J.length:(oe>J.highWaterMark&&(J.highWaterMark=$(oe)),oe<=J.length?oe:J.ended?J.length:(J.needReadable=!0,0))}T.prototype.read=function(oe){l("read",oe),oe=parseInt(oe,10);var J=this._readableState,Se=oe;if(oe!==0&&(J.emittedReadable=!1),oe===0&&J.needReadable&&((J.highWaterMark!==0?J.length>=J.highWaterMark:J.length>0)||J.ended))return l("read: emitReadable",J.length,J.ended),J.length===0&&J.ended?ue(this):Q(this),null;if(oe=U(oe,J),oe===0&&J.ended)return J.length===0&&ue(this),null;var ye=J.needReadable;l("need readable",ye),(J.length===0||J.length-oe<J.highWaterMark)&&(ye=!0,l("length less than watermark",ye)),J.ended||J.reading?(ye=!1,l("reading or ended",ye)):ye&&(l("do read"),J.reading=!0,J.sync=!0,J.length===0&&(J.needReadable=!0),this._read(J.highWaterMark),J.sync=!1,J.reading||(oe=U(Se,J)));var xe;return oe>0?xe=te(oe,J):xe=null,xe===null?(J.needReadable=J.length<=J.highWaterMark,oe=0):(J.length-=oe,J.awaitDrain=0),J.length===0&&(J.ended||(J.needReadable=!0),Se!==oe&&J.ended&&ue(this)),xe!==null&&this.emit("data",xe),xe};function I(oe,J){if(l("onEofChunk"),!J.ended){if(J.decoder){var Se=J.decoder.end();Se&&Se.length&&(J.buffer.push(Se),J.length+=J.objectMode?1:Se.length)}J.ended=!0,J.sync?Q(oe):(J.needReadable=!1,J.emittedReadable||(J.emittedReadable=!0,G(oe)))}}function Q(oe){var J=oe._readableState;l("emitReadable",J.needReadable,J.emittedReadable),J.needReadable=!1,J.emittedReadable||(l("emitReadable",J.flowing),J.emittedReadable=!0,Kn.nextTick(G,oe))}function G(oe){var J=oe._readableState;l("emitReadable_",J.destroyed,J.length,J.ended),!J.destroyed&&(J.length||J.ended)&&(oe.emit("readable"),J.emittedReadable=!1),J.needReadable=!J.flowing&&!J.ended&&J.length<=J.highWaterMark,re(oe)}function X(oe,J){J.readingMore||(J.readingMore=!0,Kn.nextTick(he,oe,J))}function he(oe,J){for(;!J.reading&&!J.ended&&(J.length<J.highWaterMark||J.flowing&&J.length===0);){var Se=J.length;if(l("maybeReadMore read 0"),oe.read(0),Se===J.length)break}J.readingMore=!1}T.prototype._read=function(oe){C(this,new v("_read()"))},T.prototype.pipe=function(oe,J){var Se=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=oe;break;case 1:ye.pipes=[ye.pipes,oe];break;default:ye.pipes.push(oe);break}ye.pipesCount+=1,l("pipe count=%d opts=%j",ye.pipesCount,J);var xe=(!J||J.end!==!1)&&oe!==Kn.stdout&&oe!==Kn.stderr,pe=xe?ie:Ke;ye.endEmitted?Kn.nextTick(pe):Se.once("end",pe),oe.on("unpipe",K);function K(rt,ct){l("onunpipe"),rt===Se&&ct&&ct.hasUnpiped===!1&&(ct.hasUnpiped=!0,ve())}function ie(){l("onend"),oe.end()}var le=ne(Se);oe.on("drain",le);var ce=!1;function ve(){l("cleanup"),oe.removeListener("close",je),oe.removeListener("finish",Re),oe.removeListener("drain",le),oe.removeListener("error",$e),oe.removeListener("unpipe",K),Se.removeListener("end",ie),Se.removeListener("end",Ke),Se.removeListener("data",be),ce=!0,ye.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&le()}Se.on("data",be);function be(rt){l("ondata");var ct=oe.write(rt);l("dest.write",ct),ct===!1&&((ye.pipesCount===1&&ye.pipes===oe||ye.pipesCount>1&&ge(ye.pipes,oe)!==-1)&&!ce&&(l("false write response, pause",ye.awaitDrain),ye.awaitDrain++),Se.pause())}function $e(rt){l("onerror",rt),Ke(),oe.removeListener("error",$e),t(oe,"error")===0&&C(oe,rt)}E(oe,"error",$e);function je(){oe.removeListener("finish",Re),Ke()}oe.once("close",je);function Re(){l("onfinish"),oe.removeListener("close",je),Ke()}oe.once("finish",Re);function Ke(){l("unpipe"),Se.unpipe(oe)}return oe.emit("pipe",Se),ye.flowing||(l("pipe resume"),Se.resume()),oe};function ne(oe){return function(){var Se=oe._readableState;l("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&t(oe,"data")&&(Se.flowing=!0,re(oe))}}T.prototype.unpipe=function(oe){var J=this._readableState,Se={hasUnpiped:!1};if(J.pipesCount===0)return this;if(J.pipesCount===1)return oe&&oe!==J.pipes?this:(oe||(oe=J.pipes),J.pipes=null,J.pipesCount=0,J.flowing=!1,oe&&oe.emit("unpipe",this,Se),this);if(!oe){var ye=J.pipes,xe=J.pipesCount;J.pipes=null,J.pipesCount=0,J.flowing=!1;for(var pe=0;pe<xe;pe++)ye[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var K=ge(J.pipes,oe);return K===-1?this:(J.pipes.splice(K,1),J.pipesCount-=1,J.pipesCount===1&&(J.pipes=J.pipes[0]),oe.emit("unpipe",this,Se),this)},T.prototype.on=function(oe,J){var Se=n.prototype.on.call(this,oe,J),ye=this._readableState;return oe==="data"?(ye.readableListening=this.listenerCount("readable")>0,ye.flowing!==!1&&this.resume()):oe==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,l("on readable",ye.length,ye.reading),ye.length?Q(this):ye.reading||Kn.nextTick(W,this)),Se},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(oe,J){var Se=n.prototype.removeListener.call(this,oe,J);return oe==="readable"&&Kn.nextTick(H,this),Se},T.prototype.removeAllListeners=function(oe){var J=n.prototype.removeAllListeners.apply(this,arguments);return(oe==="readable"||oe===void 0)&&Kn.nextTick(H,this),J};function H(oe){var J=oe._readableState;J.readableListening=oe.listenerCount("readable")>0,J.resumeScheduled&&!J.paused?J.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function W(oe){l("readable nexttick read 0"),oe.read(0)}T.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(l("resume"),oe.flowing=!oe.readableListening,q(this,oe)),oe.paused=!1,this};function q(oe,J){J.resumeScheduled||(J.resumeScheduled=!0,Kn.nextTick(Z,oe,J))}function Z(oe,J){l("resume",J.reading),J.reading||oe.read(0),J.resumeScheduled=!1,oe.emit("resume"),re(oe),J.flowing&&!J.reading&&oe.read(0)}T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function re(oe){var J=oe._readableState;for(l("flow",J.flowing);J.flowing&&oe.read()!==null;);}T.prototype.wrap=function(oe){var J=this,Se=this._readableState,ye=!1;oe.on("end",function(){if(l("wrapped end"),Se.decoder&&!Se.ended){var K=Se.decoder.end();K&&K.length&&J.push(K)}J.push(null)}),oe.on("data",function(K){if(l("wrapped data"),Se.decoder&&(K=Se.decoder.write(K)),!(Se.objectMode&&K==null)&&!(!Se.objectMode&&(!K||!K.length))){var ie=J.push(K);ie||(ye=!0,oe.pause())}});for(var xe in oe)this[xe]===void 0&&typeof oe[xe]=="function"&&(this[xe]=(function(ie){return function(){return oe[ie].apply(oe,arguments)}})(xe));for(var pe=0;pe<N.length;pe++)oe.on(N[pe],this.emit.bind(this,N[pe]));return this._read=function(K){l("wrapped _read",K),ye&&(ye=!1,oe.resume())},this},typeof Symbol=="function"&&(T.prototype[Symbol.asyncIterator]=function(){return k===void 0&&(k=hEn()),k(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(J){this._readableState&&(this._readableState.flowing=J)}}),T._fromList=te,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function te(oe,J){if(J.length===0)return null;var Se;return J.objectMode?Se=J.buffer.shift():!oe||oe>=J.length?(J.decoder?Se=J.buffer.join(""):J.buffer.length===1?Se=J.buffer.first():Se=J.buffer.concat(J.length),J.buffer.clear()):Se=J.buffer.consume(oe,J.decoder),Se}function ue(oe){var J=oe._readableState;l("endReadable",J.endEmitted),J.endEmitted||(J.ended=!0,Kn.nextTick(fe,J,oe))}function fe(oe,J){if(l("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&oe.length===0&&(oe.endEmitted=!0,J.readable=!1,J.emit("end"),oe.autoDestroy)){var Se=J._writableState;(!Se||Se.autoDestroy&&Se.finished)&&J.destroy()}}typeof Symbol=="function"&&(T.from=function(oe,J){return S===void 0&&(S=mEn()),S(T,oe,J)});function ge(oe,J){for(var Se=0,ye=oe.length;Se<ye;Se++)if(oe[Se]===J)return Se;return-1}return RQ}var $Q,m2e;function Yet(){if(m2e)return $Q;m2e=1,$Q=s;var e=IC().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=TS();c1()(s,a);function o(u,f){var h=this._transformState;h.transforming=!1;var m=h.writecb;if(m===null)return this.emit("error",new n);h.writechunk=null,h.writecb=null,f!=null&&this.push(f),m(u);var A=this._readableState;A.reading=!1,(A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}function s(u){if(!(this instanceof s))return new s(u);a.call(this,u),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",l)}function l(){var u=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,h){c(u,f,h)}):c(this,null,null)}s.prototype.push=function(u,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,u,f)},s.prototype._transform=function(u,f,h){h(new t("_transform()"))},s.prototype._write=function(u,f,h){var m=this._transformState;if(m.writecb=h,m.writechunk=u,m.writeencoding=f,!m.transforming){var A=this._readableState;(m.needTransform||A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}},s.prototype._read=function(u){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},s.prototype._destroy=function(u,f){a.prototype._destroy.call(this,u,function(h){f(h)})};function c(u,f,h){if(f)return u.emit("error",f);if(h!=null&&u.push(h),u._writableState.length)throw new i;if(u._transformState.transforming)throw new r;return u.push(null)}return $Q}var LQ,p2e;function pEn(){if(p2e)return LQ;p2e=1,LQ=t;var e=Yet();c1()(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,r,i){i(null,n)},LQ}var UQ,A2e;function AEn(){if(A2e)return UQ;A2e=1;var e;function t(h){var m=!1;return function(){m||(m=!0,h.apply(void 0,arguments))}}var n=IC().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function a(h){if(h)throw h}function o(h){return h.setHeader&&typeof h.abort=="function"}function s(h,m,A,p){p=t(p);var v=!1;h.on("close",function(){v=!0}),e===void 0&&(e=Xse()),e(h,{readable:m,writable:A},function(x){if(x)return p(x);v=!0,p()});var y=!1;return function(x){if(!v&&!y){if(y=!0,o(h))return h.abort();if(typeof h.destroy=="function")return h.destroy();p(x||new i("pipe"))}}}function l(h){h()}function c(h,m){return h.pipe(m)}function u(h){return!h.length||typeof h[h.length-1]!="function"?a:h.pop()}function f(){for(var h=arguments.length,m=new Array(h),A=0;A<h;A++)m[A]=arguments[A];var p=u(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new r("streams");var v,y=m.map(function(x,k){var S=k<m.length-1,C=k>0;return s(x,S,C,function(N){v||(v=N),N&&y.forEach(l),!S&&(y.forEach(l),p(v))})});return m.reduce(c)}return UQ=f,UQ}var zQ,g2e;function gEn(){if(g2e)return zQ;g2e=1,zQ=n;var e=Yse().EventEmitter,t=c1();t(n,e),n.Readable=Ket(),n.Writable=Wet(),n.Duplex=TS(),n.Transform=Yet(),n.PassThrough=pEn(),n.finished=Xse(),n.pipeline=AEn(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(r,i){var a=this;function o(m){r.writable&&r.write(m)===!1&&a.pause&&a.pause()}a.on("data",o);function s(){a.readable&&a.resume&&a.resume()}r.on("drain",s),!r._isStdio&&(!i||i.end!==!1)&&(a.on("end",c),a.on("close",u));var l=!1;function c(){l||(l=!0,r.end())}function u(){l||(l=!0,typeof r.destroy=="function"&&r.destroy())}function f(m){if(h(),e.listenerCount(this,"error")===0)throw m}a.on("error",f),r.on("error",f);function h(){a.removeListener("data",o),r.removeListener("drain",s),a.removeListener("end",c),a.removeListener("close",u),a.removeListener("error",f),r.removeListener("error",f),a.removeListener("end",h),a.removeListener("close",h),r.removeListener("close",h)}return a.on("end",h),a.on("close",h),r.on("close",h),r.emit("pipe",a),r},zQ}var v2e;function vEn(){return v2e||(v2e=1,(function(e){var t=o0().Buffer,n=U2n(),r=Het(),i=e.exports;i.encodings=null,i.defaultCharUnicode="�",i.defaultCharSingleByte="?",i.encode=function(s,l,c){s=""+(s||"");var u=i.getEncoder(l,c),f=u.write(s),h=u.end();return h&&h.length>0?t.concat([f,h]):f},i.decode=function(s,l,c){typeof s=="string"&&(i.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),i.skipDecodeWarning=!0),s=t.from(""+(s||""),"binary"));var u=i.getDecoder(l,c),f=u.write(s),h=u.end();return h?f+h:f},i.encodingExists=function(s){try{return i.getCodec(s),!0}catch{return!1}},i.toEncoding=i.encode,i.fromEncoding=i.decode,i._codecDataCache={__proto__:null},i.getCodec=function(s){if(!i.encodings){var l=aEn();i.encodings={__proto__:null},r(i.encodings,l)}for(var c=i._canonicalizeEncoding(s),u={};;){var f=i._codecDataCache[c];if(f)return f;var h=i.encodings[c];switch(typeof h){case"string":c=h;break;case"object":for(var m in h)u[m]=h[m];u.encodingName||(u.encodingName=c),c=h.type;break;case"function":return u.encodingName||(u.encodingName=c),f=new h(u,i),i._codecDataCache[u.encodingName]=f,f;default:throw new Error("Encoding not recognized: '"+s+"' (searched as: '"+c+"')")}}},i._canonicalizeEncoding=function(o){return(""+o).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},i.getEncoder=function(s,l){var c=i.getCodec(s),u=new c.encoder(l,c);return c.bomAware&&l&&l.addBOM&&(u=new n.PrependBOM(u,l)),u},i.getDecoder=function(s,l){var c=i.getCodec(s),u=new c.decoder(l,c);return c.bomAware&&!(l&&l.stripBOM===!1)&&(u=new n.StripBOM(u,l)),u},i.enableStreamingAPI=function(s){if(!i.supportsStreams){var l=oEn()(s);i.IconvLiteEncoderStream=l.IconvLiteEncoderStream,i.IconvLiteDecoderStream=l.IconvLiteDecoderStream,i.encodeStream=function(u,f){return new i.IconvLiteEncoderStream(i.getEncoder(u,f),f)},i.decodeStream=function(u,f){return new i.IconvLiteDecoderStream(i.getDecoder(u,f),f)},i.supportsStreams=!0}};var a;try{a=gEn()}catch{}a&&a.Transform?i.enableStreamingAPI(a):i.encodeStream=i.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}})(lQ)),lQ.exports}var yEn=vEn();const y2e=Di(yEn);function Xet({open:e,onOpenChange:t}){const n=wne(new Date),r=$t(d3(n),"yyyy-MM-dd"),i=$t(sLe(n),"yyyy-MM-dd"),[a,o]=w.useState(r),[s,l]=w.useState(i),[c,u]=w.useState(!1),[f,h]=w.useState(""),[m,A]=on({pause:!0,query:SFt,variables:{fromDate:a,toDate:s}});w.useEffect(()=>{if(c&&!m.fetching){if(m.error){h("Failed to fetch uniform format data. Please try again."),console.error("GraphQL error:",m.error),u(!1);return}if(m.data?.uniformFormat){const{bkmvdata:y,ini:x}=m.data.uniformFormat;if(!y||!x){h("Incomplete data received from the server. Please try again."),u(!1);return}const k=new File([new Uint8Array(y2e.encode(y,"ISO-8859-8"))],"bkmvdata.txt",{type:"text/plain"}),S=new File([new Uint8Array(y2e.encode(x,"ISO-8859-8"))],"ini.txt",{type:"text/plain"});zY(S),setTimeout(()=>zY(k),100),t(!1),o(r),l(i),u(!1)}else m.stale&&!m.data?.uniformFormat&&(h("No data returned from the server. Please try again."),u(!1))}},[m,c,a,s,r,i,t]);const p=async y=>{if(y.preventDefault(),h(""),!a||!s){h("Please select both from and to dates");return}const x=new Date(a),k=new Date(s);if(x>=k){h("From date must be before to date");return}if(k>new Date){h("To date cannot be in the future");return}u(!0);try{A({requestPolicy:"network-only"})}catch(S){h("Failed to generate files. Please try again."),console.error("Error generating files:",S),u(!1)}},v=y=>{c||(t(y),y||(o(r),l(i),h("")))};return d.jsx(qa,{open:e,onOpenChange:v,children:d.jsxs(Ga,{className:"sm:max-w-md",children:[d.jsxs(vs,{children:[d.jsxs(ys,{className:"flex items-center gap-2",children:[d.jsx(aS,{className:"h-5 w-5"}),"Generate Uniform Files"]}),d.jsx(JHe,{children:"Select the date range to generate and download uniform files."})]}),d.jsxs("form",{onSubmit:p,className:"space-y-4",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(Mn,{htmlFor:"from-date",children:"From Date"}),d.jsx(kn,{id:"from-date",type:"date",value:a,onChange:y=>o(y.target.value),disabled:c,required:!0})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Mn,{htmlFor:"to-date",children:"To Date"}),d.jsx(kn,{id:"to-date",type:"date",value:s,onChange:y=>l(y.target.value),disabled:c,required:!0})]})]}),f&&d.jsx("div",{className:"text-sm text-red-600 bg-red-50 p-3 rounded-md",children:f}),d.jsxs(Vy,{className:"gap-2",children:[d.jsx(qe,{type:"button",variant:"outline",onClick:()=>v(!1),disabled:c,children:"Cancel"}),d.jsx(qe,{type:"submit",disabled:c,className:"gap-2",children:c?d.jsxs(d.Fragment,{children:[d.jsx(ai,{className:"h-4 w-4 animate-spin"}),"Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Sne,{className:"h-4 w-4"}),"Generate & Download"]})})]})]})]})})}function bEn({...e}){return d.jsx(q3,{"data-slot":"sheet",...e})}function xEn({...e}){return d.jsx(Hie,{"data-slot":"sheet-trigger",...e})}function wEn({...e}){return d.jsx(G3,{"data-slot":"sheet-portal",...e})}function kEn({className:e,...t}){return d.jsx(W3,{"data-slot":"sheet-overlay",className:Ct("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1001 bg-black/50",e),...t})}function SEn({className:e,children:t,side:n="right",...r}){return d.jsxs(wEn,{children:[d.jsx(kEn,{}),d.jsxs(K3,{"data-slot":"sheet-content",className:Ct("bg-white data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-1001 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-gray-950",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,d.jsxs(ZHe,{className:"ring-offset-white focus:ring-gray-950 data-[state=open]:bg-gray-100 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none dark:ring-offset-gray-950 dark:focus:ring-gray-300 dark:data-[state=open]:bg-gray-800",children:[d.jsx(Hx,{className:"size-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}var W6="Collapsible",[CEn,Zet]=Sc(W6),[_En,Zse]=CEn(W6),Jet=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[l,c]=Id({prop:r,defaultProp:i??!1,onChange:o,caller:W6});return d.jsx(_En,{scope:n,disabled:a,contentId:Is(),open:l,onOpenToggle:w.useCallback(()=>c(u=>!u),[c]),children:d.jsx(wn.div,{"data-state":nle(l),"data-disabled":a?"":void 0,...s,ref:t})})});Jet.displayName=W6;var ett="CollapsibleTrigger",Jse=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Zse(ett,n);return d.jsx(wn.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":nle(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:sn(e.onClick,i.onOpenToggle)})});Jse.displayName=ett;var ele="CollapsibleContent",tle=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Zse(ele,e.__scopeCollapsible);return d.jsx(sl,{present:n||i.open,children:({present:a})=>d.jsx(NEn,{...r,ref:t,present:a})})});tle.displayName=ele;var NEn=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Zse(ele,n),[s,l]=w.useState(r),c=w.useRef(null),u=$r(t,c),f=w.useRef(0),h=f.current,m=w.useRef(0),A=m.current,p=o.open||s,v=w.useRef(p),y=w.useRef(void 0);return w.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),ps(()=>{const x=c.current;if(x){y.current=y.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const k=x.getBoundingClientRect();f.current=k.height,m.current=k.width,v.current||(x.style.transitionDuration=y.current.transitionDuration,x.style.animationName=y.current.animationName),l(r)}},[o.open,r]),d.jsx(wn.div,{"data-state":nle(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!p,...a,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0,...e.style},children:p&&i})});function nle(e){return e?"open":"closed"}var ttt=Jet,EEn=Jse,FEn=tle;function DEn({...e}){return d.jsx(ttt,{"data-slot":"collapsible",...e})}function TEn({...e}){return d.jsx(Jse,{"data-slot":"collapsible-trigger",...e})}function OEn({...e}){return d.jsx(tle,{"data-slot":"collapsible-content",...e})}var gJ=["Enter"," "],BEn=["ArrowDown","PageUp","Home"],ntt=["ArrowUp","PageDown","End"],jEn=[...BEn,...ntt],IEn={ltr:[...gJ,"ArrowRight"],rtl:[...gJ,"ArrowLeft"]},PEn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},wT="Menu",[aF,MEn,REn]=NL(wT),[u1,rtt]=Sc(wT,[REn,qy,t6]),K6=qy(),itt=t6(),[$En,d1]=u1(wT),[LEn,kT]=u1(wT),att=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=K6(t),[l,c]=w.useState(null),u=w.useRef(!1),f=xl(a),h=_C(i);return w.useEffect(()=>{const m=()=>{u.current=!0,document.addEventListener("pointerdown",A,{capture:!0,once:!0}),document.addEventListener("pointermove",A,{capture:!0,once:!0})},A=()=>u.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",A,{capture:!0}),document.removeEventListener("pointermove",A,{capture:!0})}},[]),d.jsx(nL,{...s,children:d.jsx($En,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:c,children:d.jsx(LEn,{scope:t,onClose:w.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:u,dir:h,modal:o,children:r})})})};att.displayName=wT;var UEn="MenuAnchor",rle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=K6(n);return d.jsx(TD,{...i,...r,ref:t})});rle.displayName=UEn;var ile="MenuPortal",[zEn,ott]=u1(ile,{forceMount:void 0}),stt=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=d1(ile,t);return d.jsx(zEn,{scope:t,forceMount:n,children:d.jsx(sl,{present:n||a.open,children:d.jsx(wC,{asChild:!0,container:i,children:r})})})};stt.displayName=ile;var Mf="MenuContent",[HEn,ale]=u1(Mf),ltt=w.forwardRef((e,t)=>{const n=ott(Mf,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=d1(Mf,e.__scopeMenu),o=kT(Mf,e.__scopeMenu);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(sl,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:o.modal?d.jsx(VEn,{...i,ref:t}):d.jsx(QEn,{...i,ref:t})})})})}),VEn=w.forwardRef((e,t)=>{const n=d1(Mf,e.__scopeMenu),r=w.useRef(null),i=$r(t,r);return w.useEffect(()=>{const a=r.current;if(a)return Z$(a)},[]),d.jsx(ole,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:sn(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),QEn=w.forwardRef((e,t)=>{const n=d1(Mf,e.__scopeMenu);return d.jsx(ole,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),qEn=xy("MenuContent.ScrollLock"),ole=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,disableOutsideScroll:A,...p}=e,v=d1(Mf,n),y=kT(Mf,n),x=K6(n),k=itt(n),S=MEn(n),[C,N]=w.useState(null),E=w.useRef(null),D=$r(t,E,v.onContentChange),T=w.useRef(0),P=w.useRef(""),O=w.useRef(0),B=w.useRef(null),M=w.useRef("right"),$=w.useRef(0),U=A?iC:w.Fragment,I=A?{as:qEn,allowPinchZoom:!0}:void 0,Q=X=>{const he=P.current+X,ne=S().filter(te=>!te.disabled),H=document.activeElement,W=ne.find(te=>te.ref.current===H)?.textValue,q=ne.map(te=>te.textValue),Z=iFn(q,he,W),re=ne.find(te=>te.textValue===Z)?.ref.current;(function te(ue){P.current=ue,window.clearTimeout(T.current),ue!==""&&(T.current=window.setTimeout(()=>te(""),1e3))})(he),re&&setTimeout(()=>re.focus())};w.useEffect(()=>()=>window.clearTimeout(T.current),[]),V3();const G=w.useCallback(X=>M.current===B.current?.side&&oFn(X,B.current?.area),[]);return d.jsx(HEn,{scope:n,searchRef:P,onItemEnter:w.useCallback(X=>{G(X)&&X.preventDefault()},[G]),onItemLeave:w.useCallback(X=>{G(X)||(E.current?.focus(),N(null))},[G]),onTriggerLeave:w.useCallback(X=>{G(X)&&X.preventDefault()},[G]),pointerGraceTimerRef:O,onPointerGraceIntentChange:w.useCallback(X=>{B.current=X},[]),children:d.jsx(U,{...I,children:d.jsx(ND,{asChild:!0,trapped:i,onMountAutoFocus:sn(a,X=>{X.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:d.jsx(xC,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,children:d.jsx(FYe,{asChild:!0,...k,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:N,onEntryFocus:sn(l,X=>{y.isUsingKeyboardRef.current||X.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(rL,{role:"menu","aria-orientation":"vertical","data-state":Stt(v.open),"data-radix-menu-content":"",dir:y.dir,...x,...p,ref:D,style:{outline:"none",...p.style},onKeyDown:sn(p.onKeyDown,X=>{const ne=X.target.closest("[data-radix-menu-content]")===X.currentTarget,H=X.ctrlKey||X.altKey||X.metaKey,W=X.key.length===1;ne&&(X.key==="Tab"&&X.preventDefault(),!H&&W&&Q(X.key));const q=E.current;if(X.target!==q||!jEn.includes(X.key))return;X.preventDefault();const re=S().filter(te=>!te.disabled).map(te=>te.ref.current);ntt.includes(X.key)&&re.reverse(),nFn(re)}),onBlur:sn(e.onBlur,X=>{X.currentTarget.contains(X.target)||(window.clearTimeout(T.current),P.current="")}),onPointerMove:sn(e.onPointerMove,oF(X=>{const he=X.target,ne=$.current!==X.clientX;if(X.currentTarget.contains(he)&&ne){const H=X.clientX>$.current?"right":"left";M.current=H,$.current=X.clientX}}))})})})})})})});ltt.displayName=Mf;var GEn="MenuGroup",sle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{role:"group",...r,ref:t})});sle.displayName=GEn;var WEn="MenuLabel",ctt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{...r,ref:t})});ctt.displayName=WEn;var RR="MenuItem",b2e="menu.itemSelect",Y6=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=w.useRef(null),o=kT(RR,e.__scopeMenu),s=ale(RR,e.__scopeMenu),l=$r(t,a),c=w.useRef(!1),u=()=>{const f=a.current;if(!n&&f){const h=new CustomEvent(b2e,{bubbles:!0,cancelable:!0});f.addEventListener(b2e,m=>r?.(m),{once:!0}),GLe(f,h),h.defaultPrevented?c.current=!1:o.onClose()}};return d.jsx(utt,{...i,ref:l,disabled:n,onClick:sn(e.onClick,u),onPointerDown:f=>{e.onPointerDown?.(f),c.current=!0},onPointerUp:sn(e.onPointerUp,f=>{c.current||f.currentTarget?.click()}),onKeyDown:sn(e.onKeyDown,f=>{const h=s.searchRef.current!=="";n||h&&f.key===" "||gJ.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});Y6.displayName=RR;var utt=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=ale(RR,n),s=itt(n),l=w.useRef(null),c=$r(t,l),[u,f]=w.useState(!1),[h,m]=w.useState("");return w.useEffect(()=>{const A=l.current;A&&m((A.textContent??"").trim())},[a.children]),d.jsx(aF.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:d.jsx(DYe,{asChild:!0,...s,focusable:!r,children:d.jsx(wn.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:c,onPointerMove:sn(e.onPointerMove,oF(A=>{r?o.onItemLeave(A):(o.onItemEnter(A),A.defaultPrevented||A.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:sn(e.onPointerLeave,oF(A=>o.onItemLeave(A))),onFocus:sn(e.onFocus,()=>f(!0)),onBlur:sn(e.onBlur,()=>f(!1))})})})}),KEn="MenuCheckboxItem",dtt=w.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return d.jsx(Att,{scope:e.__scopeMenu,checked:n,children:d.jsx(Y6,{role:"menuitemcheckbox","aria-checked":$R(n)?"mixed":n,...i,ref:t,"data-state":cle(n),onSelect:sn(i.onSelect,()=>r?.($R(n)?!0:!n),{checkForDefaultPrevented:!1})})})});dtt.displayName=KEn;var ftt="MenuRadioGroup",[YEn,XEn]=u1(ftt,{value:void 0,onValueChange:()=>{}}),htt=w.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=xl(r);return d.jsx(YEn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:d.jsx(sle,{...i,ref:t})})});htt.displayName=ftt;var mtt="MenuRadioItem",ptt=w.forwardRef((e,t)=>{const{value:n,...r}=e,i=XEn(mtt,e.__scopeMenu),a=n===i.value;return d.jsx(Att,{scope:e.__scopeMenu,checked:a,children:d.jsx(Y6,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":cle(a),onSelect:sn(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ptt.displayName=mtt;var lle="MenuItemIndicator",[Att,ZEn]=u1(lle,{checked:!1}),gtt=w.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=ZEn(lle,n);return d.jsx(sl,{present:r||$R(a.checked)||a.checked===!0,children:d.jsx(wn.span,{...i,ref:t,"data-state":cle(a.checked)})})});gtt.displayName=lle;var JEn="MenuSeparator",vtt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});vtt.displayName=JEn;var eFn="MenuArrow",ytt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=K6(n);return d.jsx(iL,{...i,...r,ref:t})});ytt.displayName=eFn;var tFn="MenuSub",[IKn,btt]=u1(tFn),a2="MenuSubTrigger",xtt=w.forwardRef((e,t)=>{const n=d1(a2,e.__scopeMenu),r=kT(a2,e.__scopeMenu),i=btt(a2,e.__scopeMenu),a=ale(a2,e.__scopeMenu),o=w.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},u=w.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return w.useEffect(()=>u,[u]),w.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),d.jsx(rle,{asChild:!0,...c,children:d.jsx(utt,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":Stt(n.open),...e,ref:pg(t,i.onTriggerChange),onClick:f=>{e.onClick?.(f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:sn(e.onPointerMove,oF(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:sn(e.onPointerLeave,oF(f=>{u();const h=n.content?.getBoundingClientRect();if(h){const m=n.content?.dataset.side,A=m==="right",p=A?-5:5,v=h[A?"left":"right"],y=h[A?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+p,y:f.clientY},{x:v,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:v,y:h.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:sn(e.onKeyDown,f=>{const h=a.searchRef.current!=="";e.disabled||h&&f.key===" "||IEn[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});xtt.displayName=a2;var wtt="MenuSubContent",ktt=w.forwardRef((e,t)=>{const n=ott(Mf,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=d1(Mf,e.__scopeMenu),o=kT(Mf,e.__scopeMenu),s=btt(wtt,e.__scopeMenu),l=w.useRef(null),c=$r(t,l);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(sl,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:d.jsx(ole,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:c,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{o.isUsingKeyboardRef.current&&l.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:sn(e.onFocusOutside,u=>{u.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:sn(e.onEscapeKeyDown,u=>{o.onClose(),u.preventDefault()}),onKeyDown:sn(e.onKeyDown,u=>{const f=u.currentTarget.contains(u.target),h=PEn[o.dir].includes(u.key);f&&h&&(a.onOpenChange(!1),s.trigger?.focus(),u.preventDefault())})})})})})});ktt.displayName=wtt;function Stt(e){return e?"open":"closed"}function $R(e){return e==="indeterminate"}function cle(e){return $R(e)?"indeterminate":e?"checked":"unchecked"}function nFn(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function rFn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function iFn(e,t,n){const i=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=rFn(e,Math.max(a,0));i.length===1&&(o=o.filter(c=>c!==n));const l=o.find(c=>c.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function aFn(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const s=t[a],l=t[o],c=s.x,u=s.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(i=!i)}return i}function oFn(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return aFn(n,t)}function oF(e){return t=>t.pointerType==="mouse"?e(t):void 0}var sFn=att,lFn=rle,cFn=stt,uFn=ltt,dFn=sle,fFn=ctt,hFn=Y6,mFn=dtt,pFn=htt,AFn=ptt,gFn=gtt,vFn=vtt,yFn=ytt,bFn=xtt,xFn=ktt,X6="DropdownMenu",[wFn]=Sc(X6,[rtt]),tu=rtt(),[kFn,Ctt]=wFn(X6),_tt=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=tu(t),c=w.useRef(null),[u,f]=Id({prop:i,defaultProp:a??!1,onChange:o,caller:X6});return d.jsx(kFn,{scope:t,triggerId:Is(),triggerRef:c,contentId:Is(),open:u,onOpenChange:f,onOpenToggle:w.useCallback(()=>f(h=>!h),[f]),modal:s,children:d.jsx(sFn,{...l,open:u,onOpenChange:f,dir:r,modal:s,children:n})})};_tt.displayName=X6;var Ntt="DropdownMenuTrigger",Ett=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Ctt(Ntt,n),o=tu(n);return d.jsx(lFn,{asChild:!0,...o,children:d.jsx(wn.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:pg(t,a.triggerRef),onPointerDown:sn(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:sn(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});Ett.displayName=Ntt;var SFn="DropdownMenuPortal",Ftt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=tu(t);return d.jsx(cFn,{...r,...n})};Ftt.displayName=SFn;var Dtt="DropdownMenuContent",Ttt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ctt(Dtt,n),a=tu(n),o=w.useRef(!1);return d.jsx(uFn,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:sn(e.onCloseAutoFocus,s=>{o.current||i.triggerRef.current?.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:sn(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!i.modal||u)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Ttt.displayName=Dtt;var CFn="DropdownMenuGroup",Ott=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(dFn,{...i,...r,ref:t})});Ott.displayName=CFn;var _Fn="DropdownMenuLabel",Btt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(fFn,{...i,...r,ref:t})});Btt.displayName=_Fn;var NFn="DropdownMenuItem",jtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(hFn,{...i,...r,ref:t})});jtt.displayName=NFn;var EFn="DropdownMenuCheckboxItem",Itt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(mFn,{...i,...r,ref:t})});Itt.displayName=EFn;var FFn="DropdownMenuRadioGroup",DFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(pFn,{...i,...r,ref:t})});DFn.displayName=FFn;var TFn="DropdownMenuRadioItem",OFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(AFn,{...i,...r,ref:t})});OFn.displayName=TFn;var BFn="DropdownMenuItemIndicator",Ptt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(gFn,{...i,...r,ref:t})});Ptt.displayName=BFn;var jFn="DropdownMenuSeparator",Mtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(vFn,{...i,...r,ref:t})});Mtt.displayName=jFn;var IFn="DropdownMenuArrow",PFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(yFn,{...i,...r,ref:t})});PFn.displayName=IFn;var MFn="DropdownMenuSubTrigger",RFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(bFn,{...i,...r,ref:t})});RFn.displayName=MFn;var $Fn="DropdownMenuSubContent",LFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(xFn,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});LFn.displayName=$Fn;var UFn=_tt,zFn=Ett,HFn=Ftt,VFn=Ttt,QFn=Ott,qFn=Btt,GFn=jtt,WFn=Itt,KFn=Ptt,YFn=Mtt;function ST({...e}){return d.jsx(UFn,{"data-slot":"dropdown-menu",...e})}function CT({...e}){return d.jsx(zFn,{"data-slot":"dropdown-menu-trigger",...e})}function _T({className:e,sideOffset:t=4,...n}){return d.jsx(HFn,{children:d.jsx(VFn,{"data-slot":"dropdown-menu-content",sideOffset:t,className:Ct("bg-white text-gray-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-1001 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-gray-200 p-1 shadow-md dark:bg-gray-950 dark:text-gray-50 dark:border-gray-800",e),...n})})}function XFn({...e}){return d.jsx(QFn,{"data-slot":"dropdown-menu-group",...e})}function og({className:e,inset:t,variant:n="default",...r}){return d.jsx(GFn,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:Ct("focus:bg-gray-100 focus:text-gray-900 data-[variant=destructive]:text-red-500 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/20 data-[variant=destructive]:focus:text-red-500 data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-gray-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50 dark:data-[variant=destructive]:text-red-900 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/20 dark:data-[variant=destructive]:focus:text-red-900 dark:[&_svg:not([class*='text-'])]:text-gray-400",e),...r})}function ZFn({className:e,children:t,checked:n,...r}){return d.jsxs(WFn,{"data-slot":"dropdown-menu-checkbox-item",className:Ct("focus:bg-gray-100 focus:text-gray-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50",e),checked:n,...r,children:[d.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:d.jsx(KFn,{children:d.jsx(Rs,{className:"size-4"})})}),t]})}function ule({className:e,inset:t,...n}){return d.jsx(qFn,{"data-slot":"dropdown-menu-label","data-inset":t,className:Ct("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function dle({className:e,...t}){return d.jsx(YFn,{"data-slot":"dropdown-menu-separator",className:Ct("bg-gray-200 -mx-1 my-1 h-px dark:bg-gray-800",e),...t})}function x2e({className:e,...t}){return d.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:Ct("text-gray-500 ml-auto text-xs tracking-widest dark:text-gray-400",e),...t})}function Rtt({links:e,isCollapsed:t,closeNav:n}){const r=({sub:i,...a})=>{const o=`${a.title}-${a.href}`;return t&&i?w.createElement(tDn,{...a,sub:i,key:o,closeNav:n}):t?w.createElement(eDn,{...a,key:o,closeNav:n}):i?w.createElement(JFn,{...a,sub:i,key:o,closeNav:n}):w.createElement($tt,{...a,key:o,closeNav:n})};return d.jsx(gYe,{className:"h-screen pb-40",children:d.jsx(sL,{delayDuration:0,children:d.jsx("nav",{className:"grid grid-cols-1 items-start gap-2",children:e.map(r)})})})}function $tt({title:e,icon:t,label:n,href:r,action:i,closeNav:a,subLink:o=!1}){return i?d.jsxs("button",{onClick:()=>{i(),a()},className:Ct(Ag({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6 w-full",o&&"h-10 w-full border-l border-l-slate-500 px-2"),children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]}):d.jsxs(tC,{to:r,onClick:a,className:Ct(Ag({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6",o&&"h-10 w-full border-l border-l-slate-500 px-2"),"aria-current":"page",children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]})}function JFn({title:e,icon:t,label:n,sub:r,closeNav:i}){const a=!!r?.find(o=>o.href===window.location.pathname);return d.jsxs(DEn,{defaultOpen:a,children:[d.jsxs(TEn,{className:Ct(Ag({variant:"ghost",size:"sm"}),"group h-12 w-full justify-start rounded-none px-6"),children:[d.jsx("div",{className:"mr-2",children:t}),d.jsx("div",{className:"font-semibold tracking-tight",children:e}),n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n}),d.jsx("span",{className:Ct('ml-auto transition-all group-data-[state="open"]:-rotate-180'),children:d.jsx(Jr,{})})]}),d.jsx(OEn,{className:"collapsibleDropdown",asChild:!0,children:d.jsx("ul",{children:r.map(o=>d.jsx("li",{className:"my-1 ml-8",children:d.jsx($tt,{...o,subLink:!0,closeNav:i})},o.title))})})]})}function eDn({title:e,icon:t,label:n,href:r,action:i}){return d.jsxs(Bg,{delayDuration:0,children:[d.jsx(jg,{asChild:!0,children:i?d.jsxs(qe,{variant:"ghost",size:"icon",className:"h-12 w-12",onClick:i,children:[t,d.jsx("span",{className:"sr-only",children:e})]}):d.jsxs(tC,{to:r,className:Ct(Ag({variant:"ghost",size:"icon"}),"h-12 w-12"),children:[t,d.jsx("span",{className:"sr-only",children:e})]})}),d.jsxs(Ig,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e,n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n})]})]})}function tDn({title:e,icon:t,label:n,sub:r}){const i=!!r?.find(a=>a.href===window.location.pathname);return d.jsxs(ST,{children:[d.jsxs(Bg,{delayDuration:0,children:[d.jsx(jg,{asChild:!0,children:d.jsx(CT,{asChild:!0,children:d.jsx(qe,{variant:i?"secondary":"ghost",size:"icon",className:"h-12 w-12",children:t})})}),d.jsxs(Ig,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e," ",n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n}),d.jsx(Jr,{size:18,className:"-rotate-90 text-muted-foreground"})]})]}),d.jsxs(_T,{side:"right",align:"start",sideOffset:4,children:[d.jsxs(ule,{children:[e," ",n?`(${n})`:""]}),d.jsx(dle,{}),r.map(({title:a,icon:o,label:s,href:l,action:c})=>d.jsx(og,{asChild:!c,children:c?d.jsxs("button",{onClick:c,className:Ct(Ag({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6 w-full"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]}):d.jsxs(tC,{to:l,className:Ct(Ag({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]})},`${a}-${l||a}`))]})]})}const LR=[{title:"Charges",label:"",href:"",icon:d.jsx(_k,{size:18}),sub:[{title:"All Charges",label:"",href:"/charges",icon:d.jsx(_k,{size:18})},{title:"Missing Info Charges",label:"",href:"/missing-info-charges",icon:d.jsx(Ejt,{size:18})},{title:"Ledger Validation",label:"",href:"/charges-ledger-validation",icon:d.jsx(N5t,{size:18})}]},{title:"Reports",label:"",href:"",icon:d.jsx(Cjt,{size:18}),sub:[{title:"VAT Monthly Report",label:"",href:"/reports/vat-monthly",icon:d.jsx(_k,{size:18})},{title:"Trial Balance Report",label:"",href:"/reports/trial-balance",icon:d.jsx(SLe,{size:18})},{title:"Conto Report",label:"",href:"/reports/conto",icon:d.jsx(kjt,{size:18})},{title:"Profit and Loss Report",label:"",href:"/reports/profit-and-loss",icon:d.jsx(RY,{size:18})},{title:"Tax Report",label:"",href:"/reports/tax",icon:d.jsx(mve,{size:18})},{title:"Corporate Tax Ruling Compliance Report",label:"",href:"/reports/corporate-tax-ruling-compliance",icon:d.jsx(mve,{size:18})},{title:"Depreciation Report",label:"",href:"/reports/depreciation",icon:d.jsx(L5t,{size:18})},{title:"Shaam 6111 Report",label:"",href:"/reports/shaam6111",icon:d.jsx(RY,{size:18})},{title:"Accountant Approvals",label:"",href:"/accountant-approvals",icon:d.jsx(j5t,{size:18})},{title:"Yearly Ledger Report",label:"",href:"/reports/yearly-ledger",icon:d.jsx(Ojt,{size:18})},{title:"Transactions Balance",label:"",href:"/reports/balance",icon:d.jsx(z5t,{size:18})},{title:"Validate Reports",label:"",href:"/reports/validate-reports",icon:d.jsx(V5t,{size:18})},{title:"Generate Uniform Files",label:"",icon:d.jsx(Sne,{size:18})}]},{title:"Financial Entities",label:"",href:"",icon:d.jsx(xLe,{size:18}),sub:[{title:"Businesses",label:"",href:"/businesses",icon:d.jsx(CBt,{size:18})},{title:"Business Transactions",label:"",href:"/business-transactions",icon:d.jsx(y5t,{size:18})},{title:"Tax Categories",label:"",href:"/tax-categories",icon:d.jsx(p5t,{size:18})},{title:"Sort Codes",label:"",href:"/sort-codes",icon:d.jsx(F5t,{size:18})}]},{title:"Documents",label:"",href:"",icon:d.jsx(hve,{size:18}),sub:[{href:"/documents",title:"All Documents",label:"",icon:d.jsx(hve,{size:18})},{title:"Issue Documents",label:"",href:"/documents/issue-documents",icon:d.jsx(cve,{size:18})},{title:"Issue Document",label:"",href:"/documents/issue-document",icon:d.jsx(cve,{size:18})}]},{href:"/business-trips",title:"Business Trips",label:"",icon:d.jsx(Ajt,{size:18})},{title:"Charts",label:"",href:"",icon:d.jsx(Iz,{size:18}),sub:[{title:"Main",label:"",href:"/charts/",icon:d.jsx(Iz,{size:18})},{title:"Monthly Income/Expense",label:"",href:"/charts/monthly-income-expense",icon:d.jsx(Iz,{size:18})}]},{href:"/salaries",title:"Salaries",label:"",icon:d.jsx(S5t,{size:18})},{href:"/tags",title:"Tags",label:"",icon:d.jsx(Vjt,{size:18})}];function nDn(){const[e,t]=w.useState(!1),[n,r]=w.useState(!1),i=LR.map(a=>a.sub?{...a,sub:a.sub.map(o=>o.title==="Generate Uniform Files"?{...o,action:()=>{t(!1),r(!0)}}:o)}:a);return d.jsxs(d.Fragment,{children:[d.jsxs(bEn,{open:e,onOpenChange:t,children:[d.jsx(xEn,{asChild:!0,children:d.jsx(ojt,{})}),d.jsx(SEn,{side:"left",className:"px-0!",children:d.jsx("div",{className:"space-y-4 py-4",children:d.jsxs("div",{className:"px-3 py-2",children:[d.jsx("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:"Overview"}),d.jsx("div",{className:"space-y-1",children:d.jsx(Rtt,{isCollapsed:!1,links:i,closeNav:()=>t(!1)})})]})})})]}),d.jsx(Xet,{open:n,onOpenChange:r})]})}const HQ="mergeChargesByTransactionReference",rDn=()=>{const[{fetching:e},t]=zn(cDt),[{fetching:n},r]=zn(uDt),[{fetching:i},a]=zn(dDt),o=w.useCallback(async()=>{let s="Error flagging foreign fee transactions";const l=`${HQ}-fees`,c=`${HQ}-merge`,u=`${HQ}-debit-date`;Ve.loading("Flagging Fees",{id:l});try{const f=await t({}),h=Hn(f,s,l);if(!h)return;if(!h.flagForeignFeeTransactions.success){console.error(`${s} ${h.flagForeignFeeTransactions.errors?`:
|
|
987
|
+
`)+" "+Z[1]:Z[0]+q+" "+W.join(", ")+" "+Z[1]}e.types=cEn();function y(W){return Array.isArray(W)}e.isArray=y;function x(W){return typeof W=="boolean"}e.isBoolean=x;function k(W){return W===null}e.isNull=k;function S(W){return W==null}e.isNullOrUndefined=S;function C(W){return typeof W=="number"}e.isNumber=C;function N(W){return typeof W=="string"}e.isString=N;function E(W){return typeof W=="symbol"}e.isSymbol=E;function D(W){return W===void 0}e.isUndefined=D;function T(W){return P(W)&&U(W)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function P(W){return typeof W=="object"&&W!==null}e.isObject=P;function O(W){return P(W)&&U(W)==="[object Date]"}e.isDate=O,e.types.isDate=O;function B(W){return P(W)&&(U(W)==="[object Error]"||W instanceof Error)}e.isError=B,e.types.isNativeError=B;function M(W){return typeof W=="function"}e.isFunction=M;function $(W){return W===null||typeof W=="boolean"||typeof W=="number"||typeof W=="string"||typeof W=="symbol"||typeof W>"u"}e.isPrimitive=$,e.isBuffer=uEn();function U(W){return Object.prototype.toString.call(W)}function I(W){return W<10?"0"+W.toString(10):W.toString(10)}var Q=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function G(){var W=new Date,q=[I(W.getHours()),I(W.getMinutes()),I(W.getSeconds())].join(":");return[W.getDate(),Q[W.getMonth()],q].join(" ")}e.log=function(){console.log("%s - %s",G(),e.format.apply(e,arguments))},e.inherits=c1(),e._extend=function(W,q){if(!q||!P(q))return W;for(var Z=Object.keys(q),re=Z.length;re--;)W[Z[re]]=q[Z[re]];return W};function X(W,q){return Object.prototype.hasOwnProperty.call(W,q)}var he=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(q){if(typeof q!="function")throw new TypeError('The "original" argument must be of type Function');if(he&&q[he]){var Z=q[he];if(typeof Z!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Z,he,{value:Z,enumerable:!1,writable:!1,configurable:!0}),Z}function Z(){for(var re,te,ue=new Promise(function(oe,J){re=oe,te=J}),fe=[],ge=0;ge<arguments.length;ge++)fe.push(arguments[ge]);fe.push(function(oe,J){oe?te(oe):re(J)});try{q.apply(this,fe)}catch(oe){te(oe)}return ue}return Object.setPrototypeOf(Z,Object.getPrototypeOf(q)),he&&Object.defineProperty(Z,he,{value:Z,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Z,n(q))},e.promisify.custom=he;function ne(W,q){if(!W){var Z=new Error("Promise was rejected with a falsy value");Z.reason=W,W=Z}return q(W)}function H(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');function q(){for(var Z=[],re=0;re<arguments.length;re++)Z.push(arguments[re]);var te=Z.pop();if(typeof te!="function")throw new TypeError("The last argument must be of type Function");var ue=this,fe=function(){return te.apply(ue,arguments)};W.apply(this,Z).then(function(ge){Kn.nextTick(fe.bind(null,null,ge))},function(ge){Kn.nextTick(ne.bind(null,ge,fe))})}return Object.setPrototypeOf(q,Object.getPrototypeOf(W)),Object.defineProperties(q,n(W)),q}e.callbackify=H})(kQ)),kQ}var EQ,r2e;function dEn(){if(r2e)return EQ;r2e=1;function e(A,p){var v=Object.keys(A);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(A);p&&(y=y.filter(function(x){return Object.getOwnPropertyDescriptor(A,x).enumerable})),v.push.apply(v,y)}return v}function t(A){for(var p=1;p<arguments.length;p++){var v=arguments[p]!=null?arguments[p]:{};p%2?e(Object(v),!0).forEach(function(y){n(A,y,v[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(v)):e(Object(v)).forEach(function(y){Object.defineProperty(A,y,Object.getOwnPropertyDescriptor(v,y))})}return A}function n(A,p,v){return p=o(p),p in A?Object.defineProperty(A,p,{value:v,enumerable:!0,configurable:!0,writable:!0}):A[p]=v,A}function r(A,p){if(!(A instanceof p))throw new TypeError("Cannot call a class as a function")}function i(A,p){for(var v=0;v<p.length;v++){var y=p[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(A,o(y.key),y)}}function a(A,p,v){return p&&i(A.prototype,p),Object.defineProperty(A,"prototype",{writable:!1}),A}function o(A){var p=s(A,"string");return typeof p=="symbol"?p:String(p)}function s(A,p){if(typeof A!="object"||A===null)return A;var v=A[Symbol.toPrimitive];if(v!==void 0){var y=v.call(A,p);if(typeof y!="object")return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}var l=xT(),c=l.Buffer,u=Qet(),f=u.inspect,h=f&&f.custom||"inspect";function m(A,p,v){c.prototype.copy.call(A,p,v)}return EQ=(function(){function A(){r(this,A),this.head=null,this.tail=null,this.length=0}return a(A,[{key:"push",value:function(v){var y={data:v,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:"unshift",value:function(v){var y={data:v,next:this.head};this.length===0&&(this.tail=y),this.head=y,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var y=this.head,x=""+y.data;y=y.next;)x+=v+y.data;return x}},{key:"concat",value:function(v){if(this.length===0)return c.alloc(0);for(var y=c.allocUnsafe(v>>>0),x=this.head,k=0;x;)m(x.data,y,k),k+=x.data.length,x=x.next;return y}},{key:"consume",value:function(v,y){var x;return v<this.head.data.length?(x=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?x=this.shift():x=y?this._getString(v):this._getBuffer(v),x}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var y=this.head,x=1,k=y.data;for(v-=k.length;y=y.next;){var S=y.data,C=v>S.length?S.length:v;if(C===S.length?k+=S:k+=S.slice(0,v),v-=C,v===0){C===S.length?(++x,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=S.slice(C));break}++x}return this.length-=x,k}},{key:"_getBuffer",value:function(v){var y=c.allocUnsafe(v),x=this.head,k=1;for(x.data.copy(y),v-=x.data.length;x=x.next;){var S=x.data,C=v>S.length?S.length:v;if(S.copy(y,y.length-v,0,C),v-=C,v===0){C===S.length?(++k,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=S.slice(C));break}++k}return this.length-=k,y}},{key:h,value:function(v,y){return f(this,t(t({},y),{},{depth:0,customInspect:!1}))}}]),A})(),EQ}var FQ,i2e;function qet(){if(i2e)return FQ;i2e=1;function e(o,s){var l=this,c=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return c||u?(s?s(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Kn.nextTick(i,this,o)):Kn.nextTick(i,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(f){!s&&f?l._writableState?l._writableState.errorEmitted?Kn.nextTick(n,l):(l._writableState.errorEmitted=!0,Kn.nextTick(t,l,f)):Kn.nextTick(t,l,f):s?(Kn.nextTick(n,l),s(f)):Kn.nextTick(n,l)}),this)}function t(o,s){i(o,s),n(o)}function n(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(o,s){o.emit("error",s)}function a(o,s){var l=o._readableState,c=o._writableState;l&&l.autoDestroy||c&&c.autoDestroy?o.destroy(s):o.emit("error",s)}return FQ={destroy:e,undestroy:r,errorOrDestroy:a},FQ}var DQ={},a2e;function IC(){if(a2e)return DQ;a2e=1;function e(s,l){s.prototype=Object.create(l.prototype),s.prototype.constructor=s,s.__proto__=l}var t={};function n(s,l,c){c||(c=Error);function u(h,m,A){return typeof l=="string"?l:l(h,m,A)}var f=(function(h){e(m,h);function m(A,p,v){return h.call(this,u(A,p,v))||this}return m})(c);f.prototype.name=c.name,f.prototype.code=s,t[s]=f}function r(s,l){if(Array.isArray(s)){var c=s.length;return s=s.map(function(u){return String(u)}),c>2?"one of ".concat(l," ").concat(s.slice(0,c-1).join(", "),", or ")+s[c-1]:c===2?"one of ".concat(l," ").concat(s[0]," or ").concat(s[1]):"of ".concat(l," ").concat(s[0])}else return"of ".concat(l," ").concat(String(s))}function i(s,l,c){return s.substr(0,l.length)===l}function a(s,l,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-l.length,c)===l}function o(s,l,c){return typeof c!="number"&&(c=0),c+l.length>s.length?!1:s.indexOf(l,c)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,l){return'The value "'+l+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,l,c){var u;typeof l=="string"&&i(l,"not ")?(u="must not be",l=l.replace(/^not /,"")):u="must be";var f;if(a(s," argument"))f="The ".concat(s," ").concat(u," ").concat(r(l,"type"));else{var h=o(s,".")?"property":"argument";f='The "'.concat(s,'" ').concat(h," ").concat(u," ").concat(r(l,"type"))}return f+=". Received type ".concat(typeof c),f},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),DQ.codes=t,DQ}var TQ,o2e;function Get(){if(o2e)return TQ;o2e=1;var e=IC().codes.ERR_INVALID_OPT_VALUE;function t(r,i,a){return r.highWaterMark!=null?r.highWaterMark:i?r[a]:null}function n(r,i,a,o){var s=t(i,o,a);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var l=o?a:"highWaterMark";throw new e(l,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return TQ={getHighWaterMark:n},TQ}var OQ,s2e;function fEn(){if(s2e)return OQ;s2e=1,OQ=e;function e(n,r){if(t("noDeprecation"))return n;var i=!1;function a(){if(!i){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return a}function t(n){try{if(!ju.localStorage)return!1}catch{return!1}var r=ju.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return OQ}var BQ,l2e;function Wet(){if(l2e)return BQ;l2e=1,BQ=D;function e(re){var te=this;this.next=null,this.entry=null,this.finish=function(){Z(te,re)}}var t;D.WritableState=N;var n={deprecate:fEn()},r=Vet(),i=xT().Buffer,a=(typeof ju<"u"?ju:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function o(re){return i.from(re)}function s(re){return i.isBuffer(re)||re instanceof a}var l=qet(),c=Get(),u=c.getHighWaterMark,f=IC().codes,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,A=f.ERR_MULTIPLE_CALLBACK,p=f.ERR_STREAM_CANNOT_PIPE,v=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,x=f.ERR_STREAM_WRITE_AFTER_END,k=f.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;c1()(D,r);function C(){}function N(re,te,ue){t=t||TS(),re=re||{},typeof ue!="boolean"&&(ue=te instanceof t),this.objectMode=!!re.objectMode,ue&&(this.objectMode=this.objectMode||!!re.writableObjectMode),this.highWaterMark=u(this,re,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var fe=re.decodeStrings===!1;this.decodeStrings=!fe,this.defaultEncoding=re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ge){I(te,ge)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=re.emitClose!==!1,this.autoDestroy=!!re.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}N.prototype.getBuffer=function(){for(var te=this.bufferedRequest,ue=[];te;)ue.push(te),te=te.next;return ue},(function(){try{Object.defineProperty(N.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var E;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(te){return E.call(this,te)?!0:this!==D?!1:te&&te._writableState instanceof N}})):E=function(te){return te instanceof this};function D(re){t=t||TS();var te=this instanceof t;if(!te&&!E.call(D,this))return new D(re);this._writableState=new N(re,this,te),this.writable=!0,re&&(typeof re.write=="function"&&(this._write=re.write),typeof re.writev=="function"&&(this._writev=re.writev),typeof re.destroy=="function"&&(this._destroy=re.destroy),typeof re.final=="function"&&(this._final=re.final)),r.call(this)}D.prototype.pipe=function(){S(this,new p)};function T(re,te){var ue=new x;S(re,ue),Kn.nextTick(te,ue)}function P(re,te,ue,fe){var ge;return ue===null?ge=new y:typeof ue!="string"&&!te.objectMode&&(ge=new h("chunk",["string","Buffer"],ue)),ge?(S(re,ge),Kn.nextTick(fe,ge),!1):!0}D.prototype.write=function(re,te,ue){var fe=this._writableState,ge=!1,oe=!fe.objectMode&&s(re);return oe&&!i.isBuffer(re)&&(re=o(re)),typeof te=="function"&&(ue=te,te=null),oe?te="buffer":te||(te=fe.defaultEncoding),typeof ue!="function"&&(ue=C),fe.ending?T(this,ue):(oe||P(this,fe,re,ue))&&(fe.pendingcb++,ge=B(this,fe,oe,re,te,ue)),ge},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var re=this._writableState;re.corked&&(re.corked--,!re.writing&&!re.corked&&!re.bufferProcessing&&re.bufferedRequest&&X(this,re))},D.prototype.setDefaultEncoding=function(te){if(typeof te=="string"&&(te=te.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((te+"").toLowerCase())>-1))throw new k(te);return this._writableState.defaultEncoding=te,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(re,te,ue){return!re.objectMode&&re.decodeStrings!==!1&&typeof te=="string"&&(te=i.from(te,ue)),te}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function B(re,te,ue,fe,ge,oe){if(!ue){var J=O(te,fe,ge);fe!==J&&(ue=!0,ge="buffer",fe=J)}var Se=te.objectMode?1:fe.length;te.length+=Se;var ye=te.length<te.highWaterMark;if(ye||(te.needDrain=!0),te.writing||te.corked){var xe=te.lastBufferedRequest;te.lastBufferedRequest={chunk:fe,encoding:ge,isBuf:ue,callback:oe,next:null},xe?xe.next=te.lastBufferedRequest:te.bufferedRequest=te.lastBufferedRequest,te.bufferedRequestCount+=1}else M(re,te,!1,Se,fe,ge,oe);return ye}function M(re,te,ue,fe,ge,oe,J){te.writelen=fe,te.writecb=J,te.writing=!0,te.sync=!0,te.destroyed?te.onwrite(new v("write")):ue?re._writev(ge,te.onwrite):re._write(ge,oe,te.onwrite),te.sync=!1}function $(re,te,ue,fe,ge){--te.pendingcb,ue?(Kn.nextTick(ge,fe),Kn.nextTick(W,re,te),re._writableState.errorEmitted=!0,S(re,fe)):(ge(fe),re._writableState.errorEmitted=!0,S(re,fe),W(re,te))}function U(re){re.writing=!1,re.writecb=null,re.length-=re.writelen,re.writelen=0}function I(re,te){var ue=re._writableState,fe=ue.sync,ge=ue.writecb;if(typeof ge!="function")throw new A;if(U(ue),te)$(re,ue,fe,te,ge);else{var oe=he(ue)||re.destroyed;!oe&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&X(re,ue),fe?Kn.nextTick(Q,re,ue,oe,ge):Q(re,ue,oe,ge)}}function Q(re,te,ue,fe){ue||G(re,te),te.pendingcb--,fe(),W(re,te)}function G(re,te){te.length===0&&te.needDrain&&(te.needDrain=!1,re.emit("drain"))}function X(re,te){te.bufferProcessing=!0;var ue=te.bufferedRequest;if(re._writev&&ue&&ue.next){var fe=te.bufferedRequestCount,ge=new Array(fe),oe=te.corkedRequestsFree;oe.entry=ue;for(var J=0,Se=!0;ue;)ge[J]=ue,ue.isBuf||(Se=!1),ue=ue.next,J+=1;ge.allBuffers=Se,M(re,te,!0,te.length,ge,"",oe.finish),te.pendingcb++,te.lastBufferedRequest=null,oe.next?(te.corkedRequestsFree=oe.next,oe.next=null):te.corkedRequestsFree=new e(te),te.bufferedRequestCount=0}else{for(;ue;){var ye=ue.chunk,xe=ue.encoding,pe=ue.callback,K=te.objectMode?1:ye.length;if(M(re,te,!1,K,ye,xe,pe),ue=ue.next,te.bufferedRequestCount--,te.writing)break}ue===null&&(te.lastBufferedRequest=null)}te.bufferedRequest=ue,te.bufferProcessing=!1}D.prototype._write=function(re,te,ue){ue(new m("_write()"))},D.prototype._writev=null,D.prototype.end=function(re,te,ue){var fe=this._writableState;return typeof re=="function"?(ue=re,re=null,te=null):typeof te=="function"&&(ue=te,te=null),re!=null&&this.write(re,te),fe.corked&&(fe.corked=1,this.uncork()),fe.ending||q(this,fe,ue),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function he(re){return re.ending&&re.length===0&&re.bufferedRequest===null&&!re.finished&&!re.writing}function ne(re,te){re._final(function(ue){te.pendingcb--,ue&&S(re,ue),te.prefinished=!0,re.emit("prefinish"),W(re,te)})}function H(re,te){!te.prefinished&&!te.finalCalled&&(typeof re._final=="function"&&!te.destroyed?(te.pendingcb++,te.finalCalled=!0,Kn.nextTick(ne,re,te)):(te.prefinished=!0,re.emit("prefinish")))}function W(re,te){var ue=he(te);if(ue&&(H(re,te),te.pendingcb===0&&(te.finished=!0,re.emit("finish"),te.autoDestroy))){var fe=re._readableState;(!fe||fe.autoDestroy&&fe.endEmitted)&&re.destroy()}return ue}function q(re,te,ue){te.ending=!0,W(re,te),ue&&(te.finished?Kn.nextTick(ue):re.once("finish",ue)),te.ended=!0,re.writable=!1}function Z(re,te,ue){var fe=re.entry;for(re.entry=null;fe;){var ge=fe.callback;te.pendingcb--,ge(ue),fe=fe.next}te.corkedRequestsFree.next=re}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(te){this._writableState&&(this._writableState.destroyed=te)}}),D.prototype.destroy=l.destroy,D.prototype._undestroy=l.undestroy,D.prototype._destroy=function(re,te){te(re)},BQ}var jQ,c2e;function TS(){if(c2e)return jQ;c2e=1;var e=Object.keys||function(c){var u=[];for(var f in c)u.push(f);return u};jQ=o;var t=Ket(),n=Wet();c1()(o,t);for(var r=e(n.prototype),i=0;i<r.length;i++){var a=r[i];o.prototype[a]||(o.prototype[a]=n.prototype[a])}function o(c){if(!(this instanceof o))return new o(c);t.call(this,c),n.call(this,c),this.allowHalfOpen=!0,c&&(c.readable===!1&&(this.readable=!1),c.writable===!1&&(this.writable=!1),c.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||Kn.nextTick(l,this)}function l(c){c.end()}return Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),jQ}var IQ,u2e;function Xse(){if(u2e)return IQ;u2e=1;var e=IC().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var o=!1;return function(){if(!o){o=!0;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.apply(this,l)}}}function n(){}function r(a){return a.setHeader&&typeof a.abort=="function"}function i(a,o,s){if(typeof o=="function")return i(a,null,o);o||(o={}),s=t(s||n);var l=o.readable||o.readable!==!1&&a.readable,c=o.writable||o.writable!==!1&&a.writable,u=function(){a.writable||h()},f=a._writableState&&a._writableState.finished,h=function(){c=!1,f=!0,l||s.call(a)},m=a._readableState&&a._readableState.endEmitted,A=function(){l=!1,m=!0,c||s.call(a)},p=function(k){s.call(a,k)},v=function(){var k;if(l&&!m)return(!a._readableState||!a._readableState.ended)&&(k=new e),s.call(a,k);if(c&&!f)return(!a._writableState||!a._writableState.ended)&&(k=new e),s.call(a,k)},y=function(){a.req.on("finish",h)};return r(a)?(a.on("complete",h),a.on("abort",v),a.req?y():a.on("request",y)):c&&!a._writableState&&(a.on("end",u),a.on("close",u)),a.on("end",A),a.on("finish",h),o.error!==!1&&a.on("error",p),a.on("close",v),function(){a.removeListener("complete",h),a.removeListener("abort",v),a.removeListener("request",y),a.req&&a.req.removeListener("finish",h),a.removeListener("end",u),a.removeListener("close",u),a.removeListener("finish",h),a.removeListener("end",A),a.removeListener("error",p),a.removeListener("close",v)}}return IQ=i,IQ}var PQ,d2e;function hEn(){if(d2e)return PQ;d2e=1;var e;function t(k,S,C){return S=n(S),S in k?Object.defineProperty(k,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):k[S]=C,k}function n(k){var S=r(k,"string");return typeof S=="symbol"?S:String(S)}function r(k,S){if(typeof k!="object"||k===null)return k;var C=k[Symbol.toPrimitive];if(C!==void 0){var N=C.call(k,S);if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(k)}var i=Xse(),a=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),u=Symbol("handlePromise"),f=Symbol("stream");function h(k,S){return{value:k,done:S}}function m(k){var S=k[a];if(S!==null){var C=k[f].read();C!==null&&(k[c]=null,k[a]=null,k[o]=null,S(h(C,!1)))}}function A(k){Kn.nextTick(m,k)}function p(k,S){return function(C,N){k.then(function(){if(S[l]){C(h(void 0,!0));return}S[u](C,N)},N)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var S=this,C=this[s];if(C!==null)return Promise.reject(C);if(this[l])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise(function(T,P){Kn.nextTick(function(){S[s]?P(S[s]):T(h(void 0,!0))})});var N=this[c],E;if(N)E=new Promise(p(N,this));else{var D=this[f].read();if(D!==null)return Promise.resolve(h(D,!1));E=new Promise(this[u])}return this[c]=E,E}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var S=this;return new Promise(function(C,N){S[f].destroy(null,function(E){if(E){N(E);return}C(h(void 0,!0))})})}),e),v),x=function(S){var C,N=Object.create(y,(C={},t(C,f,{value:S,writable:!0}),t(C,a,{value:null,writable:!0}),t(C,o,{value:null,writable:!0}),t(C,s,{value:null,writable:!0}),t(C,l,{value:S._readableState.endEmitted,writable:!0}),t(C,u,{value:function(D,T){var P=N[f].read();P?(N[c]=null,N[a]=null,N[o]=null,D(h(P,!1))):(N[a]=D,N[o]=T)},writable:!0}),C));return N[c]=null,i(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=N[o];D!==null&&(N[c]=null,N[a]=null,N[o]=null,D(E)),N[s]=E;return}var T=N[a];T!==null&&(N[c]=null,N[a]=null,N[o]=null,T(h(void 0,!0))),N[l]=!0}),S.on("readable",A.bind(null,N)),N};return PQ=x,PQ}var MQ,f2e;function mEn(){return f2e||(f2e=1,MQ=function(){throw new Error("Readable.from is not available in the browser")}),MQ}var RQ,h2e;function Ket(){if(h2e)return RQ;h2e=1,RQ=T;var e;T.ReadableState=D,Yse().EventEmitter;var t=function(J,Se){return J.listeners(Se).length},n=Vet(),r=xT().Buffer,i=(typeof ju<"u"?ju:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(oe){return r.from(oe)}function o(oe){return r.isBuffer(oe)||oe instanceof i}var s=Qet(),l;s&&s.debuglog?l=s.debuglog("stream"):l=function(){};var c=dEn(),u=qet(),f=Get(),h=f.getHighWaterMark,m=IC().codes,A=m.ERR_INVALID_ARG_TYPE,p=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,k,S;c1()(T,n);var C=u.errorOrDestroy,N=["error","close","destroy","pause","resume"];function E(oe,J,Se){if(typeof oe.prependListener=="function")return oe.prependListener(J,Se);!oe._events||!oe._events[J]?oe.on(J,Se):Array.isArray(oe._events[J])?oe._events[J].unshift(Se):oe._events[J]=[Se,oe._events[J]]}function D(oe,J,Se){e=e||TS(),oe=oe||{},typeof Se!="boolean"&&(Se=J instanceof e),this.objectMode=!!oe.objectMode,Se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=h(this,oe,"readableHighWaterMark",Se),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=oe.emitClose!==!1,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(x||(x=AJ().StringDecoder),this.decoder=new x(oe.encoding),this.encoding=oe.encoding)}function T(oe){if(e=e||TS(),!(this instanceof T))return new T(oe);var J=this instanceof e;this._readableState=new D(oe,this,J),this.readable=!0,oe&&(typeof oe.read=="function"&&(this._read=oe.read),typeof oe.destroy=="function"&&(this._destroy=oe.destroy)),n.call(this)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(J){this._readableState&&(this._readableState.destroyed=J)}}),T.prototype.destroy=u.destroy,T.prototype._undestroy=u.undestroy,T.prototype._destroy=function(oe,J){J(oe)},T.prototype.push=function(oe,J){var Se=this._readableState,ye;return Se.objectMode?ye=!0:typeof oe=="string"&&(J=J||Se.defaultEncoding,J!==Se.encoding&&(oe=r.from(oe,J),J=""),ye=!0),P(this,oe,J,!1,ye)},T.prototype.unshift=function(oe){return P(this,oe,null,!0,!1)};function P(oe,J,Se,ye,xe){l("readableAddChunk",J);var pe=oe._readableState;if(J===null)pe.reading=!1,I(oe,pe);else{var K;if(xe||(K=B(pe,J)),K)C(oe,K);else if(pe.objectMode||J&&J.length>0)if(typeof J!="string"&&!pe.objectMode&&Object.getPrototypeOf(J)!==r.prototype&&(J=a(J)),ye)pe.endEmitted?C(oe,new y):O(oe,pe,J,!0);else if(pe.ended)C(oe,new p);else{if(pe.destroyed)return!1;pe.reading=!1,pe.decoder&&!Se?(J=pe.decoder.write(J),pe.objectMode||J.length!==0?O(oe,pe,J,!1):X(oe,pe)):O(oe,pe,J,!1)}else ye||(pe.reading=!1,X(oe,pe))}return!pe.ended&&(pe.length<pe.highWaterMark||pe.length===0)}function O(oe,J,Se,ye){J.flowing&&J.length===0&&!J.sync?(J.awaitDrain=0,oe.emit("data",Se)):(J.length+=J.objectMode?1:Se.length,ye?J.buffer.unshift(Se):J.buffer.push(Se),J.needReadable&&Q(oe)),X(oe,J)}function B(oe,J){var Se;return!o(J)&&typeof J!="string"&&J!==void 0&&!oe.objectMode&&(Se=new A("chunk",["string","Buffer","Uint8Array"],J)),Se}T.prototype.isPaused=function(){return this._readableState.flowing===!1},T.prototype.setEncoding=function(oe){x||(x=AJ().StringDecoder);var J=new x(oe);this._readableState.decoder=J,this._readableState.encoding=this._readableState.decoder.encoding;for(var Se=this._readableState.buffer.head,ye="";Se!==null;)ye+=J.write(Se.data),Se=Se.next;return this._readableState.buffer.clear(),ye!==""&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var M=1073741824;function $(oe){return oe>=M?oe=M:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}function U(oe,J){return oe<=0||J.length===0&&J.ended?0:J.objectMode?1:oe!==oe?J.flowing&&J.length?J.buffer.head.data.length:J.length:(oe>J.highWaterMark&&(J.highWaterMark=$(oe)),oe<=J.length?oe:J.ended?J.length:(J.needReadable=!0,0))}T.prototype.read=function(oe){l("read",oe),oe=parseInt(oe,10);var J=this._readableState,Se=oe;if(oe!==0&&(J.emittedReadable=!1),oe===0&&J.needReadable&&((J.highWaterMark!==0?J.length>=J.highWaterMark:J.length>0)||J.ended))return l("read: emitReadable",J.length,J.ended),J.length===0&&J.ended?ue(this):Q(this),null;if(oe=U(oe,J),oe===0&&J.ended)return J.length===0&&ue(this),null;var ye=J.needReadable;l("need readable",ye),(J.length===0||J.length-oe<J.highWaterMark)&&(ye=!0,l("length less than watermark",ye)),J.ended||J.reading?(ye=!1,l("reading or ended",ye)):ye&&(l("do read"),J.reading=!0,J.sync=!0,J.length===0&&(J.needReadable=!0),this._read(J.highWaterMark),J.sync=!1,J.reading||(oe=U(Se,J)));var xe;return oe>0?xe=te(oe,J):xe=null,xe===null?(J.needReadable=J.length<=J.highWaterMark,oe=0):(J.length-=oe,J.awaitDrain=0),J.length===0&&(J.ended||(J.needReadable=!0),Se!==oe&&J.ended&&ue(this)),xe!==null&&this.emit("data",xe),xe};function I(oe,J){if(l("onEofChunk"),!J.ended){if(J.decoder){var Se=J.decoder.end();Se&&Se.length&&(J.buffer.push(Se),J.length+=J.objectMode?1:Se.length)}J.ended=!0,J.sync?Q(oe):(J.needReadable=!1,J.emittedReadable||(J.emittedReadable=!0,G(oe)))}}function Q(oe){var J=oe._readableState;l("emitReadable",J.needReadable,J.emittedReadable),J.needReadable=!1,J.emittedReadable||(l("emitReadable",J.flowing),J.emittedReadable=!0,Kn.nextTick(G,oe))}function G(oe){var J=oe._readableState;l("emitReadable_",J.destroyed,J.length,J.ended),!J.destroyed&&(J.length||J.ended)&&(oe.emit("readable"),J.emittedReadable=!1),J.needReadable=!J.flowing&&!J.ended&&J.length<=J.highWaterMark,re(oe)}function X(oe,J){J.readingMore||(J.readingMore=!0,Kn.nextTick(he,oe,J))}function he(oe,J){for(;!J.reading&&!J.ended&&(J.length<J.highWaterMark||J.flowing&&J.length===0);){var Se=J.length;if(l("maybeReadMore read 0"),oe.read(0),Se===J.length)break}J.readingMore=!1}T.prototype._read=function(oe){C(this,new v("_read()"))},T.prototype.pipe=function(oe,J){var Se=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=oe;break;case 1:ye.pipes=[ye.pipes,oe];break;default:ye.pipes.push(oe);break}ye.pipesCount+=1,l("pipe count=%d opts=%j",ye.pipesCount,J);var xe=(!J||J.end!==!1)&&oe!==Kn.stdout&&oe!==Kn.stderr,pe=xe?ie:Ke;ye.endEmitted?Kn.nextTick(pe):Se.once("end",pe),oe.on("unpipe",K);function K(rt,ct){l("onunpipe"),rt===Se&&ct&&ct.hasUnpiped===!1&&(ct.hasUnpiped=!0,ve())}function ie(){l("onend"),oe.end()}var le=ne(Se);oe.on("drain",le);var ce=!1;function ve(){l("cleanup"),oe.removeListener("close",je),oe.removeListener("finish",Re),oe.removeListener("drain",le),oe.removeListener("error",$e),oe.removeListener("unpipe",K),Se.removeListener("end",ie),Se.removeListener("end",Ke),Se.removeListener("data",be),ce=!0,ye.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&le()}Se.on("data",be);function be(rt){l("ondata");var ct=oe.write(rt);l("dest.write",ct),ct===!1&&((ye.pipesCount===1&&ye.pipes===oe||ye.pipesCount>1&&ge(ye.pipes,oe)!==-1)&&!ce&&(l("false write response, pause",ye.awaitDrain),ye.awaitDrain++),Se.pause())}function $e(rt){l("onerror",rt),Ke(),oe.removeListener("error",$e),t(oe,"error")===0&&C(oe,rt)}E(oe,"error",$e);function je(){oe.removeListener("finish",Re),Ke()}oe.once("close",je);function Re(){l("onfinish"),oe.removeListener("close",je),Ke()}oe.once("finish",Re);function Ke(){l("unpipe"),Se.unpipe(oe)}return oe.emit("pipe",Se),ye.flowing||(l("pipe resume"),Se.resume()),oe};function ne(oe){return function(){var Se=oe._readableState;l("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&t(oe,"data")&&(Se.flowing=!0,re(oe))}}T.prototype.unpipe=function(oe){var J=this._readableState,Se={hasUnpiped:!1};if(J.pipesCount===0)return this;if(J.pipesCount===1)return oe&&oe!==J.pipes?this:(oe||(oe=J.pipes),J.pipes=null,J.pipesCount=0,J.flowing=!1,oe&&oe.emit("unpipe",this,Se),this);if(!oe){var ye=J.pipes,xe=J.pipesCount;J.pipes=null,J.pipesCount=0,J.flowing=!1;for(var pe=0;pe<xe;pe++)ye[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var K=ge(J.pipes,oe);return K===-1?this:(J.pipes.splice(K,1),J.pipesCount-=1,J.pipesCount===1&&(J.pipes=J.pipes[0]),oe.emit("unpipe",this,Se),this)},T.prototype.on=function(oe,J){var Se=n.prototype.on.call(this,oe,J),ye=this._readableState;return oe==="data"?(ye.readableListening=this.listenerCount("readable")>0,ye.flowing!==!1&&this.resume()):oe==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,l("on readable",ye.length,ye.reading),ye.length?Q(this):ye.reading||Kn.nextTick(W,this)),Se},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(oe,J){var Se=n.prototype.removeListener.call(this,oe,J);return oe==="readable"&&Kn.nextTick(H,this),Se},T.prototype.removeAllListeners=function(oe){var J=n.prototype.removeAllListeners.apply(this,arguments);return(oe==="readable"||oe===void 0)&&Kn.nextTick(H,this),J};function H(oe){var J=oe._readableState;J.readableListening=oe.listenerCount("readable")>0,J.resumeScheduled&&!J.paused?J.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function W(oe){l("readable nexttick read 0"),oe.read(0)}T.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(l("resume"),oe.flowing=!oe.readableListening,q(this,oe)),oe.paused=!1,this};function q(oe,J){J.resumeScheduled||(J.resumeScheduled=!0,Kn.nextTick(Z,oe,J))}function Z(oe,J){l("resume",J.reading),J.reading||oe.read(0),J.resumeScheduled=!1,oe.emit("resume"),re(oe),J.flowing&&!J.reading&&oe.read(0)}T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function re(oe){var J=oe._readableState;for(l("flow",J.flowing);J.flowing&&oe.read()!==null;);}T.prototype.wrap=function(oe){var J=this,Se=this._readableState,ye=!1;oe.on("end",function(){if(l("wrapped end"),Se.decoder&&!Se.ended){var K=Se.decoder.end();K&&K.length&&J.push(K)}J.push(null)}),oe.on("data",function(K){if(l("wrapped data"),Se.decoder&&(K=Se.decoder.write(K)),!(Se.objectMode&&K==null)&&!(!Se.objectMode&&(!K||!K.length))){var ie=J.push(K);ie||(ye=!0,oe.pause())}});for(var xe in oe)this[xe]===void 0&&typeof oe[xe]=="function"&&(this[xe]=(function(ie){return function(){return oe[ie].apply(oe,arguments)}})(xe));for(var pe=0;pe<N.length;pe++)oe.on(N[pe],this.emit.bind(this,N[pe]));return this._read=function(K){l("wrapped _read",K),ye&&(ye=!1,oe.resume())},this},typeof Symbol=="function"&&(T.prototype[Symbol.asyncIterator]=function(){return k===void 0&&(k=hEn()),k(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(J){this._readableState&&(this._readableState.flowing=J)}}),T._fromList=te,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function te(oe,J){if(J.length===0)return null;var Se;return J.objectMode?Se=J.buffer.shift():!oe||oe>=J.length?(J.decoder?Se=J.buffer.join(""):J.buffer.length===1?Se=J.buffer.first():Se=J.buffer.concat(J.length),J.buffer.clear()):Se=J.buffer.consume(oe,J.decoder),Se}function ue(oe){var J=oe._readableState;l("endReadable",J.endEmitted),J.endEmitted||(J.ended=!0,Kn.nextTick(fe,J,oe))}function fe(oe,J){if(l("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&oe.length===0&&(oe.endEmitted=!0,J.readable=!1,J.emit("end"),oe.autoDestroy)){var Se=J._writableState;(!Se||Se.autoDestroy&&Se.finished)&&J.destroy()}}typeof Symbol=="function"&&(T.from=function(oe,J){return S===void 0&&(S=mEn()),S(T,oe,J)});function ge(oe,J){for(var Se=0,ye=oe.length;Se<ye;Se++)if(oe[Se]===J)return Se;return-1}return RQ}var $Q,m2e;function Yet(){if(m2e)return $Q;m2e=1,$Q=s;var e=IC().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,n=e.ERR_MULTIPLE_CALLBACK,r=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=TS();c1()(s,a);function o(u,f){var h=this._transformState;h.transforming=!1;var m=h.writecb;if(m===null)return this.emit("error",new n);h.writechunk=null,h.writecb=null,f!=null&&this.push(f),m(u);var A=this._readableState;A.reading=!1,(A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}function s(u){if(!(this instanceof s))return new s(u);a.call(this,u),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",l)}function l(){var u=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,h){c(u,f,h)}):c(this,null,null)}s.prototype.push=function(u,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,u,f)},s.prototype._transform=function(u,f,h){h(new t("_transform()"))},s.prototype._write=function(u,f,h){var m=this._transformState;if(m.writecb=h,m.writechunk=u,m.writeencoding=f,!m.transforming){var A=this._readableState;(m.needTransform||A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}},s.prototype._read=function(u){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},s.prototype._destroy=function(u,f){a.prototype._destroy.call(this,u,function(h){f(h)})};function c(u,f,h){if(f)return u.emit("error",f);if(h!=null&&u.push(h),u._writableState.length)throw new i;if(u._transformState.transforming)throw new r;return u.push(null)}return $Q}var LQ,p2e;function pEn(){if(p2e)return LQ;p2e=1,LQ=t;var e=Yet();c1()(t,e);function t(n){if(!(this instanceof t))return new t(n);e.call(this,n)}return t.prototype._transform=function(n,r,i){i(null,n)},LQ}var UQ,A2e;function AEn(){if(A2e)return UQ;A2e=1;var e;function t(h){var m=!1;return function(){m||(m=!0,h.apply(void 0,arguments))}}var n=IC().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function a(h){if(h)throw h}function o(h){return h.setHeader&&typeof h.abort=="function"}function s(h,m,A,p){p=t(p);var v=!1;h.on("close",function(){v=!0}),e===void 0&&(e=Xse()),e(h,{readable:m,writable:A},function(x){if(x)return p(x);v=!0,p()});var y=!1;return function(x){if(!v&&!y){if(y=!0,o(h))return h.abort();if(typeof h.destroy=="function")return h.destroy();p(x||new i("pipe"))}}}function l(h){h()}function c(h,m){return h.pipe(m)}function u(h){return!h.length||typeof h[h.length-1]!="function"?a:h.pop()}function f(){for(var h=arguments.length,m=new Array(h),A=0;A<h;A++)m[A]=arguments[A];var p=u(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new r("streams");var v,y=m.map(function(x,k){var S=k<m.length-1,C=k>0;return s(x,S,C,function(N){v||(v=N),N&&y.forEach(l),!S&&(y.forEach(l),p(v))})});return m.reduce(c)}return UQ=f,UQ}var zQ,g2e;function gEn(){if(g2e)return zQ;g2e=1,zQ=n;var e=Yse().EventEmitter,t=c1();t(n,e),n.Readable=Ket(),n.Writable=Wet(),n.Duplex=TS(),n.Transform=Yet(),n.PassThrough=pEn(),n.finished=Xse(),n.pipeline=AEn(),n.Stream=n;function n(){e.call(this)}return n.prototype.pipe=function(r,i){var a=this;function o(m){r.writable&&r.write(m)===!1&&a.pause&&a.pause()}a.on("data",o);function s(){a.readable&&a.resume&&a.resume()}r.on("drain",s),!r._isStdio&&(!i||i.end!==!1)&&(a.on("end",c),a.on("close",u));var l=!1;function c(){l||(l=!0,r.end())}function u(){l||(l=!0,typeof r.destroy=="function"&&r.destroy())}function f(m){if(h(),e.listenerCount(this,"error")===0)throw m}a.on("error",f),r.on("error",f);function h(){a.removeListener("data",o),r.removeListener("drain",s),a.removeListener("end",c),a.removeListener("close",u),a.removeListener("error",f),r.removeListener("error",f),a.removeListener("end",h),a.removeListener("close",h),r.removeListener("close",h)}return a.on("end",h),a.on("close",h),r.on("close",h),r.emit("pipe",a),r},zQ}var v2e;function vEn(){return v2e||(v2e=1,(function(e){var t=o0().Buffer,n=U2n(),r=Het(),i=e.exports;i.encodings=null,i.defaultCharUnicode="�",i.defaultCharSingleByte="?",i.encode=function(s,l,c){s=""+(s||"");var u=i.getEncoder(l,c),f=u.write(s),h=u.end();return h&&h.length>0?t.concat([f,h]):f},i.decode=function(s,l,c){typeof s=="string"&&(i.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),i.skipDecodeWarning=!0),s=t.from(""+(s||""),"binary"));var u=i.getDecoder(l,c),f=u.write(s),h=u.end();return h?f+h:f},i.encodingExists=function(s){try{return i.getCodec(s),!0}catch{return!1}},i.toEncoding=i.encode,i.fromEncoding=i.decode,i._codecDataCache={__proto__:null},i.getCodec=function(s){if(!i.encodings){var l=aEn();i.encodings={__proto__:null},r(i.encodings,l)}for(var c=i._canonicalizeEncoding(s),u={};;){var f=i._codecDataCache[c];if(f)return f;var h=i.encodings[c];switch(typeof h){case"string":c=h;break;case"object":for(var m in h)u[m]=h[m];u.encodingName||(u.encodingName=c),c=h.type;break;case"function":return u.encodingName||(u.encodingName=c),f=new h(u,i),i._codecDataCache[u.encodingName]=f,f;default:throw new Error("Encoding not recognized: '"+s+"' (searched as: '"+c+"')")}}},i._canonicalizeEncoding=function(o){return(""+o).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},i.getEncoder=function(s,l){var c=i.getCodec(s),u=new c.encoder(l,c);return c.bomAware&&l&&l.addBOM&&(u=new n.PrependBOM(u,l)),u},i.getDecoder=function(s,l){var c=i.getCodec(s),u=new c.decoder(l,c);return c.bomAware&&!(l&&l.stripBOM===!1)&&(u=new n.StripBOM(u,l)),u},i.enableStreamingAPI=function(s){if(!i.supportsStreams){var l=oEn()(s);i.IconvLiteEncoderStream=l.IconvLiteEncoderStream,i.IconvLiteDecoderStream=l.IconvLiteDecoderStream,i.encodeStream=function(u,f){return new i.IconvLiteEncoderStream(i.getEncoder(u,f),f)},i.decodeStream=function(u,f){return new i.IconvLiteDecoderStream(i.getDecoder(u,f),f)},i.supportsStreams=!0}};var a;try{a=gEn()}catch{}a&&a.Transform?i.enableStreamingAPI(a):i.encodeStream=i.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}})(lQ)),lQ.exports}var yEn=vEn();const y2e=Di(yEn);function Xet({open:e,onOpenChange:t}){const n=wne(new Date),r=$t(d3(n),"yyyy-MM-dd"),i=$t(sLe(n),"yyyy-MM-dd"),[a,o]=w.useState(r),[s,l]=w.useState(i),[c,u]=w.useState(!1),[f,h]=w.useState(""),[m,A]=on({pause:!0,query:SFt,variables:{fromDate:a,toDate:s}});w.useEffect(()=>{if(c&&!m.fetching){if(m.error){h("Failed to fetch uniform format data. Please try again."),console.error("GraphQL error:",m.error),u(!1);return}if(m.data?.uniformFormat){const{bkmvdata:y,ini:x}=m.data.uniformFormat;if(!y||!x){h("Incomplete data received from the server. Please try again."),u(!1);return}const k=new File([new Uint8Array(y2e.encode(y,"ISO-8859-8"))],"bkmvdata.txt",{type:"text/plain"}),S=new File([new Uint8Array(y2e.encode(x,"ISO-8859-8"))],"ini.txt",{type:"text/plain"});zY(S),setTimeout(()=>zY(k),100),t(!1),o(r),l(i),u(!1)}else m.stale&&!m.data?.uniformFormat&&(h("No data returned from the server. Please try again."),u(!1))}},[m,c,a,s,r,i,t]);const p=async y=>{if(y.preventDefault(),h(""),!a||!s){h("Please select both from and to dates");return}const x=new Date(a),k=new Date(s);if(x>=k){h("From date must be before to date");return}if(k>new Date){h("To date cannot be in the future");return}u(!0);try{A({requestPolicy:"network-only"})}catch(S){h("Failed to generate files. Please try again."),console.error("Error generating files:",S),u(!1)}},v=y=>{c||(t(y),y||(o(r),l(i),h("")))};return d.jsx(qa,{open:e,onOpenChange:v,children:d.jsxs(Ga,{className:"sm:max-w-md",children:[d.jsxs(vs,{children:[d.jsxs(ys,{className:"flex items-center gap-2",children:[d.jsx(aS,{className:"h-5 w-5"}),"Generate Uniform Files"]}),d.jsx(JHe,{children:"Select the date range to generate and download uniform files."})]}),d.jsxs("form",{onSubmit:p,className:"space-y-4",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(Mn,{htmlFor:"from-date",children:"From Date"}),d.jsx(kn,{id:"from-date",type:"date",value:a,onChange:y=>o(y.target.value),disabled:c,required:!0})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(Mn,{htmlFor:"to-date",children:"To Date"}),d.jsx(kn,{id:"to-date",type:"date",value:s,onChange:y=>l(y.target.value),disabled:c,required:!0})]})]}),f&&d.jsx("div",{className:"text-sm text-red-600 bg-red-50 p-3 rounded-md",children:f}),d.jsxs(Vy,{className:"gap-2",children:[d.jsx(qe,{type:"button",variant:"outline",onClick:()=>v(!1),disabled:c,children:"Cancel"}),d.jsx(qe,{type:"submit",disabled:c,className:"gap-2",children:c?d.jsxs(d.Fragment,{children:[d.jsx(ai,{className:"h-4 w-4 animate-spin"}),"Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Sne,{className:"h-4 w-4"}),"Generate & Download"]})})]})]})]})})}function bEn({...e}){return d.jsx(q3,{"data-slot":"sheet",...e})}function xEn({...e}){return d.jsx(Hie,{"data-slot":"sheet-trigger",...e})}function wEn({...e}){return d.jsx(G3,{"data-slot":"sheet-portal",...e})}function kEn({className:e,...t}){return d.jsx(W3,{"data-slot":"sheet-overlay",className:Ct("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1001 bg-black/50",e),...t})}function SEn({className:e,children:t,side:n="right",...r}){return d.jsxs(wEn,{children:[d.jsx(kEn,{}),d.jsxs(K3,{"data-slot":"sheet-content",className:Ct("bg-white data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-1001 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-gray-950",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,d.jsxs(ZHe,{className:"ring-offset-white focus:ring-gray-950 data-[state=open]:bg-gray-100 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none dark:ring-offset-gray-950 dark:focus:ring-gray-300 dark:data-[state=open]:bg-gray-800",children:[d.jsx(Hx,{className:"size-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}var W6="Collapsible",[CEn,Zet]=Sc(W6),[_En,Zse]=CEn(W6),Jet=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[l,c]=Id({prop:r,defaultProp:i??!1,onChange:o,caller:W6});return d.jsx(_En,{scope:n,disabled:a,contentId:Is(),open:l,onOpenToggle:w.useCallback(()=>c(u=>!u),[c]),children:d.jsx(wn.div,{"data-state":nle(l),"data-disabled":a?"":void 0,...s,ref:t})})});Jet.displayName=W6;var ett="CollapsibleTrigger",Jse=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Zse(ett,n);return d.jsx(wn.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":nle(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:sn(e.onClick,i.onOpenToggle)})});Jse.displayName=ett;var ele="CollapsibleContent",tle=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Zse(ele,e.__scopeCollapsible);return d.jsx(sl,{present:n||i.open,children:({present:a})=>d.jsx(NEn,{...r,ref:t,present:a})})});tle.displayName=ele;var NEn=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Zse(ele,n),[s,l]=w.useState(r),c=w.useRef(null),u=$r(t,c),f=w.useRef(0),h=f.current,m=w.useRef(0),A=m.current,p=o.open||s,v=w.useRef(p),y=w.useRef(void 0);return w.useEffect(()=>{const x=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(x)},[]),ps(()=>{const x=c.current;if(x){y.current=y.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const k=x.getBoundingClientRect();f.current=k.height,m.current=k.width,v.current||(x.style.transitionDuration=y.current.transitionDuration,x.style.animationName=y.current.animationName),l(r)}},[o.open,r]),d.jsx(wn.div,{"data-state":nle(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!p,...a,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0,...e.style},children:p&&i})});function nle(e){return e?"open":"closed"}var ttt=Jet,EEn=Jse,FEn=tle;function DEn({...e}){return d.jsx(ttt,{"data-slot":"collapsible",...e})}function TEn({...e}){return d.jsx(Jse,{"data-slot":"collapsible-trigger",...e})}function OEn({...e}){return d.jsx(tle,{"data-slot":"collapsible-content",...e})}var gJ=["Enter"," "],BEn=["ArrowDown","PageUp","Home"],ntt=["ArrowUp","PageDown","End"],jEn=[...BEn,...ntt],IEn={ltr:[...gJ,"ArrowRight"],rtl:[...gJ,"ArrowLeft"]},PEn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},wT="Menu",[aF,MEn,REn]=NL(wT),[u1,rtt]=Sc(wT,[REn,qy,t6]),K6=qy(),itt=t6(),[$En,d1]=u1(wT),[LEn,kT]=u1(wT),att=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=K6(t),[l,c]=w.useState(null),u=w.useRef(!1),f=xl(a),h=_C(i);return w.useEffect(()=>{const m=()=>{u.current=!0,document.addEventListener("pointerdown",A,{capture:!0,once:!0}),document.addEventListener("pointermove",A,{capture:!0,once:!0})},A=()=>u.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",A,{capture:!0}),document.removeEventListener("pointermove",A,{capture:!0})}},[]),d.jsx(nL,{...s,children:d.jsx($En,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:c,children:d.jsx(LEn,{scope:t,onClose:w.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:u,dir:h,modal:o,children:r})})})};att.displayName=wT;var UEn="MenuAnchor",rle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=K6(n);return d.jsx(TD,{...i,...r,ref:t})});rle.displayName=UEn;var ile="MenuPortal",[zEn,ott]=u1(ile,{forceMount:void 0}),stt=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=d1(ile,t);return d.jsx(zEn,{scope:t,forceMount:n,children:d.jsx(sl,{present:n||a.open,children:d.jsx(wC,{asChild:!0,container:i,children:r})})})};stt.displayName=ile;var Mf="MenuContent",[HEn,ale]=u1(Mf),ltt=w.forwardRef((e,t)=>{const n=ott(Mf,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=d1(Mf,e.__scopeMenu),o=kT(Mf,e.__scopeMenu);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(sl,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:o.modal?d.jsx(VEn,{...i,ref:t}):d.jsx(QEn,{...i,ref:t})})})})}),VEn=w.forwardRef((e,t)=>{const n=d1(Mf,e.__scopeMenu),r=w.useRef(null),i=$r(t,r);return w.useEffect(()=>{const a=r.current;if(a)return Z$(a)},[]),d.jsx(ole,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:sn(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),QEn=w.forwardRef((e,t)=>{const n=d1(Mf,e.__scopeMenu);return d.jsx(ole,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),qEn=xy("MenuContent.ScrollLock"),ole=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,disableOutsideScroll:A,...p}=e,v=d1(Mf,n),y=kT(Mf,n),x=K6(n),k=itt(n),S=MEn(n),[C,N]=w.useState(null),E=w.useRef(null),D=$r(t,E,v.onContentChange),T=w.useRef(0),P=w.useRef(""),O=w.useRef(0),B=w.useRef(null),M=w.useRef("right"),$=w.useRef(0),U=A?iC:w.Fragment,I=A?{as:qEn,allowPinchZoom:!0}:void 0,Q=X=>{const he=P.current+X,ne=S().filter(te=>!te.disabled),H=document.activeElement,W=ne.find(te=>te.ref.current===H)?.textValue,q=ne.map(te=>te.textValue),Z=iFn(q,he,W),re=ne.find(te=>te.textValue===Z)?.ref.current;(function te(ue){P.current=ue,window.clearTimeout(T.current),ue!==""&&(T.current=window.setTimeout(()=>te(""),1e3))})(he),re&&setTimeout(()=>re.focus())};w.useEffect(()=>()=>window.clearTimeout(T.current),[]),V3();const G=w.useCallback(X=>M.current===B.current?.side&&oFn(X,B.current?.area),[]);return d.jsx(HEn,{scope:n,searchRef:P,onItemEnter:w.useCallback(X=>{G(X)&&X.preventDefault()},[G]),onItemLeave:w.useCallback(X=>{G(X)||(E.current?.focus(),N(null))},[G]),onTriggerLeave:w.useCallback(X=>{G(X)&&X.preventDefault()},[G]),pointerGraceTimerRef:O,onPointerGraceIntentChange:w.useCallback(X=>{B.current=X},[]),children:d.jsx(U,{...I,children:d.jsx(ND,{asChild:!0,trapped:i,onMountAutoFocus:sn(a,X=>{X.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:d.jsx(xC,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:h,onDismiss:m,children:d.jsx(FYe,{asChild:!0,...k,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:N,onEntryFocus:sn(l,X=>{y.isUsingKeyboardRef.current||X.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(rL,{role:"menu","aria-orientation":"vertical","data-state":Stt(v.open),"data-radix-menu-content":"",dir:y.dir,...x,...p,ref:D,style:{outline:"none",...p.style},onKeyDown:sn(p.onKeyDown,X=>{const ne=X.target.closest("[data-radix-menu-content]")===X.currentTarget,H=X.ctrlKey||X.altKey||X.metaKey,W=X.key.length===1;ne&&(X.key==="Tab"&&X.preventDefault(),!H&&W&&Q(X.key));const q=E.current;if(X.target!==q||!jEn.includes(X.key))return;X.preventDefault();const re=S().filter(te=>!te.disabled).map(te=>te.ref.current);ntt.includes(X.key)&&re.reverse(),nFn(re)}),onBlur:sn(e.onBlur,X=>{X.currentTarget.contains(X.target)||(window.clearTimeout(T.current),P.current="")}),onPointerMove:sn(e.onPointerMove,oF(X=>{const he=X.target,ne=$.current!==X.clientX;if(X.currentTarget.contains(he)&&ne){const H=X.clientX>$.current?"right":"left";M.current=H,$.current=X.clientX}}))})})})})})})});ltt.displayName=Mf;var GEn="MenuGroup",sle=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{role:"group",...r,ref:t})});sle.displayName=GEn;var WEn="MenuLabel",ctt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{...r,ref:t})});ctt.displayName=WEn;var RR="MenuItem",b2e="menu.itemSelect",Y6=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=w.useRef(null),o=kT(RR,e.__scopeMenu),s=ale(RR,e.__scopeMenu),l=$r(t,a),c=w.useRef(!1),u=()=>{const f=a.current;if(!n&&f){const h=new CustomEvent(b2e,{bubbles:!0,cancelable:!0});f.addEventListener(b2e,m=>r?.(m),{once:!0}),GLe(f,h),h.defaultPrevented?c.current=!1:o.onClose()}};return d.jsx(utt,{...i,ref:l,disabled:n,onClick:sn(e.onClick,u),onPointerDown:f=>{e.onPointerDown?.(f),c.current=!0},onPointerUp:sn(e.onPointerUp,f=>{c.current||f.currentTarget?.click()}),onKeyDown:sn(e.onKeyDown,f=>{const h=s.searchRef.current!=="";n||h&&f.key===" "||gJ.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});Y6.displayName=RR;var utt=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=ale(RR,n),s=itt(n),l=w.useRef(null),c=$r(t,l),[u,f]=w.useState(!1),[h,m]=w.useState("");return w.useEffect(()=>{const A=l.current;A&&m((A.textContent??"").trim())},[a.children]),d.jsx(aF.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:d.jsx(DYe,{asChild:!0,...s,focusable:!r,children:d.jsx(wn.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:c,onPointerMove:sn(e.onPointerMove,oF(A=>{r?o.onItemLeave(A):(o.onItemEnter(A),A.defaultPrevented||A.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:sn(e.onPointerLeave,oF(A=>o.onItemLeave(A))),onFocus:sn(e.onFocus,()=>f(!0)),onBlur:sn(e.onBlur,()=>f(!1))})})})}),KEn="MenuCheckboxItem",dtt=w.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return d.jsx(Att,{scope:e.__scopeMenu,checked:n,children:d.jsx(Y6,{role:"menuitemcheckbox","aria-checked":$R(n)?"mixed":n,...i,ref:t,"data-state":cle(n),onSelect:sn(i.onSelect,()=>r?.($R(n)?!0:!n),{checkForDefaultPrevented:!1})})})});dtt.displayName=KEn;var ftt="MenuRadioGroup",[YEn,XEn]=u1(ftt,{value:void 0,onValueChange:()=>{}}),htt=w.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=xl(r);return d.jsx(YEn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:d.jsx(sle,{...i,ref:t})})});htt.displayName=ftt;var mtt="MenuRadioItem",ptt=w.forwardRef((e,t)=>{const{value:n,...r}=e,i=XEn(mtt,e.__scopeMenu),a=n===i.value;return d.jsx(Att,{scope:e.__scopeMenu,checked:a,children:d.jsx(Y6,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":cle(a),onSelect:sn(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ptt.displayName=mtt;var lle="MenuItemIndicator",[Att,ZEn]=u1(lle,{checked:!1}),gtt=w.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=ZEn(lle,n);return d.jsx(sl,{present:r||$R(a.checked)||a.checked===!0,children:d.jsx(wn.span,{...i,ref:t,"data-state":cle(a.checked)})})});gtt.displayName=lle;var JEn="MenuSeparator",vtt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return d.jsx(wn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});vtt.displayName=JEn;var eFn="MenuArrow",ytt=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=K6(n);return d.jsx(iL,{...i,...r,ref:t})});ytt.displayName=eFn;var tFn="MenuSub",[IKn,btt]=u1(tFn),a2="MenuSubTrigger",xtt=w.forwardRef((e,t)=>{const n=d1(a2,e.__scopeMenu),r=kT(a2,e.__scopeMenu),i=btt(a2,e.__scopeMenu),a=ale(a2,e.__scopeMenu),o=w.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},u=w.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return w.useEffect(()=>u,[u]),w.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),d.jsx(rle,{asChild:!0,...c,children:d.jsx(utt,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":Stt(n.open),...e,ref:pg(t,i.onTriggerChange),onClick:f=>{e.onClick?.(f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:sn(e.onPointerMove,oF(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:sn(e.onPointerLeave,oF(f=>{u();const h=n.content?.getBoundingClientRect();if(h){const m=n.content?.dataset.side,A=m==="right",p=A?-5:5,v=h[A?"left":"right"],y=h[A?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+p,y:f.clientY},{x:v,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:v,y:h.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:sn(e.onKeyDown,f=>{const h=a.searchRef.current!=="";e.disabled||h&&f.key===" "||IEn[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});xtt.displayName=a2;var wtt="MenuSubContent",ktt=w.forwardRef((e,t)=>{const n=ott(Mf,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=d1(Mf,e.__scopeMenu),o=kT(Mf,e.__scopeMenu),s=btt(wtt,e.__scopeMenu),l=w.useRef(null),c=$r(t,l);return d.jsx(aF.Provider,{scope:e.__scopeMenu,children:d.jsx(sl,{present:r||a.open,children:d.jsx(aF.Slot,{scope:e.__scopeMenu,children:d.jsx(ole,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:c,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{o.isUsingKeyboardRef.current&&l.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:sn(e.onFocusOutside,u=>{u.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:sn(e.onEscapeKeyDown,u=>{o.onClose(),u.preventDefault()}),onKeyDown:sn(e.onKeyDown,u=>{const f=u.currentTarget.contains(u.target),h=PEn[o.dir].includes(u.key);f&&h&&(a.onOpenChange(!1),s.trigger?.focus(),u.preventDefault())})})})})})});ktt.displayName=wtt;function Stt(e){return e?"open":"closed"}function $R(e){return e==="indeterminate"}function cle(e){return $R(e)?"indeterminate":e?"checked":"unchecked"}function nFn(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function rFn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function iFn(e,t,n){const i=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=rFn(e,Math.max(a,0));i.length===1&&(o=o.filter(c=>c!==n));const l=o.find(c=>c.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function aFn(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const s=t[a],l=t[o],c=s.x,u=s.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(i=!i)}return i}function oFn(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return aFn(n,t)}function oF(e){return t=>t.pointerType==="mouse"?e(t):void 0}var sFn=att,lFn=rle,cFn=stt,uFn=ltt,dFn=sle,fFn=ctt,hFn=Y6,mFn=dtt,pFn=htt,AFn=ptt,gFn=gtt,vFn=vtt,yFn=ytt,bFn=xtt,xFn=ktt,X6="DropdownMenu",[wFn]=Sc(X6,[rtt]),tu=rtt(),[kFn,Ctt]=wFn(X6),_tt=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=tu(t),c=w.useRef(null),[u,f]=Id({prop:i,defaultProp:a??!1,onChange:o,caller:X6});return d.jsx(kFn,{scope:t,triggerId:Is(),triggerRef:c,contentId:Is(),open:u,onOpenChange:f,onOpenToggle:w.useCallback(()=>f(h=>!h),[f]),modal:s,children:d.jsx(sFn,{...l,open:u,onOpenChange:f,dir:r,modal:s,children:n})})};_tt.displayName=X6;var Ntt="DropdownMenuTrigger",Ett=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Ctt(Ntt,n),o=tu(n);return d.jsx(lFn,{asChild:!0,...o,children:d.jsx(wn.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:pg(t,a.triggerRef),onPointerDown:sn(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:sn(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});Ett.displayName=Ntt;var SFn="DropdownMenuPortal",Ftt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=tu(t);return d.jsx(cFn,{...r,...n})};Ftt.displayName=SFn;var Dtt="DropdownMenuContent",Ttt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ctt(Dtt,n),a=tu(n),o=w.useRef(!1);return d.jsx(uFn,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:sn(e.onCloseAutoFocus,s=>{o.current||i.triggerRef.current?.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:sn(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;(!i.modal||u)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Ttt.displayName=Dtt;var CFn="DropdownMenuGroup",Ott=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(dFn,{...i,...r,ref:t})});Ott.displayName=CFn;var _Fn="DropdownMenuLabel",Btt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(fFn,{...i,...r,ref:t})});Btt.displayName=_Fn;var NFn="DropdownMenuItem",jtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(hFn,{...i,...r,ref:t})});jtt.displayName=NFn;var EFn="DropdownMenuCheckboxItem",Itt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(mFn,{...i,...r,ref:t})});Itt.displayName=EFn;var FFn="DropdownMenuRadioGroup",DFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(pFn,{...i,...r,ref:t})});DFn.displayName=FFn;var TFn="DropdownMenuRadioItem",OFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(AFn,{...i,...r,ref:t})});OFn.displayName=TFn;var BFn="DropdownMenuItemIndicator",Ptt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(gFn,{...i,...r,ref:t})});Ptt.displayName=BFn;var jFn="DropdownMenuSeparator",Mtt=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(vFn,{...i,...r,ref:t})});Mtt.displayName=jFn;var IFn="DropdownMenuArrow",PFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(yFn,{...i,...r,ref:t})});PFn.displayName=IFn;var MFn="DropdownMenuSubTrigger",RFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(bFn,{...i,...r,ref:t})});RFn.displayName=MFn;var $Fn="DropdownMenuSubContent",LFn=w.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=tu(n);return d.jsx(xFn,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});LFn.displayName=$Fn;var UFn=_tt,zFn=Ett,HFn=Ftt,VFn=Ttt,QFn=Ott,qFn=Btt,GFn=jtt,WFn=Itt,KFn=Ptt,YFn=Mtt;function ST({...e}){return d.jsx(UFn,{"data-slot":"dropdown-menu",...e})}function CT({...e}){return d.jsx(zFn,{"data-slot":"dropdown-menu-trigger",...e})}function _T({className:e,sideOffset:t=4,...n}){return d.jsx(HFn,{children:d.jsx(VFn,{"data-slot":"dropdown-menu-content",sideOffset:t,className:Ct("bg-white text-gray-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-1001 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-gray-200 p-1 shadow-md dark:bg-gray-950 dark:text-gray-50 dark:border-gray-800",e),...n})})}function XFn({...e}){return d.jsx(QFn,{"data-slot":"dropdown-menu-group",...e})}function og({className:e,inset:t,variant:n="default",...r}){return d.jsx(GFn,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:Ct("focus:bg-gray-100 focus:text-gray-900 data-[variant=destructive]:text-red-500 data-[variant=destructive]:focus:bg-red-500/10 dark:data-[variant=destructive]:focus:bg-red-500/20 data-[variant=destructive]:focus:text-red-500 data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-gray-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50 dark:data-[variant=destructive]:text-red-900 dark:data-[variant=destructive]:focus:bg-red-900/10 dark:dark:data-[variant=destructive]:focus:bg-red-900/20 dark:data-[variant=destructive]:focus:text-red-900 dark:[&_svg:not([class*='text-'])]:text-gray-400",e),...r})}function ZFn({className:e,children:t,checked:n,...r}){return d.jsxs(WFn,{"data-slot":"dropdown-menu-checkbox-item",className:Ct("focus:bg-gray-100 focus:text-gray-900 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:focus:bg-gray-800 dark:focus:text-gray-50",e),checked:n,...r,children:[d.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:d.jsx(KFn,{children:d.jsx(Rs,{className:"size-4"})})}),t]})}function ule({className:e,inset:t,...n}){return d.jsx(qFn,{"data-slot":"dropdown-menu-label","data-inset":t,className:Ct("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...n})}function dle({className:e,...t}){return d.jsx(YFn,{"data-slot":"dropdown-menu-separator",className:Ct("bg-gray-200 -mx-1 my-1 h-px dark:bg-gray-800",e),...t})}function x2e({className:e,...t}){return d.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:Ct("text-gray-500 ml-auto text-xs tracking-widest dark:text-gray-400",e),...t})}function Rtt({links:e,isCollapsed:t,closeNav:n}){const r=({sub:i,...a})=>{const o=`${a.title}-${a.href}`;return t&&i?w.createElement(tDn,{...a,sub:i,key:o,closeNav:n}):t?w.createElement(eDn,{...a,key:o,closeNav:n}):i?w.createElement(JFn,{...a,sub:i,key:o,closeNav:n}):w.createElement($tt,{...a,key:o,closeNav:n})};return d.jsx(gYe,{className:"h-screen pb-40",children:d.jsx(sL,{delayDuration:0,children:d.jsx("nav",{className:"grid grid-cols-1 items-start gap-2",children:e.map(r)})})})}function $tt({title:e,icon:t,label:n,href:r,action:i,closeNav:a,subLink:o=!1}){return i?d.jsxs("button",{onClick:()=>{i(),a()},className:Ct(Ag({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6 w-full",o&&"h-10 w-full border-l border-l-slate-500 px-2"),children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]}):d.jsxs(tC,{to:r,onClick:a,className:Ct(Ag({variant:"ghost",size:"sm"}),"h-12 font-semibold tracking-tight justify-start text-wrap rounded-none px-6",o&&"h-10 w-full border-l border-l-slate-500 px-2"),"aria-current":"page",children:[d.jsx("div",{className:"mr-2",children:t}),e,n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n})]})}function JFn({title:e,icon:t,label:n,sub:r,closeNav:i}){const a=!!r?.find(o=>o.href===window.location.pathname);return d.jsxs(DEn,{defaultOpen:a,children:[d.jsxs(TEn,{className:Ct(Ag({variant:"ghost",size:"sm"}),"group h-12 w-full justify-start rounded-none px-6"),children:[d.jsx("div",{className:"mr-2",children:t}),d.jsx("div",{className:"font-semibold tracking-tight",children:e}),n&&d.jsx("div",{className:"ml-2 rounded-lg bg-primary px-1 text-[0.625rem] text-primary-foreground",children:n}),d.jsx("span",{className:Ct('ml-auto transition-all group-data-[state="open"]:-rotate-180'),children:d.jsx(Jr,{})})]}),d.jsx(OEn,{className:"collapsibleDropdown",asChild:!0,children:d.jsx("ul",{children:r.map(o=>d.jsx("li",{className:"my-1 ml-8",children:d.jsx($tt,{...o,subLink:!0,closeNav:i})},o.title))})})]})}function eDn({title:e,icon:t,label:n,href:r,action:i}){return d.jsxs(Bg,{delayDuration:0,children:[d.jsx(jg,{asChild:!0,children:i?d.jsxs(qe,{variant:"ghost",size:"icon",className:"h-12 w-12",onClick:i,children:[t,d.jsx("span",{className:"sr-only",children:e})]}):d.jsxs(tC,{to:r,className:Ct(Ag({variant:"ghost",size:"icon"}),"h-12 w-12"),children:[t,d.jsx("span",{className:"sr-only",children:e})]})}),d.jsxs(Ig,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e,n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n})]})]})}function tDn({title:e,icon:t,label:n,sub:r}){const i=!!r?.find(a=>a.href===window.location.pathname);return d.jsxs(ST,{children:[d.jsxs(Bg,{delayDuration:0,children:[d.jsx(jg,{asChild:!0,children:d.jsx(CT,{asChild:!0,children:d.jsx(qe,{variant:i?"secondary":"ghost",size:"icon",className:"h-12 w-12",children:t})})}),d.jsxs(Ig,{side:"right",className:"flex font-semibold tracking-tight items-center gap-4",children:[e," ",n&&d.jsx("span",{className:"ml-auto text-muted-foreground",children:n}),d.jsx(Jr,{size:18,className:"-rotate-90 text-muted-foreground"})]})]}),d.jsxs(_T,{side:"right",align:"start",sideOffset:4,children:[d.jsxs(ule,{children:[e," ",n?`(${n})`:""]}),d.jsx(dle,{}),r.map(({title:a,icon:o,label:s,href:l,action:c})=>d.jsx(og,{asChild:!c,children:c?d.jsxs("button",{onClick:c,className:Ct(Ag({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6 w-full"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]}):d.jsxs(tC,{to:l,className:Ct(Ag({variant:"ghost",size:"sm"}),"flex h-12 cursor-pointer justify-start text-wrap rounded-none px-6"),children:[o," ",d.jsx("span",{className:"ml-2 max-w-52 text-wrap font-semibold tracking-tight",children:a}),s&&d.jsx("span",{className:"ml-auto text-xs",children:s})]})},`${a}-${l||a}`))]})]})}const LR=[{title:"Charges",label:"",href:"",icon:d.jsx(_k,{size:18}),sub:[{title:"All Charges",label:"",href:"/charges",icon:d.jsx(_k,{size:18})},{title:"Missing Info Charges",label:"",href:"/missing-info-charges",icon:d.jsx(Ejt,{size:18})},{title:"Ledger Validation",label:"",href:"/charges-ledger-validation",icon:d.jsx(N5t,{size:18})}]},{title:"Reports",label:"",href:"",icon:d.jsx(Cjt,{size:18}),sub:[{title:"VAT Monthly Report",label:"",href:"/reports/vat-monthly",icon:d.jsx(_k,{size:18})},{title:"Trial Balance Report",label:"",href:"/reports/trial-balance",icon:d.jsx(SLe,{size:18})},{title:"Conto Report",label:"",href:"/reports/conto",icon:d.jsx(kjt,{size:18})},{title:"Profit and Loss Report",label:"",href:"/reports/profit-and-loss",icon:d.jsx(RY,{size:18})},{title:"Tax Report",label:"",href:"/reports/tax",icon:d.jsx(mve,{size:18})},{title:"Corporate Tax Ruling Compliance Report",label:"",href:"/reports/corporate-tax-ruling-compliance",icon:d.jsx(mve,{size:18})},{title:"Depreciation Report",label:"",href:"/reports/depreciation",icon:d.jsx(L5t,{size:18})},{title:"Shaam 6111 Report",label:"",href:"/reports/shaam6111",icon:d.jsx(RY,{size:18})},{title:"Accountant Approvals",label:"",href:"/accountant-approvals",icon:d.jsx(j5t,{size:18})},{title:"Yearly Ledger Report",label:"",href:"/reports/yearly-ledger",icon:d.jsx(Ojt,{size:18})},{title:"Transactions Balance",label:"",href:"/reports/balance",icon:d.jsx(z5t,{size:18})},{title:"Validate Reports",label:"",href:"/reports/validate-reports",icon:d.jsx(V5t,{size:18})},{title:"Generate Uniform Files",label:"",icon:d.jsx(Sne,{size:18})}]},{title:"Financial Entities",label:"",href:"",icon:d.jsx(xLe,{size:18}),sub:[{title:"Businesses",label:"",href:"/businesses",icon:d.jsx(SBt,{size:18})},{title:"Business Transactions",label:"",href:"/business-transactions",icon:d.jsx(y5t,{size:18})},{title:"Tax Categories",label:"",href:"/tax-categories",icon:d.jsx(p5t,{size:18})},{title:"Sort Codes",label:"",href:"/sort-codes",icon:d.jsx(F5t,{size:18})}]},{title:"Documents",label:"",href:"",icon:d.jsx(hve,{size:18}),sub:[{href:"/documents",title:"All Documents",label:"",icon:d.jsx(hve,{size:18})},{title:"Issue Documents",label:"",href:"/documents/issue-documents",icon:d.jsx(cve,{size:18})},{title:"Issue Document",label:"",href:"/documents/issue-document",icon:d.jsx(cve,{size:18})}]},{href:"/business-trips",title:"Business Trips",label:"",icon:d.jsx(Ajt,{size:18})},{title:"Charts",label:"",href:"",icon:d.jsx(Iz,{size:18}),sub:[{title:"Main",label:"",href:"/charts/",icon:d.jsx(Iz,{size:18})},{title:"Monthly Income/Expense",label:"",href:"/charts/monthly-income-expense",icon:d.jsx(Iz,{size:18})}]},{href:"/salaries",title:"Salaries",label:"",icon:d.jsx(S5t,{size:18})},{href:"/tags",title:"Tags",label:"",icon:d.jsx(Vjt,{size:18})}];function nDn(){const[e,t]=w.useState(!1),[n,r]=w.useState(!1),i=LR.map(a=>a.sub?{...a,sub:a.sub.map(o=>o.title==="Generate Uniform Files"?{...o,action:()=>{t(!1),r(!0)}}:o)}:a);return d.jsxs(d.Fragment,{children:[d.jsxs(bEn,{open:e,onOpenChange:t,children:[d.jsx(xEn,{asChild:!0,children:d.jsx(sjt,{})}),d.jsx(SEn,{side:"left",className:"px-0!",children:d.jsx("div",{className:"space-y-4 py-4",children:d.jsxs("div",{className:"px-3 py-2",children:[d.jsx("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:"Overview"}),d.jsx("div",{className:"space-y-1",children:d.jsx(Rtt,{isCollapsed:!1,links:i,closeNav:()=>t(!1)})})]})})})]}),d.jsx(Xet,{open:n,onOpenChange:r})]})}const HQ="mergeChargesByTransactionReference",rDn=()=>{const[{fetching:e},t]=zn(cDt),[{fetching:n},r]=zn(uDt),[{fetching:i},a]=zn(dDt),o=w.useCallback(async()=>{let s="Error flagging foreign fee transactions";const l=`${HQ}-fees`,c=`${HQ}-merge`,u=`${HQ}-debit-date`;Ve.loading("Flagging Fees",{id:l});try{const f=await t({}),h=Hn(f,s,l);if(!h)return;if(!h.flagForeignFeeTransactions.success){console.error(`${s} ${h.flagForeignFeeTransactions.errors?`:
|
|
988
988
|
`+h.flagForeignFeeTransactions.errors?.join(`
|
|
989
989
|
`):""}`),Ve.error("Error",{id:l,description:s});return}Ve.success("Success",{id:l,description:"Foreign fee transactions were successfully tagged"}),s="Error auto-merging charges",Ve.loading("Merging Charges",{id:c});const m=await r({}),A=Hn(m,s,c);if(!A)return;if(!A.mergeChargesByTransactionReference.success){console.error(`${s} ${A.mergeChargesByTransactionReference.errors?`:
|
|
990
990
|
`+A.mergeChargesByTransactionReference.errors?.join(`
|