@nebula.js/cli-serve 4.8.1 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eHub.js +1 -1
- package/dist/eRender.js +2 -2
- package/package.json +8 -8
package/dist/eRender.js
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
animation-iteration-count: infinite;
|
|
73
73
|
animation-delay: 200ms;
|
|
74
74
|
}
|
|
75
|
-
`),wn.rippleVisible,Dn,550,(({theme:e})=>e.transitions.easing.easeInOut),wn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),wn.child,wn.childLeaving,kn,550,(({theme:e})=>e.transitions.easing.easeInOut),wn.childPulsate,Mn,(({theme:e})=>e.transitions.easing.easeInOut)),jn=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,Ln),[s,c]=t.useState([]),u=t.useRef(0),d=t.useRef(null);t.useEffect((()=>{d.current&&(d.current(),d.current=null)}),[s]);const f=t.useRef(!1),p=t.useRef(0),h=t.useRef(null),m=t.useRef(null);t.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const q=t.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c((e=>[...e,(0,qe.jsx)(Bn,{classes:{ripple:(0,nt.Z)(a.ripple,wn.ripple),rippleVisible:(0,nt.Z)(a.rippleVisible,wn.rippleVisible),ripplePulsate:(0,nt.Z)(a.ripplePulsate,wn.ripplePulsate),child:(0,nt.Z)(a.child,wn.child),childLeaving:(0,nt.Z)(a.childLeaving,wn.childLeaving),childPulsate:(0,nt.Z)(a.childPulsate,wn.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},u.current)])),u.current+=1,d.current=i}),[a]),g=t.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:a=o||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(a)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},p.current=setTimeout((()=>{h.current&&(h.current(),h.current=null)}),80)):q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[o,q]),y=t.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=t.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void(p.current=setTimeout((()=>{v(e,t)})));h.current=null,c((e=>e.length>0?e.slice(1):e)),d.current=t}),[]);return t.useImperativeHandle(n,(()=>({pulsate:y,start:g,stop:v})),[y,g,v]),(0,qe.jsx)(Fn,(0,ce.Z)({className:(0,nt.Z)(wn.root,a.root,i),ref:m},l,{children:(0,qe.jsx)(Cn,{component:null,exit:!0,children:s})}))})),zn=jn;function Gn(e){return(0,Pe.Z)("MuiButtonBase",e)}const Vn=(0,Te.Z)("MuiButtonBase",["root","disabled","focusVisible"]),$n=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Zn=(0,ut.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Vn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Un=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:i,className:l,component:s="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:q,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:b,onKeyUp:C,onMouseDown:E,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:w=0,TouchRippleProps:L,touchRippleRef:_,type:N}=r,A=(0,ue.Z)(r,$n),T=t.useRef(null),P=t.useRef(null),D=(0,ln.Z)(P,_),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,cn.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),T.current.focus()}})),[]);const[G,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const $=G&&!u&&!c;function Z(e,t,n=d){return(0,sn.Z)((r=>(t&&t(r),!n&&P.current&&P.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&P.current.pulsate()}),[u,f,j,G]);const U=Z("start",E),W=Z("stop",q),H=Z("stop",g),K=Z("stop",O),X=Z("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=Z("start",x),Q=Z("stop",I),J=Z("stop",R),ee=Z("stop",(e=>{F(e),!1===k.current&&z(!1),h&&h(e)}),!1),te=(0,sn.Z)((e=>{T.current||(T.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),y&&y(e)})),ne=()=>{const e=T.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,sn.Z)((e=>{f&&!re.current&&j&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))})),ae=(0,sn.Z)((e=>{f&&" "===e.key&&P.current&&j&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),C&&C(e),m&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(A.href||A.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===N?"button":N,le.disabled=c):(A.href||A.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,ln.Z)(n,B,T),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,ct.Z)(a,Gn,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,qe.jsxs)(Zn,(0,ce.Z)({as:ie,className:(0,nt.Z)(fe.root,l),ownerState:de,onBlur:ee,onClick:m,onContextMenu:W,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:H,onTouchEnd:Q,onTouchMove:J,onTouchStart:Y,ref:se,tabIndex:c?-1:w,type:N},le,A,{children:[i,$?(0,qe.jsx)(zn,(0,ce.Z)({ref:D,center:a},L)):null]}))})),Wn=Un;function Hn(e){return(0,Pe.Z)("MuiIconButton",e)}const Kn=(0,Te.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Xn=["edge","children","className","color","disabled","disableFocusRipple","size"],Yn=(0,ut.ZP)(Wn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.edge&&t[`edge${(0,Yt.Z)(n.edge)}`],t[`size${(0,Yt.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,ce.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,ce.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,ce.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Kn.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Qn=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=(0,ue.Z)(n,Xn),d=(0,ce.Z)({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,i={root:["root",n&&"disabled","default"!==r&&`color${(0,Yt.Z)(r)}`,o&&`edge${(0,Yt.Z)(o)}`,`size${(0,Yt.Z)(a)}`]};return(0,ct.Z)(i,Hn,t)})(d);return(0,qe.jsx)(Yn,(0,ce.Z)({className:(0,nt.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),Jn=Qn,er=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tr.apply(this,arguments)}function nr(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var rr=o(2682);function or(e){return"string"==typeof e}function ar(e,t,n){return void 0===e||or(e)?t:tr({},t,{ownerState:tr({},t.ownerState,n)})}function ir(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function lr(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const sr=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function cr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=nr(e,sr),l=a?{}:function(e,t,n){return"function"==typeof e?e(t,void 0):e}(r,o),{props:s,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=(0,nt.Z)(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=tr({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=tr({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=ir(tr({},o,r)),l=lr(r),s=lr(o),c=t(i),u=(0,nt.Z)(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=tr({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=tr({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(tr({},i,{externalSlotProps:l}));return ar(n,tr({},s,{ref:(0,rr.Z)(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}var ur=o(8101),dr=o(617),fr=o(9514);var pr="unmounted",hr="exited",mr="entering",qr="entered",gr="exiting",yr=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=hr,r.appearStatus=mr):o=qr:o=t.unmountOnExit||t.mountOnEnter?pr:hr,r.state={status:o},r.nextCallback=null,r}hn(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===pr?{status:hr}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==mr&&n!==qr&&(t=mr):n!==mr&&n!==qr||(t=gr)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===mr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:tt.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===hr&&this.setState({status:pr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[tt.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:mr},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:qr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:qr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:tt.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:gr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:hr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:hr},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:tt.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===pr)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,un(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(mn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function vr(){}yr.contextType=mn,yr.propTypes={},yr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vr,onEntering:vr,onEntered:vr,onExit:vr,onExiting:vr,onExited:vr},yr.UNMOUNTED=pr,yr.EXITED=hr,yr.ENTERING=mr,yr.ENTERED=qr,yr.EXITING=gr;const br=yr,Cr=e=>e.scrollTop;function Er(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}const Sr=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Or(e){return`scale(${e}, ${e**2})`}const Ir={entering:{opacity:1,transform:Or(1)},entered:{opacity:1,transform:"none"}},Rr="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xr=t.forwardRef((function(e,n){const{addEndListener:r,appear:o=!0,children:a,easing:i,in:l,onEnter:s,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:p,style:h,timeout:m="auto",TransitionComponent:q=br}=e,g=(0,ue.Z)(e,Sr),y=t.useRef(),v=t.useRef(),b=se(),C=t.useRef(null),E=(0,ln.Z)(C,a.ref,n),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},O=S(u),I=S(((e,t)=>{Cr(e);const{duration:n,delay:r,easing:o}=Er({style:h,timeout:m,easing:i},{mode:"enter"});let a;"auto"===m?(a=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[b.transitions.create("opacity",{duration:a,delay:r}),b.transitions.create("transform",{duration:Rr?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),w=S((e=>{const{duration:t,delay:n,easing:r}=Er({style:h,timeout:m,easing:i},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:n}),b.transitions.create("transform",{duration:Rr?o:.666*o,delay:Rr?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Or(.75),d&&d(e)})),L=S(f);return t.useEffect((()=>()=>{clearTimeout(y.current)}),[]),(0,qe.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:L,onExiting:x,addEndListener:e=>{"auto"===m&&(y.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===m?null:m},g,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:Or(.75),visibility:"exited"!==e||l?void 0:"hidden"},Ir[e],h,a.props.style),ref:E},n))}))}));xr.muiSupportAuto=!0;const wr=xr;var Lr=o(6074),_r=o(6734),Nr=o(4603),Ar=o(5796);function Tr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Pr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Dr(e){return parseInt((0,Ar.Z)(e).getComputedStyle(e).paddingRight,10)||0}function kr(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Pr(e,o)}))}function Mr(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const Fr=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Pr(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);kr(t,e.mount,e.modalRef,r,!0);const o=Mr(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Mr(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,Lr.Z)(e);return t.body===e?(0,Ar.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Tr((0,Lr.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Dr(r)+e}px`;const t=(0,Lr.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Dr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Lr.Z)(r).body;else{const t=r.parentElement,n=(0,Ar.Z)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Mr(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Pr(e.modalRef,t),kr(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Pr(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const Br=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function jr(e){const t=[],n=[];return Array.from(e.querySelectorAll(Br)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function zr(){return!0}function Gr(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=jr,isEnabled:l=zr,open:s}=e,c=t.useRef(!1),u=t.useRef(null),d=t.useRef(null),f=t.useRef(null),p=t.useRef(null),h=t.useRef(!1),m=t.useRef(null),q=(0,rr.Z)(n.ref,m),g=t.useRef(null);t.useEffect((()=>{s&&m.current&&(h.current=!r)}),[r,s]),t.useEffect((()=>{if(!s||!m.current)return;const e=(0,Lr.Z)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}}),[s]),t.useEffect((()=>{if(!s||!m.current)return;const e=(0,Lr.Z)(m.current),t=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=i(m.current)),n.length>0){var r,a;const e=Boolean((null==(r=g.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=g.current)?void 0:a.key)),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[r,o,a,l,s,i]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0};return(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:q,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0,p.current=e.target;const t=n.props.onFocus;t&&t(e)}}),(0,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}var Vr=o(401),$r=o(513);const Zr=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,rr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,Vr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,Vr.Z)((()=>{if(i&&!a)return(0,$r.Z)(n,i),()=>{(0,$r.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,qe.jsx)(t.Fragment,{children:r})}return(0,qe.jsx)(t.Fragment,{children:i?tt.createPortal(r,i):i})})),Ur=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Wr={entering:{opacity:1},entered:{opacity:1}},Hr=t.forwardRef((function(e,n){const r=se(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:q,timeout:g=o,TransitionComponent:y=br}=e,v=(0,ue.Z)(e,Ur),b=t.useRef(null),C=(0,ln.Z)(b,l.ref,n),E=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=E(f),O=E(((e,t)=>{Cr(e);const n=Er({style:q,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),I=E(d),R=E(m),x=E((e=>{const t=Er({style:q,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),w=E(h);return(0,qe.jsx)(y,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:w,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:g},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Wr[e],q,l.props.style),ref:C},n))}))})),Kr=Hr;function Xr(e){return(0,Pe.Z)("MuiBackdrop",e)}(0,Te.Z)("MuiBackdrop",["root","invisible"]);const Yr=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Qr=(0,ut.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,ce.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),Jr=t.forwardRef((function(e,t){var n,r,o;const a=(0,dt.Z)({props:e,name:"MuiBackdrop"}),{children:i,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:h={},TransitionComponent:m=Kr,transitionDuration:q}=a,g=(0,ue.Z)(a,Yr),y=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,ct.Z)(r,Xr,t)})(y),b=null!=(n=p.root)?n:u.root;return(0,qe.jsx)(m,(0,ce.Z)({in:f,timeout:q},g,{children:(0,qe.jsx)(Qr,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:(0,nt.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,ce.Z)({},y,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),eo=Jr;function to(e){return(0,Pe.Z)("MuiModal",e)}(0,Te.Z)("MuiModal",["root","hidden","backdrop"]);const no=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ro=(0,ut.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,ce.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),oo=(0,ut.ZP)(eo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ao=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,dt.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=oo,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:q,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:S=!1,disableScrollLock:O=!1,hideBackdrop:I=!1,keepMounted:R=!1,onBackdropClick:x,open:w,slotProps:L,slots:_}=c,N=(0,ue.Z)(c,no),A=(0,ce.Z)({},c,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:I,keepMounted:R}),{getRootProps:T,getBackdropProps:P,getTransitionProps:D,portalRef:k,isTopModal:M,exited:F,hasTransition:B}=function(e){const{container:n,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,manager:a=Fr,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:f}=e,p=t.useRef({}),h=t.useRef(null),m=t.useRef(null),q=(0,rr.Z)(m,f),[g,y]=t.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const C=()=>(p.current.modalRef=m.current,p.current.mount=h.current,p.current),E=()=>{a.mount(C(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},S=(0,_r.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(n)||(0,Lr.Z)(h.current).body;a.add(C(),e),m.current&&E()})),O=t.useCallback((()=>a.isTopModal(C())),[a]),I=(0,_r.Z)((e=>{h.current=e,e&&(d&&O()?E():m.current&&Pr(m.current,b))})),R=t.useCallback((()=>{a.remove(C(),b)}),[b,a]);t.useEffect((()=>()=>{R()}),[R]),t.useEffect((()=>{d?S():v&&i||R()}),[d,R,v,i,S]);const x=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&O()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},w=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=ir(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=tr({},n,t);return tr({role:"presentation"},r,{onKeyDown:x(r),ref:q})},getBackdropProps:(e={})=>tr({"aria-hidden":!0},e,{onClick:w(e),open:d}),getTransitionProps:()=>({onEnter:(0,Nr.Z)((()=>{y(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:(0,Nr.Z)((()=>{y(!0),s&&s(),i&&R()}),null==c?void 0:c.props.onExited)}),rootRef:q,portalRef:I,isTopModal:O,exited:g,hasTransition:v}}((0,ce.Z)({},A,{rootRef:n})),j=(0,ce.Z)({},A,{exited:F}),z=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,ct.Z)(o,to,r)})(j),G={};if(void 0===h.props.tabIndex&&(G.tabIndex="-1"),B){const{onEnter:e,onExited:t}=D();G.onEnter=e,G.onExited=t}const V=null!=(r=null!=(o=null==_?void 0:_.root)?o:g.Root)?r:ro,$=null!=(a=null!=(i=null==_?void 0:_.backdrop)?i:g.Backdrop)?a:u,Z=null!=(l=null==L?void 0:L.root)?l:y.root,U=null!=(s=null==L?void 0:L.backdrop)?s:y.backdrop,W=cr({elementType:V,externalSlotProps:Z,externalForwardedProps:N,getSlotProps:T,additionalProps:{ref:n,as:q},ownerState:j,className:(0,nt.Z)(f,null==Z?void 0:Z.className,null==z?void 0:z.root,!j.open&&j.exited&&(null==z?void 0:z.hidden))}),H=cr({elementType:$,externalSlotProps:U,additionalProps:d,getSlotProps:e=>P((0,ce.Z)({},e,{onClick:t=>{x&&x(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,nt.Z)(null==U?void 0:U.className,null==d?void 0:d.className,null==z?void 0:z.backdrop),ownerState:j});return R||w||B&&!F?(0,qe.jsx)(Zr,{ref:k,container:m,disablePortal:E,children:(0,qe.jsxs)(V,(0,ce.Z)({},W,{children:[!I&&u?(0,qe.jsx)($,(0,ce.Z)({},H)):null,(0,qe.jsx)(Gr,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:S,isEnabled:M,open:w,children:t.cloneElement(h,G)})]}))}):null})),io=ao,lo=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function so(e){return(0,Pe.Z)("MuiPaper",e)}(0,Te.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const co=["className","component","elevation","square","variant"],uo=(0,ut.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,ce.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,ce.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,an.Fq)("#fff",lo(t.elevation))}, ${(0,an.Fq)("#fff",lo(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),fo=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,ue.Z)(n,co),c=(0,ce.Z)({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,ct.Z)(a,so,o)})(c);return(0,qe.jsx)(uo,(0,ce.Z)({as:o,ownerState:c,className:(0,nt.Z)(u.root,r),ref:t},s))})),po=fo;function ho(e){return(0,Pe.Z)("MuiPopover",e)}(0,Te.Z)("MuiPopover",["root","paper"]);const mo=["onEntering"],qo=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],go=["slotProps"];function yo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function vo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function bo(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Co(e){return"function"==typeof e?e():e}const Eo=(0,ut.ZP)(io,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),So=(0,ut.ZP)(po,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Oo=t.forwardRef((function(e,n){var r,o,a;const i=(0,dt.Z)({props:e,name:"MuiPopover"}),{action:l,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:p,container:h,elevation:m=8,marginThreshold:q=16,open:g,PaperProps:y={},slots:v,slotProps:b,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:E=wr,transitionDuration:S="auto",TransitionProps:{onEntering:O}={},disableScrollLock:I=!1}=i,R=(0,ue.Z)(i.TransitionProps,mo),x=(0,ue.Z)(i,qo),w=null!=(r=null==b?void 0:b.paper)?r:y,L=t.useRef(),_=(0,ln.Z)(L,w.ref),N=(0,ce.Z)({},i,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:q,externalPaperSlotProps:w,transformOrigin:C,TransitionComponent:E,transitionDuration:S,TransitionProps:R}),A=(e=>{const{classes:t}=e;return(0,ct.Z)({root:["root"],paper:["paper"]},ho,t)})(N),T=t.useCallback((()=>{if("anchorPosition"===d)return u;const e=Co(s),t=(e&&1===e.nodeType?e:(0,dr.Z)(L.current).body).getBoundingClientRect();return{top:t.top+yo(t,c.vertical),left:t.left+vo(t,c.horizontal)}}),[s,c.horizontal,c.vertical,u,d]),P=t.useCallback((e=>({vertical:yo(e,C.vertical),horizontal:vo(e,C.horizontal)})),[C.horizontal,C.vertical]),D=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===d)return{top:null,left:null,transformOrigin:bo(n)};const r=T();let o=r.top-n.vertical,a=r.left-n.horizontal;const i=o+t.height,l=a+t.width,c=(0,fr.Z)(Co(s)),u=c.innerHeight-q,f=c.innerWidth-q;if(null!==q&&o<q){const e=o-q;o-=e,n.vertical+=e}else if(null!==q&&i>u){const e=i-u;o-=e,n.vertical+=e}if(null!==q&&a<q){const e=a-q;a-=e,n.horizontal+=e}else if(l>f){const e=l-f;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:bo(n)}}),[s,d,T,P,q]),[k,M]=t.useState(g),F=t.useCallback((()=>{const e=L.current;if(!e)return;const t=D(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[D]);t.useEffect((()=>(I&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,I,F]),t.useEffect((()=>{g&&F()})),t.useImperativeHandle(l,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),t.useEffect((()=>{if(!g)return;const e=(0,ur.Z)((()=>{F()})),t=(0,fr.Z)(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,F]);let B=S;"auto"!==S||E.muiSupportAuto||(B=void 0);const j=h||(s?(0,dr.Z)(Co(s)).body:void 0),z=null!=(o=null==v?void 0:v.root)?o:Eo,G=null!=(a=null==v?void 0:v.paper)?a:So,V=cr({elementType:G,externalSlotProps:(0,ce.Z)({},w,{style:k?w.style:(0,ce.Z)({},w.style,{opacity:0})}),additionalProps:{elevation:m,ref:_},ownerState:N,className:(0,nt.Z)(A.paper,null==w?void 0:w.className)}),$=cr({elementType:z,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:x,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:N,className:(0,nt.Z)(A.root,p)}),{slotProps:Z}=$,U=(0,ue.Z)($,go);return(0,qe.jsx)(z,(0,ce.Z)({},U,!or(z)&&{slotProps:Z,disableScrollLock:I},{children:(0,qe.jsx)(E,(0,ce.Z)({appear:!0,in:g,onEntering:(e,t)=>{O&&O(e,t),F()},onExited:()=>{M(!1)},timeout:B},R,{children:(0,qe.jsx)(G,(0,ce.Z)({},V,{children:f}))}))}))})),Io=Oo;var Ro=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),xo=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};const wo=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=xo(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},xo(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ro(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(t.PureComponent),Lo=["S","XS"],_o=e=>e.reduce(((e,t)=>e.concat(t)));async function No({selections:e,elemNumbers:t,toggle:n,isSingleSelect:r}){if(0===t.length)return!1;let o=!1;if(!t.some((e=>Number.isNaN(e)))){const a=t;try{o=!1!==await e.select({method:"selectListObjectValues",params:["/qListObjectDef",a,n]})}catch{o=!1}o||(r?e.cancel():e.clear())}return o}const Ao="RowColumn",To={row:`${Ao}-row`,rowBorderBottom:`${Ao}-rowBorderBottom`,column:`${Ao}-column`,fieldRoot:`${Ao}-fieldRoot`,cell:`${Ao}-cell`,labelText:`${Ao}-labelText`,labelDense:`${Ao}-labelDense`,highlighted:`${Ao}-highlighted`,checkboxLabel:`${Ao}-checkboxLabel`,icon:`${Ao}-icon`,S:`${Ao}-S`,XS:`${Ao}-XS`,A:`${Ao}-A`,X:`${Ao}-X`,frequencyCount:`${Ao}-frequencyCount`,barContainer:`${Ao}-barContainer`,bar:`${Ao}-bar`,barSelected:`${Ao}-barSelected`,barWithCheckbox:`${Ao}-barWithCheckbox`,barSelectedWithCheckbox:`${Ao}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Ao}-excludedTextWithCheckbox`},Po=`.${To.fieldRoot}`,Do=e=>!(e?.metaKey||e?.ctrlKey);const ko=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Mo=e=>Ht(ko(e)),Fo=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Bo=e=>e?"A"===e.qState:null,jo=({cell:e,checkboxes:t})=>(Bo(e)||Fo(e))&&t,zo=80,Go=32,Vo=29,$o=20,Zo=4,Uo=e=>e.filter((e=>!!e)).join(" ").trim(),Wo=e=>e||"-",Ho=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",Ko=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,Xo=({theme:e,styles:t,selectedState:n})=>{const r=t.selections,o=r[n],a=r[`${n}Contrast`];return{background:o,color:a,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0},[`& .${To.labelText}`]:{color:a},[`& .${To.icon}`]:{color:a}}},Yo={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},Qo=(0,ut.ZP)("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue","layout","styles"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s,styles:c})=>{const{backgroundColor:u,...d}=c.content,f=Xo({theme:e,styles:c,selectedState:"selected"}),p=Xo({theme:e,styles:c,selectedState:"excluded"});return{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}},[`& .${To.row}`]:{flexWrap:"nowrap",...c.content},[`& .${To.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${To.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,...c.content},[`& .${To.cell}`]:{zIndex:2,display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:"9px",paddingRight:0},[`& .${To.labelText}`]:{lineHeight:"16px",userSelect:"none",paddingRight:"1px",...Yo,...d},[`& .${To.labelDense}`]:{fontSize:12},[`& .${To.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${To.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...Yo,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${To.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24,color:d.color},[`& .${To.S}`]:{...f,border:n?"none":void 0},[`& .${To.XS}`]:{...Xo({theme:e,styles:c,selectedState:"selectedExcluded"}),border:n?"none":void 0},[`& .${To.A}`]:{...Xo({theme:e,styles:c,selectedState:"alternative"}),border:n?"none":void 0},[`& .${To.X}`]:{...p,border:n?"none":void 0},[`& .${To.frequencyCount}`]:{zIndex:3,justifyContent:"flex-end",...Yo,flex:`0 0 ${Ho({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:Ko({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${To.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${To.bar}`]:{height:o?"16px":"20px",position:"absolute",zIndex:1,alignSelf:"center",left:4,width:"calc(100% - 8px)",display:"flex",alignItems:"center","& .bar-filled":{border:"1px solid",borderColor:"#D9D9D9",transition:"width 0.2s",backgroundColor:"#FAFAFA",height:"100%"}},[`& .${To.barSelected}`]:{"& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${To.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${To.barSelectedWithCheckbox}`]:{"& .bar-filled":{opacity:"30%",background:f.background||"#BFE5D0",borderColor:f.background||"#BFE5D0"}},[`& .${To.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}})),Jo=t.memo(Qo),ea=t.createContext(void 0);function ta(){return t.useContext(ea)}const na=(0,o(7422).ZP)();var ra=o(7877),oa=o(1684),aa=o(9546);const ia=["component","direction","spacing","divider","children","className","useFlexGap"],la=(0,oa.Z)(),sa=na("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ca(e){return(0,ra.Z)({props:e,name:"MuiStack",defaultTheme:la})}function ua(e,n){const r=t.Children.toArray(e).filter(Boolean);return r.reduce(((e,o,a)=>(e.push(o),a<r.length-1&&e.push(t.cloneElement(n,{key:`separator-${a}`})),e)),[])}const da=({ownerState:e,theme:t})=>{let n=(0,de.Z)({display:"flex",flexDirection:"column"},(0,rt.k9)({theme:t},(0,rt.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,aa.hB)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=(0,rt.P$)({values:e.direction,base:o}),i=(0,rt.P$)({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));const l=(t,n)=>{return e.useFlexGap?{gap:(0,aa.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,aa.NA)(r,t)}};var o};n=(0,at.Z)(n,(0,rt.k9)({theme:t},i,l))}return n=(0,rt.dt)(t.breakpoints,n),n},fa=function(e={}){const{createStyledComponent:n=sa,useThemeProps:r=ca,componentName:o="MuiStack"}=e,a=n(da),i=t.forwardRef((function(e,t){const n=st(r(e)),{component:i="div",direction:l="column",spacing:s=0,divider:c,children:u,className:d,useFlexGap:f=!1}=n,p=(0,ot.Z)(n,ia),h={direction:l,spacing:s,useFlexGap:f},m=(0,ct.Z)({root:["root"]},(e=>(0,Pe.Z)(o,e)),{});return(0,qe.jsx)(a,(0,de.Z)({as:i,ownerState:h,ref:t,className:(0,nt.Z)(m.root,d)},p,{children:c?ua(u,c):u}))}));return i}({createStyledComponent:(0,ut.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,dt.Z)({props:e,name:"MuiStack"})}),pa=fa;function ha(e){return(0,Pe.Z)("MuiFormControlLabel",e)}const ma=(0,Te.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function qa({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}const ga=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],ya=(0,ut.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ma.label}`]:t.label},t.root,t[`labelPlacement${(0,Yt.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ma.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${ma.label}`]:{[`&.${ma.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),va=(0,ut.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${ma.error}`]:{color:(e.vars||e).palette.error.main}}))),ba=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:l={},control:s,disabled:c,disableTypography:u,label:d,labelPlacement:f="end",required:p,slotProps:h={}}=a,m=(0,ue.Z)(a,ga),q=ta(),g=null!=(r=null!=c?c:s.props.disabled)?r:null==q?void 0:q.disabled,y=null!=p?p:s.props.required,v={disabled:g,required:y};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==a[e]&&(v[e]=a[e])}));const b=qa({props:a,muiFormControl:q,states:["error"]}),C=(0,ce.Z)({},a,{disabled:g,labelPlacement:f,required:y,error:b.error}),E=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,Yt.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,ct.Z)(i,ha,t)})(C),S=null!=(o=h.typography)?o:l.typography;let O=d;return null==O||O.type===on||u||(O=(0,qe.jsx)(on,(0,ce.Z)({component:"span"},S,{className:(0,nt.Z)(E.label,null==S?void 0:S.className),children:O}))),(0,qe.jsxs)(ya,(0,ce.Z)({className:(0,nt.Z)(E.root,i),ownerState:C,ref:n},m,{children:[t.cloneElement(s,v),y?(0,qe.jsxs)(pa,{display:"block",children:[O,(0,qe.jsxs)(va,{ownerState:C,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}):O]}))})),Ca=ba;var Ea=o(6262);function Sa(e){return(0,Pe.Z)("PrivateSwitchBase",e)}(0,Te.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Oa=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Ia=(0,ut.ZP)(Wn)((({ownerState:e})=>(0,ce.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Ra=(0,ut.ZP)("input",{shouldForwardProp:ut.FO})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),xa=t.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:h,onBlur:m,onChange:q,onFocus:g,readOnly:y,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,ue.Z)(e,Oa),[O,I]=(0,Ea.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=ta();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===C||"radio"===C,L=(0,ce.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,Yt.Z)(o)}`],input:["input"]};return(0,ct.Z)(a,Sa,t)})(L);return(0,qe.jsxs)(Ia,(0,ce.Z)({component:"span",className:(0,nt.Z)(_.root,a),centerRipple:!0,focusRipple:!s,disabled:x,tabIndex:null,role:void 0,onFocus:e=>{g&&g(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{m&&m(e),R&&R.onBlur&&R.onBlur(e)},ownerState:L,ref:t},S,{children:[(0,qe.jsx)(Ra,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:_.input,disabled:x,id:w?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:y,ref:p,required:v,ownerState:L,tabIndex:b,type:C},"checkbox"===C&&void 0===E?{}:{value:E},f)),O?o:u]}))})),wa=xa;var La=o(968);const _a=(0,La.Z)((0,qe.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Na=(0,La.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Aa=(0,La.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ta(e){return(0,Pe.Z)("MuiCheckbox",e)}const Pa=(0,Te.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Da=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],ka=(0,ut.ZP)(wa,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,Yt.Z)(n.size)}`],"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Pa.checked}, &.${Pa.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Pa.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Ma=(0,qe.jsx)(Na,{}),Fa=(0,qe.jsx)(_a,{}),Ba=(0,qe.jsx)(Aa,{}),ja=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Ma,color:l="primary",icon:s=Fa,indeterminate:c=!1,indeterminateIcon:u=Ba,inputProps:d,size:f="medium",className:p}=a,h=(0,ue.Z)(a,Da),m=c?u:s,q=c?u:i,g=(0,ce.Z)({},a,{color:l,indeterminate:c,size:f}),y=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,a={root:["root",n&&"indeterminate",`color${(0,Yt.Z)(r)}`,`size${(0,Yt.Z)(o)}`]},i=(0,ct.Z)(a,Ta,t);return(0,ce.Z)({},t,i)})(g);return(0,qe.jsx)(ka,(0,ce.Z)({type:"checkbox",inputProps:(0,ce.Z)({"data-indeterminate":c},d),icon:t.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:f}),checkedIcon:t.cloneElement(q,{fontSize:null!=(o=q.props.fontSize)?o:f}),ownerState:g,ref:n,className:(0,nt.Z)(y.root,p)},h,{classes:y}))})),za=ja,Ga="ListBoxCheckbox",Va={cbIcon:`${Ga}-cbIcon`,cbIconChecked:`${Ga}-cbIconChecked`,cbIconExcluded:`${Ga}-cbIconExcluded`,cbIconAlternative:`${Ga}-cbIconAlternative`,checkbox:`${Ga}-checkbox`,dense:`${Ga}-dense`},$a=(0,ut.ZP)(za,{shouldForwardProp:e=>"styles"!==e})((({styles:e})=>({[`& .${Va.cbIcon}`]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},[`& .${Va.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.selections.selected,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},[`& .${Va.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.excluded},[`& .${Va.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.alternative},[`&.${Va.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Va.dense}`]:{padding:"4px 8px"}}))),Za=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Ua({onChange:e,checked:n,label:r,dense:o,excluded:a,styles:i,showGray:l=!0,dataN:s}){return t.createElement($a,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Va.checkbox,o&&Va.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":s},name:r,icon:Za(Va,l,a),checkedIcon:t.createElement("span",{className:Va.cbIconChecked}),styles:i})}const Wa=(0,La.Z)((0,qe.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Ha=(0,La.Z)((0,qe.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Ka=(0,ut.ZP)("span",{shouldForwardProp:ut.FO})({position:"relative",display:"flex"}),Xa=(0,ut.ZP)(Wa)({transform:"scale(1)"}),Ya=(0,ut.ZP)(Ha)((({theme:e,ownerState:t})=>(0,ce.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Qa=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,qe.jsxs)(Ka,{className:n.root,ownerState:o,children:[(0,qe.jsx)(Xa,{fontSize:r,className:n.background,ownerState:o}),(0,qe.jsx)(Ya,{fontSize:r,className:n.dot,ownerState:o})]})};var Ja=o(1882);const ei=t.createContext(void 0);function ti(e){return(0,Pe.Z)("MuiRadio",e)}const ni=(0,Te.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ri=["checked","checkedIcon","color","icon","name","onChange","size","className"],oi=(0,ut.ZP)(wa,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,Yt.Z)(n.size)}`],t[`color${(0,Yt.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${ni.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${ni.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ai=(0,qe.jsx)(Qa,{checked:!0}),ii=(0,qe.jsx)(Qa,{}),li=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ai,color:s="primary",icon:c=ii,name:u,onChange:d,size:f="medium",className:p}=a,h=(0,ue.Z)(a,ri),m=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${(0,Yt.Z)(n)}`,"medium"!==r&&`size${(0,Yt.Z)(r)}`]};return(0,ce.Z)({},t,(0,ct.Z)(o,ti,t))})(m),g=t.useContext(ei);let y=i;const v=(0,Ja.Z)(d,g&&g.onChange);let b=u;var C,E;return g&&(void 0===y&&(C=g.value,y="object"==typeof(E=a.value)&&null!==E?C===E:String(C)===String(E)),void 0===b&&(b=g.name)),(0,qe.jsx)(oi,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=ii.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ai.props.fontSize)?o:f}),ownerState:m,classes:q,name:b,checked:y,onChange:v,ref:n,className:(0,nt.Z)(q.root,p)},h))})),si=li,ci="ListBoxRadioButton",ui={denseRadioButton:`${ci}-denseRadioButton`,radioButton:`${ci}-radioButton`},di=(0,ut.ZP)(si)((({theme:e,checked:t})=>({[`&.${ui.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function fi({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(di,{checked:n,onChange:e,value:r,name:r,className:ui.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const pi=function({label:e,dense:n,showGray:r=!0,checkboxes:o,cell:a,valueTextAlign:i}){return t.createElement(on,{component:"span",variant:"body2",className:Uo([To.labelText,n&&To.labelDense,r&&jo({cell:a,checkboxes:o})&&To.excludedTextWithCheckbox]),align:i,dir:"auto"},t.createElement("span",null,e))},hi=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(pi,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},mi=function({onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}){const p=t.createElement(Ua,{onChange:e,label:n,checked:o,dense:a,excluded:Fo(i),isGridCol:l,showGray:s,dataN:r,styles:f}),h=t.createElement(fi,{onChange:e,label:n,checked:o,dense:a,dataN:r});return t.createElement(Ca,{control:c?h:p,className:To.checkboxLabel,label:t.createElement(hi,{label:n,dense:a,showGray:s,checkboxes:u,cell:i,valueTextAlign:d}),key:r})};function qi({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?To.highlighted:""},e)));return t.createElement(pi,{label:a,dense:n,showGray:r,checkboxes:o})}const gi=function({onChange:e,labels:n,checkboxes:r,dense:o,showGray:a,qElemNumber:i,isSelected:l,cell:s,isGridCol:c,isSingleSelect:u,valueTextAlign:d,styles:f}){const p=t.createElement(qi,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(mi,{onChange:e,label:p,qElemNumber:i,isSelected:l,dense:o,cell:s,isGridCol:c,showGray:a,isSingleSelect:u,checkboxes:r,valueTextAlign:d,styles:f}):p};function yi({onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}){return u?t.createElement(mi,{onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}):t.createElement(pi,{label:n,dense:a,showGray:!0,checkboxes:u,cell:i,valueTextAlign:d})}const vi=t.memo(yi);var bi=o(9741),Ci=o(5882);const Ei=["className","component"];var Si=o(1388);const Oi=(0,we.Z)(),Ii=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,bi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Ci.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=st(e),{className:c,component:u="div"}=s,d=(0,ot.Z)(s,Ei);return(0,qe.jsx)(i,(0,de.Z)({as:u,ref:t,className:(0,nt.Z)(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:Oi,defaultClassName:"MuiBox-root",generateClassName:Si.Z.generate}),Ri=Ii,xi=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===Wo(e))return;const i=(({qFrequency:e,frequencyMax:t})=>{const n=String(e),r="%"===n.substring(n.length-1),o=parseFloat(r?n:e);return`${r?o:o/t*100}%`})({qFrequency:e,checkboxes:r,frequencyMax:a});return t.createElement(Ri,{className:Uo([To.bar,r&&To.barWithCheckbox,o&&(r?To.barSelectedWithCheckbox:To.barSelected)])},t.createElement(Ri,{className:"bar-filled",width:i}))},wi=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=Wo(e?.qFrequency);return t.createElement(Et,{item:!0,style:{display:"flex",alignItems:"center"},className:To.frequencyCount,"aria-label":a,title:a},t.createElement(on,{noWrap:!0,color:"inherit",variant:"body2",className:Uo([r&&To.labelDense,To.labelText,o&&jo({cell:e,checkboxes:n})&&To.excludedTextWithCheckbox])},a))};function Li({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:r}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:r?"100%":`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const _i=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction","fillHeight"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o,fillHeight:a})=>{const i="padding"+("rtl"===o?"Left":"Right");return{[`&.${To.fieldRoot}`]:{...Li({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:a}),[i]:r?"8px":void 0}}})),Ni={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function Ai({layout:e}){const{translator:n}=(0,t.useContext)(Ve),{qStateCounts:r={}}=e?.qListObject?.qDimensionInfo||{},o=r.qSelected+r.qSelectedExcluded+r.qLocked+r.qLockedExcluded;let a;switch(o){case 0:a="ScreenReader.ZeroSelected";break;case 1:a="ScreenReader.OneSelected";break;default:a="ScreenReader.ManySelected"}const i=n.get(a,[o]);return t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},i)}const Ti=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===Ti.ARROW_UP||e===Ti.ARROW_DOWN||e===Ti.ARROW_LEFT||e===Ti.ARROW_RIGHT}),Pi=Ti,Di=e=>+e.getAttribute("data-n"),ki=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Mi=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Fi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:f,pages:p,isLocked:h,column:m=!1,checkboxes:q=!1,textAlign:g,direction:y,layoutOptions:v={},freqIsAllowed:b,isSingleSelect:C,actions:E,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:w=1,rowCount:L=1,dataOffset:_,deducedFrequencyMode:N,focusListItems:A,listCount:T,sizes:P,translator:D,showSearch:k,isModal:M,contentFontStyle:F,styles:B,fillHeight:j}=a,{dense:z=!1,dataLayout:G="singleColumn",layoutOrder:V}=v,{itemPadding:$}=P;let Z,U;const W={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===V?(Z=n*w+r,W.max=L,W.currentIndex=n):(Z=r*L+n,W.max=w,W.currentIndex=r);const e=0;U={...o,height:j?"100%":o.height,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else Z=e,W.max=T,W.currentIndex=e,U={...o};Z+=_;const[H,K]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==H&&(0===W.currentIndex&&A.first&&(H.focus(),A.setFirst(!1)),W.currentIndex===W.max-1&&A.last&&(H.focus(),A.setLast(!1)))}),[H,A.first,A.last]);const X=(0,t.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:f,layoutOrder:p}){const h=(e,t,n=!1)=>{if(e===Pi.ARROW_LEFT||e===Pi.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof f){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===Pi.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:f,rowCount:c,columnCount:u,layoutOrder:p,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let m=!1;const q=e=>{m=e};return c=>{let u;const{currentTarget:d,nativeEvent:f}=c,{keyCode:p,shiftKey:g=!1,ctrlKey:y=!1,metaKey:v=!1}=f;switch(p){case Pi.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),g){ki(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case Pi.SHIFT:q(!0);break;case Pi.SPACE:e([Di(d)],!1,c);break;case Pi.ARROW_DOWN:case Pi.ARROW_RIGHT:u=h(p,d,!0),g&&u&&(m&&(e([Di(d)],!0),q(!1)),e([Di(u)],!0));break;case Pi.ARROW_UP:case Pi.ARROW_LEFT:u=h(p,d,!1),g&&u&&(m&&(e([Di(d)],!0),q(!1)),e([Di(u)],!0));break;case Pi.ENTER:r();break;case Pi.ESCAPE:if(!s())return;o();break;case Pi.HOME:if(i.setFirst(!0),y){a?.("overflowStart");break}a?.("start");break;case Pi.END:if(i.setLast(!0),y){a?.("overflowEnd");break}a?.("end");break;case Pi.A:if(y||v){t();break}return;case Pi.F:if(y||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...E,focusListItems:A,keyboard:I,isModal:M,rowCount:L,columnCount:w,rowIndex:n,columnIndex:r,layoutOrder:V}),[E,I?.innerTabStops,L,w,n,r,V]),Y=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:Z})),[p,Z]),Q="S"===Y?.qState||"XS"===Y?.qState||"L"===Y?.qState||"XL"===Y?.qState,J=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?To.column:To.row];return t||a.push(To.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?To.XS:To.S):"S"===r.qState||"L"===r.qState?a.push(To.S):o&&Bo(r)?a.push(To.A):o&&Fo(r)&&a.push(To.X)),a):[]})({column:m,histogram:O,checkboxes:q,cell:Y,showGray:R})),[Y?.qState,O,z,q]),ee=(0,t.useCallback)((e=>{e.preventDefault()}),[q]),te=(0,t.useMemo)((()=>Y&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:y,cell:Y,textAlign:g})),[y,Y,g]);if(!Y)return null;const ne="grid"===G&&"column"===V,re=Y?.qText??"";let oe;Y.qHighlightRanges?.qRanges?.length&&(oe=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t,n=0){const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(re,Y.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ae={alignItems:"center",display:"flex",fontSize:"8px"},ie="rtl"===y,le={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:ie?8:q?0:void 0,paddingRight:q?0:ie?8:0,justifyContent:te},se=0===e,ce=Q&&h,ue=!q&&Q&&!h,de=!q&&x,fe=q||!x,pe=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ni[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:D,label:re,qState:Y.qState,currentIndex:W.currentIndex,maxIndex:W.max,showSearch:k}),he=!ie&&"right"===te||ie&&"left"===te;return t.createElement(Jo,{className:To.barContainer,checkboxes:q,style:U,styles:B,isGridCol:ne,isGridMode:"grid"===G,dense:z,direction:y,sizes:P,frequencyMode:N,freqHitsValue:he,contentFontStyle:F,"data-testid":"listbox.item"},t.createElement(_i,{role:"row","aria-label":pe,"aria-selected":Q,"aria-setsize":W.max,"aria-rowindex":W.currentIndex,ref:K,container:!0,dataLayout:G,cellPaddingRight:fe,layoutOrder:V,itemPadding:$,gap:0,className:Uo(["value",...J]),classes:{root:To.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:X,onTouchStart:d,onTouchEnd:f,onContextMenu:ee,tabIndex:se&&I.innerTabStops?0:-1,"data-n":Y?.qElemNumber,direction:y,fillHeight:j},Y?.qFrequency&&t.createElement(xi,{qFrequency:Y?.qFrequency,histogram:O,checkboxes:q,isSelected:Q,frequencyMax:S}),t.createElement(Et,{item:!0,style:le,className:Uo([To.cell,To.selectedCell]),title:`${re}`},oe?t.createElement(gi,{onChange:i,labels:oe,checkboxes:q,dense:z,showGray:R,qElemNumber:Y.qElemNumber,isSelected:Q,cell:Y,isGridCol:ne,isSingleSelect:C,valueTextAlign:te,styles:B}):t.createElement(vi,{onChange:i,label:re,qElemNumber:Y.qElemNumber,isSelected:Q,dense:z,cell:Y,isGridCol:ne,showGray:R,isSingleSelect:C,checkboxes:q,valueTextAlign:te,styles:B})),b&&t.createElement(wi,{cell:Y,checkboxes:q,dense:z,showGray:R}),de&&t.createElement(Et,{item:!0,className:To.icon},ce&&t.createElement(Xt,{style:ae,size:"small"}),ue&&t.createElement(Mo,{style:ae,size:"small"}))))};var Bi=o(411),ji=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function zi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||ji(r)&&ji(o)))return!1;var r,o;return!0}const Gi=function(e,t){var n;void 0===t&&(t=zi);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Vi="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function $i(e){cancelAnimationFrame(e.id)}function Zi(e,t){var n=Vi(),r={id:requestAnimationFrame((function o(){Vi()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Ui=-1;function Wi(e){if(void 0===e&&(e=!1),-1===Ui||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Ui=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ui}var Hi=null;function Ki(e){if(void 0===e&&(e=!1),null===Hi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Hi="positive-descending":(t.scrollLeft=1,Hi=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Hi}return Hi}var Xi=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Yi(e){var n,r=e.getColumnOffset,o=e.getColumnStartIndexForOffset,a=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,l=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,c=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,d=e.getRowHeight,f=e.getRowOffset,p=e.getRowStartIndexForOffset,h=e.getRowStopIndexForStartIndex,m=e.initInstanceProps,q=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=m(n.props,fn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:fn(n),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof n.props.initialScrollLeft?n.props.initialScrollLeft:0,scrollTop:"number"==typeof n.props.initialScrollTop?n.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Gi((function(e,t,r,o,a,i,l,s){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),n._callOnScroll=void 0,n._callOnScroll=Gi((function(e,t,r,o,a){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,l=a.columnWidth,s=a.direction,c=a.rowHeight,u=n._getItemStyleCache(q&&l,q&&s,q&&c),p=e+":"+t;if(u.hasOwnProperty(p))o=u[p];else{var h=r(n.props,t,n._instanceProps),m="rtl"===s;u[p]=o={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f(n.props,e,n._instanceProps),height:d(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=Gi((function(e,t,n){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=n.props.direction,c=a;if("rtl"===t)switch(Ki()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&$i(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zi(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}hn(n,e),n.getDerivedStateFromProps=function(e,t){return Qi(e,t),g(e),null};var y=n.prototype;return y.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},y.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,i=a.columnCount,d=a.height,f=a.rowCount,p=a.width,h=this.state,m=h.scrollLeft,q=h.scrollTop,g=Wi();void 0!==r&&(r=Math.max(0,Math.min(r,i-1))),void 0!==o&&(o=Math.max(0,Math.min(o,f-1)));var y=l(this.props,this._instanceProps),v=s(this.props,this._instanceProps)>p?g:0,b=y>d?g:0;this.scrollTo({scrollLeft:void 0!==r?c(this.props,r,n,m,this._instanceProps,b):m,scrollTop:void 0!==o?u(this.props,o,n,q,this._instanceProps,v):q})},y.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},y.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(Ki()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},y.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&$i(this._resetIsScrollingTimeoutId)},y.render=function(){var e=this.props,n=e.children,r=e.className,o=e.columnCount,a=e.direction,i=e.height,c=e.innerRef,u=e.innerElementType,d=e.innerTagName,f=e.itemData,p=e.itemKey,h=void 0===p?Xi:p,m=e.outerElementType,q=e.outerTagName,g=e.rowCount,y=e.style,v=e.useIsScrolling,b=e.width,C=this.state.isScrolling,E=this._getHorizontalRangeToRender(),S=E[0],O=E[1],I=this._getVerticalRangeToRender(),R=I[0],x=I[1],w=[];if(o>0&&g)for(var L=R;L<=x;L++)for(var _=S;_<=O;_++)w.push((0,t.createElement)(n,{columnIndex:_,data:f,isScrolling:v?C:void 0,key:h({columnIndex:_,data:f,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,_)}));var N=l(this.props,this._instanceProps),A=s(this.props,this._instanceProps);return(0,t.createElement)(m||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:dn({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,t.createElement)(u||d||"div",{children:w,ref:c,style:{height:N,pointerEvents:C?"none":void 0,width:A}}))},y._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],f=u[1],p=u[2],h=u[3];this._callOnItemsRendered(i,l,d,f,s,c,p,h)}if("function"==typeof r){var m=this.state,q=m.horizontalScrollDirection,g=m.scrollLeft,y=m.scrollTop,v=m.scrollUpdateWasRequested,b=m.verticalScrollDirection;this._callOnScroll(g,y,q,b,v)}},y._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,f=n||r||i||1;if(0===t||0===l)return[0,0,0,0];var p=o(this.props,d,this._instanceProps),h=a(this.props,p,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,f),q=u&&"forward"!==c?1:Math.max(1,f);return[Math.max(0,p-m),Math.max(0,Math.min(t-1,h+q)),p,h]},y._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=p(this.props,c,this._instanceProps),f=h(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,f+q)),d,f]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},n}var Qi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Ji=function(e,t){return e};function el(e){var n,r=e.getItemOffset,o=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=c(n.props,fn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:fn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Gi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Gi((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,o=n.props,i=o.direction,l=o.itemSize,s=o.layout,c=n._getItemStyleCache(u&&l,u&&s,u&&i);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),f=a(n.props,e,n._instanceProps),p="horizontal"===i||"horizontal"===s,h="rtl"===i,m=p?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:p?0:d,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=Gi((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,i=o;if("rtl"===t)switch(Ki()){case"negative":i=-o;break;case"positive-descending":i=a-r-o}return i=Math.max(0,Math.min(i,a-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;n.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&$i(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zi(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}hn(n,e),n.getDerivedStateFromProps=function(e,t){return tl(e,t),d(e),null};var f=n.prototype;return f.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},f.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?Wi():0:s.scrollHeight>s.clientHeight?Wi():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},f.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},f.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(Ki()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},f.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&$i(this._resetIsScrollingTimeoutId)},f.render=function(){var e=this.props,n=e.children,r=e.className,a=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,c=e.innerTagName,u=e.itemCount,d=e.itemData,f=e.itemKey,p=void 0===f?Ji:f,h=e.layout,m=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,v=e.width,b=this.state.isScrolling,C="horizontal"===a||"horizontal"===h,E=C?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),O=S[0],I=S[1],R=[];if(u>0)for(var x=O;x<=I;x++)R.push((0,t.createElement)(n,{data:d,key:p(x,d),index:x,isScrolling:y?b:void 0,style:this._getItemStyle(x)}));var w=o(this.props,this._instanceProps);return(0,t.createElement)(m||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:dn({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(s||c||"div",{children:R,ref:l,style:{height:C?"100%":w,pointerEvents:b?"none":void 0,width:C?w:"100%"}}))},f._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},f._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),f=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var tl=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},nl=Yi({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var f=Math.round(d+(u-d)/2);return f<Math.ceil(s/2)?0:f>c+Math.floor(s/2)?c:f;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var f=Math.round(d+(u-d)/2);return f<Math.ceil(l/2)?0:f>c+Math.floor(l/2)?c:f;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),rl=el({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,f="horizontal"===i||"horizontal"===u?d:l,p=Math.max(0,s*c-f),h=Math.min(p,t*c),m=Math.max(0,t*c-f+c+a);switch("smart"===n&&(n=r>=m-f&&r<=h+f?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var q=Math.round(m+(h-m)/2);return q<Math.ceil(f/2)?0:q>p+Math.floor(f/2)?p:q;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const ol="#BBB",al="#f1f1f1",il={styledScrollbars:"ListBox-styledScrollbars"},ll=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,sl=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,cl=(e,t,n,r)=>e===t*n+r+n;function ul({renderProps:e,layoutOptions:t,maxCount:n,columnCount:r,rowCount:o,overflowDisclaimer:a,qCardinal:i,dataOffset:l}){const s="column"===t?.layoutOrder&&"singleColumn"!==t.dataLayout,c=ll(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=cl(i,c,s?o:r,l),p=!!l&&sl(e,s),h=d&&!f&&c>=u-1||p||a.state.show;a.set(h)}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dl.apply(this,arguments)}const{StyledFixedSizeList:fl,StyledFixedSizeGrid:pl}=function(){const e=e=>({scrollbarColor:`${ol} ${al}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:al},"&::-webkit-scrollbar-thumb":{backgroundColor:ol,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Bi.Z)(rl,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${il.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,Bi.Z)(nl,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${il.styledScrollbars}`]:e(t)})))}}(),hl=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(n.text,n.font||"12px Source Sans Pro")),[n.text,n.font])};function ml(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function ql({isGridMode:e,dense:t}){let n=t?$o:e?Go:Vo;return e&&(n+=Zo),n}const gl=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,styles:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,{fontSize:h="12px",fontFamily:m="Source sans pro"}=l?.content||{},q=`${h} ${m}`,g=hl({text:ml(e),font:q}),y=hl({text:ml(5),font:q}),v=hl({text:ml(8),font:q}),b=a?y:0,C=i?20:0;let E=56+b+C;!i&&E>=zo&&(E+=20);let S,O,I,R,x=g+18+b+C;!i&&x>=zo&&(x+=20),x=Math.min(150,Math.max(x,E));const w=ql({isGridMode:"grid"===p,dense:f}),L=n??8*w;if(c){let e=t;"row"===c?(S={overflowX:"hidden"},e+=2*Zo,({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s),l=Math.max(l,1);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:x,itemMinWidth:E}))):(S={overflowY:"hidden"},({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c),l=Math.max(l,1);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:L,columnAutoWidth:x,containerWidth:e,itemMinWidth:E})))}O=("singleColumn"===p?1:O)||1,R=("singleColumn"===p?o:R)||r;const _=s.dense?838e3:577e3;R=Math.min(R,_);const N=Math.floor(3355e4/I);O=Math.min(O,N)||1;const A=R*O;return{columnCount:O,columnWidth:I,rowCount:R,overflowStyling:S,itemHeight:w,listHeight:L,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,A),maxCount:{row:_,column:N},itemPadding:Zo,textWidth:g,freqMinWidth:y,freqMaxWidth:v}},yl=({pages:e=[],minimumBatchSize:t,count:n})=>{const r=e.some((e=>e.qArea.qHeight<t)),o=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return r?o:n},[vl,bl]=$e({});function Cl(e){const t=`${e.id}`,[n]=vl();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function El(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Sl(e){return e instanceof El(e).Element||e instanceof Element}function Ol(e){return e instanceof El(e).HTMLElement||e instanceof HTMLElement}function Il(e){return"undefined"!=typeof ShadowRoot&&(e instanceof El(e).ShadowRoot||e instanceof ShadowRoot)}var Rl=Math.max,xl=Math.min,wl=Math.round;function Ll(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function _l(){return!/^((?!chrome|android).)*safari/i.test(Ll())}function Nl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ol(e)&&(o=e.offsetWidth>0&&wl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&wl(r.height)/e.offsetHeight||1);var i=(Sl(e)?El(e):window).visualViewport,l=!_l()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Al(e){var t=El(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Tl(e){return e?(e.nodeName||"").toLowerCase():null}function Pl(e){return((Sl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dl(e){return Nl(Pl(e)).left+Al(e).scrollLeft}function kl(e){return El(e).getComputedStyle(e)}function Ml(e){var t=kl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fl(e,t,n){void 0===n&&(n=!1);var r,o,a=Ol(t),i=Ol(t)&&function(e){var t=e.getBoundingClientRect(),n=wl(t.width)/e.offsetWidth||1,r=wl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Pl(t),s=Nl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==Tl(t)||Ml(l))&&(c=(r=t)!==El(r)&&Ol(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Al(r)),Ol(t)?((u=Nl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=Dl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Bl(e){var t=Nl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function jl(e){return"html"===Tl(e)?e:e.assignedSlot||e.parentNode||(Il(e)?e.host:null)||Pl(e)}function zl(e){return["html","body","#document"].indexOf(Tl(e))>=0?e.ownerDocument.body:Ol(e)&&Ml(e)?e:zl(jl(e))}function Gl(e,t){var n;void 0===t&&(t=[]);var r=zl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=El(r),i=o?[a].concat(a.visualViewport||[],Ml(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Gl(jl(i)))}function Vl(e){return["table","td","th"].indexOf(Tl(e))>=0}function $l(e){return Ol(e)&&"fixed"!==kl(e).position?e.offsetParent:null}function Zl(e){for(var t=El(e),n=$l(e);n&&Vl(n)&&"static"===kl(n).position;)n=$l(n);return n&&("html"===Tl(n)||"body"===Tl(n)&&"static"===kl(n).position)?t:n||function(e){var t=/firefox/i.test(Ll());if(/Trident/i.test(Ll())&&Ol(e)&&"fixed"===kl(e).position)return null;var n=jl(e);for(Il(n)&&(n=n.host);Ol(n)&&["html","body"].indexOf(Tl(n))<0;){var r=kl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ul="top",Wl="bottom",Hl="right",Kl="left",Xl="auto",Yl=[Ul,Wl,Hl,Kl],Ql="start",Jl="end",es="viewport",ts="popper",ns=Yl.reduce((function(e,t){return e.concat([t+"-"+Ql,t+"-"+Jl])}),[]),rs=[].concat(Yl,[Xl]).reduce((function(e,t){return e.concat([t,t+"-"+Ql,t+"-"+Jl])}),[]),os=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function as(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var is={placement:"bottom",modifiers:[],strategy:"absolute"};function ls(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ss(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?is:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},is,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Sl(e)?Gl(e):e.contextElement?Gl(e.contextElement):[],popper:Gl(t)};var i,c,f=function(e){var t=as(e);return os.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(ls(t,n)){l.rects={reference:Fl(t,Zl(n),"fixed"===l.options.strategy),popper:Bl(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!ls(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var cs={passive:!0};function us(e){return e.split("-")[0]}function ds(e){return e.split("-")[1]}function fs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ps(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?us(o):null,i=o?ds(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Ul:t={x:l,y:n.y-r.height};break;case Wl:t={x:l,y:n.y+n.height};break;case Hl:t={x:n.x+n.width,y:s};break;case Kl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?fs(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ql:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Jl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var hs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ms(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,q="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=q.x,m=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=Kl,b=Ul,C=window;if(c){var E=Zl(n),S="clientHeight",O="clientWidth";E===El(n)&&"static"!==kl(E=Pl(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Ul||(o===Kl||o===Hl)&&a===Jl)&&(b=Wl,m-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,m*=s?1:-1),o!==Kl&&(o!==Ul&&o!==Wl||a!==Jl)||(v=Hl,p-=(d&&E===C&&C.visualViewport?C.visualViewport.width:E[O])-r.width,p*=s?1:-1)}var I,R=Object.assign({position:l},c&&hs),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:wl(n*o)/o||0,y:wl(r*o)/o||0}}({x:p,y:m},El(n)):{x:p,y:m};return p=x.x,m=x.y,s?Object.assign({},R,((I={})[b]=y?"0":"",I[v]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",I)):Object.assign({},R,((t={})[b]=y?m+"px":"",t[v]=g?p+"px":"",t.transform="",t))}const qs={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ol(o)&&Tl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ol(r)&&Tl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var gs={left:"right",right:"left",bottom:"top",top:"bottom"};function ys(e){return e.replace(/left|right|bottom|top/g,(function(e){return gs[e]}))}var vs={start:"end",end:"start"};function bs(e){return e.replace(/start|end/g,(function(e){return vs[e]}))}function Cs(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Il(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Es(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ss(e,t,n){return t===es?Es(function(e,t){var n=El(e),r=Pl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=_l();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Dl(e),y:s}}(e,n)):Sl(t)?function(e,t){var n=Nl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Es(function(e){var t,n=Pl(e),r=Al(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Rl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Rl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Dl(e),s=-r.scrollTop;return"rtl"===kl(o||n).direction&&(l+=Rl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Pl(e)))}function Os(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Is(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Rs(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?es:c,d=n.elementContext,f=void 0===d?ts:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,q=void 0===m?0:m,g=Os("number"!=typeof q?q:Is(q,Yl)),y=f===ts?"reference":ts,v=e.rects.popper,b=e.elements[h?y:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Gl(jl(e)),n=["absolute","fixed"].indexOf(kl(e).position)>=0&&Ol(e)?Zl(e):e;return Sl(n)?t.filter((function(e){return Sl(e)&&Cs(e,n)&&"body"!==Tl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Ss(e,n,r);return t.top=Rl(o.top,t.top),t.right=xl(o.right,t.right),t.bottom=xl(o.bottom,t.bottom),t.left=Rl(o.left,t.left),t}),Ss(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(Sl(b)?b:b.contextElement||Pl(e.elements.popper),s,u,i),E=Nl(e.elements.reference),S=ps({reference:E,element:v,strategy:"absolute",placement:o}),O=Es(Object.assign({},v,S)),I=f===ts?O:E,R={top:C.top-I.top+g.top,bottom:I.bottom-C.bottom+g.bottom,left:C.left-I.left+g.left,right:I.right-C.right+g.right},x=e.modifiersData.offset;if(f===ts&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Hl,Wl].indexOf(e)>=0?1:-1,n=[Ul,Wl].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function xs(e,t,n){return Rl(e,xl(t,n))}function ws(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ls(e){return[Ul,Hl,Wl,Kl].some((function(t){return e[t]>=0}))}var _s=ss({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=El(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,cs)})),l&&s.addEventListener("resize",n.update,cs),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,cs)})),l&&s.removeEventListener("resize",n.update,cs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ps({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:us(t.placement),variation:ds(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ms(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ms(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qs,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=rs.reduce((function(e,n){return e[n]=function(e,t,n){var r=us(e),o=[Kl,Ul].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Kl,Hl].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,q=t.options.placement,g=us(q),y=s||(g!==q&&h?function(e){if(us(e)===Xl)return[];var t=ys(e);return[bs(e),t,bs(t)]}(q):[ys(q)]),v=[q].concat(y).reduce((function(e,n){return e.concat(us(n)===Xl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?rs:s,u=ds(r),d=u?l?ns:ns.filter((function(e){return ds(e)===u})):Yl,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Rs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[us(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,C=t.rects.popper,E=new Map,S=!0,O=v[0],I=0;I<v.length;I++){var R=v[I],x=us(R),w=ds(R)===Ql,L=[Ul,Wl].indexOf(x)>=0,_=L?"width":"height",N=Rs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),A=L?w?Hl:Kl:w?Wl:Ul;b[_]>C[_]&&(A=ys(A));var T=ys(A),P=[];if(a&&P.push(N[x]<=0),l&&P.push(N[A]<=0,N[T]<=0),P.every((function(e){return e}))){O=R,S=!1;break}E.set(R,P)}if(S)for(var D=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},k=h?3:1;k>0&&"break"!==D(k);k--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,q=Rs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=us(t.placement),y=ds(t.placement),v=!y,b=fs(g),C="x"===b?"y":"x",E=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(E){if(a){var L,_="y"===b?Ul:Kl,N="y"===b?Wl:Hl,A="y"===b?"height":"width",T=E[b],P=T+q[_],D=T-q[N],k=p?-O[A]/2:0,M=y===Ql?S[A]:O[A],F=y===Ql?-O[A]:-S[A],B=t.elements.arrow,j=p&&B?Bl(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=z[_],V=z[N],$=xs(0,S[A],j[A]),Z=v?S[A]/2-k-$-G-R.mainAxis:M-$-G-R.mainAxis,U=v?-S[A]/2+k+$+V+R.mainAxis:F+$+V+R.mainAxis,W=t.elements.arrow&&Zl(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(L=null==x?void 0:x[b])?L:0,X=T+U-K,Y=xs(p?xl(P,T+Z-K-H):P,T,p?Rl(D,X):D);E[b]=Y,w[b]=Y-T}if(l){var Q,J="x"===b?Ul:Kl,ee="x"===b?Wl:Hl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Ul,Kl].indexOf(g),ie=null!=(Q=null==x?void 0:x[C])?Q:0,le=ae?re:te-S[ne]-O[ne]-ie+R.altAxis,se=ae?te+S[ne]+O[ne]-ie-R.altAxis:oe,ce=p&&ae?function(e,t,n){var r=xs(e,t,n);return r>n?n:r}(le,te,se):xs(p?le:re,te,p?se:oe);E[C]=ce,w[C]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=us(n.placement),s=fs(l),c=[Kl,Hl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Os("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Is(e,Yl))}(o.padding,n),d=Bl(a),f="y"===s?Ul:Kl,p="y"===s?Wl:Hl,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],q=Zl(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=h/2-m/2,v=u[f],b=g-d[c]-u[p],C=g/2-d[c]/2+y,E=xs(v,C,b),S=s;n.modifiersData[r]=((t={})[S]=E,t.centerOffset=E-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Cs(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Rs(t,{elementContext:"reference"}),l=Rs(t,{altBoundary:!0}),s=ws(i,r),c=ws(l,o,a),u=Ls(s),d=Ls(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Ns(e){return(0,Pe.Z)("MuiPopper",e)}(0,Te.Z)("MuiPopper",["root"]);const As={disableDefaultClasses:!1},Ts=t.createContext(As),Ps=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ds=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ks(e){return"function"==typeof e?e():e}const Ms={},Fs=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:p={},slots:h={},TransitionProps:m}=e,q=nr(e,Ps),g=t.useRef(null),y=(0,rr.Z)(g,n),v=t.useRef(null),b=(0,rr.Z)(v,f),C=t.useRef(b);(0,Vr.Z)((()=>{C.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[S,O]=t.useState(E),[I,R]=t.useState(ks(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(ks(o))}),[o]),(0,Vr.Z)((()=>{if(!I||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=_s(I,g.current,tr({placement:E},d,{modifiers:e}));return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,l,s,c,d,E]);const x={placement:S};null!==m&&(x.TransitionProps=m);const w=(0,ct.Z)({root:["root"]},function(e){const{disableDefaultClasses:n}=t.useContext(Ts);return t=>n?"":e(t)}(Ns)),L=null!=(r=h.root)?r:"div",_=cr({elementType:L,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:w.root});return(0,qe.jsx)(L,tr({},_,{children:"function"==typeof a?a(x):a}))})),Bs=t.forwardRef((function(e,n){const{anchorEl:r,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=Ms,popperRef:p,style:h,transition:m=!1,slotProps:q={},slots:g={}}=e,y=nr(e,Ds),[v,b]=t.useState(!0);if(!s&&!u&&(!m||v))return null;let C;if(a)C=a;else if(r){const e=ks(r);C=e&&void 0!==e.nodeType?(0,Lr.Z)(e).body:(0,Lr.Z)(null).body}const E=u||!s||m&&!v?void 0:"none",S=m?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,qe.jsx)(Zr,{disablePortal:l,container:C,children:(0,qe.jsx)(Fs,tr({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:m?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:g},y,{style:tr({position:"fixed",top:0,left:0,display:E},h),TransitionProps:S,children:o}))})})),js=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],zs=(0,ut.ZP)(Bs,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gs=t.forwardRef((function(e,t){var n;const r=(0,ve.Z)(),o=(0,dt.Z)({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:q,transition:g,slots:y,slotProps:v}=o,b=(0,ue.Z)(o,js),C=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,E=(0,ce.Z)({anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:q,transition:g},b);return(0,qe.jsx)(zs,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:C},slotProps:null!=v?v:s},E,{ref:t}))}));var Vs=o(9673);function $s(e){return(0,Pe.Z)("MuiTooltip",e)}const Zs=(0,Te.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Us=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],Ws=(0,ut.ZP)(Gs,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,ce.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Zs.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Zs.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Zs.arrow}`]:(0,ce.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Zs.arrow}`]:(0,ce.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Hs=(0,ut.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,Yt.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,an.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(16/14,Math.round(114285.71428571428)/1e5+"em"),fontWeight:e.typography.fontWeightRegular},{[`.${Zs.popper}[data-popper-placement*="left"] &`]:(0,ce.Z)({transformOrigin:"right center"},t.isRtl?(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Zs.popper}[data-popper-placement*="right"] &`]:(0,ce.Z)({transformOrigin:"left center"},t.isRtl?(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Zs.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Zs.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Ks=(0,ut.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,an.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Xs=!1,Ys=null,Qs={x:0,y:0};function Js(e,t){return n=>{t&&t(n),e(n)}}const ec=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,h,m,q,g,y,v,b,C;const E=(0,dt.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:L=!1,disableInteractive:_=!1,disableTouchListener:N=!1,enterDelay:A=100,enterNextDelay:T=0,enterTouchDelay:P=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:$={},slotProps:Z={},slots:U={},title:W,TransitionComponent:H=wr,TransitionProps:K}=E,X=(0,ue.Z)(E,Us),Y=t.isValidElement(O)?O:(0,qe.jsx)("span",{children:O}),Q=se(),J="rtl"===Q.direction,[ee,te]=t.useState(),[ne,re]=t.useState(null),oe=t.useRef(!1),ae=_||D,ie=t.useRef(),le=t.useRef(),de=t.useRef(),fe=t.useRef(),[pe,he]=(0,Ea.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=pe;const ge=(0,Vs.Z)(k),ye=t.useRef(),ve=t.useCallback((()=>{void 0!==ye.current&&(document.body.style.WebkitUserSelect=ye.current,ye.current=void 0),clearTimeout(fe.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ie.current),clearTimeout(le.current),clearTimeout(de.current),ve()}),[ve]);const be=e=>{clearTimeout(Ys),Xs=!0,he(!0),j&&!me&&j(e)},Ce=(0,sn.Z)((e=>{clearTimeout(Ys),Ys=setTimeout((()=>{Xs=!1}),800+M),he(!1),B&&me&&B(e),clearTimeout(ie.current),ie.current=setTimeout((()=>{oe.current=!1}),Q.transitions.duration.shortest)})),Ee=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),clearTimeout(le.current),clearTimeout(de.current),A||Xs&&T?le.current=setTimeout((()=>{be(e)}),Xs?T:A):be(e))},Se=e=>{clearTimeout(le.current),clearTimeout(de.current),de.current=setTimeout((()=>{Ce(e)}),M)},{isFocusVisibleRef:Oe,onBlur:Ie,onFocus:Re,ref:xe}=(0,cn.Z)(),[,we]=t.useState(!1),Le=e=>{Ie(e),!1===Oe.current&&(we(!1),Se(e))},_e=e=>{ee||te(e.currentTarget),Re(e),!0===Oe.current&&(we(!0),Ee(e))},Ne=e=>{oe.current=!0;const t=Y.props;t.onTouchStart&&t.onTouchStart(e)},Ae=Ee,Te=Se;t.useEffect((()=>{if(me)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}}),[Ce,me]);const Pe=(0,ln.Z)(Y.ref,xe,te,n);W||0===W||(me=!1);const De=t.useRef(),ke={},Me="string"==typeof W;x?(ke.title=me||!Me||L?null:W,ke["aria-describedby"]=me?ge:null):(ke["aria-label"]=Me?W:null,ke["aria-labelledby"]=me&&!Me?ge:null);const Fe=(0,ce.Z)({},ke,X,Y.props,{className:(0,nt.Z)(X.className,Y.props.className),onTouchStart:Ne,ref:Pe},D?{onMouseMove:e=>{const t=Y.props;t.onMouseMove&&t.onMouseMove(e),Qs={x:e.clientX,y:e.clientY},De.current&&De.current.update()}}:{}),Be={};N||(Fe.onTouchStart=e=>{Ne(e),clearTimeout(de.current),clearTimeout(ie.current),ve(),ye.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",fe.current=setTimeout((()=>{document.body.style.WebkitUserSelect=ye.current,Ee(e)}),P)},Fe.onTouchEnd=e=>{Y.props.onTouchEnd&&Y.props.onTouchEnd(e),ve(),clearTimeout(de.current),de.current=setTimeout((()=>{Ce(e)}),F)}),L||(Fe.onMouseOver=Js(Ae,Fe.onMouseOver),Fe.onMouseLeave=Js(Te,Fe.onMouseLeave),ae||(Be.onMouseOver=Ae,Be.onMouseLeave=Te)),w||(Fe.onFocus=Js(_e,Fe.onFocus),Fe.onBlur=Js(Le,Fe.onBlur),ae||(Be.onFocus=_e,Be.onBlur=Le));const je=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=$.popperOptions)&&e.modifiers&&(t=t.concat($.popperOptions.modifiers)),(0,ce.Z)({},$.popperOptions,{modifiers:t})}),[ne,$]),ze=(0,ce.Z)({},E,{isRtl:J,arrow:S,disableInteractive:ae,placement:G,PopperComponentProp:V,touch:oe.current}),Ge=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,Yt.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,ct.Z)(i,$s,t)})(ze),Ve=null!=(r=null!=(o=U.popper)?o:I.Popper)?r:Ws,$e=null!=(a=null!=(i=null!=(l=U.transition)?l:I.Transition)?i:H)?a:wr,Ze=null!=(s=null!=(c=U.tooltip)?c:I.Tooltip)?s:Hs,Ue=null!=(u=null!=(d=U.arrow)?d:I.Arrow)?u:Ks,We=ar(Ve,(0,ce.Z)({},$,null!=(f=Z.popper)?f:R.popper,{className:(0,nt.Z)(Ge.popper,null==$?void 0:$.className,null==(p=null!=(h=Z.popper)?h:R.popper)?void 0:p.className)}),ze),He=ar($e,(0,ce.Z)({},K,null!=(m=Z.transition)?m:R.transition),ze),Ke=ar(Ze,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,nt.Z)(Ge.tooltip,null==(g=null!=(y=Z.tooltip)?y:R.tooltip)?void 0:g.className)}),ze),Xe=ar(Ue,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,nt.Z)(Ge.arrow,null==(b=null!=(C=Z.arrow)?C:R.arrow)?void 0:b.className)}),ze);return(0,qe.jsxs)(t.Fragment,{children:[t.cloneElement(Y,Fe),(0,qe.jsx)(Ve,(0,ce.Z)({as:null!=V?V:Gs,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Qs.y,left:Qs.x,right:Qs.x,bottom:Qs.y,width:0,height:0})}:ee,popperRef:De,open:!!ee&&me,id:ge,transition:!0},Be,We,{popperOptions:je,children:({TransitionProps:e})=>(0,qe.jsx)($e,(0,ce.Z)({timeout:Q.transitions.duration.shorter},e,He,{children:(0,qe.jsxs)(Ze,(0,ce.Z)({},Ke,{children:[W,S?(0,qe.jsx)(Ue,(0,ce.Z)({},Xe,{ref:re})):null]}))}))}))]})})),tc=ec,nc=(0,ut.ZP)(on,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function rc({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(Ve);return t.createElement(tc,{title:o?a.get(n):""},t.createElement(nc,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var oc=o(528);const ac=(0,ut.ZP)(po)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),ic=(0,ut.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),lc=(0,ut.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),sc=(0,ut.ZP)(oc.Z)((()=>({fontSize:"14px"})));function cc({text:e,dismiss:n,dense:r,parentWidth:o=0}){const a="function"==typeof n,i=r?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=r&&o<i;return t.createElement(ac,{left:l,style:{maxWidth:i}},t.createElement(ic,null,t.createElement(rc,{text:e,dense:r,width:s,tooltip:c})),t.createElement(lc,{dense:r},a&&t.createElement(Jn,{"aria-label":"close",onClick:()=>n()},t.createElement(sc,null))))}const uc=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,dc=80;function fc({itemWidth:e,layout:t,frequencyMode:n}){const r=e>dc,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const pc=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`},hc=(e,n)=>{const r=(e=>"fetch"===e?.frequencyMax)(n),[o,a]=(0,t.useState)(),[i,l]=(0,t.useState)(r);return(0,t.useEffect)((()=>{r&&(async()=>{const t=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=pc(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},mc=100,qc=(0,ut.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function gc({model:e,app:n,constraints:r,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:f,fetchStart:p,postProcessPages:h,calculatePagesHeight:m=!1,keyboard:q={},showGray:g=!0,scrollState:y,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:C={set:()=>{}},renderedCallback:E,onCtrlF:S,showSearch:O,isModal:I,styles:R}){const{translator:x}=(0,t.useContext)(Ve),[w,L]=(0,t.useState)(!1),_=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:N=s,histogram:A}=o??{},[T,P]=(0,t.useState)(""),D=(0,t.useRef)(null),k=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),M=(0,t.useRef)({pages:[]}),{frequencyMax:F,awaitingFrequencyMax:B}=hc(n,o),{isLoadingData:j,...z}=function({local:e,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)([]);let[f]=(0,t.useState)(0);const p=(t,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:t+u,stop:s+u});const p=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const n=e.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>f?n.start-f:0,qHeight:f,qLeft:0,qWidth:1},{qTop:n.start,qHeight:f,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),p?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(f=e),p)},pages:u,isLoading:s}}({local:k,loaderRef:D,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:h,listData:M}),{getStoreValue:G,setStoreValue:V}=Cl(e),$=(0,t.useCallback)(z.loadMoreItems,[o]),[Z,U]=(0,t.useState)({show:!1,dismissed:!1}),[W,H]=(0,t.useState)([]);z?.pages&&i.update({setPages:H,pages:z.pages,isSingleSelect:_,selectDisabled:v,layout:o});const K=o?.qListObject.qDimensionInfo.qCardinal;(z?.pages.length&&!B||0===K)&&E?.();const X=(0,t.useCallback)((e=>{if(!W?.length||!k.current.validPages)return!1;k.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=W.filter((e=>t(e)))[0];return n&&t(n)}),[o,W]),{interactionEvents:Y,select:Q}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document,loaderRef:a}){const i=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,t.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=()=>(e.setSelectableValuesUpdating(),No({selections:n,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return _o(t)}(e.enginePages)),c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Do(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Do(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),f=(0,t.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),p=(0,t.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),h=(0,t.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),m=(0,t.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Po)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Po)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,t.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",p),()=>{o.removeEventListener("mouseup",p)})),[p]),(0,t.useEffect)((()=>{const t=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return n.on("clearItemStates",t),n.on("deactivated",t),n.on("cleared",r),()=>{n.removeListener("clearItemStates",t),n.removeListener("deactivated",t),n.removeListener("cleared",r)}}),[n]);const g={};return r?Object.assign(g,{onChange:u}):Object.assign(g,{onMouseUp:f,onMouseDown:d,onMouseEnter:h,onTouchStart:m,onTouchEnd:q}),{interactionEvents:g,select:(t=[],r=!1,o=void 0)=>{const a=!e.isSingleSelect&&Do(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),No({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:N,doc:document,loaderRef:D}),{layoutOptions:J={}}=o||{};let ee=!0;J.dataLayout&&(ee="singleColumn"===J.dataLayout||"row"===J?.layoutOrder);const te="grid"===J?.dataLayout,ne=e=>{const t={...ee?{rowIndex:e}:{columnIndex:e}},n=te?t:e;D.current._listRef.scrollToItem(n)},re=()=>{if(k.current.queue=[],k.current.validPages=!1,D.current){D.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());k.current.dataOffset=0,ne(0)}};f&&f.call(null,re),(0,t.useEffect)((()=>{y&&!w&&D.current&&(D.current._listRef.scrollToItem(y.initScrollPos),L(!0))}),[D.current]),(0,t.useEffect)((()=>{re()}),[o,k.current.dataOffset]);let oe=mc;const ae="grid"!==J.dataLayout,ie=o?.qListObject.qSize?.qcy,le=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?yl({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:W,minimumBatchSize:oe,count:ie,calculatePagesHeight:m,layoutOptions:J,model:e});let se=fc({itemWidth:u,layout:o,frequencyMode:d});const ce=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(W),ue=gl({layout:o,width:u,height:c,listCount:le,count:ie,freqIsAllowed:se,checkboxes:N,styles:R});ue.columnWidth&&(se=fc({itemWidth:ue.columnWidth,layout:o,frequencyMode:d}));const{listCount:de}=ue;V("listCount",de);const fe=G("inputText");(0,t.useEffect)((()=>{if(fe){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(de),t=x.get(e,[de]);P(t)}}),[fe,de]);const pe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=uc(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:ee,sizes:ue,layout:o,offset:k.current.dataOffset});k.current.dataOffset=n,r&&i.triggerStateChanged(),ne(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?ne(C.state.start-e.up):e.down?ne(C.state.stop+e.down):e.scrollPosition&&pe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:he}=o?.qListObject.qDimensionInfo||{},[me,qe]=(0,t.useState)({first:!1,last:!1}),{List:ge,Grid:ye}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:h,textAlign:m,selections:q,keyboard:g,showGray:y,scrollState:v,direction:b,sizes:C,listCount:E,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:w,freqIsAllowed:L,translator:_,showSearch:N,isModal:A,styles:T}){const{layoutOptions:P={}}=e||{},{columnWidth:D,listHeight:k,itemHeight:M,rowCount:F,columnCount:B}=C||{},j=("grid"===P.dataLayout?D:n)>zo,z={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:il.styledScrollbars},G=e?.qListObject.qDimensionInfo.qLocked,V=k<=M,$={isLocked:G,column:!a,pages:i,...G||l()?{}:s,checkboxes:r,layoutOptions:P,deducedFrequencyMode:c,freqIsAllowed:L,isSingleSelect:d,textAlign:m,sizes:C,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:h},frequencyMax:w,histogram:u,keyboard:g,showGray:y,showTick:j,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:_,showSearch:N,isModal:A,styles:T,fillHeight:V};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(fl,dl({},z,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:k,width:n,itemCount:E,itemData:{...$,listCount:E},itemSize:M,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),ul({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Fi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=P||{},c=Math.min(k,F*M+l);return o.current.listRef=a,t.createElement(pl,dl({},z,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:B,columnWidth:D,rowCount:F,rowHeight:M,style:{...i},itemData:{...$,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const n="row"===s;R({start:n?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:n?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,f,p,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,f=i,p=c*o,h=l):(d=s,f=i*a,p=c,h=l*a),{visibleStartIndex:d+f,visibleStopIndex:p+h}}({renderProps:t,scrollState:v,layoutOrder:s,rowCount:F,columnCount:B});ul({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Fi)}}}({direction:l,layout:o,height:c,width:u,checkboxes:N,deducedFrequencyMode:ce,histogram:A,keyboard:q,showGray:g,interactionEvents:Y,select:Q,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:he,isVertical:ae,pages:W,selectDisabled:v,isSingleSelect:_,selections:a,scrollState:y,local:k,sizes:ue,listCount:de,overflowDisclaimer:{state:Z,set:e=>U((t=>({...t,show:e})))},setScrollPosition:pe,focusListItems:{first:me.first,setFirst:e=>qe((t=>({...t,first:e}))),last:me.last,setLast:e=>qe((t=>({...t,last:e})))},setCurrentScrollIndex:C.set,constraints:r,frequencyMax:F,freqIsAllowed:se,translator:x,showSearch:O,isModal:I,styles:R}),{columnWidth:ve,listHeight:be,itemHeight:Ce}=ue||{};return ae||(oe=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:ve,listHeight:be,itemHeight:Ce})),t.createElement(qc,null,t.createElement(Ai,{className:"screenReaderOnly",layout:o}),t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},T),!de&&K>0&&t.createElement(rc,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(wo,{isItemLoaded:X,itemCount:de||1,loadMoreItems:$.with({minimumBatchSize:oe}),threshold:0,minimumBatchSize:oe,ref:D,role:"grid"},ae?ge:ye),Z.show&&!Z.dismissed&&t.createElement(cc,{text:"Listbox.ItemsOverflow",dismiss:()=>U((e=>({...e,dismissed:!0}))),parentWidth:D?.current?._listRef?.props?.width,dense:J?.dense}))}const yc=e=>({...e,shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),vc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),bc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Cc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Ec=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:yc,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:n.get("Selection.SelectPossible"),getSvgIconShape:bc,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:vc,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:Cc,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function Sc(e){return(0,Pe.Z)("MuiDivider",e)}const Oc=(0,Te.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ic=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Rc=(0,ut.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,ce.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,an.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,ce.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,ce.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),xc=(0,ut.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),wc=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=(0,ue.Z)(n,Ic),h=(0,ce.Z)({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e,c={root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]};return(0,ct.Z)(c,Sc,r)})(h);return(0,qe.jsx)(Rc,(0,ce.Z)({as:i,className:(0,nt.Z)(m.root,a),role:u,ref:t,ownerState:h},p,{children:o?(0,qe.jsx)(xc,{className:m.wrapper,ownerState:h,children:o}):null}))}));wc.muiSkipListHighlight=!0;const Lc=wc,_c=e=>({...e,shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function Nc(e){const t=se(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const Ac={className:"njs-cell-action"},Tc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=Nc(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction||n.action,f=d?e=>["Enter"].includes(e.key)&&d():null,p=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h=`actions-toolbar-${n.key}`;return t.createElement(Jn,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[Ac.className,h].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":h},c&&Ht(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Pc=Tc,Dc=e=>({...e,shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),kc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]}),Mc=e=>Ht(kc(e)),Fc=t.createContext({});var Bc=o(5429);function jc(e){return(0,Pe.Z)("MuiListItemIcon",e)}const zc=(0,Te.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Gc=(0,Te.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Vc(e){return(0,Pe.Z)("MuiMenuItem",e)}const $c=(0,Te.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Zc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Uc=(0,ut.ZP)(Wn,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${$c.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${$c.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${$c.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${$c.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${$c.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Oc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Oc.inset}`]:{marginLeft:52},[`& .${Gc.root}`]:{marginTop:0,marginBottom:0},[`& .${Gc.inset}`]:{paddingLeft:36},[`& .${zc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,ce.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${zc.root} svg`]:{fontSize:"1.25rem"}})))),Wc=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,p=(0,ue.Z)(r,Zc),h=t.useContext(Fc),m=t.useMemo((()=>({dense:i||h.dense||!1,disableGutters:s})),[h.dense,i,s]),q=t.useRef(null);(0,Bc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const g=(0,ce.Z)({},r,{dense:m.dense,divider:l,disableGutters:s}),y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},s=(0,ct.Z)(l,Vc,i);return(0,ce.Z)({},i,s)})(r),v=(0,ln.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,qe.jsx)(Fc.Provider,{value:m,children:(0,qe.jsx)(Uc,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,nt.Z)(y.focusVisible,c),className:(0,nt.Z)(y.root,f)},p,{ownerState:g,classes:y}))})})),Hc=Wc,Kc=["className"],Xc=(0,ut.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,ce.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Yc=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Kc),i=t.useContext(Fc),l=(0,ce.Z)({},r,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,ct.Z)(r,jc,n)})(l);return(0,qe.jsx)(Xc,(0,ce.Z)({className:(0,nt.Z)(s.root,o),ownerState:l,ref:n},a))})),Qc=Yc;function Jc(e){return(0,Pe.Z)("MuiList",e)}o(5356),(0,Te.Z)("MuiList",["root","padding","dense","subheader"]);const eu=["children","className","component","dense","disablePadding","subheader"],tu=(0,ut.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,ce.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),nu=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,ue.Z)(r,eu),d=t.useMemo((()=>({dense:l})),[l]),f=(0,ce.Z)({},r,{component:i,dense:l,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,a={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,ct.Z)(a,Jc,t)})(f);return(0,qe.jsx)(Fc.Provider,{value:d,children:(0,qe.jsxs)(tu,(0,ce.Z)({as:i,className:(0,nt.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),ru=nu,ou=Tr,au=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function iu(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function lu(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function su(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function cu(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&su(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const uu=t.forwardRef((function(e,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=e,f=(0,ue.Z)(e,au),p=t.useRef(null),h=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Bc.Z)((()=>{o&&p.current.focus()}),[o]),t.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${ou((0,dr.Z)(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=(0,ln.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===n&&(q+=1,q>=i.length&&(q=-1))}));const g=t.Children.map(i,((e,n)=>{if(n===q){const n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(n.tabIndex=0),t.cloneElement(e,n)}return e}));return(0,qe.jsx)(ru,(0,ce.Z)({role:"menu",ref:m,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,dr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),cu(t,r,c,s,iu);else if("ArrowUp"===n)e.preventDefault(),cu(t,r,c,s,lu);else if("Home"===n)e.preventDefault(),cu(t,null,c,s,iu);else if("End"===n)e.preventDefault(),cu(t,null,c,s,lu);else if(1===n.length){const o=h.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=r&&!o.repeating&&su(r,o);o.previousKeyMatched&&(l||cu(t,r,!1,s,iu,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:g}))}));function du(){return du=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},du.apply(this,arguments)}const fu="More-icon",pu=(0,ut.ZP)(Io)((({theme:e})=>({pointerEvents:"none",[`& .${fu} *`]:{color:e.palette.text.primary}})));function hu({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=Nc(e);return o?null:t.createElement(Hc,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Qc,{className:fu},Ht(e.getSvgIconShape())),t.createElement(on,{noWrap:!0},e.label))}const mu=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>{const s=e.length>0,c=e.findIndex((e=>!e.disabled));return s&&t.createElement(pu,du({},o,{onClose:i,ref:l,open:n,anchorEl:r.current,getContentAnchorEl:null,container:r.current,disablePortal:!0,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:"njs-action-toolbar-more"},paper:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}),t.createElement(uu,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(hu,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),qu="ActionsToolbar",gu={item:`${qu}-item`,itemSpacing:`${qu}-itemSpacing`},yu=(0,ut.ZP)(Io)((({theme:e})=>({[`& .${gu.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),vu=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],addAnchor:o=!1,isRtl:a=!1},i)=>r.length>0?t.createElement(Et,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,r)=>t.createElement(Et,{item:!0,key:e.key,className:`${gu.itemSpacing} ${gu.item}`},t.createElement(Pc,{ariaExpanded:n,key:e.key,item:e,ref:0===r?i:null,addAnchor:o}))))):null)),bu={pointerEvents:"none"},Cu={vertical:"bottom",horizontal:"right"},Eu=function({show:e=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null,direction:c="ltr",autoConfirm:u=!1}){const d=function({api:e,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}){const{translator:a}=(0,t.useContext)(Ve);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:kc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Dc},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:ko}]}(o),{translator:f,keyboardNavigation:p}=(0,t.useContext)(Ve),[h,m]=(0,t.useState)(!1),q={vertical:12,horizontal:(i.anchorEl?.clientWidth??0)-7},g=(0,t.useRef)(),y=(0,t.useRef)(),v=se(),b=(0,t.useMemo)((()=>({margin:v.spacing(.5,0)}))),C=e=>{const t=g.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},E=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case Pi.ARROW_LEFT:case Pi.ARROW_DOWN:case Pi.ARROW_RIGHT:case Pi.ARROW_UP:if(a.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(a);(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})([Pi.ARROW_LEFT,Pi.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case Pi.SPACE:o.preventDefault();break;case Pi.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case Pi.ESCAPE:r&&(r.onCancel(),r.api.cancel(),o.preventDefault(),o.stopPropagation())}}}({keyboardNavigation:p,focusHandler:l,getEnabledButton:C,selections:o})),[p,l,C,o]);if((0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=C(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=C(!0);e&&e.focus()})))}),[]),u)return;let S=a.enabled,O=a.actions;const I=a.alignTo||y,R=n.filter((e=>!e.hidden));if(R.length>r){const e=R.splice(-(R.length-r)-1);S=!0,O=[...e,...a.actions]}if(!o.show&&0===R.length)return null;const x={key:"more",label:f.get("Menu.More"),getSvgIconShape:_c,hidden:!1,active:h,enabled:()=>S,action:()=>m(!h)},w=R.length>0,L=O.length>0,_=w&&o.show||L&&o.show,N="rtl"===c,A=t.createElement(Et,{ref:g,onKeyDown:E,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:N?"row-reverse":"row"}},w&&t.createElement(vu,{actions:R}),L&&t.createElement(vu,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:h,actions:[x],addAnchor:!0}),_&&t.createElement(Et,{item:!0,className:gu.itemSpacing,style:b},t.createElement(Lc,{orientation:"vertical"})),o.show&&t.createElement(vu,{className:"actions-toolbar-default-actions",actions:d,isRtl:N}),h&&t.createElement(mu,{show:h,actions:O,alignTo:I,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(yu,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:q,transformOrigin:Cu,hideBackdrop:!0,style:bu,slotProps:{paper:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:v.spacing(.5,.25)}}}},A):e&&A};var Su;const Ou=["children","classes","className","label","notched"],Iu=(0,ut.ZP)("fieldset",{shouldForwardProp:ut.FO})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Ru=(0,ut.ZP)("legend",{shouldForwardProp:ut.FO})((({ownerState:e,theme:t})=>(0,ce.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,ce.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function xu(e){return(0,Pe.Z)("MuiInputBase",e)}const wu=(0,Te.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function Lu(e){return(0,Pe.Z)("MuiOutlinedInput",e)}const _u=(0,ce.Z)({},wu,(0,Te.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Nu=o(9274),Au=o(2650);const Tu=["onChange","maxRows","minRows","style","value"];function Pu(e){return parseInt(e,10)||0}const Du={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function ku(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Mu=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=nr(e,Tu),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,rr.Z)(n,u),f=t.useRef(null),p=t.useRef(0),[h,m]=t.useState({outerHeightStyle:0}),q=t.useCallback((()=>{const t=u.current,n=(0,Ar.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const r=f.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=n.boxSizing,l=Pu(n.paddingBottom)+Pu(n.paddingTop),s=Pu(n.borderBottomWidth)+Pu(n.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let p=c;return a&&(p=Math.max(Number(a)*d,p)),o&&(p=Math.min(Number(o)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===i?l+s:0),overflow:Math.abs(p-c)<=1}}),[o,a,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=t.useCallback((()=>{const e=q();ku(e)||m((t=>g(t,e)))}),[q]);return(0,Vr.Z)((()=>{const e=()=>{p.current=0,(()=>{const e=q();ku(e)||tt.flushSync((()=>{m((t=>g(t,e)))}))})()};const t=(0,Au.Z)(e),n=u.current,r=(0,Ar.Z)(n);let o;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),o&&o.disconnect()}}),[q]),(0,Vr.Z)((()=>{y()})),t.useEffect((()=>{p.current=0}),[l]),(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("textarea",tr({value:l,onChange:e=>{p.current=0,c||y(),r&&r(e)},ref:d,rows:a,style:tr({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},i)},s)),(0,qe.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:tr({},Du,i,{paddingTop:0,paddingBottom:0})})]})}));function Fu(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,qe.jsx)(In,{styles:r})}const Bu=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,qe.jsx)(Fu,{styles:o})},ju=function(e){return(0,qe.jsx)(Bu,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function zu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Gu=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Vu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$u=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Zu=(0,ut.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Vu})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${wu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,ce.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Uu=(0,ut.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:$u})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,ce.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,ce.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${wu.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${wu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Wu=(0,qe.jsx)(ju,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Hu=t.forwardRef((function(e,n){var r;const o=(0,dt.Z)({props:e,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:l,className:s,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:m=!1,id:q,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:b,minRows:C,multiline:E=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:w,onKeyUp:L,placeholder:_,readOnly:N,renderSuffix:A,rows:T,slotProps:P={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Gu),j=null!=y.value?y.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),$=(0,ln.Z)(G,v,y.ref,V),[Z,U]=t.useState(!1),W=ta(),H=qa({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:Z,t.useEffect((()=>{!W&&f&&Z&&(U(!1),O&&O())}),[W,f,Z,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(zu(e.value)&&""!==e.value||t&&zu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,Bc.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=g,J=y;E&&"input"===Q&&(J=T?(0,ce.Z)({type:void 0,minRows:T,maxRows:T},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:C},J),Q=Mu),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,ce.Z)({},o,{color:H.color||"primary",disabled:H.disabled,endAdornment:h,error:H.error,focused:H.focused,formControl:W,fullWidth:m,hiddenLabel:H.hiddenLabel,multiline:E,size:H.size,startAdornment:k,type:M}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:h}=e,m={root:["root",`color${(0,Yt.Z)(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",f&&"medium"!==f&&`size${(0,Yt.Z)(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,ct.Z)(m,xu,t)})(ee),ne=D.root||c.Root||Zu,re=P.root||u.root||{},oe=D.input||c.Input||Uu;return J=(0,ce.Z)({},J,null!=(r=P.input)?r:u.input),(0,qe.jsxs)(t.Fragment,{children:[!p&&Wu,(0,qe.jsxs)(ne,(0,ce.Z)({},re,!or(ne)&&{ownerState:(0,ce.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),R&&R(e)}},B,{className:(0,nt.Z)(te.root,re.className,s,N&&"MuiInputBase-readOnly"),children:[k,(0,qe.jsx)(ea.Provider,{value:null,children:(0,qe.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:_,readOnly:N,required:H.required,rows:T,value:j,onKeyDown:w,onKeyUp:L,type:M},J,!or(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:$,className:(0,nt.Z)(te.input,J.className,N&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),y.onBlur&&y.onBlur(e),W&&W.onBlur?W.onBlur(e):U(!1)},onChange:(e,...t)=>{if(!z){const t=e.target||G.current;if(null==t)throw new Error((0,Nu.Z)(1));Y({value:t.value})}y.onChange&&y.onChange(e,...t),I&&I(e,...t)},onFocus:e=>{H.disabled?e.stopPropagation():(x&&x(e),y.onFocus&&y.onFocus(e),W&&W.onFocus?W.onFocus(e):U(!0))}}))}),h,A?A((0,ce.Z)({},H,{startAdornment:k})):null]}))]})})),Ku=Hu,Xu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Yu=(0,ut.ZP)(Zu,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Vu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,ce.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${_u.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${_u.focused} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${_u.error} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${_u.disabled} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,ce.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Qu=(0,ut.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Ou),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,qe.jsx)(Iu,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,qe.jsx)(Ru,{ownerState:i,children:a?(0,qe.jsx)("span",{children:n}):Su||(Su=(0,qe.jsx)("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Ju=(0,ut.ZP)(Uu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:$u})((({theme:e,ownerState:t})=>(0,ce.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),ed=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,dt.Z)({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:h,slots:m={},type:q="text"}=s,g=(0,ue.Z)(s,Xu),y=(e=>{const{classes:t}=e,n=(0,ct.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Lu,t);return(0,ce.Z)({},t,n)})(s),v=ta(),b=qa({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,ce.Z)({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:q}),E=null!=(r=null!=(o=m.root)?o:c.Root)?r:Yu,S=null!=(a=null!=(i=m.input)?i:c.Input)?a:Ju;return(0,qe.jsx)(Ku,(0,ce.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,qe.jsx)(Qu,{ownerState:C,className:y.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,qe.jsxs)(t.Fragment,{children:[f," ","*"]})):f,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:d,multiline:p,ref:n,type:q},g,{classes:(0,ce.Z)({},y,{notchedOutline:null})}))}));ed.muiName="Input";const td=ed;function nd(e){return(0,Pe.Z)("MuiInputAdornment",e)}const rd=(0,Te.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var od;const ad=["children","className","component","disablePointerEvents","disableTypography","position","variant"],id=(0,ut.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Yt.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${rd.positionStart}&:not(.${rd.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),ld=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u}=r,d=(0,ue.Z)(r,ad),f=ta()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const h=(0,ce.Z)({},r,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:l,position:c,variant:p}),m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e,l={root:["root",n&&"disablePointerEvents",o&&`position${(0,Yt.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,Yt.Z)(a)}`]};return(0,ct.Z)(l,nd,t)})(h);return(0,qe.jsx)(ea.Provider,{value:null,children:(0,qe.jsx)(id,(0,ce.Z)({as:i,ownerState:h,className:(0,nt.Z)(m.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,qe.jsxs)(t.Fragment,{children:["start"===c?od||(od=(0,qe.jsx)("span",{className:"notranslate",children:""})):null,o]}):(0,qe.jsx)(on,{color:"text.secondary",children:o})}))})})),sd=ld,cd=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e)),ud="/qListObjectDef",dd="**",fd=(0,ut.ZP)(td,{shouldForwardProp:e=>!["styles","dense","isRtl"].includes(e)})((({theme:e,styles:t,dense:n,isRtl:r})=>{let o={};return n&&(o={fontSize:12,paddingLeft:e.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}),{display:"flex",border:"none",fontSize:14,borderRadius:0,backgroundColor:t.search.backgroundColor,paddingLeft:"9px",flexDirection:r?"row-reverse":"row","& fieldset":{borderColor:`${t.search.borderColor}`,borderWidth:"1px 0 1px 0",borderRadius:0},"& .MuiInputBase-root":{...t.search},"& *":{color:t.search.color},"& input":{color:t.search.color,textAlign:r?"right":"left"},"&.Mui-focused fieldset.OutlinedInput-notchedOutline":{borderColor:`${t.search.highlightBorderColor} !important`},...o}}));function pd({selections:e,selectionState:n,model:r,keyboard:o,dense:a=!1,visible:i=!0,autoFocus:l=!0,wildCardSearch:s=!1,searchEnabled:c,direction:u,hide:d,styles:f}){const{translator:p}=(0,t.useContext)(Ve),[h,m]=(0,t.useState)(""),[q,g]=(0,t.useState)(!1),y=(0,t.useRef)(),{getStoreValue:v,setStoreValue:b}=Cl(r),C="rtl"===u,E=async()=>{if(e.isModal())try{await r.abortListObjectSearch(ud)}finally{m("")}};(0,t.useEffect)((()=>{i||E()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",E),()=>{e.removeListener&&e.removeListener("deactivated",E)})),[]),(0,t.useEffect)((()=>{if(q&&y.current){const e=h.length-1;y.current.setSelectionRange(e,e),g(!1)}}),[q,y.current]),(0,t.useEffect)((()=>{b("inputText",h)}),[h]);function S(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(fd,{styles:f,dense:a,isRtl:C,startAdornment:t.createElement(sd,{position:"start"},t.createElement(cd,{size:a?"small":"normal"})),className:"search",inputRef:y,size:"small",fullWidth:!0,placeholder:p.get("Listbox.Search"),value:h,onFocus:()=>{s&&(m(dd),g(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(ud,e.target.value):E()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(ud,h)&&h.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(ud,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":S(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(S(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),S(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,"data-testid":"search-input-field","aria-label":p.get("Listbox.Search.ScreenReaderInstructions")}}):null}function hd(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const md=({appSelections:e,appModal:t,model:n})=>{let r,o=!1,a=!1;const i={id:n.id,setLayout(e){r=e},begin(e){const r=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",r),r.isPrevented()?Promise.resolve():(o=!0,this.emit("activated"),t.begin({model:n,paths:e,accept:!0,objectSelections:i}))},clear(){return a=!1,this.emit("cleared"),r.qListObject?n.clearSelections("/qListObjectDef"):n.resetMadeSelections()},confirm(){return a=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),t.end(!0)},cancel(){return a=!1,o=!1,this.emit("canceled"),this.emit("deactivated"),t.end(!1)},async select(t){const r=this.begin([t.params[0]]);if(!e.isModal())return!1;await r;const o=await n[t.method](...t.params);return a="resetMadeSelections"!==t.method,!!o||(n.resetMadeSelections(),!1)},canClear:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked&&!r.qListObject.qDimensionInfo.qIsOneAndOnlyOne:a,canConfirm:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(r&&r.qListObject&&r.qListObject.qDimensionInfo&&r.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>e.isModal(i),goModal:e=>t.begin({model:n,paths:e,accept:!1,objectSelections:i}),noModal:(e=!1)=>t.end(e)};return hd(i),i},qd=({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}};function gd(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=Ye(e),[l]=Vt(n),[s]=We(),c=s.get(e.id),[u,d]=(0,t.useState)();return(0,t.useEffect)((()=>{i&&n&&!u&&d(md({appSelections:i,appModal:c,model:n}))}),[i,n]),(0,t.useEffect)((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=qd({elements:a,objectSelections:u,options:o});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.isActive()&&u.confirm(),u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),(0,t.useEffect)((()=>{u&&u.setLayout(l)}),[u,l]),[u]}function yd(){const e={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,update({setPages:t,pages:n,isSingleSelect:r,selectDisabled:o,layout:a}){this.setPages=t;const i=this.lastRowCount===a.qListObject.qSize.qcy,l=this.lastApprMaxGlyphCount===a.qListObject.qDimensionInfo.qApprMaxGlyphCount;i&&l||(this.lastRowCount=a.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=a.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),e.enginePages!==n&&void 0!==n&&(e.enginePages=n??[],e.selectedInEngine=function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!Lo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return _o(t)}(n),e.selectableValuesUpdating=!1,e.triggerStateChanged()),e.isSingleSelect=r,e.selectDisabled=o,e.isDimCalculated=a?.qListObject?.qDimensionInfo?.qIsCalculated??!1},allowedToSelect:()=>!(e.selectDisabled()||e.isDimCalculated&&e.selectableValuesUpdating),setSelectableValuesUpdating(){e.selectableValuesUpdating=!0},useClientItemState:t=>e.ignoreSelectionState||t in e.itemStates,isSelected:t=>e.useClientItemState(t)?!!e.itemStates[t]:e.selectedInEngine.includes(t),getState(t){const{qElemNumber:n,qState:r}=t;return e.useClientItemState(n)?e.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(t,n,r){const o=e.isSelected(t);o&&!n?e.itemStates[t]=!1:o||(r?.push(t),e.itemStates[t]=!0)},triggerStateChanged(){if(this.setPages){const t=e.applySelectionsOnPages(e.enginePages);this.setPages(t)}},applySelectionsOnPages:t=>t.map((t=>{const n=t.qMatrix.map((t=>{const[n]=t,r=e.getState(n);return[{...n,qState:r},...t.slice(1)]}));return{...t,qMatrix:n}})),updateItem(t,n,r){e.updateItemNoEvents(t,n,r),e.triggerStateChanged()},updateItems(t,n,r){t.forEach((t=>{e.updateItemNoEvents(t,n,r)})),e.triggerStateChanged()},clearItemStates(t){e.itemStates={},e.ignoreSelectionState=t}};return e}const vd=(e,t,n=void 0)=>e?.[t]??n,bd={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},Cd=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,Ed=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,Sd=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,Od=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,Id=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,Rd=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,{floor:xd}=Math,{round:wd}=Math;class Ld{constructor(...e){let t,n,r,o,a,i,l,s,c,u,d,f,p=0,h=0,m=0,q=1;if(this._invalid=!1,e[0]instanceof Ld)p=e[0]._r,h=e[0]._g,m=e[0]._b,q=e[0]._a,this._invalid=e[0]._invalid;else if(e.length<3)if("string"==typeof e[0])if(f=e[0],d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),q=parseFloat(d[4]);else if(d=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))q=parseInt(d[1],10)/255,p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),q=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),q=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),t%=360,n/=100,o/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,o=o<0?0:o>1?1:o,i=o<=.5?2*o*n:(2-2*o)*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=o-.5*i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m),q=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),q=parseFloat(d[7]),t%=360,n/=100,o/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,o=o<0?0:o>1?1:o,i=o<=.5?2*o*n:(2-2*o)*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=o-.5*i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),a=parseFloat(d[5]),t%=360,n/=100,a/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,a=a<0?0:a>1?1:a,i=a*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=a-i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m),q=1}else bd[f.toLowerCase()]?(r=f.toLowerCase(),p=bd[r].r,h=bd[r].g,m=bd[r].b,q="number"==typeof bd[r].a?bd[r].a:1):this._invalid=!0;else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(q=(4278190080&e[0])>>>24,q/=255,p=(16711680&e[0])>>16,h=(65280&e[0])>>8,m=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(p=(16711680&e[0])>>16,h=(65280&e[0])>>8,m=255&e[0]):this._invalid=!0;else e.length>=3?(p=e[0],h=e[1],m=e[2],q=arguments.length>=4?e[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+q)&&(this._invalid=!0),this._r=xd(p),this._g=xd(h),this._b=xd(m),this._a=q,this._spaces={}}isInvalid(){return this._invalid}setAlpha(e){this._a=e,this._spaces={}}getAlpha(){return this._a}toRGB(){return this._spaces.rgb||(this._spaces.rgb=Ld.toRGB(this)),this._spaces.rgb}toRGBA(){return this._spaces.rgba||(this._spaces.rgba=Ld.toRGBA(this)),this._spaces.rgba}toString(){return this._spaces.rgb||(this._spaces.rgb=Ld.toRGB(this)),this._spaces.rgb}toHex(){return this._spaces.hex||(this._spaces.hex=Ld.toHex(this)),this._spaces.hex}toHSL(e){return this._spaces.hsl||(this._spaces.hsl=Ld.toHSL(this,e)),this._spaces.hsl}toHSLA(e){return this._spaces.hsla||(this._spaces.hsla=Ld.toHSLA(this,e)),this._spaces.hsla}toHSV(){const e=this.toHSVComponents();return`hsv(${e.h},${e.s},${e.v})`}toHSVComponents(){return this._spaces.hsvComp||(this._spaces.hsvComp=Ld.toHSVComponents(this)),this._spaces.hsvComp}toNumber(){return this._spaces.num||(this._spaces.num=Ld.toNumber(this)),this._spaces.num}isDark(){return this.isInvalid()||this.getLuminance()<125}getLuminance(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}shiftLuminance(e){const t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]);let a=parseFloat(n[5]);const i=parseFloat(n[7]);return a+=e,a=Math.max(0,Math.min(a,100)),`hsla(${r},${o},${a},${i})`}isEqual(e){return e instanceof Ld||(e=new Ld(e)),this._r===e._r&&this._g===e._g&&this._b===e._b&&this._a===e._a}blend(e,t){return`rgba(${[xd(this._r+(e._r-this._r)*t),xd(this._g+(e._g-this._g)*t),xd(this._b+(e._b-this._b)*t),xd(this._a+(e._a-this._a)*t)].join(",")})`}createShiftedColor(e){(void 0===e||Number.isNaN(+e))&&(e=1);const t=this.getLuminance(),n=this._g<126?1:1+this._g/512,r=this.shiftLuminance(20*(t*n<220?.8+1/(t+1)*4:-(.8+t/255*1))*e);return new Ld(r)}static toRGB(e){return e instanceof Ld?`rgb(${[e._r,e._g,e._b].join(",")})`:("string"==typeof e&&(e=Ld.toNumber(e)),`rgb(${(16711680&e)>>16},${(65280&e)>>8},${255&e})`)}static toRGBA(e,t){return e instanceof Ld?`rgba(${[e._r,e._g,e._b,void 0!==t?t:e._a].join(",")})`:("string"==typeof e&&(e=Ld.toNumber(e)),`rgba(${(16711680&e)>>16},${(65280&e)>>8},${255&e},${void 0!==t?t:e._a})`)}static toHex(e){let t,n,r;return e instanceof Ld?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${[t,n,r].join("")}`):("string"==typeof e&&(e=Ld.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${t}${n}${r}`)}static toHSL(e,t){let n,r,o,a=0;"string"==typeof e&&(e=new Ld(e));const i=e._r/255,l=e._g/255,s=e._b/255,c=Math.max(i,l,s),u=Math.min(i,l,s);if(r=t?.21*i+.72*l+.07*s:(c+u)/2,c===u)n=0,a=0;else{switch(o=c-u,n=r>.5?o/(2-c-u):o/(c+u),c){case i:a=(l-s)/o+(l<s?6:0);break;case l:a=(s-i)/o+2;break;case s:a=(i-l)/o+4}a/=6}return`hsl(${360*a},${100*n},${100*r})`}static toHSLA(e,t){let n,r,o,a=0;"string"==typeof e&&(e=new Ld(e));const i=e._r/255,l=e._g/255,s=e._b/255,c=e._a,u=Math.max(i,l,s),d=Math.min(i,l,s);if(r=t?.21*i+.72*l+.07*s:(u+d)/2,u===d)n=0,a=0;else{switch(o=u-d,n=r>.5?o/(2-u-d):o/(u+d),u){case i:a=(l-s)/o+(l<s?6:0);break;case l:a=(s-i)/o+2;break;case s:a=(i-l)/o+4}a/=6}return`hsla(${360*a},${100*n},${100*r},${c})`}static toHSVComponents(e){let t,n,r=0;"string"==typeof e&&(e=new Ld(e));const o=e._r/255,a=e._g/255,i=e._b/255,l=Math.max(o,a,i),s=Math.min(o,a,i),c=l;if(l===s)t=0,r=0;else{switch(n=l-s,t=0===n?0:n/c,l){case o:r=(a-i)/n+(a<i?6:0);break;case a:r=(i-o)/n+2;break;case i:r=(o-a)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}}static toNumber(...e){if(1===e.length&&e[0]instanceof Ld)return(e[0]._r<<16)+(e[0]._g<<8)+e[0]._b;let t,n,r=0,o=0,a=0;return 1===e.length&&"string"==typeof e[0]&&(n=e[0],(t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(n))?(r=parseInt(t[1],10),o=parseInt(t[2],10),a=parseInt(t[3],10)):(t=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(n))?(r=parseInt(t[1],16),o=parseInt(t[2],16),a=parseInt(t[3],16)):(t=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(n))&&(r=parseInt(t[1]+t[1],16),o=parseInt(t[2]+t[2],16),a=parseInt(t[3]+t[3],16))),(r<<16)+(o<<8)+a}static blend(e,t,n){const r=(16711680&(e=Ld.toNumber(e)))>>16,o=(65280&e)>>8,a=255&e;return(r+(((16711680&(t=Ld.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(a+((255&t)-a)*n)}static getBlend(e,t,n){const r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,a=e._b+(t._b-e._b)*n,i=e._a+(t._a-e._a)*n;return new Ld(r,o,a,i)}static isCSSColor(e){return!(arguments.length>1||"string"!=typeof e)&&(Cd.test(e)||Ed.test(e)||Sd.test(e)||Od.test(e)||Id.test(e)||Rd.test(e)||bd[e.toLowerCase()])}static getBestContrast(e,t,n){const r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n}static getContrast(e,t){if(!e||!t)return;const n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}static isDark(...e){return new Ld(...e).isDark(...e)}static useDarkLabel(e,t){return e._a>.5?!e.isDark():!t}}const _d=Ld,Nd=/,(?![^(]*\))/,Ad=/\s(?![^(]*\))/,Td=/^[0-9]+[a-zA-Z%]+?$/,Pd=["none","inset","initial","inherit"],Dd=e=>{if(!e)return;const t=e.split(Ad).filter((e=>!Pd.includes(e.toLowerCase()))).at(-1);var n;return!t||"0"===(n=t)||Td.test(n)||Pd.includes(t.toLowerCase())?void 0:t},kd=e=>e?e.split(Nd).map((e=>e.trim())):[];function Md(e,t,n,r){return n&&r?n.getStyle(`object.${r}`,e,t):n?n.getStyle("",e,t):void 0}const Fd=!0;function Bd(e,t,n,r,o){return e&&r?"none"!==e.color?r.getColorPickerColor(e,Fd):void 0:Md(t,n,r,o)}const jd={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},zd={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function Gd(e,t){const n=e?.bgImage;if(n){let r="";if("media"===n.mode||"media"===e.useImage){const e=n?.mediaUrl,{qUrl:o}=e?.qStaticContentUrl||{};r=o?decodeURIComponent(o):void 0,r=function(e,t){return t?function(e){let t,n,r,o;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,r)}"expression"===n.mode&&(r=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const o=function(e){let t="center center";return e?.bgImage?.position&&(t=zd[e.bgImage.position]),t}(e),a=function(e){let t=jd.originalSize;const n=e?.bgImage?.sizing;return n&&(t=jd[n]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function Vd(e,t,n){const r=e?.bgColor;return r&&t&&r.useExpression?t.validateColor(r.colorExpression):Bd(r?.color,"","backgroundColor",t,n)}function $d(e,t,n){const r=Md("shadow","boxShadow",t,n);return((e,t,n)=>{if(e&&Pd.includes(e.toLowerCase()))return e.toLowerCase();const r=kd(e);if(1!==r.length)return e;let o=n;if(!o){const n=kd(t);if(1!==n.length)return e;o=Dd(n[0])}if(!o)return e;const a=Dd(r[0]);return a?e.replace(a,o):`${e} ${o}`})(e?.shadow?.boxShadow||r,r,Bd(e?.shadow?.boxShadowColor,"shadow","boxShadowColor",t,n))}function Zd(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color,!0):n.getStyle(`object.${r}`,t,"color"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const Ud="#FFF",Wd="#000",Hd=1.5,Kd=3,Xd=(e,t)=>{let n=!1;const r=new _d(e),o=new _d(t);if(!(o.isInvalid()||r.isInvalid()||o.getAlpha()<1||r.getAlpha()<1)){try{n=_d.getContrast(r,o)}catch(e){n=void 0}return n}};function Yd(e,t=void 0,n=Wd,r=Ud){const o=new _d(r),a=new _d(e),i=new _d(t);if(a.isInvalid()||i.isInvalid()||a.getAlpha()<1||i.getAlpha()<1)return t;const l=Xd(o,a),s=Xd(i,a),c=l>s||l>Kd;let u;return u=t&&s>Hd&&!c?t:c?r:n,u}const Qd=["theme","selections"];function Jd({app:e,themeApi:t,theme:n,components:r=[],checkboxes:o=!1}){const a=function(e=[]){const t={};return e.forEach((e=>{const n=e?.key;Qd.includes(n)&&(t[n]=e)})),t}(r),i=(e,n)=>t.getStyle("object.listBox",e,n),l=function({theme:e,getListboxStyle:t,overrides:n,checkboxes:r}){const o=n.theme?.content?.fontColor?.color,a=o||t("content","color")||e.palette?.text.primary,i=!r&&(n.theme?.content?.useContrastColor??!0),l=n.selections?.colors||{},s=l.selected?.color||e.palette?.selected.main||"#009845",c=l.alternative?.color||e.palette?.selected.alternative||"#E4E4E4",u=l.excluded?.color||e.palette?.selected.excluded||"#A9A9A9",d=l.selectedExcluded?.color||e.palette?.selected.selectedExcluded||"#A9A9A9",f=l.possible?.color||t("","backgroundColor")||e.palette?.selected.possible||"#FFFFFF";let p=a||e.palette?.selected.selectedContrastText,h=a||e.palette?.selected.alternativeContrastText,m=a||e.palette?.selected.excludedContrastText,q=a||e.palette?.selected.selectedExcludedContrastText,g=a||e.palette?.selected.possibleContrastText;return i&&(p=Yd(s,a),h=Yd(c,a),m=Yd(u,a),q=Yd(d,a),g=Yd(f,a)),{selected:s,alternative:c,excluded:u,selectedExcluded:d,possible:f,selectedContrast:p,alternativeContrast:h,excludedContrast:m,selectedExcludedContrast:q,possibleContrast:g}}({theme:n,getListboxStyle:i,overrides:a,checkboxes:o}),s=a.theme||{},c=s.header?.fontColor?.color||i("title.main","color"),u=function({themeApi:e,themeOverrides:t}){let n;const r=t?.background;return r?(n=r?.useExpression?Vd({bgColor:r},e,"listBox"):e.getColorPickerColor(r,!0)?.color,n):n}({themeApi:t,themeOverrides:s}),d=s.background?.image?Gd({bgImage:s.background.image},e):void 0,f=function(e){return Yd("#fff",e("content","color"))}(i),p=s.header?.fontStyle||{},h=s.content?.fontStyle||{},m=(e,t,n)=>!0===e&&t||!1===e&&n||void 0;return{background:{backgroundColor:u||i("","backgroundColor")||n.palette.background.default,backgroundImage:d?.url&&!d?.url.startsWith("url(")?`url('${d.url}')`:void 0,backgroundRepeat:"no-repeat",backgroundSize:d?.size,backgroundPosition:d?.pos},header:{color:c,fontSize:s.header?.fontSize||i("title.main","fontSize"),fontFamily:s.header?.fontFamily||i("title.main","fontFamily"),fontWeight:m(p.bold,"bold","normal")||i("title.main","fontWeight")||"bold",textDecoration:p.underline?"underline":"initial",fontStyle:m(p.italic,"italic","normal")||i("title.main","fontStyle")||"initial"},content:{backgroundColor:o?void 0:l.possible,color:l.possibleContrast||i("content","color"),fontSize:s.content?.fontSize||i("content","fontSize"),fontFamily:s.content?.fontFamily||i("content","fontFamily"),fontWeight:m(h.bold,"bold","normal")||i("content","fontWeight")||"normal",textDecoration:h.underline?"underline":"initial",fontStyle:m(h.italic,"italic","normal")||i("content","fontStyle")||"initial"},search:{color:f,borderColor:n.palette.divider,highlightBorderColor:n.palette.primary.main,backgroundColor:"rgba(255, 255, 255, 0.7)"},selections:l}}function ef({alignTo:e,anchorOrigin:n={vertical:"bottom",horizontal:"center"},transformOrigin:r={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$",autoFocus:c,components:u,checkboxes:d}){const f=Boolean(l?.qLibraryId),p=o&&Boolean(e.current),[h,m]=(0,t.useState)(0),q=se(),g=(0,t.useRef)(),[y]=Mt({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:f?void 0:[l]},qLibraryId:f?l.qLibraryId:void 0}},i,l,s),v=(0,t.useCallback)((()=>{y.lock("/qListObjectDef")}),[y]),b=(0,t.useCallback)((()=>{y.unlock("/qListObjectDef")}),[y]),{translator:C,themeApi:E}=(0,t.useContext)(Ve),S=(0,t.useRef)(),O=(0,t.useRef)(),[I]=gd(i,y,O),[R]=Vt(y),[x]=(0,t.useState)((()=>yd())),{checkboxes:w=d}=R||{},L=Jd({themeApi:E,theme:q,components:u,checkboxes:w});if((0,t.useEffect)((()=>{I&&p&&(I.isModal(y)||I.goModal("/qListObjectDef"))}),[I,p]),!y||!R||!C)return null;const _=!0===R.qListObject.qDimensionInfo.qLocked,N=(e,t)=>{const n="escapeKeyDown"!==t;I.noModal(n),a()},A=Ec({layout:R,model:y,translator:C,selectionState:x}),T=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return vd(t,"qSelected",0)+vd(t,"qSelectedExcluded",0)+vd(t,"qLocked",0)+vd(t,"qLockedExcluded",0)>0}(R);return t.createElement(Io,{open:p,onClose:N,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Et,{container:!0,direction:"column",gap:0,ref:O},t.createElement(Et,{item:!0,container:!0,style:{padding:q.spacing(1)}},t.createElement(Et,{item:!0},_?t.createElement(Jn,{onClick:b,disabled:!_,size:"large"},t.createElement(Xt,{title:C.get("Listbox.Unlock")})):t.createElement(Jn,{onClick:v,disabled:!T,size:"large"},t.createElement(er,{title:C.get("Listbox.Lock")}))),t.createElement(Et,{item:!0,xs:!0}),t.createElement(Et,{item:!0},t.createElement(Eu,{more:{enabled:!_,actions:A,alignTo:S,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:I,onConfirm:N,onCancel:()=>N(0,"escapeKeyDown")}}))),t.createElement(Et,{item:!0,xs:!0},t.createElement("div",{ref:S}),t.createElement(Et,{item:!0,ref:g},t.createElement(pd,{styles:L,visible:!0,model:y,listCount:h,selections:I,selectionState:x,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(gc,{model:y,app:i,layout:R,selections:I,selectionState:x,direction:"ltr",onSetListCount:e=>m(e),onCtrlF:()=>{const e=g.current.querySelector("input");e?.focus()},styles:L}))))}function tf({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(Ve),s=a||(0,t.useRef)(),c=se(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const h=p.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},m=(h.qSelected+h.qLocked)/p.qTotal,q=h.qAlternative/p.qTotal,g=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/p.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,v=0===y&&0===p.qTotal;let b="";p.qTotal===y&&p.qTotal>1?b=l.get("CurrentSelections.All"):y>1&&p.qTotal?b=l.get("CurrentSelections.Of",[y,p.qTotal]):p.qSelectedFieldSelectionInfo&&(b=p.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==e.states[r]&&(b=`${e.states[r]}: ${b}`);const C=[{color:c.palette.selected.main,ratio:m},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:g}];C.forEach(((e,t)=>{e.offset=t?C[t-1].offset+C[t-1].ratio:0}));let E=null,S=null,O=null,I=null;return a||(E=t.createElement(Et,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(on,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(on,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(Xt,null))):p.qOneAndOnlyOne||(S=t.createElement(Et,{item:!0},t.createElement(Jn,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(Kt,null)))),O=t.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===v&&C.map((e=>t.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:100*e.ratio+"%",left:100*e.offset+"%"}})))),I=t.createElement(Et,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&(e=>{e.currentTarget.contains(e.target)&&d(!u)})||null},E,S,O,u&&t.createElement(ef,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(ef,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const nf=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function rf(e){return(0,Pe.Z)("MuiBadge",e)}const of=(0,Te.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),af=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],lf=(0,ut.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),sf=(0,ut.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,Yt.Z)(n.anchorOrigin.vertical)}${(0,Yt.Z)(n.anchorOrigin.horizontal)}${(0,Yt.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),cf=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,dt.Z)({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:f={},componentsProps:p={},children:h,overlap:m="rectangular",color:q="default",invisible:g=!1,max:y=99,badgeContent:v,slots:b,slotProps:C,showZero:E=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,af),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=nf({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:y,invisible:g,badgeContent:v,showZero:E}),L=nf({anchorOrigin:c,color:q,overlap:m,variant:S,badgeContent:v}),_=R||null==I&&"dot"!==S,{color:N=q,overlap:A=m,anchorOrigin:T=c,variant:P=S}=_?L:s,D="dot"!==P?w:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:_,max:x,displayValue:D,showZero:E,anchorOrigin:T,color:N,overlap:A,variant:P}),M=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e,l={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${(0,Yt.Z)(n.vertical)}${(0,Yt.Z)(n.horizontal)}`,`anchorOrigin${(0,Yt.Z)(n.vertical)}${(0,Yt.Z)(n.horizontal)}${(0,Yt.Z)(o)}`,`overlap${(0,Yt.Z)(o)}`,"default"!==t&&`color${(0,Yt.Z)(t)}`]};return(0,ct.Z)(l,rf,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:lf,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:sf,j=null!=(i=null==C?void 0:C.root)?i:p.root,z=null!=(l=null==C?void 0:C.badge)?l:p.badge,G=cr({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,nt.Z)(null==j?void 0:j.className,M.root,u)}),V=cr({elementType:B,externalSlotProps:z,ownerState:k,className:(0,nt.Z)(M.badge,null==z?void 0:z.className)});return(0,qe.jsxs)(F,(0,ce.Z)({},G,{children:[h,(0,qe.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),uf=cf;var df=o(6842);function ff(e){return(0,Pe.Z)("MuiListItem",e)}const pf=(0,Te.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),hf=(0,Te.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function mf(e){return(0,Pe.Z)("MuiListItemSecondaryAction",e)}(0,Te.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const qf=["className"],gf=(0,ut.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,ce.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),yf=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,qf),i=t.useContext(Fc),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,ct.Z)(r,mf,n)})(l);return(0,qe.jsx)(gf,(0,ce.Z)({className:(0,nt.Z)(s.root,o),ownerState:l,ref:n},a))}));yf.muiName="ListItemSecondaryAction";const vf=yf,bf=["className"],Cf=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Ef=(0,ut.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,ce.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${hf.root}`]:{paddingRight:48}},{[`&.${pf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pf.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Sf=(0,ut.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Of=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:a=!1,button:i=!1,children:l,className:s,component:c,components:u={},componentsProps:d={},ContainerComponent:f="li",ContainerProps:{className:p}={},dense:h=!1,disabled:m=!1,disableGutters:q=!1,disablePadding:g=!1,divider:y=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,bf),I=(0,ue.Z)(r,Cf),R=t.useContext(Fc),x=t.useMemo((()=>({dense:h||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,h,q]),w=t.useRef(null);(0,Bc.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const L=t.Children.toArray(l),_=L.length&&(0,df.Z)(L[L.length-1],["ListItemSecondaryAction"]),N=(0,ce.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:m,disableGutters:q,disablePadding:g,divider:y,hasSecondaryAction:_,selected:C}),A=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e,d={root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,ct.Z)(d,ff,r)})(N),T=(0,ln.Z)(w,n),P=S.root||u.Root||Ef,D=E.root||d.root||{},k=(0,ce.Z)({className:(0,nt.Z)(A.root,D.className,s),disabled:m},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,nt.Z)(pf.focusVisible,v),M=Wn),_?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,qe.jsx)(Fc.Provider,{value:x,children:(0,qe.jsxs)(Sf,(0,ce.Z)({as:f,className:(0,nt.Z)(A.container,p),ref:T,ownerState:N},O,{children:[(0,qe.jsx)(P,(0,ce.Z)({},D,!or(P)&&{as:M,ownerState:(0,ce.Z)({},N,D.ownerState)},k,{children:L})),L.pop()]}))})):(0,qe.jsx)(Fc.Provider,{value:x,children:(0,qe.jsxs)(P,(0,ce.Z)({},D,{as:M,ref:T},!or(P)&&{ownerState:(0,ce.Z)({},N,D.ownerState)},k,{children:[L,b&&(0,qe.jsx)(vf,{children:b})]}))})})),If=Of;var Rf=o(3467);const xf=t.createContext({}),wf=t.createContext(void 0),Lf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_f=e=>(0,ce.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Nf=(0,ut.ZP)(Wn,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Yt.Z)(n.color)}`],t[`size${(0,Yt.Z)(n.size)}`],t[`${n.variant}Size${(0,Yt.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,ce.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,ce.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ke.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ke.disabled}`]:(0,ce.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,an.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ke.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ke.disabled}`]:{boxShadow:"none"}})),Af=(0,ut.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,Yt.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},_f(e)))),Tf=(0,ut.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,Yt.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},_f(e)))),Pf=t.forwardRef((function(e,n){const r=t.useContext(xf),o=t.useContext(wf),a=(0,Rf.Z)(r,e),i=(0,dt.Z)({props:a,name:"MuiButton"}),{children:l,color:s="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:m,fullWidth:q=!1,size:g="medium",startIcon:y,type:v,variant:b="text"}=i,C=(0,ue.Z)(i,Lf),E=(0,ce.Z)({},i,{color:s,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:q,size:g,type:v,variant:b}),S=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,Yt.Z)(t)}`,`size${(0,Yt.Z)(o)}`,`${a}Size${(0,Yt.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,Yt.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,Yt.Z)(o)}`]},s=(0,ct.Z)(l,De,i);return(0,ce.Z)({},i,s)})(E),O=y&&(0,qe.jsx)(Af,{className:S.startIcon,ownerState:E,children:y}),I=h&&(0,qe.jsx)(Tf,{className:S.endIcon,ownerState:E,children:h}),R=o||"";return(0,qe.jsxs)(Nf,(0,ce.Z)({ownerState:E,className:(0,nt.Z)(r.className,S.root,u,R),component:c,disabled:d,focusRipple:!p,focusVisibleClassName:(0,nt.Z)(S.focusVisible,m),ref:n,type:v},C,{classes:S,children:[O,l,I]}))})),Df=Pf,kf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e)),Mf={item:"MultiState-item"},Ff=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${Mf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Bf({field:e,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}){const[a,i]=(0,t.useState)(!!r),[l,s]=(0,t.useState)(-1),[c,u]=(0,t.useState)(r?r.current:null),d=r||(0,t.useRef)(),{translator:f}=(0,t.useContext)(Ve),p=f.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;r||(m=t.createElement(t.Fragment,null,t.createElement(Et,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(uf,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(on,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Et,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(kf,null)))));const q=t.createElement(ru,{dense:!0},t.createElement(If,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Df,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(If,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(Ri,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(tf,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=t.createElement(Io,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},q),y=r?g:t.createElement(Ff,{container:!0,gap:0,className:Mf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&g,l>-1&&t.createElement(ef,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return r&&l>-1?t.createElement(ef,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const jf="More",zf={item:`${jf}-item`,badge:`${jf}-badge`},Gf=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${zf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${zf.badge}`]:{padding:e.spacing(0,1)}})));function Vf({items:e=[],api:n}){const r=se(),[o,a]=(0,t.useState)(!1),[i,l]=(0,t.useState)(-1),[s,c]=(0,t.useState)(null),u=(0,t.useRef)(),d=()=>{l(-1)};let f=null;return i>-1&&(f=e[i].states.length>1?t.createElement(Bf,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(tf,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Gf,{container:!0,gap:0,className:zf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Et,{item:!0},t.createElement(Ri,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(on,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(kf,null))),o&&t.createElement(Io,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},t.createElement(ru,{dense:!0},e.map(((e,r)=>t.createElement(If,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(Ri,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Bf,{field:e,api:n}):t.createElement(tf,{field:e,api:n}))))))),f)}const $f=120,Zf=72;function Uf(e,t,n="$"){e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function Wf({api:e,app:n}){const r=se(),[o]=Bt(n),[a]=Vt(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=Ke(),[c,u]=Zt(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-Zf,n=Math.floor(t/$f);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&Uf(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>Uf(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(a);l((t=>{const r=e;if((()=>{const{model:e}=s.get(n.id)||{};return"njsListbox"===e?.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,e.isInModal(),d]),t.createElement(Et,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Et,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${$f}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Bf,{field:n,api:e}):t.createElement(tf,{field:n,api:e})))),i.more.length>0&&t.createElement(Et,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${Zf}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Vf,{items:i.more,api:e})))}const Hf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e)),Kf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e)),Xf=(e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)};function Yf({api:e,app:n}){const{translator:r}=(0,t.useContext)(Ve),[o]=function(e){const[n]=Bt(e),[r]=Vt(n),[o]=$t(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&Xf(n,r,o)}),[o,n,r]),(0,t.useEffect)((()=>{if(!r)return;let e=!1,t=!1,n=!1;[r,...r.alternateStates||[]].forEach((r=>{e=e||r.qSelectionObject&&r.qSelectionObject.qBackCount>0,t=t||r.qSelectionObject&&r.qSelectionObject.qForwardCount>0,n=n||(r.qSelectionObject&&r.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),i({canGoBack:e,canGoForward:t,canClear:n})}),[r]),[a,n,r]}(n);return t.createElement(Et,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Et,{item:!0},t.createElement(Jn,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(Hf,null))),t.createElement(Et,{item:!0},t.createElement(Jn,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(Kf,null))),t.createElement(Et,{item:!0},t.createElement(Jn,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(Mc,null))))}const Qf=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function Jf([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function ep(){return Qf.map(Jf).join("")}function tp({app:e}){const n=se(),[r]=Ye(e);return r?t.createElement(Et,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Et,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(Yf,{api:r,app:e})),t.createElement(Et,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(Wf,{api:r,app:e}))):null}let np;np="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;let rp=null,op=null;const ap=np.clearTimeout,ip=np.setTimeout,lp=np.cancelAnimationFrame||np.mozCancelAnimationFrame||np.webkitCancelAnimationFrame,sp=np.requestAnimationFrame||np.mozRequestAnimationFrame||np.webkitRequestAnimationFrame;null==lp||null==sp?(rp=ap,op=function(e){return ip(e,20)}):(rp=function([e,t]){lp(e),ap(t)},op=function(e){const t=sp((function(){ap(n),e()})),n=ip((function(){lp(t),e()}),20);return[t,n]});class cp extends t.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(a=l.paddingTop)&&void 0!==a?a:"0"),d=parseFloat(null!==(i=l.paddingBottom)&&void 0!==i?i:"0"),f=this._parentNode.getBoundingClientRect(),p=f.height-u-d,h=f.width-s-c,m=this._parentNode.offsetHeight-u-d,q=this._parentNode.offsetWidth-s-c;(e||this.state.height===m&&this.state.scaledHeight===p)&&(t||this.state.width===q&&this.state.scaledWidth===h)||(this.setState({height:m,width:q,scaledHeight:p,scaledWidth:h}),"function"==typeof n&&n({height:m,scaledHeight:p,scaledWidth:h,width:q}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&rp(this.__resizeRAF__),this.__resizeRAF__=op((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=np.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o=!1,disableWidth:a=!1,nonce:i,onResize:l,style:s={},tagName:c="div",...u}=this.props,{height:d,scaledHeight:f,scaledWidth:p,width:h}=this.state,m={overflow:"visible"},q={};let g=!1;return o||(0===d&&(g=!0),m.height=0,q.height=d,q.scaledHeight=f),a||(0===h&&(g=!0),m.width=0,q.width=h,q.scaledWidth=p),(0,t.createElement)(c,{ref:this._setRef,style:{...m,...s},...u},!g&&e(q))}}const up=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"}}]}))(e));function dp(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function fp(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function pp({keyboard:e,hovering:t,updateKeyScroll:n,containerRef:r,currentScrollIndex:o,isModal:a,constraints:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:o=!1}=t.nativeEvent,i=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=a();switch(n){case Pi.TAB:if(s)o?Mi(l)||ki(l):ki(l)||Mi(l);else{if(!o)break;e.blur(!0)}i();break;case Pi.ENTER:case Pi.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case Pi.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=fp(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{dp(r.current),n.classList.add("last-focused"),e.blur();const t=n.closest(".listbox-container");t.setAttribute("tabIndex",-1),t?.focus()}})(t)}},handleOnMouseEnter:()=>{(()=>{const e=i?.select||i?.active,t=a();return e||t})()||(t.current=!0)},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current)return;const{keyCode:r,ctrlKey:a=!1,shiftKey:i=!1}=e;switch(r){case Pi.ARROW_UP:n({up:1});break;case Pi.ARROW_DOWN:n({down:1});break;case Pi.PAGE_UP:n({up:o.stop-o.start});break;case Pi.PAGE_DOWN:n({down:o.stop-o.start});break;case Pi.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case Pi.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}function hp({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a,keyboard:i}){return{show:t&&!e,popover:{show:t&&e,anchorEl:n.current},more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:t,api:a,onConfirm:()=>{i?.focus()},onCancel:()=>{i?.focus()}}}}const mp=(0,ut.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function qp({text:e}){const{translator:n}=(0,t.useContext)(Ve);return t.createElement(mp,null,n.get(e))}function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(this,arguments)}const yp="ListBoxInline",vp={listBoxHeader:`${yp}-listBoxHeader`,screenReaderOnly:`${yp}-screenReaderOnly`,listboxWrapper:`${yp}-listboxWrapper`},bp=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["containerPadding","isGridMode","styles"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n,styles:r})=>({...r.background,[`& .${vp.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${vp.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${vp.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}))),Cp=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["styles","isRtl"].includes(e)})((({styles:e,isRtl:t})=>({flexDirection:t?"row-reverse":"row",wrap:"nowrap",minHeight:32,alignContent:"center",...e.header,"& *":{color:e.header.color}}))),Ep=(0,ut.ZP)(on)((({styles:e})=>({...e.header,paddingRight:"1px"})));function Sp({options:e,layout:n}){const{app:r,direction:o,frequencyMode:a,checkboxes:i,search:l=!0,focusSearch:s=!1,rangeSelect:c=!0,model:u,selections:d,update:f,fetchStart:p,selectDisabled:h=(()=>!1),postProcessPages:m,calculatePagesHeight:q,showGray:g=!0,scrollState:y,renderedCallback:v,toolbar:b=!0,isPopover:C=!1,components:E}=e,S=se(),O=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:I,keyboardNavigation:R,themeApi:x,constraints:w}=(0,t.useContext)(Ve),{checkboxes:L=i}=n||{},_=Jd({app:r,themeApi:x,theme:S,components:E,checkboxes:L}),N=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),A=(0,t.useRef)(),[T,P]=Zt(),[D,k]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[M,F]=(0,t.useState)(!1),[B,j]=(0,t.useState)(!1),z=(0,t.useRef)(!1),[G,V]=(0,t.useState)({down:0,up:0,scrollPosition:""}),$=e=>V((t=>({...t,...e}))),[Z,U]=(0,t.useState)({start:0,stop:0}),[W]=Ye(r),H=(0,t.useRef)(null),[K]=(0,t.useState)((()=>yd())),X=function({containerRef:e,enabled:n}){const[r,o]=(0,t.useState)(!1);return{enabled:n,active:r,innerTabStops:!n||r,blur(t){if(!n)return;o(!1);const r=fp(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),dp(e.current),t&&r&&(r.setAttribute("tabIndex",0),r.focus())},focus(){if(!n)return;o(!0);const t=e.current,r=t?.querySelector(".search input"),a=t?.querySelector(".value.last-focused"),i=t?.querySelector(".value.selector, .value"),l=t?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||a||i||l;s?.setAttribute("tabIndex",0),s?.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");e?.setAttribute("tabIndex",0),e?.focus()}}}({containerRef:A,enabled:R}),Y=(0,t.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:r,appSelections:W})),[r,W]),Q=n?.qListObject.qDimensionInfo.qError,J=Q&&w.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[ee,te]=(0,t.useState)(!1),{handleKeyDown:ne,handleOnMouseEnter:re,handleOnMouseLeave:oe,globalKeyDown:ae}=(0,t.useMemo)((()=>pp({keyboard:X,hovering:z,updateKeyScroll:$,containerRef:A,currentScrollIndex:Z,app:r,appSelections:W,constraints:w,isModal:Y})),[X,z,$,A,Z,r,W,w,Y]),ie=b&&(""===n?.title||!1===n?.showTitle)&&!C,le=b&&""!==n?.title&&!1!==n?.showTitle||C;(0,t.useEffect)((()=>(document.addEventListener("keydown",ae),()=>{document.removeEventListener("keydown",ae)})),[ae]),(0,t.useEffect)((()=>{const e=()=>{F(!0)},t=()=>{F(!1),"toggle"===l&&j(!1)};return C&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),F(C)),d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),F(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,C]),(0,t.useEffect)((()=>{if(D&&D.current&&(l&&s||"toggle"===l&&B)){const e=D.current.querySelector("input");e&&e.focus()}}),[D&&D.current,B,l,s]);const{wildCardSearch:ce,searchEnabled:ue,autoConfirm:de=!1,layoutOptions:fe={}}=n??{},pe=!1!==ue&&"toggle"===l,he=!0===n?.qListObject?.qDimensionInfo?.qLocked,me=he||pe,qe="H"===n?.qListObject?.qDimensionInfo?.qGrouping,ge=me||qe,ye=(me?28:0)+(qe?19:0),ve="rtl"===o,be=9-(me?7:0),Ce=ve?9-(ge?7:0):4;if((0,t.useEffect)((()=>{if(!H.current||!P)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,headerPaddingLeft:r,headerPaddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:P,titleRef:H,iconsWidth:ye,headerPaddingLeft:be,headerPaddingRight:Ce});te(e)}),[H.current,P]),!u||!n||!I)return null;const Ee=Ec({layout:n,model:u,translator:I,selectionState:K,isDirectQuery:N}),Se=(!0===l||"toggle"===l&&B)&&!h()&&!1!==ue,Oe=fe.dense??!1,Ie=()=>{j(!B)},Re=()=>{if("toggle"===l)Ie();else{const e=D.current.querySelector("input");e?.focus()}},xe=e=>({...hp({isDetached:!C&&e,showToolbar:M,containerRef:A,isLocked:he,listboxSelectionToolbarItems:Ee,selections:d,keyboard:X}),autoConfirm:de}),we=Se&&"toggle"===l,Le="grid"===fe?.dataLayout,_e=function({isGridMode:e,dense:t,height:n,layoutOrder:r}){let o;if(e){let a;a=ql({isGridMode:e,dense:t})>n?"0px":"2px",o="row"===r?`${a} 4px`:`${a} 6px ${a} 4px`}else o=void 0;return o}({isGridMode:Le,dense:Oe,height:A.current?.clientHeight,layoutOrder:fe.layoutOrder}),Ne=w?.active?t.createElement(cd,{title:I.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(Jn,{onClick:Ie,tabIndex:-1,title:I.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(cd,{style:{fontSize:"12px"}})),Ae=h()?t.createElement(Xt,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(Jn,{title:I.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:O,size:"large"},t.createElement(Xt,{disableRipple:!0,style:{fontSize:"12px"}}));Q&&v?.();const Te=le?$o+10:0;return t.createElement(t.Fragment,null,ie&&t.createElement(Eu,gp({direction:o},xe(!0))),t.createElement(bp,{className:"listbox-container",container:!0,tabIndex:X.enabled?-1:void 0,direction:"column",gap:0,containerPadding:_e,styles:_,style:{height:"100%",flexFlow:"column nowrap"},onKeyDown:ne,onMouseEnter:re,onMouseLeave:oe,ref:e=>{A.current=e,T(e)},isGridMode:Le,"aria-label":X.active?I.get("Listbox.ScreenReaderInstructions"):""},le&&t.createElement(Cp,{item:!0,container:!0,styles:_,isRtl:ve,marginY:1,paddingLeft:`${be}px`,paddingRight:`${Ce}px`},ge&&t.createElement(Et,{item:!0,container:!0,alignItems:"center",width:ye},he?Ae:pe&&Ne,qe&&t.createElement(up,{tabIndex:-1,title:I.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Et,{item:!0,xs:!0,minWidth:0,justifyContent:ve?"flex-end":"flex-start",className:vp.listBoxHeader},t.createElement(Ep,{variant:"h6",noWrap:!0,ref:H,title:n.title,styles:_},n.title)),t.createElement(Et,{item:!0,display:"flex"},t.createElement(Eu,gp({direction:o},xe(ee))))),t.createElement(Et,{item:!0,container:!0,direction:"column",height:"100%",minHeight:Te,role:"region","aria-label":I.get("Listbox.ResultFilterLabel")},t.createElement(Et,{item:!0,ref:k},t.createElement(pd,{selections:d,selectionState:K,model:u,dense:Oe,keyboard:X,visible:Se,search:l,autoFocus:we,wildCardSearch:ce,searchEnabled:ue,direction:o,hide:pe&&Ie,styles:_})),t.createElement(Et,{item:!0,xs:!0,className:vp.listboxWrapper},Q?t.createElement(qp,{text:J}):t.createElement(cp,null,(({height:e,width:i})=>t.createElement(gc,{model:u,app:r,constraints:w,layout:n,selections:d,selectionState:K,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:L,height:e,width:i,update:f,fetchStart:p,postProcessPages:m,calculatePagesHeight:q,selectDisabled:h,keyboard:X,showGray:g,scrollState:y,keyScroll:{state:G,reset:()=>V({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:Z,set:U},renderedCallback:v,onCtrlF:Re,isModal:Y,styles:_})))))))}const Op=t.memo(Sp),Ip=function({options:e={}}){const{model:n}=e,[r]=Vt(n);return t.createElement(Op,{options:e,layout:r})},Rp={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,autoConfirm:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function xp(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const wp=(e={})=>{const{__DO_NOT_USE__:t={},...n}=e;return{...n,update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1,...t}};function Lp({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i});s||Object.assign(i,{frequencyMode:xp(i.frequencyMode)});const[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=Dt(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;let{histogram:h=!1,frequencyMode:m="N"}=o;a&&a.failedToFetchFieldDef&&(h=!1,m="N"),(0,t.useEffect)((()=>{const t=h||"N"!==m;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:q,checkboxes:g,listLayout:y,properties:v={}}=o,b={dense:q};"horizontal"===y&&(b.dataLayout="grid",b.layoutOrder="column",b.maxVisibleColumns={auto:!0},b.maxVisibleRows={auto:!1,maxRows:1});const C=(0,t.useRef)();C.current||(C.current=ep());const E=G()(!0,{},Rp,{qInfo:{qId:C.current},qListObjectDef:{qStateName:r,qFrequencyMode:h&&"N"===m?"V":m},histogram:h,checkboxes:g,layoutOptions:b,title:p});let S;if(G()(!0,E,v),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==m&&h)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:pc(e)}}const[O]=Mt(E,l?null:e,S,r);return(0,t.useEffect)((()=>{O&&u(O)}),[O]),c}({app:e,fieldIdentifier:n,stateName:o,options:i}),p=(0,t.useRef)(a),h=c?i.selectionsApi:gd(e,f,[p,".njs-action-toolbar-more",".njs-action-toolbar-popover"],i)[0],m=(0,t.useMemo)((()=>({...i,selections:h,model:f,app:e,renderedCallback:l})),[i,h,f,e]);return h&&f?t.createElement(Ip,{options:m}):null}const _p={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Np({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(ef,{show:i,app:e,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1),a.onPopoverClose&&a.onPopoverClose()},fieldName:n,stateName:r,autoFocus:a.autoFocus,components:a.components})}function Ap(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Tp(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}const Pp=e=>({qDef:{qFieldDefs:[e]}}),Dp=e=>({qDef:{qDef:e}});function kp({dc:e,def:t,properties:n}){e.qDimensions=e.qDimensions||[],e.qMeasures=e.qMeasures||[],e.qInterColumnSortOrder=e.qInterColumnSortOrder||[],e.qInitialDataFetch=e.qInitialDataFetch||[],e.qColumnOrder=e.qColumnOrder||[],e.qExpansionState=e.qExpansionState||[];const r=n,o={dimensions:()=>e.qDimensions,measures:()=>e.qMeasures,addDimension(n){const a="string"==typeof n?Pp(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||ep(),a.qDef.qSortCriterias=a.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],a.qOtherTotalSpec=a.qOtherTotalSpec||{},a.qAttributeExpressions=a.qAttributeExpressions||[],a.qAttributeDimensions=a.qAttributeDimensions||[],e.qDimensions.length<o.maxDimensions()?(e.qDimensions.push(a),Ap(e.qInterColumnSortOrder,e.qDimensions.length-1),t.dimensions.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qDimensions.push(a)),a},removeDimension(n){const o=e.qDimensions.splice(n,1)[0];return Tp(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Dp(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||ep(),a.qSortBy=a.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},a.qAttributeDimensions=a.qAttributeDimensions||[],a.qAttributeExpressions=a.qAttributeExpressions||[],e.qMeasures.length<o.maxMeasures()?(e.qMeasures.push(a),Ap(e.qInterColumnSortOrder,e.qDimensions.length+e.qMeasures.length-1),t.measures.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qMeasures.push(a))},removeMeasure(n){const o=e.qMeasures.splice(n,1)[0];Tp(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}const Mp=e=>({qDef:{qFieldDefs:[e]}});function Fp({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?Mp(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||ep(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Bp=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Rp,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Rp,e):G()(!0,{},Rp,{qListObjectDef:e}),t};function jp({children:e,halo:t}){return{async addDimension(n){const r=Bp(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||ep(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}}}function zp(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Gp({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?Fp:e.match("/qChildListDef")?jp:kp}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===zp(t)?await u.addMeasure(t):await u.addDimension(t)}}const Vp=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},$p=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},Zp=e=>0===Object.keys(e).length&&e.constructor===Object,Up=function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},Wp=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},Hp=function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r},Kp=2**53-1;function Xp(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function Yp(e,t){const n=G()(!0,{},t,e);return Vp(n,"qOtherTotalSpec.qOtherCounted")||$p(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Vp(n,"qOtherTotalSpec.qOtherLimit")||$p(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function Qp(e,t){return G()(!0,{},t,e)}function Jp(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const eh={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Vp(e,t)&&$p(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:Xp,importCommonProperties:function(e,t,n){const r="masterobject"===Vp(t,"properties.qInfo.qType")?"masterobject":Vp(n,"qInfo.qType");$p(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:Yp,createDefaultMeasure:Qp,resolveValue:Jp,getHypercubePath:function(e){const t=Vp(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function({exportFormat:e,newHyperCubeDef:t}){const n=e.data[0],r=t.qDimensions.length+t.qMeasures.length;t.qInterColumnSortOrder=n.interColumnSortOrder.concat();let o=t.qInterColumnSortOrder.length;if(o!==r)for(t.qLayoutExclude&&(t.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());o!==r;)o<r?(Wp(t.qInterColumnSortOrder,o),++o):(--o,Hp(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=G()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?$p(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||Xp(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=G()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=Jp(o.max,n.dimensions.length,Kp),i=Jp(o.min,n.dimensions.length,0);return{maxDimensions:Jp(r.max,a,Kp),minDimensions:Jp(r.min,i,0),maxMeasures:a,minMeasures:i}},shouldInitLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o}){const a=e.data[0];return a.dimensions.length>t&&t>0||a.measures.length>r&&r>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>o||!r&&a.measures.length>0||!t&&a.dimensions.length>0},initLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o,newHyperCubeDef:a}){const i=e.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(i.dimensions.length>t&&t>0||i.excludedDimensions&&i.excludedDimensions.length&&i.dimensions.length+i.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(i.measures.length>r&&r>0||i.excludedMeasures&&i.excludedMeasures.length&&i.measures.length+i.excludedMeasures.length>o)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&i.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!t&&i.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function({exportFormat:e,maxDimensions:t,minDimensions:n,newHyperCubeDef:r,defaultDimension:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.dimensions.length;++i)r.qDimensions.length<t?r.qDimensions.push(Yp(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(Yp(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.excludedDimensions[i],o))},addDefaultMeasures:function({exportFormat:e,maxMeasures:t,minMeasures:n,newHyperCubeDef:r,defaultMeasure:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.measures.length;++i)r.qMeasures.length<t?r.qMeasures.push(Qp(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(Qp(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Vp(e,n||"").qHyperCubeDef,o=[...r.qDimensions];r.qDimensions=[],o.forEach((n=>{r.qDimensions.push(n),t.dimensions.added(n,e)}))}},updateMeasuresOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.measures&&"function"==typeof t.measures.added){const r=Vp(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},th={exportProperties:e=>function({propertyTree:e,hypercubePath:t}){const n=function(e=1){const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),r=e.qProperty,o=Vp(r,t||""),a=o.qHyperCubeDef,i=n.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),i.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&i.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),i.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&i.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),i.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();Up(e,i.interColumnSortOrder)&&(i.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(r).forEach((e=>{n.properties[e]=r[e]})),t&&(n.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((e=>{n.properties.hasOwnProperty(e)||(n.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(eh.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Zp(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=eh.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Vp(t,o||"").qHyperCubeDef,s=Vp(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=eh.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=eh.getDefaultDimension(),defaultMeasure:h=eh.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,eh.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&eh.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),eh.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),eh.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:h}),eh.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),eh.copyPropertyIfExist("qMaxStackedCells",l,s),eh.copyPropertyIfExist("qNoOfLeftDims",l,s),eh.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),eh.copyPropertyOrSetDefault("qMode",l,s,"S"),eh.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),eh.copyPropertyOrSetDefault("qSortbyYValue",l,s),eh.copyPropertyOrSetDefault("qIndentMode",l,s),eh.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),eh.importCommonProperties(i,e,t),eh.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),eh.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},nh=e=>Vp(e,"data.targets.0.propertyPath"),rh=async({halo:e,model:t,cellRef:n,newType:r,properties:o})=>{const a=o?{qProperty:o}:await t.getFullPropertyTree(),i=n.current.getQae(),l=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return th.exportProperties})(nh(e)))(i);if(!l)throw new Error("Source chart does not support conversion");const s=await(async({halo:e,name:t,version:n})=>{const{types:r}=e;return await r.get({name:t,version:n}).supernova()})({halo:e,name:r}),c=s.qae,u=(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return th.importProperties})(nh(e)))(c);if(!u)throw new Error("Target chart does not support conversion");return u({exportFormat:l({propertyTree:a,hypercubePath:eh.getHypercubePath(i)}),initialProperties:{qInfo:{qType:r},visualization:r,...Vp(c,"properties.initial",{})},dataDefinition:Vp(c,"data.targets.0.",{}),hypercubePath:eh.getHypercubePath(c)})},oh={hypercube:th};function ah(e){return(0,Pe.Z)("MuiIcon",e)}(0,Te.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ih=["baseClassName","className","color","component","fontSize"],lh=(0,ut.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],t[`fontSize${(0,Yt.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),sh=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,ue.Z)(n,ih),c=(0,ce.Z)({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,Yt.Z)(t)}`,`fontSize${(0,Yt.Z)(n)}`]};return(0,ct.Z)(o,ah,r)})(c);return(0,qe.jsx)(lh,(0,ce.Z)({as:i,className:(0,nt.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));sh.muiName="Icon";const ch=sh,uh=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function dh({d:e}){const n=se();let r="inherit",o=n.palette.success.main;e.missing?o=n.palette.warning.main:e.error&&(r="error",o=n.palette.error.main);const a={color:o},i=t.createElement(on,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(ch,null,e.missing||e.error?t.createElement(uh,{style:a}):t.createElement(Mo,{style:a})));return t.createElement(Et,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Et,{item:!0},i),t.createElement(Et,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(on,{noWrap:!0,component:"p"},t.createElement(on,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(on,{component:"span"}," "),t.createElement(on,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function fh({data:e}){const n=se();return t.createElement(Et,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(dh,{d:e,key:n})));return o.length>0&&t.createElement(Et,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(on,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function ph({title:e="Error",message:n="",data:r=[]}){return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Et,{item:!0},t.createElement(uh,{style:{fontSize:"38px"}})),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Et,{item:!0},t.createElement(on,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(fh,{data:r}))}function hh(e){return(0,Pe.Z)("MuiCircularProgress",e)}(0,Te.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const mh=["className","color","disableShrink","size","style","thickness","value","variant"];let qh,gh,yh,vh,bh=e=>e;const Ch=xn(qh||(qh=bh`
|
|
75
|
+
`),wn.rippleVisible,Dn,550,(({theme:e})=>e.transitions.easing.easeInOut),wn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),wn.child,wn.childLeaving,kn,550,(({theme:e})=>e.transitions.easing.easeInOut),wn.childPulsate,Mn,(({theme:e})=>e.transitions.easing.easeInOut)),jn=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,Ln),[s,c]=t.useState([]),u=t.useRef(0),d=t.useRef(null);t.useEffect((()=>{d.current&&(d.current(),d.current=null)}),[s]);const f=t.useRef(!1),p=t.useRef(0),h=t.useRef(null),m=t.useRef(null);t.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const q=t.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c((e=>[...e,(0,qe.jsx)(Bn,{classes:{ripple:(0,nt.Z)(a.ripple,wn.ripple),rippleVisible:(0,nt.Z)(a.rippleVisible,wn.rippleVisible),ripplePulsate:(0,nt.Z)(a.ripplePulsate,wn.ripplePulsate),child:(0,nt.Z)(a.child,wn.child),childLeaving:(0,nt.Z)(a.childLeaving,wn.childLeaving),childPulsate:(0,nt.Z)(a.childPulsate,wn.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},u.current)])),u.current+=1,d.current=i}),[a]),g=t.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:a=o||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(a)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},p.current=setTimeout((()=>{h.current&&(h.current(),h.current=null)}),80)):q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[o,q]),y=t.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=t.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void(p.current=setTimeout((()=>{v(e,t)})));h.current=null,c((e=>e.length>0?e.slice(1):e)),d.current=t}),[]);return t.useImperativeHandle(n,(()=>({pulsate:y,start:g,stop:v})),[y,g,v]),(0,qe.jsx)(Fn,(0,ce.Z)({className:(0,nt.Z)(wn.root,a.root,i),ref:m},l,{children:(0,qe.jsx)(Cn,{component:null,exit:!0,children:s})}))})),zn=jn;function Gn(e){return(0,Pe.Z)("MuiButtonBase",e)}const Vn=(0,Te.Z)("MuiButtonBase",["root","disabled","focusVisible"]),$n=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Zn=(0,ut.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Vn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Un=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:i,className:l,component:s="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:q,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:b,onKeyUp:C,onMouseDown:E,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:w=0,TouchRippleProps:L,touchRippleRef:_,type:N}=r,A=(0,ue.Z)(r,$n),T=t.useRef(null),P=t.useRef(null),D=(0,ln.Z)(P,_),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,cn.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),T.current.focus()}})),[]);const[G,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const $=G&&!u&&!c;function Z(e,t,n=d){return(0,sn.Z)((r=>(t&&t(r),!n&&P.current&&P.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&P.current.pulsate()}),[u,f,j,G]);const U=Z("start",E),W=Z("stop",q),H=Z("stop",g),K=Z("stop",O),X=Z("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=Z("start",x),Q=Z("stop",I),J=Z("stop",R),ee=Z("stop",(e=>{F(e),!1===k.current&&z(!1),h&&h(e)}),!1),te=(0,sn.Z)((e=>{T.current||(T.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),y&&y(e)})),ne=()=>{const e=T.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,sn.Z)((e=>{f&&!re.current&&j&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))})),ae=(0,sn.Z)((e=>{f&&" "===e.key&&P.current&&j&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),C&&C(e),m&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=s;"button"===ie&&(A.href||A.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===N?"button":N,le.disabled=c):(A.href||A.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,ln.Z)(n,B,T),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,ct.Z)(a,Gn,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,qe.jsxs)(Zn,(0,ce.Z)({as:ie,className:(0,nt.Z)(fe.root,l),ownerState:de,onBlur:ee,onClick:m,onContextMenu:W,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:H,onTouchEnd:Q,onTouchMove:J,onTouchStart:Y,ref:se,tabIndex:c?-1:w,type:N},le,A,{children:[i,$?(0,qe.jsx)(zn,(0,ce.Z)({ref:D,center:a},L)):null]}))})),Wn=Un;function Hn(e){return(0,Pe.Z)("MuiIconButton",e)}const Kn=(0,Te.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Xn=["edge","children","className","color","disabled","disableFocusRipple","size"],Yn=(0,ut.ZP)(Wn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.edge&&t[`edge${(0,Yt.Z)(n.edge)}`],t[`size${(0,Yt.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,ce.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,ce.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,ce.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Kn.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Qn=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=(0,ue.Z)(n,Xn),d=(0,ce.Z)({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,i={root:["root",n&&"disabled","default"!==r&&`color${(0,Yt.Z)(r)}`,o&&`edge${(0,Yt.Z)(o)}`,`size${(0,Yt.Z)(a)}`]};return(0,ct.Z)(i,Hn,t)})(d);return(0,qe.jsx)(Yn,(0,ce.Z)({className:(0,nt.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),Jn=Qn,er=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tr.apply(this,arguments)}function nr(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var rr=o(2682);function or(e){return"string"==typeof e}function ar(e,t,n){return void 0===e||or(e)?t:tr({},t,{ownerState:tr({},t.ownerState,n)})}function ir(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function lr(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const sr=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function cr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=nr(e,sr),l=a?{}:function(e,t,n){return"function"==typeof e?e(t,void 0):e}(r,o),{props:s,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=(0,nt.Z)(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=tr({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=tr({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=ir(tr({},o,r)),l=lr(r),s=lr(o),c=t(i),u=(0,nt.Z)(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=tr({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=tr({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(tr({},i,{externalSlotProps:l}));return ar(n,tr({},s,{ref:(0,rr.Z)(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}var ur=o(8101),dr=o(617),fr=o(9514);var pr="unmounted",hr="exited",mr="entering",qr="entered",gr="exiting",yr=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=hr,r.appearStatus=mr):o=qr:o=t.unmountOnExit||t.mountOnEnter?pr:hr,r.state={status:o},r.nextCallback=null,r}hn(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===pr?{status:hr}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==mr&&n!==qr&&(t=mr):n!==mr&&n!==qr||(t=gr)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===mr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:tt.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===hr&&this.setState({status:pr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[tt.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:mr},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:qr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:qr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:tt.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:gr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:hr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:hr},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:tt.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===pr)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,un(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(mn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function vr(){}yr.contextType=mn,yr.propTypes={},yr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vr,onEntering:vr,onEntered:vr,onExit:vr,onExiting:vr,onExited:vr},yr.UNMOUNTED=pr,yr.EXITED=hr,yr.ENTERING=mr,yr.ENTERED=qr,yr.EXITING=gr;const br=yr,Cr=e=>e.scrollTop;function Er(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}const Sr=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Or(e){return`scale(${e}, ${e**2})`}const Ir={entering:{opacity:1,transform:Or(1)},entered:{opacity:1,transform:"none"}},Rr="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xr=t.forwardRef((function(e,n){const{addEndListener:r,appear:o=!0,children:a,easing:i,in:l,onEnter:s,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:p,style:h,timeout:m="auto",TransitionComponent:q=br}=e,g=(0,ue.Z)(e,Sr),y=t.useRef(),v=t.useRef(),b=se(),C=t.useRef(null),E=(0,ln.Z)(C,a.ref,n),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},O=S(u),I=S(((e,t)=>{Cr(e);const{duration:n,delay:r,easing:o}=Er({style:h,timeout:m,easing:i},{mode:"enter"});let a;"auto"===m?(a=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[b.transitions.create("opacity",{duration:a,delay:r}),b.transitions.create("transform",{duration:Rr?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),w=S((e=>{const{duration:t,delay:n,easing:r}=Er({style:h,timeout:m,easing:i},{mode:"exit"});let o;"auto"===m?(o=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:n}),b.transitions.create("transform",{duration:Rr?o:.666*o,delay:Rr?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Or(.75),d&&d(e)})),L=S(f);return t.useEffect((()=>()=>{clearTimeout(y.current)}),[]),(0,qe.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:L,onExiting:x,addEndListener:e=>{"auto"===m&&(y.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===m?null:m},g,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:Or(.75),visibility:"exited"!==e||l?void 0:"hidden"},Ir[e],h,a.props.style),ref:E},n))}))}));xr.muiSupportAuto=!0;const wr=xr;var Lr=o(6074),_r=o(6734),Nr=o(4603),Ar=o(5796);function Tr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Pr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Dr(e){return parseInt((0,Ar.Z)(e).getComputedStyle(e).paddingRight,10)||0}function kr(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Pr(e,o)}))}function Mr(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const Fr=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Pr(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);kr(t,e.mount,e.modalRef,r,!0);const o=Mr(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Mr(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,Lr.Z)(e);return t.body===e?(0,Ar.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Tr((0,Lr.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Dr(r)+e}px`;const t=(0,Lr.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Dr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Lr.Z)(r).body;else{const t=r.parentElement,n=(0,Ar.Z)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Mr(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Pr(e.modalRef,t),kr(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Pr(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const Br=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function jr(e){const t=[],n=[];return Array.from(e.querySelectorAll(Br)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function zr(){return!0}function Gr(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=jr,isEnabled:l=zr,open:s}=e,c=t.useRef(!1),u=t.useRef(null),d=t.useRef(null),f=t.useRef(null),p=t.useRef(null),h=t.useRef(!1),m=t.useRef(null),q=(0,rr.Z)(n.ref,m),g=t.useRef(null);t.useEffect((()=>{s&&m.current&&(h.current=!r)}),[r,s]),t.useEffect((()=>{if(!s||!m.current)return;const e=(0,Lr.Z)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}}),[s]),t.useEffect((()=>{if(!s||!m.current)return;const e=(0,Lr.Z)(m.current),t=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=i(m.current)),n.length>0){var r,a;const e=Boolean((null==(r=g.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=g.current)?void 0:a.key)),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[r,o,a,l,s,i]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0};return(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:q,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0,p.current=e.target;const t=n.props.onFocus;t&&t(e)}}),(0,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}var Vr=o(401),$r=o(513);const Zr=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,rr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,Vr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,Vr.Z)((()=>{if(i&&!a)return(0,$r.Z)(n,i),()=>{(0,$r.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,qe.jsx)(t.Fragment,{children:r})}return(0,qe.jsx)(t.Fragment,{children:i?tt.createPortal(r,i):i})})),Ur=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Wr={entering:{opacity:1},entered:{opacity:1}},Hr=t.forwardRef((function(e,n){const r=se(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:q,timeout:g=o,TransitionComponent:y=br}=e,v=(0,ue.Z)(e,Ur),b=t.useRef(null),C=(0,ln.Z)(b,l.ref,n),E=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=E(f),O=E(((e,t)=>{Cr(e);const n=Er({style:q,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),I=E(d),R=E(m),x=E((e=>{const t=Er({style:q,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),w=E(h);return(0,qe.jsx)(y,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:w,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:g},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Wr[e],q,l.props.style),ref:C},n))}))})),Kr=Hr;function Xr(e){return(0,Pe.Z)("MuiBackdrop",e)}(0,Te.Z)("MuiBackdrop",["root","invisible"]);const Yr=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Qr=(0,ut.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,ce.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),Jr=t.forwardRef((function(e,t){var n,r,o;const a=(0,dt.Z)({props:e,name:"MuiBackdrop"}),{children:i,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:h={},TransitionComponent:m=Kr,transitionDuration:q}=a,g=(0,ue.Z)(a,Yr),y=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,ct.Z)(r,Xr,t)})(y),b=null!=(n=p.root)?n:u.root;return(0,qe.jsx)(m,(0,ce.Z)({in:f,timeout:q},g,{children:(0,qe.jsx)(Qr,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:(0,nt.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,ce.Z)({},y,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),eo=Jr;function to(e){return(0,Pe.Z)("MuiModal",e)}(0,Te.Z)("MuiModal",["root","hidden","backdrop"]);const no=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ro=(0,ut.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,ce.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),oo=(0,ut.ZP)(eo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ao=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,dt.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=oo,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:q,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:S=!1,disableScrollLock:O=!1,hideBackdrop:I=!1,keepMounted:R=!1,onBackdropClick:x,open:w,slotProps:L,slots:_}=c,N=(0,ue.Z)(c,no),A=(0,ce.Z)({},c,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:I,keepMounted:R}),{getRootProps:T,getBackdropProps:P,getTransitionProps:D,portalRef:k,isTopModal:M,exited:F,hasTransition:B}=function(e){const{container:n,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,manager:a=Fr,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:f}=e,p=t.useRef({}),h=t.useRef(null),m=t.useRef(null),q=(0,rr.Z)(m,f),[g,y]=t.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const C=()=>(p.current.modalRef=m.current,p.current.mount=h.current,p.current),E=()=>{a.mount(C(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},S=(0,_r.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(n)||(0,Lr.Z)(h.current).body;a.add(C(),e),m.current&&E()})),O=t.useCallback((()=>a.isTopModal(C())),[a]),I=(0,_r.Z)((e=>{h.current=e,e&&(d&&O()?E():m.current&&Pr(m.current,b))})),R=t.useCallback((()=>{a.remove(C(),b)}),[b,a]);t.useEffect((()=>()=>{R()}),[R]),t.useEffect((()=>{d?S():v&&i||R()}),[d,R,v,i,S]);const x=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&O()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},w=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=ir(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=tr({},n,t);return tr({role:"presentation"},r,{onKeyDown:x(r),ref:q})},getBackdropProps:(e={})=>tr({"aria-hidden":!0},e,{onClick:w(e),open:d}),getTransitionProps:()=>({onEnter:(0,Nr.Z)((()=>{y(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:(0,Nr.Z)((()=>{y(!0),s&&s(),i&&R()}),null==c?void 0:c.props.onExited)}),rootRef:q,portalRef:I,isTopModal:O,exited:g,hasTransition:v}}((0,ce.Z)({},A,{rootRef:n})),j=(0,ce.Z)({},A,{exited:F}),z=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,ct.Z)(o,to,r)})(j),G={};if(void 0===h.props.tabIndex&&(G.tabIndex="-1"),B){const{onEnter:e,onExited:t}=D();G.onEnter=e,G.onExited=t}const V=null!=(r=null!=(o=null==_?void 0:_.root)?o:g.Root)?r:ro,$=null!=(a=null!=(i=null==_?void 0:_.backdrop)?i:g.Backdrop)?a:u,Z=null!=(l=null==L?void 0:L.root)?l:y.root,U=null!=(s=null==L?void 0:L.backdrop)?s:y.backdrop,W=cr({elementType:V,externalSlotProps:Z,externalForwardedProps:N,getSlotProps:T,additionalProps:{ref:n,as:q},ownerState:j,className:(0,nt.Z)(f,null==Z?void 0:Z.className,null==z?void 0:z.root,!j.open&&j.exited&&(null==z?void 0:z.hidden))}),H=cr({elementType:$,externalSlotProps:U,additionalProps:d,getSlotProps:e=>P((0,ce.Z)({},e,{onClick:t=>{x&&x(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,nt.Z)(null==U?void 0:U.className,null==d?void 0:d.className,null==z?void 0:z.backdrop),ownerState:j});return R||w||B&&!F?(0,qe.jsx)(Zr,{ref:k,container:m,disablePortal:E,children:(0,qe.jsxs)(V,(0,ce.Z)({},W,{children:[!I&&u?(0,qe.jsx)($,(0,ce.Z)({},H)):null,(0,qe.jsx)(Gr,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:S,isEnabled:M,open:w,children:t.cloneElement(h,G)})]}))}):null})),io=ao,lo=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function so(e){return(0,Pe.Z)("MuiPaper",e)}(0,Te.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const co=["className","component","elevation","square","variant"],uo=(0,ut.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,ce.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,ce.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,an.Fq)("#fff",lo(t.elevation))}, ${(0,an.Fq)("#fff",lo(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),fo=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,ue.Z)(n,co),c=(0,ce.Z)({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,ct.Z)(a,so,o)})(c);return(0,qe.jsx)(uo,(0,ce.Z)({as:o,ownerState:c,className:(0,nt.Z)(u.root,r),ref:t},s))})),po=fo;function ho(e){return(0,Pe.Z)("MuiPopover",e)}(0,Te.Z)("MuiPopover",["root","paper"]);const mo=["onEntering"],qo=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],go=["slotProps"];function yo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function vo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function bo(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Co(e){return"function"==typeof e?e():e}const Eo=(0,ut.ZP)(io,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),So=(0,ut.ZP)(po,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Oo=t.forwardRef((function(e,n){var r,o,a;const i=(0,dt.Z)({props:e,name:"MuiPopover"}),{action:l,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:p,container:h,elevation:m=8,marginThreshold:q=16,open:g,PaperProps:y={},slots:v,slotProps:b,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:E=wr,transitionDuration:S="auto",TransitionProps:{onEntering:O}={},disableScrollLock:I=!1}=i,R=(0,ue.Z)(i.TransitionProps,mo),x=(0,ue.Z)(i,qo),w=null!=(r=null==b?void 0:b.paper)?r:y,L=t.useRef(),_=(0,ln.Z)(L,w.ref),N=(0,ce.Z)({},i,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:q,externalPaperSlotProps:w,transformOrigin:C,TransitionComponent:E,transitionDuration:S,TransitionProps:R}),A=(e=>{const{classes:t}=e;return(0,ct.Z)({root:["root"],paper:["paper"]},ho,t)})(N),T=t.useCallback((()=>{if("anchorPosition"===d)return u;const e=Co(s),t=(e&&1===e.nodeType?e:(0,dr.Z)(L.current).body).getBoundingClientRect();return{top:t.top+yo(t,c.vertical),left:t.left+vo(t,c.horizontal)}}),[s,c.horizontal,c.vertical,u,d]),P=t.useCallback((e=>({vertical:yo(e,C.vertical),horizontal:vo(e,C.horizontal)})),[C.horizontal,C.vertical]),D=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===d)return{top:null,left:null,transformOrigin:bo(n)};const r=T();let o=r.top-n.vertical,a=r.left-n.horizontal;const i=o+t.height,l=a+t.width,c=(0,fr.Z)(Co(s)),u=c.innerHeight-q,f=c.innerWidth-q;if(null!==q&&o<q){const e=o-q;o-=e,n.vertical+=e}else if(null!==q&&i>u){const e=i-u;o-=e,n.vertical+=e}if(null!==q&&a<q){const e=a-q;a-=e,n.horizontal+=e}else if(l>f){const e=l-f;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:bo(n)}}),[s,d,T,P,q]),[k,M]=t.useState(g),F=t.useCallback((()=>{const e=L.current;if(!e)return;const t=D(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)}),[D]);t.useEffect((()=>(I&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[s,I,F]),t.useEffect((()=>{g&&F()})),t.useImperativeHandle(l,(()=>g?{updatePosition:()=>{F()}}:null),[g,F]),t.useEffect((()=>{if(!g)return;const e=(0,ur.Z)((()=>{F()})),t=(0,fr.Z)(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,F]);let B=S;"auto"!==S||E.muiSupportAuto||(B=void 0);const j=h||(s?(0,dr.Z)(Co(s)).body:void 0),z=null!=(o=null==v?void 0:v.root)?o:Eo,G=null!=(a=null==v?void 0:v.paper)?a:So,V=cr({elementType:G,externalSlotProps:(0,ce.Z)({},w,{style:k?w.style:(0,ce.Z)({},w.style,{opacity:0})}),additionalProps:{elevation:m,ref:_},ownerState:N,className:(0,nt.Z)(A.paper,null==w?void 0:w.className)}),$=cr({elementType:z,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:x,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:j,open:g},ownerState:N,className:(0,nt.Z)(A.root,p)}),{slotProps:Z}=$,U=(0,ue.Z)($,go);return(0,qe.jsx)(z,(0,ce.Z)({},U,!or(z)&&{slotProps:Z,disableScrollLock:I},{children:(0,qe.jsx)(E,(0,ce.Z)({appear:!0,in:g,onEntering:(e,t)=>{O&&O(e,t),F()},onExited:()=>{M(!1)},timeout:B},R,{children:(0,qe.jsx)(G,(0,ce.Z)({},V,{children:f}))}))}))})),Io=Oo;var Ro=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),xo=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};const wo=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=xo(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},xo(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ro(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(t.PureComponent),Lo=["S","XS"],_o=e=>e.reduce(((e,t)=>e.concat(t)));async function No({selections:e,elemNumbers:t,toggle:n,isSingleSelect:r}){if(0===t.length)return!1;let o=!1;if(!t.some((e=>Number.isNaN(e)))){const a=t;try{o=!1!==await e.select({method:"selectListObjectValues",params:["/qListObjectDef",a,n]})}catch{o=!1}o||(r?e.cancel():e.clear())}return o}const Ao="RowColumn",To={row:`${Ao}-row`,rowBorderBottom:`${Ao}-rowBorderBottom`,column:`${Ao}-column`,fieldRoot:`${Ao}-fieldRoot`,cell:`${Ao}-cell`,labelText:`${Ao}-labelText`,labelDense:`${Ao}-labelDense`,highlighted:`${Ao}-highlighted`,checkboxLabel:`${Ao}-checkboxLabel`,icon:`${Ao}-icon`,S:`${Ao}-S`,XS:`${Ao}-XS`,A:`${Ao}-A`,X:`${Ao}-X`,frequencyCount:`${Ao}-frequencyCount`,barContainer:`${Ao}-barContainer`,bar:`${Ao}-bar`,barSelected:`${Ao}-barSelected`,barWithCheckbox:`${Ao}-barWithCheckbox`,barSelectedWithCheckbox:`${Ao}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Ao}-excludedTextWithCheckbox`},Po=`.${To.fieldRoot}`,Do=e=>!(e?.metaKey||e?.ctrlKey);const ko=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Mo=e=>Ht(ko(e)),Fo=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Bo=e=>e?"A"===e.qState:null,jo=({cell:e,checkboxes:t})=>(Bo(e)||Fo(e))&&t,zo=80,Go=32,Vo=29,$o=20,Zo=4,Uo=e=>e.filter((e=>!!e)).join(" ").trim(),Wo=e=>e||"-",Ho=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",Ko=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,Xo=({theme:e,styles:t,selectedState:n})=>{const r=t.selections,o=r[n],a=r[`${n}Contrast`];return{background:o,color:a,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0},[`& .${To.labelText}`]:{color:a},[`& .${To.icon}`]:{color:a}}},Yo={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},Qo=(0,ut.ZP)("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue","layout","styles"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s,styles:c})=>{const{backgroundColor:u,...d}=c.content,f=Xo({theme:e,styles:c,selectedState:"selected"}),p=Xo({theme:e,styles:c,selectedState:"excluded"});return{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}},[`& .${To.row}`]:{flexWrap:"nowrap",...c.content},[`& .${To.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${To.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,...c.content},[`& .${To.cell}`]:{zIndex:2,display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:"9px",paddingRight:0},[`& .${To.labelText}`]:{lineHeight:"16px",userSelect:"none",paddingRight:"1px",...Yo,...d},[`& .${To.labelDense}`]:{fontSize:12},[`& .${To.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${To.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...Yo,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${To.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24,color:d.color},[`& .${To.S}`]:{...f,border:n?"none":void 0},[`& .${To.XS}`]:{...Xo({theme:e,styles:c,selectedState:"selectedExcluded"}),border:n?"none":void 0},[`& .${To.A}`]:{...Xo({theme:e,styles:c,selectedState:"alternative"}),border:n?"none":void 0},[`& .${To.X}`]:{...p,border:n?"none":void 0},[`& .${To.frequencyCount}`]:{zIndex:3,justifyContent:"flex-end",...Yo,flex:`0 0 ${Ho({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:Ko({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${To.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${To.bar}`]:{height:o?"16px":"20px",position:"absolute",zIndex:1,alignSelf:"center",left:4,width:"calc(100% - 8px)",display:"flex",alignItems:"center","& .bar-filled":{border:"1px solid",borderColor:"#D9D9D9",transition:"width 0.2s",backgroundColor:"#FAFAFA",height:"100%"}},[`& .${To.barSelected}`]:{"& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${To.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${To.barSelectedWithCheckbox}`]:{"& .bar-filled":{opacity:"30%",background:f.background||"#BFE5D0",borderColor:f.background||"#BFE5D0"}},[`& .${To.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}})),Jo=t.memo(Qo),ea=t.createContext(void 0);function ta(){return t.useContext(ea)}const na=(0,o(7422).ZP)();var ra=o(7877),oa=o(1684),aa=o(9546);const ia=["component","direction","spacing","divider","children","className","useFlexGap"],la=(0,oa.Z)(),sa=na("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ca(e){return(0,ra.Z)({props:e,name:"MuiStack",defaultTheme:la})}function ua(e,n){const r=t.Children.toArray(e).filter(Boolean);return r.reduce(((e,o,a)=>(e.push(o),a<r.length-1&&e.push(t.cloneElement(n,{key:`separator-${a}`})),e)),[])}const da=({ownerState:e,theme:t})=>{let n=(0,de.Z)({display:"flex",flexDirection:"column"},(0,rt.k9)({theme:t},(0,rt.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,aa.hB)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=(0,rt.P$)({values:e.direction,base:o}),i=(0,rt.P$)({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));const l=(t,n)=>{return e.useFlexGap?{gap:(0,aa.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,aa.NA)(r,t)}};var o};n=(0,at.Z)(n,(0,rt.k9)({theme:t},i,l))}return n=(0,rt.dt)(t.breakpoints,n),n},fa=function(e={}){const{createStyledComponent:n=sa,useThemeProps:r=ca,componentName:o="MuiStack"}=e,a=n(da),i=t.forwardRef((function(e,t){const n=st(r(e)),{component:i="div",direction:l="column",spacing:s=0,divider:c,children:u,className:d,useFlexGap:f=!1}=n,p=(0,ot.Z)(n,ia),h={direction:l,spacing:s,useFlexGap:f},m=(0,ct.Z)({root:["root"]},(e=>(0,Pe.Z)(o,e)),{});return(0,qe.jsx)(a,(0,de.Z)({as:i,ownerState:h,ref:t,className:(0,nt.Z)(m.root,d)},p,{children:c?ua(u,c):u}))}));return i}({createStyledComponent:(0,ut.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,dt.Z)({props:e,name:"MuiStack"})}),pa=fa;function ha(e){return(0,Pe.Z)("MuiFormControlLabel",e)}const ma=(0,Te.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function qa({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}const ga=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],ya=(0,ut.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ma.label}`]:t.label},t.root,t[`labelPlacement${(0,Yt.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ma.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${ma.label}`]:{[`&.${ma.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),va=(0,ut.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${ma.error}`]:{color:(e.vars||e).palette.error.main}}))),ba=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:l={},control:s,disabled:c,disableTypography:u,label:d,labelPlacement:f="end",required:p,slotProps:h={}}=a,m=(0,ue.Z)(a,ga),q=ta(),g=null!=(r=null!=c?c:s.props.disabled)?r:null==q?void 0:q.disabled,y=null!=p?p:s.props.required,v={disabled:g,required:y};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==a[e]&&(v[e]=a[e])}));const b=qa({props:a,muiFormControl:q,states:["error"]}),C=(0,ce.Z)({},a,{disabled:g,labelPlacement:f,required:y,error:b.error}),E=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,Yt.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,ct.Z)(i,ha,t)})(C),S=null!=(o=h.typography)?o:l.typography;let O=d;return null==O||O.type===on||u||(O=(0,qe.jsx)(on,(0,ce.Z)({component:"span"},S,{className:(0,nt.Z)(E.label,null==S?void 0:S.className),children:O}))),(0,qe.jsxs)(ya,(0,ce.Z)({className:(0,nt.Z)(E.root,i),ownerState:C,ref:n},m,{children:[t.cloneElement(s,v),y?(0,qe.jsxs)(pa,{display:"block",children:[O,(0,qe.jsxs)(va,{ownerState:C,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}):O]}))})),Ca=ba;var Ea=o(6262);function Sa(e){return(0,Pe.Z)("PrivateSwitchBase",e)}(0,Te.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Oa=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Ia=(0,ut.ZP)(Wn)((({ownerState:e})=>(0,ce.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Ra=(0,ut.ZP)("input",{shouldForwardProp:ut.FO})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),xa=t.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:f,inputRef:p,name:h,onBlur:m,onChange:q,onFocus:g,readOnly:y,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,ue.Z)(e,Oa),[O,I]=(0,Ea.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=ta();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===C||"radio"===C,L=(0,ce.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,Yt.Z)(o)}`],input:["input"]};return(0,ct.Z)(a,Sa,t)})(L);return(0,qe.jsxs)(Ia,(0,ce.Z)({component:"span",className:(0,nt.Z)(_.root,a),centerRipple:!0,focusRipple:!s,disabled:x,tabIndex:null,role:void 0,onFocus:e=>{g&&g(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{m&&m(e),R&&R.onBlur&&R.onBlur(e)},ownerState:L,ref:t},S,{children:[(0,qe.jsx)(Ra,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:_.input,disabled:x,id:w?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:y,ref:p,required:v,ownerState:L,tabIndex:b,type:C},"checkbox"===C&&void 0===E?{}:{value:E},f)),O?o:u]}))})),wa=xa;var La=o(968);const _a=(0,La.Z)((0,qe.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Na=(0,La.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Aa=(0,La.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ta(e){return(0,Pe.Z)("MuiCheckbox",e)}const Pa=(0,Te.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Da=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],ka=(0,ut.ZP)(wa,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,Yt.Z)(n.size)}`],"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Pa.checked}, &.${Pa.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Pa.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Ma=(0,qe.jsx)(Na,{}),Fa=(0,qe.jsx)(_a,{}),Ba=(0,qe.jsx)(Aa,{}),ja=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Ma,color:l="primary",icon:s=Fa,indeterminate:c=!1,indeterminateIcon:u=Ba,inputProps:d,size:f="medium",className:p}=a,h=(0,ue.Z)(a,Da),m=c?u:s,q=c?u:i,g=(0,ce.Z)({},a,{color:l,indeterminate:c,size:f}),y=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,a={root:["root",n&&"indeterminate",`color${(0,Yt.Z)(r)}`,`size${(0,Yt.Z)(o)}`]},i=(0,ct.Z)(a,Ta,t);return(0,ce.Z)({},t,i)})(g);return(0,qe.jsx)(ka,(0,ce.Z)({type:"checkbox",inputProps:(0,ce.Z)({"data-indeterminate":c},d),icon:t.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:f}),checkedIcon:t.cloneElement(q,{fontSize:null!=(o=q.props.fontSize)?o:f}),ownerState:g,ref:n,className:(0,nt.Z)(y.root,p)},h,{classes:y}))})),za=ja,Ga="ListBoxCheckbox",Va={cbIcon:`${Ga}-cbIcon`,cbIconChecked:`${Ga}-cbIconChecked`,cbIconExcluded:`${Ga}-cbIconExcluded`,cbIconAlternative:`${Ga}-cbIconAlternative`,checkbox:`${Ga}-checkbox`,dense:`${Ga}-dense`},$a=(0,ut.ZP)(za,{shouldForwardProp:e=>"styles"!==e})((({styles:e})=>({[`& .${Va.cbIcon}`]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},[`& .${Va.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.selections.selected,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},[`& .${Va.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.excluded},[`& .${Va.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.selections.alternative},[`&.${Va.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Va.dense}`]:{padding:"4px 8px"}}))),Za=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Ua({onChange:e,checked:n,label:r,dense:o,excluded:a,styles:i,showGray:l=!0,dataN:s}){return t.createElement($a,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Va.checkbox,o&&Va.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":s},name:r,icon:Za(Va,l,a),checkedIcon:t.createElement("span",{className:Va.cbIconChecked}),styles:i})}const Wa=(0,La.Z)((0,qe.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Ha=(0,La.Z)((0,qe.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Ka=(0,ut.ZP)("span",{shouldForwardProp:ut.FO})({position:"relative",display:"flex"}),Xa=(0,ut.ZP)(Wa)({transform:"scale(1)"}),Ya=(0,ut.ZP)(Ha)((({theme:e,ownerState:t})=>(0,ce.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Qa=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,qe.jsxs)(Ka,{className:n.root,ownerState:o,children:[(0,qe.jsx)(Xa,{fontSize:r,className:n.background,ownerState:o}),(0,qe.jsx)(Ya,{fontSize:r,className:n.dot,ownerState:o})]})};var Ja=o(1882);const ei=t.createContext(void 0);function ti(e){return(0,Pe.Z)("MuiRadio",e)}const ni=(0,Te.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ri=["checked","checkedIcon","color","icon","name","onChange","size","className"],oi=(0,ut.ZP)(wa,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,Yt.Z)(n.size)}`],t[`color${(0,Yt.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${ni.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${ni.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ai=(0,qe.jsx)(Qa,{checked:!0}),ii=(0,qe.jsx)(Qa,{}),li=t.forwardRef((function(e,n){var r,o;const a=(0,dt.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ai,color:s="primary",icon:c=ii,name:u,onChange:d,size:f="medium",className:p}=a,h=(0,ue.Z)(a,ri),m=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${(0,Yt.Z)(n)}`,"medium"!==r&&`size${(0,Yt.Z)(r)}`]};return(0,ce.Z)({},t,(0,ct.Z)(o,ti,t))})(m),g=t.useContext(ei);let y=i;const v=(0,Ja.Z)(d,g&&g.onChange);let b=u;var C,E;return g&&(void 0===y&&(C=g.value,y="object"==typeof(E=a.value)&&null!==E?C===E:String(C)===String(E)),void 0===b&&(b=g.name)),(0,qe.jsx)(oi,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=ii.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ai.props.fontSize)?o:f}),ownerState:m,classes:q,name:b,checked:y,onChange:v,ref:n,className:(0,nt.Z)(q.root,p)},h))})),si=li,ci="ListBoxRadioButton",ui={denseRadioButton:`${ci}-denseRadioButton`,radioButton:`${ci}-radioButton`},di=(0,ut.ZP)(si)((({theme:e,checked:t})=>({[`&.${ui.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function fi({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(di,{checked:n,onChange:e,value:r,name:r,className:ui.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const pi=function({label:e,dense:n,showGray:r=!0,checkboxes:o,cell:a,valueTextAlign:i}){return t.createElement(on,{component:"span",variant:"body2",className:Uo([To.labelText,n&&To.labelDense,r&&jo({cell:a,checkboxes:o})&&To.excludedTextWithCheckbox]),align:i,dir:"auto"},t.createElement("span",null,e))},hi=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(pi,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},mi=function({onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}){const p=t.createElement(Ua,{onChange:e,label:n,checked:o,dense:a,excluded:Fo(i),isGridCol:l,showGray:s,dataN:r,styles:f}),h=t.createElement(fi,{onChange:e,label:n,checked:o,dense:a,dataN:r});return t.createElement(Ca,{control:c?h:p,className:To.checkboxLabel,label:t.createElement(hi,{label:n,dense:a,showGray:s,checkboxes:u,cell:i,valueTextAlign:d}),key:r})};function qi({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?To.highlighted:""},e)));return t.createElement(pi,{label:a,dense:n,showGray:r,checkboxes:o})}const gi=function({onChange:e,labels:n,checkboxes:r,dense:o,showGray:a,qElemNumber:i,isSelected:l,cell:s,isGridCol:c,isSingleSelect:u,valueTextAlign:d,styles:f}){const p=t.createElement(qi,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(mi,{onChange:e,label:p,qElemNumber:i,isSelected:l,dense:o,cell:s,isGridCol:c,showGray:a,isSingleSelect:u,checkboxes:r,valueTextAlign:d,styles:f}):p};function yi({onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}){return u?t.createElement(mi,{onChange:e,label:n,qElemNumber:r,isSelected:o,dense:a,cell:i,isGridCol:l,showGray:s,isSingleSelect:c,checkboxes:u,valueTextAlign:d,styles:f}):t.createElement(pi,{label:n,dense:a,showGray:!0,checkboxes:u,cell:i,valueTextAlign:d})}const vi=t.memo(yi);var bi=o(9741),Ci=o(5882);const Ei=["className","component"];var Si=o(1388);const Oi=(0,we.Z)(),Ii=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,bi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Ci.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=st(e),{className:c,component:u="div"}=s,d=(0,ot.Z)(s,Ei);return(0,qe.jsx)(i,(0,de.Z)({as:u,ref:t,className:(0,nt.Z)(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:Oi,defaultClassName:"MuiBox-root",generateClassName:Si.Z.generate}),Ri=Ii,xi=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===Wo(e))return;const i=(({qFrequency:e,frequencyMax:t})=>{const n=String(e),r="%"===n.substring(n.length-1),o=parseFloat(r?n:e);return`${r?o:o/t*100}%`})({qFrequency:e,checkboxes:r,frequencyMax:a});return t.createElement(Ri,{className:Uo([To.bar,r&&To.barWithCheckbox,o&&(r?To.barSelectedWithCheckbox:To.barSelected)])},t.createElement(Ri,{className:"bar-filled",width:i}))},wi=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=Wo(e?.qFrequency);return t.createElement(Et,{item:!0,style:{display:"flex",alignItems:"center"},className:To.frequencyCount,"aria-label":a,title:a},t.createElement(on,{noWrap:!0,color:"inherit",variant:"body2",className:Uo([r&&To.labelDense,To.labelText,o&&jo({cell:e,checkboxes:n})&&To.excludedTextWithCheckbox])},a))};function Li({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:r}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:r?"100%":`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const _i=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction","fillHeight"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o,fillHeight:a})=>{const i="padding"+("rtl"===o?"Left":"Right");return{[`&.${To.fieldRoot}`]:{...Li({dataLayout:e,layoutOrder:t,itemPadding:n,fillHeight:a}),[i]:r?"8px":void 0}}})),Ni={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function Ai({layout:e}){const{translator:n}=(0,t.useContext)(Ve),{qStateCounts:r={}}=e?.qListObject?.qDimensionInfo||{},o=r.qSelected+r.qSelectedExcluded+r.qLocked+r.qLockedExcluded;let a;switch(o){case 0:a="ScreenReader.ZeroSelected";break;case 1:a="ScreenReader.OneSelected";break;default:a="ScreenReader.ManySelected"}const i=n.get(a,[o]);return t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},i)}const Ti=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===Ti.ARROW_UP||e===Ti.ARROW_DOWN||e===Ti.ARROW_LEFT||e===Ti.ARROW_RIGHT}),Pi=Ti,Di=e=>+e.getAttribute("data-n"),ki=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Mi=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Fi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:f,pages:p,isLocked:h,column:m=!1,checkboxes:q=!1,textAlign:g,direction:y,layoutOptions:v={},freqIsAllowed:b,isSingleSelect:C,actions:E,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:w=1,rowCount:L=1,dataOffset:_,deducedFrequencyMode:N,focusListItems:A,listCount:T,sizes:P,translator:D,showSearch:k,isModal:M,contentFontStyle:F,styles:B,fillHeight:j}=a,{dense:z=!1,dataLayout:G="singleColumn",layoutOrder:V}=v,{itemPadding:$}=P;let Z,U;const W={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===V?(Z=n*w+r,W.max=L,W.currentIndex=n):(Z=r*L+n,W.max=w,W.currentIndex=r);const e=0;U={...o,height:j?"100%":o.height,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else Z=e,W.max=T,W.currentIndex=e,U={...o};Z+=_;const[H,K]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==H&&(0===W.currentIndex&&A.first&&(H.focus(),A.setFirst(!1)),W.currentIndex===W.max-1&&A.last&&(H.focus(),A.setLast(!1)))}),[H,A.first,A.last]);const X=(0,t.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:f,layoutOrder:p}){const h=(e,t,n=!1)=>{if(e===Pi.ARROW_LEFT||e===Pi.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof f){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===Pi.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:f,rowCount:c,columnCount:u,layoutOrder:p,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let m=!1;const q=e=>{m=e};return c=>{let u;const{currentTarget:d,nativeEvent:f}=c,{keyCode:p,shiftKey:g=!1,ctrlKey:y=!1,metaKey:v=!1}=f;switch(p){case Pi.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),g){ki(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case Pi.SHIFT:q(!0);break;case Pi.SPACE:e([Di(d)],!1,c);break;case Pi.ARROW_DOWN:case Pi.ARROW_RIGHT:u=h(p,d,!0),g&&u&&(m&&(e([Di(d)],!0),q(!1)),e([Di(u)],!0));break;case Pi.ARROW_UP:case Pi.ARROW_LEFT:u=h(p,d,!1),g&&u&&(m&&(e([Di(d)],!0),q(!1)),e([Di(u)],!0));break;case Pi.ENTER:r();break;case Pi.ESCAPE:if(!s())return;o();break;case Pi.HOME:if(i.setFirst(!0),y){a?.("overflowStart");break}a?.("start");break;case Pi.END:if(i.setLast(!0),y){a?.("overflowEnd");break}a?.("end");break;case Pi.A:if(y||v){t();break}return;case Pi.F:if(y||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...E,focusListItems:A,keyboard:I,isModal:M,rowCount:L,columnCount:w,rowIndex:n,columnIndex:r,layoutOrder:V}),[E,I?.innerTabStops,L,w,n,r,V]),Y=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:Z})),[p,Z]),Q="S"===Y?.qState||"XS"===Y?.qState||"L"===Y?.qState||"XL"===Y?.qState,J=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?To.column:To.row];return t||a.push(To.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?To.XS:To.S):"S"===r.qState||"L"===r.qState?a.push(To.S):o&&Bo(r)?a.push(To.A):o&&Fo(r)&&a.push(To.X)),a):[]})({column:m,histogram:O,checkboxes:q,cell:Y,showGray:R})),[Y?.qState,O,z,q]),ee=(0,t.useCallback)((e=>{e.preventDefault()}),[q]),te=(0,t.useMemo)((()=>Y&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:y,cell:Y,textAlign:g})),[y,Y,g]);if(!Y)return null;const ne="grid"===G&&"column"===V,re=Y?.qText??"";let oe;Y.qHighlightRanges?.qRanges?.length&&(oe=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t,n=0){const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(re,Y.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ae={alignItems:"center",display:"flex",fontSize:"8px"},ie="rtl"===y,le={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:ie?8:q?0:void 0,paddingRight:q?0:ie?8:0,justifyContent:te},se=0===e,ce=Q&&h,ue=!q&&Q&&!h,de=!q&&x,fe=q||!x,pe=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ni[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:D,label:re,qState:Y.qState,currentIndex:W.currentIndex,maxIndex:W.max,showSearch:k}),he=!ie&&"right"===te||ie&&"left"===te;return t.createElement(Jo,{className:To.barContainer,checkboxes:q,style:U,styles:B,isGridCol:ne,isGridMode:"grid"===G,dense:z,direction:y,sizes:P,frequencyMode:N,freqHitsValue:he,contentFontStyle:F,"data-testid":"listbox.item"},t.createElement(_i,{role:"row","aria-label":pe,"aria-selected":Q,"aria-setsize":W.max,"aria-rowindex":W.currentIndex,ref:K,container:!0,dataLayout:G,cellPaddingRight:fe,layoutOrder:V,itemPadding:$,gap:0,className:Uo(["value",...J]),classes:{root:To.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:X,onTouchStart:d,onTouchEnd:f,onContextMenu:ee,tabIndex:se&&I.innerTabStops?0:-1,"data-n":Y?.qElemNumber,direction:y,fillHeight:j},Y?.qFrequency&&t.createElement(xi,{qFrequency:Y?.qFrequency,histogram:O,checkboxes:q,isSelected:Q,frequencyMax:S}),t.createElement(Et,{item:!0,style:le,className:Uo([To.cell,To.selectedCell]),title:`${re}`},oe?t.createElement(gi,{onChange:i,labels:oe,checkboxes:q,dense:z,showGray:R,qElemNumber:Y.qElemNumber,isSelected:Q,cell:Y,isGridCol:ne,isSingleSelect:C,valueTextAlign:te,styles:B}):t.createElement(vi,{onChange:i,label:re,qElemNumber:Y.qElemNumber,isSelected:Q,dense:z,cell:Y,isGridCol:ne,showGray:R,isSingleSelect:C,checkboxes:q,valueTextAlign:te,styles:B})),b&&t.createElement(wi,{cell:Y,checkboxes:q,dense:z,showGray:R}),de&&t.createElement(Et,{item:!0,className:To.icon},ce&&t.createElement(Xt,{style:ae,size:"small"}),ue&&t.createElement(Mo,{style:ae,size:"small"}))))};var Bi=o(411),ji=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function zi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||ji(r)&&ji(o)))return!1;var r,o;return!0}const Gi=function(e,t){var n;void 0===t&&(t=zi);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var Vi="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function $i(e){cancelAnimationFrame(e.id)}function Zi(e,t){var n=Vi(),r={id:requestAnimationFrame((function o(){Vi()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Ui=-1;function Wi(e){if(void 0===e&&(e=!1),-1===Ui||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Ui=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ui}var Hi=null;function Ki(e){if(void 0===e&&(e=!1),null===Hi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Hi="positive-descending":(t.scrollLeft=1,Hi=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Hi}return Hi}var Xi=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Yi(e){var n,r=e.getColumnOffset,o=e.getColumnStartIndexForOffset,a=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,l=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,c=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,d=e.getRowHeight,f=e.getRowOffset,p=e.getRowStartIndexForOffset,h=e.getRowStopIndexForStartIndex,m=e.initInstanceProps,q=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=m(n.props,fn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:fn(n),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof n.props.initialScrollLeft?n.props.initialScrollLeft:0,scrollTop:"number"==typeof n.props.initialScrollTop?n.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Gi((function(e,t,r,o,a,i,l,s){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),n._callOnScroll=void 0,n._callOnScroll=Gi((function(e,t,r,o,a){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,l=a.columnWidth,s=a.direction,c=a.rowHeight,u=n._getItemStyleCache(q&&l,q&&s,q&&c),p=e+":"+t;if(u.hasOwnProperty(p))o=u[p];else{var h=r(n.props,t,n._instanceProps),m="rtl"===s;u[p]=o={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f(n.props,e,n._instanceProps),height:d(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=Gi((function(e,t,n){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=n.props.direction,c=a;if("rtl"===t)switch(Ki()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&$i(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zi(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}hn(n,e),n.getDerivedStateFromProps=function(e,t){return Qi(e,t),g(e),null};var y=n.prototype;return y.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},y.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,i=a.columnCount,d=a.height,f=a.rowCount,p=a.width,h=this.state,m=h.scrollLeft,q=h.scrollTop,g=Wi();void 0!==r&&(r=Math.max(0,Math.min(r,i-1))),void 0!==o&&(o=Math.max(0,Math.min(o,f-1)));var y=l(this.props,this._instanceProps),v=s(this.props,this._instanceProps)>p?g:0,b=y>d?g:0;this.scrollTo({scrollLeft:void 0!==r?c(this.props,r,n,m,this._instanceProps,b):m,scrollTop:void 0!==o?u(this.props,o,n,q,this._instanceProps,v):q})},y.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},y.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(Ki()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},y.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&$i(this._resetIsScrollingTimeoutId)},y.render=function(){var e=this.props,n=e.children,r=e.className,o=e.columnCount,a=e.direction,i=e.height,c=e.innerRef,u=e.innerElementType,d=e.innerTagName,f=e.itemData,p=e.itemKey,h=void 0===p?Xi:p,m=e.outerElementType,q=e.outerTagName,g=e.rowCount,y=e.style,v=e.useIsScrolling,b=e.width,C=this.state.isScrolling,E=this._getHorizontalRangeToRender(),S=E[0],O=E[1],I=this._getVerticalRangeToRender(),R=I[0],x=I[1],w=[];if(o>0&&g)for(var L=R;L<=x;L++)for(var _=S;_<=O;_++)w.push((0,t.createElement)(n,{columnIndex:_,data:f,isScrolling:v?C:void 0,key:h({columnIndex:_,data:f,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,_)}));var N=l(this.props,this._instanceProps),A=s(this.props,this._instanceProps);return(0,t.createElement)(m||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:dn({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,t.createElement)(u||d||"div",{children:w,ref:c,style:{height:N,pointerEvents:C?"none":void 0,width:A}}))},y._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],f=u[1],p=u[2],h=u[3];this._callOnItemsRendered(i,l,d,f,s,c,p,h)}if("function"==typeof r){var m=this.state,q=m.horizontalScrollDirection,g=m.scrollLeft,y=m.scrollTop,v=m.scrollUpdateWasRequested,b=m.verticalScrollDirection;this._callOnScroll(g,y,q,b,v)}},y._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,f=n||r||i||1;if(0===t||0===l)return[0,0,0,0];var p=o(this.props,d,this._instanceProps),h=a(this.props,p,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,f),q=u&&"forward"!==c?1:Math.max(1,f);return[Math.max(0,p-m),Math.max(0,Math.min(t-1,h+q)),p,h]},y._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=p(this.props,c,this._instanceProps),f=h(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,f+q)),d,f]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},n}var Qi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Ji=function(e,t){return e};function el(e){var n,r=e.getItemOffset,o=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=c(n.props,fn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:fn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Gi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Gi((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,o=n.props,i=o.direction,l=o.itemSize,s=o.layout,c=n._getItemStyleCache(u&&l,u&&s,u&&i);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),f=a(n.props,e,n._instanceProps),p="horizontal"===i||"horizontal"===s,h="rtl"===i,m=p?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:p?0:d,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=Gi((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,i=o;if("rtl"===t)switch(Ki()){case"negative":i=-o;break;case"positive-descending":i=a-r-o}return i=Math.max(0,Math.min(i,a-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;n.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&$i(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zi(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}hn(n,e),n.getDerivedStateFromProps=function(e,t){return tl(e,t),d(e),null};var f=n.prototype;return f.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},f.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?Wi():0:s.scrollHeight>s.clientHeight?Wi():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},f.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},f.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(Ki()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},f.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&$i(this._resetIsScrollingTimeoutId)},f.render=function(){var e=this.props,n=e.children,r=e.className,a=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,c=e.innerTagName,u=e.itemCount,d=e.itemData,f=e.itemKey,p=void 0===f?Ji:f,h=e.layout,m=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,v=e.width,b=this.state.isScrolling,C="horizontal"===a||"horizontal"===h,E=C?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),O=S[0],I=S[1],R=[];if(u>0)for(var x=O;x<=I;x++)R.push((0,t.createElement)(n,{data:d,key:p(x,d),index:x,isScrolling:y?b:void 0,style:this._getItemStyle(x)}));var w=o(this.props,this._instanceProps);return(0,t.createElement)(m||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:dn({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(s||c||"div",{children:R,ref:l,style:{height:C?"100%":w,pointerEvents:b?"none":void 0,width:C?w:"100%"}}))},f._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},f._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),f=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var tl=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},nl=Yi({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var f=Math.round(d+(u-d)/2);return f<Math.ceil(s/2)?0:f>c+Math.floor(s/2)?c:f;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var f=Math.round(d+(u-d)/2);return f<Math.ceil(l/2)?0:f>c+Math.floor(l/2)?c:f;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),rl=el({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,f="horizontal"===i||"horizontal"===u?d:l,p=Math.max(0,s*c-f),h=Math.min(p,t*c),m=Math.max(0,t*c-f+c+a);switch("smart"===n&&(n=r>=m-f&&r<=h+f?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var q=Math.round(m+(h-m)/2);return q<Math.ceil(f/2)?0:q>p+Math.floor(f/2)?p:q;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const ol="#BBB",al="#f1f1f1",il={styledScrollbars:"ListBox-styledScrollbars"},ll=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,sl=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,cl=(e,t,n,r)=>e===t*n+r+n;function ul({renderProps:e,layoutOptions:t,maxCount:n,columnCount:r,rowCount:o,overflowDisclaimer:a,qCardinal:i,dataOffset:l}){const s="column"===t?.layoutOrder&&"singleColumn"!==t.dataLayout,c=ll(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=cl(i,c,s?o:r,l),p=!!l&&sl(e,s),h=d&&!f&&c>=u-1||p||a.state.show;a.set(h)}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dl.apply(this,arguments)}const{StyledFixedSizeList:fl,StyledFixedSizeGrid:pl}=function(){const e=e=>({scrollbarColor:`${ol} ${al}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:al},"&::-webkit-scrollbar-thumb":{backgroundColor:ol,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Bi.Z)(rl,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${il.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,Bi.Z)(nl,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${il.styledScrollbars}`]:e(t)})))}}(),hl=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(n.text,n.font||"12px Source Sans Pro")),[n.text,n.font])};function ml(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function ql({isGridMode:e,dense:t}){let n=t?$o:e?Go:Vo;return e&&(n+=Zo),n}const gl=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,styles:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,{fontSize:h="12px",fontFamily:m="Source sans pro"}=l?.content||{},q=`${h} ${m}`,g=hl({text:ml(e),font:q}),y=hl({text:ml(5),font:q}),v=hl({text:ml(8),font:q}),b=a?y:0,C=i?20:0;let E=56+b+C;!i&&E>=zo&&(E+=20);let S,O,I,R,x=g+18+b+C;!i&&x>=zo&&(x+=20),x=Math.min(150,Math.max(x,E));const w=ql({isGridMode:"grid"===p,dense:f}),L=n??8*w;if(c){let e=t;"row"===c?(S={overflowX:"hidden"},e+=2*Zo,({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s),l=Math.max(l,1);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:x,itemMinWidth:E}))):(S={overflowY:"hidden"},({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c),l=Math.max(l,1);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:L,columnAutoWidth:x,containerWidth:e,itemMinWidth:E})))}O=("singleColumn"===p?1:O)||1,R=("singleColumn"===p?o:R)||r;const _=s.dense?838e3:577e3;R=Math.min(R,_);const N=Math.floor(3355e4/I);O=Math.min(O,N)||1;const A=R*O;return{columnCount:O,columnWidth:I,rowCount:R,overflowStyling:S,itemHeight:w,listHeight:L,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,A),maxCount:{row:_,column:N},itemPadding:Zo,textWidth:g,freqMinWidth:y,freqMaxWidth:v}},yl=({pages:e=[],minimumBatchSize:t,count:n})=>{const r=e.some((e=>e.qArea.qHeight<t)),o=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return r?o:n},[vl,bl]=$e({});function Cl(e){const t=`${e.id}`,[n]=vl();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function El(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Sl(e){return e instanceof El(e).Element||e instanceof Element}function Ol(e){return e instanceof El(e).HTMLElement||e instanceof HTMLElement}function Il(e){return"undefined"!=typeof ShadowRoot&&(e instanceof El(e).ShadowRoot||e instanceof ShadowRoot)}var Rl=Math.max,xl=Math.min,wl=Math.round;function Ll(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function _l(){return!/^((?!chrome|android).)*safari/i.test(Ll())}function Nl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ol(e)&&(o=e.offsetWidth>0&&wl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&wl(r.height)/e.offsetHeight||1);var i=(Sl(e)?El(e):window).visualViewport,l=!_l()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Al(e){var t=El(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Tl(e){return e?(e.nodeName||"").toLowerCase():null}function Pl(e){return((Sl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dl(e){return Nl(Pl(e)).left+Al(e).scrollLeft}function kl(e){return El(e).getComputedStyle(e)}function Ml(e){var t=kl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fl(e,t,n){void 0===n&&(n=!1);var r,o,a=Ol(t),i=Ol(t)&&function(e){var t=e.getBoundingClientRect(),n=wl(t.width)/e.offsetWidth||1,r=wl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Pl(t),s=Nl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==Tl(t)||Ml(l))&&(c=(r=t)!==El(r)&&Ol(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Al(r)),Ol(t)?((u=Nl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=Dl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Bl(e){var t=Nl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function jl(e){return"html"===Tl(e)?e:e.assignedSlot||e.parentNode||(Il(e)?e.host:null)||Pl(e)}function zl(e){return["html","body","#document"].indexOf(Tl(e))>=0?e.ownerDocument.body:Ol(e)&&Ml(e)?e:zl(jl(e))}function Gl(e,t){var n;void 0===t&&(t=[]);var r=zl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=El(r),i=o?[a].concat(a.visualViewport||[],Ml(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Gl(jl(i)))}function Vl(e){return["table","td","th"].indexOf(Tl(e))>=0}function $l(e){return Ol(e)&&"fixed"!==kl(e).position?e.offsetParent:null}function Zl(e){for(var t=El(e),n=$l(e);n&&Vl(n)&&"static"===kl(n).position;)n=$l(n);return n&&("html"===Tl(n)||"body"===Tl(n)&&"static"===kl(n).position)?t:n||function(e){var t=/firefox/i.test(Ll());if(/Trident/i.test(Ll())&&Ol(e)&&"fixed"===kl(e).position)return null;var n=jl(e);for(Il(n)&&(n=n.host);Ol(n)&&["html","body"].indexOf(Tl(n))<0;){var r=kl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ul="top",Wl="bottom",Hl="right",Kl="left",Xl="auto",Yl=[Ul,Wl,Hl,Kl],Ql="start",Jl="end",es="viewport",ts="popper",ns=Yl.reduce((function(e,t){return e.concat([t+"-"+Ql,t+"-"+Jl])}),[]),rs=[].concat(Yl,[Xl]).reduce((function(e,t){return e.concat([t,t+"-"+Ql,t+"-"+Jl])}),[]),os=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function as(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var is={placement:"bottom",modifiers:[],strategy:"absolute"};function ls(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ss(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?is:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},is,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Sl(e)?Gl(e):e.contextElement?Gl(e.contextElement):[],popper:Gl(t)};var i,c,f=function(e){var t=as(e);return os.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(ls(t,n)){l.rects={reference:Fl(t,Zl(n),"fixed"===l.options.strategy),popper:Bl(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!ls(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var cs={passive:!0};function us(e){return e.split("-")[0]}function ds(e){return e.split("-")[1]}function fs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ps(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?us(o):null,i=o?ds(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Ul:t={x:l,y:n.y-r.height};break;case Wl:t={x:l,y:n.y+n.height};break;case Hl:t={x:n.x+n.width,y:s};break;case Kl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?fs(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ql:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Jl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var hs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ms(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,q="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=q.x,m=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=Kl,b=Ul,C=window;if(c){var E=Zl(n),S="clientHeight",O="clientWidth";E===El(n)&&"static"!==kl(E=Pl(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Ul||(o===Kl||o===Hl)&&a===Jl)&&(b=Wl,m-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,m*=s?1:-1),o!==Kl&&(o!==Ul&&o!==Wl||a!==Jl)||(v=Hl,p-=(d&&E===C&&C.visualViewport?C.visualViewport.width:E[O])-r.width,p*=s?1:-1)}var I,R=Object.assign({position:l},c&&hs),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:wl(n*o)/o||0,y:wl(r*o)/o||0}}({x:p,y:m},El(n)):{x:p,y:m};return p=x.x,m=x.y,s?Object.assign({},R,((I={})[b]=y?"0":"",I[v]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",I)):Object.assign({},R,((t={})[b]=y?m+"px":"",t[v]=g?p+"px":"",t.transform="",t))}const qs={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ol(o)&&Tl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ol(r)&&Tl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var gs={left:"right",right:"left",bottom:"top",top:"bottom"};function ys(e){return e.replace(/left|right|bottom|top/g,(function(e){return gs[e]}))}var vs={start:"end",end:"start"};function bs(e){return e.replace(/start|end/g,(function(e){return vs[e]}))}function Cs(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Il(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Es(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ss(e,t,n){return t===es?Es(function(e,t){var n=El(e),r=Pl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=_l();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Dl(e),y:s}}(e,n)):Sl(t)?function(e,t){var n=Nl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Es(function(e){var t,n=Pl(e),r=Al(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Rl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Rl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Dl(e),s=-r.scrollTop;return"rtl"===kl(o||n).direction&&(l+=Rl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Pl(e)))}function Os(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Is(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Rs(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?es:c,d=n.elementContext,f=void 0===d?ts:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,q=void 0===m?0:m,g=Os("number"!=typeof q?q:Is(q,Yl)),y=f===ts?"reference":ts,v=e.rects.popper,b=e.elements[h?y:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Gl(jl(e)),n=["absolute","fixed"].indexOf(kl(e).position)>=0&&Ol(e)?Zl(e):e;return Sl(n)?t.filter((function(e){return Sl(e)&&Cs(e,n)&&"body"!==Tl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Ss(e,n,r);return t.top=Rl(o.top,t.top),t.right=xl(o.right,t.right),t.bottom=xl(o.bottom,t.bottom),t.left=Rl(o.left,t.left),t}),Ss(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(Sl(b)?b:b.contextElement||Pl(e.elements.popper),s,u,i),E=Nl(e.elements.reference),S=ps({reference:E,element:v,strategy:"absolute",placement:o}),O=Es(Object.assign({},v,S)),I=f===ts?O:E,R={top:C.top-I.top+g.top,bottom:I.bottom-C.bottom+g.bottom,left:C.left-I.left+g.left,right:I.right-C.right+g.right},x=e.modifiersData.offset;if(f===ts&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Hl,Wl].indexOf(e)>=0?1:-1,n=[Ul,Wl].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function xs(e,t,n){return Rl(e,xl(t,n))}function ws(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ls(e){return[Ul,Hl,Wl,Kl].some((function(t){return e[t]>=0}))}var _s=ss({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=El(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,cs)})),l&&s.addEventListener("resize",n.update,cs),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,cs)})),l&&s.removeEventListener("resize",n.update,cs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ps({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:us(t.placement),variation:ds(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ms(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ms(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qs,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=rs.reduce((function(e,n){return e[n]=function(e,t,n){var r=us(e),o=[Kl,Ul].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Kl,Hl].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,q=t.options.placement,g=us(q),y=s||(g!==q&&h?function(e){if(us(e)===Xl)return[];var t=ys(e);return[bs(e),t,bs(t)]}(q):[ys(q)]),v=[q].concat(y).reduce((function(e,n){return e.concat(us(n)===Xl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?rs:s,u=ds(r),d=u?l?ns:ns.filter((function(e){return ds(e)===u})):Yl,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Rs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[us(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,C=t.rects.popper,E=new Map,S=!0,O=v[0],I=0;I<v.length;I++){var R=v[I],x=us(R),w=ds(R)===Ql,L=[Ul,Wl].indexOf(x)>=0,_=L?"width":"height",N=Rs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),A=L?w?Hl:Kl:w?Wl:Ul;b[_]>C[_]&&(A=ys(A));var T=ys(A),P=[];if(a&&P.push(N[x]<=0),l&&P.push(N[A]<=0,N[T]<=0),P.every((function(e){return e}))){O=R,S=!1;break}E.set(R,P)}if(S)for(var D=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},k=h?3:1;k>0&&"break"!==D(k);k--);t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,q=Rs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=us(t.placement),y=ds(t.placement),v=!y,b=fs(g),C="x"===b?"y":"x",E=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(E){if(a){var L,_="y"===b?Ul:Kl,N="y"===b?Wl:Hl,A="y"===b?"height":"width",T=E[b],P=T+q[_],D=T-q[N],k=p?-O[A]/2:0,M=y===Ql?S[A]:O[A],F=y===Ql?-O[A]:-S[A],B=t.elements.arrow,j=p&&B?Bl(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=z[_],V=z[N],$=xs(0,S[A],j[A]),Z=v?S[A]/2-k-$-G-R.mainAxis:M-$-G-R.mainAxis,U=v?-S[A]/2+k+$+V+R.mainAxis:F+$+V+R.mainAxis,W=t.elements.arrow&&Zl(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(L=null==x?void 0:x[b])?L:0,X=T+U-K,Y=xs(p?xl(P,T+Z-K-H):P,T,p?Rl(D,X):D);E[b]=Y,w[b]=Y-T}if(l){var Q,J="x"===b?Ul:Kl,ee="x"===b?Wl:Hl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Ul,Kl].indexOf(g),ie=null!=(Q=null==x?void 0:x[C])?Q:0,le=ae?re:te-S[ne]-O[ne]-ie+R.altAxis,se=ae?te+S[ne]+O[ne]-ie-R.altAxis:oe,ce=p&&ae?function(e,t,n){var r=xs(e,t,n);return r>n?n:r}(le,te,se):xs(p?le:re,te,p?se:oe);E[C]=ce,w[C]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=us(n.placement),s=fs(l),c=[Kl,Hl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Os("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Is(e,Yl))}(o.padding,n),d=Bl(a),f="y"===s?Ul:Kl,p="y"===s?Wl:Hl,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],q=Zl(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=h/2-m/2,v=u[f],b=g-d[c]-u[p],C=g/2-d[c]/2+y,E=xs(v,C,b),S=s;n.modifiersData[r]=((t={})[S]=E,t.centerOffset=E-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Cs(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Rs(t,{elementContext:"reference"}),l=Rs(t,{altBoundary:!0}),s=ws(i,r),c=ws(l,o,a),u=Ls(s),d=Ls(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Ns(e){return(0,Pe.Z)("MuiPopper",e)}(0,Te.Z)("MuiPopper",["root"]);const As={disableDefaultClasses:!1},Ts=t.createContext(As),Ps=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ds=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ks(e){return"function"==typeof e?e():e}const Ms={},Fs=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:p={},slots:h={},TransitionProps:m}=e,q=nr(e,Ps),g=t.useRef(null),y=(0,rr.Z)(g,n),v=t.useRef(null),b=(0,rr.Z)(v,f),C=t.useRef(b);(0,Vr.Z)((()=>{C.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[S,O]=t.useState(E),[I,R]=t.useState(ks(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(ks(o))}),[o]),(0,Vr.Z)((()=>{if(!I||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=_s(I,g.current,tr({placement:E},d,{modifiers:e}));return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,l,s,c,d,E]);const x={placement:S};null!==m&&(x.TransitionProps=m);const w=(0,ct.Z)({root:["root"]},function(e){const{disableDefaultClasses:n}=t.useContext(Ts);return t=>n?"":e(t)}(Ns)),L=null!=(r=h.root)?r:"div",_=cr({elementType:L,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:w.root});return(0,qe.jsx)(L,tr({},_,{children:"function"==typeof a?a(x):a}))})),Bs=t.forwardRef((function(e,n){const{anchorEl:r,children:o,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=Ms,popperRef:p,style:h,transition:m=!1,slotProps:q={},slots:g={}}=e,y=nr(e,Ds),[v,b]=t.useState(!0);if(!s&&!u&&(!m||v))return null;let C;if(a)C=a;else if(r){const e=ks(r);C=e&&void 0!==e.nodeType?(0,Lr.Z)(e).body:(0,Lr.Z)(null).body}const E=u||!s||m&&!v?void 0:"none",S=m?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,qe.jsx)(Zr,{disablePortal:l,container:C,children:(0,qe.jsx)(Fs,tr({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:m?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:g},y,{style:tr({position:"fixed",top:0,left:0,display:E},h),TransitionProps:S,children:o}))})})),js=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],zs=(0,ut.ZP)(Bs,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gs=t.forwardRef((function(e,t){var n;const r=(0,ve.Z)(),o=(0,dt.Z)({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:q,transition:g,slots:y,slotProps:v}=o,b=(0,ue.Z)(o,js),C=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,E=(0,ce.Z)({anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:q,transition:g},b);return(0,qe.jsx)(zs,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:C},slotProps:null!=v?v:s},E,{ref:t}))}));var Vs=o(9673);function $s(e){return(0,Pe.Z)("MuiTooltip",e)}const Zs=(0,Te.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Us=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],Ws=(0,ut.ZP)(Gs,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,ce.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Zs.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Zs.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Zs.arrow}`]:(0,ce.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Zs.arrow}`]:(0,ce.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Hs=(0,ut.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,Yt.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,an.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(16/14,Math.round(114285.71428571428)/1e5+"em"),fontWeight:e.typography.fontWeightRegular},{[`.${Zs.popper}[data-popper-placement*="left"] &`]:(0,ce.Z)({transformOrigin:"right center"},t.isRtl?(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Zs.popper}[data-popper-placement*="right"] &`]:(0,ce.Z)({transformOrigin:"left center"},t.isRtl?(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Zs.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Zs.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Ks=(0,ut.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,an.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Xs=!1,Ys=null,Qs={x:0,y:0};function Js(e,t){return n=>{t&&t(n),e(n)}}const ec=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,h,m,q,g,y,v,b,C;const E=(0,dt.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:L=!1,disableInteractive:_=!1,disableTouchListener:N=!1,enterDelay:A=100,enterNextDelay:T=0,enterTouchDelay:P=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:$={},slotProps:Z={},slots:U={},title:W,TransitionComponent:H=wr,TransitionProps:K}=E,X=(0,ue.Z)(E,Us),Y=t.isValidElement(O)?O:(0,qe.jsx)("span",{children:O}),Q=se(),J="rtl"===Q.direction,[ee,te]=t.useState(),[ne,re]=t.useState(null),oe=t.useRef(!1),ae=_||D,ie=t.useRef(),le=t.useRef(),de=t.useRef(),fe=t.useRef(),[pe,he]=(0,Ea.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=pe;const ge=(0,Vs.Z)(k),ye=t.useRef(),ve=t.useCallback((()=>{void 0!==ye.current&&(document.body.style.WebkitUserSelect=ye.current,ye.current=void 0),clearTimeout(fe.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ie.current),clearTimeout(le.current),clearTimeout(de.current),ve()}),[ve]);const be=e=>{clearTimeout(Ys),Xs=!0,he(!0),j&&!me&&j(e)},Ce=(0,sn.Z)((e=>{clearTimeout(Ys),Ys=setTimeout((()=>{Xs=!1}),800+M),he(!1),B&&me&&B(e),clearTimeout(ie.current),ie.current=setTimeout((()=>{oe.current=!1}),Q.transitions.duration.shortest)})),Ee=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),clearTimeout(le.current),clearTimeout(de.current),A||Xs&&T?le.current=setTimeout((()=>{be(e)}),Xs?T:A):be(e))},Se=e=>{clearTimeout(le.current),clearTimeout(de.current),de.current=setTimeout((()=>{Ce(e)}),M)},{isFocusVisibleRef:Oe,onBlur:Ie,onFocus:Re,ref:xe}=(0,cn.Z)(),[,we]=t.useState(!1),Le=e=>{Ie(e),!1===Oe.current&&(we(!1),Se(e))},_e=e=>{ee||te(e.currentTarget),Re(e),!0===Oe.current&&(we(!0),Ee(e))},Ne=e=>{oe.current=!0;const t=Y.props;t.onTouchStart&&t.onTouchStart(e)},Ae=Ee,Te=Se;t.useEffect((()=>{if(me)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}}),[Ce,me]);const Pe=(0,ln.Z)(Y.ref,xe,te,n);W||0===W||(me=!1);const De=t.useRef(),ke={},Me="string"==typeof W;x?(ke.title=me||!Me||L?null:W,ke["aria-describedby"]=me?ge:null):(ke["aria-label"]=Me?W:null,ke["aria-labelledby"]=me&&!Me?ge:null);const Fe=(0,ce.Z)({},ke,X,Y.props,{className:(0,nt.Z)(X.className,Y.props.className),onTouchStart:Ne,ref:Pe},D?{onMouseMove:e=>{const t=Y.props;t.onMouseMove&&t.onMouseMove(e),Qs={x:e.clientX,y:e.clientY},De.current&&De.current.update()}}:{}),Be={};N||(Fe.onTouchStart=e=>{Ne(e),clearTimeout(de.current),clearTimeout(ie.current),ve(),ye.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",fe.current=setTimeout((()=>{document.body.style.WebkitUserSelect=ye.current,Ee(e)}),P)},Fe.onTouchEnd=e=>{Y.props.onTouchEnd&&Y.props.onTouchEnd(e),ve(),clearTimeout(de.current),de.current=setTimeout((()=>{Ce(e)}),F)}),L||(Fe.onMouseOver=Js(Ae,Fe.onMouseOver),Fe.onMouseLeave=Js(Te,Fe.onMouseLeave),ae||(Be.onMouseOver=Ae,Be.onMouseLeave=Te)),w||(Fe.onFocus=Js(_e,Fe.onFocus),Fe.onBlur=Js(Le,Fe.onBlur),ae||(Be.onFocus=_e,Be.onBlur=Le));const je=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=$.popperOptions)&&e.modifiers&&(t=t.concat($.popperOptions.modifiers)),(0,ce.Z)({},$.popperOptions,{modifiers:t})}),[ne,$]),ze=(0,ce.Z)({},E,{isRtl:J,arrow:S,disableInteractive:ae,placement:G,PopperComponentProp:V,touch:oe.current}),Ge=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,Yt.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,ct.Z)(i,$s,t)})(ze),Ve=null!=(r=null!=(o=U.popper)?o:I.Popper)?r:Ws,$e=null!=(a=null!=(i=null!=(l=U.transition)?l:I.Transition)?i:H)?a:wr,Ze=null!=(s=null!=(c=U.tooltip)?c:I.Tooltip)?s:Hs,Ue=null!=(u=null!=(d=U.arrow)?d:I.Arrow)?u:Ks,We=ar(Ve,(0,ce.Z)({},$,null!=(f=Z.popper)?f:R.popper,{className:(0,nt.Z)(Ge.popper,null==$?void 0:$.className,null==(p=null!=(h=Z.popper)?h:R.popper)?void 0:p.className)}),ze),He=ar($e,(0,ce.Z)({},K,null!=(m=Z.transition)?m:R.transition),ze),Ke=ar(Ze,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,nt.Z)(Ge.tooltip,null==(g=null!=(y=Z.tooltip)?y:R.tooltip)?void 0:g.className)}),ze),Xe=ar(Ue,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,nt.Z)(Ge.arrow,null==(b=null!=(C=Z.arrow)?C:R.arrow)?void 0:b.className)}),ze);return(0,qe.jsxs)(t.Fragment,{children:[t.cloneElement(Y,Fe),(0,qe.jsx)(Ve,(0,ce.Z)({as:null!=V?V:Gs,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Qs.y,left:Qs.x,right:Qs.x,bottom:Qs.y,width:0,height:0})}:ee,popperRef:De,open:!!ee&&me,id:ge,transition:!0},Be,We,{popperOptions:je,children:({TransitionProps:e})=>(0,qe.jsx)($e,(0,ce.Z)({timeout:Q.transitions.duration.shorter},e,He,{children:(0,qe.jsxs)(Ze,(0,ce.Z)({},Ke,{children:[W,S?(0,qe.jsx)(Ue,(0,ce.Z)({},Xe,{ref:re})):null]}))}))}))]})})),tc=ec,nc=(0,ut.ZP)(on,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function rc({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(Ve);return t.createElement(tc,{title:o?a.get(n):""},t.createElement(nc,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var oc=o(528);const ac=(0,ut.ZP)(po)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),ic=(0,ut.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),lc=(0,ut.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),sc=(0,ut.ZP)(oc.Z)((()=>({fontSize:"14px"})));function cc({text:e,dismiss:n,dense:r,parentWidth:o=0}){const a="function"==typeof n,i=r?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=r&&o<i;return t.createElement(ac,{left:l,style:{maxWidth:i}},t.createElement(ic,null,t.createElement(rc,{text:e,dense:r,width:s,tooltip:c})),t.createElement(lc,{dense:r},a&&t.createElement(Jn,{"aria-label":"close",onClick:()=>n()},t.createElement(sc,null))))}const uc=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,dc=80;function fc({itemWidth:e,layout:t,frequencyMode:n}){const r=e>dc,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const pc=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`},hc=(e,n)=>{const r=(e=>"fetch"===e?.frequencyMax)(n),[o,a]=(0,t.useState)(),[i,l]=(0,t.useState)(r);return(0,t.useEffect)((()=>{r&&(async()=>{const t=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=pc(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},mc=100,qc=(0,ut.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function gc({model:e,app:n,constraints:r,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:f,fetchStart:p,postProcessPages:h,calculatePagesHeight:m=!1,keyboard:q={},showGray:g=!0,scrollState:y,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:C={set:()=>{}},renderedCallback:E,onCtrlF:S,showSearch:O,isModal:I,styles:R}){const{translator:x}=(0,t.useContext)(Ve),[w,L]=(0,t.useState)(!1),_=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:N=s,histogram:A}=o??{},[T,P]=(0,t.useState)(""),D=(0,t.useRef)(null),k=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),M=(0,t.useRef)({pages:[]}),{frequencyMax:F,awaitingFrequencyMax:B}=hc(n,o),{isLoadingData:j,...z}=function({local:e,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)([]);let[f]=(0,t.useState)(0);const p=(t,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:t+u,stop:s+u});const p=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const n=e.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>f?n.start-f:0,qHeight:f,qLeft:0,qWidth:1},{qTop:n.start,qHeight:f,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),p?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(f=e),p)},pages:u,isLoading:s}}({local:k,loaderRef:D,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:h,listData:M}),{getStoreValue:G,setStoreValue:V}=Cl(e),$=(0,t.useCallback)(z.loadMoreItems,[o]),[Z,U]=(0,t.useState)({show:!1,dismissed:!1}),[W,H]=(0,t.useState)([]);z?.pages&&i.update({setPages:H,pages:z.pages,isSingleSelect:_,selectDisabled:v,layout:o});const K=o?.qListObject.qDimensionInfo.qCardinal;(z?.pages.length&&!B||0===K)&&E?.();const X=(0,t.useCallback)((e=>{if(!W?.length||!k.current.validPages)return!1;k.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=W.filter((e=>t(e)))[0];return n&&t(n)}),[o,W]),{interactionEvents:Y,select:Q}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document,loaderRef:a}){const i=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,t.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=()=>(e.setSelectableValuesUpdating(),No({selections:n,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return _o(t)}(e.enginePages)),c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Do(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Do(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),f=(0,t.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),p=(0,t.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),h=(0,t.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),m=(0,t.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Po)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Po)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,t.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",p),()=>{o.removeEventListener("mouseup",p)})),[p]),(0,t.useEffect)((()=>{const t=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return n.on("clearItemStates",t),n.on("deactivated",t),n.on("cleared",r),()=>{n.removeListener("clearItemStates",t),n.removeListener("deactivated",t),n.removeListener("cleared",r)}}),[n]);const g={};return r?Object.assign(g,{onChange:u}):Object.assign(g,{onMouseUp:f,onMouseDown:d,onMouseEnter:h,onTouchStart:m,onTouchEnd:q}),{interactionEvents:g,select:(t=[],r=!1,o=void 0)=>{const a=!e.isSingleSelect&&Do(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),No({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:N,doc:document,loaderRef:D}),{layoutOptions:J={}}=o||{};let ee=!0;J.dataLayout&&(ee="singleColumn"===J.dataLayout||"row"===J?.layoutOrder);const te="grid"===J?.dataLayout,ne=e=>{const t={...ee?{rowIndex:e}:{columnIndex:e}},n=te?t:e;D.current._listRef.scrollToItem(n)},re=()=>{if(k.current.queue=[],k.current.validPages=!1,D.current){D.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());k.current.dataOffset=0,ne(0)}};f&&f.call(null,re),(0,t.useEffect)((()=>{y&&!w&&D.current&&(D.current._listRef.scrollToItem(y.initScrollPos),L(!0))}),[D.current]),(0,t.useEffect)((()=>{re()}),[o,k.current.dataOffset]);let oe=mc;const ae="grid"!==J.dataLayout,ie=o?.qListObject.qSize?.qcy,le=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?yl({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:W,minimumBatchSize:oe,count:ie,calculatePagesHeight:m,layoutOptions:J,model:e});let se=fc({itemWidth:u,layout:o,frequencyMode:d});const ce=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(W),ue=gl({layout:o,width:u,height:c,listCount:le,count:ie,freqIsAllowed:se,checkboxes:N,styles:R});ue.columnWidth&&(se=fc({itemWidth:ue.columnWidth,layout:o,frequencyMode:d}));const{listCount:de}=ue;V("listCount",de);const fe=G("inputText");(0,t.useEffect)((()=>{if(fe){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(de),t=x.get(e,[de]);P(t)}}),[fe,de]);const pe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=uc(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:ee,sizes:ue,layout:o,offset:k.current.dataOffset});k.current.dataOffset=n,r&&i.triggerStateChanged(),ne(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?ne(C.state.start-e.up):e.down?ne(C.state.stop+e.down):e.scrollPosition&&pe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:he}=o?.qListObject.qDimensionInfo||{},[me,qe]=(0,t.useState)({first:!1,last:!1}),{List:ge,Grid:ye}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:h,textAlign:m,selections:q,keyboard:g,showGray:y,scrollState:v,direction:b,sizes:C,listCount:E,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:w,freqIsAllowed:L,translator:_,showSearch:N,isModal:A,styles:T}){const{layoutOptions:P={}}=e||{},{columnWidth:D,listHeight:k,itemHeight:M,rowCount:F,columnCount:B}=C||{},j=("grid"===P.dataLayout?D:n)>zo,z={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:il.styledScrollbars},G=e?.qListObject.qDimensionInfo.qLocked,V=k<=M,$={isLocked:G,column:!a,pages:i,...G||l()?{}:s,checkboxes:r,layoutOptions:P,deducedFrequencyMode:c,freqIsAllowed:L,isSingleSelect:d,textAlign:m,sizes:C,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:h},frequencyMax:w,histogram:u,keyboard:g,showGray:y,showTick:j,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:_,showSearch:N,isModal:A,styles:T,fillHeight:V};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(fl,dl({},z,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:k,width:n,itemCount:E,itemData:{...$,listCount:E},itemSize:M,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),ul({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Fi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=P||{},c=Math.min(k,F*M+l);return o.current.listRef=a,t.createElement(pl,dl({},z,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:B,columnWidth:D,rowCount:F,rowHeight:M,style:{...i},itemData:{...$,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const n="row"===s;R({start:n?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:n?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,f,p,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,f=i,p=c*o,h=l):(d=s,f=i*a,p=c,h=l*a),{visibleStartIndex:d+f,visibleStopIndex:p+h}}({renderProps:t,scrollState:v,layoutOrder:s,rowCount:F,columnCount:B});ul({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Fi)}}}({direction:l,layout:o,height:c,width:u,checkboxes:N,deducedFrequencyMode:ce,histogram:A,keyboard:q,showGray:g,interactionEvents:Y,select:Q,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:he,isVertical:ae,pages:W,selectDisabled:v,isSingleSelect:_,selections:a,scrollState:y,local:k,sizes:ue,listCount:de,overflowDisclaimer:{state:Z,set:e=>U((t=>({...t,show:e})))},setScrollPosition:pe,focusListItems:{first:me.first,setFirst:e=>qe((t=>({...t,first:e}))),last:me.last,setLast:e=>qe((t=>({...t,last:e})))},setCurrentScrollIndex:C.set,constraints:r,frequencyMax:F,freqIsAllowed:se,translator:x,showSearch:O,isModal:I,styles:R}),{columnWidth:ve,listHeight:be,itemHeight:Ce}=ue||{};return ae||(oe=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:ve,listHeight:be,itemHeight:Ce})),t.createElement(qc,null,t.createElement(Ai,{className:"screenReaderOnly",layout:o}),t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},T),!de&&K>0&&t.createElement(rc,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(wo,{isItemLoaded:X,itemCount:de||1,loadMoreItems:$.with({minimumBatchSize:oe}),threshold:0,minimumBatchSize:oe,ref:D,role:"grid"},ae?ge:ye),Z.show&&!Z.dismissed&&t.createElement(cc,{text:"Listbox.ItemsOverflow",dismiss:()=>U((e=>({...e,dismissed:!0}))),parentWidth:D?.current?._listRef?.props?.width,dense:J?.dense}))}const yc=e=>({...e,shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),vc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),bc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Cc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Ec=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:yc,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:n.get("Selection.SelectPossible"),getSvgIconShape:bc,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:vc,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:Cc,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function Sc(e){return(0,Pe.Z)("MuiDivider",e)}const Oc=(0,Te.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ic=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Rc=(0,ut.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,ce.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,an.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,ce.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,ce.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),xc=(0,ut.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),wc=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=(0,ue.Z)(n,Ic),h=(0,ce.Z)({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e,c={root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]};return(0,ct.Z)(c,Sc,r)})(h);return(0,qe.jsx)(Rc,(0,ce.Z)({as:i,className:(0,nt.Z)(m.root,a),role:u,ref:t,ownerState:h},p,{children:o?(0,qe.jsx)(xc,{className:m.wrapper,ownerState:h,children:o}):null}))}));wc.muiSkipListHighlight=!0;const Lc=wc,_c=e=>({...e,shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function Nc(e){const t=se(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const Ac={className:"njs-cell-action"},Tc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=Nc(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction||n.action,f=d?e=>["Enter"].includes(e.key)&&d():null,p=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h=`actions-toolbar-${n.key}`;return t.createElement(Jn,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[Ac.className,h].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":h},c&&Ht(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Pc=Tc,Dc=e=>({...e,shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),kc=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]}),Mc=e=>Ht(kc(e)),Fc=t.createContext({});var Bc=o(5429);function jc(e){return(0,Pe.Z)("MuiListItemIcon",e)}const zc=(0,Te.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Gc=(0,Te.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Vc(e){return(0,Pe.Z)("MuiMenuItem",e)}const $c=(0,Te.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Zc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Uc=(0,ut.ZP)(Wn,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${$c.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${$c.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${$c.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${$c.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${$c.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Oc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Oc.inset}`]:{marginLeft:52},[`& .${Gc.root}`]:{marginTop:0,marginBottom:0},[`& .${Gc.inset}`]:{paddingLeft:36},[`& .${zc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,ce.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${zc.root} svg`]:{fontSize:"1.25rem"}})))),Wc=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,p=(0,ue.Z)(r,Zc),h=t.useContext(Fc),m=t.useMemo((()=>({dense:i||h.dense||!1,disableGutters:s})),[h.dense,i,s]),q=t.useRef(null);(0,Bc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const g=(0,ce.Z)({},r,{dense:m.dense,divider:l,disableGutters:s}),y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},s=(0,ct.Z)(l,Vc,i);return(0,ce.Z)({},i,s)})(r),v=(0,ln.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,qe.jsx)(Fc.Provider,{value:m,children:(0,qe.jsx)(Uc,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,nt.Z)(y.focusVisible,c),className:(0,nt.Z)(y.root,f)},p,{ownerState:g,classes:y}))})})),Hc=Wc,Kc=["className"],Xc=(0,ut.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,ce.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Yc=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Kc),i=t.useContext(Fc),l=(0,ce.Z)({},r,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,ct.Z)(r,jc,n)})(l);return(0,qe.jsx)(Xc,(0,ce.Z)({className:(0,nt.Z)(s.root,o),ownerState:l,ref:n},a))})),Qc=Yc;function Jc(e){return(0,Pe.Z)("MuiList",e)}o(5356),(0,Te.Z)("MuiList",["root","padding","dense","subheader"]);const eu=["children","className","component","dense","disablePadding","subheader"],tu=(0,ut.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,ce.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),nu=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,ue.Z)(r,eu),d=t.useMemo((()=>({dense:l})),[l]),f=(0,ce.Z)({},r,{component:i,dense:l,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,a={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,ct.Z)(a,Jc,t)})(f);return(0,qe.jsx)(Fc.Provider,{value:d,children:(0,qe.jsxs)(tu,(0,ce.Z)({as:i,className:(0,nt.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),ru=nu,ou=Tr,au=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function iu(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function lu(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function su(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function cu(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&su(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const uu=t.forwardRef((function(e,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=e,f=(0,ue.Z)(e,au),p=t.useRef(null),h=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Bc.Z)((()=>{o&&p.current.focus()}),[o]),t.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${ou((0,dr.Z)(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=(0,ln.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===n&&(q+=1,q>=i.length&&(q=-1))}));const g=t.Children.map(i,((e,n)=>{if(n===q){const n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(n.tabIndex=0),t.cloneElement(e,n)}return e}));return(0,qe.jsx)(ru,(0,ce.Z)({role:"menu",ref:m,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,dr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),cu(t,r,c,s,iu);else if("ArrowUp"===n)e.preventDefault(),cu(t,r,c,s,lu);else if("Home"===n)e.preventDefault(),cu(t,null,c,s,iu);else if("End"===n)e.preventDefault(),cu(t,null,c,s,lu);else if(1===n.length){const o=h.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const l=r&&!o.repeating&&su(r,o);o.previousKeyMatched&&(l||cu(t,r,!1,s,iu,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:g}))}));function du(){return du=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},du.apply(this,arguments)}const fu="More-icon",pu=(0,ut.ZP)(Io)((({theme:e})=>({pointerEvents:"none",[`& .${fu} *`]:{color:e.palette.text.primary}})));function hu({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=Nc(e);return o?null:t.createElement(Hc,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Qc,{className:fu},Ht(e.getSvgIconShape())),t.createElement(on,{noWrap:!0},e.label))}const mu=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>{const s=e.length>0,c=e.findIndex((e=>!e.disabled));return s&&t.createElement(pu,du({},o,{onClose:i,ref:l,open:n,anchorEl:r.current,getContentAnchorEl:null,container:r.current,disablePortal:!0,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:"njs-action-toolbar-more"},paper:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}),t.createElement(uu,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(hu,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),qu="ActionsToolbar",gu={item:`${qu}-item`,itemSpacing:`${qu}-itemSpacing`},yu=(0,ut.ZP)(Io)((({theme:e})=>({[`& .${gu.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),vu=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],addAnchor:o=!1,isRtl:a=!1},i)=>r.length>0?t.createElement(Et,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,r)=>t.createElement(Et,{item:!0,key:e.key,className:`${gu.itemSpacing} ${gu.item}`},t.createElement(Pc,{ariaExpanded:n,key:e.key,item:e,ref:0===r?i:null,addAnchor:o}))))):null)),bu={pointerEvents:"none"},Cu={vertical:"bottom",horizontal:"right"},Eu=function({show:e=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null,direction:c="ltr",autoConfirm:u=!1}){const d=function({api:e,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}){const{translator:a}=(0,t.useContext)(Ve);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:kc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Dc},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:ko}]}(o),{translator:f,keyboardNavigation:p}=(0,t.useContext)(Ve),[h,m]=(0,t.useState)(!1),q={vertical:12,horizontal:(i.anchorEl?.clientWidth??0)-7},g=(0,t.useRef)(),y=(0,t.useRef)(),v=se(),b=(0,t.useMemo)((()=>({margin:v.spacing(.5,0)}))),C=e=>{const t=g.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},E=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case Pi.ARROW_LEFT:case Pi.ARROW_DOWN:case Pi.ARROW_RIGHT:case Pi.ARROW_UP:if(a.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(a);(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})([Pi.ARROW_LEFT,Pi.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case Pi.SPACE:o.preventDefault();break;case Pi.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case Pi.ESCAPE:r&&(r.onCancel(),r.api.cancel(),o.preventDefault(),o.stopPropagation())}}}({keyboardNavigation:p,focusHandler:l,getEnabledButton:C,selections:o})),[p,l,C,o]);if((0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=C(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=C(!0);e&&e.focus()})))}),[]),u)return;let S=a.enabled,O=a.actions;const I=a.alignTo||y,R=n.filter((e=>!e.hidden));if(R.length>r){const e=R.splice(-(R.length-r)-1);S=!0,O=[...e,...a.actions]}if(!o.show&&0===R.length)return null;const x={key:"more",label:f.get("Menu.More"),getSvgIconShape:_c,hidden:!1,active:h,enabled:()=>S,action:()=>m(!h)},w=R.length>0,L=O.length>0,_=w&&o.show||L&&o.show,N="rtl"===c,A=t.createElement(Et,{ref:g,onKeyDown:E,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:N?"row-reverse":"row"}},w&&t.createElement(vu,{actions:R}),L&&t.createElement(vu,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:h,actions:[x],addAnchor:!0}),_&&t.createElement(Et,{item:!0,className:gu.itemSpacing,style:b},t.createElement(Lc,{orientation:"vertical"})),o.show&&t.createElement(vu,{className:"actions-toolbar-default-actions",actions:d,isRtl:N}),h&&t.createElement(mu,{show:h,actions:O,alignTo:I,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(yu,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:q,transformOrigin:Cu,hideBackdrop:!0,style:bu,slotProps:{paper:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:v.spacing(.5,.25)}}}},A):e&&A};var Su;const Ou=["children","classes","className","label","notched"],Iu=(0,ut.ZP)("fieldset",{shouldForwardProp:ut.FO})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Ru=(0,ut.ZP)("legend",{shouldForwardProp:ut.FO})((({ownerState:e,theme:t})=>(0,ce.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,ce.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function xu(e){return(0,Pe.Z)("MuiInputBase",e)}const wu=(0,Te.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function Lu(e){return(0,Pe.Z)("MuiOutlinedInput",e)}const _u=(0,ce.Z)({},wu,(0,Te.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Nu=o(9274),Au=o(2650);const Tu=["onChange","maxRows","minRows","style","value"];function Pu(e){return parseInt(e,10)||0}const Du={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function ku(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Mu=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=nr(e,Tu),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,rr.Z)(n,u),f=t.useRef(null),p=t.useRef(0),[h,m]=t.useState({outerHeightStyle:0}),q=t.useCallback((()=>{const t=u.current,n=(0,Ar.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const r=f.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=n.boxSizing,l=Pu(n.paddingBottom)+Pu(n.paddingTop),s=Pu(n.borderBottomWidth)+Pu(n.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let p=c;return a&&(p=Math.max(Number(a)*d,p)),o&&(p=Math.min(Number(o)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===i?l+s:0),overflow:Math.abs(p-c)<=1}}),[o,a,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=t.useCallback((()=>{const e=q();ku(e)||m((t=>g(t,e)))}),[q]);return(0,Vr.Z)((()=>{const e=()=>{p.current=0,(()=>{const e=q();ku(e)||tt.flushSync((()=>{m((t=>g(t,e)))}))})()};const t=(0,Au.Z)(e),n=u.current,r=(0,Ar.Z)(n);let o;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),o&&o.disconnect()}}),[q]),(0,Vr.Z)((()=>{y()})),t.useEffect((()=>{p.current=0}),[l]),(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("textarea",tr({value:l,onChange:e=>{p.current=0,c||y(),r&&r(e)},ref:d,rows:a,style:tr({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},i)},s)),(0,qe.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:tr({},Du,i,{paddingTop:0,paddingBottom:0})})]})}));function Fu(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,qe.jsx)(In,{styles:r})}const Bu=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,qe.jsx)(Fu,{styles:o})},ju=function(e){return(0,qe.jsx)(Bu,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function zu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Gu=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Vu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$u=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Zu=(0,ut.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Vu})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${wu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,ce.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Uu=(0,ut.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:$u})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,ce.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,ce.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${wu.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${wu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Wu=(0,qe.jsx)(ju,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Hu=t.forwardRef((function(e,n){var r;const o=(0,dt.Z)({props:e,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:l,className:s,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:m=!1,id:q,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:b,minRows:C,multiline:E=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:w,onKeyUp:L,placeholder:_,readOnly:N,renderSuffix:A,rows:T,slotProps:P={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Gu),j=null!=y.value?y.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),$=(0,ln.Z)(G,v,y.ref,V),[Z,U]=t.useState(!1),W=ta(),H=qa({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:Z,t.useEffect((()=>{!W&&f&&Z&&(U(!1),O&&O())}),[W,f,Z,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(zu(e.value)&&""!==e.value||t&&zu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,Bc.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=g,J=y;E&&"input"===Q&&(J=T?(0,ce.Z)({type:void 0,minRows:T,maxRows:T},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:C},J),Q=Mu),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,ce.Z)({},o,{color:H.color||"primary",disabled:H.disabled,endAdornment:h,error:H.error,focused:H.focused,formControl:W,fullWidth:m,hiddenLabel:H.hiddenLabel,multiline:E,size:H.size,startAdornment:k,type:M}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:h}=e,m={root:["root",`color${(0,Yt.Z)(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",f&&"medium"!==f&&`size${(0,Yt.Z)(f)}`,u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,ct.Z)(m,xu,t)})(ee),ne=D.root||c.Root||Zu,re=P.root||u.root||{},oe=D.input||c.Input||Uu;return J=(0,ce.Z)({},J,null!=(r=P.input)?r:u.input),(0,qe.jsxs)(t.Fragment,{children:[!p&&Wu,(0,qe.jsxs)(ne,(0,ce.Z)({},re,!or(ne)&&{ownerState:(0,ce.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),R&&R(e)}},B,{className:(0,nt.Z)(te.root,re.className,s,N&&"MuiInputBase-readOnly"),children:[k,(0,qe.jsx)(ea.Provider,{value:null,children:(0,qe.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:_,readOnly:N,required:H.required,rows:T,value:j,onKeyDown:w,onKeyUp:L,type:M},J,!or(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:$,className:(0,nt.Z)(te.input,J.className,N&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),y.onBlur&&y.onBlur(e),W&&W.onBlur?W.onBlur(e):U(!1)},onChange:(e,...t)=>{if(!z){const t=e.target||G.current;if(null==t)throw new Error((0,Nu.Z)(1));Y({value:t.value})}y.onChange&&y.onChange(e,...t),I&&I(e,...t)},onFocus:e=>{H.disabled?e.stopPropagation():(x&&x(e),y.onFocus&&y.onFocus(e),W&&W.onFocus?W.onFocus(e):U(!0))}}))}),h,A?A((0,ce.Z)({},H,{startAdornment:k})):null]}))]})})),Ku=Hu,Xu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Yu=(0,ut.ZP)(Zu,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Vu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,ce.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${_u.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${_u.focused} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${_u.error} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${_u.disabled} .${_u.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,ce.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Qu=(0,ut.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Ou),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,qe.jsx)(Iu,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,qe.jsx)(Ru,{ownerState:i,children:a?(0,qe.jsx)("span",{children:n}):Su||(Su=(0,qe.jsx)("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Ju=(0,ut.ZP)(Uu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:$u})((({theme:e,ownerState:t})=>(0,ce.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),ed=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,dt.Z)({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:h,slots:m={},type:q="text"}=s,g=(0,ue.Z)(s,Xu),y=(e=>{const{classes:t}=e,n=(0,ct.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Lu,t);return(0,ce.Z)({},t,n)})(s),v=ta(),b=qa({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,ce.Z)({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:q}),E=null!=(r=null!=(o=m.root)?o:c.Root)?r:Yu,S=null!=(a=null!=(i=m.input)?i:c.Input)?a:Ju;return(0,qe.jsx)(Ku,(0,ce.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,qe.jsx)(Qu,{ownerState:C,className:y.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,qe.jsxs)(t.Fragment,{children:[f," ","*"]})):f,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:d,multiline:p,ref:n,type:q},g,{classes:(0,ce.Z)({},y,{notchedOutline:null})}))}));ed.muiName="Input";const td=ed;function nd(e){return(0,Pe.Z)("MuiInputAdornment",e)}const rd=(0,Te.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var od;const ad=["children","className","component","disablePointerEvents","disableTypography","position","variant"],id=(0,ut.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Yt.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${rd.positionStart}&:not(.${rd.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),ld=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u}=r,d=(0,ue.Z)(r,ad),f=ta()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const h=(0,ce.Z)({},r,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:l,position:c,variant:p}),m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e,l={root:["root",n&&"disablePointerEvents",o&&`position${(0,Yt.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,Yt.Z)(a)}`]};return(0,ct.Z)(l,nd,t)})(h);return(0,qe.jsx)(ea.Provider,{value:null,children:(0,qe.jsx)(id,(0,ce.Z)({as:i,ownerState:h,className:(0,nt.Z)(m.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,qe.jsxs)(t.Fragment,{children:["start"===c?od||(od=(0,qe.jsx)("span",{className:"notranslate",children:""})):null,o]}):(0,qe.jsx)(on,{color:"text.secondary",children:o})}))})})),sd=ld,cd=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e)),ud="/qListObjectDef",dd="**",fd=(0,ut.ZP)(td,{shouldForwardProp:e=>!["styles","dense","isRtl"].includes(e)})((({theme:e,styles:t,dense:n,isRtl:r})=>{let o={};return n&&(o={fontSize:12,paddingLeft:e.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}),{display:"flex",border:"none",fontSize:14,borderRadius:0,backgroundColor:t.search.backgroundColor,paddingLeft:"9px",flexDirection:r?"row-reverse":"row","& fieldset":{borderColor:`${t.search.borderColor}`,borderWidth:"1px 0 1px 0",borderRadius:0},"& .MuiInputBase-root":{...t.search},"& *":{color:t.search.color},"& input":{color:t.search.color,textAlign:r?"right":"left"},"&.Mui-focused fieldset.OutlinedInput-notchedOutline":{borderColor:`${t.search.highlightBorderColor} !important`},...o}}));function pd({selections:e,selectionState:n,model:r,keyboard:o,dense:a=!1,visible:i=!0,autoFocus:l=!0,wildCardSearch:s=!1,searchEnabled:c,direction:u,hide:d,styles:f}){const{translator:p}=(0,t.useContext)(Ve),[h,m]=(0,t.useState)(""),[q,g]=(0,t.useState)(!1),y=(0,t.useRef)(),{getStoreValue:v,setStoreValue:b}=Cl(r),C="rtl"===u,E=async()=>{if(e.isModal())try{await r.abortListObjectSearch(ud)}finally{m("")}};(0,t.useEffect)((()=>{i||E()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",E),()=>{e.removeListener&&e.removeListener("deactivated",E)})),[]),(0,t.useEffect)((()=>{if(q&&y.current){const e=h.length-1;y.current.setSelectionRange(e,e),g(!1)}}),[q,y.current]),(0,t.useEffect)((()=>{b("inputText",h)}),[h]);function S(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(fd,{styles:f,dense:a,isRtl:C,startAdornment:t.createElement(sd,{position:"start"},t.createElement(cd,{size:a?"small":"normal"})),className:"search",inputRef:y,size:"small",fullWidth:!0,placeholder:p.get("Listbox.Search"),value:h,onFocus:()=>{s&&(m(dd),g(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(ud,e.target.value):E()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(ud,h)&&h.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(ud,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":S(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(S(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),S(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,"data-testid":"search-input-field","aria-label":p.get("Listbox.Search.ScreenReaderInstructions")}}):null}function hd(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const md=({appSelections:e,appModal:t,model:n})=>{let r,o=!1,a=!1;const i={id:n.id,setLayout(e){r=e},begin(e){const r=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",r),r.isPrevented()?Promise.resolve():(o=!0,this.emit("activated"),t.begin({model:n,paths:e,accept:!0,objectSelections:i}))},clear(){return a=!1,this.emit("cleared"),r.qListObject?n.clearSelections("/qListObjectDef"):n.resetMadeSelections()},confirm(){return a=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),t.end(!0)},cancel(){return a=!1,o=!1,this.emit("canceled"),this.emit("deactivated"),t.end(!1)},async select(t){const r=this.begin([t.params[0]]);if(!e.isModal())return!1;await r;const o=await n[t.method](...t.params);return a="resetMadeSelections"!==t.method,!!o||(n.resetMadeSelections(),!1)},canClear:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked&&!r.qListObject.qDimensionInfo.qIsOneAndOnlyOne:a,canConfirm:()=>r&&r.qListObject&&r.qListObject.qDimensionInfo?!r.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(r&&r.qListObject&&r.qListObject.qDimensionInfo&&r.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>e.isModal(i),goModal:e=>t.begin({model:n,paths:e,accept:!1,objectSelections:i}),noModal:(e=!1)=>t.end(e)};return hd(i),i},qd=({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}};function gd(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=Ye(e),[l]=Vt(n),[s]=We(),c=s.get(e.id),[u,d]=(0,t.useState)();return(0,t.useEffect)((()=>{i&&n&&!u&&d(md({appSelections:i,appModal:c,model:n}))}),[i,n]),(0,t.useEffect)((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=qd({elements:a,objectSelections:u,options:o});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.isActive()&&u.confirm(),u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),(0,t.useEffect)((()=>{u&&u.setLayout(l)}),[u,l]),[u]}function yd(){const e={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,update({setPages:t,pages:n,isSingleSelect:r,selectDisabled:o,layout:a}){this.setPages=t;const i=this.lastRowCount===a.qListObject.qSize.qcy,l=this.lastApprMaxGlyphCount===a.qListObject.qDimensionInfo.qApprMaxGlyphCount;i&&l||(this.lastRowCount=a.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=a.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),e.enginePages!==n&&void 0!==n&&(e.enginePages=n??[],e.selectedInEngine=function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!Lo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return _o(t)}(n),e.selectableValuesUpdating=!1,e.triggerStateChanged()),e.isSingleSelect=r,e.selectDisabled=o,e.isDimCalculated=a?.qListObject?.qDimensionInfo?.qIsCalculated??!1},allowedToSelect:()=>!(e.selectDisabled()||e.isDimCalculated&&e.selectableValuesUpdating),setSelectableValuesUpdating(){e.selectableValuesUpdating=!0},useClientItemState:t=>e.ignoreSelectionState||t in e.itemStates,isSelected:t=>e.useClientItemState(t)?!!e.itemStates[t]:e.selectedInEngine.includes(t),getState(t){const{qElemNumber:n,qState:r}=t;return e.useClientItemState(n)?e.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(t,n,r){const o=e.isSelected(t);o&&!n?e.itemStates[t]=!1:o||(r?.push(t),e.itemStates[t]=!0)},triggerStateChanged(){if(this.setPages){const t=e.applySelectionsOnPages(e.enginePages);this.setPages(t)}},applySelectionsOnPages:t=>t.map((t=>{const n=t.qMatrix.map((t=>{const[n]=t,r=e.getState(n);return[{...n,qState:r},...t.slice(1)]}));return{...t,qMatrix:n}})),updateItem(t,n,r){e.updateItemNoEvents(t,n,r),e.triggerStateChanged()},updateItems(t,n,r){t.forEach((t=>{e.updateItemNoEvents(t,n,r)})),e.triggerStateChanged()},clearItemStates(t){e.itemStates={},e.ignoreSelectionState=t}};return e}const vd=(e,t,n=void 0)=>e?.[t]??n,bd={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},Cd=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,Ed=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,Sd=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,Od=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,Id=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,Rd=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,{floor:xd}=Math,{round:wd}=Math;class Ld{constructor(...e){let t,n,r,o,a,i,l,s,c,u,d,f,p=0,h=0,m=0,q=1;if(this._invalid=!1,e[0]instanceof Ld)p=e[0]._r,h=e[0]._g,m=e[0]._b,q=e[0]._a,this._invalid=e[0]._invalid;else if(e.length<3)if("string"==typeof e[0])if(f=e[0],d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),q=parseFloat(d[4]);else if(d=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))q=parseInt(d[1],10)/255,p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),q=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),q=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),t%=360,n/=100,o/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,o=o<0?0:o>1?1:o,i=o<=.5?2*o*n:(2-2*o)*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=o-.5*i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m),q=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),q=parseFloat(d[7]),t%=360,n/=100,o/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,o=o<0?0:o>1?1:o,i=o<=.5?2*o*n:(2-2*o)*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=o-.5*i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),a=parseFloat(d[5]),t%=360,n/=100,a/=100,t=t<0?0:t>360?360:t,n=n<0?0:n>1?1:n,a=a<0?0:a>1?1:a,i=a*n,l=t/60,s=i*(1-Math.abs(l%2-1)),c=[],l=Math.floor(l),l){case 0:c=[i,s,0];break;case 1:c=[s,i,0];break;case 2:c=[0,i,s];break;case 3:c=[0,s,i];break;case 4:c=[s,0,i];break;case 5:c=[i,0,s];break;default:c=[0,0,0]}u=a-i,p=c[0]+u,h=c[1]+u,m=c[2]+u,p=wd(255*p),h=wd(255*h),m=wd(255*m),q=1}else bd[f.toLowerCase()]?(r=f.toLowerCase(),p=bd[r].r,h=bd[r].g,m=bd[r].b,q="number"==typeof bd[r].a?bd[r].a:1):this._invalid=!0;else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(q=(4278190080&e[0])>>>24,q/=255,p=(16711680&e[0])>>16,h=(65280&e[0])>>8,m=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(p=(16711680&e[0])>>16,h=(65280&e[0])>>8,m=255&e[0]):this._invalid=!0;else e.length>=3?(p=e[0],h=e[1],m=e[2],q=arguments.length>=4?e[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+q)&&(this._invalid=!0),this._r=xd(p),this._g=xd(h),this._b=xd(m),this._a=q,this._spaces={}}isInvalid(){return this._invalid}setAlpha(e){this._a=e,this._spaces={}}getAlpha(){return this._a}toRGB(){return this._spaces.rgb||(this._spaces.rgb=Ld.toRGB(this)),this._spaces.rgb}toRGBA(){return this._spaces.rgba||(this._spaces.rgba=Ld.toRGBA(this)),this._spaces.rgba}toString(){return this._spaces.rgb||(this._spaces.rgb=Ld.toRGB(this)),this._spaces.rgb}toHex(){return this._spaces.hex||(this._spaces.hex=Ld.toHex(this)),this._spaces.hex}toHSL(e){return this._spaces.hsl||(this._spaces.hsl=Ld.toHSL(this,e)),this._spaces.hsl}toHSLA(e){return this._spaces.hsla||(this._spaces.hsla=Ld.toHSLA(this,e)),this._spaces.hsla}toHSV(){const e=this.toHSVComponents();return`hsv(${e.h},${e.s},${e.v})`}toHSVComponents(){return this._spaces.hsvComp||(this._spaces.hsvComp=Ld.toHSVComponents(this)),this._spaces.hsvComp}toNumber(){return this._spaces.num||(this._spaces.num=Ld.toNumber(this)),this._spaces.num}isDark(){return this.isInvalid()||this.getLuminance()<125}getLuminance(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}shiftLuminance(e){const t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]);let a=parseFloat(n[5]);const i=parseFloat(n[7]);return a+=e,a=Math.max(0,Math.min(a,100)),`hsla(${r},${o},${a},${i})`}isEqual(e){return e instanceof Ld||(e=new Ld(e)),this._r===e._r&&this._g===e._g&&this._b===e._b&&this._a===e._a}blend(e,t){return`rgba(${[xd(this._r+(e._r-this._r)*t),xd(this._g+(e._g-this._g)*t),xd(this._b+(e._b-this._b)*t),xd(this._a+(e._a-this._a)*t)].join(",")})`}createShiftedColor(e){(void 0===e||Number.isNaN(+e))&&(e=1);const t=this.getLuminance(),n=this._g<126?1:1+this._g/512,r=this.shiftLuminance(20*(t*n<220?.8+1/(t+1)*4:-(.8+t/255*1))*e);return new Ld(r)}static toRGB(e){return e instanceof Ld?`rgb(${[e._r,e._g,e._b].join(",")})`:("string"==typeof e&&(e=Ld.toNumber(e)),`rgb(${(16711680&e)>>16},${(65280&e)>>8},${255&e})`)}static toRGBA(e,t){return e instanceof Ld?`rgba(${[e._r,e._g,e._b,void 0!==t?t:e._a].join(",")})`:("string"==typeof e&&(e=Ld.toNumber(e)),`rgba(${(16711680&e)>>16},${(65280&e)>>8},${255&e},${void 0!==t?t:e._a})`)}static toHex(e){let t,n,r;return e instanceof Ld?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${[t,n,r].join("")}`):("string"==typeof e&&(e=Ld.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t=`0${t}`),1===n.length&&(n=`0${n}`),1===r.length&&(r=`0${r}`),`#${t}${n}${r}`)}static toHSL(e,t){let n,r,o,a=0;"string"==typeof e&&(e=new Ld(e));const i=e._r/255,l=e._g/255,s=e._b/255,c=Math.max(i,l,s),u=Math.min(i,l,s);if(r=t?.21*i+.72*l+.07*s:(c+u)/2,c===u)n=0,a=0;else{switch(o=c-u,n=r>.5?o/(2-c-u):o/(c+u),c){case i:a=(l-s)/o+(l<s?6:0);break;case l:a=(s-i)/o+2;break;case s:a=(i-l)/o+4}a/=6}return`hsl(${360*a},${100*n},${100*r})`}static toHSLA(e,t){let n,r,o,a=0;"string"==typeof e&&(e=new Ld(e));const i=e._r/255,l=e._g/255,s=e._b/255,c=e._a,u=Math.max(i,l,s),d=Math.min(i,l,s);if(r=t?.21*i+.72*l+.07*s:(u+d)/2,u===d)n=0,a=0;else{switch(o=u-d,n=r>.5?o/(2-u-d):o/(u+d),u){case i:a=(l-s)/o+(l<s?6:0);break;case l:a=(s-i)/o+2;break;case s:a=(i-l)/o+4}a/=6}return`hsla(${360*a},${100*n},${100*r},${c})`}static toHSVComponents(e){let t,n,r=0;"string"==typeof e&&(e=new Ld(e));const o=e._r/255,a=e._g/255,i=e._b/255,l=Math.max(o,a,i),s=Math.min(o,a,i),c=l;if(l===s)t=0,r=0;else{switch(n=l-s,t=0===n?0:n/c,l){case o:r=(a-i)/n+(a<i?6:0);break;case a:r=(i-o)/n+2;break;case i:r=(o-a)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}}static toNumber(...e){if(1===e.length&&e[0]instanceof Ld)return(e[0]._r<<16)+(e[0]._g<<8)+e[0]._b;let t,n,r=0,o=0,a=0;return 1===e.length&&"string"==typeof e[0]&&(n=e[0],(t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(n))?(r=parseInt(t[1],10),o=parseInt(t[2],10),a=parseInt(t[3],10)):(t=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(n))?(r=parseInt(t[1],16),o=parseInt(t[2],16),a=parseInt(t[3],16)):(t=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(n))&&(r=parseInt(t[1]+t[1],16),o=parseInt(t[2]+t[2],16),a=parseInt(t[3]+t[3],16))),(r<<16)+(o<<8)+a}static blend(e,t,n){const r=(16711680&(e=Ld.toNumber(e)))>>16,o=(65280&e)>>8,a=255&e;return(r+(((16711680&(t=Ld.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(a+((255&t)-a)*n)}static getBlend(e,t,n){const r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,a=e._b+(t._b-e._b)*n,i=e._a+(t._a-e._a)*n;return new Ld(r,o,a,i)}static isCSSColor(e){return!(arguments.length>1||"string"!=typeof e)&&(Cd.test(e)||Ed.test(e)||Sd.test(e)||Od.test(e)||Id.test(e)||Rd.test(e)||bd[e.toLowerCase()])}static getBestContrast(e,t,n){const r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n}static getContrast(e,t){if(!e||!t)return;const n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}static isDark(...e){return new Ld(...e).isDark(...e)}static useDarkLabel(e,t){return e._a>.5?!e.isDark():!t}}const _d=Ld,Nd=/,(?![^(]*\))/,Ad=/\s(?![^(]*\))/,Td=/^[0-9]+[a-zA-Z%]+?$/,Pd=["none","inset","initial","inherit"],Dd=e=>{if(!e)return;const t=e.split(Ad).filter((e=>!Pd.includes(e.toLowerCase()))).at(-1);var n;return!t||"0"===(n=t)||Td.test(n)||Pd.includes(t.toLowerCase())?void 0:t},kd=e=>e?e.split(Nd).map((e=>e.trim())):[];function Md(e,t,n,r){return n&&r?n.getStyle(`object.${r}`,e,t):n?n.getStyle("",e,t):void 0}const Fd=!0;function Bd(e,t,n,r,o){return e&&r?"none"!==e.color?r.getColorPickerColor(e,Fd):void 0:Md(t,n,r,o)}const jd={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},zd={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function Gd(e,t){const n=e?.bgImage;if(n){let r="";if("media"===n.mode||"media"===e.useImage){const e=n?.mediaUrl,{qUrl:o}=e?.qStaticContentUrl||{};r=o?decodeURIComponent(o):void 0,r=function(e,t){return t?function(e){let t,n,r,o;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,r)}"expression"===n.mode&&(r=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const o=function(e){let t="center center";return e?.bgImage?.position&&(t=zd[e.bgImage.position]),t}(e),a=function(e){let t=jd.originalSize;const n=e?.bgImage?.sizing;return n&&(t=jd[n]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function Vd(e,t,n){const r=e?.bgColor;return r&&t&&r.useExpression?t.validateColor(r.colorExpression):Bd(r?.color,"","backgroundColor",t,n)}function $d(e,t,n){const r=Md("shadow","boxShadow",t,n);return((e,t,n)=>{if(e&&Pd.includes(e.toLowerCase()))return e.toLowerCase();const r=kd(e);if(1!==r.length)return e;let o=n;if(!o){const n=kd(t);if(1!==n.length)return e;o=Dd(n[0])}if(!o)return e;const a=Dd(r[0]);return a?e.replace(a,o):`${e} ${o}`})(e?.shadow?.boxShadow||r,r,Bd(e?.shadow?.boxShadowColor,"shadow","boxShadowColor",t,n))}function Zd(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color,!0):n.getStyle(`object.${r}`,t,"color"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const Ud="#FFF",Wd="#000",Hd=1.5,Kd=3,Xd=(e,t)=>{let n=!1;const r=new _d(e),o=new _d(t);if(!(o.isInvalid()||r.isInvalid()||o.getAlpha()<1||r.getAlpha()<1)){try{n=_d.getContrast(r,o)}catch(e){n=void 0}return n}};function Yd(e,t=void 0,n=Wd,r=Ud){const o=new _d(r),a=new _d(e),i=new _d(t);if(a.isInvalid()||i.isInvalid()||a.getAlpha()<1||i.getAlpha()<1)return t;const l=Xd(o,a),s=Xd(i,a),c=l>s||l>Kd;let u;return u=t&&s>Hd&&!c?t:c?r:n,u}const Qd=["theme","selections"];function Jd({app:e,themeApi:t,theme:n,components:r=[],checkboxes:o=!1}){const a=function(e=[]){const t={};return e.forEach((e=>{const n=e?.key;Qd.includes(n)&&(t[n]=e)})),t}(r),i=(e,n)=>t.getStyle("object.listBox",e,n),l=function({theme:e,getListboxStyle:t,overrides:n,checkboxes:r}){const o=n.theme?.content?.fontColor?.color,a=o||t("content","color")||e.palette?.text.primary,i=!r&&(n.theme?.content?.useContrastColor??!0),l=n.selections?.colors||{},s=l.selected?.color||e.palette?.selected.main||"#009845",c=l.alternative?.color||e.palette?.selected.alternative||"#E4E4E4",u=l.excluded?.color||e.palette?.selected.excluded||"#A9A9A9",d=l.selectedExcluded?.color||e.palette?.selected.selectedExcluded||"#A9A9A9",f=l.possible?.color||t("","backgroundColor")||e.palette?.selected.possible||"#FFFFFF";let p=a||e.palette?.selected.selectedContrastText,h=a||e.palette?.selected.alternativeContrastText,m=a||e.palette?.selected.excludedContrastText,q=a||e.palette?.selected.selectedExcludedContrastText,g=a||e.palette?.selected.possibleContrastText;return i&&(p=Yd(s,a),h=Yd(c,a),m=Yd(u,a),q=Yd(d,a),g=Yd(f,a)),{selected:s,alternative:c,excluded:u,selectedExcluded:d,possible:f,selectedContrast:p,alternativeContrast:h,excludedContrast:m,selectedExcludedContrast:q,possibleContrast:g}}({theme:n,getListboxStyle:i,overrides:a,checkboxes:o}),s=a.theme||{},c=s.header?.fontColor?.color||i("title.main","color"),u=function({themeApi:e,themeOverrides:t}){let n;const r=t?.background;return r?(n=r?.useExpression?Vd({bgColor:r},e,"listBox"):e.getColorPickerColor(r,!0)?.color,n):n}({themeApi:t,themeOverrides:s}),d=s.background?.image?Gd({bgImage:s.background.image},e):void 0,f=function(e){return Yd("#fff",e("content","color"))}(i),p=s.header?.fontStyle||{},h=s.content?.fontStyle||{},m=(e,t,n)=>!0===e&&t||!1===e&&n||void 0;return{background:{backgroundColor:u||i("","backgroundColor")||n.palette.background.default,backgroundImage:d?.url&&!d?.url.startsWith("url(")?`url('${d.url}')`:void 0,backgroundRepeat:"no-repeat",backgroundSize:d?.size,backgroundPosition:d?.pos},header:{color:c,fontSize:s.header?.fontSize||i("title.main","fontSize"),fontFamily:s.header?.fontFamily||i("title.main","fontFamily"),fontWeight:m(p.bold,"bold","normal")||i("title.main","fontWeight")||"bold",textDecoration:p.underline?"underline":"initial",fontStyle:m(p.italic,"italic","normal")||i("title.main","fontStyle")||"initial"},content:{backgroundColor:o?void 0:l.possible,color:l.possibleContrast||i("content","color"),fontSize:s.content?.fontSize||i("content","fontSize"),fontFamily:s.content?.fontFamily||i("content","fontFamily"),fontWeight:m(h.bold,"bold","normal")||i("content","fontWeight")||"normal",textDecoration:h.underline?"underline":"initial",fontStyle:m(h.italic,"italic","normal")||i("content","fontStyle")||"initial"},search:{color:f,borderColor:n.palette.divider,highlightBorderColor:n.palette.primary.main,backgroundColor:"rgba(255, 255, 255, 0.7)"},selections:l}}function ef({alignTo:e,anchorOrigin:n={vertical:"bottom",horizontal:"center"},transformOrigin:r={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$",autoFocus:c,components:u,checkboxes:d}){const f=Boolean(l?.qLibraryId),p=o&&Boolean(e.current),[h,m]=(0,t.useState)(0),q=se(),g=(0,t.useRef)(),[y]=Mt({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:f?void 0:[l]},qLibraryId:f?l.qLibraryId:void 0}},i,l,s),v=(0,t.useCallback)((()=>{y.lock("/qListObjectDef")}),[y]),b=(0,t.useCallback)((()=>{y.unlock("/qListObjectDef")}),[y]),{translator:C,themeApi:E}=(0,t.useContext)(Ve),S=(0,t.useRef)(),O=(0,t.useRef)(),[I]=gd(i,y,O),[R]=Vt(y),[x]=(0,t.useState)((()=>yd())),{checkboxes:w=d}=R||{},L=Jd({themeApi:E,theme:q,components:u,checkboxes:w});if((0,t.useEffect)((()=>{I&&p&&(I.isModal(y)||I.goModal("/qListObjectDef"))}),[I,p]),!y||!R||!C)return null;const _=!0===R.qListObject.qDimensionInfo.qLocked,N=(e,t)=>{const n="escapeKeyDown"!==t;I.noModal(n),a()},A=Ec({layout:R,model:y,translator:C,selectionState:x}),T=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return vd(t,"qSelected",0)+vd(t,"qSelectedExcluded",0)+vd(t,"qLocked",0)+vd(t,"qLockedExcluded",0)>0}(R);return t.createElement(Io,{open:p,onClose:N,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Et,{container:!0,direction:"column",gap:0,ref:O},t.createElement(Et,{item:!0,container:!0,style:{padding:q.spacing(1)}},t.createElement(Et,{item:!0},_?t.createElement(Jn,{onClick:b,disabled:!_,size:"large"},t.createElement(Xt,{title:C.get("Listbox.Unlock")})):t.createElement(Jn,{onClick:v,disabled:!T,size:"large"},t.createElement(er,{title:C.get("Listbox.Lock")}))),t.createElement(Et,{item:!0,xs:!0}),t.createElement(Et,{item:!0},t.createElement(Eu,{more:{enabled:!_,actions:A,alignTo:S,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:I,onConfirm:N,onCancel:()=>N(0,"escapeKeyDown")}}))),t.createElement(Et,{item:!0,xs:!0},t.createElement("div",{ref:S}),t.createElement(Et,{item:!0,ref:g},t.createElement(pd,{styles:L,visible:!0,model:y,listCount:h,selections:I,selectionState:x,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(gc,{model:y,app:i,layout:R,selections:I,selectionState:x,direction:"ltr",onSetListCount:e=>m(e),onCtrlF:()=>{const e=g.current.querySelector("input");e?.focus()},styles:L}))))}function tf({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(Ve),s=a||(0,t.useRef)(),c=se(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const h=p.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},m=(h.qSelected+h.qLocked)/p.qTotal,q=h.qAlternative/p.qTotal,g=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/p.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,v=0===y&&0===p.qTotal;let b="";p.qTotal===y&&p.qTotal>1?b=l.get("CurrentSelections.All"):y>1&&p.qTotal?b=l.get("CurrentSelections.Of",[y,p.qTotal]):p.qSelectedFieldSelectionInfo&&(b=p.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==e.states[r]&&(b=`${e.states[r]}: ${b}`);const C=[{color:c.palette.selected.main,ratio:m},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:g}];C.forEach(((e,t)=>{e.offset=t?C[t-1].offset+C[t-1].ratio:0}));let E=null,S=null,O=null,I=null;return a||(E=t.createElement(Et,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(on,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(on,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(Xt,null))):p.qOneAndOnlyOne||(S=t.createElement(Et,{item:!0},t.createElement(Jn,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(Kt,null)))),O=t.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===v&&C.map((e=>t.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:100*e.ratio+"%",left:100*e.offset+"%"}})))),I=t.createElement(Et,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&(e=>{e.currentTarget.contains(e.target)&&d(!u)})||null},E,S,O,u&&t.createElement(ef,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(ef,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const nf=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function rf(e){return(0,Pe.Z)("MuiBadge",e)}const of=(0,Te.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),af=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],lf=(0,ut.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),sf=(0,ut.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,Yt.Z)(n.anchorOrigin.vertical)}${(0,Yt.Z)(n.anchorOrigin.horizontal)}${(0,Yt.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${of.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),cf=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,dt.Z)({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:f={},componentsProps:p={},children:h,overlap:m="rectangular",color:q="default",invisible:g=!1,max:y=99,badgeContent:v,slots:b,slotProps:C,showZero:E=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,af),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=nf({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:y,invisible:g,badgeContent:v,showZero:E}),L=nf({anchorOrigin:c,color:q,overlap:m,variant:S,badgeContent:v}),_=R||null==I&&"dot"!==S,{color:N=q,overlap:A=m,anchorOrigin:T=c,variant:P=S}=_?L:s,D="dot"!==P?w:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:_,max:x,displayValue:D,showZero:E,anchorOrigin:T,color:N,overlap:A,variant:P}),M=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e,l={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${(0,Yt.Z)(n.vertical)}${(0,Yt.Z)(n.horizontal)}`,`anchorOrigin${(0,Yt.Z)(n.vertical)}${(0,Yt.Z)(n.horizontal)}${(0,Yt.Z)(o)}`,`overlap${(0,Yt.Z)(o)}`,"default"!==t&&`color${(0,Yt.Z)(t)}`]};return(0,ct.Z)(l,rf,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:lf,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:sf,j=null!=(i=null==C?void 0:C.root)?i:p.root,z=null!=(l=null==C?void 0:C.badge)?l:p.badge,G=cr({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,nt.Z)(null==j?void 0:j.className,M.root,u)}),V=cr({elementType:B,externalSlotProps:z,ownerState:k,className:(0,nt.Z)(M.badge,null==z?void 0:z.className)});return(0,qe.jsxs)(F,(0,ce.Z)({},G,{children:[h,(0,qe.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),uf=cf;var df=o(6842);function ff(e){return(0,Pe.Z)("MuiListItem",e)}const pf=(0,Te.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),hf=(0,Te.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function mf(e){return(0,Pe.Z)("MuiListItemSecondaryAction",e)}(0,Te.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const qf=["className"],gf=(0,ut.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,ce.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),yf=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,qf),i=t.useContext(Fc),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,ct.Z)(r,mf,n)})(l);return(0,qe.jsx)(gf,(0,ce.Z)({className:(0,nt.Z)(s.root,o),ownerState:l,ref:n},a))}));yf.muiName="ListItemSecondaryAction";const vf=yf,bf=["className"],Cf=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Ef=(0,ut.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,ce.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${hf.root}`]:{paddingRight:48}},{[`&.${pf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pf.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,an.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Sf=(0,ut.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Of=t.forwardRef((function(e,n){const r=(0,dt.Z)({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:a=!1,button:i=!1,children:l,className:s,component:c,components:u={},componentsProps:d={},ContainerComponent:f="li",ContainerProps:{className:p}={},dense:h=!1,disabled:m=!1,disableGutters:q=!1,disablePadding:g=!1,divider:y=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,bf),I=(0,ue.Z)(r,Cf),R=t.useContext(Fc),x=t.useMemo((()=>({dense:h||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,h,q]),w=t.useRef(null);(0,Bc.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const L=t.Children.toArray(l),_=L.length&&(0,df.Z)(L[L.length-1],["ListItemSecondaryAction"]),N=(0,ce.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:m,disableGutters:q,disablePadding:g,divider:y,hasSecondaryAction:_,selected:C}),A=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e,d={root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,ct.Z)(d,ff,r)})(N),T=(0,ln.Z)(w,n),P=S.root||u.Root||Ef,D=E.root||d.root||{},k=(0,ce.Z)({className:(0,nt.Z)(A.root,D.className,s),disabled:m},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,nt.Z)(pf.focusVisible,v),M=Wn),_?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,qe.jsx)(Fc.Provider,{value:x,children:(0,qe.jsxs)(Sf,(0,ce.Z)({as:f,className:(0,nt.Z)(A.container,p),ref:T,ownerState:N},O,{children:[(0,qe.jsx)(P,(0,ce.Z)({},D,!or(P)&&{as:M,ownerState:(0,ce.Z)({},N,D.ownerState)},k,{children:L})),L.pop()]}))})):(0,qe.jsx)(Fc.Provider,{value:x,children:(0,qe.jsxs)(P,(0,ce.Z)({},D,{as:M,ref:T},!or(P)&&{ownerState:(0,ce.Z)({},N,D.ownerState)},k,{children:[L,b&&(0,qe.jsx)(vf,{children:b})]}))})})),If=Of;var Rf=o(3467);const xf=t.createContext({}),wf=t.createContext(void 0),Lf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_f=e=>(0,ce.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Nf=(0,ut.ZP)(Wn,{shouldForwardProp:e=>(0,ut.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Yt.Z)(n.color)}`],t[`size${(0,Yt.Z)(n.size)}`],t[`${n.variant}Size${(0,Yt.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,ce.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,ce.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,an.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ke.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ke.disabled}`]:(0,ce.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,an.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ke.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ke.disabled}`]:{boxShadow:"none"}})),Af=(0,ut.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,Yt.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},_f(e)))),Tf=(0,ut.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,Yt.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},_f(e)))),Pf=t.forwardRef((function(e,n){const r=t.useContext(xf),o=t.useContext(wf),a=(0,Rf.Z)(r,e),i=(0,dt.Z)({props:a,name:"MuiButton"}),{children:l,color:s="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:m,fullWidth:q=!1,size:g="medium",startIcon:y,type:v,variant:b="text"}=i,C=(0,ue.Z)(i,Lf),E=(0,ce.Z)({},i,{color:s,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:q,size:g,type:v,variant:b}),S=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,Yt.Z)(t)}`,`size${(0,Yt.Z)(o)}`,`${a}Size${(0,Yt.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,Yt.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,Yt.Z)(o)}`]},s=(0,ct.Z)(l,De,i);return(0,ce.Z)({},i,s)})(E),O=y&&(0,qe.jsx)(Af,{className:S.startIcon,ownerState:E,children:y}),I=h&&(0,qe.jsx)(Tf,{className:S.endIcon,ownerState:E,children:h}),R=o||"";return(0,qe.jsxs)(Nf,(0,ce.Z)({ownerState:E,className:(0,nt.Z)(r.className,S.root,u,R),component:c,disabled:d,focusRipple:!p,focusVisibleClassName:(0,nt.Z)(S.focusVisible,m),ref:n,type:v},C,{classes:S,children:[O,l,I]}))})),Df=Pf,kf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e)),Mf={item:"MultiState-item"},Ff=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${Mf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Bf({field:e,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}){const[a,i]=(0,t.useState)(!!r),[l,s]=(0,t.useState)(-1),[c,u]=(0,t.useState)(r?r.current:null),d=r||(0,t.useRef)(),{translator:f}=(0,t.useContext)(Ve),p=f.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;r||(m=t.createElement(t.Fragment,null,t.createElement(Et,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(uf,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(on,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Et,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(kf,null)))));const q=t.createElement(ru,{dense:!0},t.createElement(If,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Df,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(If,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(Ri,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(tf,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=t.createElement(Io,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},q),y=r?g:t.createElement(Ff,{container:!0,gap:0,className:Mf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&g,l>-1&&t.createElement(ef,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return r&&l>-1?t.createElement(ef,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const jf="More",zf={item:`${jf}-item`,badge:`${jf}-badge`},Gf=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${zf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${zf.badge}`]:{padding:e.spacing(0,1)}})));function Vf({items:e=[],api:n}){const r=se(),[o,a]=(0,t.useState)(!1),[i,l]=(0,t.useState)(-1),[s,c]=(0,t.useState)(null),u=(0,t.useRef)(),d=()=>{l(-1)};let f=null;return i>-1&&(f=e[i].states.length>1?t.createElement(Bf,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(tf,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Gf,{container:!0,gap:0,className:zf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Et,{item:!0},t.createElement(Ri,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(on,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Et,{item:!0},t.createElement(Jn,{size:"large"},t.createElement(kf,null))),o&&t.createElement(Io,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},t.createElement(ru,{dense:!0},e.map(((e,r)=>t.createElement(If,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(Ri,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Bf,{field:e,api:n}):t.createElement(tf,{field:e,api:n}))))))),f)}const $f=120,Zf=72;function Uf(e,t,n="$"){e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function Wf({api:e,app:n}){const r=se(),[o]=Bt(n),[a]=Vt(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=Ke(),[c,u]=Zt(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-Zf,n=Math.floor(t/$f);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&Uf(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>Uf(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(a);l((t=>{const r=e;if((()=>{const{model:e}=s.get(n.id)||{};return"njsListbox"===e?.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,e.isInModal(),d]),t.createElement(Et,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Et,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${$f}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Bf,{field:n,api:e}):t.createElement(tf,{field:n,api:e})))),i.more.length>0&&t.createElement(Et,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${Zf}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Vf,{items:i.more,api:e})))}const Hf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e)),Kf=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e)),Xf=(e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)};function Yf({api:e,app:n}){const{translator:r}=(0,t.useContext)(Ve),[o]=function(e){const[n]=Bt(e),[r]=Vt(n),[o]=$t(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&Xf(n,r,o)}),[o,n,r]),(0,t.useEffect)((()=>{if(!r)return;let e=!1,t=!1,n=!1;[r,...r.alternateStates||[]].forEach((r=>{e=e||r.qSelectionObject&&r.qSelectionObject.qBackCount>0,t=t||r.qSelectionObject&&r.qSelectionObject.qForwardCount>0,n=n||(r.qSelectionObject&&r.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),i({canGoBack:e,canGoForward:t,canClear:n})}),[r]),[a,n,r]}(n);return t.createElement(Et,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Et,{item:!0},t.createElement(Jn,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(Hf,null))),t.createElement(Et,{item:!0},t.createElement(Jn,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(Kf,null))),t.createElement(Et,{item:!0},t.createElement(Jn,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(Mc,null))))}const Qf=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function Jf([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function ep(){return Qf.map(Jf).join("")}function tp({app:e}){const n=se(),[r]=Ye(e);return r?t.createElement(Et,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Et,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(Yf,{api:r,app:e})),t.createElement(Et,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(Wf,{api:r,app:e}))):null}let np;np="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;let rp=null,op=null;const ap=np.clearTimeout,ip=np.setTimeout,lp=np.cancelAnimationFrame||np.mozCancelAnimationFrame||np.webkitCancelAnimationFrame,sp=np.requestAnimationFrame||np.mozRequestAnimationFrame||np.webkitRequestAnimationFrame;null==lp||null==sp?(rp=ap,op=function(e){return ip(e,20)}):(rp=function([e,t]){lp(e),ap(t)},op=function(e){const t=sp((function(){ap(n),e()})),n=ip((function(){lp(t),e()}),20);return[t,n]});class cp extends t.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(a=l.paddingTop)&&void 0!==a?a:"0"),d=parseFloat(null!==(i=l.paddingBottom)&&void 0!==i?i:"0"),f=this._parentNode.getBoundingClientRect(),p=f.height-u-d,h=f.width-s-c,m=this._parentNode.offsetHeight-u-d,q=this._parentNode.offsetWidth-s-c;(e||this.state.height===m&&this.state.scaledHeight===p)&&(t||this.state.width===q&&this.state.scaledWidth===h)||(this.setState({height:m,width:q,scaledHeight:p,scaledWidth:h}),"function"==typeof n&&n({height:m,scaledHeight:p,scaledWidth:h,width:q}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&rp(this.__resizeRAF__),this.__resizeRAF__=op((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=np.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o=!1,disableWidth:a=!1,nonce:i,onResize:l,style:s={},tagName:c="div",...u}=this.props,{height:d,scaledHeight:f,scaledWidth:p,width:h}=this.state,m={overflow:"visible"},q={};let g=!1;return o||(0===d&&(g=!0),m.height=0,q.height=d,q.scaledHeight=f),a||(0===h&&(g=!0),m.width=0,q.width=h,q.scaledWidth=p),(0,t.createElement)(c,{ref:this._setRef,style:{...m,...s},...u},!g&&e(q))}}const up=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"}}]}))(e));function dp(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function fp(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function pp({keyboard:e,hovering:t,updateKeyScroll:n,containerRef:r,currentScrollIndex:o,isModal:a,constraints:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:o=!1}=t.nativeEvent,i=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=a();switch(n){case Pi.TAB:if(s)o?Mi(l)||ki(l):ki(l)||Mi(l);else{if(!o)break;e.blur(!0)}i();break;case Pi.ENTER:case Pi.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case Pi.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=fp(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{dp(r.current),n.classList.add("last-focused"),e.blur();const t=n.closest(".listbox-container");t.setAttribute("tabIndex",-1),t?.focus()}})(t)}},handleOnMouseEnter:()=>{(()=>{const e=i?.select||i?.active,t=a();return e||t})()||(t.current=!0)},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current)return;const{keyCode:r,ctrlKey:a=!1,shiftKey:i=!1}=e;switch(r){case Pi.ARROW_UP:n({up:1});break;case Pi.ARROW_DOWN:n({down:1});break;case Pi.PAGE_UP:n({up:o.stop-o.start});break;case Pi.PAGE_DOWN:n({down:o.stop-o.start});break;case Pi.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case Pi.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}function hp({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a,keyboard:i}){return{show:t&&!e,popover:{show:t&&e,anchorEl:n.current},more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:t,api:a,onConfirm:()=>{i?.focus()},onCancel:()=>{i?.focus()}}}}const mp=(0,ut.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function qp({text:e}){const{translator:n}=(0,t.useContext)(Ve);return t.createElement(mp,null,n.get(e))}function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(this,arguments)}const yp="ListBoxInline",vp={listBoxHeader:`${yp}-listBoxHeader`,screenReaderOnly:`${yp}-screenReaderOnly`,listboxWrapper:`${yp}-listboxWrapper`},bp=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["containerPadding","isGridMode","styles"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n,styles:r})=>({...r.background,[`& .${vp.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${vp.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${vp.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}))),Cp=(0,ut.ZP)(Et,{shouldForwardProp:e=>!["styles","isRtl"].includes(e)})((({styles:e,isRtl:t})=>({flexDirection:t?"row-reverse":"row",wrap:"nowrap",minHeight:32,alignContent:"center",...e.header,"& *":{color:e.header.color}}))),Ep=(0,ut.ZP)(on)((({styles:e})=>({...e.header,paddingRight:"1px"})));function Sp({options:e,layout:n}){const{app:r,direction:o,frequencyMode:a,checkboxes:i,search:l=!0,focusSearch:s=!1,rangeSelect:c=!0,model:u,selections:d,update:f,fetchStart:p,selectDisabled:h=(()=>!1),postProcessPages:m,calculatePagesHeight:q,showGray:g=!0,scrollState:y,renderedCallback:v,toolbar:b=!0,isPopover:C=!1,components:E}=e,S=se(),O=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:I,keyboardNavigation:R,themeApi:x,constraints:w}=(0,t.useContext)(Ve),{checkboxes:L=i}=n||{},_=Jd({app:r,themeApi:x,theme:S,components:E,checkboxes:L}),N=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),A=(0,t.useRef)(),[T,P]=Zt(),[D,k]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[M,F]=(0,t.useState)(!1),[B,j]=(0,t.useState)(!1),z=(0,t.useRef)(!1),[G,V]=(0,t.useState)({down:0,up:0,scrollPosition:""}),$=e=>V((t=>({...t,...e}))),[Z,U]=(0,t.useState)({start:0,stop:0}),[W]=Ye(r),H=(0,t.useRef)(null),[K]=(0,t.useState)((()=>yd())),X=function({containerRef:e,enabled:n}){const[r,o]=(0,t.useState)(!1);return{enabled:n,active:r,innerTabStops:!n||r,blur(t){if(!n)return;o(!1);const r=fp(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),dp(e.current),t&&r&&(r.setAttribute("tabIndex",0),r.focus())},focus(){if(!n)return;o(!0);const t=e.current,r=t?.querySelector(".search input"),a=t?.querySelector(".value.last-focused"),i=t?.querySelector(".value.selector, .value"),l=t?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||a||i||l;s?.setAttribute("tabIndex",0),s?.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");e?.setAttribute("tabIndex",0),e?.focus()}}}({containerRef:A,enabled:R}),Y=(0,t.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:r,appSelections:W})),[r,W]),Q=n?.qListObject.qDimensionInfo.qError,J=Q&&w.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[ee,te]=(0,t.useState)(!1),{handleKeyDown:ne,handleOnMouseEnter:re,handleOnMouseLeave:oe,globalKeyDown:ae}=(0,t.useMemo)((()=>pp({keyboard:X,hovering:z,updateKeyScroll:$,containerRef:A,currentScrollIndex:Z,app:r,appSelections:W,constraints:w,isModal:Y})),[X,z,$,A,Z,r,W,w,Y]),ie=b&&(""===n?.title||!1===n?.showTitle)&&!C,le=b&&""!==n?.title&&!1!==n?.showTitle||C;(0,t.useEffect)((()=>(document.addEventListener("keydown",ae),()=>{document.removeEventListener("keydown",ae)})),[ae]),(0,t.useEffect)((()=>{const e=()=>{F(!0)},t=()=>{F(!1),"toggle"===l&&j(!1)};return C&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),F(C)),d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),F(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,C]),(0,t.useEffect)((()=>{if(D&&D.current&&(l&&s||"toggle"===l&&B)){const e=D.current.querySelector("input");e&&e.focus()}}),[D&&D.current,B,l,s]);const{wildCardSearch:ce,searchEnabled:ue,autoConfirm:de=!1,layoutOptions:fe={}}=n??{},pe=!1!==ue&&"toggle"===l,he=!0===n?.qListObject?.qDimensionInfo?.qLocked,me=he||pe,qe="H"===n?.qListObject?.qDimensionInfo?.qGrouping,ge=me||qe,ye=(me?28:0)+(qe?19:0),ve="rtl"===o,be=9-(me?7:0),Ce=ve?9-(ge?7:0):4;if((0,t.useEffect)((()=>{if(!H.current||!P)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,headerPaddingLeft:r,headerPaddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:P,titleRef:H,iconsWidth:ye,headerPaddingLeft:be,headerPaddingRight:Ce});te(e)}),[H.current,P]),!u||!n||!I)return null;const Ee=Ec({layout:n,model:u,translator:I,selectionState:K,isDirectQuery:N}),Se=(!0===l||"toggle"===l&&B)&&!h()&&!1!==ue,Oe=fe.dense??!1,Ie=()=>{j(!B)},Re=()=>{if("toggle"===l)Ie();else{const e=D.current.querySelector("input");e?.focus()}},xe=e=>({...hp({isDetached:!C&&e,showToolbar:M,containerRef:A,isLocked:he,listboxSelectionToolbarItems:Ee,selections:d,keyboard:X}),autoConfirm:de}),we=Se&&"toggle"===l,Le="grid"===fe?.dataLayout,_e=function({isGridMode:e,dense:t,height:n,layoutOrder:r}){let o;if(e){let a;a=ql({isGridMode:e,dense:t})>n?"0px":"2px",o="row"===r?`${a} 4px`:`${a} 6px ${a} 4px`}else o=void 0;return o}({isGridMode:Le,dense:Oe,height:A.current?.clientHeight,layoutOrder:fe.layoutOrder}),Ne=w?.active?t.createElement(cd,{title:I.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(Jn,{onClick:Ie,tabIndex:-1,title:I.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(cd,{style:{fontSize:"12px"}})),Ae=h()?t.createElement(Xt,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(Jn,{title:I.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:O,size:"large"},t.createElement(Xt,{disableRipple:!0,style:{fontSize:"12px"}}));Q&&v?.();const Te=le?$o+10:0;return t.createElement(t.Fragment,null,ie&&t.createElement(Eu,gp({direction:o},xe(!0))),t.createElement(bp,{className:"listbox-container",container:!0,tabIndex:X.enabled?-1:void 0,direction:"column",gap:0,containerPadding:_e,styles:_,style:{height:"100%",flexFlow:"column nowrap"},onKeyDown:ne,onMouseEnter:re,onMouseLeave:oe,ref:e=>{A.current=e,T(e)},isGridMode:Le,"aria-label":X.active?I.get("Listbox.ScreenReaderInstructions"):""},le&&t.createElement(Cp,{item:!0,container:!0,styles:_,isRtl:ve,marginY:1,paddingLeft:`${be}px`,paddingRight:`${Ce}px`},ge&&t.createElement(Et,{item:!0,container:!0,alignItems:"center",width:ye},he?Ae:pe&&Ne,qe&&t.createElement(up,{tabIndex:-1,title:I.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Et,{item:!0,xs:!0,minWidth:0,justifyContent:ve?"flex-end":"flex-start",className:vp.listBoxHeader},t.createElement(Ep,{variant:"h6",noWrap:!0,ref:H,title:n.title,styles:_},n.title)),t.createElement(Et,{item:!0,display:"flex"},t.createElement(Eu,gp({direction:o},xe(ee))))),t.createElement(Et,{item:!0,container:!0,direction:"column",height:"100%",minHeight:Te,role:"region","aria-label":I.get("Listbox.ResultFilterLabel")},t.createElement(Et,{item:!0,ref:k},t.createElement(pd,{selections:d,selectionState:K,model:u,dense:Oe,keyboard:X,visible:Se,search:l,autoFocus:we,wildCardSearch:ce,searchEnabled:ue,direction:o,hide:pe&&Ie,styles:_})),t.createElement(Et,{item:!0,xs:!0,className:vp.listboxWrapper},Q?t.createElement(qp,{text:J}):t.createElement(cp,null,(({height:e,width:i})=>t.createElement(gc,{model:u,app:r,constraints:w,layout:n,selections:d,selectionState:K,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:L,height:e,width:i,update:f,fetchStart:p,postProcessPages:m,calculatePagesHeight:q,selectDisabled:h,keyboard:X,showGray:g,scrollState:y,keyScroll:{state:G,reset:()=>V({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:Z,set:U},renderedCallback:v,onCtrlF:Re,isModal:Y,styles:_})))))))}const Op=t.memo(Sp),Ip=function({options:e={}}){const{model:n}=e,[r]=Vt(n);return t.createElement(Op,{options:e,layout:r})},Rp={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,autoConfirm:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function xp(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const wp=(e={})=>{const{__DO_NOT_USE__:t={},...n}=e;return{...n,update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1,...t}};function Lp({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i});s||Object.assign(i,{frequencyMode:xp(i.frequencyMode)});const[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=Dt(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;let{histogram:h=!1,frequencyMode:m="N"}=o;a&&a.failedToFetchFieldDef&&(h=!1,m="N"),(0,t.useEffect)((()=>{const t=h||"N"!==m;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:q,checkboxes:g,listLayout:y,properties:v={}}=o,b={dense:q};"horizontal"===y&&(b.dataLayout="grid",b.layoutOrder="column",b.maxVisibleColumns={auto:!0},b.maxVisibleRows={auto:!1,maxRows:1});const C=(0,t.useRef)();C.current||(C.current=ep());const E=G()(!0,{},Rp,{qInfo:{qId:C.current},qListObjectDef:{qStateName:r,qFrequencyMode:h&&"N"===m?"V":m},histogram:h,checkboxes:g,layoutOptions:b,title:p});let S;if(G()(!0,E,v),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==m&&h)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:pc(e)}}const[O]=Mt(E,l?null:e,S,r);return(0,t.useEffect)((()=>{O&&u(O)}),[O]),c}({app:e,fieldIdentifier:n,stateName:o,options:i}),p=(0,t.useRef)(a),h=c?i.selectionsApi:gd(e,f,[p,".njs-action-toolbar-more",".njs-action-toolbar-popover"],i)[0],m=(0,t.useMemo)((()=>({...i,selections:h,model:f,app:e,renderedCallback:l})),[i,h,f,e]);return h&&f?t.createElement(Ip,{options:m}):null}const _p={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Np({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(ef,{show:i,app:e,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1),a.onPopoverClose&&a.onPopoverClose()},fieldName:n,stateName:r,autoFocus:a.autoFocus,components:a.components})}function Ap(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Tp(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}const Pp=e=>({qDef:{qFieldDefs:[e]}}),Dp=e=>({qDef:{qDef:e}});function kp({dc:e,def:t,properties:n}){e.qDimensions=e.qDimensions||[],e.qMeasures=e.qMeasures||[],e.qInterColumnSortOrder=e.qInterColumnSortOrder||[],e.qInitialDataFetch=e.qInitialDataFetch||[],e.qColumnOrder=e.qColumnOrder||[],e.qExpansionState=e.qExpansionState||[];const r=n,o={dimensions:()=>e.qDimensions,measures:()=>e.qMeasures,addDimension(n){const a="string"==typeof n?Pp(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||ep(),a.qDef.qSortCriterias=a.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],a.qOtherTotalSpec=a.qOtherTotalSpec||{},a.qAttributeExpressions=a.qAttributeExpressions||[],a.qAttributeDimensions=a.qAttributeDimensions||[],e.qDimensions.length<o.maxDimensions()?(e.qDimensions.push(a),Ap(e.qInterColumnSortOrder,e.qDimensions.length-1),t.dimensions.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qDimensions.push(a)),a},removeDimension(n){const o=e.qDimensions.splice(n,1)[0];return Tp(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Dp(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||ep(),a.qSortBy=a.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},a.qAttributeDimensions=a.qAttributeDimensions||[],a.qAttributeExpressions=a.qAttributeExpressions||[],e.qMeasures.length<o.maxMeasures()?(e.qMeasures.push(a),Ap(e.qInterColumnSortOrder,e.qDimensions.length+e.qMeasures.length-1),t.measures.added(a,r)):(e.qLayoutExclude=e.qLayoutExclude||{},e.qLayoutExclude.qHyperCubeDef=e.qLayoutExclude.qHyperCubeDef||{},e.qLayoutExclude.qHyperCubeDef.qDimensions=e.qLayoutExclude.qHyperCubeDef.qDimensions||[],e.qLayoutExclude.qHyperCubeDef.qMeasures=e.qLayoutExclude.qHyperCubeDef.qMeasures||[],e.qLayoutExclude.qHyperCubeDef.qMeasures.push(a))},removeMeasure(n){const o=e.qMeasures.splice(n,1)[0];Tp(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}const Mp=e=>({qDef:{qFieldDefs:[e]}});function Fp({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?Mp(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||ep(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Bp=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Rp,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Rp,e):G()(!0,{},Rp,{qListObjectDef:e}),t};function jp({children:e,halo:t}){return{async addDimension(n){const r=Bp(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||ep(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}}}function zp(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Gp({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?Fp:e.match("/qChildListDef")?jp:kp}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===zp(t)?await u.addMeasure(t):await u.addDimension(t)}}const Vp=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},$p=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},Zp=e=>0===Object.keys(e).length&&e.constructor===Object,Up=function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},Wp=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},Hp=function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r},Kp=2**53-1;function Xp(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function Yp(e,t){const n=G()(!0,{},t,e);return Vp(n,"qOtherTotalSpec.qOtherCounted")||$p(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Vp(n,"qOtherTotalSpec.qOtherLimit")||$p(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function Qp(e,t){return G()(!0,{},t,e)}function Jp(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const eh={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Vp(e,t)&&$p(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:Xp,importCommonProperties:function(e,t,n){const r="masterobject"===Vp(t,"properties.qInfo.qType")?"masterobject":Vp(n,"qInfo.qType");$p(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:Yp,createDefaultMeasure:Qp,resolveValue:Jp,getHypercubePath:function(e){const t=Vp(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function({exportFormat:e,newHyperCubeDef:t}){const n=e.data[0],r=t.qDimensions.length+t.qMeasures.length;t.qInterColumnSortOrder=n.interColumnSortOrder.concat();let o=t.qInterColumnSortOrder.length;if(o!==r)for(t.qLayoutExclude&&(t.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());o!==r;)o<r?(Wp(t.qInterColumnSortOrder,o),++o):(--o,Hp(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=G()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?$p(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||Xp(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=G()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=Jp(o.max,n.dimensions.length,Kp),i=Jp(o.min,n.dimensions.length,0);return{maxDimensions:Jp(r.max,a,Kp),minDimensions:Jp(r.min,i,0),maxMeasures:a,minMeasures:i}},shouldInitLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o}){const a=e.data[0];return a.dimensions.length>t&&t>0||a.measures.length>r&&r>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>o||!r&&a.measures.length>0||!t&&a.dimensions.length>0},initLayoutExclude:function({exportFormat:e,maxDimensions:t,minDimensions:n,maxMeasures:r,minMeasures:o,newHyperCubeDef:a}){const i=e.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(i.dimensions.length>t&&t>0||i.excludedDimensions&&i.excludedDimensions.length&&i.dimensions.length+i.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(i.measures.length>r&&r>0||i.excludedMeasures&&i.excludedMeasures.length&&i.measures.length+i.excludedMeasures.length>o)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&i.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!t&&i.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function({exportFormat:e,maxDimensions:t,minDimensions:n,newHyperCubeDef:r,defaultDimension:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.dimensions.length;++i)r.qDimensions.length<t?r.qDimensions.push(Yp(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(Yp(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Yp(a.excludedDimensions[i],o))},addDefaultMeasures:function({exportFormat:e,maxMeasures:t,minMeasures:n,newHyperCubeDef:r,defaultMeasure:o}){const a=e.data[0];let i;if(t>0)for(i=0;i<a.measures.length;++i)r.qMeasures.length<t?r.qMeasures.push(Qp(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(Qp(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Qp(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Vp(e,n||"").qHyperCubeDef,o=[...r.qDimensions];r.qDimensions=[],o.forEach((n=>{r.qDimensions.push(n),t.dimensions.added(n,e)}))}},updateMeasuresOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.measures&&"function"==typeof t.measures.added){const r=Vp(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},th={exportProperties:e=>function({propertyTree:e,hypercubePath:t}){const n=function(e=1){const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),r=e.qProperty,o=Vp(r,t||""),a=o.qHyperCubeDef,i=n.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),i.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&i.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),i.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&i.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),i.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();Up(e,i.interColumnSortOrder)&&(i.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(r).forEach((e=>{n.properties[e]=r[e]})),t&&(n.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((e=>{n.properties.hasOwnProperty(e)||(n.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(eh.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Zp(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=eh.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Vp(t,o||"").qHyperCubeDef,s=Vp(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=eh.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=eh.getDefaultDimension(),defaultMeasure:h=eh.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,eh.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&eh.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),eh.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),eh.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:h}),eh.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),eh.copyPropertyIfExist("qMaxStackedCells",l,s),eh.copyPropertyIfExist("qNoOfLeftDims",l,s),eh.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),eh.copyPropertyOrSetDefault("qMode",l,s,"S"),eh.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),eh.copyPropertyOrSetDefault("qSortbyYValue",l,s),eh.copyPropertyOrSetDefault("qIndentMode",l,s),eh.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),eh.importCommonProperties(i,e,t),eh.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),eh.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},nh=e=>Vp(e,"data.targets.0.propertyPath"),rh=async({halo:e,model:t,cellRef:n,newType:r,properties:o,viewDataMode:a=!1})=>{const i=o?{qProperty:o}:await t.getFullPropertyTree(),l=n.current.getQae(),s=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return th.exportProperties})(nh(e)))(l);if(!s)throw new Error("Source chart does not support conversion");const c=await(async({halo:e,name:t,version:n})=>{const{types:r}=e;return await r.get({name:t,version:n}).supernova()})({halo:e,name:r}),u=c.qae,d=(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return th.importProperties})(nh(e)))(u);if(!d)throw new Error("Target chart does not support conversion");return d({exportFormat:s({propertyTree:i,hypercubePath:eh.getHypercubePath(l),viewDataMode:a}),initialProperties:{qInfo:{qType:r},visualization:r,...Vp(u,"properties.initial",{})},dataDefinition:Vp(u,"data.targets.0.",{}),hypercubePath:eh.getHypercubePath(u),viewDataMode:a})},oh={hypercube:th};function ah(e){return(0,Pe.Z)("MuiIcon",e)}(0,Te.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ih=["baseClassName","className","color","component","fontSize"],lh=(0,ut.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,Yt.Z)(n.color)}`],t[`fontSize${(0,Yt.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),sh=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,ue.Z)(n,ih),c=(0,ce.Z)({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,Yt.Z)(t)}`,`fontSize${(0,Yt.Z)(n)}`]};return(0,ct.Z)(o,ah,r)})(c);return(0,qe.jsx)(lh,(0,ce.Z)({as:i,className:(0,nt.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));sh.muiName="Icon";const ch=sh,uh=e=>Ht((e=>({...e,shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function dh({d:e}){const n=se();let r="inherit",o=n.palette.success.main;e.missing?o=n.palette.warning.main:e.error&&(r="error",o=n.palette.error.main);const a={color:o},i=t.createElement(on,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(ch,null,e.missing||e.error?t.createElement(uh,{style:a}):t.createElement(Mo,{style:a})));return t.createElement(Et,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Et,{item:!0},i),t.createElement(Et,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(on,{noWrap:!0,component:"p"},t.createElement(on,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(on,{component:"span"}," "),t.createElement(on,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function fh({data:e}){const n=se();return t.createElement(Et,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(dh,{d:e,key:n})));return o.length>0&&t.createElement(Et,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(on,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function ph({title:e="Error",message:n="",data:r=[]}){return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Et,{item:!0},t.createElement(uh,{style:{fontSize:"38px"}})),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Et,{item:!0},t.createElement(on,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(fh,{data:r}))}function hh(e){return(0,Pe.Z)("MuiCircularProgress",e)}(0,Te.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const mh=["className","color","disableShrink","size","style","thickness","value","variant"];let qh,gh,yh,vh,bh=e=>e;const Ch=xn(qh||(qh=bh`
|
|
76
76
|
0% {
|
|
77
77
|
transform: rotate(0deg);
|
|
78
78
|
}
|
|
@@ -99,4 +99,4 @@
|
|
|
99
99
|
animation: ${0} 1.4s linear infinite;
|
|
100
100
|
`),Ch))),Oh=(0,ut.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Ih=(0,ut.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,Yt.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,ce.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&Rn(vh||(vh=bh`
|
|
101
101
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
102
|
-
`),Eh))),Rh=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=(0,ue.Z)(n,mh),f=(0,ce.Z)({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),p=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,a={root:["root",n,`color${(0,Yt.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,Yt.Z)(n)}`,o&&"circleDisableShrink"]};return(0,ct.Z)(a,hh,t)})(f),h={},m={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);h.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,qe.jsx)(Sh,(0,ce.Z)({className:(0,nt.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},m,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,qe.jsx)(Oh,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,qe.jsx)(Ih,{className:p.circle,style:h,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),xh=Rh;function wh(){return wh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wh.apply(this,arguments)}const Lh="Progress",_h={root:`${Lh}-root`,front:`${Lh}-front`,back:`${Lh}-back`},Nh=(0,ut.ZP)("div")((({theme:e})=>({[`&.${_h.root}`]:{position:"relative",display:"inline-block"},[`& .${_h.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${_h.back}`]:{color:e.palette.divider}}))),Ah={small:16,medium:32,large:64,xlarge:128};function Th({size:e="medium",...n}){const r=Ah[e];return t.createElement(Nh,{className:_h.root},t.createElement(xh,wh({variant:"determinate",value:100,className:_h.back,size:r,thickness:3},n)),t.createElement(xh,wh({variant:"indeterminate",disableShrink:!0,className:_h.front,size:r,thickness:3},n)))}function Ph(){return Ph=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ph.apply(this,arguments)}const Dh={stripes:"LongRunningQuery-stripes"},kh=(0,ut.ZP)(Et)((()=>({[`& .${Dh.stripes}`]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function Mh({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(kh,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Et,{item:!0},t.createElement(Th,null)),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Et,Ph({item:!0},r),t.createElement(Df,{variant:"contained",onClick:e},n.get("Cancel"))))}function Fh({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Et,{item:!0},t.createElement(uh,{style:{fontSize:"38px"}})),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Et,{item:!0},t.createElement(Df,Ph({variant:"contained",onClick:e},r),n.get("Retry"))))}function Bh({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(Ve);return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Dh.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Mh,{cancel:r.cancel,translator:o,className:Dh.cancel}),n&&t.createElement(Fh,{retry:r.retry,translator:o,className:Dh.retry}))}function jh(){return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(Th,{size:"large"}))}const zh="Header",Gh={containerStyle:`${zh}-containerStyle`,containerTitleStyle:`${zh}-containerTitleStyle`},Vh=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${Gh.containerStyle}`]:{flexGrow:0},[`&.${Gh.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),$h=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a,titleStyles:i={}}){const l=e.showTitles&&!!e.title,s=e.showTitles&&!!e.subtitle,c=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[u,d]=(0,t.useState)([]),[f,p]=Zt(),[h,m]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!p)return;const{width:e}=p;m(e<221)}),[p]);const q=l||s,g=[Gh.containerStyle,...q?[Gh.containerTitleStyle]:[]],y=(o||c)&&(h||!q),v=q&&!y&&!h,b=t.createElement(Eu,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:y,anchorEl:r},focusHandler:a});return t.createElement(Vh,{ref:f,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},t.createElement(Et,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Et,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(on,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(on,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Et,{item:!0},b))},Zh="Footer-itemStyle",Uh=(0,ut.ZP)(Et)((({theme:e})=>({[`& .${Zh}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),Wh=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(Uh,{container:!0},t.createElement(Et,{item:!0,className:Zh},t.createElement(on,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class Hh{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const Kh=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,interactions:d,keyboardNavigation:f}=(0,t.useContext)(Ve),[p]=(0,t.useState)((()=>new Hh)),[h,m]=(0,t.useState)(!1),[q,g]=(0,t.useState)(0),[y,v,b]=Zt(),[C,E]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&E(e)}),[]);return(0,t.useEffect)((()=>{if(C)return l.created({options:n}),l.mounted(C),m(!0),()=>{p.stop(),l.willUnmount()}}),[C,l]),(0,t.useEffect)((()=>{h&&C&&v&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),u.edit||t.push("edit"),i.app&&i.app.session&&t.push("fetch"),Promise.resolve(l.render({layout:o,options:n,plugins:r,embed:i.public.nebbie,context:{constraints:u,interactions:d,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===q&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),g(q+1))}))})))}),[v,n,r,C,b,o,a,s,c,u,d,h,f]),t.createElement("div",{ref:y,"data-render-count":q,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:S,style:{position:"absolute",width:"100%",height:"100%"}}))},Xh=(e,t)=>{switch(t.type){case"LOADING":return{...e,loading:!0};case"LOADED":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization};case"RENDER":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null};case"LONG_RUNNING_QUERY":return{...e,longRunningQuery:!0};case"ERROR":return{...e,loading:!1,longRunningQuery:!1,error:t.error};default:throw new Error(`Unhandled type: ${t.type}`)}};function Yh({delay:e=750}){const[n,r]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{const t=setTimeout((()=>r(!0)),e);return()=>clearTimeout(t)}),[]),n?t.createElement(jh,null):null}const Qh=e=>!e.qError||7005===e.qError.qErrorCode,Jh=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c=`${l?r:i?s||o:a&&t[e].qFallbackTitle||""}`,u=n(e);return{description:u?`${u}${c.length?":":""}`:null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),em=e=>e&&(Array.isArray(e)?e:[e])||[],tm=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:Jh(o,em(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:Jh(a,em(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},nm=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s},c)=>{const{app:u,types:d}=e,{nebbie:f}=e.public,{theme:p,translator:h,language:m,keyboardNavigation:q,disableCellPadding:g=!1}=(0,t.useContext)(Ve),y=se(),[v,b,C]=Zt(),[E,S]=(0,t.useReducer)(Xh,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,{validating:R,canCancel:x,canRetry:w},L]=Vt(n),[_]=$t(u),[N,A,T]=Zt(),[P,D]=(0,t.useState)(r),[k,M]=(0,t.useState)(o),F=`njs-cell-${l}`,[B]=gd(u,n,[`#${F}`,".njs-action-toolbar-popover"]),[j,z]=(0,t.useState)(!1),G=(0,t.useRef)({enter:null,leave:null}),{titleStyles:V,bgColor:$,bgImage:Z,border:U,borderRadius:W,boxShadow:H}=((e,n,r,o)=>(0,t.useMemo)((()=>{if(e&&n){const t=e.components?e.components.find((e=>"general"===e.key)):null,o={main:Zd(t,"main",n,e.visualization),footer:Zd(t,"footer",n,e.visualization),subTitle:Zd(t,"subTitle",n,e.visualization)},a=Vd(t,n,e.visualization),i=Gd(t,r),l=function(e,t,n){const r=Bd(e?.borderColor,"","borderColor",t,n),o=e?.borderWidth||Md("","borderWidth",t,n);return o&&r?`${o} solid ${r}`:void 0}(t,n,e.visualization),s=function(e,t,n){return e?.borderRadius||Md("","borderRadius",t,n)}(t,n,e.visualization);return{titleStyles:o,bgColor:a,bgImage:i,border:l,borderRadius:s,boxShadow:$d(t,n,e.visualization)}}return{}}),[e,n,r,o]))(I,e.public.theme,e.app,p),K=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{hd(K.current)}),[]),K.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&T&&T.focus()},K.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()},(0,t.useEffect)((()=>{if(a)return void i();if(!_||!I)return;if(E.visualization===I.visualization&&E.sn)return void(async e=>{const[t,r]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),h=em(p.qDimensionInfo||p.qItems).filter(Qh),m=em(p.qMeasureInfo).filter(Qh);if(o+=d,a+=f,(h.length<d||m.length<f)&&(r=!0),p.qError){i=!0,l=7005===p.qError.qErrorCode;const t=l&&p.qCalcCondMsg?p.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,n,t),c=[],u=[];let d=null;for(let a=0;a<n.length;++a){const i=n[a];if(!l&&o){const n=d||await r.getProperties();d=n;const o=tm(e,t,n,i);c.push(...o.reqDimErrors),u.push(...o.reqMeasErrors)}}const f=c.filter((e=>!(e.missing||e.error))).length,p=e.get("Visualization.Incomplete.Dimensions",[f,a]),h=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Measures",[h,i]),q=[{title:p,descriptions:[...c]},{title:m,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(h,I,e.generator.qae.data,n);S(t?{type:"ERROR",error:r}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:E.sn,layout:I,model:n})})(E.sn);const e=d.getSupportedVersion(I.visualization,I.version);return(async(e,t)=>{S({type:"LOADING"}),await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,onMount:u})=>{try{const d=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r}),f=d.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c});f&&(e({type:"LOADED",sn:f,visualization:n}),u())}catch(t){e(r?{type:"ERROR",error:{title:t.message}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}}),u()}})({dispatch:S,types:d,visualization:e,version:t,model:n,app:u,selections:B,nebbie:f,focusHandler:K.current,emitter:s,onMount:i})})(I.visualization,e),()=>{}}),[d,E.sn,n,B,I,_,m]),(0,t.useEffect)((()=>{if(!R)return;const e=setTimeout((()=>S({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[R]),(0,t.useImperativeHandle)(c,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:D,setSnPlugins:M,getImperativeHandle:()=>E.sn?.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{},async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(I));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:h.language(),theme:y.name,appLayout:_,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[E.sn,A,b,I,y.name,_]);let X=null;return E.loading&&!E.longRunningQuery?X=t.createElement(Yh,null):E.error?X=t.createElement(ph,E.error):E.loaded&&(X=t.createElement(Kh,{key:I.visualization,sn:E.sn,halo:e,snOptions:P,snPlugins:k,layout:I,appLayout:_})),t.createElement(po,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:$||"unset",backgroundImage:Z&&Z.url?`url(${Z.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:Z&&Z.size,backgroundPosition:Z&&Z.pos,border:U,borderRadius:W,boxShadow:H,boxSizing:"border-box"},elevation:0,square:!0,className:"njs-cell",ref:v,id:F,onMouseEnter:()=>{G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((()=>{z(!0),G.current.enter=null}),250))},onMouseLeave:()=>{G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((()=>{z(!1),G.current.leave=null}),750))}},t.createElement(Et,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...g?{}:{padding:y.spacing(1)},...E.longRunningQuery?{opacity:"0.3"}:{}}},C&&I&&E.sn&&t.createElement($h,{layout:I,sn:E.sn,anchorEl:C,hovering:j,focusHandler:K.current,titleStyles:V}," "),t.createElement(Et,{tabIndex:q?0:-1,onKeyDown:q?t=>{["Enter"," ","Spacebar"].includes(t.key)&&e.root.toggleFocusOfCells(l)}:null,item:!0,xs:!0,style:{height:"100%"},ref:N},X),C&&I&&E.sn&&t.createElement(Wh,{layout:I,titleStyles:V})),E.longRunningQuery&&t.createElement(Bh,{canCancel:x,canRetry:w,api:L}))}));function rm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function om(e="/",t,n){const r=[];return Object.keys(t).forEach((o=>{const a=t[o];var i,l;"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?(i=a,l=n[o],(rm(i)&&rm(l)?JSON.stringify(i)===JSON.stringify(l):!Array.isArray(i)&&!Array.isArray(l)&&i===l)||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])})):r.push(...om(`${e}${o}/`,t[o],n[o]))})),r}function am(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error(`Invalid plugin format: The plugin "${e.info.name}" has no "fn" function`)}))}const im=e=>!(!e||e.qHasSoftPatches||e.qExtendsId||!((e.qMeta?.privileges||[]).indexOf("update")>-1)),lm=(e,t)=>e.__snInterceptor?e.__snInterceptor.setProperties.call(e,t):e.setProperties(t),sm=G().bind(null,!0),cm={},{isArray:um}=Array;function dm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function fm(e){return void 0===e}function pm(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function hm(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=fm(e[r||t])?a:e[t],e=e[r||t]})),e}function mm(e,t){let n=!0;if(dm(e)&&dm(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{mm(e[r],t[r])||(n=!1)})),n);if(um(e)&&um(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!mm(e[n],t[n]))return!1;return!0}return e===t}cm.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?sm({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;mm(a,i)||pm(t,o)||(fm(i)?r.push({op:"add",path:l,value:a}):dm(a)&&dm(i)?r=r.concat(cm.generate(i,a,l)):um(a)&&um(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&fm(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(mm(t,o))return r;if(!fm(t[0])&&fm(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(cm.generate(o[e],t[a],`${n}/${e}`));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${a}`}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:`${n}/${o}`,value:a}))})),Object.keys(e).forEach((o=>{fm(t[o])&&!pm(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},cm.apply=function(e,t){t.forEach((t=>{let n=hm(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(um(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(um(o)&&um(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(dm(o)&&dm(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!pm(i,e)&&delete i[e]})),sm(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=hm(e,t.from);um(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(um(n)?n.splice(+r,1):delete n[r]);var i}))},cm.clone=function(e){return sm({},e)},cm.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},cm.updateObject=function(e,t){Object.keys(e).length?cm.apply(e,cm.generate(e,t)):sm(e,t)};const qm=cm,gm=e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r),r);var r;return n};let ym,vm;function bm(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function Cm(e,{explicitResize:t=!1}={}){e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function Em(e){Om(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function Sm(e){if(e.__hooks.obsolete)return Promise.resolve();vm=-1,ym=e;let t=-1;ym.__hooks.initiated&&(t=ym.__hooks.list.length);try{ym.fn.call(null)}catch(e){console.error(e)}ym.__hooks.initiated=!0,t>-1&&t!==ym.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=ym.__hooks;return wm(ym),vm=void 0,ym=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Om(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Om(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}(n),n.chain.promise}function Om(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function Im(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function Rm(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function xm(e){return e.__hooks.imperativeHandle}function wm(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Lm(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,wm(e))}function _m(e){if(void 0===ym)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=ym.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function Nm(e){return _m(++vm),ym.context[e]}function Am(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Tm(e){return{__hooked:!0,fn:e,initiate:Cm,run:Sm,teardown:Em,runSnaps:Im,runMenu:Rm,focus:cq,blur:uq,observeActions:Lm,getImperativeHandle:xm,updateRectOnNextRun:Am}}function Pm(e){const t=_m(++vm);if(!t.value){t.component=ym;const n=e=>{if(t.component.__hooks.obsolete)throw new Error("Calling setState on an unmounted component is a no-op and indicates a memory leak in your component.");const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,Sm(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Dm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=_m(++vm);bm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===ym.__hooks.pendingEffects.indexOf(n)&&ym.__hooks.pendingEffects.push(n))}function km(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=_m(++vm);bm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],ym.__hooks.pendingLayoutEffects.push(n))}function Mm(e,t){t||console.warn("useMemo called without dependencies.");const n=_m(++vm);return bm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function Fm(e,t){const[n,r]=Pm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=_m(++vm);return o.component||(o.component=ym),km((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]}function Bm(){return Nm("element")}function jm(){const e=Bm(),t=ym.__hooks.resizer,[n,r]=Pm((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),km((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n}function zm(){return Nm("layout")}function Gm(){const e=Nm("layout"),[t]=Pm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function Vm(){return Nm("appLayout")}function $m(){const e=Nm("model");return e&&e.session?e:void 0}function Zm(){const e=Nm("app");return e&&e.session?e:void 0}function Um(){const e=Nm("global");return e&&e.session?e:void 0}function Wm(){return Nm("selections")}function Hm(){return Nm("theme")}function Km(){return Nm("nebbie")}function Xm(){return Nm("translator")}function Ym(){return Nm("deviceType")}function Qm(){return Nm("plugins")}function Jm(e,t){const[n]=Pm({action(){n._config.action.call(null)}});return n.component||(n.component=ym,ym.__hooks.actions.list.push(n)),Mm((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action}function eq(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),Nm("constraints")}function tq(){return Nm("interactions")}function nq(){return Nm("options")}function rq(e,t){const n=_m(++vm);if(!n.imperative){if(ym.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(bm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],ym.__hooks.imperativeHandle=r}}function oq(e){const t=_m(++vm);t.value||(t.value=1,ym.__hooks.snaps.push(t)),t.fn=e}function aq(e){const t=_m(++vm);t.value||(t.value=1,ym.__hooks.menus.push(t)),t.fn=e}function iq(){_m(++vm);const e=ym.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function lq(){return Nm("emitter")}function sq(){const e=Nm("keyboardNavigation"),t=Nm("focusHandler");if(!ym.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(uq(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(ym);ym.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),cq(this))}.bind(ym);ym.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(ym);ym.__hooks.accessibility.focusSelectionFunction=r}const n=ym.__hooks.accessibility.focusFunction,r=ym.__hooks.accessibility.exitFunction,o=ym.__hooks.accessibility.focusSelectionFunction,[a,i]=Pm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return ym.__hooks.accessibility.setter=i,ym.__hooks.accessibility.enabled=e,Dm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function cq(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function uq(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const dq={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},fq=Object.keys(dq),pq=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function hq(e,t,n){"function"==typeof e.component&&(e.component=Tm(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==Sm&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return i.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):function(e,t){console.warn("Obsolete API - time to get hooked!");const n={...dq};pq(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==fq.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function({sn:e,component:t}){const n={},r=[],o=gm(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:r}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:a,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){return e.qae.properties.onChange.call({model:t.model},...n),t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=qm.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));qm.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=qm.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const mq=()=>{};function qq(e,t){return void 0===e?()=>t:()=>e}function gq(e){const t=e||{};return{min:"function"==typeof t.min?t.min:qq(t.min,0),max:"function"==typeof t.max?t.max:qq(t.max,1e3),added:t.added||t.add||mq,description:t.description||mq,moved:t.moved||t.move||mq,removed:t.removed||t.remove||mq,replaced:t.replaced||t.replace||mq,isDefined:()=>!!e}}const yq=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function vq(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>yq(e,n,{}),dimensions:gq(e.dimensions),measures:gq(e.measures)}}function bq(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(vq)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Cq(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:bq(n.qae),component:n.component||{},create:e=>hq(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}const Eq=(e,t,n)=>{if(!e)return Promise.resolve();let r=qm.generate(t,n);return G()(!0,t,n),r&&r.length?(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.__snInterceptor?e.__snInterceptor.applyPatches.call(e,r,!0):e.applyPatches(r,!0)):Promise.resolve()},Sq=()=>{};async function Oq(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=Sq,l=null,s=null,c=null,u=null;const d=new Promise((e=>{c=e})),f=new Promise((e=>{u=e})),p=e=>()=>{e&&e(),u()};let h={},m=[];const q=new(i()),g={id:e.id,model:e,async destroy(){await o(),a(),a=Sq},async convertTo(t,r=!0,o=!1){if(r){const r=await e.getLayout();if(im(r)&&!o){const r=await rh({halo:n,model:e,cellRef:l,newType:t});return await lm(e,r.qProperty),r}const a=await e.getEffectiveProperties(),i=await rh({halo:n,model:e,cellRef:l,newType:t,properties:a}),s=i.qProperty;return await Eq(e,a,s),i}return await rh({halo:n,model:e,cellRef:l,newType:t})},addListener(e,t){q.addListener(e,t)},removeListener(e,t){q.removeListener(e,t)},getImperativeHandle:async()=>(await f,l.current.getImperativeHandle()),__DO_NOT_USE__:{mount(o){if(s)throw new Error("Already mounted");if(!(o instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return s=o,[a,l]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s}){const{root:c}=e,u=t.createRef(),d=ep(),f=tt.createPortal(t.createElement(nm,{ref:u,halo:e,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l}),n,d),p=()=>{c.remove(f),r.removeListener("closed",p)};return r.on("closed",p),c.add(f),c.addCell(d,u),[p,u]}({halo:n,element:o,model:e,initialSnOptions:h,initialSnPlugins:m,initialError:r,onMount:c,emitter:q}),d},async applyProperties(t){const n=om("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;s?(async()=>{await d,l.current.setSnOptions({...h,...e,onInitialRender:p(t)})})():h={...h,...e,onInitialRender:p(t)}})(e)},plugins(e){(async e=>{am(e),s?(async()=>{await d,l.current.setSnPlugins(e)})():m=e})(e)},exportImage:()=>l.current.exportImage(),takeSnapshot:()=>l.current.takeSnapshot(),getModel:()=>e,convert:{async toType(t){const r=await e.getEffectiveProperties(),o=await rh({halo:n,model:e,cellRef:l,newType:t,properties:r}),a=o.qProperty;return await Eq(e,r,a),o},async revert(){await e.clearSoftPatches()}}}};return g}({model:e,halo:r,initialError:o,onDestroy:a});return n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),n.element&&await l.__DO_NOT_USE__.mount(n.element),l}async function Iq({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i){let l={};const s=[];try{const i=a.types.get({name:e,version:t});l=await i.initialProperties(r,o);const c=await i.supernova();n&&await Gp({sn:c,properties:l,fields:n,children:s},a),r&&c&&c.qae.properties.onChange&&c.qae.properties.onChange.call({},l)}catch(t){l=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(l);return s.length>0&&await e.setFullPropertyTree({qProperty:l,qChildren:s}),kt.set(e.id,e),e}return l}function Rq(e,t,n){return e.bounds?e.bounds:{y:e.row/n*100,x:e.col/t*100,width:e.colspan/t*100,height:e.rowspan/n*100}}const xq=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Vt(e),{theme:c}=(0,t.useContext)(Ve),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[h,m]=(0,t.useState)(void 0),[q,g]=(0,t.useState)("");(0,t.useEffect)((()=>{if(s){const e=JSON.stringify(s.cells);if(e===q)return;g(e);const r=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,{columns:r,rows:o}=s,a=await Promise.all(e.map((async e=>{let a;const i=new Promise((e=>{a=e})),l=u.find((t=>t.id===e.name));if(l)return l.bounds=Rq(e,r,o),delete l.mountedPromise,l;const s=await async function({id:e,options:t,plugins:n,element:r},o){const a=`${e}`;let i=_t.get(a);i||(i=o.app.getObject(e),_t.set(a,i));const l=await i;return kt.set(a,l),Oq(l,{options:t,plugins:n,element:r},o)}({id:e.name},n);return{model:s.model,id:e.name,bounds:Rq(e,r,o),cellRef:t.createRef(),currentId:ep(),mounted:a,mountedPromise:i}})));a.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(a)};r()}}),[s]);const y=(0,t.useMemo)((()=>u?u.map((e=>function(e,n,r,o,a,i){const{x:l,y:s,width:c,height:u}=e.bounds;return t.createElement("div",{style:{left:`${l}%`,top:`${s}%`,width:`${c}%`,height:`${u}%`,position:"absolute"}},t.createElement(nm,{ref:e.cellRef,halo:n,model:e.model,currentId:e.currentId,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}))}(e,n,r,o,a,e.mounted))):[]),[u]);(0,t.useEffect)((()=>{const e=s?.components?s.components.find((e=>"general"===e.key)):null;p(Vd(e,n.public.theme)),m(Gd(e,n.app))}),[s,n.public.theme,n.app,c]);const v=!s||Number.isNaN(s.height)?"100%":`${Number(s.height)}%`,b=u.map((e=>e.mountedPromise));return b.filter((e=>!!e)).length&&Promise.all(b).then((()=>{i()})),t.createElement("div",{className:"njs-sheet",style:{width:"100%",height:v,position:"relative",backgroundColor:f,backgroundImage:h&&h.url?`url(${h.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:h&&h.size,backgroundPosition:h&&h.pos}},y)},wq=()=>{};async function Lq({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=_t.get(i);l||(l=a.app.getObject(e),_t.set(i,l));const s=await l;return kt.set(i,s),"sheet"===s.genericType?async function(e,n,r,o,a=(async()=>{})){const i=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=wq,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const f={id:e.id,model:e,async destroy(){await o(),a(),a=wq},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");if(!(o instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return l=o,[a,i]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}){const{root:s}=e,c=t.createRef(),u=tt.createPortal(t.createElement(xq,{ref:c,halo:e,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}({halo:n,element:o,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:r,onMount:s}),c},async applyProperties(t){const n=om("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{l?(async()=>{await c,i.current.setSnOptions({...u,...e})})():u={...u,...e}})(e)},plugins(e){(async e=>{am(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return f}({model:e,halo:r,initialError:void 0,onDestroy:a});return n.options&&i.__DO_NOT_USE__.options(n.options),n.plugins&&i.__DO_NOT_USE__.plugins(n.plugins),n.element&&await i.__DO_NOT_USE__.mount(n.element),i}(s,{options:n,plugins:r,element:o},a):Oq(s,{options:n,plugins:r,element:o},a)}function _q(e={}){return{isEnabled:t=>!0===e[t]}}var Nq=o(7311),Aq=o.n(Nq);const Tq={};function Pq(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error(`Supernova '${e}@${o}' already registered.`);n[o]=function(e,t,n={}){let r,o;const{meta:a}=n,i={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||Aq()(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!Tq[o]){const a=`${e}${t&&` v${t}`||""}`;if(r&&"function"!=typeof r)throw new Error(`load of visualization '${a}' is not a fuction, wrap load promise in function`);const i=(r||n.load)({name:e,version:t}),l=Promise.resolve(i);Tq[o]=l.then((e=>{if(!e)throw new Error(`load() of visualization '${a}' resolved to an invalid object`);return e})).catch((e=>{throw console.warn(e),new Error(`Failed to load visualization: '${a}'`)}))}return Tq[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Cq(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(G()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{var t;r||(t=Object.keys(n),r=[...t.filter((e=>"undefined"===e)),...t.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]);for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const Dq={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1}),load:()=>{},types:[],themes:[],anything:{},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}},kq=(e={},t={})=>({...e,...t}),Mq=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),Fq=function e(o={}){const a=function(e){const t=n({initial:e});return Object.keys(r).forEach((e=>{t.translator.add(r[e])})),{translator:t.translator}}(o.context.language);function i(e,n){if(n)return i.createConfiguration(n)(e);let r={...o.context,translator:a.translator};const[l]=function({app:e,context:n}){let r;const o=new Promise((e=>{r=e})),a=t.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","4.8.1"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&Je(n),oe.createRoot(i).render(t.createElement(et,{ref:a,app:e,initialContext:n,renderCallback:r}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),a.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),a.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&Je(e),a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}({app:e,context:r}),s=function({themes:e=[],loadTheme:t,root:n}={}){const r=re();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),(l=5e3,s={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(s)),l)})))]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i);var l,s},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:_q(o.flags),deviceType:(f=o.context.deviceType,"auto"!==f?f:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"),anything:o.anything},theme:s.externalAPI,translator:a.translator,nebbie:null},u={app:e,root:l,config:o,public:c,context:r,types:null},d=function({halo:e,parent:t}){const n={},r=t||{get:()=>{}};return{register:(t,r)=>{n[t.name]||(n[t.name]=Pq(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(Tq).forEach((t=>{t.split("__")[0]===e&&(Tq[t]=void 0)}))}(e)}}}({halo:u});var f;o.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(o.context.theme),h=null,m=null;const q={render:async e=>(await p,e.id?Lq(e,u):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c={};const u=[];let d;try{const o=s.types.get({name:e,version:t});c=await o.initialProperties(r,l);const a=await o.supernova();n&&await Gp({sn:a,properties:c,fields:n,children:u},s),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},c)}catch(t){d=t,c={qInfo:{qType:e},visualization:e}}const f=await s.app.createSessionObject(c);u.length>0&&await f.setFullPropertyTree({qProperty:c,qChildren:u}),kt.set(f.id,f);const p=(e=>{const t=Pt({type:"SET",value:e});return()=>{t(),kt.clear(e.id)}})(f);return Oq(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>Iq(e,u,!1),generateProperties:async e=>Iq(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==r[n]&&(t||(t={}),t[n]=e[n])})),t&&(r={...r,...t,translator:a.translator},t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(h||(h={mount(n){m?console.error("Already mounted"):(m=function({element:e,app:n}){return tt.createPortal(t.createElement(tp,{app:n}),e,ep())}({element:n,app:e}),l.add(m))},unmount(){m&&(l.remove(m),m=null)}}),h),field:async n=>{let r;const o="string"==typeof n?n:n.qLibraryId;if(n.qId)r=n.qId;else if(!o)throw new Error("Field identifier or object id must be provided");const a={fieldName:o,async mount(i,s={}){if(!i)throw new Error(`Element for ${o||r} not provided`);if(this._instance)throw new Error(`Field or object ${o||r} already mounted`);const c=()=>a.emit("selectionActivated"),u=()=>a.emit("selectionDeactivated");return new Promise((o=>{this._instance=function({element:e,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={},renderedCallback:l}){return tt.createPortal(t.createElement(Lp,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,ep())}({element:i,app:e,fieldIdentifier:n,qId:r,options:wp({onSelectionActivated:c,onSelectionDeactivated:u,...s}),stateName:s.stateName||"$",renderedCallback:o}),l.add(this._instance)}))},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return hd(a),a},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(n,r,o){q._popoverInstance&&(l.remove(q._popoverInstance),q._popoverInstance=null);const a=((e={})=>{const t={..._p};return G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Np,{element:n,key:ep(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,hd(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:kq(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Mq(e.types,t.types),themes:Mq(e.themes,t.themes),flags:kq(e.flags,t.flags),anything:kq(e.anything,t.anything)}))(o,t)),i.config=o,i}(Dq),Bq=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},jq=globalThis.crypto||{getRandomValues:()=>123456},zq=function(){return e=>{const t=G()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^jq.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=G()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),removeListener:()=>{},id:t.qInfo.qId,...t})}},Gq=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,Vq=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=Gq(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},$q=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function Zq(e){return!$q.includes(e)}function Uq(e){const t=Gq(e.getLayout);return t.qInfo&&t.qInfo.qId}function Wq(e,t){let n=Uq(e);const{delay:r}=t,{id:o,session:a,...i}=e;if(o&&n&&o!==n)throw new Error(`Generic object has multiple IDs, qInfo.qId: ${n}, id: ${o}`);return n=n||o||"object - "+ +Date.now(),{[n]:{id:n,session:Gq(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:Vq(n,{async:Zq(t),delay:r})})),{}),genericType:e.type}}}function Hq(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!Uq(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const Kq=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(Hq);const n=function(e,t){return e.reduce(((e,n)=>({...e,...Wq(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},Xq=function(){return()=>Promise.resolve({id:"app-layout"})},Yq={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Bq,r=new zq,o=new Kq(e,t),a=new Xq,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,destroySessionObject:async()=>{},getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},Qq=Yq,Jq={generator:Cq,hook:Tm,theme:re,locale:n};var eg=o(4972),tg=o.n(eg);const ng=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":""},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var rg=o(4492),og=o.n(rg);class ag extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}}class ig extends ag{}var lg=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(lg||{});class sg extends ag{}var cg=(e=>(e.EMPTY_HOST="Empty host in config",e.MISSING_REQUIRED_PROPERTY="Missing required property",e.UNSUPPORTED_AUTH_TYPE="Unsupported authType",e.UNSUPPORTED_PROPERTY="Unsupported property",e.NOT_IMPLEMENTED="Not implemented",e.MISSING_FETCH="Missing fetch function",e.NOT_FOUND="Requested resource not found or lacking access permissions",e))(cg||{}),ug=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(ug||{});const dg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},fg=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},pg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var hg=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},mg=class extends hg{},qg=class extends hg{},gg=class extends hg{},yg=class extends hg{},vg=class extends hg{},bg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function Cg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Eg,Sg,Og=Object.create,Ig=Object.defineProperty,Rg=Object.getOwnPropertyDescriptor,xg=Object.getOwnPropertyNames,wg=Object.getPrototypeOf,Lg=Object.prototype.hasOwnProperty,_g=(Eg={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},a(e)}function i(e,t,n){return(i=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,a=(n=i,r=l(),function(){var e,t=c(n);if(r){var a=c(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=a.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(a(Error));function d(e,t,n){return new u(t,e,n)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function g(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}var y=0,v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),y+=1,n.id=y,n.rpc.on("socket-error",n.onRpcError.bind(n)),n.rpc.on("closed",n.onRpcClosed.bind(n)),n.rpc.on("message",n.onRpcMessage.bind(n)),n.rpc.on("notification",n.onRpcNotification.bind(n)),n.rpc.on("traffic",n.onRpcTraffic.bind(n)),n.on("closed",(function(){return n.onSessionClosed()}))}var t,n,o;return t=e,n=[{key:"onRpcError",value:function(e){this.suspendResume.isSuspended||this.emit("socket-error",e)}},{key:"onRpcClosed",value:function(e){var t=this;if(!this.suspendResume.isSuspended&&1e3!==e.code&&4e3!==e.code)if(this.config.suspendOnClose){var n=e.code,r=e.reason;this.suspendResume.suspend().then((function(){return t.emit("suspended",{initiator:"network",code:n,reason:r})}))}else this.emit("closed",e)}},{key:"onRpcMessage",value:function(e){var t=this;this.suspendResume.isSuspended||(e.change&&e.change.forEach((function(e){return t.emitHandleChanged(e)})),e.close&&e.close.forEach((function(e){return t.emitHandleClosed(e)})))}},{key:"onRpcNotification",value:function(e){this.emit("notification:*",e.method,e.params),this.emit("notification:".concat(e.method),e.params)}},{key:"onRpcTraffic",value:function(e,t,n){this.emit("traffic:*",e,t),this.emit("traffic:".concat(e),t);var r=this.apis.getApi(n);r&&(r.emit("traffic:*",e,t),r.emit("traffic:".concat(e),t))}},{key:"onSessionClosed",value:function(){this.apis.getApis().forEach((function(e){e.api.emit("closed"),e.api.removeAllListeners()})),this.apis.clear()}},{key:"getObjectApi",value:function(e){var t=e.handle,n=e.id,r=e.type,o=e.genericType,a=this.apis.getApi(t);return a||(a=this.definition.generate(r)(this,t,n,o),this.apis.add(t,a),a)}},{key:"open",value:function(){var e=this;if(!this.globalPromise){var t={handle:-1,id:"Global",type:"Global",genericType:"Global"};this.globalPromise=this.rpc.open().then((function(){return e.getObjectApi(t)})).then((function(t){return e.emit("opened"),t}))}return this.globalPromise}},{key:"send",value:function(t){var n=this;if(this.suspendResume.isSuspended)return this.Promise.reject(d(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=h(h({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&q(t.prototype,n),o&&q(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===b(o)?o:String(o)),r)}var o}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw d(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===O(o)?o:String(o)),r)}var o}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=Object.prototype.hasOwnProperty;function R(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function x(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new E,this.types=new E}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw d(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=R(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw d(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw d(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=R(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===L(o)?o:String(o)),r)}var o}var N=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===A(o)?o:String(o)),r)}var o}var P=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(d(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(d(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new N(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=d(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&T(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===D(o)?o:String(o)),r)}var o}var M=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(d(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&k(t.prototype,n),r&&k(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function F(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function B(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=d(-2,"Object not found");return e.config.Promise.reject(r)}return n}var j=Object.prototype.hasOwnProperty,z=Object.prototype.toString,G=Object.defineProperty,V=Object.getOwnPropertyDescriptor,$=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===z.call(e)},Z=function(e){if(!e||"[object Object]"!==z.call(e))return!1;var t,n=j.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&j.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||j.call(e,t)},U=function(e,t){G&&"__proto__"===t.name?G(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},W=function(e,t){if("__proto__"===t){if(!j.call(e,t))return;if(V)return V(e,t).value}return e[t]};function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var X=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=W(l,n),l!==(o=W(t,n))&&(u&&o&&(Z(o)||(a=$(o)))?(a?(a=!1,i=r&&$(r)?r:[]):i=r&&Z(r)?r:{},U(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&U(l,{name:n,newValue:o}));return l}.bind(null,!0),Y={},Q=Array.isArray;function J(e){return null!=e&&!Array.isArray(e)&&"object"===K(e)}function ee(e){return void 0===e}function te(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ne(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=ee(e[n||t])?a:e[t],e=e[n||t]}})),e}function re(e,t){var n=!0;if(J(e)&&J(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){re(e[r],t[r])||(n=!1)})),n);if(Q(e)&&Q(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!re(e[r],t[r]))return!1;return!0}return e===t}function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Y.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?X({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);re(a,i)||te(t,o)||(ee(i)?r.push({op:"add",path:l,value:a}):J(a)&&J(i)?r=r.concat(Y.generate(i,a,l)):Q(a)&&Q(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&ee(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(re(t,o))return r;if(!ee(t[0])&&ee(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(Y.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){ee(t[o])&&!te(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Y.apply=function(e,t){t.forEach((function(t){var n,r,o=ne(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(Q(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(Q(i)&&Q(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,u=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return H(e)}(r=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else if(J(i)&&J(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!te(n,e)&&delete n[e]})),X(i,t.value);else{if(!o)throw d(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var f=ne(e,t.from);Q(o)?o.splice(+a,0,f.splice(+l,1)[0]):(o[a]=f[l],delete f[l])}else"remove"===t.op&&(Q(o)?o.splice(+a,1):delete o[a])}))},Y.clone=function(e){return X({},e)},Y.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},Y.updateObject=function(e,t){Object.keys(e).length?Y.apply(e,Y.generate(e,t)):X(e,t)};var ae={};function ie(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw d(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ae[e.id]){var t={};ae[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete ae[e.id]}))}}(e);var n=ae[e.id];return n[t]||(n[t]=new E),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==oe(r[0].value)?a=r[0].value:Y.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function le(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ie.sessions=ae;var se="qReturn";function ce(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[se].qGenericId=n.qSessionAppId||n[se].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[se],hasOwnProperty.call(n,se)?n[se]:-1!==t.outKey?n[t.outKey]:n}function ue(e,t,n){return n.result}function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fe(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===de(o)?o:String(o)),r)}var o}var me=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:F}].concat(fe(this.request||[])),this.response=[{onFulfilled:le},{onFulfilled:ie},{onFulfilled:ue},{onFulfilled:ce}].concat(fe(this.response||[]),[{onFulfilled:B}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==qe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===qe(o)?o:String(o)),r)}var o}function ye(){return ye="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=be(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ye.apply(this,arguments)}function ve(e,t){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(i,e);var t,n,r,o,a=(r=i,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=be(r);if(o){var n=be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return ye(be(i.prototype),"add",this).call(this,e.toString(),r),t.on("closed",(function(){return n.remove(e)})),r}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return ye(be(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(E);function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==Ee(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Ee(o)?o:String(o)),r)}var o}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Ce,l=new me({apis:i,Promise:n,request:r,response:o}),s=new P({createSocket:t,Promise:n,url:a}),c=new M({apis:i,Promise:n,rpc:s});return new v({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new w(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Se(t.prototype,null),n&&Se(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&o.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return Sg||(0,Eg[xg(Eg)[0]])((Sg={exports:{}}).exports,Sg),Sg.exports}),Ng=((e,t,n)=>(n=null!=e?Og(wg(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of xg(t))Lg.call(e,n)||undefined===n||Ig(e,n,{get:()=>t[n],enumerable:!(r=Rg(t,n))||r.enumerable});return e})(e&&e.__esModule?n:Ig(n,"default",{value:e,enumerable:!0}),e)))(_g()),Ag=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},Tg=class extends Ag{},Pg=class extends Ag{},Dg=class extends Ag{},kg=class extends Ag{},Mg=class extends Ag{},Fg=class extends Ag{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Bg=class extends Ag{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},jg="qlik-sdk-typescript/0.25.0 ()",zg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},Gg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function Vg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var $g=WebSocket;function Zg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const Ug=new sg("Only supported for AuthType.WebIntegration");class Wg{constructor(e){if(!e.host)throw new sg("Empty host in config");let t,n,r;try{const r=dg(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new sg("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new sg("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==ug.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===ug.OAuth2&&(this.config.scopes=["user_default",...(this.config?.scopes??[]).filter((e=>"user_default"!==e))]),(e=>{const t=["host","authType"];for(const n of t)if(!(n in e))throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new sg(cg.EMPTY_HOST);if(!(e.authType in ug))throw new sg(`${cg.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[ug.WebIntegration]:["webIntegrationId"],[ug.APIKey]:["apiKey"],[ug.JWTAuth]:["fetchToken","webIntegrationId"],[ug.OAuth2]:["clientId"],[ug.None]:[]},r=new Set(["webIntegrationId","apiKey","clientId","clientSecret","redirectUri"]);for(const t of n[e.authType])if(!(t in e)||r.has(t)&&!e[t])throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[ug.APIKey]:["isSecure"],[ug.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[ug.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[ug.JWTAuth]:["csrfToken","isSecure"]},a=new Set([...t,...n[e.authType],...o[e.authType]??[]]);for(const t of Object.keys(e))if(!a.has(t))throw new sg(`${cg.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===ug.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Cg},response:{handlers:[],use:Cg}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=bg(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=bg(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.25.0 ()",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new qg({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const f={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new yg({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new mg({error:"Failed to authenticate host using api-key",...f}):new mg({error:"Unauthenticated",...f});if(404===u.status)throw new vg({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new gg({error:p?p[0]?.title:f?.statusText||"Unknown Error",...f})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new gg({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:Zg},response:{handlers:[],use:Zg}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Vg},response:{handlers:[],use:Vg}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=zg(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=zg(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":jg,...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Pg({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const f={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new kg({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Tg({error:"Failed to authenticate host using api-key",...f}):new Tg({error:"Unauthenticated",...f});if(404===u.status)throw new Mg({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Dg({error:p?p[0]?.title:f?.statusText||"Unknown Error",...f})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new Dg({error:"Missing fetch function"})}}(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new Bg(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new Mg({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=Ng.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new Fg(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||Gg,a=zg(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if("APIKey"===n.authType||"OAuth2"===n.authType&&!o)return i;if(["WebIntegration","JWTAuth"].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if("OAuth2"===n.authType&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new Dg(`Not implemented: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config);let n;return n="APIKey"===this.config.authType||"OAuth2"===this.config.authType&&!Gg?e=>new $g(e,{headers:{"User-Agent":jg,Authorization:`Bearer ${this.config.apiKey}`}}):e=>new $g(e),{url:t,createSocket:n}}}(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||pg,a=dg(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===ug.APIKey||n.authType===ug.OAuth2&&!o)return i;if([ug.WebIntegration,ug.JWTAuth].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if(n.authType===ug.OAuth2&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new sg(`${cg.NOT_IMPLEMENTED}: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config,t),this.config.autoRedirect&&this.isAuthenticated().then((e=>{e||this.authenticate()}))}authenticate(){if(this.config.authType!==ug.WebIntegration)throw Ug;const e=dg(`${this.config.host}/login`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),e.searchParams.append("qlik-web-integration-id",this.config.webIntegrationId),window.location.assign(e.href)}async isAuthenticated(){return this.rest("/users/me").then((e=>200===e.status)).catch((()=>!1))}async isAuthorized(){return this.isAuthenticated()}deauthenticate(){if(this.config.authType!==ug.WebIntegration)throw Ug;const e=dg(`${this.config.host}/logout`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),window.location.assign(e.href)}async getSessionCookie(){const e=await this.config.fetchToken(),t=await this.rest.fetch(dg(`${this.config.host}/login/jwt-session`,this.config?.isSecure).toString(),{method:"POST",credentials:"include",mode:"cors",headers:{"content-type":"application/json",Authorization:`Bearer ${e}`,"qlik-web-integration-id":this.config.webIntegrationId}});if(200!==t.status)throw new ig(lg.UNAUTHENTICATED);return t}async authorize(e){const t=e?Object.fromEntries(new URL(e).searchParams.entries()):{},n=t?.code,r=t?.state,o=t?.error;if(o)throw new sg({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(pg&&(this.state=localStorage.getItem(`${this.config.clientId}_state`)??"",this.verifier=localStorage.getItem(`${this.config.clientId}_verifier`)??"",localStorage.removeItem(`${this.config.clientId}_state`),localStorage.removeItem(`${this.config.clientId}_verifier`)),this.state&&r!==this.state)throw new Error("The received state parameter does not match the original state value");const a=JSON.stringify({grant_type:n?"authorization_code":"client_credentials",scope:this.config.scopes.join(" "),...n?{code:n}:{},...this.config.redirectUri?{redirect_uri:this.config.redirectUri}:{},...this.verifier?{code_verifier:this.verifier}:{},client_id:this.config.clientId}),i=await this.rest("/oauth/token",{method:"POST",body:a}),l=await i.json();return this.config.apiKey=l.access_token,this.config.refreshToken=l?.refresh_token,l}async deauthorize(){await this.rest("/oauth/revoke",{method:"POST",body:JSON.stringify({token:this.config.apiKey,token_type_hint:"access_token"})}),this.config.apiKey=""}async refreshToken(){if(this.config.authType!==ug.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new sg("Method only available for AuthType OAuth2, that have offline_access scope");const e=await this.rest("/oauth/token",{method:"POST",body:JSON.stringify({grant_type:"refresh_token",refresh_token:this.config.refreshToken})}).then((e=>e.json()));return this.config.apiKey=e.access_token,this.config.refreshToken=e.refresh_token,e}async generateAuthorizationUrl(e){const{url:t,verifier:n,state:r}=await(async(e,t)=>{const{verifier:n,challenge:r}=await(async()=>{const e=fg(43);return{verifier:e,challenge:await(async e=>{const t=window.crypto,n=(new TextEncoder).encode(e),r=await t.subtle.digest("SHA-256",n),o=Array.from(new Uint8Array(r));return btoa(o.map((e=>String.fromCharCode(e))).join("")).replaceAll(/\+/g,"-").replaceAll(/\//g,"_").replace(/=+$/,"")})(e)}})(),o={response_type:"code",client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scopes.join(" "),state:t||fg(7),code_challenge:r,code_challenge_method:"S256"},a=Object.keys(o);a.sort();const i=a.map((e=>`${e}=${o[e]}`)).join("&");return{url:dg(`${e.host.replace(/^https?:/,"")}/oauth/authorize?${i}`,e?.isSecure).href,verifier:n,state:o.state}})(this.config,e);return this.verifier=n,this.state=r,pg&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const Hg=()=>{const e={};return window.location.search.substring(1).split("&").forEach((t=>{const n=t.indexOf("="),r=t.substr(0,n);let o=decodeURIComponent(t.substring(n+1));"cols"===r&&(o=o.split(",")),e[r]=o})),e},Kg=(e,t=/(wss?):\/\/([^/:?&]+)(?::(\d+))?/,n=/\/app\/([^?&#:]+)/)=>{const r=t.exec(e);if(!r)return{engineUrl:e,invalid:!0};let o;const a=e.trim();let i,l=a;const s=n.exec(a);return s&&([,o]=s,l=a.substring(0,s.index),i=a),{enigma:{secure:"wss"===r[1],host:r[2],port:r[3]||void 0,appId:o},engineUrl:l,appUrl:i}},Xg=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=Hg();if(n.engine_url?t={...t,...Kg(n.engine_url)}:n.app&&(t={...t,enigma:{...t.enigma,appId:n.app}}),n["qlik-web-integration-id"]&&(t.webIntegrationId=n["qlik-web-integration-id"]),n["qlik-client-id"]&&(t.clientId=n["qlik-client-id"]),t.invalid)return t;const r=`${t.enigma.secure?"https":"http"}://${t.enigma.host}`;return{...t,rootPath:r}})),Yg=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await Xg();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new Wg({webIntegrationId:e,autoRedirect:!0,authType:ug.WebIntegration,host:t});return await n.isAuthenticated()||await n.authenticate(),n})({webIntegrationId:n,host:o});a=await t.generateWebsocketUrl(e)}else if(t){const{webSocketUrl:t}=await(await fetch(`/getSocketUrl/${e}`)).json();a=t}else a=og().buildUrl(r);return(await tg().create({schema:ng,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},Qg=new Map,Jg=[],ey=Jg.map,ty=Jg.some,ny=Jg.hasOwnProperty,ry=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,oy=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,ay=/(?:\.[^/]*|\/)$/;class iy extends Error{constructor(e){super(e)}}function ly(e){const t=ry.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function sy(e){const t=new Map,n=o(null);function r(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise(((t,n)=>{const r=document.createElement("script");r.onload=()=>{try{t(Jg.pop()(o(e)))}catch(e){n(new iy("invalid module"))}r.remove()},r.onerror=()=>{n(new iy("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=fy,document.head.appendChild(r)}))),n}function o(t){return n=>Promise.resolve(e(n,t)).then(r)}function a(e){return arguments.length>1?Promise.all(ey.call(arguments,n)).then(cy):n(e)}return a.alias=function(t){return sy(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function cy(e){const t={};for(const n of e)for(const e in n)ny.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:uy(n,e)}):t[e]=n[e]);return t}function uy(e,t){return()=>e[t]}function dy(e){return"exports"==(e+="")||"module"===e}function fy(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Jg.push(ty.call(t,dy)?e=>{const r={},o={exports:r};return Promise.all(ey.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(ey.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}iy.prototype.name=iy.name,sy(function(e="https://cdn.jsdelivr.net/npm/",t=["unpkg","jsdelivr","browser","main"]){if(!/\/$/.test(e))throw new Error("origin lacks trailing slash");function n(t){const n=`${e}${t.name}${t.version?`@${t.version}`:""}/package.json`;let r=Qg.get(n);return r||Qg.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new iy("unable to load package.json");return e.redirected&&!Qg.has(e.url)&&Qg.set(e.url,r),e.json()}))),r}return async function(r,o){if(r.startsWith(e)&&(r=r.substring(e.length)),/^(\w+:)|\/\//i.test(r))return r;if(/^[.]{0,2}\//i.test(r))return new URL(r,null==o?location:o).href;if(!r.length||/^[\s._]/.test(r)||/\s$/.test(r))throw new iy("illegal name");const a=ly(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(ly(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!ay.test(a.path)&&(a.path+=".js"),a.path&&a.version&&oy.test(a.version))return`${e}${a.name}@${a.version}/${a.path}`;const i=await n(a);return`${e}${i.name}@${i.version}/${a.path||function(e){for(const n of t){let t=e[n];if("string"==typeof t)return t.startsWith("./")&&(t=t.slice(2)),ay.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),fy.amd={};const py=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return sy((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},hy={},my=e=>{hy[e]&&hy[e].forEach((e=>e()))};function qy(e){const t=()=>{py(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,my(e.supernova.name)}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>py(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(hy[e]||(hy[e]=[]),hy[e].push(t),window[e]&&t(),()=>{const n=hy[e].indexOf(t);hy[e].splice(n,1)});const gy=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const yy=async e=>{const t=document.querySelector("#chart-container"),n=await Xg(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=G()(!0,{},(({themes:e=[],supernova:t={},flags:n})=>{const r={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n}};return t.name&&(r.type=t.name),(t.name||t.url)&&(r.load=async()=>py(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[gy({type:r.type})],function(e){if(!e.type)throw new Error('No visualization type. Specify it either in fixture in the property "type" or as "--type" to Nebula serve.');if(!e.load)throw new Error('Unable to load the visualization. Specify it in option "--entry" to Nebula serve.')}(r),r}({fixture:r,params:e,serverInfo:n}),u=await Qq.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=n&&n.types||[],p=Fq(u,{types:[{name:o,load:a},...f.map((e=>({name:e.name,load:async()=>py(e.name,e.url)})))],...l}),h=await p.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{h.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function vy(){const e=await Xg();await qy(e),e.enigma.appId||(location.href=location.origin);const t=Hg(),n=await Yg(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>Fq.createConfiguration({themes:n?n.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,context:{theme:r,language:o}})(e,{load:e=>Promise.resolve(window[e.name]),types:[{name:t}]}))({app:n,...e,theme:t.theme,language:t.language}),o=document.querySelector("#chart-container");let a,i;if(t["render-config"]){const n=await(await fetch(`/render-config/${t["render-config"]}`)).json();a={...n,...t.object?{id:t.object}:n.id?{id:n.id}:{},type:n.type?n.type:e.supernova.name,fields:t.cols?t.cols:n.fields,element:o}}else a=t.object?{id:t.object,element:o}:{type:e.supernova.name,fields:t.cols||[],element:o};window.onHotChange(e.supernova.name,(async()=>{i&&(i.close(),r.__DO_NOT_USE__.types.clearFromCache(e.supernova.name),r.__DO_NOT_USE__.types.register(e.supernova)),i=await(async()=>{await r.render(a)})()}))}window.addEventListener("load",(function(){const e=Hg();e.fixture?yy(e):e.snapshot?async function(){const e=await Xg(),{themes:t,supernova:n}=e;await qy(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=Fq.createConfiguration({themes:t?t.map((e=>({key:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,types:[{load:e=>Promise.resolve(window[e.name]),name:n.name}],context:{constraints:{passive:!0,active:!0}}});window.onHotChange(n.name,(async()=>{const e=Hg();!async function({embed:e,element:t,snapshot:n}){let r={};const o=e=>{t.innerHTML=`<p>${e.message}</p>`,t.setAttribute("data-njs-error",e.message)};try{r="string"==typeof n?await e.config.snapshot.get(n):n}catch(e){throw o(e),e}const{meta:{theme:a,language:i,appLayout:l},layout:s}=r,c=e=>({id:+new Date+"-object",getLayout:async()=>e,on(){},once(){}}),u={id:+new Date+"-app",createSessionObject:async e=>c(e),getObject:async e=>e===s.qInfo.qId?c(s):Promise.reject(new Error(`Could not find an object with id: ${e}`)),getAppLayout:async()=>l||{}},d=await e(u,{context:{theme:a,language:i}});try{await d.render(s.qInfo&&s.qInfo.qId?{id:s.qInfo.qId,element:t}:{type:s.visualization,element:t,properties:s})}catch(e){throw o(e||{message:"Failed to render visualization."}),e}}({embed:o,element:r,snapshot:e.snapshot})}))}():vy()}))})()})();
|
|
102
|
+
`),Eh))),Rh=t.forwardRef((function(e,t){const n=(0,dt.Z)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=(0,ue.Z)(n,mh),f=(0,ce.Z)({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),p=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,a={root:["root",n,`color${(0,Yt.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,Yt.Z)(n)}`,o&&"circleDisableShrink"]};return(0,ct.Z)(a,hh,t)})(f),h={},m={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);h.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,qe.jsx)(Sh,(0,ce.Z)({className:(0,nt.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},m,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,qe.jsx)(Oh,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,qe.jsx)(Ih,{className:p.circle,style:h,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),xh=Rh;function wh(){return wh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wh.apply(this,arguments)}const Lh="Progress",_h={root:`${Lh}-root`,front:`${Lh}-front`,back:`${Lh}-back`},Nh=(0,ut.ZP)("div")((({theme:e})=>({[`&.${_h.root}`]:{position:"relative",display:"inline-block"},[`& .${_h.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${_h.back}`]:{color:e.palette.divider}}))),Ah={small:16,medium:32,large:64,xlarge:128};function Th({size:e="medium",...n}){const r=Ah[e];return t.createElement(Nh,{className:_h.root},t.createElement(xh,wh({variant:"determinate",value:100,className:_h.back,size:r,thickness:3},n)),t.createElement(xh,wh({variant:"indeterminate",disableShrink:!0,className:_h.front,size:r,thickness:3},n)))}function Ph(){return Ph=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ph.apply(this,arguments)}const Dh={stripes:"LongRunningQuery-stripes"},kh=(0,ut.ZP)(Et)((()=>({[`& .${Dh.stripes}`]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function Mh({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(kh,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Et,{item:!0},t.createElement(Th,null)),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Et,Ph({item:!0},r),t.createElement(Df,{variant:"contained",onClick:e},n.get("Cancel"))))}function Fh({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Et,{item:!0},t.createElement(uh,{style:{fontSize:"38px"}})),t.createElement(Et,{item:!0},t.createElement(on,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Et,{item:!0},t.createElement(Df,Ph({variant:"contained",onClick:e},r),n.get("Retry"))))}function Bh({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(Ve);return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Dh.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Mh,{cancel:r.cancel,translator:o,className:Dh.cancel}),n&&t.createElement(Fh,{retry:r.retry,translator:o,className:Dh.retry}))}function jh(){return t.createElement(Et,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(Th,{size:"large"}))}const zh="Header",Gh={containerStyle:`${zh}-containerStyle`,containerTitleStyle:`${zh}-containerTitleStyle`},Vh=(0,ut.ZP)(Et)((({theme:e})=>({[`&.${Gh.containerStyle}`]:{flexGrow:0},[`&.${Gh.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),$h=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a,titleStyles:i={}}){const l=e.showTitles&&!!e.title,s=e.showTitles&&!!e.subtitle,c=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[u,d]=(0,t.useState)([]),[f,p]=Zt(),[h,m]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!p)return;const{width:e}=p;m(e<221)}),[p]);const q=l||s,g=[Gh.containerStyle,...q?[Gh.containerTitleStyle]:[]],y=(o||c)&&(h||!q),v=q&&!y&&!h,b=t.createElement(Eu,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:y,anchorEl:r},focusHandler:a});return t.createElement(Vh,{ref:f,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},t.createElement(Et,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Et,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(on,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(on,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Et,{item:!0},b))},Zh="Footer-itemStyle",Uh=(0,ut.ZP)(Et)((({theme:e})=>({[`& .${Zh}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),Wh=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(Uh,{container:!0},t.createElement(Et,{item:!0,className:Zh},t.createElement(on,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class Hh{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const Kh=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,interactions:d,keyboardNavigation:f}=(0,t.useContext)(Ve),[p]=(0,t.useState)((()=>new Hh)),[h,m]=(0,t.useState)(!1),[q,g]=(0,t.useState)(0),[y,v,b]=Zt(),[C,E]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&E(e)}),[]);return(0,t.useEffect)((()=>{if(C)return l.created({options:n}),l.mounted(C),m(!0),()=>{p.stop(),l.willUnmount()}}),[C,l]),(0,t.useEffect)((()=>{h&&C&&v&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),u.edit||t.push("edit"),i.app&&i.app.session&&t.push("fetch"),Promise.resolve(l.render({layout:o,options:n,plugins:r,embed:i.public.nebbie,context:{constraints:u,interactions:d,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===q&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),g(q+1))}))})))}),[v,n,r,C,b,o,a,s,c,u,d,h,f]),t.createElement("div",{ref:y,"data-render-count":q,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:S,style:{position:"absolute",width:"100%",height:"100%"}}))},Xh=(e,t)=>{switch(t.type){case"LOADING":return{...e,loading:!0};case"LOADED":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization};case"RENDER":return{...e,loaded:!0,loading:!1,longRunningQuery:!1,error:null};case"LONG_RUNNING_QUERY":return{...e,longRunningQuery:!0};case"ERROR":return{...e,loading:!1,longRunningQuery:!1,error:t.error};default:throw new Error(`Unhandled type: ${t.type}`)}};function Yh({delay:e=750}){const[n,r]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{const t=setTimeout((()=>r(!0)),e);return()=>clearTimeout(t)}),[]),n?t.createElement(jh,null):null}const Qh=e=>!e.qError||7005===e.qError.qErrorCode,Jh=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c=`${l?r:i?s||o:a&&t[e].qFallbackTitle||""}`,u=n(e);return{description:u?`${u}${c.length?":":""}`:null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),em=e=>e&&(Array.isArray(e)?e:[e])||[],tm=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:Jh(o,em(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:Jh(a,em(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},nm=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s},c)=>{const{app:u,types:d}=e,{nebbie:f}=e.public,{theme:p,translator:h,language:m,keyboardNavigation:q,disableCellPadding:g=!1}=(0,t.useContext)(Ve),y=se(),[v,b,C]=Zt(),[E,S]=(0,t.useReducer)(Xh,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,R]=(0,t.useState)(n),[x,{validating:w,canCancel:L,canRetry:_},N]=Vt(I),[A]=$t(u),[T,P,D]=Zt(),[k,M]=(0,t.useState)(r),[F,B]=(0,t.useState)(o),j=`njs-cell-${l}`,[z]=gd(u,I,[`#${j}`,".njs-action-toolbar-popover"]),[G,V]=(0,t.useState)(!1),$=(0,t.useRef)({enter:null,leave:null}),{titleStyles:Z,bgColor:U,bgImage:W,border:H,borderRadius:K,boxShadow:X}=((e,n,r,o)=>(0,t.useMemo)((()=>{if(e&&n){const t=e.components?e.components.find((e=>"general"===e.key)):null,o={main:Zd(t,"main",n,e.visualization),footer:Zd(t,"footer",n,e.visualization),subTitle:Zd(t,"subTitle",n,e.visualization)},a=Vd(t,n,e.visualization),i=Gd(t,r),l=function(e,t,n){const r=Bd(e?.borderColor,"","borderColor",t,n),o=e?.borderWidth||Md("","borderWidth",t,n);return o&&r?`${o} solid ${r}`:void 0}(t,n,e.visualization),s=function(e,t,n){return e?.borderRadius||Md("","borderRadius",t,n)}(t,n,e.visualization);return{titleStyles:o,bgColor:a,bgImage:i,border:l,borderRadius:s,boxShadow:$d(t,n,e.visualization)}}return{}}),[e,n,r,o]))(x,e.public.theme,e.app,p),Y=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{hd(Y.current)}),[]),Y.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&D&&D.focus()},Y.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()},(0,t.useEffect)((()=>{if(a)return void i();if(!A||!x)return;if(E.visualization===x.visualization&&E.sn)return void(async e=>{const[t,n]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),h=em(p.qDimensionInfo||p.qItems).filter(Qh),m=em(p.qMeasureInfo).filter(Qh);if(o+=d,a+=f,(h.length<d||m.length<f)&&(r=!0),p.qError){i=!0,l=7005===p.qError.qErrorCode;const t=l&&p.qCalcCondMsg?p.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,n,t),c=[],u=[];let d=null;for(let a=0;a<n.length;++a){const i=n[a];if(!l&&o){const n=d||await r.getProperties();d=n;const o=tm(e,t,n,i);c.push(...o.reqDimErrors),u.push(...o.reqMeasErrors)}}const f=c.filter((e=>!(e.missing||e.error))).length,p=e.get("Visualization.Incomplete.Dimensions",[f,a]),h=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Measures",[h,i]),q=[{title:p,descriptions:[...c]},{title:m,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(h,x,e.generator.qae.data,I);S(t?{type:"ERROR",error:n}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:E.sn,layout:x,model:I})})(E.sn);const e=d.getSupportedVersion(x.visualization,x.version);return(async(e,t)=>{S({type:"LOADING"}),await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c,onMount:u})=>{try{const d=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r}),f=d.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c});f&&(e({type:"LOADED",sn:f,visualization:n}),u())}catch(t){e(r?{type:"ERROR",error:{title:t.message}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}}),u()}})({dispatch:S,types:d,visualization:e,version:t,model:I,app:u,selections:z,nebbie:f,focusHandler:Y.current,emitter:s,onMount:i})})(x.visualization,e),()=>{}}),[d,E.sn,I,z,x,A,m]),(0,t.useEffect)((()=>{if(!w)return;const e=setTimeout((()=>S({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[w]),(0,t.useImperativeHandle)(c,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:M,setSnPlugins:B,setModel:R,getImperativeHandle:()=>E.sn?.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{},async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(x));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:h.language(),theme:y.name,appLayout:A,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[E.sn,P,b,x,y.name,A]);let Q=null;return E.loading&&!E.longRunningQuery?Q=t.createElement(Yh,null):E.error?Q=t.createElement(ph,E.error):E.loaded&&(Q=t.createElement(Kh,{key:x.visualization,sn:E.sn,halo:e,snOptions:k,snPlugins:F,layout:x,appLayout:A})),t.createElement(po,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:U||"unset",backgroundImage:W&&W.url?`url(${W.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:W&&W.size,backgroundPosition:W&&W.pos,border:H,borderRadius:K,boxShadow:X,boxSizing:"border-box"},elevation:0,square:!0,className:"njs-cell",ref:v,id:j,onMouseEnter:()=>{$.current.leave&&clearTimeout($.current.leave),$.enter||($.current.enter=setTimeout((()=>{V(!0),$.current.enter=null}),250))},onMouseLeave:()=>{$.current.enter&&clearTimeout($.current.enter),$.current.leave||($.current.leave=setTimeout((()=>{V(!1),$.current.leave=null}),750))}},t.createElement(Et,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...g?{}:{padding:y.spacing(1)},...E.longRunningQuery?{opacity:"0.3"}:{}}},C&&x&&E.sn&&t.createElement($h,{layout:x,sn:E.sn,anchorEl:C,hovering:G,focusHandler:Y.current,titleStyles:Z}," "),t.createElement(Et,{tabIndex:q?0:-1,onKeyDown:q?t=>{["Enter"," ","Spacebar"].includes(t.key)&&e.root.toggleFocusOfCells(l)}:null,item:!0,xs:!0,style:{height:"100%"},ref:T},Q),C&&x&&E.sn&&t.createElement(Wh,{layout:x,titleStyles:Z})),E.longRunningQuery&&t.createElement(Bh,{canCancel:L,canRetry:_,api:N}))}));function rm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function om(e="/",t,n){const r=[];return Object.keys(t).forEach((o=>{const a=t[o];var i,l;"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?(i=a,l=n[o],(rm(i)&&rm(l)?JSON.stringify(i)===JSON.stringify(l):!Array.isArray(i)&&!Array.isArray(l)&&i===l)||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])})):r.push(...om(`${e}${o}/`,t[o],n[o]))})),r}function am(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error(`Invalid plugin format: The plugin "${e.info.name}" has no "fn" function`)}))}const im=e=>!(!e||e.qHasSoftPatches||e.qExtendsId||!((e.qMeta?.privileges||[]).indexOf("update")>-1)),lm=(e,t)=>e.__snInterceptor?e.__snInterceptor.setProperties.call(e,t):e.setProperties(t),sm=G().bind(null,!0),cm={},{isArray:um}=Array;function dm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function fm(e){return void 0===e}function pm(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function hm(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=fm(e[r||t])?a:e[t],e=e[r||t]})),e}function mm(e,t){let n=!0;if(dm(e)&&dm(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{mm(e[r],t[r])||(n=!1)})),n);if(um(e)&&um(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!mm(e[n],t[n]))return!1;return!0}return e===t}cm.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?sm({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;mm(a,i)||pm(t,o)||(fm(i)?r.push({op:"add",path:l,value:a}):dm(a)&&dm(i)?r=r.concat(cm.generate(i,a,l)):um(a)&&um(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&fm(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(mm(t,o))return r;if(!fm(t[0])&&fm(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(cm.generate(o[e],t[a],`${n}/${e}`));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${a}`}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:`${n}/${o}`,value:a}))})),Object.keys(e).forEach((o=>{fm(t[o])&&!pm(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},cm.apply=function(e,t){t.forEach((t=>{let n=hm(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(um(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(um(o)&&um(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(dm(o)&&dm(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!pm(i,e)&&delete i[e]})),sm(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=hm(e,t.from);um(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(um(n)?n.splice(+r,1):delete n[r]);var i}))},cm.clone=function(e){return sm({},e)},cm.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},cm.updateObject=function(e,t){Object.keys(e).length?cm.apply(e,cm.generate(e,t)):sm(e,t)};const qm=cm,gm=e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r),r);var r;return n};let ym,vm;function bm(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function Cm(e,{explicitResize:t=!1}={}){e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function Em(e){Om(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function Sm(e){if(e.__hooks.obsolete)return Promise.resolve();vm=-1,ym=e;let t=-1;ym.__hooks.initiated&&(t=ym.__hooks.list.length);try{ym.fn.call(null)}catch(e){console.error(e)}ym.__hooks.initiated=!0,t>-1&&t!==ym.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=ym.__hooks;return wm(ym),vm=void 0,ym=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Om(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Om(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}(n),n.chain.promise}function Om(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function Im(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function Rm(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function xm(e){return e.__hooks.imperativeHandle}function wm(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Lm(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,wm(e))}function _m(e){if(void 0===ym)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=ym.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function Nm(e){return _m(++vm),ym.context[e]}function Am(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Tm(e){return{__hooked:!0,fn:e,initiate:Cm,run:Sm,teardown:Em,runSnaps:Im,runMenu:Rm,focus:cq,blur:uq,observeActions:Lm,getImperativeHandle:xm,updateRectOnNextRun:Am}}function Pm(e){const t=_m(++vm);if(!t.value){t.component=ym;const n=e=>{if(t.component.__hooks.obsolete)throw new Error("Calling setState on an unmounted component is a no-op and indicates a memory leak in your component.");const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,Sm(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Dm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=_m(++vm);bm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===ym.__hooks.pendingEffects.indexOf(n)&&ym.__hooks.pendingEffects.push(n))}function km(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=_m(++vm);bm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],ym.__hooks.pendingLayoutEffects.push(n))}function Mm(e,t){t||console.warn("useMemo called without dependencies.");const n=_m(++vm);return bm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function Fm(e,t){const[n,r]=Pm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=_m(++vm);return o.component||(o.component=ym),km((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]}function Bm(){return Nm("element")}function jm(){const e=Bm(),t=ym.__hooks.resizer,[n,r]=Pm((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),km((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n}function zm(){return Nm("layout")}function Gm(){const e=Nm("layout"),[t]=Pm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function Vm(){return Nm("appLayout")}function $m(){const e=Nm("model");return e&&e.session?e:void 0}function Zm(){const e=Nm("app");return e&&e.session?e:void 0}function Um(){const e=Nm("global");return e&&e.session?e:void 0}function Wm(){return Nm("selections")}function Hm(){return Nm("theme")}function Km(){return Nm("nebbie")}function Xm(){return Nm("translator")}function Ym(){return Nm("deviceType")}function Qm(){return Nm("plugins")}function Jm(e,t){const[n]=Pm({action(){n._config.action.call(null)}});return n.component||(n.component=ym,ym.__hooks.actions.list.push(n)),Mm((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action}function eq(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),Nm("constraints")}function tq(){return Nm("interactions")}function nq(){return Nm("options")}function rq(e,t){const n=_m(++vm);if(!n.imperative){if(ym.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(bm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],ym.__hooks.imperativeHandle=r}}function oq(e){const t=_m(++vm);t.value||(t.value=1,ym.__hooks.snaps.push(t)),t.fn=e}function aq(e){const t=_m(++vm);t.value||(t.value=1,ym.__hooks.menus.push(t)),t.fn=e}function iq(){_m(++vm);const e=ym.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function lq(){return Nm("emitter")}function sq(){const e=Nm("keyboardNavigation"),t=Nm("focusHandler");if(!ym.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(uq(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(ym);ym.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),cq(this))}.bind(ym);ym.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(ym);ym.__hooks.accessibility.focusSelectionFunction=r}const n=ym.__hooks.accessibility.focusFunction,r=ym.__hooks.accessibility.exitFunction,o=ym.__hooks.accessibility.focusSelectionFunction,[a,i]=Pm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return ym.__hooks.accessibility.setter=i,ym.__hooks.accessibility.enabled=e,Dm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function cq(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function uq(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const dq={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},fq=Object.keys(dq),pq=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function hq(e,t,n){"function"==typeof e.component&&(e.component=Tm(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==Sm&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return i.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):function(e,t){console.warn("Obsolete API - time to get hooked!");const n={...dq};pq(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==fq.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function({sn:e,component:t}){const n={},r=[],o=gm(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:r}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:a,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){return e.qae.properties.onChange.call({model:t.model},...n),t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=qm.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));qm.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=qm.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const mq=()=>{};function qq(e,t){return void 0===e?()=>t:()=>e}function gq(e){const t=e||{};return{min:"function"==typeof t.min?t.min:qq(t.min,0),max:"function"==typeof t.max?t.max:qq(t.max,1e3),added:t.added||t.add||mq,description:t.description||mq,moved:t.moved||t.move||mq,removed:t.removed||t.remove||mq,replaced:t.replaced||t.replace||mq,isDefined:()=>!!e}}const yq=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function vq(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>yq(e,n,{}),dimensions:gq(e.dimensions),measures:gq(e.measures)}}function bq(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(vq)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Cq(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:bq(n.qae),component:n.component||{},create:e=>hq(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}const Eq=(e,t,n)=>{if(!e)return Promise.resolve();let r=qm.generate(t,n);return G()(!0,t,n),r&&r.length?(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.__snInterceptor?e.__snInterceptor.applyPatches.call(e,r,!0):e.applyPatches(r,!0)):Promise.resolve()},Sq=()=>{};async function Oq(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a,l=Sq,s=null,c=null,u=null,d=null;const f=new Promise((e=>{u=e})),p=new Promise((e=>{d=e})),h=e=>()=>{e&&e(),d()};let m={},q=[];const g=new(i()),y={id:e.id,model:e,async destroy(){await o(),l(),l=Sq},async convertTo(t,r=!0,o=!1){if(r){const r=await e.getLayout();if(im(r)&&!o){const r=await rh({halo:n,model:e,cellRef:s,newType:t});return await lm(e,r.qProperty),r}const a=await e.getEffectiveProperties(),i=await rh({halo:n,model:e,cellRef:s,newType:t,properties:a}),l=i.qProperty;return await Eq(e,a,l),i}return await rh({halo:n,model:e,cellRef:s,newType:t})},async toggleDataView(t){let r;if(a||!1===t)a&&!0!==t&&(r=e,await n.app.destroySessionObject(a),a=void 0);else{let t=n.config.context.dataViewType;const o=await e.getEffectiveProperties();if(!n.types.getSupportedVersion(t)){if(!n.types.getSupportedVersion("table"))throw new Error("No data view type registered");t="table"}const i=await rh({halo:n,model:e,cellRef:s,newType:t,properties:o,viewDataMode:!0});r=await n.app.createSessionObject(i.qProperty),a=r.id}r&&s.current.setModel(r)},addListener(e,t){g.addListener(e,t)},removeListener(e,t){g.removeListener(e,t)},getImperativeHandle:async()=>(await p,s.current.getImperativeHandle()),__DO_NOT_USE__:{mount(o){if(c)throw new Error("Already mounted");if(!(o instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return c=o,[l,s]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s}){const{root:c}=e,u=t.createRef(),d=ep(),f=tt.createPortal(t.createElement(nm,{ref:u,halo:e,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l}),n,d),p=()=>{c.remove(f),r.removeListener("closed",p)};return r.on("closed",p),c.add(f),c.addCell(d,u),[p,u]}({halo:n,element:o,model:e,initialSnOptions:m,initialSnPlugins:q,initialError:r,onMount:u,emitter:g}),f},async applyProperties(t){const n=om("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;c?(async()=>{await f,s.current.setSnOptions({...m,...e,onInitialRender:h(t)})})():m={...m,...e,onInitialRender:h(t)}})(e)},plugins(e){(async e=>{am(e),c?(async()=>{await f,s.current.setSnPlugins(e)})():q=e})(e)},exportImage:()=>s.current.exportImage(),takeSnapshot:()=>s.current.takeSnapshot(),getModel:()=>e,convert:{async toType(t){const r=await e.getEffectiveProperties(),o=await rh({halo:n,model:e,cellRef:s,newType:t,properties:r}),a=o.qProperty;return await Eq(e,r,a),o},async revert(){await e.clearSoftPatches()}}}};return y}({model:e,halo:r,initialError:o,onDestroy:a});return n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),n.element&&await l.__DO_NOT_USE__.mount(n.element),l}async function Iq({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i){let l={};const s=[];try{const i=a.types.get({name:e,version:t});l=await i.initialProperties(r,o);const c=await i.supernova();n&&await Gp({sn:c,properties:l,fields:n,children:s},a),r&&c&&c.qae.properties.onChange&&c.qae.properties.onChange.call({},l)}catch(t){l=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(l);return s.length>0&&await e.setFullPropertyTree({qProperty:l,qChildren:s}),kt.set(e.id,e),e}return l}function Rq(e,t,n){return e.bounds?e.bounds:{y:e.row/n*100,x:e.col/t*100,width:e.colspan/t*100,height:e.rowspan/n*100}}const xq=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Vt(e),{theme:c}=(0,t.useContext)(Ve),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[h,m]=(0,t.useState)(void 0),[q,g]=(0,t.useState)("");(0,t.useEffect)((()=>{if(s){const e=JSON.stringify(s.cells);if(e===q)return;g(e);const r=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,{columns:r,rows:o}=s,a=await Promise.all(e.map((async e=>{let a;const i=new Promise((e=>{a=e})),l=u.find((t=>t.id===e.name));if(l)return l.bounds=Rq(e,r,o),delete l.mountedPromise,l;const s=await async function({id:e,options:t,plugins:n,element:r},o){const a=`${e}`;let i=_t.get(a);i||(i=o.app.getObject(e),_t.set(a,i));const l=await i;return kt.set(a,l),Oq(l,{options:t,plugins:n,element:r},o)}({id:e.name},n);return{model:s.model,id:e.name,bounds:Rq(e,r,o),cellRef:t.createRef(),currentId:ep(),mounted:a,mountedPromise:i}})));a.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(a)};r()}}),[s]);const y=(0,t.useMemo)((()=>u?u.map((e=>function(e,n,r,o,a,i){const{x:l,y:s,width:c,height:u}=e.bounds;return t.createElement("div",{style:{left:`${l}%`,top:`${s}%`,width:`${c}%`,height:`${u}%`,position:"absolute"}},t.createElement(nm,{ref:e.cellRef,halo:n,model:e.model,currentId:e.currentId,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}))}(e,n,r,o,a,e.mounted))):[]),[u]);(0,t.useEffect)((()=>{const e=s?.components?s.components.find((e=>"general"===e.key)):null;p(Vd(e,n.public.theme)),m(Gd(e,n.app))}),[s,n.public.theme,n.app,c]);const v=!s||Number.isNaN(s.height)?"100%":`${Number(s.height)}%`,b=u.map((e=>e.mountedPromise));return b.filter((e=>!!e)).length&&Promise.all(b).then((()=>{i()})),t.createElement("div",{className:"njs-sheet",style:{width:"100%",height:v,position:"relative",backgroundColor:f,backgroundImage:h&&h.url?`url(${h.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:h&&h.size,backgroundPosition:h&&h.pos}},y)},wq=()=>{};async function Lq({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=_t.get(i);l||(l=a.app.getObject(e),_t.set(i,l));const s=await l;return kt.set(i,s),"sheet"===s.genericType?async function(e,n,r,o,a=(async()=>{})){const i=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=wq,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const f={id:e.id,model:e,async destroy(){await o(),a(),a=wq},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");if(!(o instanceof HTMLElement))throw new Error("Provided element is not a proper HTMLElement");return l=o,[a,i]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}){const{root:s}=e,c=t.createRef(),u=tt.createPortal(t.createElement(xq,{ref:c,halo:e,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}({halo:n,element:o,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:r,onMount:s}),c},async applyProperties(t){const n=om("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{l?(async()=>{await c,i.current.setSnOptions({...u,...e})})():u={...u,...e}})(e)},plugins(e){(async e=>{am(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return f}({model:e,halo:r,initialError:void 0,onDestroy:a});return n.options&&i.__DO_NOT_USE__.options(n.options),n.plugins&&i.__DO_NOT_USE__.plugins(n.plugins),n.element&&await i.__DO_NOT_USE__.mount(n.element),i}(s,{options:n,plugins:r,element:o},a):Oq(s,{options:n,plugins:r,element:o},a)}function _q(e={}){return{isEnabled:t=>!0===e[t]}}var Nq=o(7311),Aq=o.n(Nq);const Tq={};function Pq(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error(`Supernova '${e}@${o}' already registered.`);n[o]=function(e,t,n={}){let r,o;const{meta:a}=n,i={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||Aq()(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!Tq[o]){const a=`${e}${t&&` v${t}`||""}`;if(r&&"function"!=typeof r)throw new Error(`load of visualization '${a}' is not a fuction, wrap load promise in function`);const i=(r||n.load)({name:e,version:t}),l=Promise.resolve(i);Tq[o]=l.then((e=>{if(!e)throw new Error(`load() of visualization '${a}' resolved to an invalid object`);return e})).catch((e=>{throw console.warn(e),new Error(`Failed to load visualization: '${a}'`)}))}return Tq[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Cq(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(G()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{var t;r||(t=Object.keys(n),r=[...t.filter((e=>"undefined"===e)),...t.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]);for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const Dq={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1,dataViewType:"sn-table"}),load:()=>{},types:[],themes:[],anything:{},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}},kq=(e={},t={})=>({...e,...t}),Mq=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),Fq=function e(o={}){const a=function(e){const t=n({initial:e});return Object.keys(r).forEach((e=>{t.translator.add(r[e])})),{translator:t.translator}}(o.context.language);function i(e,n){if(n)return i.createConfiguration(n)(e);let r={...o.context,translator:a.translator};const[l]=function({app:e,context:n}){let r;const o=new Promise((e=>{r=e})),a=t.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","4.9.0"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&Je(n),oe.createRoot(i).render(t.createElement(et,{ref:a,app:e,initialContext:n,renderCallback:r}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),a.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),a.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&Je(e),a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}({app:e,context:r}),s=function({themes:e=[],loadTheme:t,root:n}={}){const r=re();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),(l=5e3,s={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(s)),l)})))]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i);var l,s},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:_q(o.flags),deviceType:(f=o.context.deviceType,"auto"!==f?f:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"),anything:o.anything},theme:s.externalAPI,translator:a.translator,nebbie:null},u={app:e,root:l,config:o,public:c,context:r,types:null},d=function({halo:e,parent:t}){const n={},r=t||{get:()=>{}};return{register:(t,r)=>{n[t.name]||(n[t.name]=Pq(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(Tq).forEach((t=>{t.split("__")[0]===e&&(Tq[t]=void 0)}))}(e)}}}({halo:u});var f;o.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(o.context.theme),h=null,m=null;const q={render:async e=>(await p,e.id?Lq(e,u):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c={};const u=[];let d;try{const o=s.types.get({name:e,version:t});c=await o.initialProperties(r,l);const a=await o.supernova();n&&await Gp({sn:a,properties:c,fields:n,children:u},s),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},c)}catch(t){d=t,c={qInfo:{qType:e},visualization:e}}const f=await s.app.createSessionObject(c);u.length>0&&await f.setFullPropertyTree({qProperty:c,qChildren:u}),kt.set(f.id,f);const p=(e=>{const t=Pt({type:"SET",value:e});return()=>{t(),kt.clear(e.id)}})(f);return Oq(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>Iq(e,u,!1),generateProperties:async e=>Iq(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==r[n]&&(t||(t={}),t[n]=e[n])})),t&&(r={...r,...t,translator:a.translator},t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(h||(h={mount(n){m?console.error("Already mounted"):(m=function({element:e,app:n}){return tt.createPortal(t.createElement(tp,{app:n}),e,ep())}({element:n,app:e}),l.add(m))},unmount(){m&&(l.remove(m),m=null)}}),h),field:async n=>{let r;const o="string"==typeof n?n:n.qLibraryId;if(n.qId)r=n.qId;else if(!o)throw new Error("Field identifier or object id must be provided");const a={fieldName:o,async mount(i,s={}){if(!i)throw new Error(`Element for ${o||r} not provided`);if(this._instance)throw new Error(`Field or object ${o||r} already mounted`);const c=()=>a.emit("selectionActivated"),u=()=>a.emit("selectionDeactivated");return new Promise((o=>{this._instance=function({element:e,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={},renderedCallback:l}){return tt.createPortal(t.createElement(Lp,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,ep())}({element:i,app:e,fieldIdentifier:n,qId:r,options:wp({onSelectionActivated:c,onSelectionDeactivated:u,...s}),stateName:s.stateName||"$",renderedCallback:o}),l.add(this._instance)}))},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return hd(a),a},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(n,r,o){q._popoverInstance&&(l.remove(q._popoverInstance),q._popoverInstance=null);const a=((e={})=>{const t={..._p};return G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Np,{element:n,key:ep(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,hd(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:kq(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Mq(e.types,t.types),themes:Mq(e.themes,t.themes),flags:kq(e.flags,t.flags),anything:kq(e.anything,t.anything)}))(o,t)),i.config=o,i}(Dq),Bq=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},jq=globalThis.crypto||{getRandomValues:()=>123456},zq=function(){return e=>{const t=G()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^jq.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=G()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),removeListener:()=>{},id:t.qInfo.qId,...t})}},Gq=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,Vq=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=Gq(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},$q=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function Zq(e){return!$q.includes(e)}function Uq(e){const t=Gq(e.getLayout);return t.qInfo&&t.qInfo.qId}function Wq(e,t){let n=Uq(e);const{delay:r}=t,{id:o,session:a,...i}=e;if(o&&n&&o!==n)throw new Error(`Generic object has multiple IDs, qInfo.qId: ${n}, id: ${o}`);return n=n||o||"object - "+ +Date.now(),{[n]:{id:n,session:Gq(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:Vq(n,{async:Zq(t),delay:r})})),{}),genericType:e.type}}}function Hq(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!Uq(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const Kq=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(Hq);const n=function(e,t){return e.reduce(((e,n)=>({...e,...Wq(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},Xq=function(){return()=>Promise.resolve({id:"app-layout"})},Yq={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Bq,r=new zq,o=new Kq(e,t),a=new Xq,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,destroySessionObject:async()=>{},getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},Qq=Yq,Jq={generator:Cq,hook:Tm,theme:re,locale:n};var eg=o(4972),tg=o.n(eg);const ng=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":""},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var rg=o(4492),og=o.n(rg);class ag extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}}class ig extends ag{}var lg=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(lg||{});class sg extends ag{}var cg=(e=>(e.EMPTY_HOST="Empty host in config",e.MISSING_REQUIRED_PROPERTY="Missing required property",e.UNSUPPORTED_AUTH_TYPE="Unsupported authType",e.UNSUPPORTED_PROPERTY="Unsupported property",e.NOT_IMPLEMENTED="Not implemented",e.MISSING_FETCH="Missing fetch function",e.NOT_FOUND="Requested resource not found or lacking access permissions",e))(cg||{}),ug=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(ug||{});const dg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},fg=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},pg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var hg=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},mg=class extends hg{},qg=class extends hg{},gg=class extends hg{},yg=class extends hg{},vg=class extends hg{},bg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function Cg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Eg,Sg,Og=Object.create,Ig=Object.defineProperty,Rg=Object.getOwnPropertyDescriptor,xg=Object.getOwnPropertyNames,wg=Object.getPrototypeOf,Lg=Object.prototype.hasOwnProperty,_g=(Eg={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},a(e)}function i(e,t,n){return(i=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,a=(n=i,r=l(),function(){var e,t=c(n);if(r){var a=c(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=a.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(a(Error));function d(e,t,n){return new u(t,e,n)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function g(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}var y=0,v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),y+=1,n.id=y,n.rpc.on("socket-error",n.onRpcError.bind(n)),n.rpc.on("closed",n.onRpcClosed.bind(n)),n.rpc.on("message",n.onRpcMessage.bind(n)),n.rpc.on("notification",n.onRpcNotification.bind(n)),n.rpc.on("traffic",n.onRpcTraffic.bind(n)),n.on("closed",(function(){return n.onSessionClosed()}))}var t,n,o;return t=e,n=[{key:"onRpcError",value:function(e){this.suspendResume.isSuspended||this.emit("socket-error",e)}},{key:"onRpcClosed",value:function(e){var t=this;if(!this.suspendResume.isSuspended&&1e3!==e.code&&4e3!==e.code)if(this.config.suspendOnClose){var n=e.code,r=e.reason;this.suspendResume.suspend().then((function(){return t.emit("suspended",{initiator:"network",code:n,reason:r})}))}else this.emit("closed",e)}},{key:"onRpcMessage",value:function(e){var t=this;this.suspendResume.isSuspended||(e.change&&e.change.forEach((function(e){return t.emitHandleChanged(e)})),e.close&&e.close.forEach((function(e){return t.emitHandleClosed(e)})))}},{key:"onRpcNotification",value:function(e){this.emit("notification:*",e.method,e.params),this.emit("notification:".concat(e.method),e.params)}},{key:"onRpcTraffic",value:function(e,t,n){this.emit("traffic:*",e,t),this.emit("traffic:".concat(e),t);var r=this.apis.getApi(n);r&&(r.emit("traffic:*",e,t),r.emit("traffic:".concat(e),t))}},{key:"onSessionClosed",value:function(){this.apis.getApis().forEach((function(e){e.api.emit("closed"),e.api.removeAllListeners()})),this.apis.clear()}},{key:"getObjectApi",value:function(e){var t=e.handle,n=e.id,r=e.type,o=e.genericType,a=this.apis.getApi(t);return a||(a=this.definition.generate(r)(this,t,n,o),this.apis.add(t,a),a)}},{key:"open",value:function(){var e=this;if(!this.globalPromise){var t={handle:-1,id:"Global",type:"Global",genericType:"Global"};this.globalPromise=this.rpc.open().then((function(){return e.getObjectApi(t)})).then((function(t){return e.emit("opened"),t}))}return this.globalPromise}},{key:"send",value:function(t){var n=this;if(this.suspendResume.isSuspended)return this.Promise.reject(d(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=h(h({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&q(t.prototype,n),o&&q(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===b(o)?o:String(o)),r)}var o}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw d(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===O(o)?o:String(o)),r)}var o}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=Object.prototype.hasOwnProperty;function R(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function x(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new E,this.types=new E}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw d(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=R(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw d(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw d(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=R(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===L(o)?o:String(o)),r)}var o}var N=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===A(o)?o:String(o)),r)}var o}var P=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(d(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(d(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new N(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=d(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&T(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===D(o)?o:String(o)),r)}var o}var M=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(d(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&k(t.prototype,n),r&&k(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function F(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function B(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=d(-2,"Object not found");return e.config.Promise.reject(r)}return n}var j=Object.prototype.hasOwnProperty,z=Object.prototype.toString,G=Object.defineProperty,V=Object.getOwnPropertyDescriptor,$=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===z.call(e)},Z=function(e){if(!e||"[object Object]"!==z.call(e))return!1;var t,n=j.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&j.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||j.call(e,t)},U=function(e,t){G&&"__proto__"===t.name?G(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},W=function(e,t){if("__proto__"===t){if(!j.call(e,t))return;if(V)return V(e,t).value}return e[t]};function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var X=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=W(l,n),l!==(o=W(t,n))&&(u&&o&&(Z(o)||(a=$(o)))?(a?(a=!1,i=r&&$(r)?r:[]):i=r&&Z(r)?r:{},U(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&U(l,{name:n,newValue:o}));return l}.bind(null,!0),Y={},Q=Array.isArray;function J(e){return null!=e&&!Array.isArray(e)&&"object"===K(e)}function ee(e){return void 0===e}function te(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ne(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=ee(e[n||t])?a:e[t],e=e[n||t]}})),e}function re(e,t){var n=!0;if(J(e)&&J(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){re(e[r],t[r])||(n=!1)})),n);if(Q(e)&&Q(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!re(e[r],t[r]))return!1;return!0}return e===t}function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Y.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?X({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);re(a,i)||te(t,o)||(ee(i)?r.push({op:"add",path:l,value:a}):J(a)&&J(i)?r=r.concat(Y.generate(i,a,l)):Q(a)&&Q(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&ee(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(re(t,o))return r;if(!ee(t[0])&&ee(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(Y.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){ee(t[o])&&!te(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Y.apply=function(e,t){t.forEach((function(t){var n,r,o=ne(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(Q(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(Q(i)&&Q(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,u=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return H(e)}(r=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else if(J(i)&&J(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!te(n,e)&&delete n[e]})),X(i,t.value);else{if(!o)throw d(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var f=ne(e,t.from);Q(o)?o.splice(+a,0,f.splice(+l,1)[0]):(o[a]=f[l],delete f[l])}else"remove"===t.op&&(Q(o)?o.splice(+a,1):delete o[a])}))},Y.clone=function(e){return X({},e)},Y.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},Y.updateObject=function(e,t){Object.keys(e).length?Y.apply(e,Y.generate(e,t)):X(e,t)};var ae={};function ie(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw d(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ae[e.id]){var t={};ae[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete ae[e.id]}))}}(e);var n=ae[e.id];return n[t]||(n[t]=new E),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==oe(r[0].value)?a=r[0].value:Y.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function le(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ie.sessions=ae;var se="qReturn";function ce(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[se].qGenericId=n.qSessionAppId||n[se].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[se],hasOwnProperty.call(n,se)?n[se]:-1!==t.outKey?n[t.outKey]:n}function ue(e,t,n){return n.result}function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fe(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===de(o)?o:String(o)),r)}var o}var me=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:F}].concat(fe(this.request||[])),this.response=[{onFulfilled:le},{onFulfilled:ie},{onFulfilled:ue},{onFulfilled:ce}].concat(fe(this.response||[]),[{onFulfilled:B}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==qe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===qe(o)?o:String(o)),r)}var o}function ye(){return ye="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=be(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ye.apply(this,arguments)}function ve(e,t){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(i,e);var t,n,r,o,a=(r=i,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=be(r);if(o){var n=be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return ye(be(i.prototype),"add",this).call(this,e.toString(),r),t.on("closed",(function(){return n.remove(e)})),r}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return ye(be(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(E);function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==Ee(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Ee(o)?o:String(o)),r)}var o}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Ce,l=new me({apis:i,Promise:n,request:r,response:o}),s=new P({createSocket:t,Promise:n,url:a}),c=new M({apis:i,Promise:n,rpc:s});return new v({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new w(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Se(t.prototype,null),n&&Se(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&o.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return Sg||(0,Eg[xg(Eg)[0]])((Sg={exports:{}}).exports,Sg),Sg.exports}),Ng=((e,t,n)=>(n=null!=e?Og(wg(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of xg(t))Lg.call(e,n)||undefined===n||Ig(e,n,{get:()=>t[n],enumerable:!(r=Rg(t,n))||r.enumerable});return e})(e&&e.__esModule?n:Ig(n,"default",{value:e,enumerable:!0}),e)))(_g()),Ag=class extends Error{constructor(e){switch(typeof e){case"string":super(e);break;case"object":super(e?.error),Object.assign(this,e);break;default:super("UnkownError")}this.name=this.constructor.name}},Tg=class extends Ag{},Pg=class extends Ag{},Dg=class extends Ag{},kg=class extends Ag{},Mg=class extends Ag{},Fg=class extends Ag{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Bg=class extends Ag{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},jg="qlik-sdk-typescript/0.25.0 ()",zg=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},Gg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function Vg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var $g=WebSocket;function Zg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const Ug=new sg("Only supported for AuthType.WebIntegration");class Wg{constructor(e){if(!e.host)throw new sg("Empty host in config");let t,n,r;try{const r=dg(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new sg("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new sg("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==ug.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===ug.OAuth2&&(this.config.scopes=["user_default",...(this.config?.scopes??[]).filter((e=>"user_default"!==e))]),(e=>{const t=["host","authType"];for(const n of t)if(!(n in e))throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new sg(cg.EMPTY_HOST);if(!(e.authType in ug))throw new sg(`${cg.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[ug.WebIntegration]:["webIntegrationId"],[ug.APIKey]:["apiKey"],[ug.JWTAuth]:["fetchToken","webIntegrationId"],[ug.OAuth2]:["clientId"],[ug.None]:[]},r=new Set(["webIntegrationId","apiKey","clientId","clientSecret","redirectUri"]);for(const t of n[e.authType])if(!(t in e)||r.has(t)&&!e[t])throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[ug.APIKey]:["isSecure"],[ug.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[ug.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[ug.JWTAuth]:["csrfToken","isSecure"]},a=new Set([...t,...n[e.authType],...o[e.authType]??[]]);for(const t of Object.keys(e))if(!a.has(t))throw new sg(`${cg.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===ug.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new sg(`${cg.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Cg},response:{handlers:[],use:Cg}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=bg(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=bg(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.25.0 ()",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new qg({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const f={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new yg({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new mg({error:"Failed to authenticate host using api-key",...f}):new mg({error:"Unauthenticated",...f});if(404===u.status)throw new vg({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new gg({error:p?p[0]?.title:f?.statusText||"Unknown Error",...f})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new gg({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:Zg},response:{handlers:[],use:Zg}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Vg},response:{handlers:[],use:Vg}},this.restClientInstance=async(t,n={})=>{let r,o=t.toString(),a=[t,n];for(const e of this.interceptors.request.handlers){const t=e;a=await t(a)}if(o.toLowerCase().startsWith("http://")||o.toLowerCase().startsWith("https://"))r=zg(o).pathname;else{[r]=a;const t=!["/api/v1","/login/jwt-session","/oauth/token","/oauth/authorize","/oauth/revoke"].some((e=>r.startsWith(e)));r=`${t?"/api/v1/":""}${r}`,o=zg(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":jg,...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Pg({error:`Connection Error: ${e.host}`,...t})}if(u.ok)return u;try{d=await u.json()}catch(e){}const f={statusText:u.statusText,status:u.status,response:u,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new kg({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Tg({error:"Failed to authenticate host using api-key",...f}):new Tg({error:"Unauthenticated",...f});if(404===u.status)throw new Mg({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Dg({error:p?p[0]?.title:f?.statusText||"Unknown Error",...f})},this.restClientInstance.interceptors=this.interceptors,this.restClientInstance.fetch=this.restClientInstance.fetch||window.fetch.bind(window),!this.restClientInstance.fetch)throw new Dg({error:"Missing fetch function"})}}(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new Bg(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new Mg({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=Ng.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new Fg(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||Gg,a=zg(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if("APIKey"===n.authType||"OAuth2"===n.authType&&!o)return i;if(["WebIntegration","JWTAuth"].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if("OAuth2"===n.authType&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new Dg(`Not implemented: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config);let n;return n="APIKey"===this.config.authType||"OAuth2"===this.config.authType&&!Gg?e=>new $g(e,{headers:{"User-Agent":jg,Authorization:`Bearer ${this.config.apiKey}`}}):e=>new $g(e),{url:t,createSocket:n}}}(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||pg,a=dg(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===ug.APIKey||n.authType===ug.OAuth2&&!o)return i;if([ug.WebIntegration,ug.JWTAuth].includes(n.authType)){let{csrfToken:e}=n;return e||(e=(await t("/csrf-token")).headers.get("qlik-csrf-token")),`${i}?qlik-csrf-token=${e}&qlik-web-integration-id=${n.webIntegrationId}`}if(n.authType===ug.OAuth2&&o)return`${i}?accessToken=${(await(await t("/oauth/token",{method:"POST",body:JSON.stringify({subject_token:n.apiKey,subject_token_type:"urn:ietf:params:oauth:token-type:access_token",grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",purpose:"websocket",redirect_uri:n.redirectUri,client_id:n.clientId})})).json()).access_token}`;throw new sg(`${cg.NOT_IMPLEMENTED}: function generateWebsocketUrl for AuthType: ${n.authType}`)})(e,this.rest,this.config,t),this.config.autoRedirect&&this.isAuthenticated().then((e=>{e||this.authenticate()}))}authenticate(){if(this.config.authType!==ug.WebIntegration)throw Ug;const e=dg(`${this.config.host}/login`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),e.searchParams.append("qlik-web-integration-id",this.config.webIntegrationId),window.location.assign(e.href)}async isAuthenticated(){return this.rest("/users/me").then((e=>200===e.status)).catch((()=>!1))}async isAuthorized(){return this.isAuthenticated()}deauthenticate(){if(this.config.authType!==ug.WebIntegration)throw Ug;const e=dg(`${this.config.host}/logout`,this.config.isSecure);e.searchParams.append("returnto",window.location.href),window.location.assign(e.href)}async getSessionCookie(){const e=await this.config.fetchToken(),t=await this.rest.fetch(dg(`${this.config.host}/login/jwt-session`,this.config?.isSecure).toString(),{method:"POST",credentials:"include",mode:"cors",headers:{"content-type":"application/json",Authorization:`Bearer ${e}`,"qlik-web-integration-id":this.config.webIntegrationId}});if(200!==t.status)throw new ig(lg.UNAUTHENTICATED);return t}async authorize(e){const t=e?Object.fromEntries(new URL(e).searchParams.entries()):{},n=t?.code,r=t?.state,o=t?.error;if(o)throw new sg({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(pg&&(this.state=localStorage.getItem(`${this.config.clientId}_state`)??"",this.verifier=localStorage.getItem(`${this.config.clientId}_verifier`)??"",localStorage.removeItem(`${this.config.clientId}_state`),localStorage.removeItem(`${this.config.clientId}_verifier`)),this.state&&r!==this.state)throw new Error("The received state parameter does not match the original state value");const a=JSON.stringify({grant_type:n?"authorization_code":"client_credentials",scope:this.config.scopes.join(" "),...n?{code:n}:{},...this.config.redirectUri?{redirect_uri:this.config.redirectUri}:{},...this.verifier?{code_verifier:this.verifier}:{},client_id:this.config.clientId}),i=await this.rest("/oauth/token",{method:"POST",body:a}),l=await i.json();return this.config.apiKey=l.access_token,this.config.refreshToken=l?.refresh_token,l}async deauthorize(){await this.rest("/oauth/revoke",{method:"POST",body:JSON.stringify({token:this.config.apiKey,token_type_hint:"access_token"})}),this.config.apiKey=""}async refreshToken(){if(this.config.authType!==ug.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new sg("Method only available for AuthType OAuth2, that have offline_access scope");const e=await this.rest("/oauth/token",{method:"POST",body:JSON.stringify({grant_type:"refresh_token",refresh_token:this.config.refreshToken})}).then((e=>e.json()));return this.config.apiKey=e.access_token,this.config.refreshToken=e.refresh_token,e}async generateAuthorizationUrl(e){const{url:t,verifier:n,state:r}=await(async(e,t)=>{const{verifier:n,challenge:r}=await(async()=>{const e=fg(43);return{verifier:e,challenge:await(async e=>{const t=window.crypto,n=(new TextEncoder).encode(e),r=await t.subtle.digest("SHA-256",n),o=Array.from(new Uint8Array(r));return btoa(o.map((e=>String.fromCharCode(e))).join("")).replaceAll(/\+/g,"-").replaceAll(/\//g,"_").replace(/=+$/,"")})(e)}})(),o={response_type:"code",client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scopes.join(" "),state:t||fg(7),code_challenge:r,code_challenge_method:"S256"},a=Object.keys(o);a.sort();const i=a.map((e=>`${e}=${o[e]}`)).join("&");return{url:dg(`${e.host.replace(/^https?:/,"")}/oauth/authorize?${i}`,e?.isSecure).href,verifier:n,state:o.state}})(this.config,e);return this.verifier=n,this.state=r,pg&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const Hg=()=>{const e={};return window.location.search.substring(1).split("&").forEach((t=>{const n=t.indexOf("="),r=t.substr(0,n);let o=decodeURIComponent(t.substring(n+1));"cols"===r&&(o=o.split(",")),e[r]=o})),e},Kg=(e,t=/(wss?):\/\/([^/:?&]+)(?::(\d+))?/,n=/\/app\/([^?&#:]+)/)=>{const r=t.exec(e);if(!r)return{engineUrl:e,invalid:!0};let o;const a=e.trim();let i,l=a;const s=n.exec(a);return s&&([,o]=s,l=a.substring(0,s.index),i=a),{enigma:{secure:"wss"===r[1],host:r[2],port:r[3]||void 0,appId:o},engineUrl:l,appUrl:i}},Xg=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=Hg();if(n.engine_url?t={...t,...Kg(n.engine_url)}:n.app&&(t={...t,enigma:{...t.enigma,appId:n.app}}),n["qlik-web-integration-id"]&&(t.webIntegrationId=n["qlik-web-integration-id"]),n["qlik-client-id"]&&(t.clientId=n["qlik-client-id"]),t.invalid)return t;const r=`${t.enigma.secure?"https":"http"}://${t.enigma.host}`;return{...t,rootPath:r}})),Yg=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await Xg();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new Wg({webIntegrationId:e,autoRedirect:!0,authType:ug.WebIntegration,host:t});return await n.isAuthenticated()||await n.authenticate(),n})({webIntegrationId:n,host:o});a=await t.generateWebsocketUrl(e)}else if(t){const{webSocketUrl:t}=await(await fetch(`/getSocketUrl/${e}`)).json();a=t}else a=og().buildUrl(r);return(await tg().create({schema:ng,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},Qg=new Map,Jg=[],ey=Jg.map,ty=Jg.some,ny=Jg.hasOwnProperty,ry=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,oy=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,ay=/(?:\.[^/]*|\/)$/;class iy extends Error{constructor(e){super(e)}}function ly(e){const t=ry.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function sy(e){const t=new Map,n=o(null);function r(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise(((t,n)=>{const r=document.createElement("script");r.onload=()=>{try{t(Jg.pop()(o(e)))}catch(e){n(new iy("invalid module"))}r.remove()},r.onerror=()=>{n(new iy("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=fy,document.head.appendChild(r)}))),n}function o(t){return n=>Promise.resolve(e(n,t)).then(r)}function a(e){return arguments.length>1?Promise.all(ey.call(arguments,n)).then(cy):n(e)}return a.alias=function(t){return sy(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function cy(e){const t={};for(const n of e)for(const e in n)ny.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:uy(n,e)}):t[e]=n[e]);return t}function uy(e,t){return()=>e[t]}function dy(e){return"exports"==(e+="")||"module"===e}function fy(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Jg.push(ty.call(t,dy)?e=>{const r={},o={exports:r};return Promise.all(ey.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(ey.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}iy.prototype.name=iy.name,sy(function(e="https://cdn.jsdelivr.net/npm/",t=["unpkg","jsdelivr","browser","main"]){if(!/\/$/.test(e))throw new Error("origin lacks trailing slash");function n(t){const n=`${e}${t.name}${t.version?`@${t.version}`:""}/package.json`;let r=Qg.get(n);return r||Qg.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new iy("unable to load package.json");return e.redirected&&!Qg.has(e.url)&&Qg.set(e.url,r),e.json()}))),r}return async function(r,o){if(r.startsWith(e)&&(r=r.substring(e.length)),/^(\w+:)|\/\//i.test(r))return r;if(/^[.]{0,2}\//i.test(r))return new URL(r,null==o?location:o).href;if(!r.length||/^[\s._]/.test(r)||/\s$/.test(r))throw new iy("illegal name");const a=ly(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(ly(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!ay.test(a.path)&&(a.path+=".js"),a.path&&a.version&&oy.test(a.version))return`${e}${a.name}@${a.version}/${a.path}`;const i=await n(a);return`${e}${i.name}@${i.version}/${a.path||function(e){for(const n of t){let t=e[n];if("string"==typeof t)return t.startsWith("./")&&(t=t.slice(2)),ay.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),fy.amd={};const py=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return sy((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},hy={},my=e=>{hy[e]&&hy[e].forEach((e=>e()))};function qy(e){const t=()=>{py(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,my(e.supernova.name)}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>py(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(hy[e]||(hy[e]=[]),hy[e].push(t),window[e]&&t(),()=>{const n=hy[e].indexOf(t);hy[e].splice(n,1)});const gy=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const yy=async e=>{const t=document.querySelector("#chart-container"),n=await Xg(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=G()(!0,{},(({themes:e=[],supernova:t={},flags:n})=>{const r={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n}};return t.name&&(r.type=t.name),(t.name||t.url)&&(r.load=async()=>py(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[gy({type:r.type})],function(e){if(!e.type)throw new Error('No visualization type. Specify it either in fixture in the property "type" or as "--type" to Nebula serve.');if(!e.load)throw new Error('Unable to load the visualization. Specify it in option "--entry" to Nebula serve.')}(r),r}({fixture:r,params:e,serverInfo:n}),u=await Qq.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=n&&n.types||[],p=Fq(u,{types:[{name:o,load:a},...f.map((e=>({name:e.name,load:async()=>py(e.name,e.url)})))],...l}),h=await p.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{h.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function vy(){const e=await Xg();await qy(e),e.enigma.appId||(location.href=location.origin);const t=Hg(),n=await Yg(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>Fq.createConfiguration({themes:n?n.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,context:{theme:r,language:o}})(e,{load:e=>Promise.resolve(window[e.name]),types:[{name:t}]}))({app:n,...e,theme:t.theme,language:t.language}),o=document.querySelector("#chart-container");let a,i;if(t["render-config"]){const n=await(await fetch(`/render-config/${t["render-config"]}`)).json();a={...n,...t.object?{id:t.object}:n.id?{id:n.id}:{},type:n.type?n.type:e.supernova.name,fields:t.cols?t.cols:n.fields,element:o}}else a=t.object?{id:t.object,element:o}:{type:e.supernova.name,fields:t.cols||[],element:o};window.onHotChange(e.supernova.name,(async()=>{i&&(i.close(),r.__DO_NOT_USE__.types.clearFromCache(e.supernova.name),r.__DO_NOT_USE__.types.register(e.supernova)),i=await(async()=>{await r.render(a)})()}))}window.addEventListener("load",(function(){const e=Hg();e.fixture?yy(e):e.snapshot?async function(){const e=await Xg(),{themes:t,supernova:n}=e;await qy(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=Fq.createConfiguration({themes:t?t.map((e=>({key:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))):void 0,types:[{load:e=>Promise.resolve(window[e.name]),name:n.name}],context:{constraints:{passive:!0,active:!0}}});window.onHotChange(n.name,(async()=>{const e=Hg();!async function({embed:e,element:t,snapshot:n}){let r={};const o=e=>{t.innerHTML=`<p>${e.message}</p>`,t.setAttribute("data-njs-error",e.message)};try{r="string"==typeof n?await e.config.snapshot.get(n):n}catch(e){throw o(e),e}const{meta:{theme:a,language:i,appLayout:l},layout:s}=r,c=e=>({id:+new Date+"-object",getLayout:async()=>e,on(){},once(){}}),u={id:+new Date+"-app",createSessionObject:async e=>c(e),getObject:async e=>e===s.qInfo.qId?c(s):Promise.reject(new Error(`Could not find an object with id: ${e}`)),getAppLayout:async()=>l||{}},d=await e(u,{context:{theme:a,language:i}});try{await d.render(s.qInfo&&s.qInfo.qId?{id:s.qInfo.qId,element:t}:{type:s.visualization,element:t,properties:s})}catch(e){throw o(e||{message:"Failed to render visualization."}),e}}({embed:o,element:r,snapshot:e.snapshot})}))}():vy()}))})()})();
|