@accounter/client 0.0.7-alpha-20250826120443-f55ddb93c46d5085827fd78981e3e039eb0367b7 → 0.0.7-alpha-20250826122317-9d936fa0e781c0d1d3db9d1139dd1ba7b5993412

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 afe;function but(){if(afe)return Pi;afe=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(S){if(typeof S=="object"&&S!==null){var N=S.$$typeof;switch(N){case t:switch(S=S.type,S){case l:case c:case r:case a:case i:case f:return S;default:switch(S=S&&S.$$typeof,S){case s:case u:case A:case m:case o:return S;default:return N}}case n:return N}}}function C(S){return k(S)===c}return Pi.AsyncMode=l,Pi.ConcurrentMode=c,Pi.ContextConsumer=s,Pi.ContextProvider=o,Pi.Element=t,Pi.ForwardRef=u,Pi.Fragment=r,Pi.Lazy=A,Pi.Memo=m,Pi.Portal=n,Pi.Profiler=a,Pi.StrictMode=i,Pi.Suspense=f,Pi.isAsyncMode=function(S){return C(S)||k(S)===l},Pi.isConcurrentMode=C,Pi.isContextConsumer=function(S){return k(S)===s},Pi.isContextProvider=function(S){return k(S)===o},Pi.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},Pi.isForwardRef=function(S){return k(S)===u},Pi.isFragment=function(S){return k(S)===r},Pi.isLazy=function(S){return k(S)===A},Pi.isMemo=function(S){return k(S)===m},Pi.isPortal=function(S){return k(S)===n},Pi.isProfiler=function(S){return k(S)===a},Pi.isStrictMode=function(S){return k(S)===i},Pi.isSuspense=function(S){return k(S)===f},Pi.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===c||S===a||S===i||S===f||S===h||typeof S=="object"&&S!==null&&(S.$$typeof===A||S.$$typeof===m||S.$$typeof===o||S.$$typeof===s||S.$$typeof===u||S.$$typeof===v||S.$$typeof===y||S.$$typeof===x||S.$$typeof===p)},Pi.typeOf=k,Pi}var ofe;function xut(){return ofe||(ofe=1,qU.exports=but()),qU.exports}var GU,sfe;function wut(){if(sfe)return GU;sfe=1;var e=xut(),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),C=o(p),S=0;S<x.length;++S){var N=x[S];if(!n[N]&&!(v&&v[N])&&!(C&&C[N])&&!(k&&k[N])){var E=u(p,N);try{s(A,N,E)}catch{}}}}return A}return GU=m,GU}wut();var kut=!0;function Kee(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var Yee=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||kut===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},j$=function(t,n,r){Yee(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 Sut(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 Cut={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},_ut=/[A-Z]|^ms/g,Nut=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zje=function(t){return t.charCodeAt(1)===45},lfe=function(t){return t!=null&&typeof t!="boolean"},WU=$je(function(e){return zje(e)?e:e.replace(_ut,"-$&").toLowerCase()}),cfe=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Nut,function(r,i,a){return qm={name:i,styles:a,next:qm},i})}return Cut[t]!==1&&!zje(t)&&typeof n=="number"&&n!==0?n+"px":n};function Y2(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 qm={name:i.name,styles:i.styles,next:qm},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)qm={name:o.name,styles:o.styles,next:qm},o=o.next;var s=a.styles+";";return s}return Eut(e,t,n)}case"function":{if(e!==void 0){var l=qm,c=n(e);return qm=l,Y2(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function Eut(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Y2(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]+"}":lfe(s)&&(r+=WU(a)+":"+cfe(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++)lfe(o[l])&&(r+=WU(a)+":"+cfe(a,o[l])+";");else{var c=Y2(e,t,o);switch(a){case"animation":case"animationName":{r+=WU(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}return r}var ufe=/label:\s*([^\s;{]+)\s*(;|$)/g,qm;function XS(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="";qm=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Y2(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=Y2(n,t,e[s]),r){var l=a;i+=l[s]}ufe.lastIndex=0;for(var c="",u;(u=ufe.exec(i))!==null;)c+="-"+u[1];var f=Sut(i)+c;return{name:f,styles:i,next:qm}}var Fut=function(t){return t()},Hje=ix.useInsertionEffect?ix.useInsertionEffect:!1,Vje=Hje||Fut,dfe=Hje||w.useLayoutEffect,Qje=w.createContext(typeof HTMLElement<"u"?Uje({key:"css"}):null);Qje.Provider;var Xee=function(t){return w.forwardRef(function(n,r){var i=w.useContext(Qje);return t(n,i,r)})},ax=w.createContext({}),Dut=function(t,n){if(typeof n=="function"){var r=n(t);return r}return at({},t,n)},Tut=rfe(function(e){return rfe(function(t){return Dut(e,t)})}),Out=function(t){var n=w.useContext(ax);return t.theme!==n&&(n=Tut(n)(t.theme)),w.createElement(ax.Provider,{value:n},t.children)},Zee={}.hasOwnProperty,RK="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jut=function(t,n){var r={};for(var i in n)Zee.call(n,i)&&(r[i]=n[i]);return r[RK]=t,r},But=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Yee(n,r,i),Vje(function(){return j$(n,r,i)}),null},Iut=Xee(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[RK],a=[r],o="";typeof e.className=="string"?o=Kee(t.registered,a,e.className):e.className!=null&&(o=e.className+" ");var s=XS(a,void 0,w.useContext(ax));o+=t.key+"-"+s.name;var l={};for(var c in e)Zee.call(e,c)&&c!=="css"&&c!==RK&&(l[c]=e[c]);return l.className=o,n&&(l.ref=n),w.createElement(w.Fragment,null,w.createElement(But,{cache:t,serialized:s,isStringTag:typeof i=="string"}),w.createElement(i,l))}),Put=Iut,ffe=function(t,n){var r=arguments;if(n==null||!Zee.call(n,"css"))return w.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=Put,a[1]=jut(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={}))})(ffe||(ffe={}));var $F=Xee(function(e,t){var n=e.styles,r=XS([n],void 0,w.useContext(ax)),i=w.useRef();return dfe(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]),dfe(function(){var a=i.current,o=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&j$(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 Jee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return XS(t)}function Mx(){var e=Jee.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 Mut=Object.defineProperty,Rut=Object.defineProperties,$ut=Object.getOwnPropertyDescriptors,hfe=Object.getOwnPropertySymbols,Lut=Object.prototype.hasOwnProperty,Uut=Object.prototype.propertyIsEnumerable,mfe=(e,t,n)=>t in e?Mut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zut=(e,t)=>{for(var n in t||(t={}))Lut.call(t,n)&&mfe(e,n,t[n]);if(hfe)for(var n of hfe(t))Uut.call(t,n)&&mfe(e,n,t[n]);return e},Hut=(e,t)=>Rut(e,$ut(t));function Vut({theme:e}){return U.createElement($F,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:e.colorScheme==="dark"?"dark":"light"},body:Hut(zut({},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 __(e,t,n,r=Ue){Object.keys(t).forEach(i=>{e[`--mantine-${n}-${i}`]=r(t[i])})}function Qut({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,e.shadows,"shadow"),__(t,e.fontSizes,"font-size"),__(t,e.radius,"radius"),__(t,e.spacing,"spacing"),__(t,e.breakpoints,"breakpoints",KS),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}`}),U.createElement($F,{styles:{":root":t}})}var qut=Object.defineProperty,Gut=Object.defineProperties,Wut=Object.getOwnPropertyDescriptors,pfe=Object.getOwnPropertySymbols,Kut=Object.prototype.hasOwnProperty,Yut=Object.prototype.propertyIsEnumerable,Afe=(e,t,n)=>t in e?qut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sm=(e,t)=>{for(var n in t||(t={}))Kut.call(t,n)&&Afe(e,n,t[n]);if(pfe)for(var n of pfe(t))Yut.call(t,n)&&Afe(e,n,t[n]);return e},KU=(e,t)=>Gut(e,Wut(t));function Xut(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]=Sm(Sm({},e.headings.sizes[l]),t.headings.sizes[l]),s),{}):e.headings.sizes;return KU(Sm({},i),{headings:KU(Sm(Sm({},e.headings),t.headings),{sizes:o})})}if(a==="breakpoints"&&t.breakpoints){const o=Sm(Sm({},e.breakpoints),t.breakpoints);return KU(Sm({},i),{breakpoints:Object.fromEntries(Object.entries(o).sort((s,l)=>wh(s[1])-wh(l[1])))})}return i[a]=typeof t[a]=="object"?Sm(Sm({},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 Zut(e,t){return Tje(Xut(e,t))}function qje(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[n]=e[n]),t),{})}const Jut={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:`${Ue(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 edt(){return U.createElement($F,{styles:Jut})}var tdt=Object.defineProperty,gfe=Object.getOwnPropertySymbols,ndt=Object.prototype.hasOwnProperty,rdt=Object.prototype.propertyIsEnumerable,vfe=(e,t,n)=>t in e?tdt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c2=(e,t)=>{for(var n in t||(t={}))ndt.call(t,n)&&vfe(e,n,t[n]);if(gfe)for(var n of gfe(t))rdt.call(t,n)&&vfe(e,n,t[n]);return e};const TI=w.createContext({theme:Qee});function pu(){var e;return((e=w.useContext(TI))==null?void 0:e.theme)||Qee}function idt(e){const t=pu(),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 Gje(){var e;return(e=w.useContext(TI))==null?void 0:e.emotionCache}function Vt(e,t,n){var r;const i=pu(),a=(r=i.components[e])==null?void 0:r.defaultProps,o=typeof a=="function"?a(i):a;return c2(c2(c2({},t),o),qje(n))}function Wje({theme:e,emotionCache:t,withNormalizeCSS:n=!1,withGlobalStyles:r=!1,withCSSVariables:i=!1,inherit:a=!1,children:o}){const s=w.useContext(TI),l=Zut(Qee,a?c2(c2({},s.theme),e):e);return U.createElement(Out,{theme:l},U.createElement(TI.Provider,{value:{theme:l,emotionCache:t}},n&&U.createElement(edt,null),r&&U.createElement(Vut,{theme:l}),i&&U.createElement(Qut,{theme:l}),typeof l.globalStyles=="function"&&U.createElement($F,{styles:l.globalStyles(l)}),o))}Wje.displayName="@mantine/core/MantineProvider";const adt={app:100,modal:200,popover:300,overlay:400,max:9999};function Ep(e){return adt[e]}function odt(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 sdt=Uje({key:"mantine",prepend:!0});function ldt(){return Gje()||sdt}var cdt=Object.defineProperty,yfe=Object.getOwnPropertySymbols,udt=Object.prototype.hasOwnProperty,ddt=Object.prototype.propertyIsEnumerable,bfe=(e,t,n)=>t in e?cdt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fdt=(e,t)=>{for(var n in t||(t={}))udt.call(t,n)&&bfe(e,n,t[n]);if(yfe)for(var n of yfe(t))ddt.call(t,n)&&bfe(e,n,t[n]);return e};const YU="ref";function hdt(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(!(YU in n))return{args:e,ref:t};t=n[YU];const r=fdt({},n);return delete r[YU],{args:[r],ref:t}}const{cssFactory:mdt}=(()=>{function e(n,r,i){const a=[],o=Kee(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}=hdt(o),c=XS(l,r.registered);return j$(r,c,!1),`${r.key}-${c.name}${s===void 0?"":` ${s}`}`};return{css:i,cx:(...o)=>e(r.registered,i,Nje(o))}}return{cssFactory:t}})();function Kje(){const e=ldt();return odt(()=>mdt({cache:e}),[e])}function pdt({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 Adt=Object.defineProperty,xfe=Object.getOwnPropertySymbols,gdt=Object.prototype.hasOwnProperty,vdt=Object.prototype.propertyIsEnumerable,wfe=(e,t,n)=>t in e?Adt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XU=(e,t)=>{for(var n in t||(t={}))gdt.call(t,n)&&wfe(e,n,t[n]);if(xfe)for(var n of xfe(t))vdt.call(t,n)&&wfe(e,n,t[n]);return e};function $K(e,t){return t&&Object.keys(t).forEach(n=>{e[n]?e[n]=XU(XU({},e[n]),t[n]):e[n]=XU({},t[n])}),e}function kfe(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)=>$K(a,o),{}):i(e)}function ydt({ctx:e,theme:t,params:n,variant:r,size:i}){return e.reduce((a,o)=>(o.variants&&r in o.variants&&$K(a,o.variants[r](t,n,{variant:r,size:i})),o.sizes&&i in o.sizes&&$K(a,o.sizes[i](t,n,{variant:r,size:i})),a),{})}function un(e){const t=typeof e=="function"?e:()=>e;function n(r,i){const a=pu(),o=idt(i?.name),s=Gje(),l={variant:i?.variant,size:i?.size},{css:c,cx:u}=Kje(),f=t(a,r,l),h=kfe(i?.styles,a,r,l),m=kfe(o,a,r,l),A=ydt({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:pdt({cx:u,classes:p,context:o,classNames:i?.classNames,name:i?.name,cache:s}),cx:u,theme:a}}return n}function Lb(e){return`___ref-${e||""}`}var bdt=Object.defineProperty,xdt=Object.defineProperties,wdt=Object.getOwnPropertyDescriptors,Sfe=Object.getOwnPropertySymbols,kdt=Object.prototype.hasOwnProperty,Sdt=Object.prototype.propertyIsEnumerable,Cfe=(e,t,n)=>t in e?bdt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N_=(e,t)=>{for(var n in t||(t={}))kdt.call(t,n)&&Cfe(e,n,t[n]);if(Sfe)for(var n of Sfe(t))Sdt.call(t,n)&&Cfe(e,n,t[n]);return e},E_=(e,t)=>xdt(e,wdt(t));const F_={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${Ue(10)})`},transitionProperty:"transform, opacity"},FO={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(-${Ue(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(${Ue(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(${Ue(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${Ue(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:E_(N_({},F_),{common:{transformOrigin:"center center"}}),"pop-bottom-left":E_(N_({},F_),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":E_(N_({},F_),{common:{transformOrigin:"bottom right"}}),"pop-top-left":E_(N_({},F_),{common:{transformOrigin:"top left"}}),"pop-top-right":E_(N_({},F_),{common:{transformOrigin:"top right"}})},_fe=["mousedown","touchstart"];function Cdt(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||_fe).forEach(a=>document.addEventListener(a,i)),()=>{(t||_fe).forEach(a=>document.removeEventListener(a,i))}},[r,e,n]),r}function _dt(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function Ndt(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function Edt(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[r,i]=w.useState(n?t:Ndt(e)),a=w.useRef();return w.useEffect(()=>{if("matchMedia"in window)return a.current=window.matchMedia(e),i(a.current.matches),_dt(a.current,o=>i(o.matches))},[e]),r}function u2(e,t,n){return Math.min(Math.max(e,t),n)}const ete=typeof document<"u"?w.useLayoutEffect:w.useEffect;function bl(e,t){const n=w.useRef(!1);w.useEffect(()=>()=>{n.current=!1},[]),w.useEffect(()=>{if(n.current)return e();n.current=!0},t)}function Yje({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 bl(()=>{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 Fdt=/input|select|textarea|button|object/,Xje="a, input, select, textarea, button, object, [tabindex]";function Ddt(e){return e.style.display==="none"}function Tdt(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(Ddt(n))return!1;n=n.parentNode}return!0}function Zje(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function LK(e){const t=e.nodeName.toLowerCase(),n=!Number.isNaN(Zje(e));return(Fdt.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&Tdt(e)}function Jje(e){const t=Zje(e);return(Number.isNaN(t)||t>=0)&&LK(e)}function Odt(e){return Array.from(e.querySelectorAll(Xje)).filter(Jje)}function jdt(e,t){const n=Odt(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 tte(){return`mantine-${Math.random().toString(36).slice(2,11)}`}function Bdt(e,t="body > :not(script)"){const n=tte(),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 Idt(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(Xje));o=s.find(Jje)||s.find(LK)||null,!o&&LK(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=Bdt(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&&jdt(t.current,o)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a),n.current&&n.current()}},[e]),i}const Pdt=U.useId||(()=>{});function Mdt(){const e=Pdt();return e?`mantine-${e.replace(/:/g,"")}`:""}function Rx(e){const t=Mdt(),[n,r]=w.useState(t);return ete(()=>{r(tte())},[]),typeof e=="string"?e:typeof window>"u"?t:n}function UK(e,t,n){w.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}function B$(e,t){typeof e=="function"?e(t):typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}function eBe(...e){return t=>{e.forEach(n=>B$(n,t))}}function Fp(...e){return w.useCallback(eBe(...e),e)}function Fc({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 hv(e,t){const n=t-e+1;return Array.from({length:n},(r,i)=>i+e)}const DO="dots";function Rdt({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]=Fc({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 hv(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 C=t*2+n+2;return[...hv(1,C),DO,...hv(o-(n-1),o)]}if(x&&!k){const C=n+1+2*t;return[...hv(1,n),DO,...hv(o-C,o)]}return[...hv(1,n),DO,...hv(v,y),DO,...hv(o-n+1,o)]},[o,t,s]),active:s,setPage:c,next:u,previous:f,first:h,last:m}}function I$(e,t){return Edt("(prefers-reduced-motion: reduce)",e,t)}const $dt=e=>e<.5?2*e*e:-1+(4-2*e)*e,Ldt=({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},Udt=({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]},zdt=({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 tBe({duration:e=1250,axis:t="y",onScrollFinish:n,easing:r=$dt,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=I$(),m=()=>{s.current&&cancelAnimationFrame(s.current)},A=w.useCallback(({alignment:v="start"}={})=>{var y;c.current=!1,s.current&&m();const x=(y=Udt({parent:u.current,axis:t}))!=null?y:0,k=Ldt({parent:u.current,target:f.current,axis:t,alignment:v,offset:i,isList:o})-(u.current?0:x);function C(){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);zdt({parent:u.current,axis:t,distance:D}),!c.current&&E<1?s.current=requestAnimationFrame(C):(typeof n=="function"&&n(),l.current=0,s.current=0,m())}C()},[t,e,r,o,i,n,h]),p=()=>{a&&(c.current=!0)};return UK("wheel",p,{passive:!0}),UK("touchmove",p,{passive:!0}),w.useEffect(()=>m,[]),{scrollableRef:u,targetRef:f,scrollIntoView:A,cancel:m}}function Nfe(){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 Hdt(e={getValueInEffect:!0}){const[t,n]=w.useState(e.getValueInEffect?"undetermined":Nfe());return ete(()=>{e.getValueInEffect&&n(Nfe)},[]),t}function Xo(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 Efe(e){return typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1)}const OI={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"},[Vdt,jI]=vf(OI.context);function Qdt({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,C]=Fc({value:n,defaultValue:r,finalValue:t?[]:null,onChange:i}),S=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;C(D)};return U.createElement(Vdt,{value:{isItemActive:S,onChange:N,getControlId:Kde(`${x}-control`,OI.value),getRegionId:Kde(`${x}-panel`,OI.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[qdt,nBe]=vf(OI.itemContext);function Gdt(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:`${Ue(1)} solid ${r}`}:t==="contained"?{border:`${Ue(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:`${Ue(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 Wdt=un((e,t,{variant:n})=>({item:Gdt(e,n,t)})),Ffe=Object.getOwnPropertySymbols,Kdt=Object.prototype.hasOwnProperty,Ydt=Object.prototype.propertyIsEnumerable,Xdt=(e,t)=>{var n={};for(var r in e)Kdt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ffe)for(var r of Ffe(e))t.indexOf(r)<0&&Ydt.call(e,r)&&(n[r]=e[r]);return n};function ZS(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:C,fw:S,lts:N,ta:E,lh:D,fs:T,tt:R,td:B,w:j,miw:P,maw:$,h:z,mih:I,mah:V,bgsz:W,bgp:ee,bgr:X,bga:fe,pos:H,top:Q,left:G,bottom:ne,right:re,inset:oe,display:de}=t,me=Xdt(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:qje({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:C,fw:S,lts:N,ta:E,lh:D,fs:T,tt:R,td:B,w:j,miw:P,maw:$,h:z,mih:I,mah:V,bgsz:W,bgp:ee,bgr:X,bga:fe,pos:H,top:Q,left:G,bottom:ne,right:re,inset:oe,display:de}),rest:me}}function Zdt(e,t){const n=Object.keys(e).filter(r=>r!=="base").sort((r,i)=>wh(Dt({size:r,sizes:t.breakpoints}))-wh(Dt({size:i,sizes:t.breakpoints})));return"base"in e?["base",...n]:n}function Jdt({value:e,theme:t,getValue:n,property:r}){if(e==null)return;if(typeof e=="object")return Zdt(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 eft(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 tft(e){return Ue(e)}function nft(e){return e}function rft(e,t){return Dt({size:e,sizes:t.fontSizes})}const ift=["-xs","-sm","-md","-lg","-xl"];function aft(e,t){return ift.includes(e)?`calc(${Dt({size:e.replace("-",""),sizes:t.spacing})} * -1)`:Dt({size:e,sizes:t.spacing})}const oft={identity:nft,color:eft,size:tft,fontSize:rft,spacing:aft},sft={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 lft=Object.defineProperty,Dfe=Object.getOwnPropertySymbols,cft=Object.prototype.hasOwnProperty,uft=Object.prototype.propertyIsEnumerable,Tfe=(e,t,n)=>t in e?lft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ofe=(e,t)=>{for(var n in t||(t={}))cft.call(t,n)&&Tfe(e,n,t[n]);if(Dfe)for(var n of Dfe(t))uft.call(t,n)&&Tfe(e,n,t[n]);return e};function jfe(e,t,n=sft){return Object.keys(n).reduce((i,a)=>(a in e&&e[a]!==void 0&&i.push(Jdt({value:e[a],getValue:oft[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]=Ofe(Ofe({},i[o]),a[o]):i[o]=a[o]}),i),{})}function Bfe(e,t){return typeof e=="function"?e(t):e}function dft(e,t,n){const r=pu(),{css:i,cx:a}=Kje();return Array.isArray(e)?a(n,i(jfe(t,r)),e.map(o=>i(Bfe(o,r)))):a(n,i(Bfe(e,r)),i(jfe(t,r)))}var fft=Object.defineProperty,BI=Object.getOwnPropertySymbols,rBe=Object.prototype.hasOwnProperty,iBe=Object.prototype.propertyIsEnumerable,Ife=(e,t,n)=>t in e?fft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hft=(e,t)=>{for(var n in t||(t={}))rBe.call(t,n)&&Ife(e,n,t[n]);if(BI)for(var n of BI(t))iBe.call(t,n)&&Ife(e,n,t[n]);return e},mft=(e,t)=>{var n={};for(var r in e)rBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&BI)for(var r of BI(e))t.indexOf(r)<0&&iBe.call(e,r)&&(n[r]=e[r]);return n};const aBe=w.forwardRef((e,t)=>{var n=e,{className:r,component:i,style:a,sx:o}=n,s=mft(n,["className","component","style","sx"]);const{systemStyles:l,rest:c}=ZS(s),u=i||"div";return U.createElement(u,hft({ref:t,className:dft(o,l,r),style:a},c))});aBe.displayName="@mantine/core/Box";const En=aBe;var pft=Object.defineProperty,II=Object.getOwnPropertySymbols,oBe=Object.prototype.hasOwnProperty,sBe=Object.prototype.propertyIsEnumerable,Pfe=(e,t,n)=>t in e?pft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Aft=(e,t)=>{for(var n in t||(t={}))oBe.call(t,n)&&Pfe(e,n,t[n]);if(II)for(var n of II(t))sBe.call(t,n)&&Pfe(e,n,t[n]);return e},gft=(e,t)=>{var n={};for(var r in e)oBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&II)for(var r of II(e))t.indexOf(r)<0&&sBe.call(e,r)&&(n[r]=e[r]);return n};const vft={},lBe=w.forwardRef((e,t)=>{const n=Vt("AccordionItem",vft,e),{children:r,className:i,value:a}=n,o=gft(n,["children","className","value"]),s=jI(),{classes:l,cx:c}=Wdt({radius:s.radius},{name:"Accordion",classNames:s.classNames,styles:s.styles,unstyled:s.unstyled,variant:s.variant});return U.createElement(qdt,{value:{value:a}},U.createElement(En,Aft({ref:t,className:c(l.item,i),"data-active":s.isItemActive(a)||void 0},o),r))});lBe.displayName="@mantine/core/AccordionItem";var yft=Object.defineProperty,bft=Object.defineProperties,xft=Object.getOwnPropertyDescriptors,Mfe=Object.getOwnPropertySymbols,wft=Object.prototype.hasOwnProperty,kft=Object.prototype.propertyIsEnumerable,Rfe=(e,t,n)=>t in e?yft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TO=(e,t)=>{for(var n in t||(t={}))wft.call(t,n)&&Rfe(e,n,t[n]);if(Mfe)for(var n of Mfe(t))kft.call(t,n)&&Rfe(e,n,t[n]);return e},Sft=(e,t)=>bft(e,xft(t));function Cft(e,t){return t==="default"||t==="contained"?e.fn.hover({backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[0]}):{}}var _ft=un((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:Ue(r),minWidth:Ue(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:Sft(TO(TO(TO({},e.fn.focusStyles()),e.fn.fontStyles()),Cft(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} + ${Ue(4)})`:e.spacing.xs,textAlign:"left",color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,"&:disabled":TO({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))})})),Nft=Object.defineProperty,Eft=Object.defineProperties,Fft=Object.getOwnPropertyDescriptors,$fe=Object.getOwnPropertySymbols,Dft=Object.prototype.hasOwnProperty,Tft=Object.prototype.propertyIsEnumerable,Lfe=(e,t,n)=>t in e?Nft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ufe=(e,t)=>{for(var n in t||(t={}))Dft.call(t,n)&&Lfe(e,n,t[n]);if($fe)for(var n of $fe(t))Tft.call(t,n)&&Lfe(e,n,t[n]);return e},Oft=(e,t)=>Eft(e,Fft(t)),jft=un(e=>({root:Oft(Ufe(Ufe({},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"})})),Bft=Object.defineProperty,PI=Object.getOwnPropertySymbols,cBe=Object.prototype.hasOwnProperty,uBe=Object.prototype.propertyIsEnumerable,zfe=(e,t,n)=>t in e?Bft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ift=(e,t)=>{for(var n in t||(t={}))cBe.call(t,n)&&zfe(e,n,t[n]);if(PI)for(var n of PI(t))uBe.call(t,n)&&zfe(e,n,t[n]);return e},Pft=(e,t)=>{var n={};for(var r in e)cBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&PI)for(var r of PI(e))t.indexOf(r)<0&&uBe.call(e,r)&&(n[r]=e[r]);return n};const dBe=w.forwardRef((e,t)=>{const n=Vt("UnstyledButton",{},e),{className:r,component:i="button",unstyled:a,variant:o}=n,s=Pft(n,["className","component","unstyled","variant"]),{classes:l,cx:c}=jft(null,{name:"UnstyledButton",unstyled:a,variant:o});return U.createElement(En,Ift({component:i,ref:t,className:c(l.root,r),type:i==="button"?"button":void 0},s))});dBe.displayName="@mantine/core/UnstyledButton";const id=dBe;var Mft=Object.defineProperty,Rft=Object.defineProperties,$ft=Object.getOwnPropertyDescriptors,MI=Object.getOwnPropertySymbols,fBe=Object.prototype.hasOwnProperty,hBe=Object.prototype.propertyIsEnumerable,Hfe=(e,t,n)=>t in e?Mft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lft=(e,t)=>{for(var n in t||(t={}))fBe.call(t,n)&&Hfe(e,n,t[n]);if(MI)for(var n of MI(t))hBe.call(t,n)&&Hfe(e,n,t[n]);return e},Uft=(e,t)=>Rft(e,$ft(t)),zft=(e,t)=>{var n={};for(var r in e)fBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&MI)for(var r of MI(e))t.indexOf(r)<0&&hBe.call(e,r)&&(n[r]=e[r]);return n};const Hft={},mBe=w.forwardRef((e,t)=>{const n=Vt("AccordionControl",Hft,e),{disabled:r,onKeyDown:i,onClick:a,chevron:o,children:s,className:l,icon:c}=n,u=zft(n,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),f=jI(),{value:h}=nBe(),{classes:m,cx:A}=_ft({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=U.createElement(id,Uft(Lft({},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:kje({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:f.loop,orientation:"vertical",onKeyDown:i})}),U.createElement("span",{className:m.chevron,"data-rotate":!f.disableChevronRotation&&p||void 0},o||f.chevron),U.createElement("span",{className:m.label},s),c&&U.createElement("span",{className:m.icon},c));return v?U.createElement(y,{className:m.itemTitle},x):x});mBe.displayName="@mantine/core/AccordionControl";var Vft=Object.defineProperty,Qft=Object.defineProperties,qft=Object.getOwnPropertyDescriptors,Vfe=Object.getOwnPropertySymbols,Gft=Object.prototype.hasOwnProperty,Wft=Object.prototype.propertyIsEnumerable,Qfe=(e,t,n)=>t in e?Vft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kft=(e,t)=>{for(var n in t||(t={}))Gft.call(t,n)&&Qfe(e,n,t[n]);if(Vfe)for(var n of Vfe(t))Wft.call(t,n)&&Qfe(e,n,t[n]);return e},Yft=(e,t)=>Qft(e,qft(t)),Xft=un((e,t)=>({panel:Yft(Kft({},e.fn.fontStyles()),{wordBreak:"break-word",lineHeight:e.lineHeight}),content:{padding:e.spacing.md,paddingTop:`calc(${e.spacing.xs} / 2)`}})),Zft=Object.defineProperty,Jft=Object.defineProperties,eht=Object.getOwnPropertyDescriptors,RI=Object.getOwnPropertySymbols,pBe=Object.prototype.hasOwnProperty,ABe=Object.prototype.propertyIsEnumerable,qfe=(e,t,n)=>t in e?Zft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L0=(e,t)=>{for(var n in t||(t={}))pBe.call(t,n)&&qfe(e,n,t[n]);if(RI)for(var n of RI(t))ABe.call(t,n)&&qfe(e,n,t[n]);return e},ZU=(e,t)=>Jft(e,eht(t)),tht=(e,t)=>{var n={};for(var r in e)pBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&RI)for(var r of RI(e))t.indexOf(r)<0&&ABe.call(e,r)&&(n[r]=e[r]);return n};function nht(e){if(!e||typeof e=="string")return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function JU(e){return e?.current?e.current.scrollHeight:"auto"}const OO=typeof window<"u"&&window.requestAnimationFrame;function rht({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=>L0(L0({},p),A))};function f(A){return{transition:`height ${e||nht(A)}ms ${t}`}}bl(()=>{OO(r?()=>{u({willChange:"height",display:"block",overflow:"hidden"}),OO(()=>{const A=JU(i);u(ZU(L0({},f(A)),{height:A}))})}:()=>{const A=JU(i);u(ZU(L0({},f(A)),{willChange:"height",height:A})),OO(()=>u({height:a,overflow:"hidden"}))})},[r]);const h=A=>{if(!(A.target!==i.current||A.propertyName!=="height"))if(r){const p=JU(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=tht(p,["style","refKey"]);const k=x[y];return ZU(L0({"aria-hidden":!r},x),{[y]:eBe(i,k),onTransitionEnd:h,style:L0(L0({boxSizing:"border-box"},v),s)})}return m}var iht=Object.defineProperty,$I=Object.getOwnPropertySymbols,gBe=Object.prototype.hasOwnProperty,vBe=Object.prototype.propertyIsEnumerable,Gfe=(e,t,n)=>t in e?iht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jO=(e,t)=>{for(var n in t||(t={}))gBe.call(t,n)&&Gfe(e,n,t[n]);if($I)for(var n of $I(t))vBe.call(t,n)&&Gfe(e,n,t[n]);return e},aht=(e,t)=>{var n={};for(var r in e)gBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$I)for(var r of $I(e))t.indexOf(r)<0&&vBe.call(e,r)&&(n[r]=e[r]);return n};const oht={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},P$=w.forwardRef((e,t)=>{const n=Vt("Collapse",oht,e),{children:r,in:i,transitionDuration:a,transitionTimingFunction:o,style:s,onTransitionEnd:l,animateOpacity:c}=n,u=aht(n,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),f=pu(),h=I$(),A=(f.respectReducedMotion?h:!1)?0:a,{systemStyles:p,rest:v}=ZS(u),y=rht({opened:i,transitionDuration:A,transitionTimingFunction:o,onTransitionEnd:l});return A===0?i?U.createElement(En,jO({},v),r):null:U.createElement(En,jO({},y(jO(jO({style:s,ref:t},v),p))),U.createElement("div",{style:{opacity:i||!c?1:0,transition:c?`opacity ${A}ms ${o}`:"none"}},r))});P$.displayName="@mantine/core/Collapse";var sht=Object.defineProperty,lht=Object.defineProperties,cht=Object.getOwnPropertyDescriptors,LI=Object.getOwnPropertySymbols,yBe=Object.prototype.hasOwnProperty,bBe=Object.prototype.propertyIsEnumerable,Wfe=(e,t,n)=>t in e?sht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uht=(e,t)=>{for(var n in t||(t={}))yBe.call(t,n)&&Wfe(e,n,t[n]);if(LI)for(var n of LI(t))bBe.call(t,n)&&Wfe(e,n,t[n]);return e},dht=(e,t)=>lht(e,cht(t)),fht=(e,t)=>{var n={};for(var r in e)yBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&LI)for(var r of LI(e))t.indexOf(r)<0&&bBe.call(e,r)&&(n[r]=e[r]);return n};const hht={};function xBe(e){const t=Vt("AccordionPanel",hht,e),{children:n,className:r}=t,i=fht(t,["children","className"]),a=jI(),{value:o}=nBe(),{classNames:s,styles:l,unstyled:c}=jI(),{classes:u,cx:f}=Xft({radius:a.radius},{name:"Accordion",classNames:s,styles:l,unstyled:c,variant:a.variant});return U.createElement(P$,dht(uht({},i),{className:f(u.panel,r),in:a.isItemActive(o),transitionDuration:a.transitionDuration,role:"region",id:a.getRegionId(o),"aria-labelledby":a.getControlId(o)}),U.createElement("div",{className:u.content},n))}xBe.displayName="@mantine/core/AccordionPanel";var mht=Object.defineProperty,UI=Object.getOwnPropertySymbols,wBe=Object.prototype.hasOwnProperty,kBe=Object.prototype.propertyIsEnumerable,Kfe=(e,t,n)=>t in e?mht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yfe=(e,t)=>{for(var n in t||(t={}))wBe.call(t,n)&&Kfe(e,n,t[n]);if(UI)for(var n of UI(t))kBe.call(t,n)&&Kfe(e,n,t[n]);return e},pht=(e,t)=>{var n={};for(var r in e)wBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&UI)for(var r of UI(e))t.indexOf(r)<0&&kBe.call(e,r)&&(n[r]=e[r]);return n};function X2(e){const t=e,{style:n}=t,r=pht(t,["style"]);return U.createElement("svg",Yfe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Yfe({width:Ue(16),height:Ue(16)},n)},r),U.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 Aht=Object.defineProperty,ght=Object.defineProperties,vht=Object.getOwnPropertyDescriptors,zI=Object.getOwnPropertySymbols,SBe=Object.prototype.hasOwnProperty,CBe=Object.prototype.propertyIsEnumerable,Xfe=(e,t,n)=>t in e?Aht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yht=(e,t)=>{for(var n in t||(t={}))SBe.call(t,n)&&Xfe(e,n,t[n]);if(zI)for(var n of zI(t))CBe.call(t,n)&&Xfe(e,n,t[n]);return e},bht=(e,t)=>ght(e,vht(t)),xht=(e,t)=>{var n={};for(var r in e)SBe.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&&CBe.call(e,r)&&(n[r]=e[r]);return n};const wht={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:U.createElement(X2,null)};function Pn(e){const t=Vt("Accordion",wht,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,C=xht(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return U.createElement(Qdt,{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},U.createElement(En,bht(yht({},C),{"data-accordion":!0}),i))}Pn.Item=lBe;Pn.Control=mBe;Pn.Panel=xBe;Pn.displayName="@mantine/core/Accordion";var kht=Object.defineProperty,Sht=Object.defineProperties,Cht=Object.getOwnPropertyDescriptors,Zfe=Object.getOwnPropertySymbols,_ht=Object.prototype.hasOwnProperty,Nht=Object.prototype.propertyIsEnumerable,Jfe=(e,t,n)=>t in e?kht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zK=(e,t)=>{for(var n in t||(t={}))_ht.call(t,n)&&Jfe(e,n,t[n]);if(Zfe)for(var n of Zfe(t))Nht.call(t,n)&&Jfe(e,n,t[n]);return e},ehe=(e,t)=>Sht(e,Cht(t));const Eht=["subtle","filled","outline","light","default","transparent","gradient"],BO={xs:Ue(18),sm:Ue(22),md:Ue(28),lg:Ue(34),xl:Ue(44)};function Fht({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%"})}:Eht.includes(e)?zK({border:`${Ue(1)} solid ${i.border}`,backgroundColor:i.background,color:i.color},t.fn.hover({backgroundColor:i.hover})):null}var Dht=un((e,{radius:t,color:n,gradient:r},{variant:i,size:a})=>({root:ehe(zK({position:"relative",borderRadius:e.fn.radius(t),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:Dt({size:a,sizes:BO}),minHeight:Dt({size:a,sizes:BO}),width:Dt({size:a,sizes:BO}),minWidth:Dt({size:a,sizes:BO})},Fht({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":ehe(zK({content:'""'},e.fn.cover(Ue(-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"})}})})),Tht=Object.defineProperty,HI=Object.getOwnPropertySymbols,_Be=Object.prototype.hasOwnProperty,NBe=Object.prototype.propertyIsEnumerable,the=(e,t,n)=>t in e?Tht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nhe=(e,t)=>{for(var n in t||(t={}))_Be.call(t,n)&&the(e,n,t[n]);if(HI)for(var n of HI(t))NBe.call(t,n)&&the(e,n,t[n]);return e},rhe=(e,t)=>{var n={};for(var r in e)_Be.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&HI)for(var r of HI(e))t.indexOf(r)<0&&NBe.call(e,r)&&(n[r]=e[r]);return n};function Oht(e){var t=e,{size:n,color:r}=t,i=rhe(t,["size","color"]);const a=i,{style:o}=a,s=rhe(a,["style"]);return U.createElement("svg",nhe({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:r,style:nhe({width:n},o)},s),U.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},U.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"}),U.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"})),U.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},U.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"}),U.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"})),U.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},U.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),U.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),U.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},U.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"}),U.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"})),U.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},U.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"}),U.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 jht=Object.defineProperty,VI=Object.getOwnPropertySymbols,EBe=Object.prototype.hasOwnProperty,FBe=Object.prototype.propertyIsEnumerable,ihe=(e,t,n)=>t in e?jht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ahe=(e,t)=>{for(var n in t||(t={}))EBe.call(t,n)&&ihe(e,n,t[n]);if(VI)for(var n of VI(t))FBe.call(t,n)&&ihe(e,n,t[n]);return e},ohe=(e,t)=>{var n={};for(var r in e)EBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&VI)for(var r of VI(e))t.indexOf(r)<0&&FBe.call(e,r)&&(n[r]=e[r]);return n};function Bht(e){var t=e,{size:n,color:r}=t,i=ohe(t,["size","color"]);const a=i,{style:o}=a,s=ohe(a,["style"]);return U.createElement("svg",ahe({viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:r,style:ahe({width:n,height:n},o)},s),U.createElement("g",{fill:"none",fillRule:"evenodd"},U.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},U.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),U.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},U.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))}var Iht=Object.defineProperty,QI=Object.getOwnPropertySymbols,DBe=Object.prototype.hasOwnProperty,TBe=Object.prototype.propertyIsEnumerable,she=(e,t,n)=>t in e?Iht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lhe=(e,t)=>{for(var n in t||(t={}))DBe.call(t,n)&&she(e,n,t[n]);if(QI)for(var n of QI(t))TBe.call(t,n)&&she(e,n,t[n]);return e},che=(e,t)=>{var n={};for(var r in e)DBe.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&&TBe.call(e,r)&&(n[r]=e[r]);return n};function Pht(e){var t=e,{size:n,color:r}=t,i=che(t,["size","color"]);const a=i,{style:o}=a,s=che(a,["style"]);return U.createElement("svg",lhe({viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:r,style:lhe({width:n},o)},s),U.createElement("circle",{cx:"15",cy:"15",r:"15"},U.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),U.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),U.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},U.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),U.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),U.createElement("circle",{cx:"105",cy:"15",r:"15"},U.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),U.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var Mht=Object.defineProperty,qI=Object.getOwnPropertySymbols,OBe=Object.prototype.hasOwnProperty,jBe=Object.prototype.propertyIsEnumerable,uhe=(e,t,n)=>t in e?Mht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rht=(e,t)=>{for(var n in t||(t={}))OBe.call(t,n)&&uhe(e,n,t[n]);if(qI)for(var n of qI(t))jBe.call(t,n)&&uhe(e,n,t[n]);return e},$ht=(e,t)=>{var n={};for(var r in e)OBe.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&&jBe.call(e,r)&&(n[r]=e[r]);return n};const e7={bars:Oht,oval:Bht,dots:Pht},Lht={xs:Ue(18),sm:Ue(22),md:Ue(36),lg:Ue(44),xl:Ue(58)},Uht={size:"md"};function Xa(e){const t=Vt("Loader",Uht,e),{size:n,color:r,variant:i}=t,a=$ht(t,["size","color","variant"]),o=pu(),s=i in e7?i:o.loader;return U.createElement(En,Rht({role:"presentation",component:e7[s]||e7.bars,size:Dt({size:n,sizes:Lht}),color:o.fn.variant({variant:"filled",primaryFallback:!1,color:r||o.primaryColor}).background},a))}Xa.displayName="@mantine/core/Loader";var zht=Object.defineProperty,GI=Object.getOwnPropertySymbols,BBe=Object.prototype.hasOwnProperty,IBe=Object.prototype.propertyIsEnumerable,dhe=(e,t,n)=>t in e?zht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fhe=(e,t)=>{for(var n in t||(t={}))BBe.call(t,n)&&dhe(e,n,t[n]);if(GI)for(var n of GI(t))IBe.call(t,n)&&dhe(e,n,t[n]);return e},Hht=(e,t)=>{var n={};for(var r in e)BBe.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&&IBe.call(e,r)&&(n[r]=e[r]);return n};const Vht={color:"gray",size:"md",variant:"subtle"},PBe=w.forwardRef((e,t)=>{const n=Vt("ActionIcon",Vht,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=Hht(n,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:v,cx:y,theme:x}=Dht({radius:o,color:i,gradient:c},{name:["ActionIcon",A],unstyled:m,size:s,variant:l}),k=U.createElement(Xa,fhe({color:x.fn.variant({color:i,variant:l}).color,size:"100%","data-action-icon-loader":!0},f));return U.createElement(id,fhe({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)});PBe.displayName="@mantine/core/ActionIcon";const MBe=PBe;var Qht=Object.defineProperty,qht=Object.defineProperties,Ght=Object.getOwnPropertyDescriptors,WI=Object.getOwnPropertySymbols,RBe=Object.prototype.hasOwnProperty,$Be=Object.prototype.propertyIsEnumerable,hhe=(e,t,n)=>t in e?Qht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wht=(e,t)=>{for(var n in t||(t={}))RBe.call(t,n)&&hhe(e,n,t[n]);if(WI)for(var n of WI(t))$Be.call(t,n)&&hhe(e,n,t[n]);return e},Kht=(e,t)=>qht(e,Ght(t)),Yht=(e,t)=>{var n={};for(var r in e)RBe.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&&$Be.call(e,r)&&(n[r]=e[r]);return n};function LBe(e){const t=Vt("Portal",{},e),{children:n,target:r,className:i,innerRef:a}=t,o=Yht(t,["children","target","className","innerRef"]),s=pu(),[l,c]=w.useState(!1),u=w.useRef();return ete(()=>(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(U.createElement("div",Kht(Wht({className:i,dir:s.dir},o),{ref:a}),n),u.current):null}LBe.displayName="@mantine/core/Portal";var Xht=Object.defineProperty,KI=Object.getOwnPropertySymbols,UBe=Object.prototype.hasOwnProperty,zBe=Object.prototype.propertyIsEnumerable,mhe=(e,t,n)=>t in e?Xht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zht=(e,t)=>{for(var n in t||(t={}))UBe.call(t,n)&&mhe(e,n,t[n]);if(KI)for(var n of KI(t))zBe.call(t,n)&&mhe(e,n,t[n]);return e},Jht=(e,t)=>{var n={};for(var r in e)UBe.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&&zBe.call(e,r)&&(n[r]=e[r]);return n};function JS(e){var t=e,{withinPortal:n=!0,children:r}=t,i=Jht(t,["withinPortal","children"]);return n?U.createElement(LBe,Zht({},i),r):U.createElement(U.Fragment,null,r)}JS.displayName="@mantine/core/OptionalPortal";var emt=Object.defineProperty,YI=Object.getOwnPropertySymbols,HBe=Object.prototype.hasOwnProperty,VBe=Object.prototype.propertyIsEnumerable,phe=(e,t,n)=>t in e?emt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ahe=(e,t)=>{for(var n in t||(t={}))HBe.call(t,n)&&phe(e,n,t[n]);if(YI)for(var n of YI(t))VBe.call(t,n)&&phe(e,n,t[n]);return e},tmt=(e,t)=>{var n={};for(var r in e)HBe.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&&VBe.call(e,r)&&(n[r]=e[r]);return n};function QBe(e){const t=e,{width:n,height:r,style:i}=t,a=tmt(t,["width","height","style"]);return U.createElement("svg",Ahe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Ahe({width:n,height:r},i)},a),U.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"}))}QBe.displayName="@mantine/core/CloseIcon";var nmt=Object.defineProperty,XI=Object.getOwnPropertySymbols,qBe=Object.prototype.hasOwnProperty,GBe=Object.prototype.propertyIsEnumerable,ghe=(e,t,n)=>t in e?nmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rmt=(e,t)=>{for(var n in t||(t={}))qBe.call(t,n)&&ghe(e,n,t[n]);if(XI)for(var n of XI(t))GBe.call(t,n)&&ghe(e,n,t[n]);return e},imt=(e,t)=>{var n={};for(var r in e)qBe.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&&GBe.call(e,r)&&(n[r]=e[r]);return n};const amt={xs:Ue(12),sm:Ue(16),md:Ue(20),lg:Ue(28),xl:Ue(34)},omt={size:"sm"},WBe=w.forwardRef((e,t)=>{const n=Vt("CloseButton",omt,e),{iconSize:r,size:i,children:a}=n,o=imt(n,["iconSize","size","children"]),s=Ue(r||amt[i]);return U.createElement(MBe,rmt({ref:t,__staticSelector:"CloseButton",size:i},o),a||U.createElement(QBe,{width:s,height:s}))});WBe.displayName="@mantine/core/CloseButton";const LF=WBe;var smt=Object.defineProperty,lmt=Object.defineProperties,cmt=Object.getOwnPropertyDescriptors,vhe=Object.getOwnPropertySymbols,umt=Object.prototype.hasOwnProperty,dmt=Object.prototype.propertyIsEnumerable,yhe=(e,t,n)=>t in e?smt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,IO=(e,t)=>{for(var n in t||(t={}))umt.call(t,n)&&yhe(e,n,t[n]);if(vhe)for(var n of vhe(t))dmt.call(t,n)&&yhe(e,n,t[n]);return e},fmt=(e,t)=>lmt(e,cmt(t));function hmt({underline:e,strikethrough:t}){const n=[];return e&&n.push("underline"),t&&n.push("line-through"),n.length>0?n.join(" "):"none"}function mmt({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 pmt(e){return typeof e=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}:null}function Amt({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 gmt=un((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:fmt(IO(IO(IO(IO({},e.fn.fontStyles()),e.fn.focusStyles()),pmt(n)),Amt({theme:e,truncate:r})),{color:mmt({color:t,theme:e}),fontFamily:a?"inherit":e.fontFamily,fontSize:a||m===void 0?"inherit":Dt({size:m,sizes:e.fontSizes}),lineHeight:a?"inherit":i?1:e.lineHeight,textDecoration:hmt({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"}}}),vmt=Object.defineProperty,ZI=Object.getOwnPropertySymbols,KBe=Object.prototype.hasOwnProperty,YBe=Object.prototype.propertyIsEnumerable,bhe=(e,t,n)=>t in e?vmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ymt=(e,t)=>{for(var n in t||(t={}))KBe.call(t,n)&&bhe(e,n,t[n]);if(ZI)for(var n of ZI(t))YBe.call(t,n)&&bhe(e,n,t[n]);return e},bmt=(e,t)=>{var n={};for(var r in e)KBe.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&&YBe.call(e,r)&&(n[r]=e[r]);return n};const xmt={variant:"text"},XBe=w.forwardRef((e,t)=>{const n=Vt("Text",xmt,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:C,span:S,__staticSelector:N}=n,E=bmt(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}=gmt({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:C,name:N||"Text",variant:c,size:i});return U.createElement(En,ymt({ref:t,className:T(D.root,{[D.gradient]:c==="gradient"},r),component:S?"span":"div"},E))});XBe.displayName="@mantine/core/Text";const Yn=XBe,PO={xs:Ue(1),sm:Ue(2),md:Ue(3),lg:Ue(4),xl:Ue(5)};function MO(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 wmt=un((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:Ue(1),borderTop:`${Dt({size:n,sizes:PO})} ${r} ${MO(e,t)}`,marginRight:e.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${Dt({size:n,sizes:PO})} ${r} ${MO(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:Ue(Dt({size:n,sizes:PO})),borderTopColor:MO(e,t),borderTopStyle:r,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:Ue(Dt({size:n,sizes:PO})),borderLeftColor:MO(e,t),borderLeftStyle:r}})),kmt=Object.defineProperty,Smt=Object.defineProperties,Cmt=Object.getOwnPropertyDescriptors,JI=Object.getOwnPropertySymbols,ZBe=Object.prototype.hasOwnProperty,JBe=Object.prototype.propertyIsEnumerable,xhe=(e,t,n)=>t in e?kmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,whe=(e,t)=>{for(var n in t||(t={}))ZBe.call(t,n)&&xhe(e,n,t[n]);if(JI)for(var n of JI(t))JBe.call(t,n)&&xhe(e,n,t[n]);return e},_mt=(e,t)=>Smt(e,Cmt(t)),Nmt=(e,t)=>{var n={};for(var r in e)ZBe.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&&JBe.call(e,r)&&(n[r]=e[r]);return n};const Emt={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},HK=w.forwardRef((e,t)=>{const n=Vt("Divider",Emt,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=Nmt(n,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:p,cx:v}=wmt({color:i},{classNames:h,styles:f,unstyled:m,name:"Divider",variant:u,size:o}),y=a==="vertical",x=a==="horizontal",k=!!s&&x,C=!c?.color;return U.createElement(En,whe({ref:t,className:v(p.root,{[p.vertical]:y,[p.horizontal]:x,[p.withLabel]:k},r),role:"separator"},A),k&&U.createElement(Yn,_mt(whe({},c),{size:c?.size||"xs",mt:Ue(2),className:v(p.label,p[l],{[p.labelDefaultStyles]:C})}),s))});HK.displayName="@mantine/core/Divider";var Fmt=Object.defineProperty,Dmt=Object.defineProperties,Tmt=Object.getOwnPropertyDescriptors,khe=Object.getOwnPropertySymbols,Omt=Object.prototype.hasOwnProperty,jmt=Object.prototype.propertyIsEnumerable,She=(e,t,n)=>t in e?Fmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Che=(e,t)=>{for(var n in t||(t={}))Omt.call(t,n)&&She(e,n,t[n]);if(khe)for(var n of khe(t))jmt.call(t,n)&&She(e,n,t[n]);return e},Bmt=(e,t)=>Dmt(e,Tmt(t)),Imt=un((e,t,{size:n})=>({item:Bmt(Che({},e.fn.fontStyles()),{boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:`calc(${Dt({size:n,sizes:e.spacing})} / 1.5) ${Dt({size:n,sizes:e.spacing})}`,cursor:"pointer",fontSize:Dt({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]":Che({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(${Dt({size:n,sizes:e.spacing})} / 2)`,paddingBottom:`calc(${Dt({size:n,sizes:e.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${Dt({size:n,sizes:e.spacing})} / 1.5) ${Dt({size:n,sizes:e.spacing})}`},separatorLabel:{color:e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[5]}})),Pmt=Object.defineProperty,_he=Object.getOwnPropertySymbols,Mmt=Object.prototype.hasOwnProperty,Rmt=Object.prototype.propertyIsEnumerable,Nhe=(e,t,n)=>t in e?Pmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$mt=(e,t)=>{for(var n in t||(t={}))Mmt.call(t,n)&&Nhe(e,n,t[n]);if(_he)for(var n of _he(t))Rmt.call(t,n)&&Nhe(e,n,t[n]);return e};function nte({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}=Imt(null,{classNames:n,styles:r,unstyled:p,name:o,variant:v,size:f}),x=[],k=[];let C=null;const S=(E,D)=>{const T=typeof i=="function"?i(E.value):!1;return U.createElement(u,$mt({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:R=>{c&&c.current&&(c.current[E.value]=R)},onMouseDown:E.disabled?null:R=>{R.preventDefault(),l(E)},disabled:E.disabled,variant:v},E))};let N=null;if(e.forEach((E,D)=>{E.creatable?C=D:E.group?(N!==E.group&&(N=E.group,k.push(U.createElement("div",{className:y.separator,key:`__mantine-divider-${D}`},U.createElement(HK,{classNames:{label:y.separatorLabel},label:E.group})))),k.push(S(E,D))):x.push(S(E,D))}),m){const E=e[C];x.push(U.createElement("div",{key:tte(),className:y.item,"data-hovered":t===C||void 0,onMouseEnter:()=>s(C),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(U.createElement("div",{className:y.separator,key:"empty-group-separator"},U.createElement(HK,null))),k.length>0||x.length>0?U.createElement(U.Fragment,null,k,x):U.createElement(Yn,{size:f,unstyled:p,className:y.nothingFound},h)}nte.displayName="@mantine/core/SelectItems";var Lmt=Object.defineProperty,eP=Object.getOwnPropertySymbols,eIe=Object.prototype.hasOwnProperty,tIe=Object.prototype.propertyIsEnumerable,Ehe=(e,t,n)=>t in e?Lmt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Umt=(e,t)=>{for(var n in t||(t={}))eIe.call(t,n)&&Ehe(e,n,t[n]);if(eP)for(var n of eP(t))tIe.call(t,n)&&Ehe(e,n,t[n]);return e},zmt=(e,t)=>{var n={};for(var r in e)eIe.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&&tIe.call(e,r)&&(n[r]=e[r]);return n};const rte=w.forwardRef((e,t)=>{var n=e,{label:r,value:i}=n,a=zmt(n,["label","value"]);return U.createElement("div",Umt({ref:t},a),r||i)});rte.displayName="@mantine/core/DefaultItem";function Hmt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nIe(...e){return t=>e.forEach(n=>Hmt(n,t))}function $x(...e){return w.useCallback(nIe(...e),e)}const rIe=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),a=i.find(Qmt);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(VK,at({},r,{ref:t}),w.isValidElement(o)?w.cloneElement(o,void 0,s):null)}return w.createElement(VK,at({},r,{ref:t}),n)});rIe.displayName="Slot";const VK=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...qmt(r,n.props),ref:nIe(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});VK.displayName="SlotClone";const Vmt=({children:e})=>w.createElement(w.Fragment,null,e);function Qmt(e){return w.isValidElement(e)&&e.type===Vmt}function qmt(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 Gmt=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],UF=Gmt.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?rIe:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,at({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),QK=globalThis?.document?w.useLayoutEffect:()=>{};function Wmt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const zF=e=>{const{present:t,children:n}=e,r=Kmt(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};zF.displayName="Presence";function Kmt(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),a=w.useRef("none"),o=e?"mounted":"unmounted",[s,l]=Wmt(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=RO(r.current);a.current=s==="mounted"?c:"none"},[s]),QK(()=>{const c=r.current,u=i.current;if(u!==e){const h=a.current,m=RO(c);e?l("MOUNT"):m==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&h!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),QK(()=>{if(t){const c=f=>{const m=RO(r.current).includes(f.animationName);f.target===t&&m&&gf.flushSync(()=>l("ANIMATION_END"))},u=f=>{f.target===t&&(a.current=RO(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 RO(e){return e?.animationName||"none"}function Ymt(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,Xmt(i,...t)]}function Xmt(...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 mb(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 Zmt=w.createContext(void 0);function Jmt(e){const t=w.useContext(Zmt);return e||t||"ltr"}function ept(e,[t,n]){return Math.min(n,Math.max(t,e))}function Ub(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)}}function tpt(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const iIe="ScrollArea",[aIe,RVn]=Ymt(iIe),[npt,yf]=aIe(iIe),rpt=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,C]=w.useState(0),[S,N]=w.useState(!1),[E,D]=w.useState(!1),T=$x(t,B=>l(B)),R=Jmt(i);return w.createElement(npt,{scope:n,type:r,dir:R,scrollHideDelay:a,scrollArea:s,viewport:c,onViewportChange:u,content:f,onContentChange:h,scrollbarX:m,onScrollbarXChange:A,scrollbarXEnabled:S,onScrollbarXEnabledChange:N,scrollbarY:p,onScrollbarYChange:v,scrollbarYEnabled:E,onScrollbarYEnabledChange:D,onCornerWidthChange:x,onCornerHeightChange:C},w.createElement(UF.div,at({dir:R},o,{ref:T,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":k+"px",...e.style}})))}),ipt="ScrollAreaViewport",apt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,...i}=e,a=yf(ipt,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(UF.div,at({"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)))}),lg="ScrollAreaScrollbar",opt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=yf(lg,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(spt,at({},r,{ref:t,forceMount:n})):i.type==="scroll"?w.createElement(lpt,at({},r,{ref:t,forceMount:n})):i.type==="auto"?w.createElement(oIe,at({},r,{ref:t,forceMount:n})):i.type==="always"?w.createElement(ite,at({},r,{ref:t})):null}),spt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=yf(lg,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(zF,{present:n||a},w.createElement(oIe,at({"data-state":a?"visible":"hidden"},r,{ref:t})))}),lpt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=yf(lg,e.__scopeScrollArea),a=e.orientation==="horizontal",o=R$(()=>l("SCROLL_END"),100),[s,l]=tpt("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(zF,{present:n||s!=="hidden"},w.createElement(ite,at({"data-state":s==="hidden"?"hidden":"visible"},r,{ref:t,onPointerEnter:Ub(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:Ub(e.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),oIe=w.forwardRef((e,t)=>{const n=yf(lg,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=w.useState(!1),s=e.orientation==="horizontal",l=R$(()=>{if(n.viewport){const c=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?c:u)}},10);return zk(n.viewport,l),zk(n.content,l),w.createElement(zF,{present:r||a},w.createElement(ite,at({"data-state":a?"visible":"hidden"},i,{ref:t})))}),ite=w.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,i=yf(lg,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=uIe(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 Apt(h,o.current,s,m)}return n==="horizontal"?w.createElement(cpt,at({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollLeft,m=Fhe(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(upt,at({},u,{ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const h=i.viewport.scrollTop,m=Fhe(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}),cpt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=yf(lg,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(lIe,at({"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":M$(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),fIe(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:tP(o.paddingLeft),paddingEnd:tP(o.paddingRight)}})}}))}),upt=w.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,a=yf(lg,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(lIe,at({"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":M$(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),fIe(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:tP(o.paddingTop),paddingEnd:tP(o.paddingBottom)}})}}))}),[dpt,sIe]=aIe(lg),lIe=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=yf(lg,n),[A,p]=w.useState(null),v=$x(t,T=>p(T)),y=w.useRef(null),x=w.useRef(""),k=m.viewport,C=r.content-r.viewport,S=mb(u),N=mb(l),E=R$(f,10);function D(T){if(y.current){const R=T.clientX-y.current.left,B=T.clientY-y.current.top;c({x:R,y:B})}}return w.useEffect(()=>{const T=R=>{const B=R.target;A?.contains(B)&&S(R,C)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[k,A,C,S]),w.useEffect(N,[r,N]),zk(A,E),zk(m.content,E),w.createElement(dpt,{scope:n,scrollbar:A,hasThumb:i,onThumbChange:mb(a),onThumbPointerUp:mb(o),onThumbPositionChange:N,onThumbPointerDown:mb(s)},w.createElement(UF.div,at({},h,{ref:v,style:{position:"absolute",...h.style},onPointerDown:Ub(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:Ub(e.onPointerMove,D),onPointerUp:Ub(e.onPointerUp,T=>{const R=T.target;R.hasPointerCapture(T.pointerId)&&R.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=x.current,y.current=null})})))}),qK="ScrollAreaThumb",fpt=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=sIe(qK,e.__scopeScrollArea);return w.createElement(zF,{present:n||i.hasThumb},w.createElement(hpt,at({ref:t},r)))}),hpt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,a=yf(qK,n),o=sIe(qK,n),{onThumbPositionChange:s}=o,l=$x(t,f=>o.onThumbChange(f)),c=w.useRef(),u=R$(()=>{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=gpt(f,s);c.current=m,s()}};return s(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,u,s]),w.createElement(UF.div,at({"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:Ub(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:Ub(e.onPointerUp,o.onThumbPointerUp)}))}),cIe="ScrollAreaCorner",mpt=w.forwardRef((e,t)=>{const n=yf(cIe,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?w.createElement(ppt,at({},e,{ref:t})):null}),ppt=w.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=yf(cIe,n),[a,o]=w.useState(0),[s,l]=w.useState(0),c=!!(a&&s);return zk(i.scrollbarX,()=>{var u;const f=((u=i.scrollbarX)===null||u===void 0?void 0:u.offsetHeight)||0;i.onCornerHeightChange(f),l(f)}),zk(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(UF.div,at({},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 tP(e){return e?parseInt(e,10):0}function uIe(e,t){const n=e/t;return isNaN(n)?0:n}function M$(e){const t=uIe(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Apt(e,t,n,r="ltr"){const i=M$(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 dIe([l,c],f)(e)}function Fhe(e,t,n="ltr"){const r=M$(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=ept(e,l);return dIe([0,o],[0,s])(c)}function dIe(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 fIe(e,t){return e>0&&e<t}const gpt=(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 R$(e,t){const n=mb(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 zk(e,t){const n=mb(t);QK(()=>{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 vpt=rpt,ypt=apt,Dhe=opt,The=fpt,bpt=mpt;var xpt=un((e,{scrollbarSize:t,offsetScrollbars:n,scrollbarHovered:r,hidden:i})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:n?Ue(t):void 0,paddingBottom:n?Ue(t):void 0},scrollbar:{display:i?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${Ue(t)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.colors.gray[0],[`& .${Lb("thumb")}`]:{backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.5):e.fn.rgba(e.black,.5)}},'&[data-orientation="vertical"]':{width:Ue(t)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:Ue(t)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:Lb("thumb"),flex:1,backgroundColor:e.colorScheme==="dark"?e.fn.rgba(e.white,.4):e.fn.rgba(e.black,.4),borderRadius:Ue(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:Ue(44),minHeight:Ue(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}})),wpt=Object.defineProperty,kpt=Object.defineProperties,Spt=Object.getOwnPropertyDescriptors,nP=Object.getOwnPropertySymbols,hIe=Object.prototype.hasOwnProperty,mIe=Object.prototype.propertyIsEnumerable,Ohe=(e,t,n)=>t in e?wpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GK=(e,t)=>{for(var n in t||(t={}))hIe.call(t,n)&&Ohe(e,n,t[n]);if(nP)for(var n of nP(t))mIe.call(t,n)&&Ohe(e,n,t[n]);return e},pIe=(e,t)=>kpt(e,Spt(t)),AIe=(e,t)=>{var n={};for(var r in e)hIe.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&&mIe.call(e,r)&&(n[r]=e[r]);return n};const gIe={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},$$=w.forwardRef((e,t)=>{const n=Vt("ScrollArea",gIe,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=AIe(n,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[x,k]=w.useState(!1),C=pu(),{classes:S,cx:N}=xpt({scrollbarSize:s,offsetScrollbars:f,scrollbarHovered:x,hidden:c==="never"},{name:"ScrollArea",classNames:a,styles:o,unstyled:A,variant:p});return U.createElement(vpt,{type:c==="never"?"always":c,scrollHideDelay:l,dir:u||C.dir,ref:t,asChild:!0},U.createElement(En,GK({className:N(S.root,i)},y),U.createElement(ypt,pIe(GK({},v),{className:S.viewport,ref:h,onScroll:typeof m=="function"?({currentTarget:E})=>m({x:E.scrollLeft,y:E.scrollTop}):void 0}),r),U.createElement(Dhe,{orientation:"horizontal",className:S.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},U.createElement(The,{className:S.thumb})),U.createElement(Dhe,{orientation:"vertical",className:S.scrollbar,forceMount:!0,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},U.createElement(The,{className:S.thumb})),U.createElement(bpt,{className:S.corner})))}),vIe=w.forwardRef((e,t)=>{const n=Vt("ScrollAreaAutosize",gIe,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=AIe(n,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return U.createElement(En,pIe(GK({},y),{ref:t,sx:[{display:"flex"},...Sje(A)]}),U.createElement(En,{sx:{display:"flex",flexDirection:"column",flex:1}},U.createElement($$,{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)))});vIe.displayName="@mantine/core/ScrollAreaAutosize";$$.displayName="@mantine/core/ScrollArea";$$.Autosize=vIe;const Cpt=$$;var _pt=Object.defineProperty,Npt=Object.defineProperties,Ept=Object.getOwnPropertyDescriptors,rP=Object.getOwnPropertySymbols,yIe=Object.prototype.hasOwnProperty,bIe=Object.prototype.propertyIsEnumerable,jhe=(e,t,n)=>t in e?_pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bhe=(e,t)=>{for(var n in t||(t={}))yIe.call(t,n)&&jhe(e,n,t[n]);if(rP)for(var n of rP(t))bIe.call(t,n)&&jhe(e,n,t[n]);return e},Fpt=(e,t)=>Npt(e,Ept(t)),Dpt=(e,t)=>{var n={};for(var r in e)yIe.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&&bIe.call(e,r)&&(n[r]=e[r]);return n};const L$=w.forwardRef((e,t)=>{var n=e,{style:r}=n,i=Dpt(n,["style"]);return U.createElement(Cpt,Fpt(Bhe({},i),{style:Bhe({width:"100%"},r),viewportProps:{tabIndex:-1},viewportRef:t}),i.children)});L$.displayName="@mantine/core/SelectScrollArea";var Tpt=un(()=>({dropdown:{},itemsWrapper:{padding:Ue(4),display:"flex",width:"100%",boxSizing:"border-box"}})),Opt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},J1=new WeakMap,$O=new WeakMap,LO={},t7=0,xIe=function(e){return e&&(e.host||xIe(e.parentNode))},jpt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=xIe(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})},Bpt=function(e,t,n,r){var i=jpt(t,Array.isArray(e)?e:[e]);LO[n]||(LO[n]=new WeakMap);var a=LO[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=(J1.get(h)||0)+1,v=(a.get(h)||0)+1;J1.set(h,p),a.set(h,v),o.push(h),p===1&&A&&$O.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(),t7++,function(){o.forEach(function(f){var h=J1.get(f)-1,m=a.get(f)-1;J1.set(f,h),a.set(f,m),h||($O.has(f)||f.removeAttribute(r),$O.delete(f)),m||f.removeAttribute(n)}),t7--,t7||(J1=new WeakMap,J1=new WeakMap,$O=new WeakMap,LO={})}},U$=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=Opt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Bpt(r,i,n,"aria-hidden")):function(){return null}};const Ipt=["top","right","bottom","left"],kh=Math.min,Yl=Math.max,iP=Math.round,UO=Math.floor,ap=e=>({x:e,y:e}),Ppt={left:"right",right:"left",bottom:"top",top:"bottom"},Mpt={start:"end",end:"start"};function WK(e,t,n){return Yl(e,kh(t,n))}function pp(e,t){return typeof e=="function"?e(t):e}function Sh(e){return e.split("-")[0]}function eC(e){return e.split("-")[1]}function ate(e){return e==="x"?"y":"x"}function ote(e){return e==="y"?"height":"width"}const Rpt=new Set(["top","bottom"]);function dh(e){return Rpt.has(Sh(e))?"y":"x"}function ste(e){return ate(dh(e))}function $pt(e,t,n){n===void 0&&(n=!1);const r=eC(e),i=ste(e),a=ote(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 Lpt(e){const t=aP(e);return[KK(e),t,KK(t)]}function KK(e){return e.replace(/start|end/g,t=>Mpt[t])}const Ihe=["left","right"],Phe=["right","left"],Upt=["top","bottom"],zpt=["bottom","top"];function Hpt(e,t,n){switch(e){case"top":case"bottom":return n?t?Phe:Ihe:t?Ihe:Phe;case"left":case"right":return t?Upt:zpt;default:return[]}}function Vpt(e,t,n,r){const i=eC(e);let a=Hpt(Sh(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(KK)))),a}function aP(e){return e.replace(/left|right|bottom|top/g,t=>Ppt[t])}function Qpt(e){return{top:0,right:0,bottom:0,left:0,...e}}function lte(e){return typeof e!="number"?Qpt(e):{top:e,right:e,bottom:e,left:e}}function Hk(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 Mhe(e,t,n){let{reference:r,floating:i}=e;const a=dh(t),o=ste(t),s=ote(o),l=Sh(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(eC(t)){case"start":m[o]-=h*(n&&c?-1:1);break;case"end":m[o]+=h*(n&&c?-1:1);break}return m}const qpt=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}=Mhe(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:C,reset:S}=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],...C}},S&&A<=50&&(A++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:u,y:f}=Mhe(c,h,l)),p=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:m}};async function Z2(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}=pp(t,e),A=lte(m),v=s[h?f==="floating"?"reference":"floating":f],y=Hk(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)),C=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},S=Hk(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:k,strategy:l}):x);return{top:(y.top-S.top+A.top)/C.y,bottom:(S.bottom-y.bottom+A.bottom)/C.y,left:(y.left-S.left+A.left)/C.x,right:(S.right-y.right+A.right)/C.x}}const Gpt=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}=pp(e,t)||{};if(c==null)return{};const f=lte(u),h={x:n,y:r},m=ste(i),A=ote(m),p=await o.getDimensions(c),v=m==="y",y=v?"top":"left",x=v?"bottom":"right",k=v?"clientHeight":"clientWidth",C=a.reference[A]+a.reference[m]-h[m]-a.floating[A],S=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=C/2-S/2,T=E/2-p[A]/2-1,R=kh(f[y],T),B=kh(f[x],T),j=R,P=E-p[A]-B,$=E/2-p[A]/2+D,z=WK(j,$,P),I=!l.arrow&&eC(i)!=null&&$!==z&&a.reference[A]/2-($<j?R:B)-p[A]/2<0,V=I?$<j?$-j:$-P:0;return{[m]:h[m]+V,data:{[m]:z,centerOffset:$-z-V,...I&&{alignmentOffset:V}},reset:I}}}),Wpt=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}=pp(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const y=Sh(i),x=dh(s),k=Sh(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=h||(k||!p?[aP(s)]:Lpt(s)),N=A!=="none";!h&&N&&S.push(...Vpt(s,p,A,C));const E=[s,...S],D=await Z2(t,v),T=[];let R=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&T.push(D[y]),f){const $=$pt(i,o,C);T.push(D[$[0]],D[$[1]])}if(R=[...R,{placement:i,overflows:T}],!T.every($=>$<=0)){var B,j;const $=(((B=a.flip)==null?void 0:B.index)||0)+1,z=E[$];if(z&&(!(f==="alignment"?x!==dh(z):!1)||R.every(W=>dh(W.placement)===x?W.overflows[0]>0:!0)))return{data:{index:$,overflows:R},reset:{placement:z}};let I=(j=R.filter(V=>V.overflows[0]<=0).sort((V,W)=>V.overflows[1]-W.overflows[1])[0])==null?void 0:j.placement;if(!I)switch(m){case"bestFit":{var P;const V=(P=R.filter(W=>{if(N){const ee=dh(W.placement);return ee===x||ee==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(ee=>ee>0).reduce((ee,X)=>ee+X,0)]).sort((W,ee)=>W[1]-ee[1])[0])==null?void 0:P[0];V&&(I=V);break}case"initialPlacement":I=s;break}if(i!==I)return{reset:{placement:I}}}return{}}}};function Rhe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $he(e){return Ipt.some(t=>e[t]>=0)}const Kpt=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=pp(e,t);switch(r){case"referenceHidden":{const a=await Z2(t,{...i,elementContext:"reference"}),o=Rhe(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:$he(o)}}}case"escaped":{const a=await Z2(t,{...i,altBoundary:!0}),o=Rhe(a,n.floating);return{data:{escapedOffsets:o,escaped:$he(o)}}}default:return{}}}}};function wIe(e){const t=kh(...e.map(a=>a.left)),n=kh(...e.map(a=>a.top)),r=Yl(...e.map(a=>a.right)),i=Yl(...e.map(a=>a.bottom));return{x:t,y:n,width:r-t,height:i-n}}function Ypt(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=>Hk(wIe(i)))}const Xpt=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}=pp(e,t),u=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(r.reference))||[]),f=Ypt(u),h=Hk(wIe(u)),m=lte(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(dh(n)==="y"){const R=f[0],B=f[f.length-1],j=Sh(n)==="top",P=R.top,$=B.bottom,z=j?R.left:B.left,I=j?R.right:B.right,V=I-z,W=$-P;return{top:P,bottom:$,left:z,right:I,width:V,height:W,x:z,y:P}}const v=Sh(n)==="left",y=Yl(...f.map(R=>R.right)),x=kh(...f.map(R=>R.left)),k=f.filter(R=>v?R.left===x:R.right===y),C=k[0].top,S=k[k.length-1].bottom,N=x,E=y,D=E-N,T=S-C;return{top:C,bottom:S,left:N,right:E,width:D,height:T,x:N,y:C}}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}}:{}}}},kIe=new Set(["left","top"]);async function Zpt(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Sh(n),s=eC(n),l=dh(n)==="y",c=kIe.has(o)?-1:1,u=a&&l?-1:1,f=pp(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 Jpt=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 Zpt(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}}}}},eAt=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}=pp(e,t),c={x:n,y:r},u=await Z2(t,l),f=dh(Sh(i)),h=ate(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=WK(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=WK(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}}}}}},tAt=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}=pp(e,t),u={x:n,y:r},f=dh(i),h=ate(f);let m=u[h],A=u[f];const p=pp(s,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const k=h==="y"?"height":"width",C=a.reference[h]-a.floating[k]+v.mainAxis,S=a.reference[h]+a.reference[k]-v.mainAxis;m<C?m=C:m>S&&(m=S)}if(c){var y,x;const k=h==="y"?"width":"height",C=kIe.has(Sh(i)),S=a.reference[f]-a.floating[k]+(C&&((y=o.offset)==null?void 0:y[f])||0)+(C?0:v.crossAxis),N=a.reference[f]+a.reference[k]+(C?0:((x=o.offset)==null?void 0:x[f])||0)-(C?v.crossAxis:0);A<S?A=S:A>N&&(A=N)}return{[h]:m,[f]:A}}}},nAt=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}=pp(e,t),u=await Z2(t,c),f=Sh(i),h=eC(i),m=dh(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,C=kh(p-u[v],x),S=kh(A-u[y],k),N=!t.middlewareData.shift;let E=C,D=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=k),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=x),N&&!h){const R=Yl(u.left,0),B=Yl(u.right,0),j=Yl(u.top,0),P=Yl(u.bottom,0);m?D=A-2*(R!==0||B!==0?R+B:Yl(u.left,u.right)):E=p-2*(j!==0||P!==0?j+P:Yl(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 z$(){return typeof window<"u"}function tC(e){return SIe(e)?(e.nodeName||"").toLowerCase():"#document"}function ad(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dp(e){var t;return(t=(SIe(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function SIe(e){return z$()?e instanceof Node||e instanceof ad(e).Node:!1}function Ch(e){return z$()?e instanceof Element||e instanceof ad(e).Element:!1}function Ap(e){return z$()?e instanceof HTMLElement||e instanceof ad(e).HTMLElement:!1}function Lhe(e){return!z$()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ad(e).ShadowRoot}const rAt=new Set(["inline","contents"]);function HF(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=_h(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!rAt.has(i)}const iAt=new Set(["table","td","th"]);function aAt(e){return iAt.has(tC(e))}const oAt=[":popover-open",":modal"];function H$(e){return oAt.some(t=>{try{return e.matches(t)}catch{return!1}})}const sAt=["transform","translate","scale","rotate","perspective"],lAt=["transform","translate","scale","rotate","perspective","filter"],cAt=["paint","layout","strict","content"];function cte(e){const t=ute(),n=Ch(e)?_h(e):e;return sAt.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)||lAt.some(r=>(n.willChange||"").includes(r))||cAt.some(r=>(n.contain||"").includes(r))}function uAt(e){let t=fy(e);for(;Ap(t)&&!Vk(t);){if(cte(t))return t;if(H$(t))return null;t=fy(t)}return null}function ute(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const dAt=new Set(["html","body","#document"]);function Vk(e){return dAt.has(tC(e))}function _h(e){return ad(e).getComputedStyle(e)}function V$(e){return Ch(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function fy(e){if(tC(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lhe(e)&&e.host||Dp(e);return Lhe(t)?t.host:t}function CIe(e){const t=fy(e);return Vk(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ap(t)&&HF(t)?t:CIe(t)}function HA(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=CIe(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=ad(i);if(a){const s=YK(o);return t.concat(o,o.visualViewport||[],HF(i)?i:[],s&&n?HA(s):[])}return t.concat(i,HA(i,[],n))}function YK(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function _Ie(e){const t=_h(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ap(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=iP(n)!==a||iP(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function dte(e){return Ch(e)?e:e.contextElement}function hk(e){const t=dte(e);if(!Ap(t))return ap(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=_Ie(t);let o=(a?iP(n.width):n.width)/r,s=(a?iP(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const fAt=ap(0);function NIe(e){const t=ad(e);return!ute()||!t.visualViewport?fAt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hAt(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ad(e)?!1:t}function ox(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=dte(e);let o=ap(1);t&&(r?Ch(r)&&(o=hk(r)):o=hk(e));const s=hAt(a,n,r)?NIe(a):ap(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=ad(a),m=r&&Ch(r)?ad(r):r;let A=h,p=YK(A);for(;p&&r&&m!==A;){const v=hk(p),y=p.getBoundingClientRect(),x=_h(p),k=y.left+(p.clientLeft+parseFloat(x.paddingLeft))*v.x,C=y.top+(p.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,f*=v.y,l+=k,c+=C,A=ad(p),p=YK(A)}}return Hk({width:u,height:f,x:l,y:c})}function Q$(e,t){const n=V$(e).scrollLeft;return t?t.left+n:ox(Dp(e)).left+n}function EIe(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Q$(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function mAt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=Dp(r),s=t?H$(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=ap(1);const u=ap(0),f=Ap(r);if((f||!f&&!a)&&((tC(r)!=="body"||HF(o))&&(l=V$(r)),Ap(r))){const m=ox(r);c=hk(r),u.x=m.x+r.clientLeft,u.y=m.y+r.clientTop}const h=o&&!f&&!a?EIe(o,l):ap(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 pAt(e){return Array.from(e.getClientRects())}function AAt(e){const t=Dp(e),n=V$(e),r=e.ownerDocument.body,i=Yl(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Yl(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Q$(e);const s=-n.scrollTop;return _h(r).direction==="rtl"&&(o+=Yl(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}const Uhe=25;function gAt(e,t){const n=ad(e),r=Dp(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=ute();(!u||u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}const c=Q$(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<=Uhe&&(a-=A)}else c<=Uhe&&(a+=c);return{width:a,height:o,x:s,y:l}}const vAt=new Set(["absolute","fixed"]);function yAt(e,t){const n=ox(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ap(e)?hk(e):ap(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 zhe(e,t,n){let r;if(t==="viewport")r=gAt(e,n);else if(t==="document")r=AAt(Dp(e));else if(Ch(t))r=yAt(t,n);else{const i=NIe(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Hk(r)}function FIe(e,t){const n=fy(e);return n===t||!Ch(n)||Vk(n)?!1:_h(n).position==="fixed"||FIe(n,t)}function bAt(e,t){const n=t.get(e);if(n)return n;let r=HA(e,[],!1).filter(s=>Ch(s)&&tC(s)!=="body"),i=null;const a=_h(e).position==="fixed";let o=a?fy(e):e;for(;Ch(o)&&!Vk(o);){const s=_h(o),l=cte(o);!l&&s.position==="fixed"&&(i=null),(a?!l&&!i:!l&&s.position==="static"&&!!i&&vAt.has(i.position)||HF(o)&&!l&&FIe(e,o))?r=r.filter(u=>u!==o):i=s,o=fy(o)}return t.set(e,r),r}function xAt(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?H$(t)?[]:bAt(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((c,u)=>{const f=zhe(t,u,i);return c.top=Yl(f.top,c.top),c.right=kh(f.right,c.right),c.bottom=kh(f.bottom,c.bottom),c.left=Yl(f.left,c.left),c},zhe(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function wAt(e){const{width:t,height:n}=_Ie(e);return{width:t,height:n}}function kAt(e,t,n){const r=Ap(t),i=Dp(t),a=n==="fixed",o=ox(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=ap(0);function c(){l.x=Q$(i)}if(r||!r&&!a)if((tC(t)!=="body"||HF(i))&&(s=V$(t)),r){const m=ox(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?EIe(i,s):ap(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 n7(e){return _h(e).position==="static"}function Hhe(e,t){if(!Ap(e)||_h(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Dp(e)===n&&(n=n.ownerDocument.body),n}function DIe(e,t){const n=ad(e);if(H$(e))return n;if(!Ap(e)){let i=fy(e);for(;i&&!Vk(i);){if(Ch(i)&&!n7(i))return i;i=fy(i)}return n}let r=Hhe(e,t);for(;r&&aAt(r)&&n7(r);)r=Hhe(r,t);return r&&Vk(r)&&n7(r)&&!cte(r)?n:r||uAt(e)||n}const SAt=async function(e){const t=this.getOffsetParent||DIe,n=this.getDimensions,r=await n(e.floating);return{reference:kAt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function CAt(e){return _h(e).direction==="rtl"}const _At={convertOffsetParentRelativeRectToViewportRelativeRect:mAt,getDocumentElement:Dp,getClippingRect:xAt,getOffsetParent:DIe,getElementRects:SAt,getClientRects:pAt,getDimensions:wAt,getScale:hk,isElement:Ch,isRTL:CAt};function TIe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function NAt(e,t){let n=null,r;const i=Dp(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=UO(f),p=UO(i.clientWidth-(u+h)),v=UO(i.clientHeight-(f+m)),y=UO(u),k={rootMargin:-A+"px "+-p+"px "+-v+"px "+-y+"px",threshold:Yl(0,kh(1,l))||1};let C=!0;function S(N){const E=N[0].intersectionRatio;if(E!==l){if(!C)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!TIe(c,e.getBoundingClientRect())&&o(),C=!1}try{n=new IntersectionObserver(S,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,k)}n.observe(e)}return o(!0),a}function OIe(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=dte(e),u=i||a?[...c?HA(c):[],...HA(t)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const f=c&&s?NAt(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?ox(e):null;l&&v();function v(){const y=ox(e);p&&!TIe(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 fte=Jpt,q$=eAt,hte=Wpt,jIe=nAt,EAt=Kpt,oP=Gpt,BIe=Xpt,IIe=tAt,PIe=(e,t,n)=>{const r=new Map,i={platform:_At,...n},a={...i.platform,_c:r};return qpt(e,t,{...i,platform:a})},MIe=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?oP({element:t.current,padding:n}).fn(i):{}:t?oP({element:t,padding:n}).fn(i):{}}}};var _B=typeof document<"u"?w.useLayoutEffect:w.useEffect;function sP(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(!sP(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)&&!sP(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Vhe(e){const t=w.useRef(e);return _B(()=>{t.current=e}),t}function FAt(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);sP(c,r)||u(r);const f=w.useRef(null),h=w.useRef(null),m=w.useRef(s),A=Vhe(a),p=Vhe(i),[v,y]=w.useState(null),[x,k]=w.useState(null),C=w.useCallback(R=>{f.current!==R&&(f.current=R,y(R))},[]),S=w.useCallback(R=>{h.current!==R&&(h.current=R,k(R))},[]),N=w.useCallback(()=>{if(!f.current||!h.current)return;const R={placement:t,strategy:n,middleware:c};p.current&&(R.platform=p.current),PIe(f.current,h.current,R).then(B=>{const j={...B,isPositioned:!0};E.current&&!sP(m.current,j)&&(m.current=j,gf.flushSync(()=>{l(j)}))})},[c,t,n,p]);_B(()=>{o===!1&&m.current.isPositioned&&(m.current.isPositioned=!1,l(R=>({...R,isPositioned:!1})))},[o]);const E=w.useRef(!1);_B(()=>(E.current=!0,()=>{E.current=!1}),[]),_B(()=>{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:C,setFloating:S}),[C,S]),T=w.useMemo(()=>({reference:v,floating:x}),[v,x]);return w.useMemo(()=>({...s,update:N,refs:D,elements:T,reference:C,floating:S}),[s,N,D,T,C,S])}var Qk=typeof document<"u"?w.useLayoutEffect:w.useEffect;let r7=!1,DAt=0;const Qhe=()=>"floating-ui-"+DAt++;function TAt(){const[e,t]=w.useState(()=>r7?Qhe():void 0);return Qk(()=>{e==null&&t(Qhe())},[]),w.useEffect(()=>{r7||(r7=!0)},[]),e}const OAt=ix.useId,qhe=OAt||TAt;function jAt(){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 BAt=w.createContext(null),IAt=w.createContext(null),RIe=()=>{var e;return((e=w.useContext(BAt))==null?void 0:e.id)||null},mte=()=>w.useContext(IAt);function zv(e){return e?.ownerDocument||document}function PAt(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function MAt(){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 pte(e){return zv(e).defaultView||window}function Ym(e){return e?e instanceof pte(e).Element:!1}function $Ie(e){return e?e instanceof pte(e).HTMLElement:!1}function RAt(e){if(typeof ShadowRoot>"u")return!1;const t=pte(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $At(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(PAt())||t.test(MAt()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function LAt(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 LIe(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Ghe(e){const t=w.useRef(e);return Qk(()=>{t.current=e}),t}const Whe="data-floating-ui-safe-polygon";function NB(e,t,n){return n&&!LIe(n)?0:typeof e=="number"?e:e?.[t]}const UAt=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=mte(),v=RIe(),y=Ghe(i),x=Ghe(r),k=w.useRef(),C=w.useRef(),S=w.useRef(),N=w.useRef(),E=w.useRef(!0),D=w.useRef(!1),T=w.useRef(()=>{}),R=w.useCallback(()=>{var $;const z=($=u.current.openEvent)==null?void 0:$.type;return z?.includes("mouse")&&z!=="mousedown"},[u]);w.useEffect(()=>{if(!n)return;function $(){clearTimeout(C.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 $(){R()&&c(!1)}const z=zv(m).documentElement;return z.addEventListener("mouseleave",$),()=>{z.removeEventListener("mouseleave",$)}},[m,l,c,n,y,u,R]);const B=w.useCallback(function($){$===void 0&&($=!0);const z=NB(x.current,"close",k.current);z&&!S.current?(clearTimeout(C.current),C.current=setTimeout(()=>c(!1),z)):$&&(clearTimeout(C.current),c(!1))},[x,c]),j=w.useCallback(()=>{T.current(),S.current=void 0},[]),P=w.useCallback(()=>{if(D.current){const $=zv(A.floating.current).body;$.style.pointerEvents="",$.removeAttribute(Whe),D.current=!1}},[A]);return w.useEffect(()=>{if(!n)return;function $(){return u.current.openEvent?["click","mousedown"].includes(u.current.openEvent.type):!1}function z(W){if(clearTimeout(C.current),E.current=!1,a&&!LIe(k.current)||o>0&&NB(x.current,"open")===0)return;u.current.openEvent=W;const ee=NB(x.current,"open",k.current);ee?C.current=setTimeout(()=>{c(!0)},ee):c(!0)}function I(W){if($())return;T.current();const ee=zv(m);if(clearTimeout(N.current),y.current){l||clearTimeout(C.current),S.current=y.current({...e,tree:p,x:W.clientX,y:W.clientY,onClose(){P(),j(),B()}});const X=S.current;ee.addEventListener("mousemove",X),T.current=()=>{ee.removeEventListener("mousemove",X)};return}B()}function V(W){$()||y.current==null||y.current({...e,tree:p,x:W.clientX,y:W.clientY,onClose(){P(),j(),B()}})(W)}if(Ym(h)){const W=h;return l&&W.addEventListener("mouseleave",V),m?.addEventListener("mouseleave",V),s&&W.addEventListener("mousemove",z,{once:!0}),W.addEventListener("mouseenter",z),W.addEventListener("mouseleave",I),()=>{l&&W.removeEventListener("mouseleave",V),m?.removeEventListener("mouseleave",V),s&&W.removeEventListener("mousemove",z),W.removeEventListener("mouseenter",z),W.removeEventListener("mouseleave",I)}}},[h,m,n,e,a,o,s,B,j,P,c,l,p,x,y,u]),Qk(()=>{var $;if(n&&l&&($=y.current)!=null&&$.__options.blockPointerEvents&&R()){const V=zv(m).body;if(V.setAttribute(Whe,""),V.style.pointerEvents="none",D.current=!0,Ym(h)&&m){var z,I;const W=h,ee=p==null||(z=p.nodesRef.current.find(X=>X.id===v))==null||(I=z.context)==null?void 0:I.elements.floating;return ee&&(ee.style.pointerEvents=""),W.style.pointerEvents="auto",m.style.pointerEvents="auto",()=>{W.style.pointerEvents="",m.style.pointerEvents=""}}}},[n,l,v,m,h,p,y,u,R]),Qk(()=>{l||(k.current=void 0,j(),P())},[l,j,P]),w.useEffect(()=>()=>{j(),clearTimeout(C.current),clearTimeout(N.current),P()},[n,j,P]),w.useMemo(()=>{if(!n)return{};function $(z){k.current=z.pointerType}return{reference:{onPointerDown:$,onPointerEnter:$,onMouseMove(){l||o===0||(clearTimeout(N.current),N.current=setTimeout(()=>{E.current||c(!0)},o))}},floating:{onMouseEnter(){clearTimeout(C.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),B(!1)}}}},[f,n,o,l,c,B])},UIe=w.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),zIe=()=>w.useContext(UIe),zAt=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 Qk(()=>{i.currentId?o.current===null?o.current=i.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),o.current=null)},[i.currentId]),w.createElement(UIe.Provider,{value:w.useMemo(()=>({...i,setState:a,setCurrentId:s}),[i,a,s])},t)},HAt=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:i}=t;const{currentId:a,setCurrentId:o,initialDelay:s,setState:l,timeoutMs:c}=zIe();w.useEffect(()=>{a&&(l({delay:{open:1,close:NB(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 VAt(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 Khe(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&RAt(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function i7(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 QAt(e){return"composedPath"in e?e.composedPath()[0]:e.target}const qAt=ix.useInsertionEffect,GAt=qAt||(e=>e());function HIe(e){const t=w.useRef(()=>{});return GAt(()=>{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 EB(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 WAt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},KAt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},YAt=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}},XAt=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=mte(),k=RIe()!=null,C=HIe(typeof h=="function"?h:()=>!1),S=typeof h=="function"?C:h,N=w.useRef(!1),{escapeKeyBubbles:E,outsidePressBubbles:D}=YAt(y);return w.useEffect(()=>{if(!n||!u)return;c.current.__escapeKeyBubbles=E,c.current.__outsidePressBubbles=D;function T($){if($.key==="Escape"){const z=x?i7(x.nodesRef.current,a):[];if(z.length>0){let I=!0;if(z.forEach(V=>{var W;if((W=V.context)!=null&&W.open&&!V.context.dataRef.current.__escapeKeyBubbles){I=!1;return}}),!I)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}}function R($){const z=N.current;if(N.current=!1,z||typeof S=="function"&&!S($))return;const I=QAt($);if($Ie(I)&&l){const ee=l.ownerDocument.defaultView||window,X=I.scrollWidth>I.clientWidth,fe=I.scrollHeight>I.clientHeight;let H=fe&&$.offsetX>I.clientWidth;if(fe&&ee.getComputedStyle(I).direction==="rtl"&&(H=$.offsetX<=I.offsetWidth-I.clientWidth),H||X&&$.offsetY>I.clientHeight)return}const V=x&&i7(x.nodesRef.current,a).some(ee=>{var X;return EB($,(X=ee.context)==null?void 0:X.elements.floating)});if(EB($,l)||EB($,s)||V)return;const W=x?i7(x.nodesRef.current,a):[];if(W.length>0){let ee=!0;if(W.forEach(X=>{var fe;if((fe=X.context)!=null&&fe.open&&!X.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:k?{preventScroll:!0}:$At($)||LAt($)}}),r(!1)}function B(){r(!1)}const j=zv(l);f&&j.addEventListener("keydown",T),S&&j.addEventListener(m,R);let P=[];return v&&(Ym(s)&&(P=HA(s)),Ym(l)&&(P=P.concat(HA(l))),!Ym(o)&&o&&o.contextElement&&(P=P.concat(HA(o.contextElement)))),P=P.filter($=>{var z;return $!==((z=j.defaultView)==null?void 0:z.visualViewport)}),P.forEach($=>{$.addEventListener("scroll",B,{passive:!0})}),()=>{f&&j.removeEventListener("keydown",T),S&&j.removeEventListener(m,R),P.forEach($=>{$.removeEventListener("scroll",B)})}},[c,l,s,o,f,S,m,i,x,a,n,r,v,u,E,D,k]),w.useEffect(()=>{N.current=!1},[S,m]),w.useMemo(()=>u?{reference:{[WAt[p]]:()=>{A&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{[KAt[m]]:()=>{N.current=!0}}}:{},[u,i,A,m,p,r])},ZAt=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=zv(s).defaultView||window;function v(){!n&&$Ie(l)&&l===VAt(zv(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&&EB(i.current.openEvent,l)||(i.current.openEvent=A.nativeEvent,r(!0))},onBlur(A){h.current=!1;const p=A.relatedTarget,v=Ym(p)&&p.hasAttribute("data-floating-ui-focus-guard")&&p.getAttribute("data-type")==="outside";m.current=setTimeout(()=>{Khe(o.floating.current,p)||Khe(l,p)||v||r(!1)})}}}:{},[c,u,l,o,i,r])},JAt=function(e,t){let{open:n}=e,{enabled:r=!0,role:i="dialog"}=t===void 0?{}:t;const a=qhe(),o=qhe();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 Ate(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:r}=e,i=FAt(e),a=mte(),o=w.useRef(null),s=w.useRef({}),l=w.useState(()=>jAt())[0],[c,u]=w.useState(null),f=w.useCallback(y=>{const x=Ym(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;i.refs.setReference(x)},[i.refs]),h=w.useCallback(y=>{(Ym(y)||y===null)&&(o.current=y,u(y)),(Ym(i.refs.reference.current)||i.refs.reference.current===null||y!==null&&!Ym(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=HIe(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 Qk(()=>{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 a7(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 egt=function(e){e===void 0&&(e=[]);const t=e,n=w.useCallback(a=>a7(a,e,"reference"),t),r=w.useCallback(a=>a7(a,e,"floating"),t),i=w.useCallback(a=>a7(a,e,"item"),e.map(a=>a?.item));return w.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])};function VIe({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 OIe(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,i,n]),bl(()=>{t.update()},r),bl(()=>{a(o=>o+1)},[e])}function tgt(e,t){const n=[fte(e.offset)];return e.middlewares.shift&&n.push(q$({limiter:IIe()})),e.middlewares.flip&&n.push(hte()),e.middlewares.inline&&n.push(BIe()),n.push(MIe({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares.size||e.width==="target")&&n.push(jIe({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 ngt(e){const[t,n]=Fc({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=Ate({placement:e.position,middleware:tgt(e,()=>a)});return VIe({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies,floating:a}),bl(()=>{var o;(o=e.onPositionChange)==null||o.call(e,a.placement)},[a.placement]),bl(()=>{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 QIe={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"},[rgt,qIe]=vf(QIe.context);var igt=Object.defineProperty,agt=Object.defineProperties,ogt=Object.getOwnPropertyDescriptors,lP=Object.getOwnPropertySymbols,GIe=Object.prototype.hasOwnProperty,WIe=Object.prototype.propertyIsEnumerable,Yhe=(e,t,n)=>t in e?igt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zO=(e,t)=>{for(var n in t||(t={}))GIe.call(t,n)&&Yhe(e,n,t[n]);if(lP)for(var n of lP(t))WIe.call(t,n)&&Yhe(e,n,t[n]);return e},sgt=(e,t)=>agt(e,ogt(t)),lgt=(e,t)=>{var n={};for(var r in e)GIe.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&&WIe.call(e,r)&&(n[r]=e[r]);return n};const cgt={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},KIe=w.forwardRef((e,t)=>{const n=Vt("PopoverTarget",cgt,e),{children:r,refProp:i,popupType:a,shouldOverrideDefaultTargetId:o}=n,s=lgt(n,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!WS(r))throw new Error(QIe.children);const l=s,c=qIe(),u=Fp(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,zO(sgt(zO(zO(zO({},l),f),c.targetProps),{className:Nje(c.targetProps.className,l.className,r.props.className),[i]:u}),c.controlled?null:{onClick:c.onToggle}))});KIe.displayName="@mantine/core/PopoverTarget";var ugt=un((e,{radius:t,shadow:n})=>({dropdown:{position:"absolute",backgroundColor:e.white,background:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${Ue(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:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`,zIndex:1}})),dgt=Object.defineProperty,Xhe=Object.getOwnPropertySymbols,fgt=Object.prototype.hasOwnProperty,hgt=Object.prototype.propertyIsEnumerable,Zhe=(e,t,n)=>t in e?dgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ew=(e,t)=>{for(var n in t||(t={}))fgt.call(t,n)&&Zhe(e,n,t[n]);if(Xhe)for(var n of Xhe(t))hgt.call(t,n)&&Zhe(e,n,t[n]);return e};const Jhe={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function mgt({transition:e,state:t,duration:n,timingFunction:r}){const i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return typeof e=="string"?e in FO?ew(ew(ew({transitionProperty:FO[e].transitionProperty},i),FO[e].common),FO[e][Jhe[t]]):null:ew(ew(ew({transitionProperty:e.transitionProperty},i),e.common),e[Jhe[t]])}function pgt({duration:e,exitDuration:t,timingFunction:n,mounted:r,onEnter:i,onExit:a,onEntered:o,onExited:s}){const l=pu(),c=I$(),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 C=u?0:y?e:t;if(h(C),C===0)typeof x=="function"&&x(),typeof k=="function"&&k(),A(y?"entered":"exited");else{const S=window.setTimeout(()=>{typeof x=="function"&&x(),A(y?"entering":"exiting")},10);p.current=window.setTimeout(()=>{window.clearTimeout(S),typeof k=="function"&&k(),A(y?"entered":"exited")},C)}};return bl(()=>{v(r)},[r]),w.useEffect(()=>()=>window.clearTimeout(p.current),[]),{transitionDuration:f,transitionStatus:m,transitionTimingFunction:n||l.transitionTimingFunction}}function nC({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}=pgt({mounted:i,exitDuration:r,duration:n,timingFunction:o,onExit:s,onEntered:l,onEnter:c,onExited:u});return f===0?i?U.createElement(U.Fragment,null,a({})):e?a({display:"none"}):null:h==="exited"?e?a({display:"none"}):null:U.createElement(U.Fragment,null,a(mgt({transition:t,duration:f,state:h,timingFunction:m})))}nC.displayName="@mantine/core/Transition";function gte({children:e,active:t=!0,refProp:n="ref"}){const r=Idt(t),i=Fp(r,e?.ref);return WS(e)?w.cloneElement(e,{[n]:i}):e}gte.displayName="@mantine/core/FocusTrap";var Agt=Object.defineProperty,ggt=Object.defineProperties,vgt=Object.getOwnPropertyDescriptors,eme=Object.getOwnPropertySymbols,ygt=Object.prototype.hasOwnProperty,bgt=Object.prototype.propertyIsEnumerable,tme=(e,t,n)=>t in e?Agt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mv=(e,t)=>{for(var n in t||(t={}))ygt.call(t,n)&&tme(e,n,t[n]);if(eme)for(var n of eme(t))bgt.call(t,n)&&tme(e,n,t[n]);return e},HO=(e,t)=>ggt(e,vgt(t));function nme(e,t,n,r){return e==="center"||r==="center"?{top:t}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}function rme(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 xgt={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function wgt({position:e,arrowSize:t,arrowOffset:n,arrowRadius:r,arrowPosition:i,arrowX:a,arrowY:o,dir:s}){const[l,c="center"]=e.split("-"),u={width:Ue(t),height:Ue(t),transform:"rotate(45deg)",position:"absolute",[xgt[l]]:Ue(r)},f=Ue(-t/2);return l==="left"?HO(mv(mv({},u),nme(c,o,n,i)),{right:f,borderLeftColor:"transparent",borderBottomColor:"transparent"}):l==="right"?HO(mv(mv({},u),nme(c,o,n,i)),{left:f,borderRightColor:"transparent",borderTopColor:"transparent"}):l==="top"?HO(mv(mv({},u),rme(c,a,n,i,s)),{bottom:f,borderTopColor:"transparent",borderLeftColor:"transparent"}):l==="bottom"?HO(mv(mv({},u),rme(c,a,n,i,s)),{top:f,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var kgt=Object.defineProperty,Sgt=Object.defineProperties,Cgt=Object.getOwnPropertyDescriptors,cP=Object.getOwnPropertySymbols,YIe=Object.prototype.hasOwnProperty,XIe=Object.prototype.propertyIsEnumerable,ime=(e,t,n)=>t in e?kgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_gt=(e,t)=>{for(var n in t||(t={}))YIe.call(t,n)&&ime(e,n,t[n]);if(cP)for(var n of cP(t))XIe.call(t,n)&&ime(e,n,t[n]);return e},Ngt=(e,t)=>Sgt(e,Cgt(t)),Egt=(e,t)=>{var n={};for(var r in e)YIe.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&&XIe.call(e,r)&&(n[r]=e[r]);return n};const vte=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=Egt(n,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const h=pu();return l?U.createElement("div",Ngt(_gt({},f),{ref:t,style:wgt({position:r,arrowSize:i,arrowOffset:a,arrowRadius:o,arrowPosition:s,dir:h.dir,arrowX:c,arrowY:u})})):null});vte.displayName="@mantine/core/FloatingArrow";var Fgt=Object.defineProperty,Dgt=Object.defineProperties,Tgt=Object.getOwnPropertyDescriptors,uP=Object.getOwnPropertySymbols,ZIe=Object.prototype.hasOwnProperty,JIe=Object.prototype.propertyIsEnumerable,ame=(e,t,n)=>t in e?Fgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tw=(e,t)=>{for(var n in t||(t={}))ZIe.call(t,n)&&ame(e,n,t[n]);if(uP)for(var n of uP(t))JIe.call(t,n)&&ame(e,n,t[n]);return e},VO=(e,t)=>Dgt(e,Tgt(t)),Ogt=(e,t)=>{var n={};for(var r in e)ZIe.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&&JIe.call(e,r)&&(n[r]=e[r]);return n};const jgt={};function ePe(e){var t;const n=Vt("PopoverDropdown",jgt,e),{style:r,className:i,children:a,onKeyDownCapture:o}=n,s=Ogt(n,["style","className","children","onKeyDownCapture"]),l=qIe(),{classes:c,cx:u}=ugt({radius:l.radius,shadow:l.shadow},{name:l.__staticSelector,classNames:l.classNames,styles:l.styles,unstyled:l.unstyled,variant:l.variant}),f=Yje({opened:l.opened,shouldReturnFocus:l.returnFocus}),h=l.withRoles?{"aria-labelledby":l.getTargetId(),id:l.getDropdownId(),role:"dialog"}:{};return l.disabled?null:U.createElement(JS,VO(tw({},l.portalProps),{withinPortal:l.withinPortal}),U.createElement(nC,VO(tw({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 U.createElement(gte,{active:l.trapFocus},U.createElement(En,tw(VO(tw({},h),{tabIndex:-1,ref:l.floating,style:VO(tw(tw({},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:Ue(l.width)}),className:u(c.dropdown,i),onKeyDownCapture:hct(l.onClose,{active:l.closeOnEscape,onTrigger:f,onKeyDown:o}),"data-position":l.placement}),s),a,U.createElement(vte,{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})))}))}ePe.displayName="@mantine/core/PopoverDropdown";function tPe(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 ome=Object.getOwnPropertySymbols,Bgt=Object.prototype.hasOwnProperty,Igt=Object.prototype.propertyIsEnumerable,Pgt=(e,t)=>{var n={};for(var r in e)Bgt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ome)for(var r of ome(e))t.indexOf(r)<0&&Igt.call(e,r)&&(n[r]=e[r]);return n};const Mgt={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:Ep("popover"),__staticSelector:"Popover",width:"max-content"};function Nc(e){var t,n,r,i,a,o;const s=w.useRef(null),l=Vt("Popover",Mgt,e),{children:c,position:u,offset:f,onPositionChange:h,positionDependencies:m,opened:A,transitionProps:p,width:v,middlewares:y,withArrow:x,arrowSize:k,arrowOffset:C,arrowRadius:S,arrowPosition:N,unstyled:E,classNames:D,styles:T,closeOnClickOutside:R,withinPortal:B,portalProps:j,closeOnEscape:P,clickOutsideEvents:$,trapFocus:z,onClose:I,onOpen:V,onChange:W,zIndex:ee,radius:X,shadow:fe,id:H,defaultOpened:Q,__staticSelector:G,withRoles:ne,disabled:re,returnFocus:oe,variant:de,keepMounted:me}=l,ge=Pgt(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"]),[se,te]=w.useState(null),[we,Fe]=w.useState(null),Be=Rx(H),ie=pu(),Y=ngt({middlewares:y,width:v,position:tPe(ie.dir,u),offset:typeof f=="number"?f+(x?k/2:0):f,arrowRef:s,arrowOffset:C,onPositionChange:h,positionDependencies:m,opened:A,defaultOpened:Q,onChange:W,onOpen:V,onClose:I});Cdt(()=>Y.opened&&R&&Y.onClose(),$,[se,we]);const ae=w.useCallback(ce=>{te(ce),Y.floating.reference(ce)},[Y.floating.reference]),ue=w.useCallback(ce=>{Fe(ce),Y.floating.floating(ce)},[Y.floating.floating]);return U.createElement(rgt,{value:{returnFocus:oe,disabled:re,controlled:Y.controlled,reference:ae,floating:ue,x:Y.floating.x,y:Y.floating.y,arrowX:(r=(n=(t=Y.floating)==null?void 0:t.middlewareData)==null?void 0:n.arrow)==null?void 0:r.x,arrowY:(o=(a=(i=Y.floating)==null?void 0:i.middlewareData)==null?void 0:a.arrow)==null?void 0:o.y,opened:Y.opened,arrowRef:s,transitionProps:p,width:v,withArrow:x,arrowSize:k,arrowOffset:C,arrowRadius:S,arrowPosition:N,placement:Y.floating.placement,trapFocus:z,withinPortal:B,portalProps:j,zIndex:ee,radius:X,shadow:fe,closeOnEscape:P,onClose:Y.onClose,onToggle:Y.onToggle,getTargetId:()=>`${Be}-target`,getDropdownId:()=>`${Be}-dropdown`,withRoles:ne,targetProps:ge,__staticSelector:G,classNames:D,styles:T,unstyled:E,variant:de,keepMounted:me}},c)}Nc.Target=KIe;Nc.Dropdown=ePe;Nc.displayName="@mantine/core/Popover";var Rgt=Object.defineProperty,dP=Object.getOwnPropertySymbols,nPe=Object.prototype.hasOwnProperty,rPe=Object.prototype.propertyIsEnumerable,sme=(e,t,n)=>t in e?Rgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$gt=(e,t)=>{for(var n in t||(t={}))nPe.call(t,n)&&sme(e,n,t[n]);if(dP)for(var n of dP(t))rPe.call(t,n)&&sme(e,n,t[n]);return e},Lgt=(e,t)=>{var n={};for(var r in e)nPe.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&&rPe.call(e,r)&&(n[r]=e[r]);return n};function Ugt(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=Lgt(t,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:m}=Tpt(null,{name:l,styles:c,classNames:u,unstyled:f});return U.createElement(Nc.Dropdown,$gt({p:0,onMouseDown:A=>A.preventDefault()},h),U.createElement("div",{style:{maxHeight:Ue(i),display:"flex"}},U.createElement(En,{component:r||"div",id:`${o}-items`,"aria-labelledby":`${o}-label`,role:"listbox",onMouseDown:A=>A.preventDefault(),style:{flex:1,overflowY:r!==L$?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:s},U.createElement("div",{className:m.itemsWrapper,style:{flexDirection:a}},n))))}function ty({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 U.createElement(Nc,{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)}ty.Target=Nc.Target;ty.Dropdown=Ugt;var zgt=Object.defineProperty,Hgt=Object.defineProperties,Vgt=Object.getOwnPropertyDescriptors,fP=Object.getOwnPropertySymbols,iPe=Object.prototype.hasOwnProperty,aPe=Object.prototype.propertyIsEnumerable,lme=(e,t,n)=>t in e?zgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,QO=(e,t)=>{for(var n in t||(t={}))iPe.call(t,n)&&lme(e,n,t[n]);if(fP)for(var n of fP(t))aPe.call(t,n)&&lme(e,n,t[n]);return e},Qgt=(e,t)=>Hgt(e,Vgt(t)),qgt=(e,t)=>{var n={};for(var r in e)iPe.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&&aPe.call(e,r)&&(n[r]=e[r]);return n};function G$(e,t,n){const r=Vt(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:C,inputContainer:S,inputWrapperOrder:N,withAsterisk:E,variant:D}=r,T=qgt(r,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),R=Rx(x),{systemStyles:B,rest:j}=ZS(T),P=QO({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:R,size:k,style:C,inputContainer:S,inputWrapperOrder:N,withAsterisk:E,variant:D},y);return Qgt(QO({},j),{classNames:l,styles:c,unstyled:f,wrapperProps:QO(QO({},P),B),inputProps:{required:s,classNames:l,styles:c,unstyled:f,id:R,size:k,__staticSelector:h,error:o,variant:D}})}var Ggt=un((e,t,{size:n})=>({label:{display:"inline-block",fontSize:Dt({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}})),Wgt=Object.defineProperty,hP=Object.getOwnPropertySymbols,oPe=Object.prototype.hasOwnProperty,sPe=Object.prototype.propertyIsEnumerable,cme=(e,t,n)=>t in e?Wgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kgt=(e,t)=>{for(var n in t||(t={}))oPe.call(t,n)&&cme(e,n,t[n]);if(hP)for(var n of hP(t))sPe.call(t,n)&&cme(e,n,t[n]);return e},Ygt=(e,t)=>{var n={};for(var r in e)oPe.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&&sPe.call(e,r)&&(n[r]=e[r]);return n};const Xgt={labelElement:"label",size:"sm"},yte=w.forwardRef((e,t)=>{const n=Vt("InputLabel",Xgt,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=Ygt(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:v,cx:y}=Ggt(null,{name:["InputWrapper",h],classNames:s,styles:l,unstyled:c,variant:m,size:o});return U.createElement(En,Kgt({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&&U.createElement("span",{className:v.required,"aria-hidden":!0}," *"))});yte.displayName="@mantine/core/InputLabel";var Zgt=un((e,t,{size:n})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${Dt({size:n,sizes:e.fontSizes})} - ${Ue(2)})`,lineHeight:1.2,display:"block"}})),Jgt=Object.defineProperty,mP=Object.getOwnPropertySymbols,lPe=Object.prototype.hasOwnProperty,cPe=Object.prototype.propertyIsEnumerable,ume=(e,t,n)=>t in e?Jgt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,evt=(e,t)=>{for(var n in t||(t={}))lPe.call(t,n)&&ume(e,n,t[n]);if(mP)for(var n of mP(t))cPe.call(t,n)&&ume(e,n,t[n]);return e},tvt=(e,t)=>{var n={};for(var r in e)lPe.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&&cPe.call(e,r)&&(n[r]=e[r]);return n};const nvt={size:"sm"},bte=w.forwardRef((e,t)=>{const n=Vt("InputError",nvt,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=tvt(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=Zgt(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return U.createElement(Yn,evt({className:m(h.error,i),ref:t},f),r)});bte.displayName="@mantine/core/InputError";var rvt=un((e,t,{size:n})=>({description:{wordBreak:"break-word",color:e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6],fontSize:`calc(${Dt({size:n,sizes:e.fontSizes})} - ${Ue(2)})`,lineHeight:1.2,display:"block"}})),ivt=Object.defineProperty,pP=Object.getOwnPropertySymbols,uPe=Object.prototype.hasOwnProperty,dPe=Object.prototype.propertyIsEnumerable,dme=(e,t,n)=>t in e?ivt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,avt=(e,t)=>{for(var n in t||(t={}))uPe.call(t,n)&&dme(e,n,t[n]);if(pP)for(var n of pP(t))dPe.call(t,n)&&dme(e,n,t[n]);return e},ovt=(e,t)=>{var n={};for(var r in e)uPe.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&&dPe.call(e,r)&&(n[r]=e[r]);return n};const svt={size:"sm"},xte=w.forwardRef((e,t)=>{const n=Vt("InputDescription",svt,e),{children:r,className:i,classNames:a,styles:o,unstyled:s,size:l,__staticSelector:c,variant:u}=n,f=ovt(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:h,cx:m}=rvt(null,{name:["InputWrapper",c],classNames:a,styles:o,unstyled:s,variant:u,size:l});return U.createElement(Yn,avt({color:"dimmed",className:m(h.description,i),ref:t,unstyled:s},f),r)});xte.displayName="@mantine/core/InputDescription";const fPe=w.createContext({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),lvt=fPe.Provider,cvt=()=>w.useContext(fPe);function uvt(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 dvt=Object.defineProperty,fvt=Object.defineProperties,hvt=Object.getOwnPropertyDescriptors,fme=Object.getOwnPropertySymbols,mvt=Object.prototype.hasOwnProperty,pvt=Object.prototype.propertyIsEnumerable,hme=(e,t,n)=>t in e?dvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Avt=(e,t)=>{for(var n in t||(t={}))mvt.call(t,n)&&hme(e,n,t[n]);if(fme)for(var n of fme(t))pvt.call(t,n)&&hme(e,n,t[n]);return e},gvt=(e,t)=>fvt(e,hvt(t)),vvt=un(e=>({root:gvt(Avt({},e.fn.fontStyles()),{lineHeight:e.lineHeight})})),yvt=Object.defineProperty,bvt=Object.defineProperties,xvt=Object.getOwnPropertyDescriptors,AP=Object.getOwnPropertySymbols,hPe=Object.prototype.hasOwnProperty,mPe=Object.prototype.propertyIsEnumerable,mme=(e,t,n)=>t in e?yvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pv=(e,t)=>{for(var n in t||(t={}))hPe.call(t,n)&&mme(e,n,t[n]);if(AP)for(var n of AP(t))mPe.call(t,n)&&mme(e,n,t[n]);return e},pme=(e,t)=>bvt(e,xvt(t)),wvt=(e,t)=>{var n={};for(var r in e)hPe.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&&mPe.call(e,r)&&(n[r]=e[r]);return n};const kvt={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},pPe=w.forwardRef((e,t)=>{const n=Vt("InputWrapper",kvt,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:C,withAsterisk:S,variant:N}=n,E=wvt(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}=vvt(null,{classNames:A,styles:p,name:["InputWrapper",x],unstyled:k,variant:N,size:v}),R={classNames:A,styles:p,unstyled:k,size:v,variant:N,__staticSelector:x},B=typeof S=="boolean"?S:o,j=s?`${s}-error`:m?.id,P=s?`${s}-description`:h?.id,z=`${!!l&&typeof l!="boolean"?j:""} ${c?P:""}`,I=z.trim().length>0?z.trim():void 0,V=i&&U.createElement(yte,pv(pv({key:"label",labelElement:u,id:s?`${s}-label`:void 0,htmlFor:s,required:B},R),f),i),W=c&&U.createElement(xte,pme(pv(pv({key:"description"},h),R),{size:h?.size||R.size,id:h?.id||P}),c),ee=U.createElement(w.Fragment,{key:"input"},y(a)),X=typeof l!="boolean"&&l&&U.createElement(bte,pme(pv(pv({},m),R),{size:m?.size||R.size,key:"error",id:m?.id||j}),l),fe=C.map(H=>{switch(H){case"label":return V;case"input":return ee;case"description":return W;case"error":return X;default:return null}});return U.createElement(lvt,{value:pv({describedBy:I},uvt(C,{hasDescription:!!W,hasError:!!X}))},U.createElement(En,pv({className:T(D.root,r),ref:t},E),fe))});pPe.displayName="@mantine/core/InputWrapper";var Svt=Object.defineProperty,gP=Object.getOwnPropertySymbols,APe=Object.prototype.hasOwnProperty,gPe=Object.prototype.propertyIsEnumerable,Ame=(e,t,n)=>t in e?Svt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cvt=(e,t)=>{for(var n in t||(t={}))APe.call(t,n)&&Ame(e,n,t[n]);if(gP)for(var n of gP(t))gPe.call(t,n)&&Ame(e,n,t[n]);return e},_vt=(e,t)=>{var n={};for(var r in e)APe.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&&gPe.call(e,r)&&(n[r]=e[r]);return n};const Nvt={},vPe=w.forwardRef((e,t)=>{const n=Vt("InputPlaceholder",Nvt,e),{sx:r}=n,i=_vt(n,["sx"]);return U.createElement(En,Cvt({component:"span",sx:[a=>a.fn.placeholderStyles(),...Sje(r)],ref:t},i))});vPe.displayName="@mantine/core/InputPlaceholder";var Evt=Object.defineProperty,Fvt=Object.defineProperties,Dvt=Object.getOwnPropertyDescriptors,gme=Object.getOwnPropertySymbols,Tvt=Object.prototype.hasOwnProperty,Ovt=Object.prototype.propertyIsEnumerable,vme=(e,t,n)=>t in e?Evt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qO=(e,t)=>{for(var n in t||(t={}))Tvt.call(t,n)&&vme(e,n,t[n]);if(gme)for(var n of gme(t))Ovt.call(t,n)&&vme(e,n,t[n]);return e},o7=(e,t)=>Fvt(e,Dvt(t));const Kc={xs:Ue(30),sm:Ue(36),md:Ue(42),lg:Ue(50),xl:Ue(60)},jvt=["default","filled","unstyled"];function Bvt({theme:e,variant:t}){return jvt.includes(t)?t==="default"?{border:`${Ue(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:`${Ue(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:Ue(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}var Ivt=un((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:Dt({size:f,sizes:Kc}),paddingLeft:`calc(${Dt({size:f,sizes:Kc})} / 3)`,paddingRight:a?i||Dt({size:f,sizes:Kc}):`calc(${Dt({size:f,sizes:Kc})} / 3)`,borderRadius:e.fn.radius(n)}:u==="unstyled"&&a?{paddingRight:i||Dt({size:f,sizes:Kc})}: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:o7(qO(qO(o7(qO({},e.fn.fontStyles()),{height:t?u==="unstyled"?void 0:"auto":Dt({size:f,sizes:Kc}),WebkitTapHighlightColor:"transparent",lineHeight:t?e.lineHeight:`calc(${Dt({size:f,sizes:Kc})} - ${Ue(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:Dt({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}),Bvt({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"?Ue(o):Dt({size:f,sizes:Kc})},"&::placeholder":o7(qO({},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?Ue(o):Dt({size:f,sizes:Kc}),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||Dt({size:f,sizes:Kc})}}}),Pvt=Object.defineProperty,Mvt=Object.defineProperties,Rvt=Object.getOwnPropertyDescriptors,vP=Object.getOwnPropertySymbols,yPe=Object.prototype.hasOwnProperty,bPe=Object.prototype.propertyIsEnumerable,yme=(e,t,n)=>t in e?Pvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GO=(e,t)=>{for(var n in t||(t={}))yPe.call(t,n)&&yme(e,n,t[n]);if(vP)for(var n of vP(t))bPe.call(t,n)&&yme(e,n,t[n]);return e},bme=(e,t)=>Mvt(e,Rvt(t)),$vt=(e,t)=>{var n={};for(var r in e)yPe.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&&bPe.call(e,r)&&(n[r]=e[r]);return n};const Lvt={size:"sm",variant:"default"},Lx=w.forwardRef((e,t)=>{const n=Vt("Input",Lvt,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:C,sx:S,unstyled:N,pointer:E}=n,D=$vt(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:R,describedBy:B}=cvt(),{classes:j,cx:P}=Ivt({radius:A,multiline:C,invalid:!!i,rightSectionWidth:u?Ue(u):void 0,iconWidth:f,withRightSection:!!h,offsetBottom:T,offsetTop:R,pointer:E},{classNames:y,styles:x,name:["Input",k],unstyled:N,variant:s,size:p}),{systemStyles:$,rest:z}=ZS(D);return U.createElement(En,GO(GO({className:P(j.wrapper,r),sx:S,style:c},$),v),l&&U.createElement("div",{className:j.icon},l),U.createElement(En,bme(GO({component:"input"},z),{ref:t,required:a,"aria-invalid":!!i,"aria-describedby":B,disabled:o,"data-disabled":o||void 0,"data-with-icon":!!l||void 0,"data-invalid":!!i||void 0,className:j.input})),h&&U.createElement("div",bme(GO({},m),{className:j.rightSection}),h))});Lx.displayName="@mantine/core/Input";Lx.Wrapper=pPe;Lx.Label=yte;Lx.Description=xte;Lx.Error=bte;Lx.Placeholder=vPe;const xl=Lx;var Uvt=Object.defineProperty,zvt=Object.defineProperties,Hvt=Object.getOwnPropertyDescriptors,xme=Object.getOwnPropertySymbols,Vvt=Object.prototype.hasOwnProperty,Qvt=Object.prototype.propertyIsEnumerable,wme=(e,t,n)=>t in e?Uvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s7=(e,t)=>{for(var n in t||(t={}))Vvt.call(t,n)&&wme(e,n,t[n]);if(xme)for(var n of xme(t))Qvt.call(t,n)&&wme(e,n,t[n]);return e},qvt=(e,t)=>zvt(e,Hvt(t));const Gvt=["light","filled","outline","dot","gradient"],l7={xs:{fontSize:Ue(9),height:Ue(16)},sm:{fontSize:Ue(10),height:Ue(18)},md:{fontSize:Ue(11),height:Ue(20)},lg:{fontSize:Ue(13),height:Ue(26)},xl:{fontSize:Ue(16),height:Ue(32)}},Wvt={xs:Ue(4),sm:Ue(4),md:Ue(6),lg:Ue(8),xl:Ue(10)};function Kvt({theme:e,variant:t,color:n,size:r,gradient:i}){if(!Gvt.includes(t))return null;if(t==="dot"){const o=Dt({size:r,sizes:Wvt});return{backgroundColor:"transparent",color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],border:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[3]:e.colors.gray[3]}`,paddingLeft:`calc(${Dt({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:`${Ue(t==="gradient"?0:1)} solid ${a.border}`}}var Yvt=un((e,{color:t,radius:n,gradient:r,fullWidth:i},{variant:a,size:o})=>{const{fontSize:s,height:l}=o in l7?l7[o]:l7.md;return{leftSection:{marginRight:`calc(${e.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${e.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:s7(qvt(s7(s7({},e.fn.focusStyles()),e.fn.fontStyles()),{fontSize:s,height:l,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${l} - ${Ue(2)})`,textDecoration:"none",padding:`0 calc(${Dt({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:Ue(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),Kvt({theme:e,variant:a,color:t,size:o,gradient:r}))}}),Xvt=Object.defineProperty,yP=Object.getOwnPropertySymbols,xPe=Object.prototype.hasOwnProperty,wPe=Object.prototype.propertyIsEnumerable,kme=(e,t,n)=>t in e?Xvt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zvt=(e,t)=>{for(var n in t||(t={}))xPe.call(t,n)&&kme(e,n,t[n]);if(yP)for(var n of yP(t))wPe.call(t,n)&&kme(e,n,t[n]);return e},Jvt=(e,t)=>{var n={};for(var r in e)xPe.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&&wPe.call(e,r)&&(n[r]=e[r]);return n};const eyt={variant:"light",size:"md",radius:"xl"},kPe=w.forwardRef((e,t)=>{const n=Vt("Badge",eyt,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=Jvt(n,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:y,cx:x}=Yvt({fullWidth:o,color:i,radius:f,gradient:h},{classNames:m,styles:A,name:"Badge",unstyled:p,variant:a,size:l});return U.createElement(En,Zvt({className:x(y.root,r),ref:t},v),c&&U.createElement("span",{className:y.leftSection},c),U.createElement("span",{className:y.inner},s),u&&U.createElement("span",{className:y.rightSection},u))});kPe.displayName="@mantine/core/Badge";const XK=kPe,tyt={xs:Ue(12),sm:Ue(18),md:Ue(24),lg:Ue(34),xl:Ue(42)};var nyt=un((e,{color:t,transitionDuration:n},{size:r})=>{const i=Dt({size:r,sizes:tyt}),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:`${Ue(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)`}}}}}),ryt=Object.defineProperty,bP=Object.getOwnPropertySymbols,SPe=Object.prototype.hasOwnProperty,CPe=Object.prototype.propertyIsEnumerable,Sme=(e,t,n)=>t in e?ryt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iyt=(e,t)=>{for(var n in t||(t={}))SPe.call(t,n)&&Sme(e,n,t[n]);if(bP)for(var n of bP(t))CPe.call(t,n)&&Sme(e,n,t[n]);return e},ayt=(e,t)=>{var n={};for(var r in e)SPe.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&&CPe.call(e,r)&&(n[r]=e[r]);return n};const oyt={size:"md",transitionDuration:300},wte=w.forwardRef((e,t)=>{const n=Vt("Burger",oyt,e),{className:r,opened:i,color:a,size:o,classNames:s,styles:l,transitionDuration:c,variant:u}=n,f=ayt(n,["className","opened","color","size","classNames","styles","transitionDuration","variant"]),{classes:h,cx:m}=nyt({color:a,transitionDuration:c},{classNames:s,styles:l,name:"Burger",variant:u,size:o});return U.createElement(id,iyt({className:m(h.root,r),ref:t},f),U.createElement("div",{"data-opened":i||void 0,className:h.burger}))});wte.displayName="@mantine/core/Burger";var syt=un((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:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`}}})),lyt=Object.defineProperty,xP=Object.getOwnPropertySymbols,_Pe=Object.prototype.hasOwnProperty,NPe=Object.prototype.propertyIsEnumerable,Cme=(e,t,n)=>t in e?lyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cyt=(e,t)=>{for(var n in t||(t={}))_Pe.call(t,n)&&Cme(e,n,t[n]);if(xP)for(var n of xP(t))NPe.call(t,n)&&Cme(e,n,t[n]);return e},uyt=(e,t)=>{var n={};for(var r in e)_Pe.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&&NPe.call(e,r)&&(n[r]=e[r]);return n};const dyt={},EPe=w.forwardRef((e,t)=>{const n=Vt("Paper",dyt,e),{className:r,children:i,radius:a,withBorder:o,shadow:s,unstyled:l,variant:c}=n,u=uyt(n,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:f,cx:h}=syt({radius:a,shadow:s},{name:"Paper",unstyled:l,variant:c});return U.createElement(En,cyt({className:h(f.root,r),"data-with-border":o||void 0,ref:t},u),i)});EPe.displayName="@mantine/core/Paper";const cg=EPe,FPe=w.createContext({padding:0}),fyt=FPe.Provider,hyt=()=>w.useContext(FPe).padding;var myt=un((e,{padding:t,withBorder:n,inheritPadding:r})=>{const i=Dt({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?`${Ue(1)} solid ${o}`:void 0,borderBottom:n?`${Ue(1)} solid ${o}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:a,borderTop:0,borderBottom:n?`${Ue(1)} solid ${o}`:void 0},"&[data-last]":{marginBottom:a,borderBottom:0}}}}),pyt=Object.defineProperty,wP=Object.getOwnPropertySymbols,DPe=Object.prototype.hasOwnProperty,TPe=Object.prototype.propertyIsEnumerable,_me=(e,t,n)=>t in e?pyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ayt=(e,t)=>{for(var n in t||(t={}))DPe.call(t,n)&&_me(e,n,t[n]);if(wP)for(var n of wP(t))TPe.call(t,n)&&_me(e,n,t[n]);return e},gyt=(e,t)=>{var n={};for(var r in e)DPe.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&&TPe.call(e,r)&&(n[r]=e[r]);return n};const vyt={withBorder:!1,inheritPadding:!1},OPe=w.forwardRef((e,t)=>{const n=Vt("CardSection",vyt,e),{className:r,withBorder:i,inheritPadding:a,unstyled:o,variant:s}=n,l=gyt(n,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:c,cx:u}=myt({padding:hyt(),withBorder:i,inheritPadding:a},{name:"Card",unstyled:o,variant:s});return U.createElement(En,Ayt({className:u(c.cardSection,r),ref:t},l))});OPe.displayName="@mantine/core/CardSection";const jPe=OPe;var yyt=un(e=>({root:{position:"relative",overflow:"hidden",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white}})),byt=Object.defineProperty,kP=Object.getOwnPropertySymbols,BPe=Object.prototype.hasOwnProperty,IPe=Object.prototype.propertyIsEnumerable,Nme=(e,t,n)=>t in e?byt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xyt=(e,t)=>{for(var n in t||(t={}))BPe.call(t,n)&&Nme(e,n,t[n]);if(kP)for(var n of kP(t))IPe.call(t,n)&&Nme(e,n,t[n]);return e},wyt=(e,t)=>{var n={};for(var r in e)BPe.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&&IPe.call(e,r)&&(n[r]=e[r]);return n};const kyt={padding:"md"},kte=w.forwardRef((e,t)=>{const n=Vt("Card",kyt,e),{className:r,padding:i,radius:a,children:o,unstyled:s,variant:l}=n,c=wyt(n,["className","padding","radius","children","unstyled","variant"]),{classes:u,cx:f}=yyt(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===jPe?w.cloneElement(A,{variant:l,padding:i,"data-first":p===0||void 0,"data-last":p===h.length-1||void 0}):A);return U.createElement(fyt,{value:{padding:i}},U.createElement(cg,xyt({className:f(u.root,r),radius:a,p:i,ref:t},c),m))});kte.Section=jPe;kte.displayName="@mantine/core/Card";const SP=kte,PPe=w.createContext(null),Syt=PPe.Provider,Cyt=()=>w.useContext(PPe);var _yt=Object.defineProperty,CP=Object.getOwnPropertySymbols,MPe=Object.prototype.hasOwnProperty,RPe=Object.prototype.propertyIsEnumerable,Eme=(e,t,n)=>t in e?_yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fme=(e,t)=>{for(var n in t||(t={}))MPe.call(t,n)&&Eme(e,n,t[n]);if(CP)for(var n of CP(t))RPe.call(t,n)&&Eme(e,n,t[n]);return e},Nyt=(e,t)=>{var n={};for(var r in e)MPe.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&&RPe.call(e,r)&&(n[r]=e[r]);return n};const Eyt={size:"sm"},$Pe=w.forwardRef((e,t)=>{const n=Vt("CheckboxGroup",Eyt,e),{children:r,value:i,defaultValue:a,onChange:o,size:s,wrapperProps:l}=n,c=Nyt(n,["children","value","defaultValue","onChange","size","wrapperProps"]),[u,f]=Fc({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 U.createElement(Syt,{value:{value:u,onChange:h,size:s}},U.createElement(xl.Wrapper,Fme(Fme({labelElement:"div",size:s,__staticSelector:"CheckboxGroup",ref:t},l),c),r))});$Pe.displayName="@mantine/core/CheckboxGroup";var Fyt=Object.defineProperty,_P=Object.getOwnPropertySymbols,LPe=Object.prototype.hasOwnProperty,UPe=Object.prototype.propertyIsEnumerable,Dme=(e,t,n)=>t in e?Fyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NP=(e,t)=>{for(var n in t||(t={}))LPe.call(t,n)&&Dme(e,n,t[n]);if(_P)for(var n of _P(t))UPe.call(t,n)&&Dme(e,n,t[n]);return e},zPe=(e,t)=>{var n={};for(var r in e)LPe.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&&UPe.call(e,r)&&(n[r]=e[r]);return n};function HPe(e){const t=e,{width:n,height:r,style:i}=t,a=zPe(t,["width","height","style"]);return U.createElement("svg",NP({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:NP({width:n,height:r},i)},a),U.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 Dyt(e){var t=e,{indeterminate:n}=t,r=zPe(t,["indeterminate"]);return n?U.createElement("svg",NP({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},r),U.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):U.createElement(HPe,NP({},r))}var Tyt=Object.defineProperty,Oyt=Object.defineProperties,jyt=Object.getOwnPropertyDescriptors,Tme=Object.getOwnPropertySymbols,Byt=Object.prototype.hasOwnProperty,Iyt=Object.prototype.propertyIsEnumerable,Ome=(e,t,n)=>t in e?Tyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jme=(e,t)=>{for(var n in t||(t={}))Byt.call(t,n)&&Ome(e,n,t[n]);if(Tme)for(var n of Tme(t))Iyt.call(t,n)&&Ome(e,n,t[n]);return e},Bme=(e,t)=>Oyt(e,jyt(t));const Pyt={xs:Ue(16),sm:Ue(20),md:Ue(24),lg:Ue(30),xl:Ue(36)};var Myt=un((e,{radius:t,color:n,transitionDuration:r,labelPosition:i,error:a,indeterminate:o},{size:s})=>{const l=Dt({size:s,sizes:Pyt}),c=e.fn.variant({variant:"filled",color:n});return{icon:Bme(jme({},e.fn.cover()),{ref:Lb("icon"),color:o?"inherit":e.white,transform:o?"none":`translateY(${Ue(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:Bme(jme({},e.fn.focusStyles()),{appearance:"none",backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,border:`${Ue(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,[`& + .${Lb("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",[`& + .${Lb("icon")}`]:{color:e.colorScheme==="dark"?e.colors.dark[6]:e.colors.gray[5]}}})}}),Ryt=Object.defineProperty,$yt=Object.defineProperties,Lyt=Object.getOwnPropertyDescriptors,Ime=Object.getOwnPropertySymbols,Uyt=Object.prototype.hasOwnProperty,zyt=Object.prototype.propertyIsEnumerable,Pme=(e,t,n)=>t in e?Ryt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hyt=(e,t)=>{for(var n in t||(t={}))Uyt.call(t,n)&&Pme(e,n,t[n]);if(Ime)for(var n of Ime(t))zyt.call(t,n)&&Pme(e,n,t[n]);return e},Vyt=(e,t)=>$yt(e,Lyt(t));const c7={xs:Ue(16),sm:Ue(20),md:Ue(24),lg:Ue(30),xl:Ue(36)};var Qyt=un((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:Vyt(Hyt({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:n in c7?Dt({size:n,sizes:e.fontSizes}):void 0,lineHeight:n in c7?Dt({size:n,sizes:c7}):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]}}})),qyt=Object.defineProperty,EP=Object.getOwnPropertySymbols,VPe=Object.prototype.hasOwnProperty,QPe=Object.prototype.propertyIsEnumerable,Mme=(e,t,n)=>t in e?qyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gyt=(e,t)=>{for(var n in t||(t={}))VPe.call(t,n)&&Mme(e,n,t[n]);if(EP)for(var n of EP(t))QPe.call(t,n)&&Mme(e,n,t[n]);return e},Wyt=(e,t)=>{var n={};for(var r in e)VPe.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&&QPe.call(e,r)&&(n[r]=e[r]);return n};const qPe=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=Wyt(n,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant"]);const{classes:C,cx:S}=Qyt({labelPosition:p},{name:r,styles:o,classNames:a,unstyled:s,variant:x,size:A});return U.createElement(En,Gyt({className:S(C.root,i),ref:t},k),U.createElement(En,{component:v,htmlFor:v==="label"?f:void 0,className:S(C.body)},l,U.createElement("div",{className:C.labelWrapper},c!=null&&U.createElement(En,{component:y,htmlFor:y==="label"?f:void 0,className:C.label,"data-disabled":h||void 0},c),u&&U.createElement(xl.Description,{className:C.description},u),m&&m!=="boolean"&&U.createElement(xl.Error,{className:C.error},m))))});qPe.displayName="@mantine/core/InlineInput";var Kyt=Object.defineProperty,FP=Object.getOwnPropertySymbols,GPe=Object.prototype.hasOwnProperty,WPe=Object.prototype.propertyIsEnumerable,Rme=(e,t,n)=>t in e?Kyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WO=(e,t)=>{for(var n in t||(t={}))GPe.call(t,n)&&Rme(e,n,t[n]);if(FP)for(var n of FP(t))WPe.call(t,n)&&Rme(e,n,t[n]);return e},Yyt=(e,t)=>{var n={};for(var r in e)GPe.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&&WPe.call(e,r)&&(n[r]=e[r]);return n};const Xyt={size:"sm",transitionDuration:100,icon:Dyt,labelPosition:"right"},W$=w.forwardRef((e,t)=>{const n=Vt("Checkbox",Xyt,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:C,labelPosition:S,description:N,error:E,variant:D}=n,T=Yyt(n,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),R=Cyt(),B=Rx(f),{systemStyles:j,rest:P}=ZS(T),{classes:$}=Myt({radius:m,color:l,transitionDuration:x,labelPosition:S,error:!!E,indeterminate:u},{name:"Checkbox",classNames:v,styles:y,unstyled:C,variant:D,size:R?.size||h}),z=R?{checked:R.value.includes(P.value),onChange:R.onChange}:{};return U.createElement(qPe,WO(WO({className:r,sx:a,style:i,id:B,size:R?.size||h,labelPosition:S,label:c,description:N,error:E,disabled:s,__staticSelector:"Checkbox",classNames:v,styles:y,unstyled:C,"data-checked":z.checked||void 0,variant:D},j),A),U.createElement("div",{className:$.inner},U.createElement("input",WO(WO({id:B,ref:t,type:"checkbox",className:$.input,checked:o,disabled:s},P),z)),U.createElement(k,{indeterminate:u,className:$.icon})))});W$.displayName="@mantine/core/Checkbox";W$.Group=$Pe;var Zyt=un((e,{fluid:t,sizes:n},{size:r})=>({root:{paddingLeft:e.spacing.md,paddingRight:e.spacing.md,maxWidth:t?"100%":Dt({size:r,sizes:n}),marginLeft:"auto",marginRight:"auto"}})),Jyt=Object.defineProperty,DP=Object.getOwnPropertySymbols,KPe=Object.prototype.hasOwnProperty,YPe=Object.prototype.propertyIsEnumerable,$me=(e,t,n)=>t in e?Jyt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e0t=(e,t)=>{for(var n in t||(t={}))KPe.call(t,n)&&$me(e,n,t[n]);if(DP)for(var n of DP(t))YPe.call(t,n)&&$me(e,n,t[n]);return e},t0t=(e,t)=>{var n={};for(var r in e)KPe.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&&YPe.call(e,r)&&(n[r]=e[r]);return n};const n0t={sizes:{xs:Ue(540),sm:Ue(720),md:Ue(960),lg:Ue(1140),xl:Ue(1320)}},Ste=w.forwardRef((e,t)=>{const n=Vt("Container",n0t,e),{className:r,fluid:i,size:a,unstyled:o,sizes:s,variant:l}=n,c=t0t(n,["className","fluid","size","unstyled","sizes","variant"]),{classes:u,cx:f}=Zyt({fluid:i,sizes:s},{unstyled:o,name:"Container",variant:l,size:a});return U.createElement(En,e0t({className:f(u.root,r),ref:t},c))});Ste.displayName="@mantine/core/Container";const[r0t,i0t]=vf("Drawer component was not found in tree"),Lme={xs:Ue(320),sm:Ue(380),md:Ue(440),lg:Ue(620),xl:Ue(780)};var a0t=un((e,{position:t},{size:n})=>({header:{zIndex:1e3},content:{flex:t==="right"||t==="left"?`0 0 ${Dt({size:n,sizes:Lme})}`:"0 0 100%",maxWidth:"100%",maxHeight:"100%",height:t==="right"||t==="left"?"100%":Dt({size:n,sizes:Lme}),borderRadius:0,overflowY:"auto"},inner:{display:"flex",justifyContent:t==="right"?"flex-end":"flex-start",alignItems:t==="bottom"?"flex-end":"flex-start"}}));const[o0t,rC]=vf("ModalBase component was not found in tree");var s0t=un(()=>({close:{marginLeft:"auto",marginRight:0}})),l0t=Object.defineProperty,TP=Object.getOwnPropertySymbols,XPe=Object.prototype.hasOwnProperty,ZPe=Object.prototype.propertyIsEnumerable,Ume=(e,t,n)=>t in e?l0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c0t=(e,t)=>{for(var n in t||(t={}))XPe.call(t,n)&&Ume(e,n,t[n]);if(TP)for(var n of TP(t))ZPe.call(t,n)&&Ume(e,n,t[n]);return e},u0t=(e,t)=>{var n={};for(var r in e)XPe.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&&ZPe.call(e,r)&&(n[r]=e[r]);return n};const d0t={size:"sm"},f0t=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}CloseButton`,d0t,e),{className:i}=r,a=u0t(r,["className"]),{classes:o,cx:s}=s0t(null,n.stylesApi);return U.createElement(LF,c0t({className:s(o.close,i),ref:t,onClick:n.onClose},a))});var h0t=un(()=>({overlay:{}})),m0t=Object.defineProperty,p0t=Object.defineProperties,A0t=Object.getOwnPropertyDescriptors,zme=Object.getOwnPropertySymbols,g0t=Object.prototype.hasOwnProperty,v0t=Object.prototype.propertyIsEnumerable,Hme=(e,t,n)=>t in e?m0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y0t=(e,t)=>{for(var n in t||(t={}))g0t.call(t,n)&&Hme(e,n,t[n]);if(zme)for(var n of zme(t))v0t.call(t,n)&&Hme(e,n,t[n]);return e},b0t=(e,t)=>p0t(e,A0t(t)),x0t=un((e,{color:t,opacity:n,blur:r,radius:i,gradient:a,fixed:o,zIndex:s})=>({root:b0t(y0t({},e.fn.cover(0)),{position:o?"fixed":"absolute",backgroundColor:a?void 0:e.fn.rgba(t,n),backgroundImage:a,backdropFilter:r?`blur(${Ue(r)})`:void 0,borderRadius:e.fn.radius(i),zIndex:s,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}})})),w0t=Object.defineProperty,OP=Object.getOwnPropertySymbols,JPe=Object.prototype.hasOwnProperty,e4e=Object.prototype.propertyIsEnumerable,Vme=(e,t,n)=>t in e?w0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k0t=(e,t)=>{for(var n in t||(t={}))JPe.call(t,n)&&Vme(e,n,t[n]);if(OP)for(var n of OP(t))e4e.call(t,n)&&Vme(e,n,t[n]);return e},S0t=(e,t)=>{var n={};for(var r in e)JPe.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&&e4e.call(e,r)&&(n[r]=e[r]);return n};const C0t={opacity:.6,color:"#000",zIndex:Ep("modal"),radius:0},t4e=w.forwardRef((e,t)=>{const n=Vt("Overlay",C0t,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=S0t(n,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:x,cx:k}=x0t({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 U.createElement(En,k0t({ref:t,className:k(x.root,f),"data-center":p||void 0},y),u)});t4e.displayName="@mantine/core/Overlay";const Oh=t4e;var _0t=Object.defineProperty,N0t=Object.defineProperties,E0t=Object.getOwnPropertyDescriptors,jP=Object.getOwnPropertySymbols,n4e=Object.prototype.hasOwnProperty,r4e=Object.prototype.propertyIsEnumerable,Qme=(e,t,n)=>t in e?_0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D_=(e,t)=>{for(var n in t||(t={}))n4e.call(t,n)&&Qme(e,n,t[n]);if(jP)for(var n of jP(t))r4e.call(t,n)&&Qme(e,n,t[n]);return e},F0t=(e,t)=>N0t(e,E0t(t)),D0t=(e,t)=>{var n={};for(var r in e)n4e.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&&r4e.call(e,r)&&(n[r]=e[r]);return n};const T0t={},O0t=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}Overlay`,T0t,e),{onClick:i,transitionProps:a,style:o,className:s}=r,l=D0t(r,["onClick","transitionProps","style","className"]),{classes:c,cx:u}=h0t(null,n.stylesApi),f=h=>{i?.(h),n.closeOnClickOutside&&n.onClose()};return U.createElement(nC,F0t(D_(D_({mounted:n.opened},n.transitionProps),a),{transition:"fade"}),h=>U.createElement(Oh,D_({ref:t,onClick:f,fixed:!0,style:D_(D_({},o),h),className:u(c.overlay,s),zIndex:n.zIndex},l)))});var j0t=un((e,{zIndex:t})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:t,pointerEvents:"none"},content:{pointerEvents:"all"}})),B0t=Object.defineProperty,BP=Object.getOwnPropertySymbols,i4e=Object.prototype.hasOwnProperty,a4e=Object.prototype.propertyIsEnumerable,qme=(e,t,n)=>t in e?B0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T_=(e,t)=>{for(var n in t||(t={}))i4e.call(t,n)&&qme(e,n,t[n]);if(BP)for(var n of BP(t))a4e.call(t,n)&&qme(e,n,t[n]);return e},I0t=(e,t)=>{var n={};for(var r in e)i4e.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&&a4e.call(e,r)&&(n[r]=e[r]);return n};const P0t={},M0t=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}Content`,P0t,e),{className:i,transitionProps:a,style:o,onKeyDown:s}=r,l=I0t(r,["className","transitionProps","style","onKeyDown"]),{classes:c,cx:u}=j0t({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 U.createElement(nC,T_(T_({mounted:n.opened,transition:"pop"},n.transitionProps),a),h=>U.createElement("div",{className:u(c.inner)},U.createElement(gte,{active:n.opened&&n.trapFocus},U.createElement(cg,T_({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:T_(T_({},o),h),shadow:n.shadow},l),l.children))))});var R0t=un((e,{padding:t})=>{const n=Dt({size:t,sizes:e.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:n,paddingRight:`calc(${n} - ${Ue(5)})`,position:"sticky",top:0,backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.white,zIndex:1e3}}}),$0t=Object.defineProperty,IP=Object.getOwnPropertySymbols,o4e=Object.prototype.hasOwnProperty,s4e=Object.prototype.propertyIsEnumerable,Gme=(e,t,n)=>t in e?$0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L0t=(e,t)=>{for(var n in t||(t={}))o4e.call(t,n)&&Gme(e,n,t[n]);if(IP)for(var n of IP(t))s4e.call(t,n)&&Gme(e,n,t[n]);return e},U0t=(e,t)=>{var n={};for(var r in e)o4e.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&&s4e.call(e,r)&&(n[r]=e[r]);return n};const z0t={},H0t=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}Header`,z0t,e),{className:i}=r,a=U0t(r,["className"]),{classes:o,cx:s}=R0t({padding:n.padding},n.stylesApi);return U.createElement(En,L0t({ref:t,className:s(o.header,i)},a))});var V0t=un(e=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:e.fontSizes.md}})),Q0t=Object.defineProperty,PP=Object.getOwnPropertySymbols,l4e=Object.prototype.hasOwnProperty,c4e=Object.prototype.propertyIsEnumerable,Wme=(e,t,n)=>t in e?Q0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q0t=(e,t)=>{for(var n in t||(t={}))l4e.call(t,n)&&Wme(e,n,t[n]);if(PP)for(var n of PP(t))c4e.call(t,n)&&Wme(e,n,t[n]);return e},G0t=(e,t)=>{var n={};for(var r in e)l4e.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&&c4e.call(e,r)&&(n[r]=e[r]);return n};const W0t={},K0t=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}Title`,W0t,e),{className:i}=r,a=G0t(r,["className"]),{classes:o,cx:s}=V0t(null,n.stylesApi);return w.useEffect(()=>(n.setTitleMounted(!0),()=>n.setTitleMounted(!1)),[]),U.createElement(En,q0t({component:"h2",id:n.getTitleId(),className:s(o.title,i),ref:t},a))});var Y0t=un((e,{padding:t})=>({body:{padding:Dt({size:t,sizes:e.spacing}),"&:not(:only-child)":{paddingTop:0}}})),X0t=Object.defineProperty,MP=Object.getOwnPropertySymbols,u4e=Object.prototype.hasOwnProperty,d4e=Object.prototype.propertyIsEnumerable,Kme=(e,t,n)=>t in e?X0t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z0t=(e,t)=>{for(var n in t||(t={}))u4e.call(t,n)&&Kme(e,n,t[n]);if(MP)for(var n of MP(t))d4e.call(t,n)&&Kme(e,n,t[n]);return e},J0t=(e,t)=>{var n={};for(var r in e)u4e.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&&d4e.call(e,r)&&(n[r]=e[r]);return n};const ebt={},tbt=w.forwardRef((e,t)=>{const n=rC(),r=Vt(`${n.__staticSelector}Body`,ebt,e),{className:i}=r,a=J0t(r,["className"]),{classes:o,cx:s}=Y0t({padding:n.padding},n.stylesApi);return w.useEffect(()=>(n.setBodyMounted(!0),()=>n.setBodyMounted(!1)),[]),U.createElement(En,Z0t({id:n.getBodyId(),className:s(o.body,i),ref:t},a))});function nbt({children:e}){return U.createElement(U.Fragment,null,e)}function rbt({opened:e,transitionDuration:t}){const[n,r]=w.useState(e),i=w.useRef(),o=I$()?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 ibt=un(()=>({root:{}})),abt=Object.defineProperty,obt=Object.defineProperties,sbt=Object.getOwnPropertyDescriptors,RP=Object.getOwnPropertySymbols,f4e=Object.prototype.hasOwnProperty,h4e=Object.prototype.propertyIsEnumerable,Yme=(e,t,n)=>t in e?abt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u7=(e,t)=>{for(var n in t||(t={}))f4e.call(t,n)&&Yme(e,n,t[n]);if(RP)for(var n of RP(t))h4e.call(t,n)&&Yme(e,n,t[n]);return e},Xme=(e,t)=>obt(e,sbt(t)),lbt=(e,t)=>{var n={};for(var r in e)f4e.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&&h4e.call(e,r)&&(n[r]=e[r]);return n};const VF={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Ep("modal"),padding:"md",size:"md",shadow:"xl"};function mi(e){const t=Vt("ModalBase",VF,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:C,variant:S,classNames:N,unstyled:E,styles:D,className:T}=t,R=lbt(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:B,cx:j}=ibt(null,{name:o,classNames:N,styles:D,unstyled:E,variant:S,size:C}),P=Rx(k),[$,z]=w.useState(!1),[I,V]=w.useState(!1),W=typeof s?.duration=="number"?s?.duration:200,ee=rbt({opened:n,transitionDuration:W});return UK("keydown",X=>{!A&&X.key==="Escape"&&p&&r()}),Yje({opened:n,shouldReturnFocus:A&&v}),U.createElement(JS,Xme(u7({},c),{withinPortal:l,target:f}),U.createElement(o0t,{value:{__staticSelector:o,opened:n,onClose:r,closeOnClickOutside:a,transitionProps:Xme(u7({},s),{duration:W,keepMounted:u}),zIndex:h,padding:y,id:P,getTitleId:()=>`${P}-title`,getBodyId:()=>`${P}-body`,titleMounted:$,bodyMounted:I,setTitleMounted:z,setBodyMounted:V,trapFocus:A,closeOnEscape:p,shadow:x,stylesApi:{name:o,size:C,variant:S,classNames:N,styles:D,unstyled:E}}},U.createElement(GS,{enabled:ee&&m},U.createElement(En,u7({className:j(B.root,T)},R),i))))}mi.CloseButton=f0t;mi.Overlay=O0t;mi.Content=M0t;mi.Header=H0t;mi.Title=K0t;mi.Body=tbt;mi.NativeScrollArea=nbt;var cbt=Object.defineProperty,ubt=Object.defineProperties,dbt=Object.getOwnPropertyDescriptors,$P=Object.getOwnPropertySymbols,m4e=Object.prototype.hasOwnProperty,p4e=Object.prototype.propertyIsEnumerable,Zme=(e,t,n)=>t in e?cbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,FB=(e,t)=>{for(var n in t||(t={}))m4e.call(t,n)&&Zme(e,n,t[n]);if($P)for(var n of $P(t))p4e.call(t,n)&&Zme(e,n,t[n]);return e},A4e=(e,t)=>ubt(e,dbt(t)),fbt=(e,t)=>{var n={};for(var r in e)m4e.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&&p4e.call(e,r)&&(n[r]=e[r]);return n};const hbt={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},mbt={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},pbt=A4e(FB({},VF),{position:"left"});function g4e(e){const t=Vt("DrawerRoot",pbt,e),{classNames:n,variant:r,size:i,scrollAreaComponent:a,position:o,transitionProps:s}=t,l=fbt(t,["classNames","variant","size","scrollAreaComponent","position","transitionProps"]),{classes:c,cx:u,theme:f}=a0t({position:o},{name:"Drawer",variant:r,size:i}),h=(f.dir==="rtl"?mbt:hbt)[o];return U.createElement(r0t,{value:{scrollAreaComponent:a}},U.createElement(mi,FB({__staticSelector:"Drawer",size:i,variant:r,transitionProps:FB({transition:h,duration:200},s),classNames:A4e(FB({},n),{content:u(c.content,n?.content),inner:u(c.inner,n?.inner)})},l)))}var Abt=Object.defineProperty,LP=Object.getOwnPropertySymbols,v4e=Object.prototype.hasOwnProperty,y4e=Object.prototype.propertyIsEnumerable,Jme=(e,t,n)=>t in e?Abt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gbt=(e,t)=>{for(var n in t||(t={}))v4e.call(t,n)&&Jme(e,n,t[n]);if(LP)for(var n of LP(t))y4e.call(t,n)&&Jme(e,n,t[n]);return e},vbt=(e,t)=>{var n={};for(var r in e)v4e.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&&y4e.call(e,r)&&(n[r]=e[r]);return n};const ybt={shadow:"xl"},b4e=w.forwardRef((e,t)=>{const n=Vt("ModalContent",ybt,e),{children:r,scrollAreaComponent:i}=n,a=vbt(n,["children","scrollAreaComponent"]),o=i0t(),s=i||o.scrollAreaComponent||mi.NativeScrollArea;return U.createElement(mi.Content,gbt({ref:t,radius:0},a),U.createElement(s,{style:{height:"100vh"}},r))});var bbt=Object.defineProperty,xbt=Object.defineProperties,wbt=Object.getOwnPropertyDescriptors,UP=Object.getOwnPropertySymbols,x4e=Object.prototype.hasOwnProperty,w4e=Object.prototype.propertyIsEnumerable,epe=(e,t,n)=>t in e?bbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DB=(e,t)=>{for(var n in t||(t={}))x4e.call(t,n)&&epe(e,n,t[n]);if(UP)for(var n of UP(t))w4e.call(t,n)&&epe(e,n,t[n]);return e},kbt=(e,t)=>xbt(e,wbt(t)),Sbt=(e,t)=>{var n={};for(var r in e)x4e.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&&w4e.call(e,r)&&(n[r]=e[r]);return n};const Cbt=kbt(DB({},VF),{withOverlay:!0,withCloseButton:!0});function jh(e){const t=Vt("Drawer",Cbt,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=Sbt(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return U.createElement(g4e,DB({},l),r&&U.createElement(mi.Overlay,DB({},i)),U.createElement(b4e,null,c&&U.createElement(mi.Header,null,n&&U.createElement(mi.Title,null,n),a&&U.createElement(mi.CloseButton,DB({},o))),U.createElement(mi.Body,null,s)))}jh.Root=g4e;jh.CloseButton=mi.CloseButton;jh.Overlay=mi.Overlay;jh.Content=b4e;jh.Header=mi.Header;jh.Title=mi.Title;jh.Body=mi.Body;jh.NativeScrollArea=mi.NativeScrollArea;var _bt=Object.defineProperty,zP=Object.getOwnPropertySymbols,k4e=Object.prototype.hasOwnProperty,S4e=Object.prototype.propertyIsEnumerable,tpe=(e,t,n)=>t in e?_bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,npe=(e,t)=>{for(var n in t||(t={}))k4e.call(t,n)&&tpe(e,n,t[n]);if(zP)for(var n of zP(t))S4e.call(t,n)&&tpe(e,n,t[n]);return e},Nbt=(e,t)=>{var n={};for(var r in e)k4e.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&&S4e.call(e,r)&&(n[r]=e[r]);return n};const Ebt={multiple:!1},C4e=w.forwardRef((e,t)=>{const n=Vt("FileButton",Ebt,e),{onChange:r,children:i,multiple:a,accept:o,name:s,form:l,resetRef:c,disabled:u,capture:f,inputProps:h}=n,m=Nbt(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 B$(c,()=>{A.current.value=""}),U.createElement(U.Fragment,null,i(npe({onClick:p},m)),U.createElement("input",npe({style:{display:"none"},type:"file",accept:o,multiple:a,onChange:v,ref:Fp(t,A),name:s,form:l,capture:f},h)))});C4e.displayName="@mantine/core/FileButton";var Fbt=un(()=>({placeholder:{},input:{cursor:"pointer"}})),Dbt=Object.defineProperty,Tbt=Object.defineProperties,Obt=Object.getOwnPropertyDescriptors,HP=Object.getOwnPropertySymbols,_4e=Object.prototype.hasOwnProperty,N4e=Object.prototype.propertyIsEnumerable,rpe=(e,t,n)=>t in e?Dbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nw=(e,t)=>{for(var n in t||(t={}))_4e.call(t,n)&&rpe(e,n,t[n]);if(HP)for(var n of HP(t))N4e.call(t,n)&&rpe(e,n,t[n]);return e},KO=(e,t)=>Tbt(e,Obt(t)),jbt=(e,t)=>{var n={};for(var r in e)_4e.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&&N4e.call(e,r)&&(n[r]=e[r]);return n};const Bbt=({value:e})=>U.createElement(Yn,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Array.isArray(e)?e.map(t=>t.name).join(", "):e?.name),Ibt={size:"sm",valueComponent:Bbt},E4e=w.forwardRef((e,t)=>{const n=G$("FileInput",Ibt,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:C,capture:S,fileInputProps:N}=n,E=jbt(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:R}=Fbt(null,{name:"FileInput",classNames:m,styles:A,unstyled:p}),[B,j]=Fc({value:o,defaultValue:s,onChange:l,finalValue:c?[]:null}),P=Array.isArray(B)?B.length!==0:B!==null,$=y||(x&&P&&!C?U.createElement(LF,KO(nw({},k),{variant:"transparent",onClick:()=>j(c?[]:null),size:r.size,unstyled:p})):null);return w.useEffect(()=>{(Array.isArray(B)&&B.length===0||B===null)&&D.current()},[B]),U.createElement(xl.Wrapper,KO(nw({},i),{__staticSelector:"FileInput"}),U.createElement(C4e,{onChange:j,multiple:c,accept:u,name:f,form:h,resetRef:D,disabled:C,capture:S,inputProps:N},z=>U.createElement(xl,KO(nw(nw(nw({multiline:!0},z),r),E),{component:"button",type:"button",ref:t,__staticSelector:"FileInput",rightSection:$,classNames:KO(nw({},m),{input:R(T.input,m?.input)})}),P?U.createElement(v,{value:B}):U.createElement(xl.Placeholder,{className:T.placeholder},a))))});E4e.displayName="@mantine/core/FileInput";const Pbt=E4e,[Mbt,Rbt]=vf("Grid component was not found in tree");var $bt=Object.defineProperty,ipe=Object.getOwnPropertySymbols,Lbt=Object.prototype.hasOwnProperty,Ubt=Object.prototype.propertyIsEnumerable,ape=(e,t,n)=>t in e?$bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zbt=(e,t)=>{for(var n in t||(t={}))Lbt.call(t,n)&&ape(e,n,t[n]);if(ipe)for(var n of ipe(t))Ubt.call(t,n)&&ape(e,n,t[n]);return e};const Cte=(e,t)=>e==="content"?"auto":e==="auto"?"0rem":e?`${100/(t/e)}%`:void 0,F4e=(e,t,n)=>n||e==="auto"||e==="content"?"unset":Cte(e,t),D4e=(e,t)=>{if(e)return e==="auto"||t?1:0},T4e=(e,t)=>e===0?0:e?`${100/(t/e)}%`:void 0,O4e=(e,t)=>typeof e<"u"?`calc(${Dt({size:e,sizes:t.spacing})} / 2)`:void 0;function Hbt({sizes:e,offsets:t,orders:n,theme:r,columns:i,gutters:a,grow:o}){return Oje.reduce((s,l)=>(s[`@media (min-width: ${KS(r.breakpoints[l])})`]={order:n[l],flexBasis:Cte(e[l],i),padding:O4e(a[l],r),flexShrink:0,width:e[l]==="content"?"auto":void 0,maxWidth:F4e(e[l],i,o),marginLeft:T4e(t[l],i),flexGrow:D4e(e[l],o)},s),{})}var Vbt=un((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:C,order:S,orderXs:N,orderSm:E,orderMd:D,orderLg:T,orderXl:R})=>({col:zbt({boxSizing:"border-box",flexGrow:D4e(p,s),order:S,padding:O4e(t,e),marginLeft:T4e(l,A),flexBasis:Cte(p,A),flexShrink:0,width:p==="content"?"auto":void 0,maxWidth:F4e(p,A,s)},Hbt({sizes:{xs:v,sm:y,md:x,lg:k,xl:C},offsets:{xs:c,sm:u,md:f,lg:h,xl:m},orders:{xs:N,sm:E,md:D,lg:T,xl:R},gutters:{xs:n,sm:r,md:i,lg:a,xl:o},theme:e,columns:A,grow:s}))})),Qbt=Object.defineProperty,VP=Object.getOwnPropertySymbols,j4e=Object.prototype.hasOwnProperty,B4e=Object.prototype.propertyIsEnumerable,ope=(e,t,n)=>t in e?Qbt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qbt=(e,t)=>{for(var n in t||(t={}))j4e.call(t,n)&&ope(e,n,t[n]);if(VP)for(var n of VP(t))B4e.call(t,n)&&ope(e,n,t[n]);return e},Gbt=(e,t)=>{var n={};for(var r in e)j4e.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&&B4e.call(e,r)&&(n[r]=e[r]);return n};const Wbt={};function Kbt(e){return e==="auto"||e==="content"?!0:typeof e=="number"&&e>0&&e%1===0}const I4e=w.forwardRef((e,t)=>{const n=Vt("GridCol",Wbt,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:C,orderXl:S,className:N,unstyled:E,variant:D}=n,T=Gbt(n,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","unstyled","variant"]),R=Rbt(),B=i||R.columns,{classes:j,cx:P}=Vbt({gutter:R.gutter,gutterXs:R.gutterXs,gutterSm:R.gutterSm,gutterMd:R.gutterMd,gutterLg:R.gutterLg,gutterXl:R.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:C,orderXl:S,grow:R.grow,columns:R.columns,span:B},{unstyled:E,name:"Grid",variant:D});return!Kbt(B)||B>R.columns?null:U.createElement(En,qbt({className:P(j.col,N),ref:t},T),r)});I4e.displayName="@mantine/core/Col";var Ybt=Object.defineProperty,spe=Object.getOwnPropertySymbols,Xbt=Object.prototype.hasOwnProperty,Zbt=Object.prototype.propertyIsEnumerable,lpe=(e,t,n)=>t in e?Ybt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jbt=(e,t)=>{for(var n in t||(t={}))Xbt.call(t,n)&&lpe(e,n,t[n]);if(spe)for(var n of spe(t))Zbt.call(t,n)&&lpe(e,n,t[n]);return e};function ext(e,t){return Oje.reduce((n,r)=>(typeof e[r]<"u"&&(n[`@media (min-width: ${t.breakpoints[r]})`]={margin:`calc(-${Dt({size:e[r],sizes:t.spacing})} / 2)`}),n),{})}var txt=un((e,{justify:t,align:n,gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l})=>({root:Jbt({margin:`calc(-${Dt({size:r,sizes:e.spacing})} / 2)`,display:"flex",flexWrap:"wrap",justifyContent:t,alignItems:n},ext({xs:i,sm:a,md:o,lg:s,xl:l},e))})),nxt=Object.defineProperty,QP=Object.getOwnPropertySymbols,P4e=Object.prototype.hasOwnProperty,M4e=Object.prototype.propertyIsEnumerable,cpe=(e,t,n)=>t in e?nxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rxt=(e,t)=>{for(var n in t||(t={}))P4e.call(t,n)&&cpe(e,n,t[n]);if(QP)for(var n of QP(t))M4e.call(t,n)&&cpe(e,n,t[n]);return e},ixt=(e,t)=>{var n={};for(var r in e)P4e.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&&M4e.call(e,r)&&(n[r]=e[r]);return n};const axt={gutter:"md",justify:"flex-start",align:"stretch",columns:12},Ho=w.forwardRef((e,t)=>{const n=Vt("Grid",axt,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=ixt(n,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","justify","align","columns","className","unstyled","variant"]),{classes:x,cx:k}=txt({gutter:r,justify:f,align:h,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l},{unstyled:p,name:"Grid",variant:v});return U.createElement(Mbt,{value:{gutter:r,gutterXs:i,gutterSm:a,gutterMd:o,gutterLg:s,gutterXl:l,grow:u,columns:m}},U.createElement(En,rxt({className:k(x.root,A),ref:t},y),c))});Ho.Col=I4e;Ho.displayName="@mantine/core/Grid";function oxt(e){return w.Children.toArray(e).filter(Boolean)}const sxt={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var lxt=un((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:sxt[n],gap:Dt({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:i?`calc(${100/o}% - (${Ue(Dt({size:t,sizes:e.spacing}))} - ${Dt({size:t,sizes:e.spacing})} / ${o}))`:void 0,flexGrow:i?1:0}}})),cxt=Object.defineProperty,qP=Object.getOwnPropertySymbols,R4e=Object.prototype.hasOwnProperty,$4e=Object.prototype.propertyIsEnumerable,upe=(e,t,n)=>t in e?cxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uxt=(e,t)=>{for(var n in t||(t={}))R4e.call(t,n)&&upe(e,n,t[n]);if(qP)for(var n of qP(t))$4e.call(t,n)&&upe(e,n,t[n]);return e},dxt=(e,t)=>{var n={};for(var r in e)R4e.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&&$4e.call(e,r)&&(n[r]=e[r]);return n};const fxt={position:"left",spacing:"md"},qk=w.forwardRef((e,t)=>{const n=Vt("Group",fxt,e),{className:r,position:i,align:a,children:o,noWrap:s,grow:l,spacing:c,unstyled:u,variant:f}=n,h=dxt(n,["className","position","align","children","noWrap","grow","spacing","unstyled","variant"]),m=oxt(o),{classes:A,cx:p}=lxt({align:a,grow:l,noWrap:s,spacing:c,position:i,count:m.length},{unstyled:u,name:"Group",variant:f});return U.createElement(En,uxt({className:p(A.root,r),ref:t},h),m)});qk.displayName="@mantine/core/Group";var hxt=un((e,{color:t})=>({root:{backgroundColor:e.fn.themeColor(t,e.colorScheme==="dark"?5:2),color:e.colorScheme==="dark"?e.colors.dark[9]:"inherit"}})),mxt=Object.defineProperty,GP=Object.getOwnPropertySymbols,L4e=Object.prototype.hasOwnProperty,U4e=Object.prototype.propertyIsEnumerable,dpe=(e,t,n)=>t in e?mxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pxt=(e,t)=>{for(var n in t||(t={}))L4e.call(t,n)&&dpe(e,n,t[n]);if(GP)for(var n of GP(t))U4e.call(t,n)&&dpe(e,n,t[n]);return e},Axt=(e,t)=>{var n={};for(var r in e)L4e.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&&U4e.call(e,r)&&(n[r]=e[r]);return n};const gxt={color:"yellow"},hy=w.forwardRef((e,t)=>{const n=Vt("Mark",gxt,e),{color:r,className:i,unstyled:a,variant:o}=n,s=Axt(n,["color","className","unstyled","variant"]),{classes:l,cx:c}=hxt({color:r},{unstyled:a,name:"Mark",variant:o});return U.createElement(En,pxt({component:"mark",ref:t,className:c(l.root,i)},s))});hy.displayName="@mantine/core/Mark";function vxt({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 yxt=Object.defineProperty,WP=Object.getOwnPropertySymbols,z4e=Object.prototype.hasOwnProperty,H4e=Object.prototype.propertyIsEnumerable,fpe=(e,t,n)=>t in e?yxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hpe=(e,t)=>{for(var n in t||(t={}))z4e.call(t,n)&&fpe(e,n,t[n]);if(WP)for(var n of WP(t))H4e.call(t,n)&&fpe(e,n,t[n]);return e},bxt=(e,t)=>{var n={};for(var r in e)z4e.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&&H4e.call(e,r)&&(n[r]=e[r]);return n};function xxt(e){const t=e,{width:n,height:r,style:i}=t,a=bxt(t,["width","height","style"]);return U.createElement("svg",hpe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:hpe({width:n,height:r},i)},a),U.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 wxt=Object.defineProperty,kxt=Object.defineProperties,Sxt=Object.getOwnPropertyDescriptors,mpe=Object.getOwnPropertySymbols,Cxt=Object.prototype.hasOwnProperty,_xt=Object.prototype.propertyIsEnumerable,ppe=(e,t,n)=>t in e?wxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ape=(e,t)=>{for(var n in t||(t={}))Cxt.call(t,n)&&ppe(e,n,t[n]);if(mpe)for(var n of mpe(t))_xt.call(t,n)&&ppe(e,n,t[n]);return e},gpe=(e,t)=>kxt(e,Sxt(t)),Nxt=un((e,{radius:t})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:gpe(Ape({},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:gpe(Ape({},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)})})),Ext=Object.defineProperty,Fxt=Object.defineProperties,Dxt=Object.getOwnPropertyDescriptors,KP=Object.getOwnPropertySymbols,V4e=Object.prototype.hasOwnProperty,Q4e=Object.prototype.propertyIsEnumerable,vpe=(e,t,n)=>t in e?Ext(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O_=(e,t)=>{for(var n in t||(t={}))V4e.call(t,n)&&vpe(e,n,t[n]);if(KP)for(var n of KP(t))Q4e.call(t,n)&&vpe(e,n,t[n]);return e},Txt=(e,t)=>Fxt(e,Dxt(t)),Oxt=(e,t)=>{var n={};for(var r in e)V4e.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&&Q4e.call(e,r)&&(n[r]=e[r]);return n};const jxt={fit:"cover",width:"100%",height:"auto",radius:0},iC=w.forwardRef((e,t)=>{const n=Vt("Image",jxt,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,C=Oxt(n,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:S,cx:N}=Nxt({radius:c},{classNames:A,styles:p,unstyled:y,name:"Image",variant:k}),[E,D]=w.useState(!a),T=f&&E;return bl(()=>{D(!a)},[a]),U.createElement(En,O_({className:N(S.root,r),style:O_({width:Ue(s)},x),ref:t},C),U.createElement("figure",{className:S.figure},U.createElement("div",{className:S.imageWrapper},U.createElement("img",Txt(O_({src:a,alt:i,ref:m},u),{className:N(S.image,u?.className),onError:R=>{D(!0),typeof u?.onError=="function"&&u.onError(R)},style:O_(O_({objectFit:o,width:Ue(s),height:Ue(l)},T&&{overflow:"hidden"}),u?.style)})),T&&U.createElement("div",{className:S.placeholder,title:i},h||U.createElement("div",null,U.createElement(xxt,{width:Ue(40),height:Ue(40)})))),!!v&&U.createElement(Yn,{component:"figcaption",size:"sm",align:"center",className:S.caption},v)))});iC.displayName="@mantine/core/Image";var Bxt=Object.defineProperty,Ixt=Object.defineProperties,Pxt=Object.getOwnPropertyDescriptors,ype=Object.getOwnPropertySymbols,Mxt=Object.prototype.hasOwnProperty,Rxt=Object.prototype.propertyIsEnumerable,bpe=(e,t,n)=>t in e?Bxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xpe=(e,t)=>{for(var n in t||(t={}))Mxt.call(t,n)&&bpe(e,n,t[n]);if(ype)for(var n of ype(t))Rxt.call(t,n)&&bpe(e,n,t[n]);return e},wpe=(e,t)=>Ixt(e,Pxt(t));const $xt=e=>Mx({from:{boxShadow:`0 0 ${Ue(.5)} 0 ${e}`,opacity:.6},to:{boxShadow:`0 0 ${Ue(.5)} ${Ue(4.4)} ${e}`,opacity:0}});function kpe(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 Lxt=un((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=Ue(c);return{root:{position:"relative",display:a?"inline-block":"block"},indicator:wpe(xpe({},kpe(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?`${Ue(2)} solid ${e.colorScheme==="dark"?e.colors.dark[7]:e.white}`:void 0,color:e.white,whiteSpace:"nowrap"}),processing:{animation:`${$xt(u)} 1000ms linear infinite`},common:wpe(xpe({},kpe(r,i)),{position:"absolute",[s?"minWidth":"width"]:f,height:f,borderRadius:e.fn.radius(t)})}}),Uxt=Object.defineProperty,YP=Object.getOwnPropertySymbols,q4e=Object.prototype.hasOwnProperty,G4e=Object.prototype.propertyIsEnumerable,Spe=(e,t,n)=>t in e?Uxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zxt=(e,t)=>{for(var n in t||(t={}))q4e.call(t,n)&&Spe(e,n,t[n]);if(YP)for(var n of YP(t))G4e.call(t,n)&&Spe(e,n,t[n]);return e},Hxt=(e,t)=>{var n={};for(var r in e)q4e.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&&G4e.call(e,r)&&(n[r]=e[r]);return n};const Vxt={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1,size:10,radius:1e3,zIndex:Ep("app")},Aa=w.forwardRef((e,t)=>{const n=Vt("Indicator",Vxt,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,C=Hxt(n,["children","position","offset","size","radius","inline","withBorder","className","color","styles","label","classNames","disabled","zIndex","unstyled","processing","variant"]),{classes:S,cx:N}=Lxt({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 U.createElement(En,zxt({ref:t,className:N(S.root,u)},C),!p&&U.createElement(U.Fragment,null,U.createElement("div",{className:N(S.indicator,S.common)},m),x&&U.createElement("div",{className:N(S.processing,S.common)})),r)});Aa.displayName="@mantine/core/Indicator";function Ya(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[Qxt,qxt]=vf("List component was not found in tree");var Gxt=un((e,{spacing:t,center:n})=>({itemWrapper:{ref:Lb("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:n?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:Dt({size:t,sizes:e.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${Lb("itemWrapper")}`]:{display:"inline-flex",alignItems:n?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}})),Wxt=Object.defineProperty,XP=Object.getOwnPropertySymbols,W4e=Object.prototype.hasOwnProperty,K4e=Object.prototype.propertyIsEnumerable,Cpe=(e,t,n)=>t in e?Wxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kxt=(e,t)=>{for(var n in t||(t={}))W4e.call(t,n)&&Cpe(e,n,t[n]);if(XP)for(var n of XP(t))K4e.call(t,n)&&Cpe(e,n,t[n]);return e},Yxt=(e,t)=>{var n={};for(var r in e)W4e.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&&K4e.call(e,r)&&(n[r]=e[r]);return n};const Xxt={},Y4e=w.forwardRef((e,t)=>{const n=Vt("ListItem",Xxt,e),{className:r,children:i,icon:a}=n,o=Yxt(n,["className","children","icon"]),{icon:s,spacing:l,center:c,listStyleType:u,size:f,withPadding:h,classNames:m,styles:A,unstyled:p,variant:v}=qxt(),y=a||s,{classes:x,cx:k}=Gxt({withPadding:h,listStyleType:u,center:c,spacing:l},{classNames:m,styles:A,unstyled:p,name:"List",variant:v,size:f});return U.createElement(En,Kxt({component:"li",className:k(x.item,r),"data-with-icon":!!y||void 0,ref:t},o),U.createElement("div",{className:x.itemWrapper},y&&U.createElement("span",{className:x.itemIcon},y),U.createElement("span",null,i)))});Y4e.displayName="@mantine/core/ListItem";var Zxt=Object.defineProperty,Jxt=Object.defineProperties,e1t=Object.getOwnPropertyDescriptors,_pe=Object.getOwnPropertySymbols,t1t=Object.prototype.hasOwnProperty,n1t=Object.prototype.propertyIsEnumerable,Npe=(e,t,n)=>t in e?Zxt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r1t=(e,t)=>{for(var n in t||(t={}))t1t.call(t,n)&&Npe(e,n,t[n]);if(_pe)for(var n of _pe(t))n1t.call(t,n)&&Npe(e,n,t[n]);return e},i1t=(e,t)=>Jxt(e,e1t(t)),a1t=un((e,{withPadding:t,listStyleType:n},{size:r})=>({root:i1t(r1t({},e.fn.fontStyles()),{listStyleType:n,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,fontSize:Dt({size:r,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})})),o1t=Object.defineProperty,ZP=Object.getOwnPropertySymbols,X4e=Object.prototype.hasOwnProperty,Z4e=Object.prototype.propertyIsEnumerable,Epe=(e,t,n)=>t in e?o1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s1t=(e,t)=>{for(var n in t||(t={}))X4e.call(t,n)&&Epe(e,n,t[n]);if(ZP)for(var n of ZP(t))Z4e.call(t,n)&&Epe(e,n,t[n]);return e},l1t=(e,t)=>{var n={};for(var r in e)X4e.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&&Z4e.call(e,r)&&(n[r]=e[r]);return n};const c1t={type:"unordered",size:"md",spacing:0},gp=w.forwardRef((e,t)=>{const n=Vt("List",c1t,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=l1t(n,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:y,cx:x}=a1t({withPadding:s,listStyleType:o,center:l,spacing:c},{classNames:m,styles:h,name:"List",unstyled:A,size:a,variant:p});return U.createElement(Qxt,{value:{spacing:c,center:l,icon:u,listStyleType:o,size:a,withPadding:s,classNames:m,styles:h,unstyled:A,variant:p}},U.createElement(En,s1t({component:i==="unordered"?"ul":"ol",className:x(y.root,f),ref:t},v),r))});gp.Item=Y4e;gp.displayName="@mantine/core/List";var u1t=Object.defineProperty,d1t=Object.defineProperties,f1t=Object.getOwnPropertyDescriptors,Fpe=Object.getOwnPropertySymbols,h1t=Object.prototype.hasOwnProperty,m1t=Object.prototype.propertyIsEnumerable,Dpe=(e,t,n)=>t in e?u1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p1t=(e,t)=>{for(var n in t||(t={}))h1t.call(t,n)&&Dpe(e,n,t[n]);if(Fpe)for(var n of Fpe(t))m1t.call(t,n)&&Dpe(e,n,t[n]);return e},A1t=(e,t)=>d1t(e,f1t(t)),g1t=un(e=>({root:A1t(p1t({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})})),v1t=Object.defineProperty,y1t=Object.defineProperties,b1t=Object.getOwnPropertyDescriptors,JP=Object.getOwnPropertySymbols,J4e=Object.prototype.hasOwnProperty,eMe=Object.prototype.propertyIsEnumerable,Tpe=(e,t,n)=>t in e?v1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YO=(e,t)=>{for(var n in t||(t={}))J4e.call(t,n)&&Tpe(e,n,t[n]);if(JP)for(var n of JP(t))eMe.call(t,n)&&Tpe(e,n,t[n]);return e},x1t=(e,t)=>y1t(e,b1t(t)),w1t=(e,t)=>{var n={};for(var r in e)J4e.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&&eMe.call(e,r)&&(n[r]=e[r]);return n};const k1t={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:Ep("overlay")},tMe=w.forwardRef((e,t)=>{const n=Vt("LoadingOverlay",k1t,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=w1t(n,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:k,cx:C,theme:S}=g1t(null,{name:"LoadingOverlay",unstyled:p,variant:v}),N=`calc(${u} + 1)`;return U.createElement(nC,{keepMounted:y,duration:l,exitDuration:c,mounted:i,transition:"fade"},E=>U.createElement(En,YO({className:C(k.root,r),style:x1t(YO(YO({},E),f),{zIndex:u}),ref:t},x),h?U.createElement("div",{style:{zIndex:N}},h):U.createElement(Xa,YO({style:{zIndex:N}},a)),U.createElement(Oh,{opacity:o,zIndex:u,radius:m,blur:A,unstyled:p,color:s||(S.colorScheme==="dark"?S.colors.dark[5]:S.white)})))});tMe.displayName="@mantine/core/LoadingOverlay";const nMe={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"},[S1t,QF]=vf(nMe.context);var C1t=un(e=>({divider:{marginTop:Ue(4),marginBottom:Ue(4),borderTop:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[2]}`}})),_1t=Object.defineProperty,e4=Object.getOwnPropertySymbols,rMe=Object.prototype.hasOwnProperty,iMe=Object.prototype.propertyIsEnumerable,Ope=(e,t,n)=>t in e?_1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N1t=(e,t)=>{for(var n in t||(t={}))rMe.call(t,n)&&Ope(e,n,t[n]);if(e4)for(var n of e4(t))iMe.call(t,n)&&Ope(e,n,t[n]);return e},E1t=(e,t)=>{var n={};for(var r in e)rMe.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&&iMe.call(e,r)&&(n[r]=e[r]);return n};const F1t={},aMe=w.forwardRef((e,t)=>{const n=Vt("MenuDivider",F1t,e),{children:r,className:i}=n,a=E1t(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=QF(),{classes:u,cx:f}=C1t(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return U.createElement(En,N1t({className:f(u.divider,i),ref:t},a))});aMe.displayName="@mantine/core/MenuDivider";var D1t=Object.defineProperty,t4=Object.getOwnPropertySymbols,oMe=Object.prototype.hasOwnProperty,sMe=Object.prototype.propertyIsEnumerable,jpe=(e,t,n)=>t in e?D1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T1t=(e,t)=>{for(var n in t||(t={}))oMe.call(t,n)&&jpe(e,n,t[n]);if(t4)for(var n of t4(t))sMe.call(t,n)&&jpe(e,n,t[n]);return e},O1t=(e,t)=>{var n={};for(var r in e)oMe.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&&sMe.call(e,r)&&(n[r]=e[r]);return n};const j1t={};function lMe(e){const t=Vt("MenuDropdown",j1t,e),{children:n,onMouseEnter:r,onMouseLeave:i}=t,a=O1t(t,["children","onMouseEnter","onMouseLeave"]),o=w.useRef(),s=QF(),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=ed(r,()=>s.trigger==="hover"&&s.openDropdown()),u=ed(i,()=>s.trigger==="hover"&&s.closeDropdown());return U.createElement(Nc.Dropdown,T1t({onMouseEnter:c,onMouseLeave:u,role:"menu","aria-orientation":"vertical"},a),U.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:l,ref:o,style:{outline:0}},n))}lMe.displayName="@mantine/core/MenuDropdown";var B1t=Object.defineProperty,I1t=Object.defineProperties,P1t=Object.getOwnPropertyDescriptors,Bpe=Object.getOwnPropertySymbols,M1t=Object.prototype.hasOwnProperty,R1t=Object.prototype.propertyIsEnumerable,Ipe=(e,t,n)=>t in e?B1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$1t=(e,t)=>{for(var n in t||(t={}))M1t.call(t,n)&&Ipe(e,n,t[n]);if(Bpe)for(var n of Bpe(t))R1t.call(t,n)&&Ipe(e,n,t[n]);return e},L1t=(e,t)=>I1t(e,P1t(t)),U1t=un((e,{color:t,radius:n})=>({item:L1t($1t({},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:{}})),z1t=Object.defineProperty,H1t=Object.defineProperties,V1t=Object.getOwnPropertyDescriptors,n4=Object.getOwnPropertySymbols,cMe=Object.prototype.hasOwnProperty,uMe=Object.prototype.propertyIsEnumerable,Ppe=(e,t,n)=>t in e?z1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Q1t=(e,t)=>{for(var n in t||(t={}))cMe.call(t,n)&&Ppe(e,n,t[n]);if(n4)for(var n of n4(t))uMe.call(t,n)&&Ppe(e,n,t[n]);return e},q1t=(e,t)=>H1t(e,V1t(t)),G1t=(e,t)=>{var n={};for(var r in e)cMe.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&&uMe.call(e,r)&&(n[r]=e[r]);return n};const W1t={},dMe=w.forwardRef((e,t)=>{const n=Vt("MenuItem",W1t,e),{children:r,className:i,color:a,closeMenuOnClick:o,icon:s,rightSection:l}=n,c=G1t(n,["children","className","color","closeMenuOnClick","icon","rightSection"]),u=QF(),{classes:f,cx:h,theme:m}=U1t({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=ed(v.onMouseLeave,()=>u.setHovered(-1)),x=ed(v.onMouseEnter,()=>u.setHovered(u.getItemIndex(A.current))),k=ed(v.onClick,()=>{typeof o=="boolean"?o&&u.closeDropdownImmediately():u.closeOnItemClick&&u.closeDropdownImmediately()}),C=ed(v.onFocus,()=>u.setHovered(u.getItemIndex(A.current)));return U.createElement(En,q1t(Q1t({component:"button",type:"button"},c),{tabIndex:-1,onFocus:C,className:h(f.item,i),ref:Fp(A,t),role:"menuitem","data-menu-item":!0,"data-hovered":u.hovered===p?!0:void 0,onMouseEnter:x,onMouseLeave:y,onClick:k,onKeyDown:kje({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:u.loop,dir:m.dir,orientation:"vertical",onKeyDown:v.onKeydown})}),s&&U.createElement("div",{className:f.itemIcon},s),r&&U.createElement("div",{className:f.itemLabel},r),l&&U.createElement("div",{className:f.itemRightSection},l))});dMe.displayName="@mantine/core/MenuItem";const K1t=dMe;var Y1t=un(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"}})),X1t=Object.defineProperty,r4=Object.getOwnPropertySymbols,fMe=Object.prototype.hasOwnProperty,hMe=Object.prototype.propertyIsEnumerable,Mpe=(e,t,n)=>t in e?X1t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z1t=(e,t)=>{for(var n in t||(t={}))fMe.call(t,n)&&Mpe(e,n,t[n]);if(r4)for(var n of r4(t))hMe.call(t,n)&&Mpe(e,n,t[n]);return e},J1t=(e,t)=>{var n={};for(var r in e)fMe.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&&hMe.call(e,r)&&(n[r]=e[r]);return n};const ewt={},mMe=w.forwardRef((e,t)=>{const n=Vt("MenuLabel",ewt,e),{children:r,className:i}=n,a=J1t(n,["children","className"]),{classNames:o,styles:s,unstyled:l,variant:c}=QF(),{classes:u,cx:f}=Y1t(null,{name:"Menu",classNames:o,styles:s,unstyled:l,variant:c});return U.createElement(Yn,Z1t({className:f(u.label,i),ref:t},a),r)});mMe.displayName="@mantine/core/MenuLabel";var twt=Object.defineProperty,i4=Object.getOwnPropertySymbols,pMe=Object.prototype.hasOwnProperty,AMe=Object.prototype.propertyIsEnumerable,Rpe=(e,t,n)=>t in e?twt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nwt=(e,t)=>{for(var n in t||(t={}))pMe.call(t,n)&&Rpe(e,n,t[n]);if(i4)for(var n of i4(t))AMe.call(t,n)&&Rpe(e,n,t[n]);return e},rwt=(e,t)=>{var n={};for(var r in e)pMe.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&&AMe.call(e,r)&&(n[r]=e[r]);return n};const iwt={refProp:"ref"},gMe=w.forwardRef((e,t)=>{const n=Vt("MenuTarget",iwt,e),{children:r,refProp:i}=n,a=rwt(n,["children","refProp"]);if(!WS(r))throw new Error(nMe.children);const o=QF(),s=ed(r.props.onClick,()=>o.trigger==="click"&&o.toggleDropdown()),l=ed(r.props.onMouseEnter,()=>o.trigger==="hover"&&o.openDropdown()),c=ed(r.props.onMouseLeave,()=>o.trigger==="hover"&&o.closeDropdown());return U.createElement(Nc.Target,nwt({refProp:i,popupType:"menu",ref:t},a),w.cloneElement(r,{onClick:s,onMouseEnter:l,onMouseLeave:c,"data-expanded":o.opened?!0:void 0}))});gMe.displayName="@mantine/core/MenuTarget";var awt=un({dropdown:{padding:Ue(4)}}),owt=Object.defineProperty,swt=Object.defineProperties,lwt=Object.getOwnPropertyDescriptors,a4=Object.getOwnPropertySymbols,vMe=Object.prototype.hasOwnProperty,yMe=Object.prototype.propertyIsEnumerable,$pe=(e,t,n)=>t in e?owt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lpe=(e,t)=>{for(var n in t||(t={}))vMe.call(t,n)&&$pe(e,n,t[n]);if(a4)for(var n of a4(t))yMe.call(t,n)&&$pe(e,n,t[n]);return e},Upe=(e,t)=>swt(e,lwt(t)),cwt=(e,t)=>{var n={};for(var r in e)vMe.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&&yMe.call(e,r)&&(n[r]=e[r]);return n};const uwt={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function $i(e){const t=Vt("Menu",uwt,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=cwt(t,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:C,cx:S}=awt(),[N,{setHovered:E,resetHovered:D}]=mct(),[T,R]=Fc({value:a,defaultValue:o,finalValue:!1,onChange:s}),B=()=>{R(!1),T&&i?.()},j=()=>{R(!0),!T&&r?.()},P=()=>T?B():j(),{openDropdown:$,closeDropdown:z}=vxt({open:j,close:B,closeDelay:m,openDelay:h}),I=V=>dct("[data-menu-item]","[data-menu-dropdown]",V);return bl(()=>{D()},[T]),U.createElement(S1t,{value:{opened:T,toggleDropdown:P,getItemIndex:I,hovered:N,setHovered:E,closeOnItemClick:l,closeDropdown:f==="click"?B:z,openDropdown:f==="click"?j:$,closeDropdownImmediately:B,loop:c,trigger:f,radius:y,classNames:A,styles:p,unstyled:v,variant:x}},U.createElement(Nc,Upe(Lpe({},k),{radius:y,opened:T,onChange:P,defaultOpened:o,trapFocus:f==="click"&&T,closeOnEscape:u&&f==="click",__staticSelector:"Menu",classNames:Upe(Lpe({},A),{dropdown:S(C.dropdown,A?.dropdown)}),styles:p,unstyled:v,variant:x}),n))}$i.displayName="@mantine/core/Menu";$i.Item=K1t;$i.Label=mMe;$i.Dropdown=lMe;$i.Target=gMe;$i.Divider=aMe;const[dwt,fwt]=vf("Modal component was not found in tree"),hwt={xs:Ue(320),sm:Ue(380),md:Ue(440),lg:Ue(620),xl:Ue(780)};var mwt=un((e,{yOffset:t,xOffset:n,centered:r,fullScreen:i},{size:a})=>({content:{flex:i?"0 0 100%":`0 0 ${Dt({size:a,sizes:hwt})}`,maxWidth:"100%",maxHeight:i?void 0:`calc(100dvh - (${Ue(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"}})),pwt=Object.defineProperty,Awt=Object.defineProperties,gwt=Object.getOwnPropertyDescriptors,o4=Object.getOwnPropertySymbols,bMe=Object.prototype.hasOwnProperty,xMe=Object.prototype.propertyIsEnumerable,zpe=(e,t,n)=>t in e?pwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ZK=(e,t)=>{for(var n in t||(t={}))bMe.call(t,n)&&zpe(e,n,t[n]);if(o4)for(var n of o4(t))xMe.call(t,n)&&zpe(e,n,t[n]);return e},wMe=(e,t)=>Awt(e,gwt(t)),vwt=(e,t)=>{var n={};for(var r in e)bMe.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&&xMe.call(e,r)&&(n[r]=e[r]);return n};const ywt=wMe(ZK({},VF),{yOffset:"5dvh",xOffset:"5vw"});function kMe(e){const t=Vt("ModalRoot",ywt,e),{classNames:n,variant:r,size:i,yOffset:a,xOffset:o,scrollAreaComponent:s,radius:l,centered:c,fullScreen:u}=t,f=vwt(t,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:h,cx:m}=mwt({yOffset:a,xOffset:o,centered:c,fullScreen:u},{name:"Modal",variant:r,size:i});return U.createElement(dwt,{value:{yOffset:a,scrollAreaComponent:s,radius:l}},U.createElement(mi,ZK({__staticSelector:"Modal",size:i,variant:r,classNames:wMe(ZK({},n),{content:m(h.content,n?.content),inner:m(h.inner,n?.inner)})},f)))}var bwt=Object.defineProperty,s4=Object.getOwnPropertySymbols,SMe=Object.prototype.hasOwnProperty,CMe=Object.prototype.propertyIsEnumerable,Hpe=(e,t,n)=>t in e?bwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xwt=(e,t)=>{for(var n in t||(t={}))SMe.call(t,n)&&Hpe(e,n,t[n]);if(s4)for(var n of s4(t))CMe.call(t,n)&&Hpe(e,n,t[n]);return e},wwt=(e,t)=>{var n={};for(var r in e)SMe.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&&CMe.call(e,r)&&(n[r]=e[r]);return n};const kwt={shadow:"xl"},_Me=w.forwardRef((e,t)=>{const n=Vt("ModalContent",kwt,e),{children:r,scrollAreaComponent:i}=n,a=wwt(n,["children","scrollAreaComponent"]),o=fwt(),s=i||o.scrollAreaComponent||mi.NativeScrollArea;return U.createElement(mi.Content,xwt({ref:t,radius:o.radius},a),U.createElement(s,{style:{maxHeight:`calc(100dvh - (${Ue(o.yOffset)} * 2))`}},r))});var Swt=Object.defineProperty,Cwt=Object.defineProperties,_wt=Object.getOwnPropertyDescriptors,l4=Object.getOwnPropertySymbols,NMe=Object.prototype.hasOwnProperty,EMe=Object.prototype.propertyIsEnumerable,Vpe=(e,t,n)=>t in e?Swt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TB=(e,t)=>{for(var n in t||(t={}))NMe.call(t,n)&&Vpe(e,n,t[n]);if(l4)for(var n of l4(t))EMe.call(t,n)&&Vpe(e,n,t[n]);return e},Nwt=(e,t)=>Cwt(e,_wt(t)),Ewt=(e,t)=>{var n={};for(var r in e)NMe.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&&EMe.call(e,r)&&(n[r]=e[r]);return n};const Fwt=Nwt(TB({},VF),{transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0});function xr(e){const t=Vt("Modal",Fwt,e),{title:n,withOverlay:r,overlayProps:i,withCloseButton:a,closeButtonProps:o,children:s}=t,l=Ewt(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!n||a;return U.createElement(kMe,TB({},l),r&&U.createElement(mi.Overlay,TB({},i)),U.createElement(_Me,null,c&&U.createElement(mi.Header,null,n&&U.createElement(mi.Title,null,n),a&&U.createElement(mi.CloseButton,TB({},o))),U.createElement(mi.Body,null,s)))}xr.Root=kMe;xr.CloseButton=mi.CloseButton;xr.Overlay=mi.Overlay;xr.Content=_Me;xr.Header=mi.Header;xr.Title=mi.Title;xr.Body=mi.Body;xr.NativeScrollArea=mi.NativeScrollArea;const FMe={xs:Ue(16),sm:Ue(22),md:Ue(26),lg:Ue(30),xl:Ue(36)},Dwt={xs:Ue(10),sm:Ue(12),md:Ue(14),lg:Ue(16),xl:Ue(18)};var Twt=un((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:Dt({size:i,sizes:FMe}),paddingLeft:`calc(${Dt({size:i,sizes:e.spacing})} / 1.5)`,paddingRight:t||r?Dt({size:i,sizes:e.spacing}):0,fontWeight:500,fontSize:Dt({size:i,sizes:Dwt}),borderRadius:Dt({size:n,sizes:e.radius}),cursor:t?"not-allowed":"default",userSelect:"none",maxWidth:`calc(100% - ${Ue(10)})`},defaultValueRemove:{color:e.colorScheme==="dark"?e.colors.dark[0]:e.colors.gray[7],marginLeft:`calc(${Dt({size:i,sizes:e.spacing})} / 6)`},defaultValueLabel:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}})),Owt=Object.defineProperty,c4=Object.getOwnPropertySymbols,DMe=Object.prototype.hasOwnProperty,TMe=Object.prototype.propertyIsEnumerable,Qpe=(e,t,n)=>t in e?Owt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jwt=(e,t)=>{for(var n in t||(t={}))DMe.call(t,n)&&Qpe(e,n,t[n]);if(c4)for(var n of c4(t))TMe.call(t,n)&&Qpe(e,n,t[n]);return e},Bwt=(e,t)=>{var n={};for(var r in e)DMe.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&&TMe.call(e,r)&&(n[r]=e[r]);return n};const Iwt={xs:16,sm:22,md:24,lg:26,xl:30};function OMe(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=Bwt(t,["label","classNames","styles","className","onRemove","disabled","readOnly","size","radius","variant","unstyled"]);const{classes:A,cx:p}=Twt({disabled:s,readOnly:l,radius:u},{name:"MultiSelect",classNames:r,styles:i,unstyled:h,size:c,variant:f});return U.createElement("div",jwt({className:p(A.defaultValue,a)},m),U.createElement("span",{className:A.defaultValueLabel},n),!s&&!l&&U.createElement(LF,{"aria-hidden":!0,onMouseDown:o,size:Iwt[c],radius:2,color:"blue",variant:"transparent",iconSize:"70%",className:A.defaultValueRemove,tabIndex:-1,unstyled:h}))}OMe.displayName="@mantine/core/MultiSelect/DefaultValue";function Pwt({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 Mwt=Object.defineProperty,u4=Object.getOwnPropertySymbols,jMe=Object.prototype.hasOwnProperty,BMe=Object.prototype.propertyIsEnumerable,qpe=(e,t,n)=>t in e?Mwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gpe=(e,t)=>{for(var n in t||(t={}))jMe.call(t,n)&&qpe(e,n,t[n]);if(u4)for(var n of u4(t))BMe.call(t,n)&&qpe(e,n,t[n]);return e},Rwt=(e,t)=>{var n={};for(var r in e)jMe.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&&BMe.call(e,r)&&(n[r]=e[r]);return n};const $wt={xs:Ue(14),sm:Ue(18),md:Ue(20),lg:Ue(24),xl:Ue(28)};function Lwt(e){var t=e,{size:n,error:r,style:i}=t,a=Rwt(t,["size","error","style"]);const o=pu(),s=Dt({size:n,sizes:$wt});return U.createElement("svg",Gpe({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Gpe({color:r?o.colors.red[6]:o.colors.gray[6],width:s,height:s},i),"data-chevron":!0},a),U.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 Uwt=Object.defineProperty,zwt=Object.defineProperties,Hwt=Object.getOwnPropertyDescriptors,Wpe=Object.getOwnPropertySymbols,Vwt=Object.prototype.hasOwnProperty,Qwt=Object.prototype.propertyIsEnumerable,Kpe=(e,t,n)=>t in e?Uwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qwt=(e,t)=>{for(var n in t||(t={}))Vwt.call(t,n)&&Kpe(e,n,t[n]);if(Wpe)for(var n of Wpe(t))Qwt.call(t,n)&&Kpe(e,n,t[n]);return e},Gwt=(e,t)=>zwt(e,Hwt(t));function IMe({shouldClear:e,clearButtonProps:t,onClear:n,size:r,error:i}){return e?U.createElement(LF,Gwt(qwt({},t),{variant:"transparent",onClick:n,size:r,onMouseDown:a=>a.preventDefault()})):U.createElement(Lwt,{error:i,size:r})}IMe.displayName="@mantine/core/SelectRightSection";var Wwt=Object.defineProperty,Kwt=Object.defineProperties,Ywt=Object.getOwnPropertyDescriptors,d4=Object.getOwnPropertySymbols,PMe=Object.prototype.hasOwnProperty,MMe=Object.prototype.propertyIsEnumerable,Ype=(e,t,n)=>t in e?Wwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d7=(e,t)=>{for(var n in t||(t={}))PMe.call(t,n)&&Ype(e,n,t[n]);if(d4)for(var n of d4(t))MMe.call(t,n)&&Ype(e,n,t[n]);return e},Xpe=(e,t)=>Kwt(e,Ywt(t)),Xwt=(e,t)=>{var n={};for(var r in e)PMe.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&&MMe.call(e,r)&&(n[r]=e[r]);return n};function RMe(e){var t=e,{styles:n,rightSection:r,rightSectionWidth:i,theme:a}=t,o=Xwt(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)&&U.createElement(IMe,d7({},o)),styles:Xpe(d7({},s),{rightSection:Xpe(d7({},s?.rightSection),{pointerEvents:o.shouldClear?void 0:"none"})})}}var Zwt=Object.defineProperty,Jwt=Object.defineProperties,ekt=Object.getOwnPropertyDescriptors,Zpe=Object.getOwnPropertySymbols,tkt=Object.prototype.hasOwnProperty,nkt=Object.prototype.propertyIsEnumerable,Jpe=(e,t,n)=>t in e?Zwt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rkt=(e,t)=>{for(var n in t||(t={}))tkt.call(t,n)&&Jpe(e,n,t[n]);if(Zpe)for(var n of Zpe(t))nkt.call(t,n)&&Jpe(e,n,t[n]);return e},ikt=(e,t)=>Jwt(e,ekt(t)),akt=un((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(${Dt({size:n,sizes:Kc})} - ${Ue(2)})`,display:"flex",alignItems:"center",flexWrap:"wrap",marginLeft:`calc(-${e.spacing.xs} / 2)`,boxSizing:"border-box","&[data-clearable]":{marginRight:Dt({size:n,sizes:Kc})}},value:{margin:`calc(${e.spacing.xs} / 2 - ${Ue(2)}) calc(${e.spacing.xs} / 2)`},searchInput:ikt(rkt({},e.fn.fontStyles()),{flex:1,minWidth:Ue(60),backgroundColor:"transparent",border:0,outline:0,fontSize:Dt({size:n,sizes:e.fontSizes}),padding:0,marginLeft:`calc(${e.spacing.xs} / 2)`,appearance:"none",color:"inherit",maxHeight:Dt({size:n,sizes:FMe}),"&::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"}}})),okt=Object.defineProperty,skt=Object.defineProperties,lkt=Object.getOwnPropertyDescriptors,f4=Object.getOwnPropertySymbols,$Me=Object.prototype.hasOwnProperty,LMe=Object.prototype.propertyIsEnumerable,eAe=(e,t,n)=>t in e?okt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rw=(e,t)=>{for(var n in t||(t={}))$Me.call(t,n)&&eAe(e,n,t[n]);if(f4)for(var n of f4(t))LMe.call(t,n)&&eAe(e,n,t[n]);return e},tAe=(e,t)=>skt(e,lkt(t)),ckt=(e,t)=>{var n={};for(var r in e)$Me.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&&LMe.call(e,r)&&(n[r]=e[r]);return n};function ukt(e,t,n){return t?!1:n.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function dkt(e,t){return!!e&&!t.some(n=>n.value.toLowerCase()===e.toLowerCase())}function nAe(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 fkt={size:"sm",valueComponent:OMe,itemComponent:rte,transitionProps:{transition:"fade",duration:0},maxDropdownHeight:220,shadow:"sm",searchable:!1,filter:ukt,limit:1/0,clearSearchOnChange:!0,clearable:!1,clearSearchOnBlur:!1,disabled:!1,initiallyOpened:!1,creatable:!1,shouldCreate:dkt,switchDirectionOnFlip:!1,zIndex:Ep("popover"),selectOnBlur:!1,positionDependencies:[],dropdownPosition:"flip"},Xs=w.forwardRef((e,t)=>{const n=Vt("MultiSelect",fkt,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:C,maxDropdownHeight:S,shadow:N,nothingFound:E,onFocus:D,onBlur:T,searchable:R,placeholder:B,filter:j,limit:P,clearSearchOnChange:$,clearable:z,clearSearchOnBlur:I,variant:V,onSearchChange:W,searchValue:ee,disabled:X,initiallyOpened:fe,radius:H,icon:Q,rightSection:G,rightSectionWidth:ne,creatable:re,getCreateLabel:oe,shouldCreate:de,onCreate:me,sx:ge,dropdownComponent:se,onDropdownClose:te,onDropdownOpen:we,maxSelectedValues:Fe,withinPortal:Be,portalProps:ie,switchDirectionOnFlip:Y,zIndex:ae,selectOnBlur:ue,name:ce,dropdownPosition:ye,errorProps:ve,labelProps:Ie,descriptionProps:je,form:Me,positionDependencies:We,onKeyDown:et,unstyled:mt,inputContainer:xt,inputWrapperOrder:Ae,readOnly:J,withAsterisk:le,clearButtonProps:Ce,hoverOnSearchChange:Te,disableSelectedItemFiltering:Le}=n,De=ckt(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:He,cx:ct,theme:st}=akt({invalid:!!c},{name:"MultiSelect",classNames:u,styles:f,unstyled:mt,size:l,variant:V}),{systemStyles:rt,rest:ft}=ZS(De),Yt=w.useRef(),qt=w.useRef({}),yt=Rx(k),[Ut,xn]=w.useState(fe),[nn,Pe]=w.useState(-1),[Ge,ze]=w.useState("column"),[gt,wt]=Fc({value:ee,defaultValue:"",finalValue:void 0,onChange:W}),[Gt,Xt]=w.useState(!1),{scrollIntoView:Wt,targetRef:fn,scrollableRef:Fn}=tBe({duration:0,offset:5,cancelable:!1,isList:!0}),mn=re&&typeof oe=="function";let bt=null;const rn=p.map(bn=>typeof bn=="string"?{label:bn,value:bn}:bn),Dn=Cje({data:rn}),[pn,Cr]=Fc({value:nAe(m,p),defaultValue:nAe(A,p),finalValue:[],onChange:v}),kn=w.useRef(!!Fe&&Fe<pn.length),vr=bn=>{if(!J){const Jn=pn.filter(ea=>ea!==bn);Cr(Jn),Fe&&Jn.length<Fe&&(kn.current=!1)}},Pa=bn=>{wt(bn.currentTarget.value),!X&&!kn.current&&R&&xn(!0)},Ma=bn=>{typeof D=="function"&&D(bn),!X&&!kn.current&&R&&xn(!0)},Or=Pwt({data:Dn,searchable:R,searchValue:gt,limit:P,filter:j,value:pn,disableSelectedItemFiltering:Le});mn&&de(gt,Dn)&&(bt=oe(gt),Or.push({label:gt,value:gt,creatable:!0}));const sa=Math.min(nn,Or.length-1),Bc=(bn,Jn,ea)=>{let tl=bn;for(;ea(tl);)if(tl=Jn(tl),!Or[tl].disabled)return tl;return bn};bl(()=>{Pe(Te&&gt?0:-1)},[gt,Te]),bl(()=>{!X&&pn.length>p.length&&xn(!1),Fe&&pn.length<Fe&&(kn.current=!1),Fe&&pn.length>=Fe&&(kn.current=!0,xn(!1))},[pn]);const el=bn=>{if(!J)if($&&wt(""),pn.includes(bn.value))vr(bn.value);else{if(bn.creatable&&typeof me=="function"){const Jn=me(bn.value);typeof Jn<"u"&&Jn!==null&&Cr(typeof Jn=="string"?[...pn,Jn]:[...pn,Jn.value])}else Cr([...pn,bn.value]);pn.length===Fe-1&&(kn.current=!0,xn(!1)),Or.length===1&&xn(!1)}},lc=bn=>{typeof T=="function"&&T(bn),ue&&Or[sa]&&Ut&&el(Or[sa]),I&&wt(""),xn(!1)},Rs=bn=>{if(Gt||(et?.(bn),J)||bn.key!=="Backspace"&&Fe&&kn.current)return;const Jn=Ge==="column",ea=()=>{Pe(pi=>{var la;const Su=Bc(pi,Ic=>Ic+1,Ic=>Ic<Or.length-1);return Ut&&(fn.current=qt.current[(la=Or[Su])==null?void 0:la.value],Wt({alignment:Jn?"end":"start"})),Su})},tl=()=>{Pe(pi=>{var la;const Su=Bc(pi,Ic=>Ic-1,Ic=>Ic>0);return Ut&&(fn.current=qt.current[(la=Or[Su])==null?void 0:la.value],Wt({alignment:Jn?"start":"end"})),Su})};switch(bn.key){case"ArrowUp":{bn.preventDefault(),xn(!0),Jn?tl():ea();break}case"ArrowDown":{bn.preventDefault(),xn(!0),Jn?ea():tl();break}case"Enter":{bn.preventDefault(),Or[sa]&&Ut?el(Or[sa]):xn(!0);break}case" ":{R||(bn.preventDefault(),Or[sa]&&Ut?el(Or[sa]):xn(!0));break}case"Backspace":{pn.length>0&&gt.length===0&&(Cr(pn.slice(0,-1)),xn(!0),Fe&&(kn.current=!1));break}case"Home":{if(!R){bn.preventDefault(),Ut||xn(!0);const pi=Or.findIndex(la=>!la.disabled);Pe(pi),Wt({alignment:Jn?"end":"start"})}break}case"End":{if(!R){bn.preventDefault(),Ut||xn(!0);const pi=Or.map(la=>!!la.disabled).lastIndexOf(!1);Pe(pi),Wt({alignment:Jn?"end":"start"})}break}case"Escape":xn(!1)}},Nl=pn.map(bn=>{let Jn=Dn.find(ea=>ea.value===bn&&!ea.disabled);return!Jn&&mn&&(Jn={value:bn,label:bn}),Jn}).filter(bn=>!!bn).map((bn,Jn)=>U.createElement(y,tAe(rw({},bn),{variant:V,disabled:X,className:He.value,readOnly:J,onRemove:ea=>{ea.preventDefault(),ea.stopPropagation(),vr(bn.value)},key:bn.value,size:l,styles:f,classNames:u,radius:H,index:Jn}))),mr=bn=>pn.includes(bn),Ji=()=>{var bn;wt(""),Cr([]),(bn=Yt.current)==null||bn.focus(),Fe&&(kn.current=!1)},$s=!J&&(Or.length>0?Ut:Ut&&!!E);return bl(()=>{const bn=$s?we:te;typeof bn=="function"&&bn()},[$s]),U.createElement(xl.Wrapper,rw(rw({required:a,id:yt,label:o,error:c,description:s,size:l,className:r,style:i,classNames:u,styles:f,__staticSelector:"MultiSelect",sx:ge,errorProps:ve,descriptionProps:je,labelProps:Ie,inputContainer:xt,inputWrapperOrder:Ae,unstyled:mt,withAsterisk:le,variant:V},rt),h),U.createElement(ty,{opened:$s,transitionProps:C,shadow:"sm",withinPortal:Be,portalProps:ie,__staticSelector:"MultiSelect",onDirectionChange:ze,switchDirectionOnFlip:Y,zIndex:ae,dropdownPosition:ye,positionDependencies:[...We,gt],classNames:u,styles:f,unstyled:mt,variant:V},U.createElement(ty.Target,null,U.createElement("div",{className:He.wrapper,role:"combobox","aria-haspopup":"listbox","aria-owns":Ut&&$s?`${yt}-items`:null,"aria-controls":yt,"aria-expanded":Ut,onMouseLeave:()=>Pe(-1),tabIndex:-1},U.createElement("input",{type:"hidden",name:ce,value:pn.join(","),form:Me,disabled:X}),U.createElement(xl,rw({__staticSelector:"MultiSelect",style:{overflow:"hidden"},component:"div",multiline:!0,size:l,variant:V,disabled:X,error:c,required:a,radius:H,icon:Q,unstyled:mt,onMouseDown:bn=>{var Jn;bn.preventDefault(),!X&&!kn.current&&xn(!Ut),(Jn=Yt.current)==null||Jn.focus()},classNames:tAe(rw({},u),{input:ct({[He.input]:!R},u?.input)})},RMe({theme:st,rightSection:G,rightSectionWidth:ne,styles:f,size:l,shouldClear:z&&pn.length>0,onClear:Ji,error:c,disabled:X,clearButtonProps:Ce,readOnly:J})),U.createElement("div",{className:He.values,"data-clearable":z||void 0},Nl,U.createElement("input",rw({ref:Fp(t,Yt),type:"search",id:yt,className:ct(He.searchInput,{[He.searchInputPointer]:!R,[He.searchInputInputHidden]:!Ut&&pn.length>0||!R&&pn.length>0,[He.searchInputEmpty]:pn.length===0}),onKeyDown:Rs,value:gt,onChange:Pa,onFocus:Ma,onBlur:lc,readOnly:!R||kn.current||J,placeholder:pn.length===0?B:void 0,disabled:X,"data-mantine-stop-propagation":Ut,autoComplete:"off",onCompositionStart:()=>Xt(!0),onCompositionEnd:()=>Xt(!1)},ft)))))),U.createElement(ty.Dropdown,{component:se||L$,maxHeight:S,direction:Ge,id:yt,innerRef:Fn,__staticSelector:"MultiSelect",classNames:u,styles:f},U.createElement(nte,{data:Or,hovered:sa,classNames:u,styles:f,uuid:yt,__staticSelector:"MultiSelect",onItemHover:Pe,onItemSelect:el,itemsRefs:qt,itemComponent:x,size:l,nothingFound:E,isItemSelected:mr,creatable:re&&!!bt,createLabel:bt,unstyled:mt,variant:V}))))});Xs.displayName="@mantine/core/MultiSelect";var hkt=Object.defineProperty,mkt=Object.defineProperties,pkt=Object.getOwnPropertyDescriptors,rAe=Object.getOwnPropertySymbols,Akt=Object.prototype.hasOwnProperty,gkt=Object.prototype.propertyIsEnumerable,iAe=(e,t,n)=>t in e?hkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,JK=(e,t)=>{for(var n in t||(t={}))Akt.call(t,n)&&iAe(e,n,t[n]);if(rAe)for(var n of rAe(t))gkt.call(t,n)&&iAe(e,n,t[n]);return e},vkt=(e,t)=>mkt(e,pkt(t));const ykt=["filled","light","subtle"];function bkt({theme:e,variant:t,color:n}){if(!ykt.includes(t))return null;const r=e.fn.variant({variant:t,color:n});return{"&[data-active]":JK({backgroundColor:r.background,color:r.color},e.fn.hover({backgroundColor:r.hover}))}}var xkt=un((e,{noWrap:t,childrenOffset:n,alignIcon:r,color:i},{variant:a})=>({root:vkt(JK(JK({display:"flex",alignItems:"center",width:"100%",padding:`${Ue(8)} ${e.spacing.sm}`,userSelect:"none"},bkt({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:Ue(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:Dt({size:n,sizes:e.spacing})}})),wkt=Object.defineProperty,h4=Object.getOwnPropertySymbols,UMe=Object.prototype.hasOwnProperty,zMe=Object.prototype.propertyIsEnumerable,aAe=(e,t,n)=>t in e?wkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kkt=(e,t)=>{for(var n in t||(t={}))UMe.call(t,n)&&aAe(e,n,t[n]);if(h4)for(var n of h4(t))zMe.call(t,n)&&aAe(e,n,t[n]);return e},Skt=(e,t)=>{var n={};for(var r in e)UMe.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&&zMe.call(e,r)&&(n[r]=e[r]);return n};const Ckt={variant:"light",childrenOffset:"lg"},HMe=w.forwardRef((e,t)=>{const n=Vt("NavLink",Ckt,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:C,disabled:S,onClick:N}=n,E=Skt(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}=xkt({color:h,noWrap:A,childrenOffset:C,alignIcon:i?"top":"center"},{name:"NavLink",classNames:l,styles:c,unstyled:u,variant:m}),[R,B]=Fc({value:v,defaultValue:y,finalValue:!1,onChange:x}),j=!!p,P=$=>{j?($.preventDefault(),N?.($),B(!R)):N?.($)};return U.createElement(U.Fragment,null,U.createElement(id,kkt({ref:t,className:T(D.root,s),"data-active":f||void 0,onClick:P,unstyled:u,"data-expanded":R||void 0,"data-disabled":S||void 0,disabled:S},E),a&&U.createElement("span",{className:D.icon},a),U.createElement("span",{className:D.body},U.createElement(Yn,{component:"span",size:"sm",className:D.label},r),U.createElement(Yn,{component:"span",color:"dimmed",size:"xs","data-active":f||void 0,className:D.description},i)),(j||o)&&U.createElement("span",{className:D.rightSection,"data-rotate":R&&!k||void 0},j?o||U.createElement(X2,{width:Ue(14),height:Ue(14),style:{transform:"rotate(-90deg)"}}):o)),U.createElement(P$,{in:R},U.createElement("div",{className:D.children},p)))});HMe.displayName="@mantine/core/NavLink";const Nh=HMe,_kt=(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 oAe({direction:e,size:t}){return U.createElement("svg",{style:{width:Ue(t),height:Ue(t),transform:e==="up"?"rotate(180deg)":void 0},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},U.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 VMe={xs:Ue(20),sm:Ue(24),md:Ue(30),lg:Ue(34),xl:Ue(36)};var Nkt=un((e,{radius:t},{size:n})=>({rightSection:{display:"flex",flexDirection:"column",height:`calc(100% - ${Ue(2)})`,margin:Ue(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:Dt({size:n,sizes:VMe}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderLeft:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:Ue(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}})),Ekt=Object.defineProperty,Fkt=Object.defineProperties,Dkt=Object.getOwnPropertyDescriptors,m4=Object.getOwnPropertySymbols,QMe=Object.prototype.hasOwnProperty,qMe=Object.prototype.propertyIsEnumerable,sAe=(e,t,n)=>t in e?Ekt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f7=(e,t)=>{for(var n in t||(t={}))QMe.call(t,n)&&sAe(e,n,t[n]);if(m4)for(var n of m4(t))qMe.call(t,n)&&sAe(e,n,t[n]);return e},Tkt=(e,t)=>Fkt(e,Dkt(t)),Okt=(e,t)=>{var n={};for(var r in e)QMe.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&&qMe.call(e,r)&&(n[r]=e[r]);return n};const jkt={type:"text",size:"sm",__staticSelector:"TextInput"},_te=w.forwardRef((e,t)=>{const n=G$("TextInput",jkt,e),{inputProps:r,wrapperProps:i}=n,a=Okt(n,["inputProps","wrapperProps"]);return U.createElement(xl.Wrapper,f7({},i),U.createElement(xl,Tkt(f7(f7({},r),a),{ref:t})))});_te.displayName="@mantine/core/TextInput";var Bkt=Object.defineProperty,Ikt=Object.defineProperties,Pkt=Object.getOwnPropertyDescriptors,p4=Object.getOwnPropertySymbols,GMe=Object.prototype.hasOwnProperty,WMe=Object.prototype.propertyIsEnumerable,lAe=(e,t,n)=>t in e?Bkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mkt=(e,t)=>{for(var n in t||(t={}))GMe.call(t,n)&&lAe(e,n,t[n]);if(p4)for(var n of p4(t))WMe.call(t,n)&&lAe(e,n,t[n]);return e},Rkt=(e,t)=>Ikt(e,Pkt(t)),$kt=(e,t)=>{var n={};for(var r in e)GMe.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&&WMe.call(e,r)&&(n[r]=e[r]);return n};const Lkt=e=>e||"",Ukt=e=>{if(e==="-")return e;let t=e;t[0]==="."&&(t=`0${e}`);const n=parseFloat(t);return Number.isNaN(n)?"":e},cAe={xs:Ue(10),sm:Ue(14),md:Ue(16),lg:Ue(18),xl:Ue(20)},zkt={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:Lkt,parser:Ukt,type:"text"},dl=w.forwardRef((e,t)=>{const n=Vt("NumberInput",zkt,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:C,variant:S,precision:N,removeTrailingZeros:E,defaultValue:D,noClampOnBlur:T,handlersRef:R,classNames:B,styles:j,size:P,rightSection:$,rightSectionWidth:z,formatter:I,parser:V,inputMode:W,unstyled:ee,type:X}=n,fe=$kt(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:Q}=Nkt({radius:C},{classNames:B,styles:j,unstyled:ee,name:"NumberInput",variant:S,size:P}),G=Te=>{if(Te==="")return"";let Le=Te.toFixed(N);return E&&N>0&&(Le=Le.replace(new RegExp(`[0]{0,${N}}$`),""),Le.endsWith(".")&&(Le=Le.slice(0,-1))),Le},ne=Te=>{let Le=Te;return s&&(Le=Le.replace(".",s)),I(Le)},re=Te=>{let Le=Te;return s&&(Le=Le.replaceAll(l,"").replace(s,".")),V(Le)},oe=Te=>ne(G(Te)),[de,me]=w.useState(typeof a=="number"?a:typeof D=="number"?D:""),[ge,se]=w.useState(()=>oe(de)),te=w.useRef(),[we,Fe]=w.useState(!1),Be=(Te,Le)=>{if(!we||Le){const De=oe(Te);De!==ge&&se(De)}Te!==de&&me(Te)},ie=typeof c=="number"?c:-1/0,Y=typeof u=="number"?u:1/0,ae=w.useRef();ae.current=()=>{var Te;let Le;de===""?Le=(Te=f??c)!=null?Te:0:Le=parseFloat(G(u2(de+h,ie,Y))),Be(Le,!0),o?.(Le)};const ue=w.useRef();ue.current=()=>{var Te;let Le;de===""?Le=(Te=f??c)!=null?Te:0:Le=parseFloat(G(u2(de-h,ie,Y))),Be(Le,!0),o?.(Le)},B$(R,{increment:ae.current,decrement:ue.current}),w.useEffect(()=>{we||Be(a===void 0?de:a,!0)},[a,we]);const ce=A!==void 0&&m!==void 0,ye=w.useRef(null),ve=w.useRef(0),Ie=()=>{ye.current&&window.clearTimeout(ye.current),ye.current=null,ve.current=0},je=Te=>{Te?ae.current():ue.current(),ve.current+=1},Me=Te=>{if(je(Te),ce){const Le=typeof m=="number"?m:m(ve.current);ye.current=window.setTimeout(()=>Me(Te),Le)}},We=(Te,Le)=>{Te.preventDefault(),te.current.focus(),je(Le),ce&&(ye.current=window.setTimeout(()=>Me(Le),A))};w.useEffect(()=>(Ie(),Ie),[]);const et=U.createElement("div",{className:H.rightSection},U.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:de>=u,className:Q(H.control,H.controlUp),onPointerDown:Te=>{We(Te,!0)},onPointerUp:Ie,onPointerLeave:Ie},U.createElement(oAe,{size:Dt({size:P,sizes:cAe}),direction:"up"})),U.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:de<=c,className:Q(H.control,H.controlDown),onPointerDown:Te=>{We(Te,!1)},onPointerUp:Ie,onPointerLeave:Ie},U.createElement(oAe,{size:Dt({size:P,sizes:cAe}),direction:"down"}))),mt=Te=>{let Le=Te;(Le[0]===`${s}`||Le[0]===".")&&(Le=`0${Le}`);const De=parseFloat(G(parseFloat(re(Le)))),He=T?De:u2(De,ie,Y),ct=Number.isNaN(He)?"":He,st=de!==ct;se(Te),Be(ct),st&&o?.(ct)},xt=Te=>{Te.nativeEvent.isComposing||mt(Te.target.value)},Ae=Te=>{Fe(!0),p?.(Te)},J=Te=>{Fe(!1),v?.(Te)},le=Te=>{if(typeof y=="function"&&y(Te),Te.repeat&&ce&&(Te.key==="ArrowUp"||Te.key==="ArrowDown")){Te.preventDefault();return}r||(Te.key==="ArrowUp"?We(Te,!0):Te.key==="ArrowDown"&&We(Te,!1))},Ce=Te=>{typeof x=="function"&&x(Te),(Te.key==="ArrowUp"||Te.key==="ArrowDown")&&Ie()};return U.createElement(_te,Rkt(Mkt({},fe),{type:X,variant:S,value:ge,disabled:i,readOnly:r,ref:Fp(te,t),onChange:xt,onFocus:Ae,onBlur:J,onKeyDown:le,onKeyUp:Ce,rightSection:$||(i||r||k||S==="unstyled"?null:et),rightSectionWidth:z??`calc(${Dt({size:P,sizes:VMe})} + ${Ue(1)})`,radius:C,max:u,min:c,step:h,size:P,styles:j,classNames:B,inputMode:W||_kt(h,N,Hdt()),__staticSelector:"NumberInput",unstyled:ee}))});dl.displayName="@mantine/core/NumberInput";const[Hkt,K$]=vf("Pagination.Root component was not found in tree"),Vkt={siblings:1,boundaries:1};function KMe(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:C}=Vt("PaginationRoot",Vkt,e),{range:S,setPage:N,next:E,previous:D,active:T,first:R,last:B}=Rdt({page:n,initialPage:r,onChange:i,total:t,siblings:s,boundaries:l}),j=ed(f,E),P=ed(h,D),$=ed(m,R),z=ed(A,B);return U.createElement(Hkt,{value:{total:t,range:S,active:T,disabled:a,color:c,radius:u,getItemProps:p,onChange:N,onNext:j,onPrevious:P,onFirst:$,onLast:z,stylesApi:{name:"Pagination",classNames:v,styles:y,unstyled:x,variant:k,size:C}}},o)}const J2={xs:Ue(22),sm:Ue(26),md:Ue(32),lg:Ue(38),xl:Ue(44)};var Qkt=un((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:`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[4]}`,color:e.colorScheme==="dark"?e.colors.dark[0]:e.black,height:Dt({size:i,sizes:J2}),minWidth:Dt({size:i,sizes:J2}),padding:r?`0 calc(${Dt({size:i,sizes:e.spacing})} / 2)`:void 0,fontSize:Dt({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})}}}}),qkt=Object.defineProperty,Gkt=Object.defineProperties,Wkt=Object.getOwnPropertyDescriptors,A4=Object.getOwnPropertySymbols,YMe=Object.prototype.hasOwnProperty,XMe=Object.prototype.propertyIsEnumerable,uAe=(e,t,n)=>t in e?qkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kkt=(e,t)=>{for(var n in t||(t={}))YMe.call(t,n)&&uAe(e,n,t[n]);if(A4)for(var n of A4(t))XMe.call(t,n)&&uAe(e,n,t[n]);return e},Ykt=(e,t)=>Gkt(e,Wkt(t)),Xkt=(e,t)=>{var n={};for(var r in e)YMe.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&&XMe.call(e,r)&&(n[r]=e[r]);return n};const Zkt={withPadding:!0},Y$=w.forwardRef((e,t)=>{const n=Vt("PaginationControl",Zkt,e),{active:r,className:i,disabled:a,withPadding:o}=n,s=Xkt(n,["active","className","disabled","withPadding"]),l=K$(),{classes:c,cx:u}=Qkt({color:l.color,radius:l.radius,withPadding:o},l.stylesApi);return U.createElement(id,Ykt(Kkt({},s),{disabled:a,"data-active":r||void 0,"data-disabled":a||void 0,ref:t,className:u(c.control,i)}))});Y$.displayName="@mantine/core/PaginationControl";var Jkt=Object.defineProperty,eSt=Object.defineProperties,tSt=Object.getOwnPropertyDescriptors,g4=Object.getOwnPropertySymbols,ZMe=Object.prototype.hasOwnProperty,JMe=Object.prototype.propertyIsEnumerable,dAe=(e,t,n)=>t in e?Jkt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sx=(e,t)=>{for(var n in t||(t={}))ZMe.call(t,n)&&dAe(e,n,t[n]);if(g4)for(var n of g4(t))JMe.call(t,n)&&dAe(e,n,t[n]);return e},qF=(e,t)=>eSt(e,tSt(t)),nSt=(e,t)=>{var n={};for(var r in e)ZMe.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&&JMe.call(e,r)&&(n[r]=e[r]);return n};function eRe(e){return`calc(${Dt({size:e,sizes:J2})} / 2)`}function GF(e){var t=e,{size:n,style:r,children:i,path:a}=t,o=nSt(t,["size","style","children","path"]);return U.createElement("svg",sx({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",style:sx({width:n,height:n},r)},o),U.createElement("path",{d:a,fill:"currentColor"}))}const rSt=e=>U.createElement(GF,qF(sx({},e),{path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"})),iSt=e=>U.createElement(GF,qF(sx({},e),{path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"})),aSt=e=>U.createElement(GF,qF(sx({},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"})),oSt=e=>U.createElement(GF,qF(sx({},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"})),sSt=e=>U.createElement(GF,qF(sx({},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 lSt=un((e,t,{size:n})=>({dots:{height:Dt({size:n,sizes:J2}),minWidth:Dt({size:n,sizes:J2}),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}})),cSt=Object.defineProperty,v4=Object.getOwnPropertySymbols,tRe=Object.prototype.hasOwnProperty,nRe=Object.prototype.propertyIsEnumerable,fAe=(e,t,n)=>t in e?cSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uSt=(e,t)=>{for(var n in t||(t={}))tRe.call(t,n)&&fAe(e,n,t[n]);if(v4)for(var n of v4(t))nRe.call(t,n)&&fAe(e,n,t[n]);return e},dSt=(e,t)=>{var n={};for(var r in e)tRe.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&&nRe.call(e,r)&&(n[r]=e[r]);return n};const fSt={icon:sSt},Nte=w.forwardRef((e,t)=>{const n=Vt("PaginationDots",fSt,e),{className:r,icon:i}=n,a=dSt(n,["className","icon"]),o=K$(),{classes:s,cx:l}=lSt(null,o.stylesApi);return U.createElement(En,uSt({ref:t,className:l(s.dots,r)},a),U.createElement(i,{size:eRe(o.stylesApi.size)}))});Nte.displayName="@mantine/core/PaginationDots";var hSt=Object.defineProperty,hAe=Object.getOwnPropertySymbols,mSt=Object.prototype.hasOwnProperty,pSt=Object.prototype.propertyIsEnumerable,mAe=(e,t,n)=>t in e?hSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ASt=(e,t)=>{for(var n in t||(t={}))mSt.call(t,n)&&mAe(e,n,t[n]);if(hAe)for(var n of hAe(t))pSt.call(t,n)&&mAe(e,n,t[n]);return e};function Ete({dotsIcon:e}){const t=K$(),n=t.range.map((r,i)=>{var a;return r==="dots"?U.createElement(Nte,{icon:e,key:i}):U.createElement(Y$,ASt({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 U.createElement(U.Fragment,null,n)}Ete.displayName="@mantine/core/PaginationItems";var gSt=un(e=>({icon:{transform:e.dir==="rtl"?"rotate(180deg)":"unset"}})),vSt=Object.defineProperty,y4=Object.getOwnPropertySymbols,rRe=Object.prototype.hasOwnProperty,iRe=Object.prototype.propertyIsEnumerable,pAe=(e,t,n)=>t in e?vSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ySt=(e,t)=>{for(var n in t||(t={}))rRe.call(t,n)&&pAe(e,n,t[n]);if(y4)for(var n of y4(t))iRe.call(t,n)&&pAe(e,n,t[n]);return e},bSt=(e,t)=>{var n={};for(var r in e)rRe.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&&iRe.call(e,r)&&(n[r]=e[r]);return n};function X$({icon:e,name:t,action:n,type:r}){const i={icon:e},a=w.forwardRef((o,s)=>{const l=Vt(t,i,o),{icon:c}=l,u=bSt(l,["icon"]),{classes:f}=gSt(),h=K$(),m=r==="next"?h.active===h.total:h.active===1;return U.createElement(Y$,ySt({disabled:h.disabled||m,ref:s,onClick:h[n],withPadding:!1},u),U.createElement(c,{className:f.icon,size:eRe(h.stylesApi.size)}))});return a.displayName=`@mantine/core/${t}`,a}const aRe=X$({icon:rSt,name:"PaginationNext",action:"onNext",type:"next"}),oRe=X$({icon:iSt,name:"PaginationPrevious",action:"onPrevious",type:"previous"}),sRe=X$({icon:aSt,name:"PaginationFirst",action:"onFirst",type:"previous"}),lRe=X$({icon:oSt,name:"PaginationLast",action:"onLast",type:"next"});var xSt=Object.defineProperty,b4=Object.getOwnPropertySymbols,cRe=Object.prototype.hasOwnProperty,uRe=Object.prototype.propertyIsEnumerable,AAe=(e,t,n)=>t in e?xSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j_=(e,t)=>{for(var n in t||(t={}))cRe.call(t,n)&&AAe(e,n,t[n]);if(b4)for(var n of b4(t))uRe.call(t,n)&&AAe(e,n,t[n]);return e},wSt=(e,t)=>{var n={};for(var r in e)cRe.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&&uRe.call(e,r)&&(n[r]=e[r]);return n};const kSt={withControls:!0,siblings:1,boundaries:1};function bf(e){const t=Vt("Pagination",kSt,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:C,onLastPage:S,getItemProps:N,getControlProps:E,spacing:D,nextIcon:T,previousIcon:R,lastIcon:B,firstIcon:j,dotsIcon:P}=t,$=wSt(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"]),z=pu();return c<=0?null:U.createElement(KMe,{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:C,onLastPage:S,getItemProps:N},U.createElement(qk,j_({spacing:D??`calc(${Dt({size:l,sizes:z.spacing})} / 2)`},$),n&&U.createElement(sRe,j_({icon:j},E?.("first"))),r&&U.createElement(oRe,j_({icon:R},E?.("previous"))),U.createElement(Ete,{dotsIcon:P}),r&&U.createElement(aRe,j_({icon:T},E?.("next"))),n&&U.createElement(lRe,j_({icon:B},E?.("last")))))}bf.displayName="@mantine/core/Pagination";bf.Root=KMe;bf.Items=Ete;bf.Control=Y$;bf.Dots=Nte;bf.Next=aRe;bf.Previous=oRe;bf.Last=lRe;bf.First=sRe;const gAe={xs:Ue(3),sm:Ue(5),md:Ue(8),lg:Ue(12),xl:Ue(16)},SSt=Mx({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${Ue(40)} 0`}});var CSt=un((e,{color:t,radius:n},{size:r})=>({root:{position:"relative",height:Dt({size:r,sizes:gAe}),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:`${SSt} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${Ue(20)} ${Ue(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(${Dt({size:r,sizes:gAe})} * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}));const dRe=w.createContext(!1),_St=dRe.Provider,NSt=()=>w.useContext(dRe);function fRe({children:e,openDelay:t=0,closeDelay:n=0}){return U.createElement(_St,{value:!0},U.createElement(zAt,{delay:{open:t,close:n}},e))}fRe.displayName="@mantine/core/TooltipGroup";var ESt=Object.defineProperty,FSt=Object.defineProperties,DSt=Object.getOwnPropertyDescriptors,vAe=Object.getOwnPropertySymbols,TSt=Object.prototype.hasOwnProperty,OSt=Object.prototype.propertyIsEnumerable,yAe=(e,t,n)=>t in e?ESt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bAe=(e,t)=>{for(var n in t||(t={}))TSt.call(t,n)&&yAe(e,n,t[n]);if(vAe)for(var n of vAe(t))OSt.call(t,n)&&yAe(e,n,t[n]);return e},jSt=(e,t)=>FSt(e,DSt(t));function BSt(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 hRe=un((e,{color:t,radius:n,width:r,multiline:i})=>({tooltip:jSt(bAe(bAe({},e.fn.fontStyles()),BSt(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 mRe={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 ISt({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}=Ate({placement:t,middleware:[q$({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=HA(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 PSt=Object.defineProperty,MSt=Object.defineProperties,RSt=Object.getOwnPropertyDescriptors,x4=Object.getOwnPropertySymbols,pRe=Object.prototype.hasOwnProperty,ARe=Object.prototype.propertyIsEnumerable,xAe=(e,t,n)=>t in e?PSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,XO=(e,t)=>{for(var n in t||(t={}))pRe.call(t,n)&&xAe(e,n,t[n]);if(x4)for(var n of x4(t))ARe.call(t,n)&&xAe(e,n,t[n]);return e},ZO=(e,t)=>MSt(e,RSt(t)),$St=(e,t)=>{var n={};for(var r in e)pRe.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&&ARe.call(e,r)&&(n[r]=e[r]);return n};const LSt={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Ep("popover")};function gRe(e){var t;const n=Vt("TooltipFloating",LSt,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:C,variant:S}=n,N=$St(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:R,boundaryRef:B,floating:j,setOpened:P}=ISt({offset:p,position:v}),{classes:$,cx:z}=hRe({radius:h,color:m,multiline:y,width:x},{name:"TooltipFloating",classNames:c,styles:u,unstyled:f,variant:S});if(!WS(r))throw new Error(mRe.children);const I=Fp(B,r.ref),V=ee=>{var X,fe;(fe=(X=r.props).onMouseEnter)==null||fe.call(X,ee),E(ee),P(!0)},W=ee=>{var X,fe;(fe=(X=r.props).onMouseLeave)==null||fe.call(X,ee),P(!1)};return U.createElement(U.Fragment,null,U.createElement(JS,ZO(XO({},o),{withinPortal:a}),U.createElement(En,ZO(XO({},N),{ref:j,className:z($.tooltip,l),style:ZO(XO({},s),{zIndex:k,display:!C&&R?"block":"none",top:T??"",left:(t=Math.round(D))!=null?t:""})}),A)),w.cloneElement(r,ZO(XO({},r.props),{[i]:I,onMouseEnter:V,onMouseLeave:W})))}gRe.displayName="@mantine/core/TooltipFloating";function USt(e){const[t,n]=w.useState(!1),i=typeof e.opened=="boolean"?e.opened:t,a=NSt(),o=Rx(),{delay:s,currentId:l,setCurrentId:c}=zIe(),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:C}={}}}=Ate({placement:e.position,open:i,onOpenChange:u,middleware:[fte(e.offset),q$({padding:8}),hte(),MIe({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[BIe()]:[]]}),{getReferenceProps:S,getFloatingProps:N}=egt([UAt(p,{enabled:e.events.hover,delay:a?s:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),ZAt(p,{enabled:e.events.focus,keyboardOnly:!0}),JAt(p,{role:"tooltip"}),XAt(p,{enabled:typeof e.opened===void 0}),HAt(p,{id:o})]);return VIe({opened:i,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:v,update:y}}),bl(()=>{var D;(D=e.onPositionChange)==null||D.call(e,x)},[x]),{x:f,y:h,arrowX:k,arrowY:C,reference:m,floating:A,getFloatingProps:N,getReferenceProps:S,isGroupPhase:i&&l&&l!==o,opened:i,placement:x}}var zSt=Object.defineProperty,HSt=Object.defineProperties,VSt=Object.getOwnPropertyDescriptors,w4=Object.getOwnPropertySymbols,vRe=Object.prototype.hasOwnProperty,yRe=Object.prototype.propertyIsEnumerable,wAe=(e,t,n)=>t in e?zSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U0=(e,t)=>{for(var n in t||(t={}))vRe.call(t,n)&&wAe(e,n,t[n]);if(w4)for(var n of w4(t))yRe.call(t,n)&&wAe(e,n,t[n]);return e},h7=(e,t)=>HSt(e,VSt(t)),QSt=(e,t)=>{var n={};for(var r in e)vRe.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&&yRe.call(e,r)&&(n[r]=e[r]);return n};const qSt={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:Ep("popover"),positionDependencies:[]},Z$=w.forwardRef((e,t)=>{var n;const r=w.useRef(null),i=Vt("Tooltip",qSt,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:C,className:S,withArrow:N,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:R,offset:B,transitionProps:j,multiline:P,width:$,events:z,zIndex:I,disabled:V,positionDependencies:W,onClick:ee,onMouseEnter:X,onMouseLeave:fe,inline:H,variant:Q,keepMounted:G}=i,ne=QSt(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:oe,theme:de}=hRe({radius:p,color:v,width:$,multiline:P},{name:"Tooltip",classNames:y,styles:x,unstyled:k,variant:Q}),me=USt({position:tPe(de.dir,o),closeDelay:u,openDelay:c,onPositionChange:f,opened:h,events:z,arrowRef:r,arrowOffset:D,offset:B+(N?E/2:0),positionDependencies:[...W,a],inline:H});if(!WS(a))throw new Error(mRe.children);const ge=Fp(me.reference,a.ref,t);return U.createElement(U.Fragment,null,U.createElement(JS,h7(U0({},A),{withinPortal:m}),U.createElement(nC,h7(U0({keepMounted:G,mounted:!V&&me.opened},j),{transition:j.transition||"fade",duration:me.isGroupPhase?10:(n=j.duration)!=null?n:100}),se=>{var te,we;return U.createElement(En,U0(U0({},ne),me.getFloatingProps({ref:me.floating,className:re.tooltip,style:h7(U0(U0({},C),se),{zIndex:I,top:(te=me.y)!=null?te:0,left:(we=me.x)!=null?we:0})})),l,U.createElement(vte,{ref:r,arrowX:me.arrowX,arrowY:me.arrowY,visible:N,position:me.placement,arrowSize:E,arrowOffset:D,arrowRadius:T,arrowPosition:R,className:re.arrow}))})),w.cloneElement(a,me.getReferenceProps(U0({onClick:ee,onMouseEnter:X,onMouseLeave:fe,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[s]:ge,className:oe(S,a.props.className)},a.props))))});Z$.Group=fRe;Z$.Floating=gRe;Z$.displayName="@mantine/core/Tooltip";const Ln=Z$;var GSt=Object.defineProperty,WSt=Object.defineProperties,KSt=Object.getOwnPropertyDescriptors,k4=Object.getOwnPropertySymbols,bRe=Object.prototype.hasOwnProperty,xRe=Object.prototype.propertyIsEnumerable,kAe=(e,t,n)=>t in e?GSt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eY=(e,t)=>{for(var n in t||(t={}))bRe.call(t,n)&&kAe(e,n,t[n]);if(k4)for(var n of k4(t))xRe.call(t,n)&&kAe(e,n,t[n]);return e},wRe=(e,t)=>WSt(e,KSt(t)),SAe=(e,t)=>{var n={};for(var r in e)bRe.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&&xRe.call(e,r)&&(n[r]=e[r]);return n};function YSt(e){return e.reduce((t,n)=>(t.sections.push(wRe(eY({},n),{accumulated:t.accumulated})),t.accumulated+=n.value,t),{accumulated:0,sections:[]}).sections}const XSt={size:"md",radius:"sm",striped:!1,animate:!1,label:""},Fte=w.forwardRef((e,t)=>{const n=Vt("Progress",XSt,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=SAe(n,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:x,cx:k,theme:C}=CSt({color:a,radius:s},{name:"Progress",classNames:h,styles:m,unstyled:p,variant:v,size:o}),S=Array.isArray(A)?YSt(A).map((N,E)=>{var D=N,{tooltip:T,accumulated:R,value:B,label:j,color:P}=D,$=SAe(D,["tooltip","accumulated","value","label","color"]);return U.createElement(Ln.Floating,{label:T,disabled:!T,key:E},U.createElement(En,wRe(eY({},$),{className:k(x.bar,$.className),"data-striped":l||c||void 0,"data-animate":c||void 0,sx:{width:`${B}%`,left:`${R}%`,backgroundColor:C.fn.variant({variant:"filled",primaryFallback:!1,color:P||C.primaryColor}).background}}),j&&U.createElement(Yn,{className:x.label},j)))}):null;return U.createElement(En,eY({className:k(x.root,r),ref:t},y),S||U.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?U.createElement(Yn,{className:x.label},u):""))});Fte.displayName="@mantine/core/Progress";function ZSt({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 JSt=un(()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}})),eCt=Object.defineProperty,tCt=Object.defineProperties,nCt=Object.getOwnPropertyDescriptors,S4=Object.getOwnPropertySymbols,kRe=Object.prototype.hasOwnProperty,SRe=Object.prototype.propertyIsEnumerable,CAe=(e,t,n)=>t in e?eCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B_=(e,t)=>{for(var n in t||(t={}))kRe.call(t,n)&&CAe(e,n,t[n]);if(S4)for(var n of S4(t))SRe.call(t,n)&&CAe(e,n,t[n]);return e},m7=(e,t)=>tCt(e,nCt(t)),rCt=(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&&SRe.call(e,r)&&(n[r]=e[r]);return n};function iCt(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())}function aCt(e,t){return!!e&&!t.some(n=>n.label.toLowerCase()===e.toLowerCase())}const oCt={required:!1,size:"sm",shadow:"sm",itemComponent:rte,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:iCt,maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:aCt,selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:Ep("popover"),positionDependencies:[],dropdownPosition:"flip"},Jr=w.forwardRef((e,t)=>{const n=G$("Select",oCt,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:C,searchable:S,clearable:N,nothingFound:E,limit:D,disabled:T,onSearchChange:R,searchValue:B,rightSection:j,rightSectionWidth:P,creatable:$,getCreateLabel:z,shouldCreate:I,selectOnBlur:V,onCreate:W,dropdownComponent:ee,onDropdownClose:X,onDropdownOpen:fe,withinPortal:H,portalProps:Q,switchDirectionOnFlip:G,zIndex:ne,name:re,dropdownPosition:oe,allowDeselect:de,placeholder:me,filterDataOnExactSearchMatch:ge,form:se,positionDependencies:te,readOnly:we,clearButtonProps:Fe,hoverOnSearchChange:Be}=n,ie=rCt(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:Y,cx:ae,theme:ue}=JSt(),[ce,ye]=w.useState(p),[ve,Ie]=w.useState(-1),je=w.useRef(),Me=w.useRef({}),[We,et]=w.useState("column"),mt=We==="column",{scrollIntoView:xt,targetRef:Ae,scrollableRef:J}=tBe({duration:0,offset:5,cancelable:!1,isList:!0}),le=de===void 0?N:de,Ce=bt=>{if(ce!==bt){ye(bt);const rn=bt?fe:X;typeof rn=="function"&&rn()}},Te=$&&typeof z=="function";let Le=null;const De=o.map(bt=>typeof bt=="string"?{label:bt,value:bt}:bt),He=Cje({data:De}),[ct,st,rt]=Fc({value:s,defaultValue:l,finalValue:null,onChange:c}),ft=He.find(bt=>bt.value===ct),[Yt,qt]=Fc({value:B,defaultValue:ft?.label||"",finalValue:void 0,onChange:R}),yt=bt=>{qt(bt),S&&typeof R=="function"&&R(bt)},Ut=()=>{var bt;we||(st(null),rt||yt(""),(bt=je.current)==null||bt.focus())};w.useEffect(()=>{const bt=He.find(rn=>rn.value===ct);bt?yt(bt.label):(!Te||!ct)&&yt("")},[ct]),w.useEffect(()=>{ft&&(!S||!ce)&&yt(ft.label)},[ft?.label]);const xn=bt=>{if(!we)if(le&&ft?.value===bt.value)st(null),Ce(!1);else{if(bt.creatable&&typeof W=="function"){const rn=W(bt.value);typeof rn<"u"&&rn!==null&&st(typeof rn=="string"?rn:rn.value)}else st(bt.value);rt||yt(bt.label),Ie(-1),Ce(!1),je.current.focus()}},nn=ZSt({data:He,searchable:S,limit:D,searchValue:Yt,filter:k,filterDataOnExactSearchMatch:ge,value:ct});Te&&I(Yt,nn)&&(Le=z(Yt),nn.push({label:Yt,value:Yt,creatable:!0}));const Pe=(bt,rn,Dn)=>{let pn=bt;for(;Dn(pn);)if(pn=rn(pn),!nn[pn].disabled)return pn;return bt};bl(()=>{Ie(Be&&Yt?0:-1)},[Yt,Be]);const Ge=ct?nn.findIndex(bt=>bt.value===ct):0,ze=!we&&(nn.length>0?ce:ce&&!!E),gt=()=>{Ie(bt=>{var rn;const Dn=Pe(bt,pn=>pn-1,pn=>pn>0);return Ae.current=Me.current[(rn=nn[Dn])==null?void 0:rn.value],ze&&xt({alignment:mt?"start":"end"}),Dn})},wt=()=>{Ie(bt=>{var rn;const Dn=Pe(bt,pn=>pn+1,pn=>pn<nn.length-1);return Ae.current=Me.current[(rn=nn[Dn])==null?void 0:rn.value],ze&&xt({alignment:mt?"end":"start"}),Dn})},Gt=()=>window.setTimeout(()=>{var bt;Ae.current=Me.current[(bt=nn[Ge])==null?void 0:bt.value],xt({alignment:mt?"end":"start"})},50);bl(()=>{ze&&Gt()},[ze]);const Xt=bt=>{switch(typeof f=="function"&&f(bt),bt.key){case"ArrowUp":{bt.preventDefault(),ce?mt?gt():wt():(Ie(Ge),Ce(!0),Gt());break}case"ArrowDown":{bt.preventDefault(),ce?mt?wt():gt():(Ie(Ge),Ce(!0),Gt());break}case"Home":{if(!S){bt.preventDefault(),ce||Ce(!0);const rn=nn.findIndex(Dn=>!Dn.disabled);Ie(rn),ze&&xt({alignment:mt?"end":"start"})}break}case"End":{if(!S){bt.preventDefault(),ce||Ce(!0);const rn=nn.map(Dn=>!!Dn.disabled).lastIndexOf(!1);Ie(rn),ze&&xt({alignment:mt?"end":"start"})}break}case"Escape":{bt.preventDefault(),Ce(!1),Ie(-1);break}case" ":{S||(bt.preventDefault(),nn[ve]&&ce?xn(nn[ve]):(Ce(!0),Ie(Ge),Gt()));break}case"Enter":S||bt.preventDefault(),nn[ve]&&ce&&(bt.preventDefault(),xn(nn[ve]))}},Wt=bt=>{typeof h=="function"&&h(bt);const rn=He.find(Dn=>Dn.value===ct);V&&nn[ve]&&ce&&xn(nn[ve]),yt(rn?.label||""),Ce(!1)},fn=bt=>{typeof m=="function"&&m(bt),S&&Ce(!0)},Fn=bt=>{we||(yt(bt.currentTarget.value),N&&bt.currentTarget.value===""&&st(null),Ie(-1),Ce(!0))},mn=()=>{we||(Ce(!ce),ct&&!ce&&Ie(Ge))};return U.createElement(xl.Wrapper,m7(B_({},i),{__staticSelector:"Select"}),U.createElement(ty,{opened:ze,transitionProps:A,shadow:a,withinPortal:H,portalProps:Q,__staticSelector:"Select",onDirectionChange:et,switchDirectionOnFlip:G,zIndex:ne,dropdownPosition:oe,positionDependencies:[...te,Yt],classNames:y,styles:x,unstyled:v,variant:r.variant},U.createElement(ty.Target,null,U.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":ze?`${r.id}-items`:null,"aria-controls":r.id,"aria-expanded":ze,onMouseLeave:()=>Ie(-1),tabIndex:-1},U.createElement("input",{type:"hidden",name:re,value:ct||"",form:se,disabled:T}),U.createElement(xl,B_(m7(B_(B_({autoComplete:"off",type:"search"},r),ie),{ref:Fp(t,je),onKeyDown:Xt,__staticSelector:"Select",value:Yt,placeholder:me,onChange:Fn,"aria-autocomplete":"list","aria-controls":ze?`${r.id}-items`:null,"aria-activedescendant":ve>=0?`${r.id}-${ve}`:null,onMouseDown:mn,onBlur:Wt,onFocus:fn,readOnly:!S||we,disabled:T,"data-mantine-stop-propagation":ze,name:null,classNames:m7(B_({},y),{input:ae({[Y.input]:!S},y?.input)})}),RMe({theme:ue,rightSection:j,rightSectionWidth:P,styles:x,size:r.size,shouldClear:N&&!!ft,onClear:Ut,error:i.error,clearButtonProps:Fe,disabled:T,readOnly:we}))))),U.createElement(ty.Dropdown,{component:ee||L$,maxHeight:C,direction:We,id:r.id,innerRef:J,__staticSelector:"Select",classNames:y,styles:x},U.createElement(nte,{data:nn,hovered:ve,classNames:y,styles:x,isItemSelected:bt=>bt===ct,uuid:r.id,__staticSelector:"Select",onItemHover:Ie,onItemSelect:xn,itemsRefs:Me,itemComponent:u,size:r.size,nothingFound:E,creatable:Te&&!!Le,createLabel:Le,"aria-label":i.label,unstyled:v,variant:r.variant}))))});Jr.displayName="@mantine/core/Select";function Dte(e,t){if(t.length===0)return t;const n="maxWidth"in t[0]?"maxWidth":"minWidth",r=[...t].sort((i,a)=>wh(Dt({size:a[n],sizes:e.breakpoints}))-wh(Dt({size:i[n],sizes:e.breakpoints})));return n==="minWidth"?r.reverse():r}var sCt=Object.defineProperty,_Ae=Object.getOwnPropertySymbols,lCt=Object.prototype.hasOwnProperty,cCt=Object.prototype.propertyIsEnumerable,NAe=(e,t,n)=>t in e?sCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uCt=(e,t)=>{for(var n in t||(t={}))lCt.call(t,n)&&NAe(e,n,t[n]);if(_Ae)for(var n of _Ae(t))cCt.call(t,n)&&NAe(e,n,t[n]);return e},dCt=un((e,{spacing:t,breakpoints:n,cols:r,verticalSpacing:i})=>{const a=i!=null,o=Dte(e,n).reduce((s,l)=>{var c,u;const f="maxWidth"in l?"max-width":"min-width",h=Dt({size:f==="max-width"?l.maxWidth:l.minWidth,sizes:e.breakpoints,units:"em"}),m=wh(h)-(f==="max-width"?1:0);return s[`@media (${f}: ${KS(m)})`]={gridTemplateColumns:`repeat(${l.cols}, minmax(0, 1fr))`,gap:`${Dt({size:(c=l.verticalSpacing)!=null?c:a?i:t,sizes:e.spacing})} ${Dt({size:(u=l.spacing)!=null?u:t,sizes:e.spacing})}`},s},{});return{root:uCt({boxSizing:"border-box",display:"grid",gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`,gap:`${Dt({size:a?i:t,sizes:e.spacing})} ${Dt({size:t,sizes:e.spacing})}`},o)}}),fCt=Object.defineProperty,C4=Object.getOwnPropertySymbols,CRe=Object.prototype.hasOwnProperty,_Re=Object.prototype.propertyIsEnumerable,EAe=(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={}))CRe.call(t,n)&&EAe(e,n,t[n]);if(C4)for(var n of C4(t))_Re.call(t,n)&&EAe(e,n,t[n]);return e},mCt=(e,t)=>{var n={};for(var r in e)CRe.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&&_Re.call(e,r)&&(n[r]=e[r]);return n};const pCt={breakpoints:[],cols:1,spacing:"md"},aC=w.forwardRef((e,t)=>{const n=Vt("SimpleGrid",pCt,e),{className:r,breakpoints:i,cols:a,spacing:o,verticalSpacing:s,children:l,unstyled:c,variant:u}=n,f=mCt(n,["className","breakpoints","cols","spacing","verticalSpacing","children","unstyled","variant"]),{classes:h,cx:m}=dCt({breakpoints:i,cols:a,spacing:o,verticalSpacing:s},{name:"SimpleGrid",unstyled:c,variant:u});return U.createElement(En,hCt({className:m(h.root,r),ref:t},f),l)});aC.displayName="@mantine/core/SimpleGrid";var ACt=Object.defineProperty,gCt=Object.defineProperties,vCt=Object.getOwnPropertyDescriptors,FAe=Object.getOwnPropertySymbols,yCt=Object.prototype.hasOwnProperty,bCt=Object.prototype.propertyIsEnumerable,DAe=(e,t,n)=>t in e?ACt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xCt=(e,t)=>{for(var n in t||(t={}))yCt.call(t,n)&&DAe(e,n,t[n]);if(FAe)for(var n of FAe(t))bCt.call(t,n)&&DAe(e,n,t[n]);return e},wCt=(e,t)=>gCt(e,vCt(t)),kCt=un((e,{captionSide:t,horizontalSpacing:n,verticalSpacing:r,fontSize:i,withBorder:a,withColumnBorders:o})=>{const s=`${Ue(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`;return{root:wCt(xCt({},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:Dt({size:i,sizes:e.fontSizes}),padding:`${Dt({size:r,sizes:e.spacing})} ${Dt({size:n,sizes:e.spacing})}`},"& > thead > tr > th":{borderBottom:s},"& > tfoot > tr > th, & > tbody > tr > th":{borderTop:s},"& > tbody > tr > td":{padding:`${Dt({size:r,sizes:e.spacing})} ${Dt({size:n,sizes:e.spacing})}`,borderTop:s,fontSize:Dt({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]})})}}),SCt=Object.defineProperty,CCt=Object.defineProperties,_Ct=Object.getOwnPropertyDescriptors,_4=Object.getOwnPropertySymbols,NRe=Object.prototype.hasOwnProperty,ERe=Object.prototype.propertyIsEnumerable,TAe=(e,t,n)=>t in e?SCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NCt=(e,t)=>{for(var n in t||(t={}))NRe.call(t,n)&&TAe(e,n,t[n]);if(_4)for(var n of _4(t))ERe.call(t,n)&&TAe(e,n,t[n]);return e},ECt=(e,t)=>CCt(e,_Ct(t)),FCt=(e,t)=>{var n={};for(var r in e)NRe.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&&ERe.call(e,r)&&(n[r]=e[r]);return n};const DCt={striped:!1,highlightOnHover:!1,captionSide:"top",horizontalSpacing:"xs",fontSize:"sm",verticalSpacing:7,withBorder:!1,withColumnBorders:!1},fo=w.forwardRef((e,t)=>{const n=Vt("Table",DCt,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=FCt(n,["className","children","striped","highlightOnHover","captionSide","horizontalSpacing","verticalSpacing","fontSize","unstyled","withBorder","withColumnBorders","variant"]),{classes:v,cx:y}=kCt({captionSide:s,verticalSpacing:c,horizontalSpacing:l,fontSize:u,withBorder:h,withColumnBorders:m},{unstyled:f,name:"Table",variant:A});return U.createElement(En,ECt(NCt({},p),{component:"table",ref:t,className:y(v.root,r),"data-striped":a||void 0,"data-hover":o||void 0}),i)});fo.displayName="@mantine/core/Table";var TCt=Object.defineProperty,OCt=Object.defineProperties,jCt=Object.getOwnPropertyDescriptors,OAe=Object.getOwnPropertySymbols,BCt=Object.prototype.hasOwnProperty,ICt=Object.prototype.propertyIsEnumerable,jAe=(e,t,n)=>t in e?TCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,BAe=(e,t)=>{for(var n in t||(t={}))BCt.call(t,n)&&jAe(e,n,t[n]);if(OAe)for(var n of OAe(t))ICt.call(t,n)&&jAe(e,n,t[n]);return e},PCt=(e,t)=>OCt(e,jCt(t));const MCt={xs:Ue(16),sm:Ue(20),md:Ue(26),lg:Ue(32),xl:Ue(40)},RCt=["filled","light","gradient","outline","default"];function $Ct({theme:e,variant:t,color:n,gradient:r}){if(!RCt.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:`${Ue(t==="gradient"?0:1)} solid ${i.border}`}}var LCt=un((e,{color:t,radius:n,gradient:r},{variant:i,size:a})=>{const o=Dt({size:a,sizes:MCt});return{root:BAe(PCt(BAe({},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)}),$Ct({theme:e,variant:i,gradient:r,color:t}))}}),UCt=Object.defineProperty,N4=Object.getOwnPropertySymbols,FRe=Object.prototype.hasOwnProperty,DRe=Object.prototype.propertyIsEnumerable,IAe=(e,t,n)=>t in e?UCt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zCt=(e,t)=>{for(var n in t||(t={}))FRe.call(t,n)&&IAe(e,n,t[n]);if(N4)for(var n of N4(t))DRe.call(t,n)&&IAe(e,n,t[n]);return e},HCt=(e,t)=>{var n={};for(var r in e)FRe.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&&DRe.call(e,r)&&(n[r]=e[r]);return n};const VCt={size:"md",variant:"filled"},Tte=w.forwardRef((e,t)=>{const n=Vt("ThemeIcon",VCt,e),{className:r,size:i,radius:a,variant:o,color:s,children:l,gradient:c,unstyled:u}=n,f=HCt(n,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:h,cx:m}=LCt({variant:o,radius:a,color:s,gradient:c},{name:"ThemeIcon",unstyled:u,variant:o,size:i});return U.createElement(En,zCt({className:m(h.root,r),ref:t},f),l)});Tte.displayName="@mantine/core/ThemeIcon";const OB={Approved:"APPROVED",Pending:"PENDING",Unapproved:"UNAPPROVED"},PAe={DoubleEntry:"DOUBLE_ENTRY",SingleEntry:"SINGLE_ENTRY"},MAe={Computerized:"COMPUTERIZED",Manual:"MANUAL"},z0={Adverse:"ADVERSE",Disclaimer:"DISCLAIMER",None:"NONE",Qualified:"QUALIFIED",Unqualified:"UNQUALIFIED",UnqualifiedWithGoingConcern:"UNQUALIFIED_WITH_GOING_CONCERN",UnqualifiedWithOtherEmphases:"UNQUALIFIED_WITH_OTHER_EMPHASES"},QCt={Monthly:"MONTHLY"},qCt={Accommodation:"ACCOMMODATION",CarRental:"CAR_RENTAL",Flight:"FLIGHT",Other:"OTHER",TravelAndSubsistence:"TRAVEL_AND_SUBSISTENCE"},zb={All:"ALL",Expense:"EXPENSE",Income:"INCOME"},mk={AbsAmount:"ABS_AMOUNT",Amount:"AMOUNT",Date:"DATE"},Ht={Aud:"AUD",Cad:"CAD",Eth:"ETH",Eur:"EUR",Gbp:"GBP",Grt:"GRT",Ils:"ILS",Jpy:"JPY",Sek:"SEK",Usd:"USD",Usdc:"USDC"},RAe={Dollars:"DOLLARS",Shekels:"SHEKELS"},GCt={GeneralAndManagement:"GENERAL_AND_MANAGEMENT",Marketing:"MARKETING",ResearchAndDevelopment:"RESEARCH_AND_DEVELOPMENT"},Ur={CreditInvoice:"CREDIT_INVOICE",Invoice:"INVOICE",InvoiceReceipt:"INVOICE_RECEIPT",Other:"OTHER",Proforma:"PROFORMA",Receipt:"RECEIPT",Unprocessed:"UNPROCESSED"},TRe={Business:"BUSINESS",Economy:"ECONOMY",FirstClass:"FIRST_CLASS",PremiumEconomy:"PREMIUM_ECONOMY"},$e={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"},tY={English:"ENGLISH",Hebrew:"HEBREW"},iw={ApplePay:"APPLE_PAY",Bit:"BIT",Culo:"CULO",GooglePay:"GOOGLE_PAY",Paybox:"PAYBOX",PayByPepper:"PAY_BY_PEPPER"},aw={AmericanExpress:"AMERICAN_EXPRESS",Diners:"DINERS",Isracard:"ISRACARD",Mastercard:"MASTERCARD",Unknown:"UNKNOWN",Visa:"VISA"},ow={Credit:"CREDIT",Deferred:"DEFERRED",Other:"OTHER",Payments:"PAYMENTS",Recurring:"RECURRING",Standard:"STANDARD"},Av={Bitcoin:"BITCOIN",BuymeVoucher:"BUYME_VOUCHER",Ethereum:"ETHEREUM",GiftCard:"GIFT_CARD",MoneyEqual:"MONEY_EQUAL",NiiEmployeeDeduction:"NII_EMPLOYEE_DEDUCTION",Payoneer:"PAYONEER",VCheck:"V_CHECK"},fl={Cash:"CASH",Cheque:"CHEQUE",CreditCard:"CREDIT_CARD",Other:"OTHER",OtherDeduction:"OTHER_DEDUCTION",PaymentApp:"PAYMENT_APP",Paypal:"PAYPAL",TaxDeduction:"TAX_DEDUCTION",WireTransfer:"WIRE_TRANSFER"},d2={Default:"DEFAULT",Exempt:"EXEMPT",Mixed:"MIXED"},JO={None:"NONE",Option_1:"OPTION_1",Option_2Adjustments:"OPTION_2_ADJUSTMENTS",Option_3Adjustments:"OPTION_3_ADJUSTMENTS"},ny={Counterparty:"COUNTERPARTY",Description:"DESCRIPTION",Documents:"DOCUMENTS",Tags:"TAGS",TaxCategory:"TAX_CATEGORY",Transactions:"TRANSACTIONS",Vat:"VAT"},jB={Accrual:"ACCRUAL",Cash:"CASH",DollarRegulations:"DOLLAR_REGULATIONS"},WCt={},KCt={},YCt={},XCt={},ORe={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"}}]}}]}}]}}]}}]}}]}}]},jRe={},$Ae={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"}}]}}]}}]}}]}}]}}]},BRe={},IRe={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"}}]}}]}}]}}]},PRe={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"}}]}}]}}]}}]},MRe={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"}}]}}]}}]}}]},RRe={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"}}]}}]}}]}}]},ZCt={},$Re={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"}}]}}]}}]},LRe={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"}}]}}]}}]}}]}}]},JCt={},e_t={},t_t={},n_t={},r_t={},i_t={},a_t={},o_t={},s_t={},l_t={},c_t={},u_t={},d_t={},f_t={},h_t={},m_t={},p_t={},A_t={},g_t={},v_t={},y_t={},b_t={},x_t={},w_t={},k_t={},S_t={},C_t={},__t={},N_t={},E_t={},F_t={},D_t={},URe={},eE={},T_t={},O_t={},zRe={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"}}]}}]}}]}}]},HRe={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"}}]}}]}}]}}]}}]}}]}}]},LAe={},j_t={},B_t={},I_t={},P_t={},M_t={},VRe={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"}}]}}]}}]}}]},R_t={},$_t={},QRe={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"}}]}}]}}]}}]},L_t={},qRe={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"}}]}}]}}]}}]}}]}}]},GRe={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"}}]}}]}}]}}]},U_t={},z_t={},H0={},H_t={},V_t={},Q_t={},q_t={},G_t={},W_t={},K_t={},Y_t={},X_t={},Z_t={},J_t={},eNt={},tNt={},nNt={},rNt={},iNt={},aNt={},oNt={},WRe={},sNt={},lNt={},UAe={},zAe={},HAe={},VAe={},cNt={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"}}]}}]}}]}}]},KRe={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"}}]}}]}}]}}]},uNt={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"}}]}}]}}]}}]},dNt={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"}}]}}]}}]}}]}}]},fNt={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"}}]}}]}}]}}]},hNt={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"}}]}}]},mNt={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"}}]}}]},pNt={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:"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"}}]}}]},Yf={__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:"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"}}]}}]}}]}}]},ANt={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:"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"}}]}}]},gNt={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"}}]}}]}}]}}]},vNt={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"}}]}}]}}]}}]}}]}}]},yNt={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"}}]}}]}}]},bNt={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"}}]}}]}}]}}]}}]}}]},xNt={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"}}]}}]}}]}}]},wNt={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"}}]}}]}}]},kNt={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"}}]}}]}}]}}]}}]}}]},SNt={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"}}]}}]}}]}}]}}]}}]},CNt={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"}}]}}]}}]}}]},_Nt={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"}}]}}]}}]}}]},NNt={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"}}]}}]}}]}}]},ENt={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"}}]}}]},FNt={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"}}]}}]}}]},YRe={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"}}]}}]}}]},XRe={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"}}]}}]}}]},DNt={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"}}]}}]}}]},TNt={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"}}]}}]}}]},J$={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"}}]}}]}}]}}]},ONt={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"}}]}}]}}]},jNt={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"}}]}}]}}]},BNt={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"}}]}}]}}]}}]},INt={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"}}]}}]}}]}}]},PNt={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"}}]}}]}}]},MNt={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"}}]}}]}}]},RNt={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"}}]}}]}}]}}]},$Nt={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"}}]}}]},LNt={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"}}]}}]},UNt={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"}}]}}]}}]},zNt={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"}}]}}]}}]},HNt={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"}}]}}]}}]},VNt={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"}}]}}]}}]},QNt={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"}}]}}]}}]}}]},qNt={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"}}]}}]}}]},GNt={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"}}]}}]}}]}}]},WNt={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"}}]}}]}}]}}]}}]},KNt={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"}}]}}]},YNt={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"}}]}}]}}]}}]},XNt={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"}}]}}]}}]}}]},ZNt={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"}}]}}]}}]}}]},JNt={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"}}]}}]}}]},e2t={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:"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"}}]}}]}}]},t2t={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"}}]}}]}}]},n2t={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"}}]}}]}}]}}]},r2t={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"}}]}}]},i2t={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:"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"}}]}}]},a2t={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:"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"}}]}}]},o2t={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:"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"}}]}}]},s2t={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"}}]}}]}}]}}]}}]},l2t={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"}}]}}]},ZRe={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"}}]}}]},c2t={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"}}]}}]}}]}}]},u2t={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"}}]}}]}}]}}]}}]},d2t={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"}}]}}]},f2t={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"}}]}}]},h2t={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"}}]}}]}}]},m2t={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"}}]}}]}}]},p2t={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"}}]}}]}}]}}]},A2t={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"}}}]}]}}]},g2t={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"}}}]}]}}]},v2t={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"}}}]}]}}]},y2t={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"}}}]}]}}]},b2t={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"}}}]}]}}]},x2t={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"}}]}}]}}]}}]},w2t={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"}}}]}]}}]},k2t={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"}}}]}]}}]},S2t={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"}}]}}]}}]},C2t={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"}}]}}]}}]}}]},_2t={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"}}}]}]}}]},N2t={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"}}}]}]}}]},E2t={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"}}}]}]}}]},F2t={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"}}]}}]}}]},D2t={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"}}]}}]}}]},T2t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CalculateCreditcardTransactionsDebitDate"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calculateCreditcardTransactionsDebitDate"}}]}}]},O2t={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"}}}]}]}}]},j2t={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"}}}]}]}}]},B2t={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"}}}]}]}}]},I2t={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"}}}]}]}}]},P2t={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"}}}]}]}}]},M2t={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"}}}]}]}}]},R2t={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"}}}]}]}}]},$2t={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"}}}]}]}}]},L2t={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"}}}]}]}}]},U2t={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"}}]}}]}}]}}]},z2t={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"}}]}}]}}]}}]},H2t={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"}}]}}]}}]},V2t={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"}}]}}]}}]}}]},Q2t={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"}}]}}]}}]},q2t={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"}}]}}]}}]}}]},G2t={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"}}]}}]}}]},W2t={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"}}]}}]}}]},K2t={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"}}]}}]}}]},Y2t={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"}}}]}]}}]},X2t={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"}}}]}]}}]},Z2t={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"}}]}}]}}]}}]},J2t={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"}}]}}]}}]}}]},eEt={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"}}]}}]}}]},tEt={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"}}]}}]}}]},nEt={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"}}]}}]}}]}}]},rEt={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"}}]}}]}}]},iEt={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"}}]}}]}}]},aEt={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"}}]}}]}}]},oEt={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"}}]}}]}}]},sEt={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"}}]}}]}}]}}]},lEt={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"}}}]}]}}]},cEt={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"}}]}}]}}]}}]},uEt={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"}}}]}]}}]},dEt={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"}}}]}]}}]},fEt={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"}}}]}]}}]},hEt={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"}}}]}]}}]},mEt={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"}}}]}]}}]},pEt={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"}}}]}]}}]},AEt={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"}}}]}]}}]},gEt={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"}}]}}]}}]}}]},vEt={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"}}}]}]}}]},yEt={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"}}]}}]}}]}}]},bEt={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"}}]}}]}}]}}]},xEt={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"}}]}}]}}]}}]}}]},wEt={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"}}]}}]}}]},kEt={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"}}]}}]}}]}}]},SEt={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"}}}]}]}}]},CEt={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"}}}]}]}}]},_Et={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"}}]}}]}}]}}]},NEt={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"}}]}}]}}]}}]},EEt={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"}}]}}]}}]}}]},FEt={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"}}]}}]}}]}}]},DEt={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"}}}]}]}}]},TEt={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 ci(){const{search:e}=Np(),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 Xi=w.createContext({filtersContext:null,setFiltersContext:()=>{}});function JRe(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(Hte,{title:"More Info",onClick:()=>n(!t)})})]}),(e.isShowAll||t)&&r!==null&&d.jsx("tr",{children:d.jsx("td",{colSpan:12,children:d.jsx(cg,{style:{width:"100%"},withBorder:!0,shadow:"lg",children:r})})})]})}function Ote(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(bf,{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(fo,{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(JRe,{columns:e.columns,item:r,moreInfo:e.moreInfo,isShowAll:t,rowContext:e.rowContext},i))})]})]})}function Rt(e,t){return t}function Yc(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 e$e=6048e5,OEt=864e5,QAe=Symbol.for("constructDateFrom");function bs(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&QAe in e?e[QAe](t):e instanceof Date?new e.constructor(t):new Date(t)}function Yi(e,t){return bs(t||e,e)}function jte(e,t,n){const r=Yi(e,n?.in);return isNaN(t)?bs(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Bte(e,t,n){const r=Yi(e,n?.in);if(isNaN(t))return bs(e,NaN);if(!t)return r;const i=r.getDate(),a=bs(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 jEt={};function WF(){return jEt}function Gk(e,t){const n=WF(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Yi(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 tE(e,t){return Gk(e,{...t,weekStartsOn:1})}function t$e(e,t){const n=Yi(e,t?.in),r=n.getFullYear(),i=bs(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const a=tE(i),o=bs(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const s=tE(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function qAe(e){const t=Yi(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=bs.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function nE(e,t){const n=Yi(e,t?.in);return n.setHours(0,0,0,0),n}function Ite(e,t,n){const[r,i]=Ux(n?.in,e,t),a=nE(r),o=nE(i),s=+a-qAe(a),l=+o-qAe(o);return Math.round((s-l)/OEt)}function BEt(e,t){const n=t$e(e,t),r=bs(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),tE(r)}function IEt(e,t,n){return jte(e,t*7,n)}function n$e(e,t,n){return Bte(e,t*12,n)}function PEt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=bs.bind(null,i));const a=Yi(i,r);(!n||n<a||isNaN(+a))&&(n=a)}),bs(r,n||NaN)}function MEt(e,t){let n,r=t?.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=bs.bind(null,i));const a=Yi(i,r);(!n||n>a||isNaN(+a))&&(n=a)}),bs(r,n||NaN)}function REt(e,t,n){const[r,i]=Ux(n?.in,e,t);return+nE(r)==+nE(i)}function r$e(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $Et(e){return!(!r$e(e)&&typeof e!="number"||isNaN(+Yi(e)))}function LEt(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 UEt(e,t,n){const[r,i]=Ux(n?.in,e,t),a=GAe(r,i),o=Math.abs(Ite(r,i));r.setDate(r.getDate()-a*o);const s=+(GAe(r,i)===-a),l=a*(o-s);return l===0?0:l}function GAe(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 zEt(e,t){const n=Yi(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function HEt(e,t){const[n,r]=Ux(e,t.start,t.end);return{start:n,end:r}}function VEt(e,t){const{start:n,end:r}=HEt(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(bs(n,o)),o.setMonth(o.getMonth()+s);return i?l.reverse():l}function QEt(e,t){const n=Yi(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function i$e(e,t){const n=Yi(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function e3(e,t){const n=Yi(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function a$e(e,t){const n=WF(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Yi(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 qEt(e,t){return a$e(e,{...t,weekStartsOn:1})}const GEt={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"}},WEt=(e,t,n)=>{let r;const i=GEt[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 p7(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const KEt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},YEt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},XEt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ZEt={date:p7({formats:KEt,defaultWidth:"full"}),time:p7({formats:YEt,defaultWidth:"full"}),dateTime:p7({formats:XEt,defaultWidth:"full"})},JEt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},eFt=(e,t,n,r)=>JEt[e];function I_(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 tFt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nFt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rFt={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"]},iFt={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"]},aFt={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"}},oFt={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"}},sFt=(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"},lFt={ordinalNumber:sFt,era:I_({values:tFt,defaultWidth:"wide"}),quarter:I_({values:nFt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:I_({values:rFt,defaultWidth:"wide"}),day:I_({values:iFt,defaultWidth:"wide"}),dayPeriod:I_({values:aFt,defaultWidth:"wide",formattingValues:oFt,defaultFormattingWidth:"wide"})};function P_(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)?uFt(s,f=>f.test(o)):cFt(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 cFt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function uFt(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function dFt(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 fFt=/^(\d+)(th|st|nd|rd)?/i,hFt=/\d+/i,mFt={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},pFt={any:[/^b/i,/^(a|c)/i]},AFt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gFt={any:[/1/i,/2/i,/3/i,/4/i]},vFt={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},yFt={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]},bFt={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},xFt={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]},wFt={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},kFt={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}},SFt={ordinalNumber:dFt({matchPattern:fFt,parsePattern:hFt,valueCallback:e=>parseInt(e,10)}),era:P_({matchPatterns:mFt,defaultMatchWidth:"wide",parsePatterns:pFt,defaultParseWidth:"any"}),quarter:P_({matchPatterns:AFt,defaultMatchWidth:"wide",parsePatterns:gFt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:P_({matchPatterns:vFt,defaultMatchWidth:"wide",parsePatterns:yFt,defaultParseWidth:"any"}),day:P_({matchPatterns:bFt,defaultMatchWidth:"wide",parsePatterns:xFt,defaultParseWidth:"any"}),dayPeriod:P_({matchPatterns:wFt,defaultMatchWidth:"any",parsePatterns:kFt,defaultParseWidth:"any"})},Pte={code:"en-US",formatDistance:WEt,formatLong:ZEt,formatRelative:eFt,localize:lFt,match:SFt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function CFt(e,t){const n=Yi(e,t?.in);return Ite(n,e3(n))+1}function o$e(e,t){const n=Yi(e,t?.in),r=+tE(n)-+BEt(n);return Math.round(r/e$e)+1}function s$e(e,t){const n=Yi(e,t?.in),r=n.getFullYear(),i=WF(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=bs(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);const s=Gk(o,t),l=bs(t?.in||e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const c=Gk(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function _Ft(e,t){const n=WF(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=s$e(e,t),a=bs(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),Gk(a,t)}function l$e(e,t){const n=Yi(e,t?.in),r=+Gk(n,t)-+_Ft(n,t);return Math.round(r/e$e)+1}function qi(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const gv={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return qi(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):qi(n+1,2)},d(e,t){return qi(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 qi(e.getHours()%12||12,t.length)},H(e,t){return qi(e.getHours(),t.length)},m(e,t){return qi(e.getMinutes(),t.length)},s(e,t){return qi(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return qi(i,t.length)}},sw={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},WAe={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 gv.y(e,t)},Y:function(e,t,n,r){const i=s$e(e,r),a=i>0?i:1-i;if(t==="YY"){const o=a%100;return qi(o,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):qi(a,t.length)},R:function(e,t){const n=t$e(e);return qi(n,t.length)},u:function(e,t){const n=e.getFullYear();return qi(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 qi(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 qi(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 gv.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 qi(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=l$e(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):qi(i,t.length)},I:function(e,t,n){const r=o$e(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):qi(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):gv.d(e,t)},D:function(e,t,n){const r=CFt(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):qi(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 qi(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 qi(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 qi(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=sw.noon:r===0?i=sw.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=sw.evening:r>=12?i=sw.afternoon:r>=4?i=sw.morning:i=sw.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 gv.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):gv.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):qi(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):qi(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):gv.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):gv.s(e,t)},S:function(e,t){return gv.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return YAe(r);case"XXXX":case"XX":return rb(r);case"XXXXX":case"XXX":default:return rb(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return YAe(r);case"xxxx":case"xx":return rb(r);case"xxxxx":case"xxx":default:return rb(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+KAe(r,":");case"OOOO":default:return"GMT"+rb(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+KAe(r,":");case"zzzz":default:return"GMT"+rb(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return qi(r,t.length)},T:function(e,t,n){return qi(+e,t.length)}};function KAe(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+qi(a,2)}function YAe(e,t){return e%60===0?(e>0?"-":"+")+qi(Math.abs(e)/60,2):rb(e,t)}function rb(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=qi(Math.trunc(r/60),2),a=qi(r%60,2);return n+i+t+a}const XAe=(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"})}},c$e=(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"})}},NFt=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return XAe(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}}",XAe(r,t)).replace("{{time}}",c$e(i,t))},EFt={p:c$e,P:NFt},FFt=/^D+$/,DFt=/^Y+$/,TFt=["D","DD","YY","YYYY"];function OFt(e){return FFt.test(e)}function jFt(e){return DFt.test(e)}function BFt(e,t,n){const r=IFt(e,t,n);if(console.warn(r),TFt.includes(e))throw new RangeError(r)}function IFt(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 PFt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,MFt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,RFt=/^'([^]*?)'?$/,$Ft=/''/g,LFt=/[a-zA-Z]/;function Mt(e,t,n){const r=WF(),i=n?.locale??r.locale??Pte,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=Yi(e,n?.in);if(!$Et(s))throw new RangeError("Invalid time value");let l=t.match(MFt).map(u=>{const f=u[0];if(f==="p"||f==="P"){const h=EFt[f];return h(u,i.formatLong)}return u}).join("").match(PFt).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const f=u[0];if(f==="'")return{isToken:!1,value:UFt(u)};if(WAe[f])return{isToken:!0,value:u};if(f.match(LFt))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&&jFt(f)||!n?.useAdditionalDayOfYearTokens&&OFt(f))&&BFt(f,t,String(e));const h=WAe[f[0]];return h(s,f,i.localize,c)}).join("")}function UFt(e){const t=e.match(RFt);return t?t[1].replace($Ft,"'"):e}function zFt(e,t){const n=Yi(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=bs(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function HFt(e,t){return Yi(e,t?.in).getMonth()}function VFt(e,t){return Yi(e,t?.in).getFullYear()}function QFt(e,t){return+Yi(e)>+Yi(t)}function qFt(e,t){return+Yi(e)<+Yi(t)}function GFt(e,t,n){const[r,i]=Ux(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function WFt(e,t,n){const[r,i]=Ux(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function KFt(e,t,n){return jte(e,-t,n)}function YFt(e,t,n){const r=Yi(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=bs(e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);const s=zFt(o);return r.setMonth(t,Math.min(a,s)),r}function ZAe(e,t,n){const r=Yi(e,n?.in);return r.setHours(t),r}function XFt(e,t,n){const r=Yi(e,n?.in);return isNaN(+r)?bs(e,NaN):(r.setFullYear(t),r)}function Mte(e,t,n){return Bte(e,-t,n)}function KF(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=Mte(e,i+r*12,n),f=KFt(u,o+a*7,n),h=l+s*60,A=(c+h*60)*1e3;return bs(e,+f-A)}function Rte(e,t,n){return n$e(e,-1,n)}function ZFt(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 JFt=e=>{switch(e){case"success":return nDt;case"info":return iDt;case"warning":return rDt;case"error":return aDt;default:return null}},eDt=Array(12).fill(0),tDt=({visible:e,className:t})=>U.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},U.createElement("div",{className:"sonner-spinner"},eDt.map((n,r)=>U.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),nDt=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.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"})),rDt=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},U.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"})),iDt=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.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"})),aDt=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.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"})),oDt=U.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"},U.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),U.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),sDt=()=>{const[e,t]=U.useState(document.hidden);return U.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let nY=1;class lDt{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:nY++,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],U.isValidElement(c))a=!1,this.create({id:r,type:"default",message:c});else if(uDt(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"&&!U.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"&&!U.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"&&!U.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"&&!U.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||nY++;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 Xc=new lDt,cDt=(e,t)=>{const n=t?.id||nY++;return Xc.addToast({title:e,...t,id:n}),n},uDt=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",dDt=cDt,fDt=()=>Xc.toasts,hDt=()=>Xc.getActiveToasts(),Qe=Object.assign(dDt,{success:Xc.success,info:Xc.info,warning:Xc.warning,error:Xc.error,custom:Xc.custom,message:Xc.message,promise:Xc.promise,dismiss:Xc.dismiss,loading:Xc.loading},{getHistory:fDt,getToasts:hDt});ZFt("[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 e5(e){return e.label!==void 0}const mDt=3,pDt="24px",ADt="16px",JAe=4e3,gDt=356,vDt=14,yDt=45,bDt=200;function Cm(...e){return e.filter(Boolean).join(" ")}function xDt(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const wDt=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:C,defaultRichColors:S,closeButton:N,style:E,cancelButtonStyle:D,actionButtonStyle:T,className:R="",descriptionClassName:B="",duration:j,position:P,gap:$,expandByDefault:z,classNames:I,icons:V,closeButtonAriaLabel:W="Close toast"}=e,[ee,X]=U.useState(null),[fe,H]=U.useState(null),[Q,G]=U.useState(!1),[ne,re]=U.useState(!1),[oe,de]=U.useState(!1),[me,ge]=U.useState(!1),[se,te]=U.useState(!1),[we,Fe]=U.useState(0),[Be,ie]=U.useState(0),Y=U.useRef(f.duration||j||JAe),ae=U.useRef(null),ue=U.useRef(null),ce=y===0,ye=y+1<=p,ve=f.type,Ie=f.dismissible!==!1,je=f.className||"",Me=f.descriptionClassName||"",We=U.useMemo(()=>v.findIndex(yt=>yt.toastId===f.id)||0,[v,f.id]),et=U.useMemo(()=>{var yt;return(yt=f.closeButton)!=null?yt:N},[f.closeButton,N]),mt=U.useMemo(()=>f.duration||j||JAe,[f.duration,j]),xt=U.useRef(0),Ae=U.useRef(0),J=U.useRef(0),le=U.useRef(null),[Ce,Te]=P.split("-"),Le=U.useMemo(()=>v.reduce((yt,Ut,xn)=>xn>=We?yt:yt+Ut.height,0),[v,We]),De=sDt(),He=f.invert||u,ct=ve==="loading";Ae.current=U.useMemo(()=>We*$+Le,[We,Le]),U.useEffect(()=>{Y.current=mt},[mt]),U.useEffect(()=>{G(!0)},[]),U.useEffect(()=>{const yt=ue.current;if(yt){const Ut=yt.getBoundingClientRect().height;return ie(Ut),A(xn=>[{toastId:f.id,height:Ut,position:f.position},...xn]),()=>A(xn=>xn.filter(nn=>nn.toastId!==f.id))}},[A,f.id]),U.useLayoutEffect(()=>{if(!Q)return;const yt=ue.current,Ut=yt.style.height;yt.style.height="auto";const xn=yt.getBoundingClientRect().height;yt.style.height=Ut,ie(xn),A(nn=>nn.find(Ge=>Ge.toastId===f.id)?nn.map(Ge=>Ge.toastId===f.id?{...Ge,height:xn}:Ge):[{toastId:f.id,height:xn,position:f.position},...nn])},[Q,f.title,f.description,A,f.id,f.jsx,f.action,f.cancel]);const st=U.useCallback(()=>{re(!0),Fe(Ae.current),A(yt=>yt.filter(Ut=>Ut.toastId!==f.id)),setTimeout(()=>{C(f)},bDt)},[f,C,A,Ae]);U.useEffect(()=>{if(f.promise&&ve==="loading"||f.duration===1/0||f.type==="loading")return;let yt;return k||m||De?(()=>{if(J.current<xt.current){const nn=new Date().getTime()-xt.current;Y.current=Y.current-nn}J.current=new Date().getTime()})():(()=>{Y.current!==1/0&&(xt.current=new Date().getTime(),yt=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),st()},Y.current))})(),()=>clearTimeout(yt)},[k,m,f,ve,De,st]),U.useEffect(()=>{f.delete&&(st(),f.onDismiss==null||f.onDismiss.call(f,f))},[st,f.delete]);function rt(){var yt;if(V?.loading){var Ut;return U.createElement("div",{className:Cm(I?.loader,f==null||(Ut=f.classNames)==null?void 0:Ut.loader,"sonner-loader"),"data-visible":ve==="loading"},V.loading)}return U.createElement(tDt,{className:Cm(I?.loader,f==null||(yt=f.classNames)==null?void 0:yt.loader),visible:ve==="loading"})}const ft=f.icon||V?.[ve]||JFt(ve);var Yt,qt;return U.createElement("li",{tabIndex:0,ref:ue,className:Cm(R,je,I?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,I?.default,I?.[ve],f==null||(n=f.classNames)==null?void 0:n[ve]),"data-sonner-toast":"","data-rich-colors":(Yt=f.richColors)!=null?Yt:S,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":Q,"data-promise":!!f.promise,"data-swiped":se,"data-removed":ne,"data-visible":ye,"data-y-position":Ce,"data-x-position":Te,"data-index":y,"data-front":ce,"data-swiping":oe,"data-dismissible":Ie,"data-type":ve,"data-invert":He,"data-swipe-out":me,"data-swipe-direction":fe,"data-expanded":!!(k||z&&Q),"data-testid":f.testId,style:{"--index":y,"--toasts-before":y,"--z-index":x.length-y,"--offset":`${ne?we:Ae.current}px`,"--initial-height":z?"auto":`${Be}px`,...E,...f.style},onDragEnd:()=>{de(!1),X(null),le.current=null},onPointerDown:yt=>{yt.button!==2&&(ct||!Ie||(ae.current=new Date,Fe(Ae.current),yt.target.setPointerCapture(yt.pointerId),yt.target.tagName!=="BUTTON"&&(de(!0),le.current={x:yt.clientX,y:yt.clientY})))},onPointerUp:()=>{var yt,Ut,xn;if(me||!Ie)return;le.current=null;const nn=Number(((yt=ue.current)==null?void 0:yt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Pe=Number(((Ut=ue.current)==null?void 0:Ut.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ge=new Date().getTime()-((xn=ae.current)==null?void 0:xn.getTime()),ze=ee==="x"?nn:Pe,gt=Math.abs(ze)/Ge;if(Math.abs(ze)>=yDt||gt>.11){Fe(Ae.current),f.onDismiss==null||f.onDismiss.call(f,f),H(ee==="x"?nn>0?"right":"left":Pe>0?"down":"up"),st(),ge(!0);return}else{var wt,Gt;(wt=ue.current)==null||wt.style.setProperty("--swipe-amount-x","0px"),(Gt=ue.current)==null||Gt.style.setProperty("--swipe-amount-y","0px")}te(!1),de(!1),X(null)},onPointerMove:yt=>{var Ut,xn,nn;if(!le.current||!Ie||((Ut=window.getSelection())==null?void 0:Ut.toString().length)>0)return;const Ge=yt.clientY-le.current.y,ze=yt.clientX-le.current.x;var gt;const wt=(gt=e.swipeDirections)!=null?gt:xDt(P);!ee&&(Math.abs(ze)>1||Math.abs(Ge)>1)&&X(Math.abs(ze)>Math.abs(Ge)?"x":"y");let Gt={x:0,y:0};const Xt=Wt=>1/(1.5+Math.abs(Wt)/20);if(ee==="y"){if(wt.includes("top")||wt.includes("bottom"))if(wt.includes("top")&&Ge<0||wt.includes("bottom")&&Ge>0)Gt.y=Ge;else{const Wt=Ge*Xt(Ge);Gt.y=Math.abs(Wt)<Math.abs(Ge)?Wt:Ge}}else if(ee==="x"&&(wt.includes("left")||wt.includes("right")))if(wt.includes("left")&&ze<0||wt.includes("right")&&ze>0)Gt.x=ze;else{const Wt=ze*Xt(ze);Gt.x=Math.abs(Wt)<Math.abs(ze)?Wt:ze}(Math.abs(Gt.x)>0||Math.abs(Gt.y)>0)&&te(!0),(xn=ue.current)==null||xn.style.setProperty("--swipe-amount-x",`${Gt.x}px`),(nn=ue.current)==null||nn.style.setProperty("--swipe-amount-y",`${Gt.y}px`)}},et&&!f.jsx&&ve!=="loading"?U.createElement("button",{"aria-label":W,"data-disabled":ct,"data-close-button":!0,onClick:ct||!Ie?()=>{}:()=>{st(),f.onDismiss==null||f.onDismiss.call(f,f)},className:Cm(I?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(qt=V?.close)!=null?qt:oDt):null,(ve||f.icon||f.promise)&&f.icon!==null&&(V?.[ve]!==null||f.icon)?U.createElement("div",{"data-icon":"",className:Cm(I?.icon,f==null||(i=f.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||rt():null,f.type!=="loading"?ft:null):null,U.createElement("div",{"data-content":"",className:Cm(I?.content,f==null||(a=f.classNames)==null?void 0:a.content)},U.createElement("div",{"data-title":"",className:Cm(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?U.createElement("div",{"data-description":"",className:Cm(B,Me,I?.description,f==null||(s=f.classNames)==null?void 0:s.description)},typeof f.description=="function"?f.description():f.description):null),U.isValidElement(f.cancel)?f.cancel:f.cancel&&e5(f.cancel)?U.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||D,onClick:yt=>{e5(f.cancel)&&Ie&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,yt),st())},className:Cm(I?.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,U.isValidElement(f.action)?f.action:f.action&&e5(f.action)?U.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||T,onClick:yt=>{e5(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,yt),!yt.defaultPrevented&&st())},className:Cm(I?.actionButton,f==null||(c=f.classNames)==null?void 0:c.actionButton)},f.action.label):null)};function ege(){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 kDt(e,t){const n={};return[e,t].forEach((r,i)=>{const a=i===1,o=a?"--mobile-offset":"--offset",s=a?ADt:pDt;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 SDt=U.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=mDt,toastOptions:y,dir:x=ege(),gap:k=vDt,icons:C,containerAriaLabel:S="Notifications"}=t,[N,E]=U.useState([]),D=U.useMemo(()=>r?N.filter(Q=>Q.toasterId===r):N.filter(Q=>!Q.toasterId),[N,r]),T=U.useMemo(()=>Array.from(new Set([a].concat(D.filter(Q=>Q.position).map(Q=>Q.position)))),[D,a]),[R,B]=U.useState([]),[j,P]=U.useState(!1),[$,z]=U.useState(!1),[I,V]=U.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),W=U.useRef(null),ee=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),X=U.useRef(null),fe=U.useRef(!1),H=U.useCallback(Q=>{E(G=>{var ne;return(ne=G.find(re=>re.id===Q.id))!=null&&ne.delete||Xc.dismiss(Q.id),G.filter(({id:re})=>re!==Q.id)})},[]);return U.useEffect(()=>Xc.subscribe(Q=>{if(Q.dismiss){requestAnimationFrame(()=>{E(G=>G.map(ne=>ne.id===Q.id?{...ne,delete:!0}:ne))});return}setTimeout(()=>{oje.flushSync(()=>{E(G=>{const ne=G.findIndex(re=>re.id===Q.id);return ne!==-1?[...G.slice(0,ne),{...G[ne],...Q},...G.slice(ne+1)]:[Q,...G]})})})}),[N]),U.useEffect(()=>{if(h!=="system"){V(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;const Q=window.matchMedia("(prefers-color-scheme: dark)");try{Q.addEventListener("change",({matches:G})=>{V(G?"dark":"light")})}catch{Q.addListener(({matches:ne})=>{try{V(ne?"dark":"light")}catch(re){console.error(re)}})}},[h]),U.useEffect(()=>{N.length<=1&&P(!1)},[N]),U.useEffect(()=>{const Q=G=>{var ne;if(o.every(de=>G[de]||G.code===de)){var oe;P(!0),(oe=W.current)==null||oe.focus()}G.code==="Escape"&&(document.activeElement===W.current||(ne=W.current)!=null&&ne.contains(document.activeElement))&&P(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[o]),U.useEffect(()=>{if(W.current)return()=>{X.current&&(X.current.focus({preventScroll:!0}),X.current=null,fe.current=!1)}},[W.current]),U.createElement("section",{ref:n,"aria-label":`${S} ${ee}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((Q,G)=>{var ne;const[re,oe]=Q.split("-");return D.length?U.createElement("ol",{key:Q,dir:x==="auto"?ege():x,tabIndex:-1,ref:W,className:c,"data-sonner-toaster":!0,"data-sonner-theme":I,"data-y-position":re,"data-x-position":oe,style:{"--front-toast-height":`${((ne=R[0])==null?void 0:ne.height)||0}px`,"--width":`${gDt}px`,"--gap":`${k}px`,...p,...kDt(u,f)},onBlur:de=>{fe.current&&!de.currentTarget.contains(de.relatedTarget)&&(fe.current=!1,X.current&&(X.current.focus({preventScroll:!0}),X.current=null))},onFocus:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||fe.current||(fe.current=!0,X.current=de.relatedTarget)},onMouseEnter:()=>P(!0),onMouseMove:()=>P(!0),onMouseLeave:()=>{$||P(!1)},onDragEnd:()=>P(!1),onPointerDown:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||z(!0)},onPointerUp:()=>z(!1)},D.filter(de=>!de.position&&G===0||de.position===Q).map((de,me)=>{var ge,se;return U.createElement(wDt,{key:de.id,icons:C,index:me,toast:de,defaultRichColors:m,duration:(ge=y?.duration)!=null?ge:A,className:y?.className,descriptionClassName:y?.descriptionClassName,invert:i,visibleToasts:v,closeButton:(se=y?.closeButton)!=null?se:l,interacting:$,position:Q,style:y?.style,unstyled:y?.unstyled,classNames:y?.classNames,cancelButtonStyle:y?.cancelButtonStyle,actionButtonStyle:y?.actionButtonStyle,closeButtonAriaLabel:y?.closeButtonAriaLabel,removeToast:H,toasts:D.filter(te=>te.position==de.position),heights:R.filter(te=>te.position==de.position),setHeights:B,expandByDefault:s,gap:k,expanded:j,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){Qe.error("Error",{id:n,description:i.message,duration:1e5,closeButton:!0});return}}const CDt="updateBusinessTripAccountantApproval",_Dt=()=>{const[{fetching:e},t]=zn(dEt),n=w.useCallback(async r=>{const i=`Error toggling accountant approval for trip [${r.businessTripId}]`,a=`${CDt}-${r.businessTripId}`;Qe.loading("Updating accountant approval status",{id:a});try{const o=await t(r),s=Hn(o,i,a);if(s)return Qe.success("Success",{id:a,description:"Accountant approval status updated"}),s.updateBusinessTripAccountantApproval}catch(o){console.error(`${i}: ${o}`),Qe.error("Error",{id:a,description:i,duration:1e5,closeButton:!0})}},[t]);return{fetching:e,updateBusinessTripAccountantApproval:n}};function NDt({data:e,onChange:t}){const n=Rt(e_t,e),[r,i]=w.useState(n.accountantApproval),{updateBusinessTripAccountantApproval:a}=_Dt();return w.useEffect(()=>{r==null&&n.accountantApproval!=null&&i(n.accountantApproval)},[r,n.accountantApproval]),d.jsx(tae,{value:r,onChange:o=>a({businessTripId:n.id,status:o}).then(t)})}/**
111
- * @license lucide-react v0.542.0 - ISC
111
+ * @license lucide-react v0.541.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 EDt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),FDt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),tge=e=>{const t=FDt(e);return t.charAt(0).toUpperCase()+t.slice(1)},u$e=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),DDt=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
116
- * @license lucide-react v0.542.0 - ISC
116
+ * @license lucide-react v0.541.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 TDt={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.542.0 - ISC
121
+ * @license lucide-react v0.541.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 ODt=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,...TDt,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:u$e("lucide",i),...!a&&!DDt(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,u])=>w.createElement(c,u)),...Array.isArray(a)?a:[a]]));/**
126
- * @license lucide-react v0.542.0 - ISC
126
+ * @license lucide-react v0.541.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(ODt,{ref:a,iconNode:t,className:u$e(`lucide-${EDt(tge(e))}`,`lucide-${e}`,r),...i}));return n.displayName=tge(e),n};/**
131
- * @license lucide-react v0.542.0 - ISC
131
+ * @license lucide-react v0.541.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 jDt=[["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"}]],BDt=Qt("arrow-down-0-1",jDt);/**
136
- * @license lucide-react v0.542.0 - ISC
136
+ * @license lucide-react v0.541.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 IDt=[["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"}]],PDt=Qt("arrow-down-wide-narrow",IDt);/**
141
- * @license lucide-react v0.542.0 - ISC
141
+ * @license lucide-react v0.541.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 MDt=[["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"}]],RDt=Qt("arrow-left-right",MDt);/**
146
- * @license lucide-react v0.542.0 - ISC
146
+ * @license lucide-react v0.541.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 $Dt=[["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"}]],LDt=Qt("arrow-right-left",$Dt);/**
151
- * @license lucide-react v0.542.0 - ISC
151
+ * @license lucide-react v0.541.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 UDt=[["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"}]],Gu=Qt("arrow-up-down",UDt);/**
156
- * @license lucide-react v0.542.0 - ISC
156
+ * @license lucide-react v0.541.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 zDt=[["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"}]],HDt=Qt("badge-dollar-sign",zDt);/**
161
- * @license lucide-react v0.542.0 - ISC
161
+ * @license lucide-react v0.541.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 VDt=[["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"}]],nge=Qt("barcode",VDt);/**
166
- * @license lucide-react v0.542.0 - ISC
166
+ * @license lucide-react v0.541.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 QDt=[["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"}]],qDt=Qt("book-open-check",QDt);/**
171
- * @license lucide-react v0.542.0 - ISC
171
+ * @license lucide-react v0.541.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 GDt=[["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"}]],WDt=Qt("book",GDt);/**
176
- * @license lucide-react v0.542.0 - ISC
176
+ * @license lucide-react v0.541.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 KDt=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]],rge=Qt("bookmark",KDt);/**
181
- * @license lucide-react v0.542.0 - ISC
181
+ * @license lucide-react v0.541.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
185
  */const YDt=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],XDt=Qt("building-2",YDt);/**
186
- * @license lucide-react v0.542.0 - ISC
186
+ * @license lucide-react v0.541.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 ZDt=[["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"}]],JDt=Qt("calculator",ZDt);/**
191
- * @license lucide-react v0.542.0 - ISC
191
+ * @license lucide-react v0.541.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 eTt=[["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"}]],Wk=Qt("calendar",eTt);/**
196
- * @license lucide-react v0.542.0 - ISC
196
+ * @license lucide-react v0.541.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 tTt=[["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"}]],nTt=Qt("car",tTt);/**
201
- * @license lucide-react v0.542.0 - ISC
201
+ * @license lucide-react v0.541.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 rTt=[["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"}]],A7=Qt("chart-column-big",rTt);/**
206
- * @license lucide-react v0.542.0 - ISC
206
+ * @license lucide-react v0.541.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 iTt=[["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"}]],aTt=Qt("chart-column-decreasing",iTt);/**
211
- * @license lucide-react v0.542.0 - ISC
211
+ * @license lucide-react v0.541.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 oTt=[["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"}]],sTt=Qt("chart-no-axes-combined",oTt);/**
216
- * @license lucide-react v0.542.0 - ISC
216
+ * @license lucide-react v0.541.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 lTt=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],cTt=Qt("check-check",lTt);/**
221
- * @license lucide-react v0.542.0 - ISC
221
+ * @license lucide-react v0.541.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 uTt=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],xs=Qt("check",uTt);/**
226
- * @license lucide-react v0.542.0 - ISC
226
+ * @license lucide-react v0.541.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 dTt=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Kr=Qt("chevron-down",dTt);/**
231
- * @license lucide-react v0.542.0 - ISC
231
+ * @license lucide-react v0.541.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 fTt=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],$te=Qt("chevron-left",fTt);/**
236
- * @license lucide-react v0.542.0 - ISC
236
+ * @license lucide-react v0.541.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 hTt=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],d$e=Qt("chevron-right",hTt);/**
241
- * @license lucide-react v0.542.0 - ISC
241
+ * @license lucide-react v0.541.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 mTt=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Oi=Qt("chevron-up",mTt);/**
246
- * @license lucide-react v0.542.0 - ISC
246
+ * @license lucide-react v0.541.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 pTt=[["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"}]],f$e=Qt("chevrons-left-right-ellipsis",pTt);/**
251
- * @license lucide-react v0.542.0 - ISC
251
+ * @license lucide-react v0.541.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 ATt=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],gTt=Qt("chevrons-left",ATt);/**
256
- * @license lucide-react v0.542.0 - ISC
256
+ * @license lucide-react v0.541.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 vTt=[["path",{d:"m20 17-5-5 5-5",key:"30x0n2"}],["path",{d:"m4 17 5-5-5-5",key:"16spf4"}]],h$e=Qt("chevrons-right-left",vTt);/**
261
- * @license lucide-react v0.542.0 - ISC
261
+ * @license lucide-react v0.541.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 yTt=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],bTt=Qt("chevrons-right",yTt);/**
266
- * @license lucide-react v0.542.0 - ISC
266
+ * @license lucide-react v0.541.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 xTt=[["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"}]],wTt=Qt("circle-alert",xTt);/**
271
- * @license lucide-react v0.542.0 - ISC
271
+ * @license lucide-react v0.541.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 kTt=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],STt=Qt("circle-check-big",kTt);/**
276
- * @license lucide-react v0.542.0 - ISC
276
+ * @license lucide-react v0.541.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 CTt=[["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"}]],ige=Qt("circle-x",CTt);/**
281
- * @license lucide-react v0.542.0 - ISC
281
+ * @license lucide-react v0.541.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 _Tt=[["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"}]],NTt=Qt("cloud-cog",_Tt);/**
286
- * @license lucide-react v0.542.0 - ISC
286
+ * @license lucide-react v0.541.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 ETt=[["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"}]],FTt=Qt("cloud-upload",ETt);/**
291
- * @license lucide-react v0.542.0 - ISC
291
+ * @license lucide-react v0.541.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 DTt=[["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"}]],E4=Qt("coins",DTt);/**
296
- * @license lucide-react v0.542.0 - ISC
296
+ * @license lucide-react v0.541.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
300
  */const TTt=[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]],OTt=Qt("combine",TTt);/**
301
- * @license lucide-react v0.542.0 - ISC
301
+ * @license lucide-react v0.541.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 jTt=[["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"}]],BTt=Qt("copy",jTt);/**
306
- * @license lucide-react v0.542.0 - ISC
306
+ * @license lucide-react v0.541.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 ITt=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],m$e=Qt("credit-card",ITt);/**
311
- * @license lucide-react v0.542.0 - ISC
311
+ * @license lucide-react v0.541.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 PTt=[["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"}]],Lte=Qt("download",PTt);/**
316
- * @license lucide-react v0.542.0 - ISC
316
+ * @license lucide-react v0.541.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 MTt=[["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"}]],p$e=Qt("ellipsis",MTt);/**
321
- * @license lucide-react v0.542.0 - ISC
321
+ * @license lucide-react v0.541.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 RTt=[["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"}]],$Tt=Qt("external-link",RTt);/**
326
- * @license lucide-react v0.542.0 - ISC
326
+ * @license lucide-react v0.541.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 LTt=[["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"}]],UTt=Qt("eye-off",LTt);/**
331
- * @license lucide-react v0.542.0 - ISC
331
+ * @license lucide-react v0.541.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
335
  */const zTt=[["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"}]],Ute=Qt("eye",zTt);/**
336
- * @license lucide-react v0.542.0 - ISC
336
+ * @license lucide-react v0.541.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
340
  */const HTt=[["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"}]],VTt=Qt("factory",HTt);/**
341
- * @license lucide-react v0.542.0 - ISC
341
+ * @license lucide-react v0.541.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 QTt=[["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"}]],qTt=Qt("file-digit",QTt);/**
346
- * @license lucide-react v0.542.0 - ISC
346
+ * @license lucide-react v0.541.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 GTt=[["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"}]],A$e=Qt("file-down",GTt);/**
351
- * @license lucide-react v0.542.0 - ISC
351
+ * @license lucide-react v0.541.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 WTt=[["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"}]],age=Qt("file-pen",WTt);/**
356
- * @license lucide-react v0.542.0 - ISC
356
+ * @license lucide-react v0.541.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 KTt=[["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"}]],oge=Qt("file-plus-2",KTt);/**
361
- * @license lucide-react v0.542.0 - ISC
361
+ * @license lucide-react v0.541.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 YTt=[["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"}]],sge=Qt("file-question-mark",YTt);/**
366
- * @license lucide-react v0.542.0 - ISC
366
+ * @license lucide-react v0.541.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 XTt=[["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"}]],g$e=Qt("file-text",XTt);/**
371
- * @license lucide-react v0.542.0 - ISC
371
+ * @license lucide-react v0.541.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 ZTt=[["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"}]],lge=Qt("file",ZTt);/**
376
- * @license lucide-react v0.542.0 - ISC
376
+ * @license lucide-react v0.541.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 JTt=[["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"}]],cge=Qt("files",JTt);/**
381
- * @license lucide-react v0.542.0 - ISC
381
+ * @license lucide-react v0.541.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 eOt=[["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"}]],tOt=Qt("folder-open",eOt);/**
386
- * @license lucide-react v0.542.0 - ISC
386
+ * @license lucide-react v0.541.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 nOt=[["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"}]],rOt=Qt("folder-plus",nOt);/**
391
- * @license lucide-react v0.542.0 - ISC
391
+ * @license lucide-react v0.541.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 iOt=[["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"}]],aOt=Qt("folder",iOt);/**
396
- * @license lucide-react v0.542.0 - ISC
396
+ * @license lucide-react v0.541.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 oOt=[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]],sOt=Qt("fuel",oOt);/**
401
- * @license lucide-react v0.542.0 - ISC
401
+ * @license lucide-react v0.541.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 lOt=[["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"}]],Sl=Qt("funnel",lOt);/**
406
- * @license lucide-react v0.542.0 - ISC
406
+ * @license lucide-react v0.541.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 cOt=[["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"}]],uOt=Qt("gift",cOt);/**
411
- * @license lucide-react v0.542.0 - ISC
411
+ * @license lucide-react v0.541.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 dOt=[["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"}]],fOt=Qt("globe",dOt);/**
416
- * @license lucide-react v0.542.0 - ISC
416
+ * @license lucide-react v0.541.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 hOt=[["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",hOt);/**
421
- * @license lucide-react v0.542.0 - ISC
421
+ * @license lucide-react v0.541.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 mOt=[["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"}]],v$e=Qt("id-card",mOt);/**
426
- * @license lucide-react v0.542.0 - ISC
426
+ * @license lucide-react v0.541.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 pOt=[["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"}]],y$e=Qt("image",pOt);/**
431
- * @license lucide-react v0.542.0 - ISC
431
+ * @license lucide-react v0.541.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 AOt=[["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"}]],gOt=Qt("link",AOt);/**
436
- * @license lucide-react v0.542.0 - ISC
436
+ * @license lucide-react v0.541.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 vOt=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],YA=Qt("list-plus",vOt);/**
441
- * @license lucide-react v0.542.0 - ISC
441
+ * @license lucide-react v0.541.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 yOt=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ti=Qt("loader-circle",yOt);/**
446
- * @license lucide-react v0.542.0 - ISC
446
+ * @license lucide-react v0.541.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 bOt=[["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"}]],xOt=Qt("mail",bOt);/**
451
- * @license lucide-react v0.542.0 - ISC
451
+ * @license lucide-react v0.541.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 wOt=[["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"}]],kOt=Qt("map-plus",wOt);/**
456
- * @license lucide-react v0.542.0 - ISC
456
+ * @license lucide-react v0.541.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
460
  */const SOt=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],COt=Qt("menu",SOt);/**
461
- * @license lucide-react v0.542.0 - ISC
461
+ * @license lucide-react v0.541.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
465
  */const _Ot=[["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"}]],b$e=Qt("merge",_Ot);/**
466
- * @license lucide-react v0.542.0 - ISC
466
+ * @license lucide-react v0.541.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 NOt=[["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"}]],Au=Qt("panel-top-close",NOt);/**
471
- * @license lucide-react v0.542.0 - ISC
471
+ * @license lucide-react v0.541.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 EOt=[["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"}]],gu=Qt("panel-top-open",EOt);/**
476
- * @license lucide-react v0.542.0 - ISC
476
+ * @license lucide-react v0.541.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 FOt=[["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"}]],uge=Qt("parking-meter",FOt);/**
481
- * @license lucide-react v0.542.0 - ISC
481
+ * @license lucide-react v0.541.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 DOt=[["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"}]],TOt=Qt("pencil",DOt);/**
486
- * @license lucide-react v0.542.0 - ISC
486
+ * @license lucide-react v0.541.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 OOt=[["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"}]],jOt=Qt("piggy-bank",OOt);/**
491
- * @license lucide-react v0.542.0 - ISC
491
+ * @license lucide-react v0.541.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 BOt=[["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"}]],IOt=Qt("plane-takeoff",BOt);/**
496
- * @license lucide-react v0.542.0 - ISC
496
+ * @license lucide-react v0.541.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 POt=[["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"}]],MOt=Qt("plane",POt);/**
501
- * @license lucide-react v0.542.0 - ISC
501
+ * @license lucide-react v0.541.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 ROt=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],ic=Qt("plus",ROt);/**
506
- * @license lucide-react v0.542.0 - ISC
506
+ * @license lucide-react v0.541.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 $Ot=[["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"}]],LOt=Qt("printer",$Ot);/**
511
- * @license lucide-react v0.542.0 - ISC
511
+ * @license lucide-react v0.541.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 UOt=[["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"}]],zOt=Qt("puzzle",UOt);/**
516
- * @license lucide-react v0.542.0 - ISC
516
+ * @license lucide-react v0.541.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 HOt=[["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"}]],VOt=Qt("receipt-text",HOt);/**
521
- * @license lucide-react v0.542.0 - ISC
521
+ * @license lucide-react v0.541.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 QOt=[["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"}]],pk=Qt("receipt",QOt);/**
526
- * @license lucide-react v0.542.0 - ISC
526
+ * @license lucide-react v0.541.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 qOt=[["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"}]],GOt=Qt("rectangle-ellipsis",qOt);/**
531
- * @license lucide-react v0.542.0 - ISC
531
+ * @license lucide-react v0.541.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 WOt=[["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"}]],KOt=Qt("refresh-ccw-dot",WOt);/**
536
- * @license lucide-react v0.542.0 - ISC
536
+ * @license lucide-react v0.541.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 YOt=[["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"}]],XOt=Qt("rows-4",YOt);/**
541
- * @license lucide-react v0.542.0 - ISC
541
+ * @license lucide-react v0.541.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 ZOt=[["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"}]],JOt=Qt("save",ZOt);/**
546
- * @license lucide-react v0.542.0 - ISC
546
+ * @license lucide-react v0.541.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 e5t=[["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"}]],x$e=Qt("scale",e5t);/**
551
- * @license lucide-react v0.542.0 - ISC
551
+ * @license lucide-react v0.541.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 t5t=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],w$e=Qt("search",t5t);/**
556
- * @license lucide-react v0.542.0 - ISC
556
+ * @license lucide-react v0.541.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 n5t=[["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"}]],k$e=Qt("send",n5t);/**
561
- * @license lucide-react v0.542.0 - ISC
561
+ * @license lucide-react v0.541.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 r5t=[["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"}]],i5t=Qt("settings",r5t);/**
566
- * @license lucide-react v0.542.0 - ISC
566
+ * @license lucide-react v0.541.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 a5t=[["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"}]],M_=Qt("square-check-big",a5t);/**
571
- * @license lucide-react v0.542.0 - ISC
571
+ * @license lucide-react v0.541.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 o5t=[["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"}]],vu=Qt("square-pen",o5t);/**
576
- * @license lucide-react v0.542.0 - ISC
576
+ * @license lucide-react v0.541.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 s5t=[["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"}]],R_=Qt("square-x",s5t);/**
581
- * @license lucide-react v0.542.0 - ISC
581
+ * @license lucide-react v0.541.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 l5t=[["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"}]],c5t=Qt("tags",l5t);/**
586
- * @license lucide-react v0.542.0 - ISC
586
+ * @license lucide-react v0.541.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 u5t=[["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"}]],Iy=Qt("trash-2",u5t);/**
591
- * @license lucide-react v0.542.0 - ISC
591
+ * @license lucide-react v0.541.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 d5t=[["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",d5t);/**
596
- * @license lucide-react v0.542.0 - ISC
596
+ * @license lucide-react v0.541.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 f5t=[["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"}]],h5t=Qt("trending-up-down",f5t);/**
601
- * @license lucide-react v0.542.0 - ISC
601
+ * @license lucide-react v0.541.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 m5t=[["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"}]],S$e=Qt("unlink",m5t);/**
606
- * @license lucide-react v0.542.0 - ISC
606
+ * @license lucide-react v0.541.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 p5t=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],A5t=Qt("user-round",p5t);/**
611
- * @license lucide-react v0.542.0 - ISC
611
+ * @license lucide-react v0.541.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 g5t=[["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"}]],v5t=Qt("user",g5t);/**
616
- * @license lucide-react v0.542.0 - ISC
616
+ * @license lucide-react v0.541.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 y5t=[["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"}]],b5t=Qt("wallet",y5t);/**
621
- * @license lucide-react v0.542.0 - ISC
621
+ * @license lucide-react v0.541.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 x5t=[["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"}]],w5t=Qt("wand-sparkles",x5t);/**
626
- * @license lucide-react v0.542.0 - ISC
626
+ * @license lucide-react v0.541.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 k5t=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Hx=Qt("x",k5t);/**
631
- * @license lucide-react v0.542.0 - ISC
631
+ * @license lucide-react v0.541.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 S5t=[["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"}]],dge=Qt("zoom-in",S5t);/**
636
- * @license lucide-react v0.542.0 - ISC
636
+ * @license lucide-react v0.541.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.
@@ -860,7 +860,7 @@ endobj\r
860
860
  * http://opensource.org/licenses/mit-license
861
861
  */function Zf(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Cxe(e){function t(D){if(!D)throw Error("assert :P")}function n(D,T,R){for(var B=0;4>B;B++)if(D[T+B]!=R.charCodeAt(B))return!0;return!1}function r(D,T,R,B,j){for(var P=0;P<j;P++)D[T+P]=R[B+P]}function i(D,T,R,B){for(var j=0;j<B;j++)D[T+j]=R}function a(D){return new Int32Array(D)}function o(D,T){for(var R=[],B=0;B<D;B++)R.push(new T);return R}function s(D,T){var R=[];return(function B(j,P,$){for(var z=$[P],I=0;I<z&&(j.push($.length>P+1?[]:new T),!($.length<P+1));I++)B(j[I],P+1,$)})(R,0,D),R}var l=function(){var D=this;function T(O,L){for(var Z=1<<L-1>>>0;O&Z;)Z>>>=1;return Z?(O&Z-1)+Z:O}function R(O,L,Z,he,be){t(!(he%Z));do O[L+(he-=Z)]=be;while(0<he)}function B(O,L,Z,he,be){if(t(2328>=be),512>=be)var ke=a(512);else if((ke=a(be))==null)return 0;return(function(Se,_e,Ee,Oe,Ye,dt){var lt,tt,jt=_e,vt=1<<Ee,Xe=a(16),Je=a(16);for(t(Ye!=0),t(Oe!=null),t(Se!=null),t(0<Ee),tt=0;tt<Ye;++tt){if(15<Oe[tt])return 0;++Xe[Oe[tt]]}if(Xe[0]==Ye)return 0;for(Je[1]=0,lt=1;15>lt;++lt){if(Xe[lt]>1<<lt)return 0;Je[lt+1]=Je[lt]+Xe[lt]}for(tt=0;tt<Ye;++tt)lt=Oe[tt],0<Oe[tt]&&(dt[Je[lt]++]=tt);if(Je[15]==1)return(Oe=new j).g=0,Oe.value=dt[0],R(Se,jt,1,vt,Oe),vt;var Nt,Bt=-1,Tt=vt-1,gn=0,an=1,Vn=1,ln=1<<Ee;for(tt=0,lt=1,Ye=2;lt<=Ee;++lt,Ye<<=1){if(an+=Vn<<=1,0>(Vn-=Xe[lt]))return 0;for(;0<Xe[lt];--Xe[lt])(Oe=new j).g=lt,Oe.value=dt[tt++],R(Se,jt+gn,Ye,ln,Oe),gn=T(gn,lt)}for(lt=Ee+1,Ye=2;15>=lt;++lt,Ye<<=1){if(an+=Vn<<=1,0>(Vn-=Xe[lt]))return 0;for(;0<Xe[lt];--Xe[lt]){if(Oe=new j,(gn&Tt)!=Bt){for(jt+=ln,Nt=1<<(Bt=lt)-Ee;15>Bt&&!(0>=(Nt-=Xe[Bt]));)++Bt,Nt<<=1;vt+=ln=1<<(Nt=Bt-Ee),Se[_e+(Bt=gn&Tt)].g=Nt+Ee,Se[_e+Bt].value=jt-_e-Bt}Oe.g=lt-Ee,Oe.value=dt[tt++],R(Se,jt+(gn>>Ee),Ye,ln,Oe),gn=T(gn,lt)}}return an!=2*Je[15]-1?0:vt})(O,L,Z,he,be,ke)}function j(){this.value=this.g=0}function P(){this.value=this.g=0}function $(){this.G=o(5,j),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(To,P)}function z(O,L,Z,he){t(O!=null),t(L!=null),t(2147483648>he),O.Ca=254,O.I=0,O.b=-8,O.Ka=0,O.oa=L,O.pa=Z,O.Jd=L,O.Yc=Z+he,O.Zc=4<=he?Z+he-4+1:Z,oe(O)}function I(O,L){for(var Z=0;0<L--;)Z|=me(O,128)<<L;return Z}function V(O,L){var Z=I(O,L);return de(O)?-Z:Z}function W(O,L,Z,he){var be,ke=0;for(t(O!=null),t(L!=null),t(4294967288>he),O.Sb=he,O.Ra=0,O.u=0,O.h=0,4<he&&(he=4),be=0;be<he;++be)ke+=L[Z+be]<<8*be;O.Ra=ke,O.bb=he,O.oa=L,O.pa=Z}function ee(O){for(;8<=O.u&&O.bb<O.Sb;)O.Ra>>>=8,O.Ra+=O.oa[O.pa+O.bb]<<Hp-8>>>0,++O.bb,O.u-=8;G(O)&&(O.h=1,O.u=0)}function X(O,L){if(t(0<=L),!O.h&&L<=zp){var Z=Q(O)&em[L];return O.u+=L,ee(O),Z}return O.h=1,O.u=0}function fe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function H(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Q(O){return O.Ra>>>(O.u&Hp-1)>>>0}function G(O){return t(O.bb<=O.Sb),O.h||O.bb==O.Sb&&O.u>Hp}function ne(O,L){O.u=L,O.h=G(O)}function re(O){O.u>=$g&&(t(O.u>=$g),ee(O))}function oe(O){t(O!=null&&O.oa!=null),O.pa<O.Zc?(O.I=(O.oa[O.pa++]|O.I<<8)>>>0,O.b+=8):(t(O!=null&&O.oa!=null),O.pa<O.Yc?(O.b+=8,O.I=O.oa[O.pa++]|O.I<<8):O.Ka?O.b=0:(O.I<<=8,O.b+=8,O.Ka=1))}function de(O){return I(O,1)}function me(O,L){var Z=O.Ca;0>O.b&&oe(O);var he=O.b,be=Z*L>>>8,ke=(O.I>>>he>be)+0;for(ke?(Z-=be,O.I-=be+1<<he>>>0):Z=be+1,he=Z,be=0;256<=he;)be+=8,he>>=8;return he=7^be+Dl[he],O.b-=he,O.Ca=(Z<<he)-1,ke}function ge(O,L,Z){O[L+0]=Z>>24&255,O[L+1]=Z>>16&255,O[L+2]=Z>>8&255,O[L+3]=Z>>0&255}function se(O,L){return O[L+0]<<0|O[L+1]<<8}function te(O,L){return se(O,L)|O[L+2]<<16}function we(O,L){return se(O,L)|se(O,L+2)<<16}function Fe(O,L){var Z=1<<L;return t(O!=null),t(0<L),O.X=a(Z),O.X==null?0:(O.Mb=32-L,O.Xa=L,1)}function Be(O,L){t(O!=null),t(L!=null),t(O.Xa==L.Xa),r(L.X,0,O.X,0,1<<L.Xa)}function ie(){this.X=[],this.Xa=this.Mb=0}function Y(O,L,Z,he){t(Z!=null),t(he!=null);var be=Z[0],ke=he[0];return be==0&&(be=(O*ke+L/2)/L),ke==0&&(ke=(L*be+O/2)/O),0>=be||0>=ke?0:(Z[0]=be,he[0]=ke,1)}function ae(O,L){return O+(1<<L)-1>>>L}function ue(O,L){return((4278255360&O)+(4278255360&L)>>>0&4278255360)+((16711935&O)+(16711935&L)>>>0&16711935)>>>0}function ce(O,L){D[L]=function(Z,he,be,ke,Se,_e,Ee){var Oe;for(Oe=0;Oe<Se;++Oe){var Ye=D[O](_e[Ee+Oe-1],be,ke+Oe);_e[Ee+Oe]=ue(Z[he+Oe],Ye)}}}function ye(){this.ud=this.hd=this.jd=0}function ve(O,L){return((4278124286&(O^L))>>>1)+(O&L)>>>0}function Ie(O){return 0<=O&&256>O?O:0>O?0:255<O?255:void 0}function je(O,L){return Ie(O+(O-L+.5>>1))}function Me(O,L,Z){return Math.abs(L-Z)-Math.abs(O-Z)}function We(O,L,Z,he,be,ke,Se){for(he=ke[Se-1],Z=0;Z<be;++Z)ke[Se+Z]=he=ue(O[L+Z],he)}function et(O,L,Z,he,be){var ke;for(ke=0;ke<Z;++ke){var Se=O[L+ke],_e=Se>>8&255,Ee=16711935&(Ee=(Ee=16711935&Se)+((_e<<16)+_e));he[be+ke]=(4278255360&Se)+Ee>>>0}}function mt(O,L){L.jd=O>>0&255,L.hd=O>>8&255,L.ud=O>>16&255}function xt(O,L,Z,he,be,ke){var Se;for(Se=0;Se<he;++Se){var _e=L[Z+Se],Ee=_e>>>8,Oe=_e,Ye=255&(Ye=(Ye=_e>>>16)+((O.jd<<24>>24)*(Ee<<24>>24)>>>5));Oe=255&(Oe=(Oe=Oe+((O.hd<<24>>24)*(Ee<<24>>24)>>>5))+((O.ud<<24>>24)*(Ye<<24>>24)>>>5)),be[ke+Se]=(4278255360&_e)+(Ye<<16)+Oe}}function Ae(O,L,Z,he,be){D[L]=function(ke,Se,_e,Ee,Oe,Ye,dt,lt,tt){for(Ee=dt;Ee<lt;++Ee)for(dt=0;dt<tt;++dt)Oe[Ye++]=be(_e[he(ke[Se++])])},D[O]=function(ke,Se,_e,Ee,Oe,Ye,dt){var lt=8>>ke.b,tt=ke.Ea,jt=ke.K[0],vt=ke.w;if(8>lt)for(ke=(1<<ke.b)-1,vt=(1<<lt)-1;Se<_e;++Se){var Xe,Je=0;for(Xe=0;Xe<tt;++Xe)Xe&ke||(Je=he(Ee[Oe++])),Ye[dt++]=be(jt[Je&vt]),Je>>=lt}else D["VP8LMapColor"+Z](Ee,Oe,jt,vt,Ye,dt,Se,_e,tt)}}function J(O,L,Z,he,be){for(Z=L+Z;L<Z;){var ke=O[L++];he[be++]=ke>>16&255,he[be++]=ke>>8&255,he[be++]=ke>>0&255}}function le(O,L,Z,he,be){for(Z=L+Z;L<Z;){var ke=O[L++];he[be++]=ke>>16&255,he[be++]=ke>>8&255,he[be++]=ke>>0&255,he[be++]=ke>>24&255}}function Ce(O,L,Z,he,be){for(Z=L+Z;L<Z;){var ke=(Se=O[L++])>>16&240|Se>>12&15,Se=Se>>0&240|Se>>28&15;he[be++]=ke,he[be++]=Se}}function Te(O,L,Z,he,be){for(Z=L+Z;L<Z;){var ke=(Se=O[L++])>>16&248|Se>>13&7,Se=Se>>5&224|Se>>3&31;he[be++]=ke,he[be++]=Se}}function Le(O,L,Z,he,be){for(Z=L+Z;L<Z;){var ke=O[L++];he[be++]=ke>>0&255,he[be++]=ke>>8&255,he[be++]=ke>>16&255}}function De(O,L,Z,he,be,ke){if(ke==0)for(Z=L+Z;L<Z;)ge(he,((ke=O[L++])[0]>>24|ke[1]>>8&65280|ke[2]<<8&16711680|ke[3]<<24)>>>0),be+=32;else r(he,be,O,L,Z)}function He(O,L){D[L][0]=D[O+"0"],D[L][1]=D[O+"1"],D[L][2]=D[O+"2"],D[L][3]=D[O+"3"],D[L][4]=D[O+"4"],D[L][5]=D[O+"5"],D[L][6]=D[O+"6"],D[L][7]=D[O+"7"],D[L][8]=D[O+"8"],D[L][9]=D[O+"9"],D[L][10]=D[O+"10"],D[L][11]=D[O+"11"],D[L][12]=D[O+"12"],D[L][13]=D[O+"13"],D[L][14]=D[O+"0"],D[L][15]=D[O+"0"]}function ct(O){return O==x0||O==um||O==Rf||O==Hg}function st(){this.eb=[],this.size=this.A=this.fb=0}function rt(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ft(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new st,this.f.kb=new rt,this.sd=null}function Yt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function qt(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function yt(O){return alert("todo:WebPSamplerProcessPlane"),O.T}function Ut(O,L){var Z=O.T,he=L.ba.f.RGBA,be=he.eb,ke=he.fb+O.ka*he.A,Se=ls[L.ba.S],_e=O.y,Ee=O.O,Oe=O.f,Ye=O.N,dt=O.ea,lt=O.W,tt=L.cc,jt=L.dc,vt=L.Mc,Xe=L.Nc,Je=O.ka,Nt=O.ka+O.T,Bt=O.U,Tt=Bt+1>>1;for(Je==0?Se(_e,Ee,null,null,Oe,Ye,dt,lt,Oe,Ye,dt,lt,be,ke,null,null,Bt):(Se(L.ec,L.fc,_e,Ee,tt,jt,vt,Xe,Oe,Ye,dt,lt,be,ke-he.A,be,ke,Bt),++Z);Je+2<Nt;Je+=2)tt=Oe,jt=Ye,vt=dt,Xe=lt,Ye+=O.Rc,lt+=O.Rc,ke+=2*he.A,Se(_e,(Ee+=2*O.fa)-O.fa,_e,Ee,tt,jt,vt,Xe,Oe,Ye,dt,lt,be,ke-he.A,be,ke,Bt);return Ee+=O.fa,O.j+Nt<O.o?(r(L.ec,L.fc,_e,Ee,Bt),r(L.cc,L.dc,Oe,Ye,Tt),r(L.Mc,L.Nc,dt,lt,Tt),Z--):1&Nt||Se(_e,Ee,null,null,Oe,Ye,dt,lt,Oe,Ye,dt,lt,be,ke+he.A,null,null,Bt),Z}function xn(O,L,Z){var he=O.F,be=[O.J];if(he!=null){var ke=O.U,Se=L.ba.S,_e=Se==Wp||Se==Rf;L=L.ba.f.RGBA;var Ee=[0],Oe=O.ka;Ee[0]=O.T,O.Kb&&(Oe==0?--Ee[0]:(--Oe,be[0]-=O.width),O.j+O.ka+O.T==O.o&&(Ee[0]=O.o-O.j-Oe));var Ye=L.eb;Oe=L.fb+Oe*L.A,O=qr(he,be[0],O.width,ke,Ee,Ye,Oe+(_e?0:3),L.A),t(Z==Ee),O&&ct(Se)&&fc(Ye,Oe,_e,ke,Ee,L.A)}return 0}function nn(O){var L=O.ma,Z=L.ba.S,he=11>Z,be=Z==zg||Z==b0||Z==Wp||Z==Mf||Z==12||ct(Z);if(L.memory=null,L.Ib=null,L.Jb=null,L.Nd=null,!Jh(L.Oa,O,be?11:12))return 0;if(be&&ct(Z)&&zt(),O.da)alert("todo:use_scaling");else{if(he){if(L.Ib=yt,O.Kb){if(Z=O.U+1>>1,L.memory=a(O.U+2*Z),L.memory==null)return 0;L.ec=L.memory,L.fc=0,L.cc=L.ec,L.dc=L.fc+O.U,L.Mc=L.cc,L.Nc=L.dc+Z,L.Ib=Ut,zt()}}else alert("todo:EmitYUV");be&&(L.Jb=xn,he&&it())}if(he&&!ET){for(O=0;256>O;++O)_8[O]=89858*(O-128)+jo>>Td,S0[O]=-22014*(O-128)+jo,RC[O]=-45773*(O-128),Bo[O]=113618*(O-128)+jo>>Td;for(O=hm;O<F1;++O)L=76283*(O-16)+jo>>Td,C0[O-hm]=dc(L,255),$C[O-hm]=dc(L+8>>4,15);ET=1}return 1}function Pe(O){var L=O.ma,Z=O.U,he=O.T;return t(!(1&O.ka)),0>=Z||0>=he?0:(Z=L.Ib(O,L),L.Jb!=null&&L.Jb(O,L,Z),L.Dc+=Z,1)}function Ge(O){O.ma.memory=null}function ze(O,L,Z,he){return X(O,8)!=47?0:(L[0]=X(O,14)+1,Z[0]=X(O,14)+1,he[0]=X(O,1),X(O,3)!=0?0:!O.h)}function gt(O,L){if(4>O)return O+1;var Z=O-2>>1;return(2+(1&O)<<Z)+X(L,Z)+1}function wt(O,L){return 120<L?L-120:1<=(Z=((Z=Lf[L-1])>>4)*O+(8-(15&Z)))?Z:1;var Z}function Gt(O,L,Z){var he=Q(Z),be=O[L+=255&he].g-8;return 0<be&&(ne(Z,Z.u+8),he=Q(Z),L+=O[L].value,L+=he&(1<<be)-1),ne(Z,Z.u+O[L].g),O[L].value}function Xt(O,L,Z){return Z.g+=O.g,Z.value+=O.value<<L>>>0,t(8>=Z.g),O.g}function Wt(O,L,Z){var he=O.xc;return t((L=he==0?0:O.vc[O.md*(Z>>he)+(L>>he)])<O.Wb),O.Ya[L]}function fn(O,L,Z,he){var be=O.ab,ke=O.c*L,Se=O.C;L=Se+L;var _e=Z,Ee=he;for(he=O.Ta,Z=O.Ua;0<be--;){var Oe=O.gc[be],Ye=Se,dt=L,lt=_e,tt=Ee,jt=(Ee=he,_e=Z,Oe.Ea);switch(t(Ye<dt),t(dt<=Oe.nc),Oe.hc){case 2:w1(lt,tt,(dt-Ye)*jt,Ee,_e);break;case 0:var vt=Ye,Xe=dt,Je=Ee,Nt=_e,Bt=(ln=Oe).Ea;vt==0&&(PC(lt,tt,null,null,1,Je,Nt),We(lt,tt+1,0,0,Bt-1,Je,Nt+1),tt+=Bt,Nt+=Bt,++vt);for(var Tt=1<<ln.b,gn=Tt-1,an=ae(Bt,ln.b),Vn=ln.K,ln=ln.w+(vt>>ln.b)*an;vt<Xe;){var Ai=Vn,ki=ln,zr=1;for(v0(lt,tt,Je,Nt-Bt,1,Je,Nt);zr<Bt;){var Rr=(zr&~gn)+Tt;Rr>Bt&&(Rr=Bt),(0,Bf[Ai[ki++]>>8&15])(lt,tt+ +zr,Je,Nt+zr-Bt,Rr-zr,Je,Nt+zr),zr=Rr}tt+=Bt,Nt+=Bt,++vt&gn||(ln+=an)}dt!=Oe.nc&&r(Ee,_e-jt,Ee,_e+(dt-Ye-1)*jt,jt);break;case 1:for(jt=lt,Xe=tt,Bt=(lt=Oe.Ea)-(Nt=lt&~(Je=(tt=1<<Oe.b)-1)),vt=ae(lt,Oe.b),Tt=Oe.K,Oe=Oe.w+(Ye>>Oe.b)*vt;Ye<dt;){for(gn=Tt,an=Oe,Vn=new ye,ln=Xe+Nt,Ai=Xe+lt;Xe<ln;)mt(gn[an++],Vn),nm(Vn,jt,Xe,tt,Ee,_e),Xe+=tt,_e+=tt;Xe<Ai&&(mt(gn[an++],Vn),nm(Vn,jt,Xe,Bt,Ee,_e),Xe+=Bt,_e+=Bt),++Ye&Je||(Oe+=vt)}break;case 3:if(lt==Ee&&tt==_e&&0<Oe.b){for(Xe=Ee,lt=jt=_e+(dt-Ye)*jt-(Nt=(dt-Ye)*ae(Oe.Ea,Oe.b)),tt=Ee,Je=_e,vt=[],Nt=(Bt=Nt)-1;0<=Nt;--Nt)vt[Nt]=tt[Je+Nt];for(Nt=Bt-1;0<=Nt;--Nt)Xe[lt+Nt]=vt[Nt];Rc(Oe,Ye,dt,Ee,jt,Ee,_e)}else Rc(Oe,Ye,dt,lt,tt,Ee,_e)}_e=he,Ee=Z}Ee!=Z&&r(he,Z,_e,Ee,ke)}function Fn(O,L){var Z=O.V,he=O.Ba+O.c*O.C,be=L-O.C;if(t(L<=O.l.o),t(16>=be),0<be){var ke=O.l,Se=O.Ta,_e=O.Ua,Ee=ke.width;if(fn(O,be,Z,he),be=_e=[_e],t((Z=O.C)<(he=L)),t(ke.v<ke.va),he>ke.o&&(he=ke.o),Z<ke.j){var Oe=ke.j-Z;Z=ke.j,be[0]+=Oe*Ee}if(Z>=he?Z=0:(be[0]+=4*ke.v,ke.ka=Z-ke.j,ke.U=ke.va-ke.v,ke.T=he-Z,Z=1),Z){if(_e=_e[0],11>(Z=O.ca).S){var Ye=Z.f.RGBA,dt=(he=Z.S,be=ke.U,ke=ke.T,Oe=Ye.eb,Ye.A),lt=ke;for(Ye=Ye.fb+O.Ma*Ye.A;0<lt--;){var tt=Se,jt=_e,vt=be,Xe=Oe,Je=Ye;switch(he){case Us:nl(tt,jt,vt,Xe,Je);break;case zg:ws(tt,jt,vt,Xe,Je);break;case x0:ws(tt,jt,vt,Xe,Je),fc(Xe,Je,0,vt,1,0);break;case Nd:Eu(tt,jt,vt,Xe,Je);break;case b0:De(tt,jt,vt,Xe,Je,1);break;case um:De(tt,jt,vt,Xe,Je,1),fc(Xe,Je,0,vt,1,0);break;case Wp:De(tt,jt,vt,Xe,Je,0);break;case Rf:De(tt,jt,vt,Xe,Je,0),fc(Xe,Je,1,vt,1,0);break;case Mf:rm(tt,jt,vt,Xe,Je);break;case Hg:rm(tt,jt,vt,Xe,Je),Qr(Xe,Je,vt,1,0);break;case S1:Tl(tt,jt,vt,Xe,Je);break;default:t(0)}_e+=Ee,Ye+=dt}O.Ma+=ke}else alert("todo:EmitRescaledRowsYUVA");t(O.Ma<=Z.height)}}O.C=L,t(O.C<=O.i)}function mn(O){var L;if(0<O.ua)return 0;for(L=0;L<O.Wb;++L){var Z=O.Ya[L].G,he=O.Ya[L].H;if(0<Z[1][he[1]+0].g||0<Z[2][he[2]+0].g||0<Z[3][he[3]+0].g)return 0}return 1}function bt(O,L,Z,he,be,ke){if(O.Z!=0){var Se=O.qd,_e=O.rd;for(t(Fd[O.Z]!=null);L<Z;++L)Fd[O.Z](Se,_e,he,be,he,be,ke),Se=he,_e=be,be+=ke;O.qd=Se,O.rd=_e}}function rn(O,L){var Z=O.l.ma,he=Z.Z==0||Z.Z==1?O.l.j:O.C;if(he=O.C<he?he:O.C,t(L<=O.l.o),L>he){var be=O.l.width,ke=Z.ca,Se=Z.tb+be*he,_e=O.V,Ee=O.Ba+O.c*he,Oe=O.gc;t(O.ab==1),t(Oe[0].hc==3),tm(Oe[0],he,L,_e,Ee,ke,Se),bt(Z,he,L,ke,Se,be)}O.C=O.Ma=L}function Dn(O,L,Z,he,be,ke,Se){var _e=O.$/he,Ee=O.$%he,Oe=O.m,Ye=O.s,dt=Z+O.$,lt=dt;be=Z+he*be;var tt=Z+he*ke,jt=280+Ye.ua,vt=O.Pb?_e:16777216,Xe=0<Ye.ua?Ye.Wa:null,Je=Ye.wc,Nt=dt<tt?Wt(Ye,Ee,_e):null;t(O.C<ke),t(tt<=be);var Bt=!1;e:for(;;){for(;Bt||dt<tt;){var Tt=0;if(_e>=vt){var gn=dt-Z;t((vt=O).Pb),vt.wd=vt.m,vt.xd=gn,0<vt.s.ua&&Be(vt.s.Wa,vt.s.vb),vt=_e+CT}if(Ee&Je||(Nt=Wt(Ye,Ee,_e)),t(Nt!=null),Nt.Qb&&(L[dt]=Nt.qb,Bt=!0),!Bt)if(re(Oe),Nt.jc){Tt=Oe,gn=L;var an=dt,Vn=Nt.pd[Q(Tt)&To-1];t(Nt.jc),256>Vn.g?(ne(Tt,Tt.u+Vn.g),gn[an]=Vn.value,Tt=0):(ne(Tt,Tt.u+Vn.g-256),t(256<=Vn.value),Tt=Vn.value),Tt==0&&(Bt=!0)}else Tt=Gt(Nt.G[0],Nt.H[0],Oe);if(Oe.h)break;if(Bt||256>Tt){if(!Bt)if(Nt.nd)L[dt]=(Nt.qb|Tt<<8)>>>0;else{if(re(Oe),Bt=Gt(Nt.G[1],Nt.H[1],Oe),re(Oe),gn=Gt(Nt.G[2],Nt.H[2],Oe),an=Gt(Nt.G[3],Nt.H[3],Oe),Oe.h)break;L[dt]=(an<<24|Bt<<16|Tt<<8|gn)>>>0}if(Bt=!1,++dt,++Ee>=he&&(Ee=0,++_e,Se!=null&&_e<=ke&&!(_e%16)&&Se(O,_e),Xe!=null))for(;lt<dt;)Tt=L[lt++],Xe.X[(506832829*Tt&4294967295)>>>Xe.Mb]=Tt}else if(280>Tt){if(Tt=gt(Tt-256,Oe),gn=Gt(Nt.G[4],Nt.H[4],Oe),re(Oe),gn=wt(he,gn=gt(gn,Oe)),Oe.h)break;if(dt-Z<gn||be-dt<Tt)break e;for(an=0;an<Tt;++an)L[dt+an]=L[dt+an-gn];for(dt+=Tt,Ee+=Tt;Ee>=he;)Ee-=he,++_e,Se!=null&&_e<=ke&&!(_e%16)&&Se(O,_e);if(t(dt<=be),Ee&Je&&(Nt=Wt(Ye,Ee,_e)),Xe!=null)for(;lt<dt;)Tt=L[lt++],Xe.X[(506832829*Tt&4294967295)>>>Xe.Mb]=Tt}else{if(!(Tt<jt))break e;for(Bt=Tt-280,t(Xe!=null);lt<dt;)Tt=L[lt++],Xe.X[(506832829*Tt&4294967295)>>>Xe.Mb]=Tt;Tt=dt,t(!(Bt>>>(gn=Xe).Xa)),L[Tt]=gn.X[Bt],Bt=!0}Bt||t(Oe.h==G(Oe))}if(O.Pb&&Oe.h&&dt<be)t(O.m.h),O.a=5,O.m=O.wd,O.$=O.xd,0<O.s.ua&&Be(O.s.vb,O.s.Wa);else{if(Oe.h)break e;Se?.(O,_e>ke?ke:_e),O.a=0,O.$=dt-Z}return 1}return O.a=3,0}function pn(O){t(O!=null),O.vc=null,O.yc=null,O.Ya=null;var L=O.Wa;L!=null&&(L.X=null),O.vb=null,t(O!=null)}function Cr(){var O=new IC;return O==null?null:(O.a=0,O.xb=Vg,He("Predictor","VP8LPredictors"),He("Predictor","VP8LPredictors_C"),He("PredictorAdd","VP8LPredictorsAdd"),He("PredictorAdd","VP8LPredictorsAdd_C"),w1=et,nm=xt,nl=J,ws=le,rm=Ce,Tl=Te,Eu=Le,D.VP8LMapColor32b=os,D.VP8LMapColor8b=y0,O)}function kn(O,L,Z,he,be){var ke=1,Se=[O],_e=[L],Ee=he.m,Oe=he.s,Ye=null,dt=0;e:for(;;){if(Z)for(;ke&&X(Ee,1);){var lt=Se,tt=_e,jt=he,vt=1,Xe=jt.m,Je=jt.gc[jt.ab],Nt=X(Xe,2);if(jt.Oc&1<<Nt)ke=0;else{switch(jt.Oc|=1<<Nt,Je.hc=Nt,Je.Ea=lt[0],Je.nc=tt[0],Je.K=[null],++jt.ab,t(4>=jt.ab),Nt){case 0:case 1:Je.b=X(Xe,3)+2,vt=kn(ae(Je.Ea,Je.b),ae(Je.nc,Je.b),0,jt,Je.K),Je.K=Je.K[0];break;case 3:var Bt,Tt=X(Xe,8)+1,gn=16<Tt?0:4<Tt?1:2<Tt?2:3;if(lt[0]=ae(Je.Ea,gn),Je.b=gn,Bt=vt=kn(Tt,1,0,jt,Je.K)){var an,Vn=Tt,ln=Je,Ai=1<<(8>>ln.b),ki=a(Ai);if(ki==null)Bt=0;else{var zr=ln.K[0],Rr=ln.w;for(ki[0]=ln.K[0][0],an=1;an<1*Vn;++an)ki[an]=ue(zr[Rr+an],ki[an-1]);for(;an<4*Ai;++an)ki[an]=0;ln.K[0]=null,ln.K[0]=ki,Bt=1}}vt=Bt;break;case 2:break;default:t(0)}ke=vt}}if(Se=Se[0],_e=_e[0],ke&&X(Ee,1)&&!(ke=1<=(dt=X(Ee,4))&&11>=dt)){he.a=3;break e}var Ii;if(Ii=ke)t:{var Si,yr,Ui,er=he,dr=Se,ui=_e,gi=dt,cs=Z,Io=er.m,to=er.s,no=[null],mo=1,zc=0,Ci=Yp[gi];n:for(;;){if(cs&&X(Io,1)){var po=X(Io,3)+2,Tu=ae(dr,po),mm=ae(ui,po),Jp=Tu*mm;if(!kn(Tu,mm,0,er,no))break n;for(no=no[0],to.xc=po,Si=0;Si<Jp;++Si){var pm=no[Si]>>8&65535;no[Si]=pm,pm>=mo&&(mo=pm+1)}}if(Io.h)break n;for(yr=0;5>yr;++yr){var va=hc[yr];!yr&&0<gi&&(va+=1<<gi),zc<va&&(zc=va)}var _0=o(mo*Ci,j),D1=mo,il=o(D1,$);if(il==null)var ka=null;else t(65536>=D1),ka=il;var eA=a(zc);if(ka==null||eA==null||_0==null){er.a=1;break n}var Am=_0;for(Si=Ui=0;Si<mo;++Si){var jl=ka[Si],gm=jl.G,Bl=jl.H,N0=0,qg=1,T1=0;for(yr=0;5>yr;++yr){va=hc[yr],gm[yr]=Am,Bl[yr]=Ui,!yr&&0<gi&&(va+=1<<gi);i:{var E0,O1=va,F0=er,Gg=eA,TT=Am,OT=Ui,D0=0,Vf=F0.m,E8=X(Vf,1);if(i(Gg,0,0,O1),E8){var jT=X(Vf,1)+1,BT=X(Vf,1),LC=X(Vf,BT==0?1:8);Gg[LC]=1,jT==2&&(Gg[LC=X(Vf,8)]=1);var Wg=1}else{var UC=a(19),zC=X(Vf,4)+4;if(19<zC){F0.a=3;var T0=0;break i}for(E0=0;E0<zC;++E0)UC[$f[E0]]=X(Vf,3);var j1=void 0,Kg=void 0,IT=F0,PT=UC,Qf=O1,O0=Gg,B1=0,Ou=IT.m,Yg=8,HC=o(128,j);r:for(;B(HC,0,7,PT,19);){if(X(Ou,1)){var MT=2+2*X(Ou,3);if((j1=2+X(Ou,MT))>Qf)break r}else j1=Qf;for(Kg=0;Kg<Qf&&j1--;){re(Ou);var VC=HC[0+(127&Q(Ou))];ne(Ou,Ou.u+VC.g);var tA=VC.value;if(16>tA)O0[Kg++]=tA,tA!=0&&(Yg=tA);else{var RT=tA==16,QC=tA-16,qC=Uc[QC],GC=X(Ou,C1[QC])+qC;if(Kg+GC>Qf)break r;for(var $T=RT?Yg:0;0<GC--;)O0[Kg++]=$T}}B1=1;break r}B1||(IT.a=3),Wg=B1}(Wg=Wg&&!Vf.h)&&(D0=B(TT,OT,8,Gg,O1)),Wg&&D0!=0?T0=D0:(F0.a=3,T0=0)}if(T0==0)break n;if(qg&&Kp[yr]==1&&(qg=Am[Ui].g==0),N0+=Am[Ui].g,Ui+=T0,3>=yr){var nA,I1=eA[0];for(nA=1;nA<va;++nA)eA[nA]>I1&&(I1=eA[nA]);T1+=I1}}if(jl.nd=qg,jl.Qb=0,qg&&(jl.qb=(gm[3][Bl[3]+0].value<<24|gm[1][Bl[1]+0].value<<16|gm[2][Bl[2]+0].value)>>>0,N0==0&&256>gm[0][Bl[0]+0].value&&(jl.Qb=1,jl.qb+=gm[0][Bl[0]+0].value<<8)),jl.jc=!jl.Qb&&6>T1,jl.jc){var j0,qf=jl;for(j0=0;j0<To;++j0){var Od=j0,Gf=qf.pd[Od],B0=qf.G[0][qf.H[0]+Od];256<=B0.value?(Gf.g=B0.g+256,Gf.value=B0.value):(Gf.g=0,Gf.value=0,Od>>=Xt(B0,8,Gf),Od>>=Xt(qf.G[1][qf.H[1]+Od],16,Gf),Od>>=Xt(qf.G[2][qf.H[2]+Od],0,Gf),Xt(qf.G[3][qf.H[3]+Od],24,Gf))}}}to.vc=no,to.Wb=mo,to.Ya=ka,to.yc=_0,Ii=1;break t}Ii=0}if(!(ke=Ii)){he.a=3;break e}if(0<dt){if(Oe.ua=1<<dt,!Fe(Oe.Wa,dt)){he.a=1,ke=0;break e}}else Oe.ua=0;var I0=he,WC=Se,LT=_e,KC=I0.s,YC=KC.xc;if(I0.c=WC,I0.i=LT,KC.md=ae(WC,YC),KC.wc=YC==0?-1:(1<<YC)-1,Z){he.xb=NT;break e}if((Ye=a(Se*_e))==null){he.a=1,ke=0;break e}ke=(ke=Dn(he,Ye,0,Se,_e,_e,null))&&!Ee.h;break e}return ke?(be!=null?be[0]=Ye:(t(Ye==null),t(Z)),he.$=0,Z||pn(Oe)):pn(Oe),ke}function vr(O,L){var Z=O.c*O.i,he=Z+L+16*L;return t(O.c<=L),O.V=a(he),O.V==null?(O.Ta=null,O.Ua=0,O.a=1,0):(O.Ta=O.V,O.Ua=O.Ba+Z+L,1)}function Pa(O,L){var Z=O.C,he=L-Z,be=O.V,ke=O.Ba+O.c*Z;for(t(L<=O.l.o);0<he;){var Se=16<he?16:he,_e=O.l.ma,Ee=O.l.width,Oe=Ee*Se,Ye=_e.ca,dt=_e.tb+Ee*Z,lt=O.Ta,tt=O.Ua;fn(O,Se,be,ke),ta(lt,tt,Ye,dt,Oe),bt(_e,Z,Z+Se,Ye,dt,Ee),he-=Se,be+=Se*O.c,Z+=Se}t(Z==L),O.C=O.Ma=L}function Ma(){this.ub=this.yd=this.td=this.Rb=0}function Or(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function sa(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Bc(){this.Yb=(function(){var O=[];return(function L(Z,he,be){for(var ke=be[he],Se=0;Se<ke&&(Z.push(be.length>he+1?[]:0),!(be.length<he+1));Se++)L(Z[Se],he+1,be)})(O,0,[3,11]),O})()}function el(){this.jb=a(3),this.Wc=s([4,8],Bc),this.Xc=s([4,17],Bc)}function lc(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Rs(){this.ld=this.La=this.dd=this.tc=0}function Nl(){this.Na=this.la=0}function mr(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ji(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function $s(){this.uc=this.M=this.Nb=0,this.wa=Array(new Rs),this.Y=0,this.ya=Array(new Ji),this.aa=0,this.l=new ea}function bn(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Jn(){this.cb=this.a=0,this.sc="",this.m=new fe,this.Od=new Ma,this.Kc=new Or,this.ed=new lc,this.Qa=new sa,this.Ic=this.$c=this.Aa=0,this.D=new $s,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,fe),this.ia=0,this.pb=o(4,mr),this.Pa=new el,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new bn),this.Hd=0,this.rb=Array(new Nl),this.sb=0,this.wa=Array(new Rs),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ji),this.L=this.aa=0,this.gd=s([4,2],Rs),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function ea(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function tl(){var O=new Jn;return O!=null&&(O.a=0,O.sc="OK",O.cb=0,O.Xb=0,Oo||(Oo=Ic)),O}function pi(O,L,Z){return O.a==0&&(O.a=L,O.sc=Z,O.cb=0),0}function la(O,L,Z){return 3<=Z&&O[L+0]==157&&O[L+1]==1&&O[L+2]==42}function Su(O,L){if(O==null)return 0;if(O.a=0,O.sc="OK",L==null)return pi(O,2,"null VP8Io passed to VP8GetHeaders()");var Z=L.data,he=L.w,be=L.ha;if(4>be)return pi(O,7,"Truncated header.");var ke=Z[he+0]|Z[he+1]<<8|Z[he+2]<<16,Se=O.Od;if(Se.Rb=!(1&ke),Se.td=ke>>1&7,Se.yd=ke>>4&1,Se.ub=ke>>5,3<Se.td)return pi(O,3,"Incorrect keyframe parameters.");if(!Se.yd)return pi(O,4,"Frame not displayable.");he+=3,be-=3;var _e=O.Kc;if(Se.Rb){if(7>be)return pi(O,7,"cannot parse picture header");if(!la(Z,he,be))return pi(O,3,"Bad code word");_e.c=16383&(Z[he+4]<<8|Z[he+3]),_e.Td=Z[he+4]>>6,_e.i=16383&(Z[he+6]<<8|Z[he+5]),_e.Ud=Z[he+6]>>6,he+=7,be-=7,O.za=_e.c+15>>4,O.Ub=_e.i+15>>4,L.width=_e.c,L.height=_e.i,L.Da=0,L.j=0,L.v=0,L.va=L.width,L.o=L.height,L.da=0,L.ib=L.width,L.hb=L.height,L.U=L.width,L.T=L.height,i((ke=O.Pa).jb,0,255,ke.jb.length),t((ke=O.Qa)!=null),ke.Cb=0,ke.Bb=0,ke.Fb=1,i(ke.Zb,0,0,ke.Zb.length),i(ke.Lb,0,0,ke.Lb)}if(Se.ub>be)return pi(O,7,"bad partition length");z(ke=O.m,Z,he,Se.ub),he+=Se.ub,be-=Se.ub,Se.Rb&&(_e.Ld=de(ke),_e.Kd=de(ke)),_e=O.Qa;var Ee,Oe=O.Pa;if(t(ke!=null),t(_e!=null),_e.Cb=de(ke),_e.Cb){if(_e.Bb=de(ke),de(ke)){for(_e.Fb=de(ke),Ee=0;4>Ee;++Ee)_e.Zb[Ee]=de(ke)?V(ke,7):0;for(Ee=0;4>Ee;++Ee)_e.Lb[Ee]=de(ke)?V(ke,6):0}if(_e.Bb)for(Ee=0;3>Ee;++Ee)Oe.jb[Ee]=de(ke)?I(ke,8):255}else _e.Bb=0;if(ke.Ka)return pi(O,3,"cannot parse segment header");if((_e=O.ed).zd=de(ke),_e.Tb=I(ke,6),_e.wb=I(ke,3),_e.Pc=de(ke),_e.Pc&&de(ke)){for(Oe=0;4>Oe;++Oe)de(ke)&&(_e.vd[Oe]=V(ke,6));for(Oe=0;4>Oe;++Oe)de(ke)&&(_e.od[Oe]=V(ke,6))}if(O.L=_e.Tb==0?0:_e.zd?1:2,ke.Ka)return pi(O,3,"cannot parse filter header");var Ye=be;if(be=Ee=he,he=Ee+Ye,_e=Ye,O.Xb=(1<<I(O.m,2))-1,Ye<3*(Oe=O.Xb))Z=7;else{for(Ee+=3*Oe,_e-=3*Oe,Ye=0;Ye<Oe;++Ye){var dt=Z[be+0]|Z[be+1]<<8|Z[be+2]<<16;dt>_e&&(dt=_e),z(O.Jc[+Ye],Z,Ee,dt),Ee+=dt,_e-=dt,be+=3}z(O.Jc[+Oe],Z,Ee,_e),Z=Ee<he?0:5}if(Z!=0)return pi(O,Z,"cannot parse partitions");for(Z=I(Ee=O.m,7),be=de(Ee)?V(Ee,4):0,he=de(Ee)?V(Ee,4):0,_e=de(Ee)?V(Ee,4):0,Oe=de(Ee)?V(Ee,4):0,Ee=de(Ee)?V(Ee,4):0,Ye=O.Qa,dt=0;4>dt;++dt){if(Ye.Cb){var lt=Ye.Zb[dt];Ye.Fb||(lt+=Z)}else{if(0<dt){O.pb[dt]=O.pb[0];continue}lt=Z}var tt=O.pb[dt];tt.Sc[0]=w0[dc(lt+be,127)],tt.Sc[1]=k0[dc(lt+0,127)],tt.Eb[0]=2*w0[dc(lt+he,127)],tt.Eb[1]=101581*k0[dc(lt+_e,127)]>>16,8>tt.Eb[1]&&(tt.Eb[1]=8),tt.Qc[0]=w0[dc(lt+Oe,117)],tt.Qc[1]=k0[dc(lt+Ee,127)],tt.lc=lt+Ee}if(!Se.Rb)return pi(O,4,"Not a key frame.");for(de(ke),Se=O.Pa,Z=0;4>Z;++Z){for(be=0;8>be;++be)for(he=0;3>he;++he)for(_e=0;11>_e;++_e)Oe=me(ke,Xp[Z][be][he][_e])?I(ke,8):Ed[Z][be][he][_e],Se.Wc[Z][be].Yb[he][_e]=Oe;for(be=0;17>be;++be)Se.Xc[Z][be]=Se.Wc[Z][_T[be]]}return O.kc=de(ke),O.kc&&(O.Bd=I(ke,8)),O.cb=1}function Ic(O,L,Z,he,be,ke,Se){var _e=L[be].Yb[Z];for(Z=0;16>be;++be){if(!me(O,_e[Z+0]))return be;for(;!me(O,_e[Z+1]);)if(_e=L[++be].Yb[0],Z=0,be==16)return 16;var Ee=L[be+1].Yb;if(me(O,_e[Z+2])){var Oe=O,Ye=0;if(me(Oe,(lt=_e)[(dt=Z)+3]))if(me(Oe,lt[dt+6])){for(_e=0,dt=2*(Ye=me(Oe,lt[dt+8]))+(lt=me(Oe,lt[dt+9+Ye])),Ye=0,lt=La[dt];lt[_e];++_e)Ye+=Ye+me(Oe,lt[_e]);Ye+=3+(8<<dt)}else me(Oe,lt[dt+7])?(Ye=7+2*me(Oe,165),Ye+=me(Oe,145)):Ye=5+me(Oe,159);else Ye=me(Oe,lt[dt+4])?3+me(Oe,lt[dt+5]):2;_e=Ee[2]}else Ye=1,_e=Ee[1];Ee=Se+bi[be],0>(Oe=O).b&&oe(Oe);var dt,lt=Oe.b,tt=(dt=Oe.Ca>>1)-(Oe.I>>lt)>>31;--Oe.b,Oe.Ca+=tt,Oe.Ca|=1,Oe.I-=(dt+1&tt)<<lt,ke[Ee]=((Ye^tt)-tt)*he[(0<be)+0]}return 16}function Qh(O){var L=O.rb[O.sb-1];L.la=0,L.Na=0,i(O.zc,0,0,O.zc.length),O.ja=0}function m1(O,L){if(O==null)return 0;if(L==null)return pi(O,2,"NULL VP8Io parameter in VP8Decode().");if(!O.cb&&!Su(O,L))return 0;if(t(O.cb),L.ac==null||L.ac(L)){L.ob&&(O.L=0);var Z=Hf[O.L];if(O.L==2?(O.yb=0,O.zb=0):(O.yb=L.v-Z>>4,O.zb=L.j-Z>>4,0>O.yb&&(O.yb=0),0>O.zb&&(O.zb=0)),O.Va=L.o+15+Z>>4,O.Hb=L.va+15+Z>>4,O.Hb>O.za&&(O.Hb=O.za),O.Va>O.Ub&&(O.Va=O.Ub),0<O.L){var he=O.ed;for(Z=0;4>Z;++Z){var be;if(O.Qa.Cb){var ke=O.Qa.Lb[Z];O.Qa.Fb||(ke+=he.Tb)}else ke=he.Tb;for(be=0;1>=be;++be){var Se=O.gd[Z][be],_e=ke;if(he.Pc&&(_e+=he.vd[0],be&&(_e+=he.od[0])),0<(_e=0>_e?0:63<_e?63:_e)){var Ee=_e;0<he.wb&&(Ee=4<he.wb?Ee>>2:Ee>>1)>9-he.wb&&(Ee=9-he.wb),1>Ee&&(Ee=1),Se.dd=Ee,Se.tc=2*_e+Ee,Se.ld=40<=_e?2:15<=_e?1:0}else Se.tc=0;Se.La=be}}}Z=0}else pi(O,6,"Frame setup failed"),Z=O.a;if(Z=Z==0){if(Z){O.$c=0,0<O.Aa||(O.Ic=FT);e:{Z=O.Ic,he=4*(Ee=O.za);var Oe=32*Ee,Ye=Ee+1,dt=0<O.L?Ee*(0<O.Aa?2:1):0,lt=(O.Aa==2?2:1)*Ee;if((Se=he+832+(be=3*(16*Z+Hf[O.L])/2*Oe)+(ke=O.Fa!=null&&0<O.Fa.length?O.Kc.c*O.Kc.i:0))!=Se)Z=0;else{if(Se>O.Vb){if(O.Vb=0,O.Ec=a(Se),O.Fc=0,O.Ec==null){Z=pi(O,1,"no memory during frame initialization.");break e}O.Vb=Se}Se=O.Ec,_e=O.Fc,O.Ac=Se,O.Bc=_e,_e+=he,O.Gd=o(Oe,bn),O.Hd=0,O.rb=o(Ye+1,Nl),O.sb=1,O.wa=dt?o(dt,Rs):null,O.Y=0,O.D.Nb=0,O.D.wa=O.wa,O.D.Y=O.Y,0<O.Aa&&(O.D.Y+=Ee),t(!0),O.oc=Se,O.pc=_e,_e+=832,O.ya=o(lt,Ji),O.aa=0,O.D.ya=O.ya,O.D.aa=O.aa,O.Aa==2&&(O.D.aa+=Ee),O.R=16*Ee,O.B=8*Ee,Ee=(Oe=Hf[O.L])*O.R,Oe=Oe/2*O.B,O.sa=Se,O.ta=_e+Ee,O.qa=O.sa,O.ra=O.ta+16*Z*O.R+Oe,O.Ha=O.qa,O.Ia=O.ra+8*Z*O.B+Oe,O.$c=0,_e+=be,O.mb=ke?Se:null,O.nb=ke?_e:null,t(_e+ke<=O.Fc+O.Vb),Qh(O),i(O.Ac,O.Bc,0,he),Z=1}}if(Z){if(L.ka=0,L.y=O.sa,L.O=O.ta,L.f=O.qa,L.N=O.ra,L.ea=O.Ha,L.Vd=O.Ia,L.fa=O.R,L.Rc=O.B,L.F=null,L.J=0,!Pf){for(Z=-255;255>=Z;++Z)eo[255+Z]=0>Z?-Z:Z;for(Z=-1020;1020>=Z;++Z)$c[1020+Z]=-128>Z?-128:127<Z?127:Z;for(Z=-112;112>=Z;++Z)lm[112+Z]=-16>Z?-16:15<Z?15:Z;for(Z=-255;510>=Z;++Z)cm[255+Z]=0>Z?0:255<Z?255:Z;Pf=1}Cd=qh,Fu=s0,Du=Nf,ho=p1,Ol=l0,Ra=o0,Vp=Rp,_d=$p,Lg=BC,im=h0,am=jC,om=Tg,Qp=Og,Ug=x1,sm=Yh,If=uc,qp=Sd,$a=OC,rl[0]=Fl,rl[1]=A1,rl[2]=d0,rl[3]=v1,rl[4]=Pc,rl[5]=xd,rl[6]=Ng,rl[7]=Mc,rl[8]=Eg,rl[9]=f0,Uf[0]=_g,Uf[1]=u0,Uf[2]=Ef,Uf[3]=Cg,Uf[4]=is,Uf[5]=Gh,Uf[6]=Df,mc[0]=Tf,mc[1]=g1,mc[2]=y1,mc[3]=Wh,mc[4]=cc,mc[5]=Ls,mc[6]=Kh,Z=1}else Z=0}Z&&(Z=(function(tt,jt){for(tt.M=0;tt.M<tt.Va;++tt.M){var vt,Xe=tt.Jc[tt.M&tt.Xb],Je=tt.m,Nt=tt;for(vt=0;vt<Nt.za;++vt){var Bt=Je,Tt=Nt,gn=Tt.Ac,an=Tt.Bc+4*vt,Vn=Tt.zc,ln=Tt.ya[Tt.aa+vt];if(Tt.Qa.Bb?ln.$b=me(Bt,Tt.Pa.jb[0])?2+me(Bt,Tt.Pa.jb[2]):me(Bt,Tt.Pa.jb[1]):ln.$b=0,Tt.kc&&(ln.Ad=me(Bt,Tt.Bd)),ln.Za=!me(Bt,145)+0,ln.Za){var Ai=ln.Ob,ki=0;for(Tt=0;4>Tt;++Tt){var zr,Rr=Vn[0+Tt];for(zr=0;4>zr;++zr){Rr=MC[gn[an+zr]][Rr];for(var Ii=dm[me(Bt,Rr[0])];0<Ii;)Ii=dm[2*Ii+me(Bt,Rr[Ii])];Rr=-Ii,gn[an+zr]=Rr}r(Ai,ki,gn,an,4),ki+=4,Vn[0+Tt]=Rr}}else Rr=me(Bt,156)?me(Bt,128)?1:3:me(Bt,163)?2:0,ln.Ob[0]=Rr,i(gn,an,Rr,4),i(Vn,0,Rr,4);ln.Dd=me(Bt,142)?me(Bt,114)?me(Bt,183)?1:3:2:0}if(Nt.m.Ka)return pi(tt,7,"Premature end-of-partition0 encountered.");for(;tt.ja<tt.za;++tt.ja){if(Nt=Xe,Bt=(Je=tt).rb[Je.sb-1],gn=Je.rb[Je.sb+Je.ja],vt=Je.ya[Je.aa+Je.ja],an=Je.kc?vt.Ad:0)Bt.la=gn.la=0,vt.Za||(Bt.Na=gn.Na=0),vt.Hc=0,vt.Gc=0,vt.ia=0;else{var Si,yr;if(Bt=gn,gn=Nt,an=Je.Pa.Xc,Vn=Je.ya[Je.aa+Je.ja],ln=Je.pb[Vn.$b],Tt=Vn.ad,Ai=0,ki=Je.rb[Je.sb-1],Rr=zr=0,i(Tt,Ai,0,384),Vn.Za)var Ui=0,er=an[3];else{Ii=a(16);var dr=Bt.Na+ki.Na;if(dr=Oo(gn,an[1],dr,ln.Eb,0,Ii,0),Bt.Na=ki.Na=(0<dr)+0,1<dr)Cd(Ii,0,Tt,Ai);else{var ui=Ii[0]+3>>3;for(Ii=0;256>Ii;Ii+=16)Tt[Ai+Ii]=ui}Ui=1,er=an[0]}var gi=15&Bt.la,cs=15&ki.la;for(Ii=0;4>Ii;++Ii){var Io=1&cs;for(ui=yr=0;4>ui;++ui)gi=gi>>1|(Io=(dr=Oo(gn,er,dr=Io+(1&gi),ln.Sc,Ui,Tt,Ai))>Ui)<<7,yr=yr<<2|(3<dr?3:1<dr?2:Tt[Ai+0]!=0),Ai+=16;gi>>=4,cs=cs>>1|Io<<7,zr=(zr<<8|yr)>>>0}for(er=gi,Ui=cs>>4,Si=0;4>Si;Si+=2){for(yr=0,gi=Bt.la>>4+Si,cs=ki.la>>4+Si,Ii=0;2>Ii;++Ii){for(Io=1&cs,ui=0;2>ui;++ui)dr=Io+(1&gi),gi=gi>>1|(Io=0<(dr=Oo(gn,an[2],dr,ln.Qc,0,Tt,Ai)))<<3,yr=yr<<2|(3<dr?3:1<dr?2:Tt[Ai+0]!=0),Ai+=16;gi>>=2,cs=cs>>1|Io<<5}Rr|=yr<<4*Si,er|=gi<<4<<Si,Ui|=(240&cs)<<Si}Bt.la=er,ki.la=Ui,Vn.Hc=zr,Vn.Gc=Rr,Vn.ia=43690&Rr?0:ln.ia,an=!(zr|Rr)}if(0<Je.L&&(Je.wa[Je.Y+Je.ja]=Je.gd[vt.$b][vt.Za],Je.wa[Je.Y+Je.ja].La|=!an),Nt.Ka)return pi(tt,7,"Premature end-of-file encountered.")}if(Qh(tt),Je=jt,Nt=1,vt=(Xe=tt).D,Bt=0<Xe.L&&Xe.M>=Xe.zb&&Xe.M<=Xe.Va,Xe.Aa==0)e:{if(vt.M=Xe.M,vt.uc=Bt,jf(Xe,vt),Nt=1,vt=(yr=Xe.D).Nb,Bt=(Rr=Hf[Xe.L])*Xe.R,gn=Rr/2*Xe.B,Ii=16*vt*Xe.R,ui=8*vt*Xe.B,an=Xe.sa,Vn=Xe.ta-Bt+Ii,ln=Xe.qa,Tt=Xe.ra-gn+ui,Ai=Xe.Ha,ki=Xe.Ia-gn+ui,cs=(gi=yr.M)==0,zr=gi>=Xe.Va-1,Xe.Aa==2&&jf(Xe,yr),yr.uc)for(Io=(dr=Xe).D.M,t(dr.D.uc),yr=dr.yb;yr<dr.Hb;++yr){Ui=yr,er=Io;var to=(no=(va=dr).D).Nb;Si=va.R;var no=no.wa[no.Y+Ui],mo=va.sa,zc=va.ta+16*to*Si+16*Ui,Ci=no.dd,po=no.tc;if(po!=0)if(t(3<=po),va.L==1)0<Ui&&If(mo,zc,Si,po+4),no.La&&$a(mo,zc,Si,po),0<er&&sm(mo,zc,Si,po+4),no.La&&qp(mo,zc,Si,po);else{var Tu=va.B,mm=va.qa,Jp=va.ra+8*to*Tu+8*Ui,pm=va.Ha,va=va.Ia+8*to*Tu+8*Ui;to=no.ld,0<Ui&&(_d(mo,zc,Si,po+4,Ci,to),im(mm,Jp,pm,va,Tu,po+4,Ci,to)),no.La&&(om(mo,zc,Si,po,Ci,to),Ug(mm,Jp,pm,va,Tu,po,Ci,to)),0<er&&(Vp(mo,zc,Si,po+4,Ci,to),Lg(mm,Jp,pm,va,Tu,po+4,Ci,to)),no.La&&(am(mo,zc,Si,po,Ci,to),Qp(mm,Jp,pm,va,Tu,po,Ci,to))}}if(Xe.ia&&alert("todo:DitherRow"),Je.put!=null){if(yr=16*gi,gi=16*(gi+1),cs?(Je.y=Xe.sa,Je.O=Xe.ta+Ii,Je.f=Xe.qa,Je.N=Xe.ra+ui,Je.ea=Xe.Ha,Je.W=Xe.Ia+ui):(yr-=Rr,Je.y=an,Je.O=Vn,Je.f=ln,Je.N=Tt,Je.ea=Ai,Je.W=ki),zr||(gi-=Rr),gi>Je.o&&(gi=Je.o),Je.F=null,Je.J=null,Xe.Fa!=null&&0<Xe.Fa.length&&yr<gi&&(Je.J=A0(Xe,Je,yr,gi-yr),Je.F=Xe.mb,Je.F==null&&Je.F.length==0)){Nt=pi(Xe,3,"Could not decode alpha data.");break e}yr<Je.j&&(Rr=Je.j-yr,yr=Je.j,t(!(1&Rr)),Je.O+=Xe.R*Rr,Je.N+=Xe.B*(Rr>>1),Je.W+=Xe.B*(Rr>>1),Je.F!=null&&(Je.J+=Je.width*Rr)),yr<gi&&(Je.O+=Je.v,Je.N+=Je.v>>1,Je.W+=Je.v>>1,Je.F!=null&&(Je.J+=Je.v),Je.ka=yr-Je.j,Je.U=Je.va-Je.v,Je.T=gi-yr,Nt=Je.put(Je))}vt+1!=Xe.Ic||zr||(r(Xe.sa,Xe.ta-Bt,an,Vn+16*Xe.R,Bt),r(Xe.qa,Xe.ra-gn,ln,Tt+8*Xe.B,gn),r(Xe.Ha,Xe.Ia-gn,Ai,ki+8*Xe.B,gn))}if(!Nt)return pi(tt,6,"Output aborted.")}return 1})(O,L)),L.bc!=null&&L.bc(L),Z&=1}return Z?(O.cb=0,Z):0}function El(O,L,Z,he,be){be=O[L+Z+32*he]+(be>>3),O[L+Z+32*he]=-256&be?0>be?0:255:be}function Sg(O,L,Z,he,be,ke){El(O,L,0,Z,he+be),El(O,L,1,Z,he+ke),El(O,L,2,Z,he-ke),El(O,L,3,Z,he-be)}function ca(O){return(20091*O>>16)+O}function Mp(O,L,Z,he){var be,ke=0,Se=a(16);for(be=0;4>be;++be){var _e=O[L+0]+O[L+8],Ee=O[L+0]-O[L+8],Oe=(35468*O[L+4]>>16)-ca(O[L+12]),Ye=ca(O[L+4])+(35468*O[L+12]>>16);Se[ke+0]=_e+Ye,Se[ke+1]=Ee+Oe,Se[ke+2]=Ee-Oe,Se[ke+3]=_e-Ye,ke+=4,L++}for(be=ke=0;4>be;++be)_e=(O=Se[ke+0]+4)+Se[ke+8],Ee=O-Se[ke+8],Oe=(35468*Se[ke+4]>>16)-ca(Se[ke+12]),El(Z,he,0,0,_e+(Ye=ca(Se[ke+4])+(35468*Se[ke+12]>>16))),El(Z,he,1,0,Ee+Oe),El(Z,he,2,0,Ee-Oe),El(Z,he,3,0,_e-Ye),ke++,he+=32}function o0(O,L,Z,he){var be=O[L+0]+4,ke=35468*O[L+4]>>16,Se=ca(O[L+4]),_e=35468*O[L+1]>>16;Sg(Z,he,0,be+Se,O=ca(O[L+1]),_e),Sg(Z,he,1,be+ke,O,_e),Sg(Z,he,2,be-ke,O,_e),Sg(Z,he,3,be-Se,O,_e)}function s0(O,L,Z,he,be){Mp(O,L,Z,he),be&&Mp(O,L+16,Z,he+4)}function Nf(O,L,Z,he){Fu(O,L+0,Z,he,1),Fu(O,L+32,Z,he+128,1)}function p1(O,L,Z,he){var be;for(O=O[L+0]+4,be=0;4>be;++be)for(L=0;4>L;++L)El(Z,he,L,be,O)}function l0(O,L,Z,he){O[L+0]&&ho(O,L+0,Z,he),O[L+16]&&ho(O,L+16,Z,he+4),O[L+32]&&ho(O,L+32,Z,he+128),O[L+48]&&ho(O,L+48,Z,he+128+4)}function qh(O,L,Z,he){var be,ke=a(16);for(be=0;4>be;++be){var Se=O[L+0+be]+O[L+12+be],_e=O[L+4+be]+O[L+8+be],Ee=O[L+4+be]-O[L+8+be],Oe=O[L+0+be]-O[L+12+be];ke[0+be]=Se+_e,ke[8+be]=Se-_e,ke[4+be]=Oe+Ee,ke[12+be]=Oe-Ee}for(be=0;4>be;++be)Se=(O=ke[0+4*be]+3)+ke[3+4*be],_e=ke[1+4*be]+ke[2+4*be],Ee=ke[1+4*be]-ke[2+4*be],Oe=O-ke[3+4*be],Z[he+0]=Se+_e>>3,Z[he+16]=Oe+Ee>>3,Z[he+32]=Se-_e>>3,Z[he+48]=Oe-Ee>>3,he+=64}function c0(O,L,Z){var he,be=L-32,ke=ss,Se=255-O[be-1];for(he=0;he<Z;++he){var _e,Ee=ke,Oe=Se+O[L-1];for(_e=0;_e<Z;++_e)O[L+_e]=Ee[Oe+O[be+_e]];L+=32}}function A1(O,L){c0(O,L,4)}function g1(O,L){c0(O,L,8)}function u0(O,L){c0(O,L,16)}function Ef(O,L){var Z;for(Z=0;16>Z;++Z)r(O,L+32*Z,O,L-32,16)}function Cg(O,L){var Z;for(Z=16;0<Z;--Z)i(O,L,O[L-1],16),L+=32}function Ff(O,L,Z){var he;for(he=0;16>he;++he)i(L,Z+32*he,O,16)}function _g(O,L){var Z,he=16;for(Z=0;16>Z;++Z)he+=O[L-1+32*Z]+O[L+Z-32];Ff(he>>5,O,L)}function is(O,L){var Z,he=8;for(Z=0;16>Z;++Z)he+=O[L-1+32*Z];Ff(he>>4,O,L)}function Gh(O,L){var Z,he=8;for(Z=0;16>Z;++Z)he+=O[L+Z-32];Ff(he>>4,O,L)}function Df(O,L){Ff(128,O,L)}function pr(O,L,Z){return O+2*L+Z+2>>2}function d0(O,L){var Z,he=L-32;for(he=new Uint8Array([pr(O[he-1],O[he+0],O[he+1]),pr(O[he+0],O[he+1],O[he+2]),pr(O[he+1],O[he+2],O[he+3]),pr(O[he+2],O[he+3],O[he+4])]),Z=0;4>Z;++Z)r(O,L+32*Z,he,0,he.length)}function v1(O,L){var Z=O[L-1],he=O[L-1+32],be=O[L-1+64],ke=O[L-1+96];ge(O,L+0,16843009*pr(O[L-1-32],Z,he)),ge(O,L+32,16843009*pr(Z,he,be)),ge(O,L+64,16843009*pr(he,be,ke)),ge(O,L+96,16843009*pr(be,ke,ke))}function Fl(O,L){var Z,he=4;for(Z=0;4>Z;++Z)he+=O[L+Z-32]+O[L-1+32*Z];for(he>>=3,Z=0;4>Z;++Z)i(O,L+32*Z,he,4)}function Pc(O,L){var Z=O[L-1+0],he=O[L-1+32],be=O[L-1+64],ke=O[L-1-32],Se=O[L+0-32],_e=O[L+1-32],Ee=O[L+2-32],Oe=O[L+3-32];O[L+0+96]=pr(he,be,O[L-1+96]),O[L+1+96]=O[L+0+64]=pr(Z,he,be),O[L+2+96]=O[L+1+64]=O[L+0+32]=pr(ke,Z,he),O[L+3+96]=O[L+2+64]=O[L+1+32]=O[L+0+0]=pr(Se,ke,Z),O[L+3+64]=O[L+2+32]=O[L+1+0]=pr(_e,Se,ke),O[L+3+32]=O[L+2+0]=pr(Ee,_e,Se),O[L+3+0]=pr(Oe,Ee,_e)}function Ng(O,L){var Z=O[L+1-32],he=O[L+2-32],be=O[L+3-32],ke=O[L+4-32],Se=O[L+5-32],_e=O[L+6-32],Ee=O[L+7-32];O[L+0+0]=pr(O[L+0-32],Z,he),O[L+1+0]=O[L+0+32]=pr(Z,he,be),O[L+2+0]=O[L+1+32]=O[L+0+64]=pr(he,be,ke),O[L+3+0]=O[L+2+32]=O[L+1+64]=O[L+0+96]=pr(be,ke,Se),O[L+3+32]=O[L+2+64]=O[L+1+96]=pr(ke,Se,_e),O[L+3+64]=O[L+2+96]=pr(Se,_e,Ee),O[L+3+96]=pr(_e,Ee,Ee)}function xd(O,L){var Z=O[L-1+0],he=O[L-1+32],be=O[L-1+64],ke=O[L-1-32],Se=O[L+0-32],_e=O[L+1-32],Ee=O[L+2-32],Oe=O[L+3-32];O[L+0+0]=O[L+1+64]=ke+Se+1>>1,O[L+1+0]=O[L+2+64]=Se+_e+1>>1,O[L+2+0]=O[L+3+64]=_e+Ee+1>>1,O[L+3+0]=Ee+Oe+1>>1,O[L+0+96]=pr(be,he,Z),O[L+0+64]=pr(he,Z,ke),O[L+0+32]=O[L+1+96]=pr(Z,ke,Se),O[L+1+32]=O[L+2+96]=pr(ke,Se,_e),O[L+2+32]=O[L+3+96]=pr(Se,_e,Ee),O[L+3+32]=pr(_e,Ee,Oe)}function Mc(O,L){var Z=O[L+0-32],he=O[L+1-32],be=O[L+2-32],ke=O[L+3-32],Se=O[L+4-32],_e=O[L+5-32],Ee=O[L+6-32],Oe=O[L+7-32];O[L+0+0]=Z+he+1>>1,O[L+1+0]=O[L+0+64]=he+be+1>>1,O[L+2+0]=O[L+1+64]=be+ke+1>>1,O[L+3+0]=O[L+2+64]=ke+Se+1>>1,O[L+0+32]=pr(Z,he,be),O[L+1+32]=O[L+0+96]=pr(he,be,ke),O[L+2+32]=O[L+1+96]=pr(be,ke,Se),O[L+3+32]=O[L+2+96]=pr(ke,Se,_e),O[L+3+64]=pr(Se,_e,Ee),O[L+3+96]=pr(_e,Ee,Oe)}function f0(O,L){var Z=O[L-1+0],he=O[L-1+32],be=O[L-1+64],ke=O[L-1+96];O[L+0+0]=Z+he+1>>1,O[L+2+0]=O[L+0+32]=he+be+1>>1,O[L+2+32]=O[L+0+64]=be+ke+1>>1,O[L+1+0]=pr(Z,he,be),O[L+3+0]=O[L+1+32]=pr(he,be,ke),O[L+3+32]=O[L+1+64]=pr(be,ke,ke),O[L+3+64]=O[L+2+64]=O[L+0+96]=O[L+1+96]=O[L+2+96]=O[L+3+96]=ke}function Eg(O,L){var Z=O[L-1+0],he=O[L-1+32],be=O[L-1+64],ke=O[L-1+96],Se=O[L-1-32],_e=O[L+0-32],Ee=O[L+1-32],Oe=O[L+2-32];O[L+0+0]=O[L+2+32]=Z+Se+1>>1,O[L+0+32]=O[L+2+64]=he+Z+1>>1,O[L+0+64]=O[L+2+96]=be+he+1>>1,O[L+0+96]=ke+be+1>>1,O[L+3+0]=pr(_e,Ee,Oe),O[L+2+0]=pr(Se,_e,Ee),O[L+1+0]=O[L+3+32]=pr(Z,Se,_e),O[L+1+32]=O[L+3+64]=pr(he,Z,Se),O[L+1+64]=O[L+3+96]=pr(be,he,Z),O[L+1+96]=pr(ke,be,he)}function y1(O,L){var Z;for(Z=0;8>Z;++Z)r(O,L+32*Z,O,L-32,8)}function Wh(O,L){var Z;for(Z=0;8>Z;++Z)i(O,L,O[L-1],8),L+=32}function wd(O,L,Z){var he;for(he=0;8>he;++he)i(L,Z+32*he,O,8)}function Tf(O,L){var Z,he=8;for(Z=0;8>Z;++Z)he+=O[L+Z-32]+O[L-1+32*Z];wd(he>>4,O,L)}function Ls(O,L){var Z,he=4;for(Z=0;8>Z;++Z)he+=O[L+Z-32];wd(he>>3,O,L)}function cc(O,L){var Z,he=4;for(Z=0;8>Z;++Z)he+=O[L-1+32*Z];wd(he>>3,O,L)}function Kh(O,L){wd(128,O,L)}function kd(O,L,Z){var he=O[L-Z],be=O[L+0],ke=3*(be-he)+k1[1020+O[L-2*Z]-O[L+Z]],Se=Gp[112+(ke+4>>3)];O[L-Z]=ss[255+he+Gp[112+(ke+3>>3)]],O[L+0]=ss[255+be-Se]}function b1(O,L,Z,he){var be=O[L+0],ke=O[L+Z];return Lc[255+O[L-2*Z]-O[L-Z]]>he||Lc[255+ke-be]>he}function Fg(O,L,Z,he){return 4*Lc[255+O[L-Z]-O[L+0]]+Lc[255+O[L-2*Z]-O[L+Z]]<=he}function Dg(O,L,Z,he,be){var ke=O[L-3*Z],Se=O[L-2*Z],_e=O[L-Z],Ee=O[L+0],Oe=O[L+Z],Ye=O[L+2*Z],dt=O[L+3*Z];return 4*Lc[255+_e-Ee]+Lc[255+Se-Oe]>he?0:Lc[255+O[L-4*Z]-ke]<=be&&Lc[255+ke-Se]<=be&&Lc[255+Se-_e]<=be&&Lc[255+dt-Ye]<=be&&Lc[255+Ye-Oe]<=be&&Lc[255+Oe-Ee]<=be}function Yh(O,L,Z,he){var be=2*he+1;for(he=0;16>he;++he)Fg(O,L+he,Z,be)&&kd(O,L+he,Z)}function uc(O,L,Z,he){var be=2*he+1;for(he=0;16>he;++he)Fg(O,L+he*Z,1,be)&&kd(O,L+he*Z,1)}function Sd(O,L,Z,he){var be;for(be=3;0<be;--be)Yh(O,L+=4*Z,Z,he)}function OC(O,L,Z,he){var be;for(be=3;0<be;--be)uc(O,L+=4,Z,he)}function Xh(O,L,Z,he,be,ke,Se,_e){for(ke=2*ke+1;0<be--;){if(Dg(O,L,Z,ke,Se))if(b1(O,L,Z,_e))kd(O,L,Z);else{var Ee=O,Oe=L,Ye=Z,dt=Ee[Oe-2*Ye],lt=Ee[Oe-Ye],tt=Ee[Oe+0],jt=Ee[Oe+Ye],vt=Ee[Oe+2*Ye],Xe=27*(Nt=k1[1020+3*(tt-lt)+k1[1020+dt-jt]])+63>>7,Je=18*Nt+63>>7,Nt=9*Nt+63>>7;Ee[Oe-3*Ye]=ss[255+Ee[Oe-3*Ye]+Nt],Ee[Oe-2*Ye]=ss[255+dt+Je],Ee[Oe-Ye]=ss[255+lt+Xe],Ee[Oe+0]=ss[255+tt-Xe],Ee[Oe+Ye]=ss[255+jt-Je],Ee[Oe+2*Ye]=ss[255+vt-Nt]}L+=he}}function Cu(O,L,Z,he,be,ke,Se,_e){for(ke=2*ke+1;0<be--;){if(Dg(O,L,Z,ke,Se))if(b1(O,L,Z,_e))kd(O,L,Z);else{var Ee=O,Oe=L,Ye=Z,dt=Ee[Oe-Ye],lt=Ee[Oe+0],tt=Ee[Oe+Ye],jt=Gp[112+((vt=3*(lt-dt))+4>>3)],vt=Gp[112+(vt+3>>3)],Xe=jt+1>>1;Ee[Oe-2*Ye]=ss[255+Ee[Oe-2*Ye]+Xe],Ee[Oe-Ye]=ss[255+dt+vt],Ee[Oe+0]=ss[255+lt-jt],Ee[Oe+Ye]=ss[255+tt-Xe]}L+=he}}function Rp(O,L,Z,he,be,ke){Xh(O,L,Z,1,16,he,be,ke)}function $p(O,L,Z,he,be,ke){Xh(O,L,1,Z,16,he,be,ke)}function jC(O,L,Z,he,be,ke){var Se;for(Se=3;0<Se;--Se)Cu(O,L+=4*Z,Z,1,16,he,be,ke)}function Tg(O,L,Z,he,be,ke){var Se;for(Se=3;0<Se;--Se)Cu(O,L+=4,1,Z,16,he,be,ke)}function BC(O,L,Z,he,be,ke,Se,_e){Xh(O,L,be,1,8,ke,Se,_e),Xh(Z,he,be,1,8,ke,Se,_e)}function h0(O,L,Z,he,be,ke,Se,_e){Xh(O,L,1,be,8,ke,Se,_e),Xh(Z,he,1,be,8,ke,Se,_e)}function Og(O,L,Z,he,be,ke,Se,_e){Cu(O,L+4*be,be,1,8,ke,Se,_e),Cu(Z,he+4*be,be,1,8,ke,Se,_e)}function x1(O,L,Z,he,be,ke,Se,_e){Cu(O,L+4,1,be,8,ke,Se,_e),Cu(Z,he+4,1,be,8,ke,Se,_e)}function jg(){this.ba=new ft,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new qt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function m0(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function p0(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Bg(){this.ua=0,this.Wa=new ie,this.vb=new ie,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new $,this.yc=new j}function IC(){this.xb=this.a=0,this.l=new ea,this.ca=new ft,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new H,this.Pb=0,this.wd=new H,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Bg,this.ab=0,this.gc=o(4,p0),this.Oc=0}function Ig(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ea,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Lp(O,L,Z,he,be,ke,Se){for(O=O==null?0:O[L+0],L=0;L<Se;++L)be[ke+L]=O+Z[he+L]&255,O=be[ke+L]}function Pg(O,L,Z,he,be,ke,Se){var _e;if(O==null)Lp(null,null,Z,he,be,ke,Se);else for(_e=0;_e<Se;++_e)be[ke+_e]=O[L+_e]+Z[he+_e]&255}function Zh(O,L,Z,he,be,ke,Se){if(O==null)Lp(null,null,Z,he,be,ke,Se);else{var _e,Ee=O[L+0],Oe=Ee,Ye=Ee;for(_e=0;_e<Se;++_e)Oe=Ye+(Ee=O[L+_e])-Oe,Ye=Z[he+_e]+(-256&Oe?0>Oe?0:255:Oe)&255,Oe=Ee,be[ke+_e]=Ye}}function A0(O,L,Z,he){var be=L.width,ke=L.o;if(t(O!=null&&L!=null),0>Z||0>=he||Z+he>ke)return null;if(!O.Cc){if(O.ga==null){var Se;if(O.ga=new Ig,(Se=O.ga==null)||(Se=L.width*L.o,t(O.Gb.length==0),O.Gb=a(Se),O.Uc=0,O.Gb==null?Se=0:(O.mb=O.Gb,O.nb=O.Uc,O.rc=null,Se=1),Se=!Se),!Se){Se=O.ga;var _e=O.Fa,Ee=O.P,Oe=O.qc,Ye=O.mb,dt=O.nb,lt=Ee+1,tt=Oe-1,jt=Se.l;if(t(_e!=null&&Ye!=null&&L!=null),Fd[0]=null,Fd[1]=Lp,Fd[2]=Pg,Fd[3]=Zh,Se.ca=Ye,Se.tb=dt,Se.c=L.width,Se.i=L.height,t(0<Se.c&&0<Se.i),1>=Oe)L=0;else if(Se.$a=_e[Ee+0]>>0&3,Se.Z=_e[Ee+0]>>2&3,Se.Lc=_e[Ee+0]>>4&3,Ee=_e[Ee+0]>>6&3,0>Se.$a||1<Se.$a||4<=Se.Z||1<Se.Lc||Ee)L=0;else if(jt.put=Pe,jt.ac=nn,jt.bc=Ge,jt.ma=Se,jt.width=L.width,jt.height=L.height,jt.Da=L.Da,jt.v=L.v,jt.va=L.va,jt.j=L.j,jt.o=L.o,Se.$a)e:{t(Se.$a==1),L=Cr();t:for(;;){if(L==null){L=0;break e}if(t(Se!=null),Se.mc=L,L.c=Se.c,L.i=Se.i,L.l=Se.l,L.l.ma=Se,L.l.width=Se.c,L.l.height=Se.i,L.a=0,W(L.m,_e,lt,tt),!kn(Se.c,Se.i,1,L,null)||(L.ab==1&&L.gc[0].hc==3&&mn(L.s)?(Se.ic=1,_e=L.c*L.i,L.Ta=null,L.Ua=0,L.V=a(_e),L.Ba=0,L.V==null?(L.a=1,L=0):L=1):(Se.ic=0,L=vr(L,Se.c)),!L))break t;L=1;break e}Se.mc=null,L=0}else L=tt>=Se.c*Se.i;Se=!L}if(Se)return null;O.ga.Lc!=1?O.Ga=0:he=ke-Z}t(O.ga!=null),t(Z+he<=ke);e:{if(L=(_e=O.ga).c,ke=_e.l.o,_e.$a==0){if(lt=O.rc,tt=O.Vc,jt=O.Fa,Ee=O.P+1+Z*L,Oe=O.mb,Ye=O.nb+Z*L,t(Ee<=O.P+O.qc),_e.Z!=0)for(t(Fd[_e.Z]!=null),Se=0;Se<he;++Se)Fd[_e.Z](lt,tt,jt,Ee,Oe,Ye,L),lt=Oe,tt=Ye,Ye+=L,Ee+=L;else for(Se=0;Se<he;++Se)r(Oe,Ye,jt,Ee,L),lt=Oe,tt=Ye,Ye+=L,Ee+=L;O.rc=lt,O.Vc=tt}else{if(t(_e.mc!=null),L=Z+he,t((Se=_e.mc)!=null),t(L<=Se.i),Se.C>=L)L=1;else if(_e.ic||it(),_e.ic){_e=Se.V,lt=Se.Ba,tt=Se.c;var vt=Se.i,Xe=(jt=1,Ee=Se.$/tt,Oe=Se.$%tt,Ye=Se.m,dt=Se.s,Se.$),Je=tt*vt,Nt=tt*L,Bt=dt.wc,Tt=Xe<Nt?Wt(dt,Oe,Ee):null;t(Xe<=Je),t(L<=vt),t(mn(dt));t:for(;;){for(;!Ye.h&&Xe<Nt;){if(Oe&Bt||(Tt=Wt(dt,Oe,Ee)),t(Tt!=null),re(Ye),256>(vt=Gt(Tt.G[0],Tt.H[0],Ye)))_e[lt+Xe]=vt,++Xe,++Oe>=tt&&(Oe=0,++Ee<=L&&!(Ee%16)&&rn(Se,Ee));else{if(!(280>vt)){jt=0;break t}vt=gt(vt-256,Ye);var gn,an=Gt(Tt.G[4],Tt.H[4],Ye);if(re(Ye),!(Xe>=(an=wt(tt,an=gt(an,Ye)))&&Je-Xe>=vt)){jt=0;break t}for(gn=0;gn<vt;++gn)_e[lt+Xe+gn]=_e[lt+Xe+gn-an];for(Xe+=vt,Oe+=vt;Oe>=tt;)Oe-=tt,++Ee<=L&&!(Ee%16)&&rn(Se,Ee);Xe<Nt&&Oe&Bt&&(Tt=Wt(dt,Oe,Ee))}t(Ye.h==G(Ye))}rn(Se,Ee>L?L:Ee);break t}!jt||Ye.h&&Xe<Je?(jt=0,Se.a=Ye.h?5:3):Se.$=Xe,L=jt}else L=Dn(Se,Se.V,Se.Ba,Se.c,Se.i,L,Pa);if(!L){he=0;break e}}Z+he>=ke&&(O.Cc=1),he=1}if(!he)return null;if(O.Cc&&((he=O.ga)!=null&&(he.mc=null),O.ga=null,0<O.Ga))return alert("todo:WebPDequantizeLevels"),null}return O.nb+Z*be}function K(O,L,Z,he,be,ke){for(;0<be--;){var Se,_e=O,Ee=L+(Z?1:0),Oe=O,Ye=L+(Z?0:3);for(Se=0;Se<he;++Se){var dt=Oe[Ye+4*Se];dt!=255&&(dt*=32897,_e[Ee+4*Se+0]=_e[Ee+4*Se+0]*dt>>23,_e[Ee+4*Se+1]=_e[Ee+4*Se+1]*dt>>23,_e[Ee+4*Se+2]=_e[Ee+4*Se+2]*dt>>23)}L+=ke}}function xe(O,L,Z,he,be){for(;0<he--;){var ke;for(ke=0;ke<Z;++ke){var Se=O[L+2*ke+0],_e=15&(Oe=O[L+2*ke+1]),Ee=4369*_e,Oe=(240&Oe|Oe>>4)*Ee>>16;O[L+2*ke+0]=(240&Se|Se>>4)*Ee>>16&240|(15&Se|Se<<4)*Ee>>16>>4&15,O[L+2*ke+1]=240&Oe|_e}L+=be}}function Re(O,L,Z,he,be,ke,Se,_e){var Ee,Oe,Ye=255;for(Oe=0;Oe<be;++Oe){for(Ee=0;Ee<he;++Ee){var dt=O[L+Ee];ke[Se+4*Ee]=dt,Ye&=dt}L+=Z,Se+=_e}return Ye!=255}function Ke(O,L,Z,he,be){var ke;for(ke=0;ke<be;++ke)Z[he+ke]=O[L+ke]>>8}function it(){fc=K,Qr=xe,qr=Re,ta=Ke}function kt(O,L,Z){D[O]=function(he,be,ke,Se,_e,Ee,Oe,Ye,dt,lt,tt,jt,vt,Xe,Je,Nt,Bt){var Tt,gn=Bt-1>>1,an=_e[Ee+0]|Oe[Ye+0]<<16,Vn=dt[lt+0]|tt[jt+0]<<16;t(he!=null);var ln=3*an+Vn+131074>>2;for(L(he[be+0],255&ln,ln>>16,vt,Xe),ke!=null&&(ln=3*Vn+an+131074>>2,L(ke[Se+0],255&ln,ln>>16,Je,Nt)),Tt=1;Tt<=gn;++Tt){var Ai=_e[Ee+Tt]|Oe[Ye+Tt]<<16,ki=dt[lt+Tt]|tt[jt+Tt]<<16,zr=an+Ai+Vn+ki+524296,Rr=zr+2*(Ai+Vn)>>3;ln=Rr+an>>1,an=(zr=zr+2*(an+ki)>>3)+Ai>>1,L(he[be+2*Tt-1],255&ln,ln>>16,vt,Xe+(2*Tt-1)*Z),L(he[be+2*Tt-0],255&an,an>>16,vt,Xe+(2*Tt-0)*Z),ke!=null&&(ln=zr+Vn>>1,an=Rr+ki>>1,L(ke[Se+2*Tt-1],255&ln,ln>>16,Je,Nt+(2*Tt-1)*Z),L(ke[Se+2*Tt+0],255&an,an>>16,Je,Nt+(2*Tt+0)*Z)),an=Ai,Vn=ki}1&Bt||(ln=3*an+Vn+131074>>2,L(he[be+Bt-1],255&ln,ln>>16,vt,Xe+(Bt-1)*Z),ke!=null&&(ln=3*Vn+an+131074>>2,L(ke[Se+Bt-1],255&ln,ln>>16,Je,Nt+(Bt-1)*Z)))}}function zt(){ls[Us]=zf,ls[zg]=Dd,ls[Nd]=fm,ls[b0]=_1,ls[Wp]=N1,ls[Mf]=Qg,ls[S1]=E1,ls[x0]=Dd,ls[um]=_1,ls[Rf]=N1,ls[Hg]=Qg}function An(O){return O&-16384?0>O?0:255:O>>C8}function Un(O,L){return An((19077*O>>8)+(26149*L>>8)-14234)}function kr(O,L,Z){return An((19077*O>>8)-(6419*L>>8)-(13320*Z>>8)+8708)}function gr(O,L){return An((19077*O>>8)+(33050*L>>8)-17685)}function ni(O,L,Z,he,be){he[be+0]=Un(O,Z),he[be+1]=kr(O,L,Z),he[be+2]=gr(O,L)}function ga(O,L,Z,he,be){he[be+0]=gr(O,L),he[be+1]=kr(O,L,Z),he[be+2]=Un(O,Z)}function wa(O,L,Z,he,be){var ke=kr(O,L,Z);L=ke<<3&224|gr(O,L)>>3,he[be+0]=248&Un(O,Z)|ke>>5,he[be+1]=L}function Za(O,L,Z,he,be){var ke=240&gr(O,L)|15;he[be+0]=240&Un(O,Z)|kr(O,L,Z)>>4,he[be+1]=ke}function Ja(O,L,Z,he,be){he[be+0]=255,ni(O,L,Z,he,be+1)}function as(O,L,Z,he,be){ga(O,L,Z,he,be),he[be+3]=255}function _u(O,L,Z,he,be){ni(O,L,Z,he,be),he[be+3]=255}function dc(O,L){return 0>O?0:O>L?L:O}function Nu(O,L,Z){D[O]=function(he,be,ke,Se,_e,Ee,Oe,Ye,dt){for(var lt=Ye+(-2&dt)*Z;Ye!=lt;)L(he[be+0],ke[Se+0],_e[Ee+0],Oe,Ye),L(he[be+1],ke[Se+0],_e[Ee+0],Oe,Ye+Z),be+=2,++Se,++Ee,Ye+=2*Z;1&dt&&L(he[be+0],ke[Se+0],_e[Ee+0],Oe,Ye)}}function g0(O,L,Z){return Z==0?O==0?L==0?6:5:L==0?4:0:Z}function Of(O,L,Z,he,be){switch(O>>>30){case 3:Fu(L,Z,he,be,0);break;case 2:Ra(L,Z,he,be);break;case 1:ho(L,Z,he,be)}}function jf(O,L){var Z,he,be=L.M,ke=L.Nb,Se=O.oc,_e=O.pc+40,Ee=O.oc,Oe=O.pc+584,Ye=O.oc,dt=O.pc+600;for(Z=0;16>Z;++Z)Se[_e+32*Z-1]=129;for(Z=0;8>Z;++Z)Ee[Oe+32*Z-1]=129,Ye[dt+32*Z-1]=129;for(0<be?Se[_e-1-32]=Ee[Oe-1-32]=Ye[dt-1-32]=129:(i(Se,_e-32-1,127,21),i(Ee,Oe-32-1,127,9),i(Ye,dt-32-1,127,9)),he=0;he<O.za;++he){var lt=L.ya[L.aa+he];if(0<he){for(Z=-1;16>Z;++Z)r(Se,_e+32*Z-4,Se,_e+32*Z+12,4);for(Z=-1;8>Z;++Z)r(Ee,Oe+32*Z-4,Ee,Oe+32*Z+4,4),r(Ye,dt+32*Z-4,Ye,dt+32*Z+4,4)}var tt=O.Gd,jt=O.Hd+he,vt=lt.ad,Xe=lt.Hc;if(0<be&&(r(Se,_e-32,tt[jt].y,0,16),r(Ee,Oe-32,tt[jt].f,0,8),r(Ye,dt-32,tt[jt].ea,0,8)),lt.Za){var Je=Se,Nt=_e-32+16;for(0<be&&(he>=O.za-1?i(Je,Nt,tt[jt].y[15],4):r(Je,Nt,tt[jt+1].y,0,4)),Z=0;4>Z;Z++)Je[Nt+128+Z]=Je[Nt+256+Z]=Je[Nt+384+Z]=Je[Nt+0+Z];for(Z=0;16>Z;++Z,Xe<<=2)Je=Se,Nt=_e+Zp[Z],rl[lt.Ob[Z]](Je,Nt),Of(Xe,vt,16*+Z,Je,Nt)}else if(Je=g0(he,be,lt.Ob[0]),Uf[Je](Se,_e),Xe!=0)for(Z=0;16>Z;++Z,Xe<<=2)Of(Xe,vt,16*+Z,Se,_e+Zp[Z]);for(Z=lt.Gc,Je=g0(he,be,lt.Dd),mc[Je](Ee,Oe),mc[Je](Ye,dt),Xe=vt,Je=Ee,Nt=Oe,255&(lt=Z>>0)&&(170&lt?Du(Xe,256,Je,Nt):Ol(Xe,256,Je,Nt)),lt=Ye,Xe=dt,255&(Z>>=8)&&(170&Z?Du(vt,320,lt,Xe):Ol(vt,320,lt,Xe)),be<O.Ub-1&&(r(tt[jt].y,0,Se,_e+480,16),r(tt[jt].f,0,Ee,Oe+224,8),r(tt[jt].ea,0,Ye,dt+224,8)),Z=8*ke*O.B,tt=O.sa,jt=O.ta+16*he+16*ke*O.R,vt=O.qa,lt=O.ra+8*he+Z,Xe=O.Ha,Je=O.Ia+8*he+Z,Z=0;16>Z;++Z)r(tt,jt+Z*O.R,Se,_e+32*Z,16);for(Z=0;8>Z;++Z)r(vt,lt+Z*O.B,Ee,Oe+32*Z,8),r(Xe,Je+Z*O.B,Ye,dt+32*Z,8)}}function Mg(O,L,Z,he,be,ke,Se,_e,Ee){var Oe=[0],Ye=[0],dt=0,lt=Ee!=null?Ee.kd:0,tt=Ee??new m0;if(O==null||12>Z)return 7;tt.data=O,tt.w=L,tt.ha=Z,L=[L],Z=[Z],tt.gb=[tt.gb];e:{var jt=L,vt=Z,Xe=tt.gb;if(t(O!=null),t(vt!=null),t(Xe!=null),Xe[0]=0,12<=vt[0]&&!n(O,jt[0],"RIFF")){if(n(O,jt[0]+8,"WEBP")){Xe=3;break e}var Je=we(O,jt[0]+4);if(12>Je||4294967286<Je){Xe=3;break e}if(lt&&Je>vt[0]-8){Xe=7;break e}Xe[0]=Je,jt[0]+=12,vt[0]-=12}Xe=0}if(Xe!=0)return Xe;for(Je=0<tt.gb[0],Z=Z[0];;){e:{var Nt=O;vt=L,Xe=Z;var Bt=Oe,Tt=Ye,gn=jt=[0];if((ln=dt=[dt])[0]=0,8>Xe[0])Xe=7;else{if(!n(Nt,vt[0],"VP8X")){if(we(Nt,vt[0]+4)!=10){Xe=3;break e}if(18>Xe[0]){Xe=7;break e}var an=we(Nt,vt[0]+8),Vn=1+te(Nt,vt[0]+12);if(2147483648<=Vn*(Nt=1+te(Nt,vt[0]+15))){Xe=3;break e}gn!=null&&(gn[0]=an),Bt!=null&&(Bt[0]=Vn),Tt!=null&&(Tt[0]=Nt),vt[0]+=18,Xe[0]-=18,ln[0]=1}Xe=0}}if(dt=dt[0],jt=jt[0],Xe!=0)return Xe;if(vt=!!(2&jt),!Je&&dt)return 3;if(ke!=null&&(ke[0]=!!(16&jt)),Se!=null&&(Se[0]=vt),_e!=null&&(_e[0]=0),Se=Oe[0],jt=Ye[0],dt&&vt&&Ee==null){Xe=0;break}if(4>Z){Xe=7;break}if(Je&&dt||!Je&&!dt&&!n(O,L[0],"ALPH")){Z=[Z],tt.na=[tt.na],tt.P=[tt.P],tt.Sa=[tt.Sa];e:{an=O,Xe=L,Je=Z;var ln=tt.gb;Bt=tt.na,Tt=tt.P,gn=tt.Sa,Vn=22,t(an!=null),t(Je!=null),Nt=Xe[0];var Ai=Je[0];for(t(Bt!=null),t(gn!=null),Bt[0]=null,Tt[0]=null,gn[0]=0;;){if(Xe[0]=Nt,Je[0]=Ai,8>Ai){Xe=7;break e}var ki=we(an,Nt+4);if(4294967286<ki){Xe=3;break e}var zr=8+ki+1&-2;if(Vn+=zr,0<ln&&Vn>ln){Xe=3;break e}if(!n(an,Nt,"VP8 ")||!n(an,Nt,"VP8L")){Xe=0;break e}if(Ai[0]<zr){Xe=7;break e}n(an,Nt,"ALPH")||(Bt[0]=an,Tt[0]=Nt+8,gn[0]=ki),Nt+=zr,Ai-=zr}}if(Z=Z[0],tt.na=tt.na[0],tt.P=tt.P[0],tt.Sa=tt.Sa[0],Xe!=0)break}Z=[Z],tt.Ja=[tt.Ja],tt.xa=[tt.xa];e:if(ln=O,Xe=L,Je=Z,Bt=tt.gb[0],Tt=tt.Ja,gn=tt.xa,an=Xe[0],Nt=!n(ln,an,"VP8 "),Vn=!n(ln,an,"VP8L"),t(ln!=null),t(Je!=null),t(Tt!=null),t(gn!=null),8>Je[0])Xe=7;else{if(Nt||Vn){if(ln=we(ln,an+4),12<=Bt&&ln>Bt-12){Xe=3;break e}if(lt&&ln>Je[0]-8){Xe=7;break e}Tt[0]=ln,Xe[0]+=8,Je[0]-=8,gn[0]=Vn}else gn[0]=5<=Je[0]&&ln[an+0]==47&&!(ln[an+4]>>5),Tt[0]=Je[0];Xe=0}if(Z=Z[0],tt.Ja=tt.Ja[0],tt.xa=tt.xa[0],L=L[0],Xe!=0)break;if(4294967286<tt.Ja)return 3;if(_e==null||vt||(_e[0]=tt.xa?2:1),Se=[Se],jt=[jt],tt.xa){if(5>Z){Xe=7;break}_e=Se,lt=jt,vt=ke,O==null||5>Z?O=0:5<=Z&&O[L+0]==47&&!(O[L+4]>>5)?(Je=[0],ln=[0],Bt=[0],W(Tt=new H,O,L,Z),ze(Tt,Je,ln,Bt)?(_e!=null&&(_e[0]=Je[0]),lt!=null&&(lt[0]=ln[0]),vt!=null&&(vt[0]=Bt[0]),O=1):O=0):O=0}else{if(10>Z){Xe=7;break}_e=jt,O==null||10>Z||!la(O,L+3,Z-3)?O=0:(lt=O[L+0]|O[L+1]<<8|O[L+2]<<16,vt=16383&(O[L+7]<<8|O[L+6]),O=16383&(O[L+9]<<8|O[L+8]),1&lt||3<(lt>>1&7)||!(lt>>4&1)||lt>>5>=tt.Ja||!vt||!O?O=0:(Se&&(Se[0]=vt),_e&&(_e[0]=O),O=1))}if(!O||(Se=Se[0],jt=jt[0],dt&&(Oe[0]!=Se||Ye[0]!=jt)))return 3;Ee!=null&&(Ee[0]=tt,Ee.offset=L-Ee.w,t(4294967286>L-Ee.w),t(Ee.offset==Ee.ha-Z));break}return Xe==0||Xe==7&&dt&&Ee==null?(ke!=null&&(ke[0]|=tt.na!=null&&0<tt.na.length),he!=null&&(he[0]=Se),be!=null&&(be[0]=jt),0):Xe}function Jh(O,L,Z){var he=L.width,be=L.height,ke=0,Se=0,_e=he,Ee=be;if(L.Da=O!=null&&0<O.Da,L.Da&&(_e=O.cd,Ee=O.bd,ke=O.v,Se=O.j,11>Z||(ke&=-2,Se&=-2),0>ke||0>Se||0>=_e||0>=Ee||ke+_e>he||Se+Ee>be))return 0;if(L.v=ke,L.j=Se,L.va=ke+_e,L.o=Se+Ee,L.U=_e,L.T=Ee,L.da=O!=null&&0<O.da,L.da){if(!Y(_e,Ee,Z=[O.ib],ke=[O.hb]))return 0;L.ib=Z[0],L.hb=ke[0]}return L.ob=O!=null&&O.ob,L.Kb=O==null||!O.Sd,L.da&&(L.ob=L.ib<3*he/4&&L.hb<3*be/4,L.Kb=0),1}function Rg(O){if(O==null)return 2;if(11>O.S){var L=O.f.RGBA;L.fb+=(O.height-1)*L.A,L.A=-L.A}else L=O.f.kb,O=O.height,L.O+=(O-1)*L.fa,L.fa=-L.fa,L.N+=(O-1>>1)*L.Ab,L.Ab=-L.Ab,L.W+=(O-1>>1)*L.Db,L.Db=-L.Db,L.F!=null&&(L.J+=(O-1)*L.lb,L.lb=-L.lb);return 0}function Up(O,L,Z,he){if(he==null||0>=O||0>=L)return 2;if(Z!=null){if(Z.Da){var be=Z.cd,ke=Z.bd,Se=-2&Z.v,_e=-2&Z.j;if(0>Se||0>_e||0>=be||0>=ke||Se+be>O||_e+ke>L)return 2;O=be,L=ke}if(Z.da){if(!Y(O,L,be=[Z.ib],ke=[Z.hb]))return 2;O=be[0],L=ke[0]}}he.width=O,he.height=L;e:{var Ee=he.width,Oe=he.height;if(O=he.S,0>=Ee||0>=Oe||!(O>=Us&&13>O))O=2;else{if(0>=he.Rd&&he.sd==null){Se=ke=be=L=0;var Ye=(_e=Ee*DT[O])*Oe;if(11>O||(ke=(Oe+1)/2*(L=(Ee+1)/2),O==12&&(Se=(be=Ee)*Oe)),(Oe=a(Ye+2*ke+Se))==null){O=1;break e}he.sd=Oe,11>O?((Ee=he.f.RGBA).eb=Oe,Ee.fb=0,Ee.A=_e,Ee.size=Ye):((Ee=he.f.kb).y=Oe,Ee.O=0,Ee.fa=_e,Ee.Fd=Ye,Ee.f=Oe,Ee.N=0+Ye,Ee.Ab=L,Ee.Cd=ke,Ee.ea=Oe,Ee.W=0+Ye+ke,Ee.Db=L,Ee.Ed=ke,O==12&&(Ee.F=Oe,Ee.J=0+Ye+2*ke),Ee.Tc=Se,Ee.lb=be)}if(L=1,be=he.S,ke=he.width,Se=he.height,be>=Us&&13>be)if(11>be)O=he.f.RGBA,L&=(_e=Math.abs(O.A))*(Se-1)+ke<=O.size,L&=_e>=ke*DT[be],L&=O.eb!=null;else{O=he.f.kb,_e=(ke+1)/2,Ye=(Se+1)/2,Ee=Math.abs(O.fa),Oe=Math.abs(O.Ab);var dt=Math.abs(O.Db),lt=Math.abs(O.lb),tt=lt*(Se-1)+ke;L&=Ee*(Se-1)+ke<=O.Fd,L&=Oe*(Ye-1)+_e<=O.Cd,L=(L&=dt*(Ye-1)+_e<=O.Ed)&Ee>=ke&Oe>=_e&dt>=_e,L&=O.y!=null,L&=O.f!=null,L&=O.ea!=null,be==12&&(L&=lt>=ke,L&=tt<=O.Tc,L&=O.F!=null)}else L=0;O=L?0:2}}return O!=0||Z!=null&&Z.fd&&(O=Rg(he)),O}var To=64,em=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zp=24,Hp=32,$g=8,Dl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ce("Predictor0","PredictorAdd0"),D.Predictor0=function(){return 4278190080},D.Predictor1=function(O){return O},D.Predictor2=function(O,L,Z){return L[Z+0]},D.Predictor3=function(O,L,Z){return L[Z+1]},D.Predictor4=function(O,L,Z){return L[Z-1]},D.Predictor5=function(O,L,Z){return ve(ve(O,L[Z+1]),L[Z+0])},D.Predictor6=function(O,L,Z){return ve(O,L[Z-1])},D.Predictor7=function(O,L,Z){return ve(O,L[Z+0])},D.Predictor8=function(O,L,Z){return ve(L[Z-1],L[Z+0])},D.Predictor9=function(O,L,Z){return ve(L[Z+0],L[Z+1])},D.Predictor10=function(O,L,Z){return ve(ve(O,L[Z-1]),ve(L[Z+0],L[Z+1]))},D.Predictor11=function(O,L,Z){var he=L[Z+0];return 0>=Me(he>>24&255,O>>24&255,(L=L[Z-1])>>24&255)+Me(he>>16&255,O>>16&255,L>>16&255)+Me(he>>8&255,O>>8&255,L>>8&255)+Me(255&he,255&O,255&L)?he:O},D.Predictor12=function(O,L,Z){var he=L[Z+0];return(Ie((O>>24&255)+(he>>24&255)-((L=L[Z-1])>>24&255))<<24|Ie((O>>16&255)+(he>>16&255)-(L>>16&255))<<16|Ie((O>>8&255)+(he>>8&255)-(L>>8&255))<<8|Ie((255&O)+(255&he)-(255&L)))>>>0},D.Predictor13=function(O,L,Z){var he=L[Z-1];return(je((O=ve(O,L[Z+0]))>>24&255,he>>24&255)<<24|je(O>>16&255,he>>16&255)<<16|je(O>>8&255,he>>8&255)<<8|je(O>>0&255,he>>0&255))>>>0};var PC=D.PredictorAdd0;D.PredictorAdd1=We,ce("Predictor2","PredictorAdd2"),ce("Predictor3","PredictorAdd3"),ce("Predictor4","PredictorAdd4"),ce("Predictor5","PredictorAdd5"),ce("Predictor6","PredictorAdd6"),ce("Predictor7","PredictorAdd7"),ce("Predictor8","PredictorAdd8"),ce("Predictor9","PredictorAdd9"),ce("Predictor10","PredictorAdd10"),ce("Predictor11","PredictorAdd11"),ce("Predictor12","PredictorAdd12"),ce("Predictor13","PredictorAdd13");var v0=D.PredictorAdd2;Ae("ColorIndexInverseTransform","MapARGB","32b",(function(O){return O>>8&255}),(function(O){return O})),Ae("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(O){return O}),(function(O){return O>>8&255}));var w1,Rc=D.ColorIndexInverseTransform,os=D.MapARGB,tm=D.VP8LColorIndexInverseTransformAlpha,y0=D.MapAlpha,Bf=D.VP8LPredictorsAdd=[];Bf.length=16,(D.VP8LPredictors=[]).length=16,(D.VP8LPredictorsAdd_C=[]).length=16,(D.VP8LPredictors_C=[]).length=16;var nm,nl,ws,rm,Tl,Eu,Cd,Fu,Ra,Du,ho,Ol,Vp,_d,Lg,im,am,om,Qp,Ug,sm,If,qp,$a,fc,Qr,qr,ta,eo=a(511),$c=a(2041),lm=a(225),cm=a(767),Pf=0,k1=$c,Gp=lm,ss=cm,Lc=eo,Us=0,zg=1,Nd=2,b0=3,Wp=4,Mf=5,S1=6,x0=7,um=8,Rf=9,Hg=10,C1=[2,3,7],Uc=[3,3,11],hc=[280,256,256,256,40],Kp=[0,1,1,1,0],$f=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Lf=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Yp=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],CT=8,w0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],k0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Oo=null,La=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],bi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Ed=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],MC=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Xp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],_T=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Uf=[],rl=[],mc=[],NT=1,Vg=2,Fd=[],ls=[];kt("UpsampleRgbLinePair",ni,3),kt("UpsampleBgrLinePair",ga,3),kt("UpsampleRgbaLinePair",_u,4),kt("UpsampleBgraLinePair",as,4),kt("UpsampleArgbLinePair",Ja,4),kt("UpsampleRgba4444LinePair",Za,2),kt("UpsampleRgb565LinePair",wa,2);var zf=D.UpsampleRgbLinePair,fm=D.UpsampleBgrLinePair,Dd=D.UpsampleRgbaLinePair,_1=D.UpsampleBgraLinePair,N1=D.UpsampleArgbLinePair,Qg=D.UpsampleRgba4444LinePair,E1=D.UpsampleRgb565LinePair,Td=16,jo=1<<Td-1,hm=-227,F1=482,C8=6,ET=0,_8=a(256),Bo=a(256),RC=a(256),S0=a(256),C0=a(F1-hm),$C=a(F1-hm);Nu("YuvToRgbRow",ni,3),Nu("YuvToBgrRow",ga,3),Nu("YuvToRgbaRow",_u,4),Nu("YuvToBgraRow",as,4),Nu("YuvToArgbRow",Ja,4),Nu("YuvToRgba4444Row",Za,2),Nu("YuvToRgb565Row",wa,2);var Zp=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Hf=[0,2,8],N8=[8,7,6,4,4,2,2,2,1,1,1,1],FT=1;this.WebPDecodeRGBA=function(O,L,Z,he,be){var ke=zg,Se=new jg,_e=new ft;Se.ba=_e,_e.S=ke,_e.width=[_e.width],_e.height=[_e.height];var Ee=_e.width,Oe=_e.height,Ye=new Yt;if(Ye==null||O==null)var dt=2;else t(Ye!=null),dt=Mg(O,L,Z,Ye.width,Ye.height,Ye.Pd,Ye.Qd,Ye.format,null);if(dt!=0?Ee=0:(Ee!=null&&(Ee[0]=Ye.width[0]),Oe!=null&&(Oe[0]=Ye.height[0]),Ee=1),Ee){_e.width=_e.width[0],_e.height=_e.height[0],he!=null&&(he[0]=_e.width),be!=null&&(be[0]=_e.height);e:{if(he=new ea,(be=new m0).data=O,be.w=L,be.ha=Z,be.kd=1,L=[0],t(be!=null),((O=Mg(be.data,be.w,be.ha,null,null,null,L,null,be))==0||O==7)&&L[0]&&(O=4),(L=O)==0){if(t(Se!=null),he.data=be.data,he.w=be.w+be.offset,he.ha=be.ha-be.offset,he.put=Pe,he.ac=nn,he.bc=Ge,he.ma=Se,be.xa){if((O=Cr())==null){Se=1;break e}if((function(lt,tt){var jt=[0],vt=[0],Xe=[0];t:for(;;){if(lt==null)return 0;if(tt==null)return lt.a=2,0;if(lt.l=tt,lt.a=0,W(lt.m,tt.data,tt.w,tt.ha),!ze(lt.m,jt,vt,Xe)){lt.a=3;break t}if(lt.xb=Vg,tt.width=jt[0],tt.height=vt[0],!kn(jt[0],vt[0],1,lt,null))break t;return 1}return t(lt.a!=0),0})(O,he)){if(he=(L=Up(he.width,he.height,Se.Oa,Se.ba))==0){t:{he=O;n:for(;;){if(he==null){he=0;break t}if(t(he.s.yc!=null),t(he.s.Ya!=null),t(0<he.s.Wb),t((Z=he.l)!=null),t((be=Z.ma)!=null),he.xb!=0){if(he.ca=be.ba,he.tb=be.tb,t(he.ca!=null),!Jh(be.Oa,Z,b0)){he.a=2;break n}if(!vr(he,Z.width)||Z.da)break n;if((Z.da||ct(he.ca.S))&&it(),11>he.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),he.ca.f.kb.F!=null&&it()),he.Pb&&0<he.s.ua&&he.s.vb.X==null&&!Fe(he.s.vb,he.s.Wa.Xa)){he.a=1;break n}he.xb=0}if(!Dn(he,he.V,he.Ba,he.c,he.i,Z.o,Fn))break n;be.Dc=he.Ma,he=1;break t}t(he.a!=0),he=0}he=!he}he&&(L=O.a)}else L=O.a}else{if((O=new tl)==null){Se=1;break e}if(O.Fa=be.na,O.P=be.P,O.qc=be.Sa,Su(O,he)){if((L=Up(he.width,he.height,Se.Oa,Se.ba))==0){if(O.Aa=0,Z=Se.Oa,t((be=O)!=null),Z!=null){if(0<(Ee=0>(Ee=Z.Md)?0:100<Ee?255:255*Ee/100)){for(Oe=Ye=0;4>Oe;++Oe)12>(dt=be.pb[Oe]).lc&&(dt.ia=Ee*N8[0>dt.lc?0:dt.lc]>>3),Ye|=dt.ia;Ye&&(alert("todo:VP8InitRandom"),be.ia=1)}be.Ga=Z.Id,100<be.Ga?be.Ga=100:0>be.Ga&&(be.Ga=0)}m1(O,he)||(L=O.a)}}else L=O.a}L==0&&Se.Oa!=null&&Se.Oa.fd&&(L=Rg(Se.ba))}Se=L}ke=Se!=0?null:11>ke?_e.f.RGBA.eb:_e.f.kb.y}else ke=null;return ke};var DT=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(D,T){for(var R="",B=0;B<4;B++)R+=String.fromCharCode(D[T++]);return R}function u(D,T){return(D[T+0]<<0|D[T+1]<<8|D[T+2]<<16)>>>0}function f(D,T){return(D[T+0]<<0|D[T+1]<<8|D[T+2]<<16|D[T+3]<<24)>>>0}new l;var h=[0],m=[0],A=[],p=new l,v=e,y=(function(D,T){var R={},B=0,j=!1,P=0,$=0;if(R.frames=[],!(function(Q,G,ne,re){for(var oe=0;oe<re;oe++)if(Q[G+oe]!=ne.charCodeAt(oe))return!0;return!1})(D,T,"RIFF",4)){for(f(D,T+=4),T+=8;T<D.length;){var z=c(D,T),I=f(D,T+=4);T+=4;var V=I+(1&I);switch(z){case"VP8 ":case"VP8L":R.frames[B]===void 0&&(R.frames[B]={}),(X=R.frames[B]).src_off=j?$:T-8,X.src_size=P+I+8,B++,j&&(j=!1,P=0,$=0);break;case"VP8X":(X=R.header={}).feature_flags=D[T];var W=T+4;X.canvas_width=1+u(D,W),W+=3,X.canvas_height=1+u(D,W),W+=3;break;case"ALPH":j=!0,P=V+8,$=T-8;break;case"ANIM":(X=R.header).bgcolor=f(D,T),W=T+4,X.loop_count=(fe=D)[(H=W)+0]<<0|fe[H+1]<<8,W+=2;break;case"ANMF":var ee,X;(X=R.frames[B]={}).offset_x=2*u(D,T),T+=3,X.offset_y=2*u(D,T),T+=3,X.width=1+u(D,T),T+=3,X.height=1+u(D,T),T+=3,X.duration=u(D,T),T+=3,ee=D[T++],X.dispose=1&ee,X.blend=ee>>1&1}z!="ANMF"&&(T+=V)}var fe,H;return R}})(v,0);y.response=v,y.rgbaoutput=!0,y.dataurl=!1;var x=y.header?y.header:null,k=y.frames?y.frames:null;if(x){x.loop_counter=x.loop_count,h=[x.canvas_height],m=[x.canvas_width];for(var C=0;C<k.length&&k[C].blend!=0;C++);}var S=k[0],N=p.WebPDecodeRGBA(v,S.src_off,S.src_size,m,h);S.rgba=N,S.imgwidth=m[0],S.imgheight=h[0];for(var E=0;E<m[0]*h[0]*4;E++)A[E]=N[E];return this.width=m,this.height=h,this.data=A,this}(function(e){var t=function(){return typeof lX=="function"},n=function(h,m,A,p){var v=4,y=o;switch(p){case e.image_compression.FAST:v=1,y=a;break;case e.image_compression.MEDIUM:v=6,y=s;break;case e.image_compression.SLOW:v=9,y=l}h=r(h,m,A,y);var x=lX(h,{level:v});return e.__addimage__.arrayBufferToBinaryString(x)},r=function(h,m,A,p){for(var v,y,x,k=h.length/m,C=new Uint8Array(h.length+k),S=u(),N=0;N<k;N+=1){if(x=N*m,v=h.subarray(x,x+m),p)C.set(p(v,A,y),x+N);else{for(var E,D=S.length,T=[];E<D;E+=1)T[E]=S[E](v,A,y);var R=f(T.concat());C.set(T[R],x+N)}y=v}return C},i=function(h){var m=Array.apply([],h);return m.unshift(0),m},a=function(h,m){var A,p=[],v=h.length;p[0]=1;for(var y=0;y<v;y+=1)A=h[y-m]||0,p[y+1]=h[y]-A+256&255;return p},o=function(h,m,A){var p,v=[],y=h.length;v[0]=2;for(var x=0;x<y;x+=1)p=A&&A[x]||0,v[x+1]=h[x]-p+256&255;return v},s=function(h,m,A){var p,v,y=[],x=h.length;y[0]=3;for(var k=0;k<x;k+=1)p=h[k-m]||0,v=A&&A[k]||0,y[k+1]=h[k]+256-(p+v>>>1)&255;return y},l=function(h,m,A){var p,v,y,x,k=[],C=h.length;k[0]=4;for(var S=0;S<C;S+=1)p=h[S-m]||0,v=A&&A[S]||0,y=A&&A[S-m]||0,x=c(p,v,y),k[S+1]=h[S]-x+256&255;return k},c=function(h,m,A){if(h===m&&m===A)return h;var p=Math.abs(m-A),v=Math.abs(h-A),y=Math.abs(h+m-A-A);return p<=v&&p<=y?h:v<=y?m:A},u=function(){return[i,a,o,s,l]},f=function(h){var m=h.map((function(A){return A.reduce((function(p,v){return p+Math.abs(v)}),0)}));return m.indexOf(Math.min.apply(null,m))};e.processPNG=function(h,m,A,p){var v,y,x,k,C,S,N,E,D,T,R,B,j,P,$,z=this.decode.FLATE_DECODE,I="";if(this.__addimage__.isArrayBuffer(h)&&(h=new Uint8Array(h)),this.__addimage__.isArrayBufferView(h)){if(h=(x=new OWt(h)).imgData,y=x.bits,v=x.colorSpace,C=x.colors,[4,6].indexOf(x.colorType)!==-1){if(x.bits===8){D=(E=x.pixelBitlength==32?new Uint32Array(x.decodePixels().buffer):x.pixelBitlength==16?new Uint16Array(x.decodePixels().buffer):new Uint8Array(x.decodePixels().buffer)).length,R=new Uint8Array(D*x.colors),T=new Uint8Array(D);var V,W=x.pixelBitlength-x.bits;for(P=0,$=0;P<D;P++){for(j=E[P],V=0;V<W;)R[$++]=j>>>V&255,V+=x.bits;T[P]=j>>>V&255}}if(x.bits===16){D=(E=new Uint32Array(x.decodePixels().buffer)).length,R=new Uint8Array(D*(32/x.pixelBitlength)*x.colors),T=new Uint8Array(D*(32/x.pixelBitlength)),B=x.colors>1,P=0,$=0;for(var ee=0;P<D;)j=E[P++],R[$++]=j>>>0&255,B&&(R[$++]=j>>>16&255,j=E[P++],R[$++]=j>>>0&255),T[ee++]=j>>>16&255;y=8}p!==e.image_compression.NONE&&t()?(h=n(R,x.width*x.colors,x.colors,p),N=n(T,x.width,1,p)):(h=R,N=T,z=void 0)}if(x.colorType===3&&(v=this.color_spaces.INDEXED,S=x.palette,x.transparency.indexed)){var X=x.transparency.indexed,fe=0;for(P=0,D=X.length;P<D;++P)fe+=X[P];if((fe/=255)===D-1&&X.indexOf(0)!==-1)k=[X.indexOf(0)];else if(fe!==D){for(E=x.decodePixels(),T=new Uint8Array(E.length),P=0,D=E.length;P<D;P++)T[P]=X[E[P]];N=n(T,x.width,1)}}var H=(function(Q){var G;switch(Q){case e.image_compression.FAST:G=11;break;case e.image_compression.MEDIUM:G=13;break;case e.image_compression.SLOW:G=14;break;default:G=12}return G})(p);return z===this.decode.FLATE_DECODE&&(I="/Predictor "+H+" "),I+="/Colors "+C+" /BitsPerComponent "+y+" /Columns "+x.width,(this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),(N&&this.__addimage__.isArrayBuffer(N)||this.__addimage__.isArrayBufferView(N))&&(N=this.__addimage__.arrayBufferToBinaryString(N)),{alias:A,data:h,index:m,filter:z,decodeParameters:I,transparency:k,palette:S,sMask:N,predictor:H,width:x.width,height:x.height,bitsPerComponent:y,colorSpace:v}}}})(lr.API),(function(e){e.processGIF89A=function(t,n,r,i){var a=new jWt(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},u=new uH(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A})(lr.API),Zf.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)},Zf.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){fa.log("bit decode error:"+n)}},Zf.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)}},Zf.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)}},Zf.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)}},Zf.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}},Zf.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}},Zf.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}},Zf.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}},Zf.prototype.getData=function(){return this.data},(function(e){e.processBMP=function(t,n,r,i){var a=new Zf(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new uH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(lr.API),Cxe.prototype.getData=function(){return this.data},(function(e){e.processWEBP=function(t,n,r,i){var a=new Cxe(t),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new uH(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}})(lr.API),lr.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}},lr.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},gw=lr.API,K5=gw.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&&Ki(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},xxe=gw.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 gw.processArabic&&(e=gw.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:K5.apply(this,arguments).reduce((function(a,o){return a+o}),0)},wxe=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},kxe=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=K5.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(C){(C=C.split(/\s*\n/)).length>1?x=x.concat(C.map((function(S,N){return(N&&S.length?`
862
862
  `:"")+S}))):x.push(C[0])})),p=x,l=xxe.apply(this,[y,n])}for(a=0,o=p.length;a<o;a++){var k=0;if(r=p[a],l&&r[0]==`
863
- `&&(r=r.substr(1),k=1),h+m+(A=(i=K5.apply(this,[r,n])).reduce((function(C,S){return C+S}),0))>t||k){if(A>t){for(s=wxe.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(C,S){return C+S}),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(C,S){return(S?y:"")+C.join(" ")}:function(C){return C.join(" ")},f.map(c)},gw.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);return f.metadata.Unicode?{widths:f.metadata.Unicode.widths||{0:1},kerning:f.metadata.Unicode.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(kxe.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var a=function(f){return"0x"+parseInt(f,10).toString(16)},o=e.__fontmetrics__.compress=function(f){var h,m,A,p,v=["{"];for(var y in f){if(h=f[y],isNaN(parseInt(y,10))?m="'"+y+"'":(y=parseInt(y,10),m=(m=a(y).slice(2)).slice(0,-1)+r[m.slice(-1)]),typeof h=="number")h<0?(A=a(h).slice(3),p="-"):(A=a(h).slice(2),p=""),A=p+A.slice(0,-1)+r[A.slice(-1)];else{if(Ki(h)!=="object")throw new Error("Don't know what to do with value type "+Ki(h)+".");A=o(h)}v.push(m+A)}return v.push("}"),v.join("")},s=e.__fontmetrics__.uncompress=function(f){if(typeof f!="string")throw new Error("Invalid argument passed to uncompress.");for(var h,m,A,p,v={},y=1,x=v,k=[],C="",S="",N=f.length-1,E=1;E<N;E+=1)(p=f[E])=="'"?h?(A=h.join(""),h=void 0):h=[]:h?h.push(p):p=="{"?(k.push([x,A]),x={},A=void 0):p=="}"?((m=k.pop())[0][m[1]]=x,A=void 0,x=m[0]):p=="-"?y=-1:A===void 0?n.hasOwnProperty(p)?(C+=n[p],A=parseInt(C,16)*y,y=1,C=""):C+=p:n.hasOwnProperty(p)?(S+=n[p],x[A]=parseInt(S,16)*y,y=1,A=void 0,S=""):S+=p;return v},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'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":s("{'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:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'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:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'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":s("{'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:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'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":s("{'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":s("{'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(f){var h=f.font,m=u.Unicode[h.postScriptName];m&&(h.metadata.Unicode={},h.metadata.Unicode.widths=m.widths,h.metadata.Unicode.kerning=m.kerning);var A=c.Unicode[h.postScriptName];A&&(h.metadata.Unicode.encoding=A,h.encoding=A.codePages[0])}])})(lr.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(v2(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(lr),(function(e){function t(){return(fr.canvg?Promise.resolve(fr.canvg):rX(()=>import("./index.es-DdoO3UV1.js"),[])).catch((function(n){return Promise.reject(new Error("Could not load canvg: "+n))})).then((function(n){return n.default?n.default:n}))}lr.API.addSvgAsImage=function(n,r,i,a,o,s,l,c){if(isNaN(r)||isNaN(i))throw fa.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(o))throw fa.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=a,u.height=o;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},m=this;return t().then((function(A){return A.fromString(f,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(A){return A.render(h)})).then((function(){m.addImage(u.toDataURL("image/jpeg",1),r,i,a,o,l,c)}))}})(),lr.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},lr.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(Ki(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
863
+ `&&(r=r.substr(1),k=1),h+m+(A=(i=K5.apply(this,[r,n])).reduce((function(C,S){return C+S}),0))>t||k){if(A>t){for(s=wxe.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(C,S){return C+S}),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(C,S){return(S?y:"")+C.join(" ")}:function(C){return C.join(" ")},f.map(c)},gw.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);return f.metadata.Unicode?{widths:f.metadata.Unicode.widths||{0:1},kerning:f.metadata.Unicode.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(kxe.apply(this,[r[s],o,a]));return c},(function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},i=0;i<t.length;i++)n[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var a=function(f){return"0x"+parseInt(f,10).toString(16)},o=e.__fontmetrics__.compress=function(f){var h,m,A,p,v=["{"];for(var y in f){if(h=f[y],isNaN(parseInt(y,10))?m="'"+y+"'":(y=parseInt(y,10),m=(m=a(y).slice(2)).slice(0,-1)+r[m.slice(-1)]),typeof h=="number")h<0?(A=a(h).slice(3),p="-"):(A=a(h).slice(2),p=""),A=p+A.slice(0,-1)+r[A.slice(-1)];else{if(Ki(h)!=="object")throw new Error("Don't know what to do with value type "+Ki(h)+".");A=o(h)}v.push(m+A)}return v.push("}"),v.join("")},s=e.__fontmetrics__.uncompress=function(f){if(typeof f!="string")throw new Error("Invalid argument passed to uncompress.");for(var h,m,A,p,v={},y=1,x=v,k=[],C="",S="",N=f.length-1,E=1;E<N;E+=1)(p=f[E])=="'"?h?(A=h.join(""),h=void 0):h=[]:h?h.push(p):p=="{"?(k.push([x,A]),x={},A=void 0):p=="}"?((m=k.pop())[0][m[1]]=x,A=void 0,x=m[0]):p=="-"?y=-1:A===void 0?n.hasOwnProperty(p)?(C+=n[p],A=parseInt(C,16)*y,y=1,C=""):C+=p:n.hasOwnProperty(p)?(S+=n[p],x[A]=parseInt(S,16)*y,y=1,A=void 0,S=""):S+=p;return v},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'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":s("{'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:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'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:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'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":s("{'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:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'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":s("{'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":s("{'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(f){var h=f.font,m=u.Unicode[h.postScriptName];m&&(h.metadata.Unicode={},h.metadata.Unicode.widths=m.widths,h.metadata.Unicode.kerning=m.kerning);var A=c.Unicode[h.postScriptName];A&&(h.metadata.Unicode.encoding=A,h.encoding=A.codePages[0])}])})(lr.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(v2(s)),o.metadata=e.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])})(lr),(function(e){function t(){return(fr.canvg?Promise.resolve(fr.canvg):rX(()=>import("./index.es-C3GEnZyX.js"),[])).catch((function(n){return Promise.reject(new Error("Could not load canvg: "+n))})).then((function(n){return n.default?n.default:n}))}lr.API.addSvgAsImage=function(n,r,i,a,o,s,l,c){if(isNaN(r)||isNaN(i))throw fa.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(o))throw fa.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=a,u.height=o;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},m=this;return t().then((function(A){return A.fromString(f,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(A){return A.render(h)})).then((function(){m.addImage(u.toDataURL("image/jpeg",1),r,i,a,o,l,c)}))}})(),lr.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},lr.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(Ki(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
864
864
  <<
865
865
  `+p.join(`
866
866
  `)+`