@nebula.js/cli-serve 4.0.0-alpha.2 → 4.0.0-alpha.3

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/eRender.js CHANGED
@@ -72,7 +72,7 @@
72
72
  animation-iteration-count: infinite;
73
73
  animation-delay: 200ms;
74
74
  }
75
- `),Fn.rippleVisible,Un,550,(({theme:e})=>e.transitions.easing.easeInOut),Fn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Fn.child,Fn.childLeaving,$n,550,(({theme:e})=>e.transitions.easing.easeInOut),Fn.childPulsate,Wn,(({theme:e})=>e.transitions.easing.easeInOut)),Xn=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,Te.Z)(r,Bn),[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(null),m=t.useRef(null),h=t.useRef(null);t.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const q=t.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c((e=>[...e,(0,de.jsx)(Kn,{classes:{ripple:(0,pt.Z)(a.ripple,Fn.ripple),rippleVisible:(0,pt.Z)(a.rippleVisible,Fn.rippleVisible),ripplePulsate:(0,pt.Z)(a.ripplePulsate,Fn.ripplePulsate),child:(0,pt.Z)(a.child,Fn.child),childLeaving:(0,pt.Z)(a.childLeaving,Fn.childLeaving),childPulsate:(0,pt.Z)(a.childPulsate,Fn.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:h.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===m.current&&(m.current=()=>{q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},p.current=setTimeout((()=>{m.current&&(m.current(),m.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)&&m.current)return m.current(),m.current=null,void(p.current=setTimeout((()=>{v(e,t)})));m.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,de.jsx)(Hn,(0,Ae.Z)({className:(0,pt.Z)(Fn.root,a.root,i),ref:h},l,{children:(0,de.jsx)(Pn,{component:null,exit:!0,children:s})}))})),Yn=Xn;function Qn(e){return(0,je.Z)("MuiButtonBase",e)}const Jn=(0,Be.Z)("MuiButtonBase",["root","disabled","focusVisible"]),er=["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"],tr=(0,Et.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"},[`&.${Jn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),nr=t.forwardRef((function(e,n){const r=(0,St.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:m,onClick:h,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:N,type:_}=r,P=(0,Te.Z)(r,er),A=t.useRef(null),T=t.useRef(null),D=(0,yn.Z)(T,N),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,bn.Z)(),[j,G]=t.useState(!1);c&&j&&G(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{G(!0),A.current.focus()}})),[]);const[z,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const Z=z&&!u&&!c;function U(e,t,n=d){return(0,vn.Z)((r=>(t&&t(r),!n&&T.current&&T.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&z&&T.current.pulsate()}),[u,f,j,z]);const $=U("start",E),W=U("stop",q),H=U("stop",g),K=U("stop",O),X=U("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=U("start",x),Q=U("stop",I),J=U("stop",R),ee=U("stop",(e=>{F(e),!1===k.current&&G(!1),m&&m(e)}),!1),te=(0,vn.Z)((e=>{A.current||(A.current=e.currentTarget),M(e),!0===k.current&&(G(!0),v&&v(e)),y&&y(e)})),ne=()=>{const e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,vn.Z)((e=>{f&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.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(),h&&h(e))})),ae=(0,vn.Z)((e=>{f&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),C&&C(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ie=s;"button"===ie&&(P.href||P.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===_?"button":_,le.disabled=c):(P.href||P.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,yn.Z)(n,B,A),ce=(0,Ae.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,Ct.Z)(a,Qn,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return(0,de.jsxs)(tr,(0,Ae.Z)({as:ie,className:(0,pt.Z)(ue.root,l),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:W,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:$,onMouseLeave:X,onMouseUp:K,onDragLeave:H,onTouchEnd:Q,onTouchMove:J,onTouchStart:Y,ref:se,tabIndex:c?-1:w,type:_},le,P,{children:[i,Z?(0,de.jsx)(Yn,(0,Ae.Z)({ref:D,center:a},L)):null]}))})),rr=nr;function or(e){return(0,je.Z)("MuiIconButton",e)}const ar=(0,Be.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ir=["edge","children","className","color","disabled","disableFocusRipple","size"],lr=(0,Et.ZP)(rr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],n.edge&&t[`edge${(0,cn.Z)(n.edge)}`],t[`size${(0,cn.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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,gn.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,Ae.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,Ae.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,Ae.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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)},{[`&.${ar.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),sr=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,ir),d=(0,Ae.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,cn.Z)(r)}`,o&&`edge${(0,cn.Z)(o)}`,`size${(0,cn.Z)(a)}`]};return(0,Ct.Z)(i,or,t)})(d);return(0,de.jsx)(lr,(0,Ae.Z)({className:(0,pt.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),cr=sr,ur=e=>an((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));var dr=o(37258),fr=o(11619),pr=o(94575);var mr="unmounted",hr="exited",qr="entering",gr="entered",yr="exiting",vr=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=qr):o=gr:o=t.unmountOnExit||t.mountOnEnter?mr:hr,r.state={status:o},r.nextCallback=null,r}In(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===mr?{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!==qr&&n!==gr&&(t=qr):n!==qr&&n!==gr||(t=yr)}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===qr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ft.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:mr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[ft.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:qr},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:gr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:gr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ft.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:yr},(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:ft.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===mr)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,Cn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Rn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function br(){}vr.contextType=Rn,vr.propTypes={},vr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:br,onEntering:br,onEntered:br,onExit:br,onExiting:br,onExited:br},vr.UNMOUNTED=mr,vr.EXITED=hr,vr.ENTERING=qr,vr.ENTERED=gr,vr.EXITING=yr;const Cr=vr,Er=e=>e.scrollTop;function Sr(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 Or=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ir(e){return`scale(${e}, ${e**2})`}const Rr={entering:{opacity:1,transform:Ir(1)},entered:{opacity:1,transform:"none"}},xr="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wr=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:m,timeout:h="auto",TransitionComponent:q=Cr}=e,g=(0,Te.Z)(e,Or),y=t.useRef(),v=t.useRef(),b=ie(),C=t.useRef(null),E=(0,yn.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)=>{Er(e);const{duration:n,delay:r,easing:o}=Sr({style:m,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(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:xr?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}=Sr({style:m,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(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:xr?o:.666*o,delay:xr?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Ir(.75),d&&d(e)})),L=S(f);return t.useEffect((()=>()=>{clearTimeout(y.current)}),[]),(0,de.jsx)(q,(0,Ae.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:L,onExiting:x,addEndListener:e=>{"auto"===h&&(y.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===h?null:h},g,{children:(e,n)=>t.cloneElement(a,(0,Ae.Z)({style:(0,Ae.Z)({opacity:0,transform:Ir(.75),visibility:"exited"!==e||l?void 0:"hidden"},Rr[e],m,a.props.style),ref:E},n))}))}));wr.muiSupportAuto=!0;const Lr=wr;function Nr(){return Nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nr.apply(this,arguments)}function _r(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 Pr=o(95882),Ar=o(67653),Tr=o(69781),Dr=o(24784),kr=o(95572),Mr=o(44068);const Fr=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,Pr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,kr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,kr.Z)((()=>{if(i&&!a)return(0,Mr.Z)(n,i),()=>{(0,Mr.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,de.jsx)(t.Fragment,{children:r})}return(0,de.jsx)(t.Fragment,{children:i?ft.createPortal(r,i):i})}));var Br=o(60838);function jr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Gr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function zr(e){return parseInt((0,Br.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Vr(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&&Gr(e,o)}))}function Zr(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const Ur=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $r(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ur)).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 Wr(){return!0}const Hr=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=$r,isEnabled:l=Wr,open:s}=e,c=t.useRef(!1),u=t.useRef(null),d=t.useRef(null),f=t.useRef(null),p=t.useRef(null),m=t.useRef(!1),h=t.useRef(null),q=(0,Pr.Z)(n.ref,h),g=t.useRef(null);t.useEffect((()=>{s&&h.current&&(m.current=!r)}),[r,s]),t.useEffect((()=>{if(!s||!h.current)return;const e=(0,Ar.Z)(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),m.current&&h.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}}),[s]),t.useEffect((()=>{if(!s||!h.current)return;const e=(0,Ar.Z)(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!o&&l()&&!c.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!m.current)return;let o=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(o=i(h.current)),o.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=o[0],n=o[o.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else c.current=!1},n=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[r,o,a,l,s,i]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,de.jsxs)(t.Fragment,{children:[(0,de.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),m.current=!0,p.current=e.target;const t=n.props.onFocus;t&&t(e)}}),(0,de.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})};function Kr(e){return(0,je.Z)("MuiModal",e)}function Xr(e){return"string"==typeof e}function Yr(e,t,n){return void 0===e||Xr(e)?t:Nr({},t,{ownerState:Nr({},t.ownerState,n)})}function Qr(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Qr(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}(0,Be.Z)("MuiModal",["root","hidden","backdrop"]);const Jr=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Qr(e))&&(r&&(r+=" "),r+=t);return r};function eo(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}function to(e,t){return"function"==typeof e?e(t):e}const no=["elementType","externalSlotProps","ownerState"];function ro(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=_r(e,no),i=to(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Jr(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Nr({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Nr({},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=function(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}(Nr({},o,r)),l=eo(r),s=eo(o),c=t(i),u=Jr(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=Nr({},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=Nr({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(Nr({},a,{externalSlotProps:i}));return Yr(n,Nr({},l,{ref:(0,Pr.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const oo=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ao=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&&Gr(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);Vr(t,e.mount,e.modalRef,r,!0);const o=Zr(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=Zr(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,Ar.Z)(e);return t.body===e?(0,Br.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jr((0,Ar.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${zr(r)+e}px`;const t=(0,Ar.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${zr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ar.Z)(r).body;else{const t=r.parentElement,n=(0,Br.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=Zr(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&&Gr(e.modalRef,t),Vr(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&&Gr(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},io=t.forwardRef((function(e,n){var r,o;const{children:a,closeAfterTransition:i=!1,component:l,container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:f=!1,disableRestoreFocus:p=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:q=!1,manager:g=ao,onBackdropClick:y,onClose:v,onKeyDown:b,open:C,onTransitionEnter:E,onTransitionExited:S,slotProps:O={},slots:I={}}=e,R=_r(e,oo),[x,w]=t.useState(!C),L=t.useRef({}),N=t.useRef(null),_=t.useRef(null),P=(0,Pr.Z)(_,n),A=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),T=null==(r=e["aria-hidden"])||r,D=()=>(L.current.modalRef=_.current,L.current.mountNode=N.current,L.current),k=()=>{g.mount(D(),{disableScrollLock:m}),_.current&&(_.current.scrollTop=0)},M=(0,Tr.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(s)||(0,Ar.Z)(N.current).body;g.add(D(),e),_.current&&k()})),F=t.useCallback((()=>g.isTopModal(D())),[g]),B=(0,Tr.Z)((e=>{N.current=e,e&&_.current&&(C&&F()?k():Gr(_.current,T))})),j=t.useCallback((()=>{g.remove(D(),T)}),[g,T]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{C?M():A&&i||j()}),[C,j,A,i,M]);const G=Nr({},e,{closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:f,disableRestoreFocus:p,disableScrollLock:m,exited:x,hideBackdrop:h,keepMounted:q}),z=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,Ct.Z)(r,Kr,void 0)})(G),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),A&&(V.onEnter=(0,Dr.Z)((()=>{w(!1),E&&E()}),a.props.onEnter),V.onExited=(0,Dr.Z)((()=>{w(!0),S&&S(),i&&j()}),a.props.onExited));const Z=null!=(o=null!=l?l:I.root)?o:"div",U=ro({elementType:Z,externalSlotProps:O.root,externalForwardedProps:R,additionalProps:{ref:P,role:"presentation",onKeyDown:e=>{b&&b(e),"Escape"===e.key&&F()&&(d||(e.stopPropagation(),v&&v(e,"escapeKeyDown")))}},className:z.root,ownerState:G}),$=I.backdrop,W=ro({elementType:$,externalSlotProps:O.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(y&&y(e),v&&v(e,"backdropClick"))},open:C},className:z.backdrop,ownerState:G});return q||C||A&&!x?(0,de.jsx)(Fr,{ref:B,container:s,disablePortal:f,children:(0,de.jsxs)(Z,Nr({},U,{children:[!h&&$?(0,de.jsx)($,Nr({},W)):null,(0,de.jsx)(Hr,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:p,isEnabled:F,open:C,children:t.cloneElement(a,V)})]}))}):null})),lo=io,so=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],co={entering:{opacity:1},entered:{opacity:1}},uo=t.forwardRef((function(e,n){const r=ie(),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:m,onExiting:h,style:q,timeout:g=o,TransitionComponent:y=Cr}=e,v=(0,Te.Z)(e,so),b=t.useRef(null),C=(0,yn.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)=>{Er(e);const n=Sr({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(h),x=E((e=>{const t=Sr({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(m);return(0,de.jsx)(y,(0,Ae.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,Ae.Z)({style:(0,Ae.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},co[e],q,l.props.style),ref:C},n))}))}));function fo(e){return(0,je.Z)("MuiBackdrop",e)}(0,Be.Z)("MuiBackdrop",["root","invisible"]);const po=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],mo=(0,Et.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,Ae.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"}))),ho=t.forwardRef((function(e,t){var n,r,o;const a=(0,St.Z)({props:e,name:"MuiBackdrop"}),{children:i,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=uo,transitionDuration:q}=a,g=(0,Te.Z)(a,po),y=(0,Ae.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,Ct.Z)(r,fo,t)})(y),b=null!=(n=p.root)?n:u.root;return(0,de.jsx)(h,(0,Ae.Z)({in:f,timeout:q},g,{children:(0,de.jsx)(mo,(0,Ae.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,pt.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,Ae.Z)({},y,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),qo=ho,go=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],yo=(0,Et.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,Ae.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),vo=(0,Et.ZP)(qo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),bo=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,St.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=vo,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,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,slotProps:x,slots:w,theme:L}=c,N=(0,Te.Z)(c,go),[_,P]=t.useState(!0),A={closeAfterTransition:m,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:I,keepMounted:R},T=(0,Ae.Z)({},c,A,{exited:_}),D=null!=(r=null!=(o=null==w?void 0:w.root)?o:g.Root)?r:yo,k=null!=(a=null!=(i=null==w?void 0:w.backdrop)?i:g.Backdrop)?a:u,M=null!=(l=null==x?void 0:x.root)?l:y.root,F=null!=(s=null==x?void 0:x.backdrop)?s:y.backdrop;return(0,de.jsx)(lo,(0,Ae.Z)({slots:{root:D,backdrop:k},slotProps:{root:()=>(0,Ae.Z)({},to(M,T),!Xr(D)&&{as:q,theme:L},{className:(0,pt.Z)(p,null==M?void 0:M.className,null==f?void 0:f.root,!T.open&&T.exited&&(null==f?void 0:f.hidden))}),backdrop:()=>(0,Ae.Z)({},d,to(F,T),{className:(0,pt.Z)(null==F?void 0:F.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>P(!1),onTransitionExited:()=>P(!0),ref:n},N,A,{children:h}))})),Co=bo,Eo=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,je.Z)("MuiPaper",e)}(0,Be.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 Oo=["className","component","elevation","square","variant"],Io=(0,Et.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,Ae.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,Ae.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,gn.Fq)("#fff",Eo(t.elevation))}, ${(0,gn.Fq)("#fff",Eo(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Ro=t.forwardRef((function(e,t){const n=(0,St.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,Te.Z)(n,Oo),c=(0,Ae.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,de.jsx)(Io,(0,Ae.Z)({as:o,ownerState:c,className:(0,pt.Z)(u.root,r),ref:t},s))})),xo=Ro;function wo(e){return(0,je.Z)("MuiPopover",e)}(0,Be.Z)("MuiPopover",["root","paper"]);const Lo=["onEntering"],No=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _o(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Po(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ao(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function To(e){return"function"==typeof e?e():e}const Do=(0,Et.ZP)(Co,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ko=(0,Et.ZP)(xo,{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}),Mo=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:h={},transformOrigin:q={vertical:"top",horizontal:"left"},TransitionComponent:g=Lr,transitionDuration:y="auto",TransitionProps:{onEntering:v}={}}=r,b=(0,Te.Z)(r.TransitionProps,Lo),C=(0,Te.Z)(r,No),E=t.useRef(),S=(0,yn.Z)(E,h.ref),O=(0,Ae.Z)({},r,{anchorOrigin:i,anchorReference:s,elevation:f,marginThreshold:p,PaperProps:h,transformOrigin:q,TransitionComponent:g,transitionDuration:y,TransitionProps:b}),I=(e=>{const{classes:t}=e;return(0,Ct.Z)({root:["root"],paper:["paper"]},wo,t)})(O),R=t.useCallback((()=>{if("anchorPosition"===s)return l;const e=To(a),t=(e&&1===e.nodeType?e:(0,fr.Z)(E.current).body).getBoundingClientRect();return{top:t.top+_o(t,i.vertical),left:t.left+Po(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),x=t.useCallback((e=>({vertical:_o(e,q.vertical),horizontal:Po(e,q.horizontal)})),[q.horizontal,q.vertical]),w=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=x(t);if("none"===s)return{top:null,left:null,transformOrigin:Ao(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=(0,pr.Z)(To(a)),d=u.innerHeight-p,f=u.innerWidth-p;if(o<p){const e=o-p;o-=e,n.vertical+=e}else if(l>d){const e=l-d;o-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(c>f){const e=c-f;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Ao(n)}}),[a,s,R,x,p]),[L,N]=t.useState(m),_=t.useCallback((()=>{const e=E.current;if(!e)return;const t=w(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[w]);t.useEffect((()=>{m&&_()})),t.useImperativeHandle(o,(()=>m?{updatePosition:()=>{_()}}:null),[m,_]),t.useEffect((()=>{if(!m)return;const e=(0,dr.Z)((()=>{_()})),t=(0,pr.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,_]);let P=y;"auto"!==y||g.muiSupportAuto||(P=void 0);const A=d||(a?(0,fr.Z)(To(a)).body:void 0);return(0,de.jsx)(Do,(0,Ae.Z)({BackdropProps:{invisible:!0},className:(0,pt.Z)(I.root,u),container:A,open:m,ref:n,ownerState:O},C,{children:(0,de.jsx)(g,(0,Ae.Z)({appear:!0,in:m,onEntering:(e,t)=>{v&&v(e,t),_()},onExited:()=>{N(!1)},timeout:P},b,{children:(0,de.jsx)(ko,(0,Ae.Z)({elevation:f},h,{ref:S,className:(0,pt.Z)(I.paper,h.className)},L?void 0:{style:(0,Ae.Z)({},h.style,{opacity:0})},{ownerState:O,children:c}))}))}))})),Fo=Mo;var Bo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},jo=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}}(),Go=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 zo=function(e){function t(){var e,n,r;Bo(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Go(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},Go(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),jo(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},!(e.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),Vo=["S","XS"],Zo=e=>e.reduce(((e,t)=>e.concat(t)));async function Uo({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 $o=e=>!(e.metaKey||e.ctrlKey);const Wo=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Ho=e=>an(Wo(e)),Ko=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===Ko.ARROW_UP||e===Ko.ARROW_DOWN||e===Ko.ARROW_LEFT||e===Ko.ARROW_RIGHT}),Xo=Ko;const Yo={row:"RowColumn-row",rowBorderBottom:"RowColumn-rowBorderBottom",column:"RowColumn-column",fieldRoot:"RowColumn-fieldRoot",cell:"RowColumn-cell",labelText:"RowColumn-labelText",labelDense:"RowColumn-labelDense",highlighted:"RowColumn-highlighted",checkboxLabel:"RowColumn-checkboxLabel",icon:"RowColumn-icon",S:"RowColumn-S",XS:"RowColumn-XS",A:"RowColumn-A",X:"RowColumn-X",frequencyCount:"RowColumn-frequencyCount",barContainer:"RowColumn-barContainer",bar:"RowColumn-bar",barSelected:"RowColumn-barSelected",barWithCheckbox:"RowColumn-barWithCheckbox",barSelectedWithCheckbox:"RowColumn-barSelectedWithCheckbox",excludedTextWithCheckbox:"RowColumn-excludedTextWithCheckbox"},Qo=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Jo=e=>e?"A"===e.qState:null,ea=({cell:e,checkboxes:t})=>(Jo(e)||Qo(e))&&t,ta=e=>e.filter((e=>!!e)).join(" ").trim(),na=e=>e||"-",ra=({theme:e})=>({background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0}}),oa={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},aa=(0,Et.ZP)("div",{shouldForwardProp:e=>!["flexBasisProp","isGridMode","isGridCol","dense","frequencyWidth","showIcon","checkboxes"].includes(e)})((({theme:e,flexBasisProp:t,isGridMode:n,isGridCol:r,dense:o,frequencyWidth:a,showIcon:i,checkboxes:l})=>({"&: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"}},[`& .${Yo.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Yo.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Yo.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Yo.cell}`]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:0},[`& .${Yo.labelText}`]:{flexBasis:t,lineHeight:"16px",userSelect:"none",paddingRight:i||l?"1px":"24px",...oa,whiteSpace:"pre",fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Yo.labelDense}`]:{fontSize:12},[`& .${Yo.highlighted}`]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},[`& .${Yo.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...oa,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Yo.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Yo.S}`]:{...ra({theme:e}),border:n?"none":void 0},[`& .${Yo.XS}`]:{...ra({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Yo.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Yo.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Yo.frequencyCount}`]:{justifyContent:"flex-end",...oa,flex:`0 1 ${a}px`,textAlign:"right",paddingLeft:"2px"},[`&.${Yo.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Yo.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%"}},[`& .${Yo.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Yo.barWithCheckbox}`]:{left:29,width:"calc(100% - 33px)"},[`& .${Yo.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Yo.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}))),ia=t.memo(aa),la=t.createContext(void 0);function sa(){return t.useContext(la)}function ca(e){return(0,je.Z)("MuiFormControlLabel",e)}const ua=(0,Be.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);function da({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 fa=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],pa=(0,Et.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ua.label}`]:t.label},t.root,t[`labelPlacement${(0,cn.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ua.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},{[`& .${ua.label}`]:{[`&.${ua.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),ma=t.forwardRef((function(e,n){var r;const o=(0,St.Z)({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:l,disabled:s,disableTypography:c,label:u,labelPlacement:d="end",slotProps:f={}}=o,p=(0,Te.Z)(o,fa),m=sa();let h=s;void 0===h&&void 0!==l.props.disabled&&(h=l.props.disabled),void 0===h&&m&&(h=m.disabled);const q={disabled:h};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(q[e]=o[e])}));const g=da({props:o,muiFormControl:m,states:["error"]}),y=(0,Ae.Z)({},o,{disabled:h,labelPlacement:d,error:g.error}),v=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,cn.Z)(r)}`,o&&"error"],label:["label",n&&"disabled"]};return(0,Ct.Z)(a,ca,t)})(y),b=null!=(r=f.typography)?r:i.typography;let C=u;return null==C||C.type===qn||c||(C=(0,de.jsx)(qn,(0,Ae.Z)({component:"span"},b,{className:(0,pt.Z)(v.label,null==b?void 0:b.className),children:C}))),(0,de.jsxs)(pa,(0,Ae.Z)({className:(0,pt.Z)(v.root,a),ownerState:y,ref:n},p,{children:[t.cloneElement(l,q),C]}))})),ha=ma;var qa=o(66055);function ga(e){return(0,je.Z)("PrivateSwitchBase",e)}(0,Be.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ya=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],va=(0,Et.ZP)(rr)((({ownerState:e})=>(0,Ae.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),ba=(0,Et.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ca=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:m,onBlur:h,onChange:q,onFocus:g,readOnly:y,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,Te.Z)(e,ya),[O,I]=(0,qa.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=sa();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===C||"radio"===C,L=(0,Ae.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),N=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,cn.Z)(o)}`],input:["input"]};return(0,Ct.Z)(a,ga,t)})(L);return(0,de.jsxs)(va,(0,Ae.Z)({component:"span",className:(0,pt.Z)(N.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=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:L,ref:t},S,{children:[(0,de.jsx)(ba,(0,Ae.Z)({autoFocus:n,checked:r,defaultChecked:i,className:N.input,disabled:x,id:w?d:void 0,name:m,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]}))})),Ea=Ca;var Sa=o(79143);const Oa=(0,Sa.Z)((0,de.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"),Ia=(0,Sa.Z)((0,de.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"),Ra=(0,Sa.Z)((0,de.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 xa(e){return(0,je.Z)("MuiCheckbox",e)}const wa=(0,Be.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),La=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Na=(0,Et.ZP)(Ea,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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&&{[`&.${wa.checked}, &.${wa.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${wa.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),_a=(0,de.jsx)(Ia,{}),Pa=(0,de.jsx)(Oa,{}),Aa=(0,de.jsx)(Ra,{}),Ta=t.forwardRef((function(e,n){var r,o;const a=(0,St.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=_a,color:l="primary",icon:s=Pa,indeterminate:c=!1,indeterminateIcon:u=Aa,inputProps:d,size:f="medium",className:p}=a,m=(0,Te.Z)(a,La),h=c?u:s,q=c?u:i,g=(0,Ae.Z)({},a,{color:l,indeterminate:c,size:f}),y=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,cn.Z)(r)}`]},a=(0,Ct.Z)(o,xa,t);return(0,Ae.Z)({},t,a)})(g);return(0,de.jsx)(Na,(0,Ae.Z)({type:"checkbox",inputProps:(0,Ae.Z)({"data-indeterminate":c},d),icon:t.cloneElement(h,{fontSize:null!=(r=h.props.fontSize)?r:f}),checkedIcon:t.cloneElement(q,{fontSize:null!=(o=q.props.fontSize)?o:f}),ownerState:g,ref:n,className:(0,pt.Z)(y.root,p)},m,{classes:y}))})),Da=Ta,ka={cbIcon:"ListBoxCheckbox-cbIcon",cbIconChecked:"ListBoxCheckbox-cbIconChecked",cbIconExcluded:"ListBoxCheckbox-cbIconExcluded",cbIconAlternative:"ListBoxCheckbox-cbIconAlternative",checkbox:"ListBoxCheckbox-checkbox",dense:"ListBoxCheckbox-dense"},Ma=(0,Et.ZP)(Da)((({theme:e})=>({[`& .${ka.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"},[`& .${ka.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.palette.selected.main,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:'""'}},[`& .${ka.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${ka.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${ka.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${ka.dense}`]:{padding:"4px 8px"}}))),Fa=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Ba({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Ma,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[ka.checkbox,o&&ka.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:Fa(ka,i,a),checkedIcon:t.createElement("span",{className:ka.cbIconChecked})})}const ja=(0,Sa.Z)((0,de.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"),Ga=(0,Sa.Z)((0,de.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"),za=(0,Et.ZP)("span")({position:"relative",display:"flex"}),Va=(0,Et.ZP)(ja)({transform:"scale(1)"}),Za=(0,Et.ZP)(Ga)((({theme:e,ownerState:t})=>(0,Ae.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})}))),Ua=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,Ae.Z)({},e,{checked:t});return(0,de.jsxs)(za,{className:n.root,ownerState:o,children:[(0,de.jsx)(Va,{fontSize:r,className:n.background,ownerState:o}),(0,de.jsx)(Za,{fontSize:r,className:n.dot,ownerState:o})]})};var $a=o(80062);const Wa=t.createContext(void 0);function Ha(e){return(0,je.Z)("MuiRadio",e)}const Ka=(0,Be.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Xa=["checked","checkedIcon","color","icon","name","onChange","size","className"],Ya=(0,Et.ZP)(Ea,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,cn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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,gn.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&&{[`&.${Ka.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Ka.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Qa=(0,de.jsx)(Ua,{checked:!0}),Ja=(0,de.jsx)(Ua,{}),ei=t.forwardRef((function(e,n){var r,o;const a=(0,St.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=Qa,color:s="primary",icon:c=Ja,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,Te.Z)(a,Xa),h=(0,Ae.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,cn.Z)(n)}`]};return(0,Ae.Z)({},t,(0,Ct.Z)(r,Ha,t))})(h),g=t.useContext(Wa);let y=i;const v=(0,$a.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,de.jsx)(Ya,(0,Ae.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=Ja.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=Qa.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:y,onChange:v,ref:n,className:(0,pt.Z)(q.root,p)},m))})),ti=ei,ni="ListBoxRadioButton-radioButton",ri=(0,Et.ZP)(ti)((({theme:e,checked:t})=>({[`&.${ni}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function oi({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ri,{checked:n,onChange:e,value:r,name:r,className:ni,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const ai=function({label:e,color:n,highlighted:r=!1,dense:o,showGray:a=!0,checkboxes:i,cell:l,valueTextAlign:s}){return t.createElement(qn,{component:"span",variant:"body2",className:ta([Yo.labelText,r&&Yo.highlighted,o&&Yo.labelDense,a&&ea({cell:l,checkboxes:i})&&Yo.excludedTextWithCheckbox]),color:n,align:s},t.createElement("span",{dir:"auto",style:{whiteSpace:"pre"}},e))},ii=function({label:e,color:n,highlighted:r,dense:o,showGray:a,checkboxes:i,cell:l,valueTextAlign:s}){return"string"==typeof e?t.createElement(ai,{label:e,color:n,highlighted:r,dense:o,showGray:a,checkboxes:i,cell:l,valueTextAlign:s}):e},li=function({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}){const m=t.createElement(Ba,{onChange:e,label:n,checked:a,dense:i,excluded:Qo(l),isGridCol:s,showGray:c,dataN:o}),h=t.createElement(oi,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(ha,{color:r,control:u?h:m,className:Yo.checkboxLabel,label:t.createElement(ii,{label:n,color:r,highlighted:d,dense:i,showGray:c,checkboxes:f,cell:l,valueTextAlign:p}),key:o})};function si({labels:e,dense:n,showGray:r,checkboxes:o}){return t.createElement(t.Fragment,null,e.map((([e,a],i)=>{const l=`${i}`;return t.createElement(ai,{label:e,key:l,highlighted:a,dense:n,showGray:r,checkboxes:o})})))}const ci=function({onChange:e,labels:n,checkboxes:r,dense:o,showGray:a,color:i,qElemNumber:l,isSelected:s,cell:c,isGridCol:u,isSingleSelect:d,valueTextAlign:f}){const p=t.createElement(si,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(li,{onChange:e,label:p,color:i,qElemNumber:l,isSelected:s,dense:o,cell:c,isGridCol:u,showGray:a,isSingleSelect:d,checkboxes:r,valueTextAlign:f}):p};function ui({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}){return f?t.createElement(li,{onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}):t.createElement(ai,{label:n,color:r,highlighted:!1,dense:i,showGray:!0,checkboxes:f,cell:l,valueTextAlign:p})}const di=t.memo(ui);function fi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=fi(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const pi=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=fi(e))&&(r&&(r+=" "),r+=t);return r};var mi=o(4709),hi=o(19782);const qi=["className","component"];var gi=o(93958);const yi=function(e={}){const{defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,a=(0,mi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(hi.Z);return t.forwardRef((function(e,t){const i=(0,oe.Z)(n),l=bt(e),{className:s,component:c="div"}=l,u=(0,qt.Z)(l,qi);return(0,de.jsx)(a,(0,ht.Z)({as:c,ref:t,className:pi(s,o?o(r):r),theme:i},u))}))}({defaultTheme:(0,Pe.Z)(),defaultClassName:"MuiBox-root",generateClassName:gi.Z.generate}),vi=yi,bi=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===na(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(vi,{className:ta([Yo.bar,r&&Yo.barWithCheckbox,o&&(r?Yo.barSelectedWithCheckbox:Yo.barSelected)])},t.createElement(vi,{className:"bar-filled",width:i}))},Ci=function({cell:e,checkboxes:n,dense:r,showGray:o}){return t.createElement(Tt,{item:!0,style:{display:"flex",alignItems:"center"},className:Yo.frequencyCount},t.createElement(qn,{noWrap:!0,color:"inherit",variant:"body2",className:ta([r&&Yo.labelDense,Yo.labelText,o&&ea({cell:e,checkboxes:n})&&Yo.excludedTextWithCheckbox])},na(e?.qFrequency)))};function Ei({dataLayout:e,layoutOrder:t,itemPadding:n}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const Si=(0,Et.ZP)(Tt,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","checkboxes"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,checkboxes:r})=>({[`&.${Yo.fieldRoot}`]:{...Ei({dataLayout:e,layoutOrder:t,itemPadding:n}),paddingRight:r?"8px":void 0}}))),Oi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,pages:d,isLocked:f,column:p=!1,checkboxes:m=!1,textAlign:h,direction:q,layoutOptions:g={},freqIsAllowed:y,isSingleSelect:v,actions:b,frequencyMax:C="",histogram:E=!1,keyboard:S,showGray:O=!0,showTick:I=!0,columnCount:R=1,rowCount:x=1,dataOffset:w,focusListItems:L,listCount:N,itemPadding:_,frequencyWidth:P}=a,{dense:A=!1,dataLayout:T="singleColumn",layoutOrder:D}=g;let k,M;const F={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===D?(k=n*R+r,F.max=x,F.currentIndex=n):(k=r*x+n,F.max=R,F.currentIndex=r);const e=0;M={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else k=e,F.max=N,F.currentIndex=e,M={...o};k+=w;const B=(0,t.useRef)(null);(0,t.useEffect)((()=>{null!==B.current&&(0===F.currentIndex&&L.first&&(B.current.focus(),L.setFirst(!1)),F.currentIndex===F.max-1&&L.last&&(B.current.focus(),L.setLast(!1)))}),[B.current]);const j=(0,t.useCallback)(function({select:e,confirm:t,cancel:n,setScrollPosition:r,focusListItems:o}){const a=(e,t=!1)=>{const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let i=!1;const l=e=>{i=e};return s=>{let c;const{keyCode:u,shiftKey:d=!1,ctrlKey:f=!1}=s.nativeEvent;switch(u){case Xo.SHIFT:l(!0);break;case Xo.SPACE:e([+s.currentTarget.getAttribute("data-n")]);break;case Xo.ARROW_DOWN:case Xo.ARROW_RIGHT:c=a(s.currentTarget,!0),d&&c&&(i&&(e([+s.currentTarget.getAttribute("data-n")],!0),l(!1)),e([+c.getAttribute("data-n")],!0));break;case Xo.ARROW_UP:case Xo.ARROW_LEFT:c=a(s.currentTarget,!1),d&&c&&(i&&(e([+s.currentTarget.getAttribute("data-n")],!0),l(!1)),e([+c.getAttribute("data-n")],!0));break;case Xo.ENTER:t();break;case Xo.ESCAPE:return void n();case Xo.HOME:if(o.setFirst(!0),f){r?.("overflowStart");break}r?.("start");break;case Xo.END:if(o.setLast(!0),f){r?.("overflowEnd");break}r?.("end");break;default:return}c&&c.focus(),s.preventDefault(),s.stopPropagation()}}({...b,focusListItems:L}),[b]),G=(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:d,cellIndex:k})),[d,k]),z="S"===G?.qState||"XS"===G?.qState||"L"===G?.qState||"XL"===G?.qState,V=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Yo.column:Yo.row];return t||a.push(Yo.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Yo.XS:Yo.S):"S"===r.qState||"L"===r.qState?a.push(Yo.S):o&&Jo(r)?a.push(Yo.A):o&&Qo(r)&&a.push(Yo.X)),a):[]})({column:p,histogram:E,checkboxes:m,cell:G,showGray:O})),[G?.qState,E,A,m]),Z=(0,t.useCallback)((e=>{e.preventDefault()}),[m]);if(!G)return null;const U=!["NaN",void 0].includes(G?.qNum);let $;$=!h||h.auto?U?"rtl"===q?"left":"right":{rtl:"right",ltr:"left"}[q]:h?.align||"left";const W="grid"===T&&"column"===D,H=G?.qText??"";let K;G.qHighlightRanges?.qRanges?.length&&(K=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}(H,G.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const X={alignItems:"center",display:"flex",fontSize:"8px"},Y={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"rtl"===q?8:m?0:void 0,paddingRight:m?0:"rtl"===q?8:0,justifyContent:$},Q=0===e,J=m?"auto":"max-content",ee=z&&f,te=!m&&z&&!f&&I,ne=!m&&(te||ee);return t.createElement(ia,{className:Yo.barContainer,flexBasisProp:J,style:M,showIcon:ne,checkboxes:m,isGridCol:W,isGridMode:"grid"===T,dense:A,frequencyWidth:P},t.createElement(Si,{ref:B,container:!0,dataLayout:T,checkboxes:m,layoutOrder:D,itemPadding:_,gap:0,className:ta(["value",...V]),classes:{root:Yo.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:j,onContextMenu:Z,role:p?"column":"row",tabIndex:!Q||S.enabled&&!S.active?-1:0,"data-n":G?.qElemNumber},G?.qFrequency&&t.createElement(bi,{qFrequency:G?.qFrequency,histogram:E,checkboxes:m,isSelected:z,frequencyMax:C}),t.createElement(Tt,{item:!0,style:Y,className:ta([Yo.cell,Yo.selectedCell]),title:`${H}`},K?t.createElement(ci,{onChange:i,labels:K,checkboxes:m,dense:A,showGray:O,color:"inherit",qElemNumber:G.qElemNumber,isSelected:z,cell:G,isGridCol:W,isSingleSelect:v,valueTextAlign:$}):t.createElement(di,{onChange:i,label:H,color:"inherit",qElemNumber:G.qElemNumber,isSelected:z,dense:A,cell:G,isGridCol:W,showGray:O,isSingleSelect:v,checkboxes:m,valueTextAlign:$})),y&&t.createElement(Ci,{cell:G,checkboxes:m,dense:A,showGray:O}),ne&&t.createElement(Tt,{item:!0,className:Yo.icon},ee&&t.createElement(sn,{style:X,size:"small"}),te&&t.createElement(Ho,{style:X,size:"small"}))))};var Ii=o(49241),Ri=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function xi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Ri(r)&&Ri(o)))return!1;var r,o;return!0}const wi=function(e,t){var n;void 0===t&&(t=xi);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 Li="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Ni(e){cancelAnimationFrame(e.id)}function _i(e,t){var n=Li(),r={id:requestAnimationFrame((function o(){Li()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Pi=-1;function Ai(e){if(void 0===e&&(e=!1),-1===Pi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Pi=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Pi}var Ti=null;function Di(e){if(void 0===e&&(e=!1),null===Ti||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?Ti="positive-descending":(t.scrollLeft=1,Ti=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Ti}return Ti}var ki=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Mi(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,m=e.getRowStopIndexForStartIndex,h=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=h(n.props,Sn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:Sn(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=wi((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=wi((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 m=r(n.props,t,n._instanceProps),h="rtl"===s;u[p]=o={position:"absolute",left:h?void 0:m,right:h?m: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=wi((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(Di()){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&&Ni(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=_i(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}In(n,e),n.getDerivedStateFromProps=function(e,t){return Fi(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,m=this.state,h=m.scrollLeft,q=m.scrollTop,g=Ai();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,h,this._instanceProps,b):h,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(Di()){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&&Ni(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,m=void 0===p?ki:p,h=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 N=S;N<=O;N++)w.push((0,t.createElement)(n,{columnIndex:N,data:f,isScrolling:v?C:void 0,key:m({columnIndex:N,data:f,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,N)}));var _=l(this.props,this._instanceProps),P=s(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:En({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:_,pointerEvents:C?"none":void 0,width:P}}))},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],m=u[3];this._callOnItemsRendered(i,l,d,f,s,c,p,m)}if("function"==typeof r){var h=this.state,q=h.horizontalScrollDirection,g=h.scrollLeft,y=h.scrollTop,v=h.scrollUpdateWasRequested,b=h.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),m=a(this.props,p,d,this._instanceProps),h=u&&"backward"!==c?1:Math.max(1,f),q=u&&"forward"!==c?1:Math.max(1,f);return[Math.max(0,p-h),Math.max(0,Math.min(t-1,m+q)),p,m]},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=m(this.props,d,c,this._instanceProps),h=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-h),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 Fi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Bi=function(e,t){return e};function ji(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,Sn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Sn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=wi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=wi((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,m="rtl"===i,h=p?d:0;c[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:p?0:d,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=wi((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(Di()){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<o?"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&&Ni(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=_i(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}In(n,e),n.getDerivedStateFromProps=function(e,t){return Gi(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?Ai():0:s.scrollHeight>s.clientHeight?Ai():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(Di()){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&&Ni(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?Bi:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,v=e.width,b=this.state.isScrolling,C="horizontal"===a||"horizontal"===m,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)(h||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:En({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 Gi=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},zi=Mi({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}}),Vi=ji({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),m=Math.min(p,t*c),h=Math.max(0,t*c-f+c+a);switch("smart"===n&&(n=r>=h-f&&r<=m+f?"auto":"center"),n){case"start":return m;case"end":return h;case"center":var q=Math.round(h+(m-h)/2);return q<Math.ceil(f/2)?0:q>p+Math.floor(f/2)?p:q;default:return r>=h&&r<=m?r:r<h?h:m}},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 Zi="ListBox-styledScrollbars";function Ui({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=((e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex)(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=((e,t,n,r)=>e===t*n+r+n)(i,c,s?o:r,l),p=!!l&&((e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex)(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function $i(){return $i=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},$i.apply(this,arguments)}const{StyledFixedSizeList:Wi,StyledFixedSizeGrid:Hi}=function(){const e=e=>({scrollbarColor:"#BBB #f1f1f1",overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#BBB",borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Ii.Z)(Vi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Zi}`]:e(t)}))),StyledFixedSizeGrid:(0,Ii.Z)(zi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Zi}`]:e(t)})))}}();const Ki=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")})();return n.font=t,Array.isArray(e)?Math.max(...e.map((e=>n.measureText(e).width))):n.measureText(e).width})(n.text,n.font||"14px Source Sans Pro")),[n.text,n.font])};function Xi(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}const[Yi,Qi]=tt({});function Ji(e){const t=`${e.id}`,[n]=Yi();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 tl(e){return e instanceof el(e).Element||e instanceof Element}function nl(e){return e instanceof el(e).HTMLElement||e instanceof HTMLElement}function rl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof el(e).ShadowRoot||e instanceof ShadowRoot)}var ol=Math.max,al=Math.min,il=Math.round;function ll(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function sl(){return!/^((?!chrome|android).)*safari/i.test(ll())}function cl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&nl(e)&&(o=e.offsetWidth>0&&il(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&il(r.height)/e.offsetHeight||1);var i=(tl(e)?el(e):window).visualViewport,l=!sl()&&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 ul(e){var t=el(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dl(e){return e?(e.nodeName||"").toLowerCase():null}function fl(e){return((tl(e)?e.ownerDocument:e.document)||window.document).documentElement}function pl(e){return cl(fl(e)).left+ul(e).scrollLeft}function ml(e){return el(e).getComputedStyle(e)}function hl(e){var t=ml(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ql(e,t,n){void 0===n&&(n=!1);var r,o,a=nl(t),i=nl(t)&&function(e){var t=e.getBoundingClientRect(),n=il(t.width)/e.offsetWidth||1,r=il(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=fl(t),s=cl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==dl(t)||hl(l))&&(c=(r=t)!==el(r)&&nl(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ul(r)),nl(t)?((u=cl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=pl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function gl(e){var t=cl(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 yl(e){return"html"===dl(e)?e:e.assignedSlot||e.parentNode||(rl(e)?e.host:null)||fl(e)}function vl(e){return["html","body","#document"].indexOf(dl(e))>=0?e.ownerDocument.body:nl(e)&&hl(e)?e:vl(yl(e))}function bl(e,t){var n;void 0===t&&(t=[]);var r=vl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=el(r),i=o?[a].concat(a.visualViewport||[],hl(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(bl(yl(i)))}function Cl(e){return["table","td","th"].indexOf(dl(e))>=0}function El(e){return nl(e)&&"fixed"!==ml(e).position?e.offsetParent:null}function Sl(e){for(var t=el(e),n=El(e);n&&Cl(n)&&"static"===ml(n).position;)n=El(n);return n&&("html"===dl(n)||"body"===dl(n)&&"static"===ml(n).position)?t:n||function(e){var t=/firefox/i.test(ll());if(/Trident/i.test(ll())&&nl(e)&&"fixed"===ml(e).position)return null;var n=yl(e);for(rl(n)&&(n=n.host);nl(n)&&["html","body"].indexOf(dl(n))<0;){var r=ml(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 Ol="top",Il="bottom",Rl="right",xl="left",wl="auto",Ll=[Ol,Il,Rl,xl],Nl="start",_l="end",Pl="viewport",Al="popper",Tl=Ll.reduce((function(e,t){return e.concat([t+"-"+Nl,t+"-"+_l])}),[]),Dl=[].concat(Ll,[wl]).reduce((function(e,t){return e.concat([t,t+"-"+Nl,t+"-"+_l])}),[]),kl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ml(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 Fl={placement:"bottom",modifiers:[],strategy:"absolute"};function Bl(){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 jl(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Fl:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Fl,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:tl(e)?bl(e):e.contextElement?bl(e.contextElement):[],popper:bl(t)};var i,c,f=function(e){var t=Ml(e);return kl.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(Bl(t,n)){l.rects={reference:ql(t,Sl(n),"fixed"===l.options.strategy),popper:gl(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(!Bl(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 Gl={passive:!0};function zl(e){return e.split("-")[0]}function Vl(e){return e.split("-")[1]}function Zl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ul(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?zl(o):null,i=o?Vl(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Ol:t={x:l,y:n.y-r.height};break;case Il:t={x:l,y:n.y+n.height};break;case Rl:t={x:n.x+n.width,y:s};break;case xl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Zl(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Nl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case _l:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var $l={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wl(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,m=i.y,h=void 0===m?0:m,q="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=q.x,h=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=xl,b=Ol,C=window;if(c){var E=Sl(n),S="clientHeight",O="clientWidth";E===el(n)&&"static"!==ml(E=fl(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Ol||(o===xl||o===Rl)&&a===_l)&&(b=Il,h-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,h*=s?1:-1),o!==xl&&(o!==Ol&&o!==Il||a!==_l)||(v=Rl,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&&$l),x=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:il(t*r)/r||0,y:il(n*r)/r||0}}({x:p,y:h}):{x:p,y:h};return p=x.x,h=x.y,s?Object.assign({},R,((I={})[b]=y?"0":"",I[v]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",I)):Object.assign({},R,((t={})[b]=y?h+"px":"",t[v]=g?p+"px":"",t.transform="",t))}var Hl={left:"right",right:"left",bottom:"top",top:"bottom"};function Kl(e){return e.replace(/left|right|bottom|top/g,(function(e){return Hl[e]}))}var Xl={start:"end",end:"start"};function Yl(e){return e.replace(/start|end/g,(function(e){return Xl[e]}))}function Ql(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Jl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function es(e,t,n){return t===Pl?Jl(function(e,t){var n=el(e),r=fl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=sl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+pl(e),y:s}}(e,n)):tl(t)?function(e,t){var n=cl(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):Jl(function(e){var t,n=fl(e),r=ul(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=ol(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ol(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+pl(e),s=-r.scrollTop;return"rtl"===ml(o||n).direction&&(l+=ol(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(fl(e)))}function ts(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ns(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?Pl:c,d=n.elementContext,f=void 0===d?Al:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,g=ts("number"!=typeof q?q:ns(q,Ll)),y=f===Al?"reference":Al,v=e.rects.popper,b=e.elements[m?y:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=bl(yl(e)),n=["absolute","fixed"].indexOf(ml(e).position)>=0&&nl(e)?Sl(e):e;return tl(n)?t.filter((function(e){return tl(e)&&Ql(e,n)&&"body"!==dl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=es(e,n,r);return t.top=ol(o.top,t.top),t.right=al(o.right,t.right),t.bottom=al(o.bottom,t.bottom),t.left=ol(o.left,t.left),t}),es(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}(tl(b)?b:b.contextElement||fl(e.elements.popper),s,u,i),E=cl(e.elements.reference),S=Ul({reference:E,element:v,strategy:"absolute",placement:o}),O=Jl(Object.assign({},v,S)),I=f===Al?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===Al&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Rl,Il].indexOf(e)>=0?1:-1,n=[Ol,Il].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function os(e,t,n){return ol(e,al(t,n))}function as(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 is(e){return[Ol,Rl,Il,xl].some((function(t){return e[t]>=0}))}var ls=jl({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,Gl)})),l&&s.addEventListener("resize",n.update,Gl),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Gl)})),l&&s.removeEventListener("resize",n.update,Gl)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ul({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:zl(t.placement),variation:Vl(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,Wl(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,Wl(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:{}},{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];nl(o)&&dl(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}),{});nl(r)&&dl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{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=Dl.reduce((function(e,n){return e[n]=function(e,t,n){var r=zl(e),o=[xl,Ol].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,[xl,Rl].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,m=void 0===p||p,h=n.allowedAutoPlacements,q=t.options.placement,g=zl(q),y=s||(g!==q&&m?function(e){if(zl(e)===wl)return[];var t=Kl(e);return[Yl(e),t,Yl(t)]}(q):[Kl(q)]),v=[q].concat(y).reduce((function(e,n){return e.concat(zl(n)===wl?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?Dl:s,u=Vl(r),d=u?l?Tl:Tl.filter((function(e){return Vl(e)===u})):Ll,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})[zl(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:m,allowedAutoPlacements:h}):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=zl(R),w=Vl(R)===Nl,L=[Ol,Il].indexOf(x)>=0,N=L?"width":"height",_=rs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),P=L?w?Rl:xl:w?Il:Ol;b[N]>C[N]&&(P=Kl(P));var A=Kl(P),T=[];if(a&&T.push(_[x]<=0),l&&T.push(_[P]<=0,_[A]<=0),T.every((function(e){return e}))){O=R,S=!1;break}E.set(R,T)}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=m?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,m=n.tetherOffset,h=void 0===m?0:m,q=rs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=zl(t.placement),y=Vl(t.placement),v=!y,b=Zl(g),C="x"===b?"y":"x",E=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,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,N="y"===b?Ol:xl,_="y"===b?Il:Rl,P="y"===b?"height":"width",A=E[b],T=A+q[N],D=A-q[_],k=p?-O[P]/2:0,M=y===Nl?S[P]:O[P],F=y===Nl?-O[P]:-S[P],B=t.elements.arrow,j=p&&B?gl(B):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=G[N],V=G[_],Z=os(0,S[P],j[P]),U=v?S[P]/2-k-Z-z-R.mainAxis:M-Z-z-R.mainAxis,$=v?-S[P]/2+k+Z+V+R.mainAxis:F+Z+V+R.mainAxis,W=t.elements.arrow&&Sl(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=A+$-K,Y=os(p?al(T,A+U-K-H):T,A,p?ol(D,X):D);E[b]=Y,w[b]=Y-A}if(l){var Q,J="x"===b?Ol:xl,ee="x"===b?Il:Rl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Ol,xl].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=os(e,t,n);return r>n?n:r}(le,te,se):os(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=zl(n.placement),s=Zl(l),c=[xl,Rl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return ts("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ns(e,Ll))}(o.padding,n),d=gl(a),f="y"===s?Ol:xl,p="y"===s?Il:Rl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Sl(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=m/2-h/2,v=u[f],b=g-d[c]-u[p],C=g/2-d[c]/2+y,E=os(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)))&&Ql(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=as(i,r),c=as(l,o,a),u=is(s),d=is(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 ss(e){return(0,je.Z)("MuiPopper",e)}(0,Be.Z)("MuiPopper",["root"]);const cs=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],us=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ds(e){return"function"==typeof e?e():e}const fs={},ps=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,component:i,direction:l,disablePortal:s,modifiers:c,open:u,ownerState:d,placement:f,popperOptions:p,popperRef:m,slotProps:h={},slots:q={},TransitionProps:g}=e,y=_r(e,cs),v=t.useRef(null),b=(0,Pr.Z)(v,n),C=t.useRef(null),E=(0,Pr.Z)(C,m),S=t.useRef(E);(0,kr.Z)((()=>{S.current=E}),[E]),t.useImperativeHandle(m,(()=>C.current),[]);const O=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}}(f,l),[I,R]=t.useState(O),[x,w]=t.useState(ds(o));t.useEffect((()=>{C.current&&C.current.forceUpdate()})),t.useEffect((()=>{o&&w(ds(o))}),[o]),(0,kr.Z)((()=>{if(!x||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{R(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=ls(x,v.current,Nr({placement:O},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[x,s,c,u,p,O]);const L={placement:I};null!==g&&(L.TransitionProps=g);const N=(0,Ct.Z)({root:["root"]},ss,{}),_=null!=(r=null!=i?i:q.root)?r:"div",P=ro({elementType:_,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:b},ownerState:Nr({},e,d),className:N.root});return(0,de.jsx)(_,Nr({},P,{children:"function"==typeof a?a(L):a}))})),ms=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=fs,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:g={}}=e,y=_r(e,us),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let C;if(a)C=a;else if(r){const e=ds(r);C=e&&void 0!==e.nodeType?(0,Ar.Z)(e).body:(0,Ar.Z)(null).body}const E=u||!s||h&&!v?void 0:"none",S=h?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,de.jsx)(Fr,{disablePortal:l,container:C,children:(0,de.jsx)(ps,Nr({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:h?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:g},y,{style:Nr({position:"fixed",top:0,left:0,display:E},m),TransitionProps:S,children:o}))})}));var hs=o(11330);const qs=["components","componentsProps","slots","slotProps"],gs=(0,Et.ZP)(ms,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ys=t.forwardRef((function(e,t){var n;const r=(0,hs.Z)(),o=(0,St.Z)({props:e,name:"MuiPopper"}),{components:a,componentsProps:i,slots:l,slotProps:s}=o,c=(0,Te.Z)(o,qs),u=null!=(n=null==l?void 0:l.root)?n:null==a?void 0:a.Root;return(0,de.jsx)(gs,(0,Ae.Z)({direction:null==r?void 0:r.direction,slots:{root:u},slotProps:null!=s?s:i},c,{ref:t}))}));var vs=o(13212);function bs(e){return(0,je.Z)("MuiTooltip",e)}const Cs=(0,Be.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Es=["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"],Ss=(0,Et.ZP)(ys,{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,Ae.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Cs.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Cs.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Cs.arrow}`]:(0,Ae.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"] .${Cs.arrow}`]:(0,Ae.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Os=(0,Et.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,cn.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,gn.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},{[`.${Cs.popper}[data-popper-placement*="left"] &`]:(0,Ae.Z)({transformOrigin:"right center"},t.isRtl?(0,Ae.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,Ae.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Cs.popper}[data-popper-placement*="right"] &`]:(0,Ae.Z)({transformOrigin:"left center"},t.isRtl?(0,Ae.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,Ae.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Cs.popper}[data-popper-placement*="top"] &`]:(0,Ae.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Cs.popper}[data-popper-placement*="bottom"] &`]:(0,Ae.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Is=(0,Et.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,gn.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Rs=!1,xs=null,ws={x:0,y:0};function Ls(e,t){return n=>{t&&t(n),e(n)}}const Ns=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,g,y,v,b,C;const E=(0,St.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:L=!1,disableInteractive:N=!1,disableTouchListener:_=!1,enterDelay:P=100,enterNextDelay:A=0,enterTouchDelay:T=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:G,placement:z="bottom",PopperComponent:V,PopperProps:Z={},slotProps:U={},slots:$={},title:W,TransitionComponent:H=Lr,TransitionProps:K}=E,X=(0,Te.Z)(E,Es),Y=ie(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=N||D,ae=t.useRef(),le=t.useRef(),se=t.useRef(),ce=t.useRef(),[ue,fe]=(0,qa.Z)({controlled:G,default:!1,name:"Tooltip",state:"open"});let pe=ue;const me=(0,vs.Z)(k),he=t.useRef(),qe=t.useCallback((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),clearTimeout(ce.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(le.current),clearTimeout(se.current),qe()}),[qe]);const ge=e=>{clearTimeout(xs),Rs=!0,fe(!0),j&&!pe&&j(e)},ye=(0,vn.Z)((e=>{clearTimeout(xs),xs=setTimeout((()=>{Rs=!1}),800+M),fe(!1),B&&pe&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),ve=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(le.current),clearTimeout(se.current),P||Rs&&A?le.current=setTimeout((()=>{ge(e)}),Rs?A:P):ge(e))},be=e=>{clearTimeout(le.current),clearTimeout(se.current),se.current=setTimeout((()=>{ye(e)}),M)},{isFocusVisibleRef:Ce,onBlur:Ee,onFocus:Se,ref:Oe}=(0,bn.Z)(),[,Ie]=t.useState(!1),Re=e=>{Ee(e),!1===Ce.current&&(Ie(!1),be(e))},xe=e=>{J||ee(e.currentTarget),Se(e),!0===Ce.current&&(Ie(!0),ve(e))},we=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},Le=ve,Ne=be;t.useEffect((()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ye(e)}}),[ye,pe]);const _e=(0,yn.Z)(O.ref,Oe,ee,n);W||0===W||(pe=!1);const Pe=t.useRef(),De={},ke="string"==typeof W;x?(De.title=pe||!ke||L?null:W,De["aria-describedby"]=pe?me:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=pe&&!ke?me:null);const Me=(0,Ae.Z)({},De,X,O.props,{className:(0,pt.Z)(X.className,O.props.className),onTouchStart:we,ref:_e},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),ws={x:e.clientX,y:e.clientY},Pe.current&&Pe.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{we(e),clearTimeout(se.current),clearTimeout(ae.current),qe(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.current=setTimeout((()=>{document.body.style.WebkitUserSelect=he.current,ve(e)}),T)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),qe(),clearTimeout(se.current),se.current=setTimeout((()=>{ye(e)}),F)}),L||(Me.onMouseOver=Ls(Le,Me.onMouseOver),Me.onMouseLeave=Ls(Ne,Me.onMouseLeave),oe||(Fe.onMouseOver=Le,Fe.onMouseLeave=Ne)),w||(Me.onFocus=Ls(xe,Me.onFocus),Me.onBlur=Ls(Re,Me.onBlur),oe||(Fe.onFocus=xe,Fe.onBlur=Re));const Be=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=Z.popperOptions)&&e.modifiers&&(t=t.concat(Z.popperOptions.modifiers)),(0,Ae.Z)({},Z.popperOptions,{modifiers:t})}),[te,Z]),je=(0,Ae.Z)({},E,{isRtl:Q,arrow:S,disableInteractive:oe,placement:z,PopperComponentProp:V,touch:re.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,cn.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,Ct.Z)(i,bs,t)})(je),ze=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Ss,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Lr,Ze=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Os,Ue=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:Is,$e=Yr(ze,(0,Ae.Z)({},Z,null!=(f=U.popper)?f:R.popper,{className:(0,pt.Z)(Ge.popper,null==Z?void 0:Z.className,null==(p=null!=(m=U.popper)?m:R.popper)?void 0:p.className)}),je),We=Yr(Ve,(0,Ae.Z)({},K,null!=(h=U.transition)?h:R.transition),je),He=Yr(Ze,(0,Ae.Z)({},null!=(q=U.tooltip)?q:R.tooltip,{className:(0,pt.Z)(Ge.tooltip,null==(g=null!=(y=U.tooltip)?y:R.tooltip)?void 0:g.className)}),je),Ke=Yr(Ue,(0,Ae.Z)({},null!=(v=U.arrow)?v:R.arrow,{className:(0,pt.Z)(Ge.arrow,null==(b=null!=(C=U.arrow)?C:R.arrow)?void 0:b.className)}),je);return(0,de.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,de.jsx)(ze,(0,Ae.Z)({as:null!=V?V:ys,placement:z,anchorEl:D?{getBoundingClientRect:()=>({top:ws.y,left:ws.x,right:ws.x,bottom:ws.y,width:0,height:0})}:J,popperRef:Pe,open:!!J&&pe,id:me,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,de.jsx)(Ve,(0,Ae.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,de.jsxs)(Ze,(0,Ae.Z)({},He,{children:[W,S?(0,de.jsx)(Ue,(0,Ae.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),_s=Ns;function Ps({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(et),i=(0,Et.ZP)(qn)((()=>({minWidth:`${e}px`,textAlign:"center",fontSize:r?"12px":"14px",...r&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));return t.createElement(_s,{title:o?a.get(n):""},t.createElement(i,{component:"div",variant:"body1",py:"12px"},a.get(n)))}var As=o(79246);const Ts=(0,Et.ZP)(xo)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),Ds=(0,Et.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),ks=(0,Et.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Ms=(0,Et.ZP)(As.Z)((()=>({fontSize:"14px"})));function Fs({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(Ts,{left:l,style:{maxWidth:i}},t.createElement(Ds,null,t.createElement(Ps,{text:e,dense:r,width:s,tooltip:c})),t.createElement(ks,{dense:r},a&&t.createElement(cr,{"aria-label":"close",onClick:()=>n()},t.createElement(Ms,null))))}function Bs({itemWidth:e,layout:t,frequencyMode:n}){const r=e>80,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["none",void 0].includes(n);return!(!r||!a&&!o)}const js=e=>{const t=(e=>e?`${e.replace(/\]/g,"]]")}`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`};function Gs({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:m,calculatePagesHeight:h=!1,keyboard:q={},showGray:g=!0,scrollState:y,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:C={set:()=>{}}}){const[E,S]=(0,t.useState)(!1),O=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:I=s,histogram:R}=o??{},x=(0,t.useRef)(null),w=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),L=(0,t.useRef)({pages:[]}),{isLoadingData:N,..._}=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:w,loaderRef:x,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:m,listData:L}),{setStoreValue:P}=Ji(e),A=(0,t.useCallback)(_.loadMoreItems,[o]),[T,D]=(0,t.useState)({show:!1,dismissed:!1}),[k,M]=(0,t.useState)([]);_?.pages&&i.update({setPages:M,pages:_?.pages,isSingleSelect:O,selectDisabled:v,layout:o});const F=(0,t.useCallback)((e=>{if(!k?.length||!w.current.validPages)return!1;w.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=k.filter((e=>t(e)))[0];return n&&t(n)}),[o,k]),{interactionEvents:B,select:j}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document}){const a=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1}),i=()=>(e.setSelectableValuesUpdating(),Uo({selections:n,elemNumbers:a.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:a.current.toggle})),l=t=>{const{startElemNumber:n}=a.current;if(n===t)return;const r=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)}([a.current.startElemNumber,t],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return Zo(t)}(e.enginePages));e.updateItems(r,!0,a.current.elemNumbers)},s=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&$o(t.nativeEvent);a.current.elemNumbers=[n],a.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),a.current.active=!1,i()}),[]),c=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&$o(t);a.current.isRange=!1,a.current.startElemNumber=n,a.current.elemNumbers=[n],a.current.toggle=r,a.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(a.current.active=!1,i()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),u=(0,t.useCallback)((e=>{if(0===e.button&&a.current.active){if(a.current.active=!1,a.current.isRange){const t=+e.currentTarget.getAttribute("data-n");l(t)}i()}}),[]),d=(0,t.useCallback)((e=>{0===e.button&&a.current.active&&(a.current.active=!1,i())}),[]),f=(0,t.useCallback)((t=>{if(!a.current.active)return;a.current.isRange||(a.current.isRange=!0,e.isSelected(a.current.startElemNumber)||(e.updateItem(a.current.startElemNumber,!0),a.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");l(n)}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",d),()=>{o.removeEventListener("mouseup",d)})),[d]),(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 p={};return r?Object.assign(p,{onChange:s}):Object.assign(p,{onMouseUp:u,onMouseDown:c,onMouseEnter:f}),{interactionEvents:p,select:(t=[],r=!1)=>{const o=[];return e.updateItems(t,r,o),e.setSelectableValuesUpdating(),Uo({selections:n,elemNumbers:r?o:t,isSingleSelect:e.isSingleSelect,toggle:!e.isSingleSelect})}}}({selectionState:i,selections:a,checkboxes:I,doc:document}),{layoutOptions:G={}}=o||{};let z=!0;G.dataLayout&&(z="singleColumn"===G.dataLayout||"row"===G?.layoutOrder);const V="grid"===G?.dataLayout,Z=e=>{const t={...z?{rowIndex:e}:{columnIndex:e}},n=V?t:e;x.current._listRef.scrollToItem(n)},U=()=>{if(w.current.queue=[],w.current.validPages=!1,x.current){x.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());w.current.dataOffset=0,Z(0)}};f&&f.call(null,U),(0,t.useEffect)((()=>{y&&!E&&x.current&&(x.current._listRef.scrollToItem(y.initScrollPos),S(!0))}),[x.current]),(0,t.useEffect)((()=>{U()}),[o,w.current.dataOffset]);const $=Ki({text:Xi(o),font:"14px Source sans pro"});let W=100;const H="grid"!==G.dataLayout,K=o?.qListObject.qSize?.qcy,X=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){const o=e?.length&&r?(({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})({pages:e,minimumBatchSize:t,count:n}):n;return o||0}({pages:k,minimumBatchSize:W,count:K,calculatePagesHeight:h,layoutOptions:G,model:e});let Y=Bs({itemWidth:u,layout:o,frequencyMode:d});const Q=function({layout:e,width:t,height:n,listCount:r,count:o,textWidth:a,freqIsAllowed:i,checkboxes:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,m=i?40:0,h=l?20:0,q=56+m+h,g=Math.max(Math.min(150,a+18+m+h),q);let y,v,b,C;const E="grid"===p;let S=f?20:E?32:29;E&&(S+=4);const O=n??8*S;if(c){let e=t;"row"===c?(y={overflowX:"hidden"},e+=8,({rowCount:C,columnWidth:b,columnCount:v}=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.ceil(i/Math.max(o,r)));l=!1!==e?.auto?s:Math.min(t,a,s);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:g,itemMinWidth:q}))):(y={overflowY:"hidden"},({rowCount:C,columnWidth:b,columnCount:v}=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);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:S,listCount:r,listHeight:O,columnAutoWidth:g,containerWidth:e,itemMinWidth:q})))}v=("singleColumn"===p?1:v)||1,C=("singleColumn"===p?o:C)||r;const I=s.dense?838e3:577e3;C=Math.min(C,I);const R=Math.floor(3355e4/b);v=Math.min(v,R)||1;const x=C*v;return{columnCount:v,columnWidth:b,rowCount:C,overflowStyling:y,itemHeight:S,listHeight:O,scrollBarWidth:10,count:o,listCount:Math.min(r,x),maxCount:{row:I,column:R},itemPadding:4,frequencyWidth:40}}({layout:o,width:u,height:c,listCount:X,count:K,textWidth:$,freqIsAllowed:Y,checkboxes:I});Q.columnWidth&&(Y=Bs({itemWidth:Q.columnWidth,layout:o,frequencyMode:d}));const{listCount:J}=Q;P("listCount",J);const ee=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=((e,t)=>e.qListObject.qDimensionInfo.qCardinal-t)(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:z,sizes:Q,layout:o,offset:w.current.dataOffset});w.current.dataOffset=n,r&&i.triggerStateChanged(),Z(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?Z(C.state.start-e.up):e.down?Z(C.state.stop+e.down):e.scrollPosition&&ee(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:te}=o?.qListObject.qDimensionInfo||{},[ne,re]=(0,t.useState)({first:!1,last:!1}),oe=((e,n)=>{const[r,o]=(0,t.useState)(),a=(e=>"fetch"===e?.frequencyMax)(n);return(0,t.useEffect)((()=>{a&&(async()=>{const t=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=js(r);return(await t.evaluateEx(o)).qNumber})(n,e);o(t)})()}),[a&&n]),a?r:n?.frequencyMax})(n,o),{List:ae,Grid:ie}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,frequencyMode:c,histogram:u,isSingleSelect:d,select:f,textAlign:p,selections:m,keyboard:h,showGray:q,scrollState:g,direction:y,sizes:v,listCount:b,overflowDisclaimer:C,setScrollPosition:E,focusListItems:S,setCurrentScrollIndex:O,constraints:I,frequencyMax:R,freqIsAllowed:x}){const{layoutOptions:w={}}=e||{},{columnWidth:L,itemPadding:N,listHeight:_,itemHeight:P,rowCount:A,columnCount:T,frequencyWidth:D}=v||{},k=("grid"===w.dataLayout?L:n)>80,M={direction:"rtl"===y?"rtl":"ltr",useIsScrolling:!0,className:Zi},F=e?.qListObject.qDimensionInfo.qLocked,B={isLocked:F,column:!a,pages:i,...F||l()?{}:s,checkboxes:r,layoutOptions:w,frequencyMode:c,freqIsAllowed:x,isSingleSelect:d,textAlign:p,itemPadding:N,frequencyWidth:D,actions:{select:f,confirm:()=>m?.confirm.call(m),cancel:()=>m?.cancel.call(m),setScrollPosition:E},frequencyMax:R,histogram:u,keyboard:h,showGray:q,showTick:k,dataOffset:o.current.dataOffset,focusListItems:S,direction:y};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(Wi,$i({},M,{dataTestid:"fixed-size-list",scrollDisabled:I?.active,height:_,width:n,itemCount:b,itemData:{...B,listCount:b},itemSize:P,onItemsRendered:t=>{O({start:t.visibleStartIndex,stop:t.visibleStopIndex}),g&&g.setScrollPos(t.visibleStopIndex),Ui({renderProps:t,layoutOptions:w,maxCount:v.maxCount,columnCount:T,rowCount:A,overflowDisclaimer:C,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Oi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=v,{layoutOrder:s}=w||{},c=Math.min(_,A*P+l);return o.current.listRef=a,t.createElement(Hi,$i({},M,{dataTestid:"fixed-size-grid",scrollDisabled:I?.active,height:c,width:n,columnCount:T,columnWidth:L,rowCount:A,rowHeight:P,style:{...i},itemData:{...B,column:void 0,columnCount:T,rowCount:A},onItemsRendered:t=>{const n="row"===s;O({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,m;return n&&n.setScrollPos(u),"column"===r?(d=s*o,f=i,p=c*o,m=l):(d=s,f=i*a,p=c,m=l*a),{visibleStartIndex:d+f,visibleStopIndex:p+m}}({renderProps:t,scrollState:g,layoutOrder:s,rowCount:A,columnCount:T});Ui({renderProps:t,layoutOptions:w,maxCount:v.maxCount,columnCount:T,rowCount:A,overflowDisclaimer:C,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Oi)}}}({direction:l,layout:o,height:c,width:u,checkboxes:I,frequencyMode:d,histogram:R,keyboard:q,showGray:g,interactionEvents:B,select:j,textAlign:te,isVertical:H,pages:k,selectDisabled:v,isSingleSelect:O,selections:a,scrollState:y,local:w,sizes:Q,listCount:J,overflowDisclaimer:{state:T,set:e=>D((t=>({...t,show:e})))},setScrollPosition:ee,focusListItems:{first:ne.first,setFirst:e=>re((t=>({...t,first:e}))),last:ne.last,setLast:e=>re((t=>({...t,last:e})))},setCurrentScrollIndex:C.set,constraints:r,frequencyMax:oe,freqIsAllowed:Y}),{columnWidth:le,listHeight:se,itemHeight:ce}=Q||{};return H||(W=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:le,listHeight:se,itemHeight:ce})),t.createElement(t.Fragment,null,!J&&t.createElement(Ps,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(zo,{isItemLoaded:F,itemCount:J||1,loadMoreItems:A.with({minimumBatchSize:W}),threshold:0,minimumBatchSize:W,ref:x},H?ae:ie),T.show&&!T.dismissed&&t.createElement(Fs,{text:"Listbox.ItemsOverflow",dismiss:()=>D((e=>({...e,dismissed:!0}))),parentWidth:x?.current?._listRef?.props?.width,dense:G?.dense}))}const zs=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"}}]}),Vs=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"}}]}),Zs=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"}}]}),Us=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"}}]}),$s=({layout:e,model:t,translator:n,selectionState:r})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:zs,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:Zs,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:Vs,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:Us,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}];function Ws(e){return(0,je.Z)("MuiDivider",e)}const Hs=(0,Be.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ks=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Xs=(0,Et.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,Ae.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,gn.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"})),(({theme:e,ownerState:t})=>(0,Ae.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>(0,Ae.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>(0,Ae.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%"}}))),Ys=(0,Et.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,Ae.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)`}))),Qs=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,Ks),m=(0,Ae.Z)({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:f}),h=(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,Ws,r)})(m);return(0,de.jsx)(Xs,(0,Ae.Z)({as:i,className:(0,pt.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,de.jsx)(Ys,{className:h.wrapper,ownerState:m,children:o}):null}))})),Js=Qs,ec=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 tc(e){const t=ie(),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 nc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=ie(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=tc(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return t.createElement(cr,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:d,disabled:l,style:s,className:"njs-cell-action",size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList"},c&&an(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),rc=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"}}]}),oc=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"}}]}),ac=e=>an(oc(e)),ic=t.createContext({});var lc=o(18974);function sc(e){return(0,je.Z)("MuiListItemIcon",e)}const cc=(0,Be.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),uc=(0,Be.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function dc(e){return(0,je.Z)("MuiMenuItem",e)}const fc=(0,Be.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),pc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],mc=(0,Et.ZP)(rr,{shouldForwardProp:e=>(0,Et.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,Ae.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"}},[`&.${fc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${fc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${fc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,gn.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,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${fc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${fc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Hs.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Hs.inset}`]:{marginLeft:52},[`& .${uc.root}`]:{marginTop:0,marginBottom:0},[`& .${uc.inset}`]:{paddingLeft:36},[`& .${cc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,Ae.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${cc.root} svg`]:{fontSize:"1.25rem"}})))),hc=t.forwardRef((function(e,n){const r=(0,St.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,Te.Z)(r,pc),m=t.useContext(ic),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,lc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const g=(0,Ae.Z)({},r,{dense:h.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,dc,i);return(0,Ae.Z)({},i,s)})(r),v=(0,yn.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,de.jsx)(ic.Provider,{value:h,children:(0,de.jsx)(mc,(0,Ae.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,pt.Z)(y.focusVisible,c),className:(0,pt.Z)(y.root,f)},p,{ownerState:g,classes:y}))})})),qc=hc,gc=["className"],yc=(0,Et.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,Ae.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),vc=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,Te.Z)(r,gc),i=t.useContext(ic),l=(0,Ae.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,sc,n)})(l);return(0,de.jsx)(yc,(0,Ae.Z)({className:(0,pt.Z)(s.root,o),ownerState:l,ref:n},a))})),bc=vc;function Cc(e){return(0,je.Z)("MuiList",e)}o(96506),(0,Be.Z)("MuiList",["root","padding","dense","subheader"]);const Ec=["children","className","component","dense","disablePadding","subheader"],Sc=(0,Et.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,Ae.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Oc=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,Te.Z)(r,Ec),d=t.useMemo((()=>({dense:l})),[l]),f=(0,Ae.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,Cc,t)})(f);return(0,de.jsx)(ic.Provider,{value:d,children:(0,de.jsxs)(Sc,(0,Ae.Z)({as:i,className:(0,pt.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Ic=Oc,Rc=jr,xc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function wc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Lc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Nc(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 _c(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")&&Nc(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Pc=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,Te.Z)(e,xc),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,lc.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=`${Rc((0,fr.Z)(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=(0,yn.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)))}));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,de.jsx)(Ic,(0,Ae.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,fr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),_c(t,r,c,s,wc);else if("ArrowUp"===n)e.preventDefault(),_c(t,r,c,s,Lc);else if("Home"===n)e.preventDefault(),_c(t,null,c,s,wc);else if("End"===n)e.preventDefault(),_c(t,null,c,s,Lc);else if(1===n.length){const o=m.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&&Nc(r,o);o.previousKeyMatched&&(l||_c(t,r,!1,s,wc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:g}))}));function Ac(){return Ac=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},Ac.apply(this,arguments)}const Tc="More-icon",Dc=(0,Et.ZP)(Fo)((({theme:e})=>({pointerEvents:"none",[`& .${Tc}`]:{color:e.palette.text.primary}})));function kc({item:e,onActionClick:n=(()=>{})}){const{hidden:r,disabled:o,hasSvgIconShape:a}=tc(e);return r?null:t.createElement(qc,{title:e.label,onClick:()=>{e.action(),n()},disabled:o,tabindex:"0"},a&&t.createElement(bc,{className:Tc},an(e.getSvgIconShape())),t.createElement(qn,{noWrap:!0},e.label))}const Mc=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>e.length>0&&t.createElement(Dc,Ac({},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"}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}}),t.createElement(Pc,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(kc,{key:n,item:e,onActionClick:i}))))))),Fc="ActionsToolbar-item",Bc="ActionsToolbar-itemSpacing",jc="ActionsToolbar-firstItemSpacing",Gc="ActionsToolbar-lastItemSpacing",zc=(0,Et.ZP)(Fo)((({theme:e})=>({[`& .${Bc}`]:{padding:e.spacing(0,.5)},[`& .${jc}`]:{padding:e.spacing(0,.5,0,0)},[`& .${Gc}`]:{padding:e.spacing(0,0,0,.5)}}))),Vc=t.forwardRef((({ariaExpanded:e=!1,actions:n=[],first:r=!1,last:o=!1,addAnchor:a=!1,isRtl:i=!1},l)=>n.length>0?t.createElement(Tt,{item:!0,container:!0,gap:0,flexDirection:i?"row-reverse":"row",wrap:"nowrap"},n.map(((i,s)=>{let c=[];const u=r&&0===s,d=o&&n.length-1===s;return u&&!d&&(c=[jc,Fc]),d&&!u&&(c=[...c,Gc,Fc]),u||d||0!==c.length||(c=[Bc,Fc]),t.createElement(Tt,{item:!0,key:i.key,className:c.join(" ").trim()},t.createElement(nc,{ariaExpanded:e,key:i.key,item:i,ref:0===s?l:null,addAnchor:a}))}))):null)),Zc={pointerEvents:"none"},Uc={vertical:"top",horizontal:"right"},$c={vertical:"bottom",horizontal:"right"},Wc=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"}){const u=function({api:e,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}){const{translator:a}=(0,t.useContext)(et);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:oc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:t=>{o(t),r(),e.cancel()},getSvgIconShape:rc},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:t=>{o(t),n(),e.confirm()},getSvgIconShape:Wo}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(et),[p,m]=(0,t.useState)(!1),h=(0,t.useRef)(),q=(0,t.useRef)(),g=ie(),y=(0,t.useMemo)((()=>({margin:g.spacing(.5,0)}))),v=e=>{const t=q.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};(0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=v(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=v(!0);e&&e.focus()})))}),[]);let b=a.enabled,C=a.actions;const E=a.alignTo||h,S=n.filter((e=>!e.hidden));if(S.length>r){const e=S.splice(-(S.length-r)-1);b=!0,C=[...e,...a.actions]}if(!o.show&&0===S.length)return null;const O={key:"more",label:d.get("Menu.More"),getSvgIconShape:ec,hidden:!1,active:p,enabled:()=>b,action:()=>m(!p)},I=f&&l&&l.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&v(!1)===e.target||!e.shiftKey&&v(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,R=S.length>0,x=C.length>0,w=R&&o.show||x&&o.show,L="rtl"===c,N=t.createElement(Tt,{ref:q,onKeyDown:I,container:!0,gap:0,wrap:"nowrap",sx:{flexDirection:L?"row-reverse":"row"}},R&&t.createElement(Vc,{actions:S,first:!0,last:!x&&!o.show}),x&&t.createElement(Vc,{ref:h,ariaExpanded:p,actions:[O],first:!R,last:!o.show,addAnchor:!0}),w&&t.createElement(Tt,{item:!0,className:Bc,style:y},t.createElement(Js,{orientation:"vertical"})),o.show&&t.createElement(Vc,{actions:u,first:!R&&!x,last:!0,isRtl:L}),p&&t.createElement(Mc,{show:p,actions:C,alignTo:E,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(zc,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:Uc,transformOrigin:$c,hideBackdrop:!0,style:Zc,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.8)}}},N):e&&N};function Hc(e){return(0,je.Z)("MuiInputAdornment",e)}const Kc=(0,Be.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Xc;const Yc=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Qc=(0,Et.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,cn.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Kc.positionStart}&:not(.${Kc.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Jc=t.forwardRef((function(e,n){const r=(0,St.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,Te.Z)(r,Yc),f=sa()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const m=(0,Ae.Z)({},r,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:l,position:c,variant:p}),h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e,l={root:["root",n&&"disablePointerEvents",o&&`position${(0,cn.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,cn.Z)(a)}`]};return(0,Ct.Z)(l,Hc,t)})(m);return(0,de.jsx)(la.Provider,{value:null,children:(0,de.jsx)(Qc,(0,Ae.Z)({as:i,ownerState:m,className:(0,pt.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,de.jsxs)(t.Fragment,{children:["start"===c?Xc||(Xc=(0,de.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,de.jsx)(qn,{color:"text.secondary",children:o})}))})})),eu=Jc;var tu;const nu=["children","classes","className","label","notched"],ru=(0,Et.ZP)("fieldset")({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%"}),ou=(0,Et.ZP)("legend")((({ownerState:e,theme:t})=>(0,Ae.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,Ae.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 au(e){return(0,je.Z)("MuiInputBase",e)}const iu=(0,Be.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,je.Z)("MuiOutlinedInput",e)}const su=(0,Ae.Z)({},iu,(0,Be.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var cu=o(56918),uu=o(89128);const du=["onChange","maxRows","minRows","style","value"];function fu(e){return parseInt(e,10)||0}const pu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function mu(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const hu=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=_r(e,du),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,Pr.Z)(n,u),f=t.useRef(null),p=t.useRef(0),[m,h]=t.useState({outerHeightStyle:0}),q=t.useCallback((()=>{const t=u.current,n=(0,Br.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=fu(n.paddingBottom)+fu(n.paddingTop),s=fu(n.borderBottomWidth)+fu(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();mu(e)||h((t=>g(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,uu.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();mu(e)||ft.flushSync((()=>{h((t=>g(t,e)))}))})()}));let t;const n=u.current,r=(0,Br.Z)(n);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(n)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,kr.Z)((()=>{y()})),t.useEffect((()=>{p.current=0}),[l]),(0,de.jsxs)(t.Fragment,{children:[(0,de.jsx)("textarea",Nr({value:l,onChange:e=>{p.current=0,c||y(),r&&r(e)},ref:d,rows:a,style:Nr({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,de.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:Nr({},pu,i,{padding:0})})]})}));function qu(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,de.jsx)(Dn,{styles:r})}const gu=function(e){return(0,de.jsx)(qu,(0,Ae.Z)({},e,{defaultTheme:ae.Z}))};function yu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const vu=["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"],bu=(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,cn.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Cu=(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]},Eu=(0,Et.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:bu})((({theme:e,ownerState:t})=>(0,Ae.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",[`&.${iu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,Ae.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Su=(0,Et.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Cu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,Ae.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,Ae.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] + .${iu.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},[`&.${iu.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"})})),Ou=(0,de.jsx)(gu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Iu=t.forwardRef((function(e,n){var r;const o=(0,St.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:m,fullWidth:h=!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:N,readOnly:_,renderSuffix:P,rows:A,slotProps:T={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,Te.Z)(o,vu),j=null!=y.value?y.value:F,{current:G}=t.useRef(null!=j),z=t.useRef(),V=t.useCallback((e=>{}),[]),Z=(0,yn.Z)(z,v,y.ref,V),[U,$]=t.useState(!1),W=sa(),H=da({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:U,t.useEffect((()=>{!W&&f&&U&&($(!1),O&&O())}),[W,f,U,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(yu(e.value)&&""!==e.value||t&&yu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,lc.Z)((()=>{G&&Y({value:j})}),[j,Y,G]),t.useEffect((()=>{Y(z.current)}),[]);let Q=g,J=y;E&&"input"===Q&&(J=A?(0,Ae.Z)({type:void 0,minRows:A,maxRows:A},J):(0,Ae.Z)({type:void 0,maxRows:b,minRows:C},J),Q=hu),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,Ae.Z)({},o,{color:H.color||"primary",disabled:H.disabled,endAdornment:m,error:H.error,focused:H.focused,formControl:W,fullWidth:h,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:m}=e,h={root:["root",`color${(0,cn.Z)(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===f&&"sizeSmall",u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,Ct.Z)(h,au,t)})(ee),ne=D.root||c.Root||Eu,re=T.root||u.root||{},oe=D.input||c.Input||Su;return J=(0,Ae.Z)({},J,null!=(r=T.input)?r:u.input),(0,de.jsxs)(t.Fragment,{children:[!p&&Ou,(0,de.jsxs)(ne,(0,Ae.Z)({},re,!Xr(ne)&&{ownerState:(0,Ae.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{z.current&&e.currentTarget===e.target&&z.current.focus(),R&&R(e)}},B,{className:(0,pt.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,de.jsx)(la.Provider,{value:null,children:(0,de.jsx)(oe,(0,Ae.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?z.current:{value:"x"})},name:S,placeholder:N,readOnly:_,required:H.required,rows:A,value:j,onKeyDown:w,onKeyUp:L,type:M},J,!Xr(oe)&&{as:Q,ownerState:(0,Ae.Z)({},ee,J.ownerState)},{ref:Z,className:(0,pt.Z)(te.input,J.className,_&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),y.onBlur&&y.onBlur(e),W&&W.onBlur?W.onBlur(e):$(!1)},onChange:(e,...t)=>{if(!G){const t=e.target||z.current;if(null==t)throw new Error((0,cu.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):$(!0))}}))}),m,P?P((0,Ae.Z)({},H,{startAdornment:k})):null]}))]})})),Ru=Iu,xu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],wu=(0,Et.ZP)(Eu,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:bu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Ae.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${su.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${su.focused} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${su.error} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${su.disabled} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,Ae.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Lu=(0,Et.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,Te.Z)(e,nu),a=null!=n&&""!==n,i=(0,Ae.Z)({},e,{notched:r,withLabel:a});return(0,de.jsx)(ru,(0,Ae.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,de.jsx)(ou,{ownerState:i,children:a?(0,de.jsx)("span",{children:n}):tu||(tu=(0,de.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}})),Nu=(0,Et.ZP)(Su,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Cu})((({theme:e,ownerState:t})=>(0,Ae.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}))),_u=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,St.Z)({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:m,slots:h={},type:q="text"}=s,g=(0,Te.Z)(s,xu),y=(e=>{const{classes:t}=e,n=(0,Ct.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},lu,t);return(0,Ae.Z)({},t,n)})(s),v=sa(),b=da({props:s,muiFormControl:v,states:["required"]}),C=(0,Ae.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=h.root)?o:c.Root)?r:wu,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:Nu;return(0,de.jsx)(Ru,(0,Ae.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,de.jsx)(Lu,{ownerState:C,className:y.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,de.jsxs)(t.Fragment,{children:[f," ","*"]})):f,notched:void 0!==m?m:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:d,multiline:p,ref:n,type:q},g,{classes:(0,Ae.Z)({},y,{notchedOutline:null})}))}));_u.muiName="Input";const Pu=_u,Au=e=>an((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)),Tu="/qListObjectDef",Du=(0,Et.ZP)(eu)((({theme:e})=>({color:e.listBox?.content?.color}))),ku=(0,Et.ZP)(Pu)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function Mu({selections:e,selectionState:n,model:r,keyboard:o,dense:a=!1,visible:i=!0,autoFocus:l=!0,wildCardSearch:s=!1,searchEnabled:c,direction:u}){const{translator:d}=(0,t.useContext)(et),[f,p]=(0,t.useState)(""),[m,h]=(0,t.useState)(!1),q=(0,t.useRef)(),g=ie(),{getStoreValue:y}=Ji(r),v="rtl"===u,b=v?"right":"left",C=async()=>{if(e.isModal())try{await r.abortListObjectSearch(Tu)}finally{p("")}};(0,t.useEffect)((()=>{i||C()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",C),()=>{e.removeListener&&e.removeListener("deactivated",C)})),[]),(0,t.useEffect)((()=>{if(m&&q.current){const e=f.length-1;q.current.setSelectionRange(e,e),h(!1)}}),[m,q.current]);return i&&!1!==c?t.createElement(ku,{startAdornment:t.createElement(Du,{position:"start"},t.createElement(Au,{size:a?"small":"normal"})),className:"search",sx:[{border:"none",fontSize:14,borderRadius:0,backgroundColor:"transparent","& fieldset":{border:`1px solid ${g.palette.divider}`,borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"},paddingLeft:"9px"},a&&{fontSize:12,paddingLeft:g.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:v?"row-reverse":"row"}],inputRef:q,size:"small",fullWidth:!0,placeholder:d.get("Listbox.Search"),value:f,onFocus:()=>{s&&(p("**"),h(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(p(e.target.value),e.target.value.length?r.searchListObjectFor(Tu,e.target.value):C()),onKeyDown:async t=>{let o;switch(t.key){case"Enter":o=await(async()=>{let t;return await r.searchListObjectFor(Tu,f)&&f.length&&y("listCount")>0&&(t=r.acceptListObjectSearch(Tu,!0),e.selectionsMade=!0,n.clearItemStates(!1),p("")),t})();break;case"Escape":o=e.isActive()&&e.cancel(),t.preventDefault(),t.stopPropagation()}return o},autoFocus:l,inputProps:{tabIndex:!o||o.enabled&&!o.active?-1:0,style:{textAlign:`${b}`}}}):null}function Fu(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const Bu=({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(n,e,!0))},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(n),goModal:e=>t.begin(n,e,!1),noModal:(e=!1)=>t.end(e)};return Fu(i),i};function ju(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=ut(e),[l]=en(n),s=n?n.id:null,[c]=ot(),[u]=it(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=Bu({appSelections:i,appModal:d,model:n}),u.set(s,f),u.dispatch(!0))}),[i,n]),(0,t.useEffect)((()=>{if(!f)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=(({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?.()}}})({elements:a,objectSelections:f,options:o});return f.addListener("activated",e),f.addListener("deactivated",t),()=>{f.removeListener("activated",e),f.removeListener("deactivated",t)}}),[f]),(0,t.useEffect)((()=>{f&&f.setLayout(l)}),[f,l]),[f]}function Gu(){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,!!Vo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return Zo(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 zu=(e,t,n)=>e?.[t]??n;function Vu({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}){const u=Boolean(l?.qLibraryId),d=o&&Boolean(e.current),[f,p]=(0,t.useState)(0),m=ie(),[h]=Kt({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:u?void 0:[l]},qLibraryId:u?l.qLibraryId:void 0}},i,l,s),q=(0,t.useCallback)((()=>{h.lock("/qListObjectDef")}),[h]),g=(0,t.useCallback)((()=>{h.unlock("/qListObjectDef")}),[h]),{translator:y}=(0,t.useContext)(et),v=(0,t.useRef)(),b=(0,t.useRef)(),[C]=ju(i,h,b),[E]=en(h),[S]=(0,t.useState)((()=>Gu()));if((0,t.useEffect)((()=>{C&&d&&(C.isModal(h)||C.goModal("/qListObjectDef"))}),[C,d]),!h||!E||!y)return null;const O=!0===E.qListObject.qDimensionInfo.qLocked,I=(e,t)=>{const n="escapeKeyDown"!==t;C.noModal(n),a()},R=$s({layout:E,model:h,translator:y,selectionState:S}),x=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return zu(t,"qSelected",0)+zu(t,"qSelectedExcluded",0)+zu(t,"qLocked",0)+zu(t,"qLockedExcluded",0)>0}(E);return t.createElement(Fo,{open:d,onClose:I,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Tt,{container:!0,direction:"column",gap:0,ref:b},t.createElement(Tt,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Tt,{item:!0},O?t.createElement(cr,{onClick:g,disabled:!O,size:"large"},t.createElement(sn,{title:y.get("Listbox.Unlock")})):t.createElement(cr,{onClick:q,disabled:!x,size:"large"},t.createElement(ur,{title:y.get("Listbox.Lock")}))),t.createElement(Tt,{item:!0,xs:!0}),t.createElement(Tt,{item:!0},t.createElement(Wc,{more:{enabled:!O,actions:R,alignTo:v,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:C,onConfirm:I,onCancel:()=>I(0,"escapeKeyDown")}}))),t.createElement(Tt,{item:!0,xs:!0},t.createElement("div",{ref:v}),t.createElement(Mu,{visible:!0,model:h,listCount:f,selections:C,selectionState:S,keyboard:{enabled:!1},autoFocus:c??!0}),t.createElement(Gs,{model:h,app:i,layout:E,selections:C,selectionState:S,direction:"ltr",onSetListCount:e=>p(e)}))))}function Zu({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(et),s=a||(0,t.useRef)(),c=ie(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const m=p.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},h=(m.qSelected+m.qLocked)/p.qTotal,q=m.qAlternative/p.qTotal,g=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/p.qTotal,y=m.qSelected+m.qSelectedExcluded+m.qLocked+m.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:h},{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(Tt,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(sn,null))):p.qOneAndOnlyOne||(S=t.createElement(Tt,{item:!0},t.createElement(cr,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(ln,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(Tt,{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(Vu,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(Vu,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const Uu=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function $u(e){return(0,je.Z)("MuiBadge",e)}const Wu=(0,Be.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"]),Hu=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Ku=(0,Et.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Xu=(0,Et.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,cn.Z)(n.anchorOrigin.vertical)}${(0,cn.Z)(n.anchorOrigin.horizontal)}${(0,cn.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,Ae.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Yu=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,St.Z)({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:f={},componentsProps:p={},children:m,overlap:h="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,Te.Z)(s,Hu),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=Uu({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=Uu({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),N=R||null==I&&"dot"!==S,{color:_=q,overlap:P=h,anchorOrigin:A=c,variant:T=S}=N?L:s,D="dot"!==T?w:void 0,k=(0,Ae.Z)({},s,{badgeContent:I,invisible:N,max:x,displayValue:D,showZero:E,anchorOrigin:A,color:_,overlap:P,variant:T}),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,cn.Z)(n.vertical)}${(0,cn.Z)(n.horizontal)}`,`anchorOrigin${(0,cn.Z)(n.vertical)}${(0,cn.Z)(n.horizontal)}${(0,cn.Z)(o)}`,`overlap${(0,cn.Z)(o)}`,"default"!==t&&`color${(0,cn.Z)(t)}`]};return(0,Ct.Z)(l,$u,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:Ku,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:Xu,j=null!=(i=null==C?void 0:C.root)?i:p.root,G=null!=(l=null==C?void 0:C.badge)?l:p.badge,z=ro({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,pt.Z)(null==j?void 0:j.className,M.root,u)}),V=ro({elementType:B,externalSlotProps:G,ownerState:k,className:(0,pt.Z)(M.badge,null==G?void 0:G.className)});return(0,de.jsxs)(F,(0,Ae.Z)({},z,{children:[m,(0,de.jsx)(B,(0,Ae.Z)({},V,{children:D}))]}))})),Qu=Yu;var Ju=o(33498);function ed(e){return(0,je.Z)("MuiListItem",e)}const td=(0,Be.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),nd=(0,Be.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function rd(e){return(0,je.Z)("MuiListItemSecondaryAction",e)}(0,Be.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const od=["className"],ad=(0,Et.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,Ae.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),id=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,Te.Z)(r,od),i=t.useContext(ic),l=(0,Ae.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,Ct.Z)(r,rd,n)})(l);return(0,de.jsx)(ad,(0,Ae.Z)({className:(0,pt.Z)(s.root,o),ownerState:l,ref:n},a))}));id.muiName="ListItemSecondaryAction";const ld=id,sd=["className"],cd=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],ud=(0,Et.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,Ae.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,Ae.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${nd.root}`]:{paddingRight:48}},{[`&.${td.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${td.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${td.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${td.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"}},[`&.${td.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,gn.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,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),dd=(0,Et.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),fd=t.forwardRef((function(e,n){const r=(0,St.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:m=!1,disabled:h=!1,disableGutters:q=!1,disablePadding:g=!1,divider:y=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,Te.Z)(r.ContainerProps,sd),I=(0,Te.Z)(r,cd),R=t.useContext(ic),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),w=t.useRef(null);(0,lc.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const L=t.Children.toArray(l),N=L.length&&(0,Ju.Z)(L[L.length-1],["ListItemSecondaryAction"]),_=(0,Ae.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:h,disableGutters:q,disablePadding:g,divider:y,hasSecondaryAction:N,selected:C}),P=(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,ed,r)})(_),A=(0,yn.Z)(w,n),T=S.root||u.Root||ud,D=E.root||d.root||{},k=(0,Ae.Z)({className:(0,pt.Z)(P.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,pt.Z)(td.focusVisible,v),M=rr),N?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,de.jsx)(ic.Provider,{value:x,children:(0,de.jsxs)(dd,(0,Ae.Z)({as:f,className:(0,pt.Z)(P.container,p),ref:A,ownerState:_},O,{children:[(0,de.jsx)(T,(0,Ae.Z)({},D,!Xr(T)&&{as:M,ownerState:(0,Ae.Z)({},_,D.ownerState)},k,{children:L})),L.pop()]}))})):(0,de.jsx)(ic.Provider,{value:x,children:(0,de.jsxs)(T,(0,Ae.Z)({},D,{as:M,ref:A},!Xr(T)&&{ownerState:(0,Ae.Z)({},_,D.ownerState)},k,{children:[L,b&&(0,de.jsx)(ld,{children:b})]}))})})),pd=fd;var md=o(67605);const hd=t.createContext({}),qd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],gd=e=>(0,Ae.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}}),yd=(0,Et.ZP)(rr,{shouldForwardProp:e=>(0,Et.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,cn.Z)(n.color)}`],t[`size${(0,cn.Z)(n.size)}`],t[`${n.variant}Size${(0,cn.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return(0,Ae.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,Ae.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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,gn.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,gn.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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,Ae.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ze.focusVisible}`]:(0,Ae.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ze.disabled}`]:(0,Ae.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,gn.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).palette.grey[300],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"},[`&.${ze.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ze.disabled}`]:{boxShadow:"none"}})),vd=(0,Et.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,cn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,Ae.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},gd(e)))),bd=(0,Et.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,cn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,Ae.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},gd(e)))),Cd=t.forwardRef((function(e,n){const r=t.useContext(hd),o=(0,md.Z)(r,e),a=(0,St.Z)({props:o,name:"MuiButton"}),{children:i,color:l="primary",component:s="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:m,fullWidth:h=!1,size:q="medium",startIcon:g,type:y,variant:v="text"}=a,b=(0,Te.Z)(a,qd),C=(0,Ae.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:y,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,cn.Z)(t)}`,`size${(0,cn.Z)(o)}`,`${a}Size${(0,cn.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,cn.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,cn.Z)(o)}`]},s=(0,Ct.Z)(l,Ge,i);return(0,Ae.Z)({},i,s)})(C),S=g&&(0,de.jsx)(vd,{className:E.startIcon,ownerState:C,children:g}),O=p&&(0,de.jsx)(bd,{className:E.endIcon,ownerState:C,children:p});return(0,de.jsxs)(yd,(0,Ae.Z)({ownerState:C,className:(0,pt.Z)(r.className,E.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,pt.Z)(E.focusVisible,m),ref:n,type:y},b,{classes:E,children:[S,i,O]}))})),Ed=Cd,Sd=e=>an((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)),Od="MultiState-item",Id=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${Od}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Rd({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)(et),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Tt,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(Qu,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(qn,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Tt,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(Sd,null)))));const q=t.createElement(Ic,{dense:!0},t.createElement(pd,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Ed,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(pd,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(vi,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(Zu,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=t.createElement(Fo,{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(Id,{container:!0,gap:0,className:Od,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&g,l>-1&&t.createElement(Vu,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return r&&l>-1?t.createElement(Vu,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const xd="More-item",wd="More-badge",Ld=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${xd}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${wd}`]:{padding:e.spacing(0,1)}})));function Nd({items:e=[],api:n}){const r=ie(),[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(Rd,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(Zu,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Ld,{container:!0,gap:0,className:xd,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Tt,{item:!0},t.createElement(vi,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(Sd,null))),o&&t.createElement(Fo,{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(Ic,{dense:!0},e.map(((e,r)=>t.createElement(pd,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(vi,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Rd,{field:e,api:n}):t.createElement(Zu,{field:e,api:n}))))))),f)}function _d(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 Pd({api:e,app:n}){const r=ie(),[o]=Yt(n),[a]=en(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=st(),[c,u]=nn(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&_d(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>_d(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 e=s.get(n.id);return e&&"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(Tt,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Tt,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:"120px",background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Rd,{field:n,api:e}):t.createElement(Zu,{field:n,api:e})))),i.more.length>0&&t.createElement(Tt,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"72px",background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Nd,{items:i.more,api:e})))}const Ad=e=>an((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)),Td=e=>an((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));function Dd({api:e,app:n}){const{translator:r}=(0,t.useContext)(et),[o]=function(e){const[n]=Yt(e),[r]=en(n),[o]=tn(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&((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)})(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(Tt,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Tt,{item:!0},t.createElement(cr,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(Ad,null))),t.createElement(Tt,{item:!0},t.createElement(cr,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(Td,null))),t.createElement(Tt,{item:!0},t.createElement(cr,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(ac,null))))}const kd=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function Md([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function Fd(){return kd.map(Md).join("")}function Bd({app:e}){const n=ie(),[r]=ut(e);return r?t.createElement(Tt,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Tt,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(Dd,{api:r,app:e})),t.createElement(Tt,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(Pd,{api:r,app:e}))):null}var jd=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gd=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}}(),zd=Object.assign||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},Vd=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},Zd=void 0;Zd="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;var Ud=null,$d=null,Wd=Zd.clearTimeout,Hd=Zd.setTimeout,Kd=Zd.cancelAnimationFrame||Zd.mozCancelAnimationFrame||Zd.webkitCancelAnimationFrame,Xd=Zd.requestAnimationFrame||Zd.mozRequestAnimationFrame||Zd.webkitRequestAnimationFrame;null==Kd||null==Xd?(Ud=Wd,$d=function(e){return Hd(e,20)}):(Ud=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,2),n=t[0],r=t[1];Kd(n),Wd(r)},$d=function(e){var t=Xd((function(){Wd(n),e()})),n=Hd((function(){Kd(t),e()}),20);return[t,n]});var Yd=function(e){function n(){var e,t,r;jd(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=r=Vd(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,f=a-u-d,p=i-s-c;(!t&&r.state.height!==f||!n&&r.state.width!==p)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},Vd(r,t)}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)}(n,e),Gd(n,[{key:"componentDidMount",value:function(){var e=this.props.nonce;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,this._detectElementResize=function(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var 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)){var t=this;i(this),this.__resizeRAF__&&Ud(this.__resizeRAF__),this.__resizeRAF__=$d((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var m=0;m<d.length;m++)if(void 0!==p.style[d[m]+"AnimationName"]){u="-"+d[m].toLowerCase()+"-",r=f[m],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=Zd.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var 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)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var f=u.createElement("div");f.className="expand-trigger",f.appendChild(u.createElement("div"));var p=u.createElement("div");p.className="contract-trigger",a.__resizeTriggers__.appendChild(f),a.__resizeTriggers__.appendChild(p),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())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,n=e.children,r=e.className,o=e.disableHeight,a=e.disableWidth,i=e.style,l=this.state,s=l.height,c=l.width,u={overflow:"visible"},d={},f=!1;return o||(0===s&&(f=!0),u.height=0,d.height=s),a||(0===c&&(f=!0),u.width=0,d.width=c),(0,t.createElement)("div",{className:r,ref:this._setRef,style:zd({},u,i)},!f&&n(d))}}]),n}(t.PureComponent);Yd.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const Qd=Yd,Jd=e=>an((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 ef(){return ef=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},ef.apply(this,arguments)}const tf="ListBoxInline-listBoxHeader",nf="ListBoxInline-screenReaderOnly",rf="ListBoxInline-listboxWrapper",of=(0,Et.ZP)(Tt,{shouldForwardProp:e=>!["containerPadding"].includes(e)})((({theme:e,containerPadding:t})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${tf}`]:{alignSelf:"center",display:"flex",width:"calc(100% - 28px)"},[`& .${nf}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${rf}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}}))),af=(0,Et.ZP)(qn)((({theme:e})=>({color:e.listBox?.title?.main?.color,fontSize:e.listBox?.title?.main?.fontSize,fontFamily:e.listBox?.title?.main?.fontFamily,fontWeight:e.listBox?.title?.main?.fontWeight||"bold"})));function lf({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:m=(()=>!1),postProcessPages:h,calculatePagesHeight:q,showGray:g=!0,scrollState:y}=e;let{toolbar:v=!0}=e;const b=ie(),C=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:E,keyboardNavigation:S,themeApi:O,constraints:I}=(0,t.useContext)(et);b.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(O);const R=(0,t.useRef)(),[x,w]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[L,N]=(0,t.useState)(!1),[_,P]=(0,t.useState)(!1),[A,T]=(0,t.useState)(!1),[D,k]=(0,t.useState)(!1),[M,F]=(0,t.useState)({down:0,up:0,scrollPosition:""}),[B,j]=(0,t.useState)({start:0,stop:0}),[G]=ut(r),z=(0,t.useRef)(null),[V]=(0,t.useState)((()=>Gu())),{handleKeyDown:Z,handleOnMouseEnter:U,handleOnMouseLeave:$}=function({setKeyboardActive:e,hovering:t,setHovering:n,updateKeyScroll:r,containerRef:o,currentScrollIndex:a,app:i,appSelections:l,constraints:s}){const c=e=>{t&&r(e)};return{handleKeyDown:t=>{const{keyCode:n,ctrlKey:r=!1,shiftKey:o=!1}=t.nativeEvent;switch(n){case Xo.ENTER:case Xo.SPACE:if(!t.target.classList.contains("listbox-container"))return;(t=>{const n=t.querySelector(".search input, .value.selector, .value, .ActionsToolbar-item button");e(!0),n&&n.focus()})(t.currentTarget);break;case Xo.ESCAPE:(t=>{t.target?.classList.contains("listbox-container")?e(!1):(t.target?.setAttribute("tabIndex","-1"),t.target?.blur(),t.currentTarget?.setAttribute("tabIndex","0"),t.currentTarget?.focus())})(t);break;case Xo.ARROW_UP:c({up:1});break;case Xo.ARROW_DOWN:c({down:1});break;case Xo.ARROW_LEFT:case Xo.ARROW_RIGHT:return;case Xo.PAGE_UP:c({up:a.stop-a.start});break;case Xo.PAGE_DOWN:c({down:a.stop-a.start});break;case Xo.HOME:c({scrollPosition:r&&o?"overflowStart":"start"});break;case Xo.END:c({scrollPosition:r&&o?"overflowEnd":"end"});break;default:return}t.preventDefault()},handleOnMouseEnter:()=>{(()=>{const e=s?.select||s?.active,t=i.isInModalSelection?.()??l.isInModal();return e||t})()||(n(!0),o?.current?.focus?.())},handleOnMouseLeave:()=>{t&&(n(!1),o?.current?.blur?.())}}}({setKeyboardActive:T,hovering:D,setHovering:k,updateKeyScroll:e=>F((t=>({...t,...e}))),containerRef:R,currentScrollIndex:B,app:r,appSelections:G,constraints:I}),W={enabled:S,active:A};void 0!==n?.toolbar&&(v=n.toolbar);const H=v&&""===n?.title;if(v=v&&""!==n?.title,(0,t.useEffect)((()=>{const e=()=>{N(!0),"toggle"===l&&!1===v&&P(!0)},t=()=>{N(!1),"toggle"===l&&P(!1)};return d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),N(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,v]),(0,t.useEffect)((()=>{if(x&&x.current&&(l&&s||"toggle"===l&&_)){const e=x.current.querySelector("input");e&&e.focus()}}),[x&&x.current,_,l,s]),!u||!n||!E)return null;const K=!0===n.qListObject.qDimensionInfo.qLocked,X="rtl"===o,Y="H"===n.qListObject.qDimensionInfo.qGrouping,Q=$s({layout:n,model:u,translator:E,selectionState:V}),{wildCardSearch:J,searchEnabled:ee,layoutOptions:te={}}=n,ne=(!0===l||"toggle"===l&&_)&&!m()&&!1!==ee,re=te.dense??!1,oe=v?49+(ne?re?27:40:0)+(re?39:49):0,ae=e=>function({isPopover:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a}){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:()=>{},onCancel:()=>{}}}}({isPopover:e,showToolbar:L,containerRef:R,isLocked:K,listboxSelectionToolbarItems:Q,selections:d}),le=ne&&"toggle"===l,se=!1!==ee&&"toggle"===l&&!I?.active,ce=K||se,ue=ce||Y,de=(ce?28:0)+(Y?19:0),fe=9-(ce?7:0),pe=X?9-(ue?7:0):0;let me;return"grid"===te?.dataLayout&&(me="row"===te.layoutOrder?"2px 4px":"2px 6px 2px 4px"),t.createElement(t.Fragment,null,H&&t.createElement(Wc,ef({direction:o},ae(!0))),t.createElement(of,{className:"listbox-container",container:!0,tabIndex:W.enabled&&!W.active?0:-1,direction:"column",gap:0,containerPadding:me,style:{height:"100%",minHeight:`${oe}px`,flexFlow:"column nowrap"},onKeyDown:Z,onMouseEnter:U,onMouseLeave:$,ref:R},v&&t.createElement(Tt,{item:!0,container:!0,style:{padding:b.spacing(1),paddingLeft:`${fe}px`,paddingRight:`${pe}px`},sx:{flexDirection:X?"row-reverse":"row"},wrap:"nowrap"},t.createElement(Tt,{item:!0,container:!0,height:32,sx:{flexDirection:X?"row-reverse":"row"},wrap:"nowrap"},ue&&t.createElement(Tt,{item:!0,sx:{display:"flex",alignItems:"center",width:de}},K?t.createElement(cr,{title:E.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:C,disabled:m(),size:"large"},t.createElement(sn,{disableRipple:!0,style:{fontSize:"12px"}})):se&&t.createElement(cr,{onClick:()=>{P(!_)},tabIndex:-1,title:E.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(Au,{style:{fontSize:"12px"}})),Y&&t.createElement(Jd,{tabIndex:-1,title:E.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Tt,{item:!0,sx:{justifyContent:X?"flex-end":"flex-start"},className:tf},t.createElement(af,{variant:"h6",noWrap:!0,ref:z,title:n.title},n.title))),t.createElement(Tt,{item:!0,xs:!0}),t.createElement(Tt,{item:!0},t.createElement(Wc,ef({direction:o},ae(function({containerRef:e,titleRef:t,iconsWidth:n}){return!!((e?.current?.clientWidth??0)<(t?.current?.clientWidth??0)+n+16+128|t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRef:R,titleRef:z,iconsWidth:de})))))),t.createElement(Tt,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":E.get("Listbox.ResultFilterLabel")},t.createElement(Tt,{item:!0,ref:w},t.createElement("div",{className:nf},E.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(Mu,{selections:d,selectionState:V,model:u,dense:re,keyboard:W,visible:ne,search:l,autoFocus:le,searchContainerRef:w,wildCardSearch:J,searchEnabled:ee,direction:o})),t.createElement(Tt,{item:!0,xs:!0,className:rf},t.createElement("div",{className:nf},E.get("Listbox.ScreenReaderInstructions")),t.createElement(Qd,null,(({height:e,width:l})=>t.createElement(Gs,{model:u,app:r,constraints:I,layout:n,selections:d,selectionState:V,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:i,height:e,width:l,update:f,fetchStart:p,postProcessPages:h,calculatePagesHeight:q,selectDisabled:m,keyboard:W,showGray:g,scrollState:y,keyScroll:{state:M,reset:()=>F({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:B,set:j}})))))))}const sf=t.memo(lf),cf=function({options:e={}}){const{model:n}=e,[r]=en(n);return t.createElement(sf,{options:e,layout:r})},uf=(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 df({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i}){const{isExistingObject:l,hasExternalSelectionsApi:s}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i}),[c,u]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(c)throw new Error("Source or selection Api can not change after a listbox has been mounted");u(c+1)}),[l,s]);const d=l?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=Wt(),{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;(0,t.useEffect)((()=>{const t=o.histogram||"N"!==o.frequencyMode;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:m,checkboxes:h,listLayout:q,properties:g={}}=o;let{frequencyMode:y,histogram:v=!1}=o;switch(a&&a.failedToFetchFieldDef&&(v=!1,y="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(y):y="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(y):y="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(y):y="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(y):y="R";break;default:y="N"}const b={dense:m};"horizontal"===q&&(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=Fd());const E={qInfo:{qType:"njsListbox",qId:C.current},qListObjectDef:{qStateName:r,qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:v&&"N"===y?"V":y,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:v,checkboxes:h,layoutOptions:b,title:p};let S;if(V()(!0,E,g),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==y&&v)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:js(e)}}const[O]=Kt(E,l?null:e,S,r);return(0,t.useEffect)((()=>{O&&u(O)}),[O]),c}({app:e,fieldIdentifier:n,stateName:o,options:i}),f=(0,t.useRef)(a),p=s?i.selectionsApi:ju(e,d,[f,".njs-action-toolbar-more",".njs-action-toolbar-popover"],i)[0],m=(0,t.useMemo)((()=>({...i,selections:p,model:d,app:e})),[i,p,d,e]);return p&&d?t.createElement(cf,{options:m}):null}const ff={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function pf({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(Vu,{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})}function mf(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function hf(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 qf=(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},gf=(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]},yf=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},vf=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},bf=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},Cf=2**53-1;function Ef(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function Sf(e,t){const n=V()(!0,{},t,e);return qf(n,"qOtherTotalSpec.qOtherCounted")||gf(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),qf(n,"qOtherTotalSpec.qOtherLimit")||gf(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function Of(e,t){return V()(!0,{},t,e)}function If(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const Rf={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===qf(e,t)&&gf(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:Ef,importCommonProperties:function(e,t,n){const r="masterobject"===qf(t,"properties.qInfo.qType")?"masterobject":qf(n,"qInfo.qType");gf(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:Sf,createDefaultMeasure:Of,resolveValue:If,getHypercubePath:function(e){const t=qf(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?(vf(t.qInterColumnSortOrder,o),++o):(--o,bf(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=V()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?gf(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||Ef(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=V()(!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=If(o.max,n.dimensions.length,Cf),i=If(o.min,n.dimensions.length,0);return{maxDimensions:If(r.max,a,Cf),minDimensions:If(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(Sf(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(Sf(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(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(Of(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(Of(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=qf(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=qf(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},xf={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=qf(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();yf(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&&(Rf.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&(l=r.qLayoutExclude.quarantine,!(0===Object.keys(l).length&&l.constructor===Object))||delete r.qLayoutExclude,n;var l}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=Rf.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=qf(t,o||"").qHyperCubeDef,s=qf(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=Rf.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=Rf.getDefaultDimension(),defaultMeasure:m=Rf.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,Rf.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&Rf.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),Rf.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),Rf.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),Rf.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),Rf.copyPropertyIfExist("qMaxStackedCells",l,s),Rf.copyPropertyIfExist("qNoOfLeftDims",l,s),Rf.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),Rf.copyPropertyOrSetDefault("qMode",l,s,"S"),Rf.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),Rf.copyPropertyOrSetDefault("qSortbyYValue",l,s),Rf.copyPropertyOrSetDefault("qIndentMode",l,s),Rf.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),Rf.importCommonProperties(i,e,t),Rf.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),Rf.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},wf=e=>qf(e,"data.targets.0.propertyPath"),Lf={hypercube:xf};function Nf(e){return(0,je.Z)("MuiIcon",e)}(0,Be.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _f=["baseClassName","className","color","component","fontSize"],Pf=(0,Et.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],t[`fontSize${(0,cn.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]}))),Af=t.forwardRef((function(e,t){const n=(0,St.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,Te.Z)(n,_f),c=(0,Ae.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,cn.Z)(t)}`,`fontSize${(0,cn.Z)(n)}`]};return(0,Ct.Z)(o,Nf,r)})(c);return(0,de.jsx)(Pf,(0,Ae.Z)({as:i,className:(0,pt.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));Af.muiName="Icon";const Tf=Af,Df=e=>an((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 kf({d:e}){const n=ie();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(qn,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(Tf,null,e.missing||e.error?t.createElement(Df,{style:a}):t.createElement(Ho,{style:a})));return t.createElement(Tt,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Tt,{item:!0},i),t.createElement(Tt,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(qn,{noWrap:!0,component:"p"},t.createElement(qn,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(qn,{component:"span"}," "),t.createElement(qn,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function Mf({data:e}){const n=ie();return t.createElement(Tt,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(kf,{d:e,key:n})));return o.length>0&&t.createElement(Tt,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(qn,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function Ff({title:e="Error",message:n="",data:r=[]}){return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Tt,{item:!0},t.createElement(Df,{style:{fontSize:"38px"}})),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(Mf,{data:r}))}function Bf(e){return(0,je.Z)("MuiCircularProgress",e)}(0,Be.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const jf=["className","color","disableShrink","size","style","thickness","value","variant"];let Gf,zf,Vf,Zf,Uf=e=>e;const $f=Mn(Gf||(Gf=Uf`
75
+ `),Fn.rippleVisible,Un,550,(({theme:e})=>e.transitions.easing.easeInOut),Fn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Fn.child,Fn.childLeaving,$n,550,(({theme:e})=>e.transitions.easing.easeInOut),Fn.childPulsate,Wn,(({theme:e})=>e.transitions.easing.easeInOut)),Xn=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,Te.Z)(r,Bn),[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(null),m=t.useRef(null),h=t.useRef(null);t.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const q=t.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c((e=>[...e,(0,de.jsx)(Kn,{classes:{ripple:(0,pt.Z)(a.ripple,Fn.ripple),rippleVisible:(0,pt.Z)(a.rippleVisible,Fn.rippleVisible),ripplePulsate:(0,pt.Z)(a.ripplePulsate,Fn.ripplePulsate),child:(0,pt.Z)(a.child,Fn.child),childLeaving:(0,pt.Z)(a.childLeaving,Fn.childLeaving),childPulsate:(0,pt.Z)(a.childPulsate,Fn.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:h.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===m.current&&(m.current=()=>{q({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},p.current=setTimeout((()=>{m.current&&(m.current(),m.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)&&m.current)return m.current(),m.current=null,void(p.current=setTimeout((()=>{v(e,t)})));m.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,de.jsx)(Hn,(0,Ae.Z)({className:(0,pt.Z)(Fn.root,a.root,i),ref:h},l,{children:(0,de.jsx)(Pn,{component:null,exit:!0,children:s})}))})),Yn=Xn;function Qn(e){return(0,je.Z)("MuiButtonBase",e)}const Jn=(0,Be.Z)("MuiButtonBase",["root","disabled","focusVisible"]),er=["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"],tr=(0,Et.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"},[`&.${Jn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),nr=t.forwardRef((function(e,n){const r=(0,St.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:m,onClick:h,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:N,type:_}=r,P=(0,Te.Z)(r,er),A=t.useRef(null),T=t.useRef(null),D=(0,yn.Z)(T,N),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,bn.Z)(),[j,G]=t.useState(!1);c&&j&&G(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{G(!0),A.current.focus()}})),[]);const[z,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const Z=z&&!u&&!c;function U(e,t,n=d){return(0,vn.Z)((r=>(t&&t(r),!n&&T.current&&T.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&z&&T.current.pulsate()}),[u,f,j,z]);const $=U("start",E),W=U("stop",q),H=U("stop",g),K=U("stop",O),X=U("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=U("start",x),Q=U("stop",I),J=U("stop",R),ee=U("stop",(e=>{F(e),!1===k.current&&G(!1),m&&m(e)}),!1),te=(0,vn.Z)((e=>{A.current||(A.current=e.currentTarget),M(e),!0===k.current&&(G(!0),v&&v(e)),y&&y(e)})),ne=()=>{const e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,vn.Z)((e=>{f&&!re.current&&j&&T.current&&" "===e.key&&(re.current=!0,T.current.stop(e,(()=>{T.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(),h&&h(e))})),ae=(0,vn.Z)((e=>{f&&" "===e.key&&T.current&&j&&!e.defaultPrevented&&(re.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),C&&C(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ie=s;"button"===ie&&(P.href||P.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===_?"button":_,le.disabled=c):(P.href||P.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,yn.Z)(n,B,A),ce=(0,Ae.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,Ct.Z)(a,Qn,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return(0,de.jsxs)(tr,(0,Ae.Z)({as:ie,className:(0,pt.Z)(ue.root,l),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:W,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:$,onMouseLeave:X,onMouseUp:K,onDragLeave:H,onTouchEnd:Q,onTouchMove:J,onTouchStart:Y,ref:se,tabIndex:c?-1:w,type:_},le,P,{children:[i,Z?(0,de.jsx)(Yn,(0,Ae.Z)({ref:D,center:a},L)):null]}))})),rr=nr;function or(e){return(0,je.Z)("MuiIconButton",e)}const ar=(0,Be.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ir=["edge","children","className","color","disabled","disableFocusRipple","size"],lr=(0,Et.ZP)(rr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],n.edge&&t[`edge${(0,cn.Z)(n.edge)}`],t[`size${(0,cn.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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,gn.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,Ae.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,Ae.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,Ae.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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)},{[`&.${ar.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),sr=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,ir),d=(0,Ae.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,cn.Z)(r)}`,o&&`edge${(0,cn.Z)(o)}`,`size${(0,cn.Z)(a)}`]};return(0,Ct.Z)(i,or,t)})(d);return(0,de.jsx)(lr,(0,Ae.Z)({className:(0,pt.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),cr=sr,ur=e=>an((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));var dr=o(37258),fr=o(11619),pr=o(94575);var mr="unmounted",hr="exited",qr="entering",gr="entered",yr="exiting",vr=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=qr):o=gr:o=t.unmountOnExit||t.mountOnEnter?mr:hr,r.state={status:o},r.nextCallback=null,r}In(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===mr?{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!==qr&&n!==gr&&(t=qr):n!==qr&&n!==gr||(t=yr)}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===qr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ft.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:mr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[ft.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:qr},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:gr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:gr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ft.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:yr},(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:ft.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===mr)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,Cn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Rn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function br(){}vr.contextType=Rn,vr.propTypes={},vr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:br,onEntering:br,onEntered:br,onExit:br,onExiting:br,onExited:br},vr.UNMOUNTED=mr,vr.EXITED=hr,vr.ENTERING=qr,vr.ENTERED=gr,vr.EXITING=yr;const Cr=vr,Er=e=>e.scrollTop;function Sr(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 Or=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ir(e){return`scale(${e}, ${e**2})`}const Rr={entering:{opacity:1,transform:Ir(1)},entered:{opacity:1,transform:"none"}},xr="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wr=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:m,timeout:h="auto",TransitionComponent:q=Cr}=e,g=(0,Te.Z)(e,Or),y=t.useRef(),v=t.useRef(),b=ie(),C=t.useRef(null),E=(0,yn.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)=>{Er(e);const{duration:n,delay:r,easing:o}=Sr({style:m,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(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:xr?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}=Sr({style:m,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(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:xr?o:.666*o,delay:xr?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Ir(.75),d&&d(e)})),L=S(f);return t.useEffect((()=>()=>{clearTimeout(y.current)}),[]),(0,de.jsx)(q,(0,Ae.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:L,onExiting:x,addEndListener:e=>{"auto"===h&&(y.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===h?null:h},g,{children:(e,n)=>t.cloneElement(a,(0,Ae.Z)({style:(0,Ae.Z)({opacity:0,transform:Ir(.75),visibility:"exited"!==e||l?void 0:"hidden"},Rr[e],m,a.props.style),ref:E},n))}))}));wr.muiSupportAuto=!0;const Lr=wr;function Nr(){return Nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nr.apply(this,arguments)}function _r(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 Pr=o(95882),Ar=o(67653),Tr=o(69781),Dr=o(24784),kr=o(95572),Mr=o(44068);const Fr=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,Pr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,kr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,kr.Z)((()=>{if(i&&!a)return(0,Mr.Z)(n,i),()=>{(0,Mr.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,de.jsx)(t.Fragment,{children:r})}return(0,de.jsx)(t.Fragment,{children:i?ft.createPortal(r,i):i})}));var Br=o(60838);function jr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Gr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function zr(e){return parseInt((0,Br.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Vr(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&&Gr(e,o)}))}function Zr(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const Ur=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $r(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ur)).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 Wr(){return!0}const Hr=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=$r,isEnabled:l=Wr,open:s}=e,c=t.useRef(!1),u=t.useRef(null),d=t.useRef(null),f=t.useRef(null),p=t.useRef(null),m=t.useRef(!1),h=t.useRef(null),q=(0,Pr.Z)(n.ref,h),g=t.useRef(null);t.useEffect((()=>{s&&h.current&&(m.current=!r)}),[r,s]),t.useEffect((()=>{if(!s||!h.current)return;const e=(0,Ar.Z)(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),m.current&&h.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}}),[s]),t.useEffect((()=>{if(!s||!h.current)return;const e=(0,Ar.Z)(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!o&&l()&&!c.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!m.current)return;let o=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(o=i(h.current)),o.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=o[0],n=o[o.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else c.current=!1},n=t=>{g.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[r,o,a,l,s,i]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,de.jsxs)(t.Fragment,{children:[(0,de.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),m.current=!0,p.current=e.target;const t=n.props.onFocus;t&&t(e)}}),(0,de.jsx)("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})};function Kr(e){return(0,je.Z)("MuiModal",e)}function Xr(e){return"string"==typeof e}function Yr(e,t,n){return void 0===e||Xr(e)?t:Nr({},t,{ownerState:Nr({},t.ownerState,n)})}function Qr(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Qr(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}(0,Be.Z)("MuiModal",["root","hidden","backdrop"]);const Jr=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Qr(e))&&(r&&(r+=" "),r+=t);return r};function eo(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}function to(e,t){return"function"==typeof e?e(t):e}const no=["elementType","externalSlotProps","ownerState"];function ro(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=_r(e,no),i=to(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Jr(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Nr({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Nr({},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=function(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}(Nr({},o,r)),l=eo(r),s=eo(o),c=t(i),u=Jr(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=Nr({},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=Nr({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(Nr({},a,{externalSlotProps:i}));return Yr(n,Nr({},l,{ref:(0,Pr.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const oo=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ao=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&&Gr(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);Vr(t,e.mount,e.modalRef,r,!0);const o=Zr(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=Zr(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,Ar.Z)(e);return t.body===e?(0,Br.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jr((0,Ar.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${zr(r)+e}px`;const t=(0,Ar.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${zr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ar.Z)(r).body;else{const t=r.parentElement,n=(0,Br.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=Zr(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&&Gr(e.modalRef,t),Vr(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&&Gr(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},io=t.forwardRef((function(e,n){var r,o;const{children:a,closeAfterTransition:i=!1,component:l,container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:f=!1,disableRestoreFocus:p=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:q=!1,manager:g=ao,onBackdropClick:y,onClose:v,onKeyDown:b,open:C,onTransitionEnter:E,onTransitionExited:S,slotProps:O={},slots:I={}}=e,R=_r(e,oo),[x,w]=t.useState(!C),L=t.useRef({}),N=t.useRef(null),_=t.useRef(null),P=(0,Pr.Z)(_,n),A=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),T=null==(r=e["aria-hidden"])||r,D=()=>(L.current.modalRef=_.current,L.current.mountNode=N.current,L.current),k=()=>{g.mount(D(),{disableScrollLock:m}),_.current&&(_.current.scrollTop=0)},M=(0,Tr.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(s)||(0,Ar.Z)(N.current).body;g.add(D(),e),_.current&&k()})),F=t.useCallback((()=>g.isTopModal(D())),[g]),B=(0,Tr.Z)((e=>{N.current=e,e&&_.current&&(C&&F()?k():Gr(_.current,T))})),j=t.useCallback((()=>{g.remove(D(),T)}),[g,T]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{C?M():A&&i||j()}),[C,j,A,i,M]);const G=Nr({},e,{closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:f,disableRestoreFocus:p,disableScrollLock:m,exited:x,hideBackdrop:h,keepMounted:q}),z=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,Ct.Z)(r,Kr,void 0)})(G),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),A&&(V.onEnter=(0,Dr.Z)((()=>{w(!1),E&&E()}),a.props.onEnter),V.onExited=(0,Dr.Z)((()=>{w(!0),S&&S(),i&&j()}),a.props.onExited));const Z=null!=(o=null!=l?l:I.root)?o:"div",U=ro({elementType:Z,externalSlotProps:O.root,externalForwardedProps:R,additionalProps:{ref:P,role:"presentation",onKeyDown:e=>{b&&b(e),"Escape"===e.key&&F()&&(d||(e.stopPropagation(),v&&v(e,"escapeKeyDown")))}},className:z.root,ownerState:G}),$=I.backdrop,W=ro({elementType:$,externalSlotProps:O.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(y&&y(e),v&&v(e,"backdropClick"))},open:C},className:z.backdrop,ownerState:G});return q||C||A&&!x?(0,de.jsx)(Fr,{ref:B,container:s,disablePortal:f,children:(0,de.jsxs)(Z,Nr({},U,{children:[!h&&$?(0,de.jsx)($,Nr({},W)):null,(0,de.jsx)(Hr,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:p,isEnabled:F,open:C,children:t.cloneElement(a,V)})]}))}):null})),lo=io,so=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],co={entering:{opacity:1},entered:{opacity:1}},uo=t.forwardRef((function(e,n){const r=ie(),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:m,onExiting:h,style:q,timeout:g=o,TransitionComponent:y=Cr}=e,v=(0,Te.Z)(e,so),b=t.useRef(null),C=(0,yn.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)=>{Er(e);const n=Sr({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(h),x=E((e=>{const t=Sr({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(m);return(0,de.jsx)(y,(0,Ae.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,Ae.Z)({style:(0,Ae.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},co[e],q,l.props.style),ref:C},n))}))}));function fo(e){return(0,je.Z)("MuiBackdrop",e)}(0,Be.Z)("MuiBackdrop",["root","invisible"]);const po=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],mo=(0,Et.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,Ae.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"}))),ho=t.forwardRef((function(e,t){var n,r,o;const a=(0,St.Z)({props:e,name:"MuiBackdrop"}),{children:i,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:f,slotProps:p={},slots:m={},TransitionComponent:h=uo,transitionDuration:q}=a,g=(0,Te.Z)(a,po),y=(0,Ae.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,Ct.Z)(r,fo,t)})(y),b=null!=(n=p.root)?n:u.root;return(0,de.jsx)(h,(0,Ae.Z)({in:f,timeout:q},g,{children:(0,de.jsx)(mo,(0,Ae.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,pt.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,Ae.Z)({},y,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),qo=ho,go=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],yo=(0,Et.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,Ae.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),vo=(0,Et.ZP)(qo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),bo=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,St.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=vo,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,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,slotProps:x,slots:w,theme:L}=c,N=(0,Te.Z)(c,go),[_,P]=t.useState(!0),A={closeAfterTransition:m,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:I,keepMounted:R},T=(0,Ae.Z)({},c,A,{exited:_}),D=null!=(r=null!=(o=null==w?void 0:w.root)?o:g.Root)?r:yo,k=null!=(a=null!=(i=null==w?void 0:w.backdrop)?i:g.Backdrop)?a:u,M=null!=(l=null==x?void 0:x.root)?l:y.root,F=null!=(s=null==x?void 0:x.backdrop)?s:y.backdrop;return(0,de.jsx)(lo,(0,Ae.Z)({slots:{root:D,backdrop:k},slotProps:{root:()=>(0,Ae.Z)({},to(M,T),!Xr(D)&&{as:q,theme:L},{className:(0,pt.Z)(p,null==M?void 0:M.className,null==f?void 0:f.root,!T.open&&T.exited&&(null==f?void 0:f.hidden))}),backdrop:()=>(0,Ae.Z)({},d,to(F,T),{className:(0,pt.Z)(null==F?void 0:F.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>P(!1),onTransitionExited:()=>P(!0),ref:n},N,A,{children:h}))})),Co=bo,Eo=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,je.Z)("MuiPaper",e)}(0,Be.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 Oo=["className","component","elevation","square","variant"],Io=(0,Et.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,Ae.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,Ae.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,gn.Fq)("#fff",Eo(t.elevation))}, ${(0,gn.Fq)("#fff",Eo(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Ro=t.forwardRef((function(e,t){const n=(0,St.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,Te.Z)(n,Oo),c=(0,Ae.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,de.jsx)(Io,(0,Ae.Z)({as:o,ownerState:c,className:(0,pt.Z)(u.root,r),ref:t},s))})),xo=Ro;function wo(e){return(0,je.Z)("MuiPopover",e)}(0,Be.Z)("MuiPopover",["root","paper"]);const Lo=["onEntering"],No=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _o(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Po(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ao(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function To(e){return"function"==typeof e?e():e}const Do=(0,Et.ZP)(Co,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ko=(0,Et.ZP)(xo,{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}),Mo=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:h={},transformOrigin:q={vertical:"top",horizontal:"left"},TransitionComponent:g=Lr,transitionDuration:y="auto",TransitionProps:{onEntering:v}={}}=r,b=(0,Te.Z)(r.TransitionProps,Lo),C=(0,Te.Z)(r,No),E=t.useRef(),S=(0,yn.Z)(E,h.ref),O=(0,Ae.Z)({},r,{anchorOrigin:i,anchorReference:s,elevation:f,marginThreshold:p,PaperProps:h,transformOrigin:q,TransitionComponent:g,transitionDuration:y,TransitionProps:b}),I=(e=>{const{classes:t}=e;return(0,Ct.Z)({root:["root"],paper:["paper"]},wo,t)})(O),R=t.useCallback((()=>{if("anchorPosition"===s)return l;const e=To(a),t=(e&&1===e.nodeType?e:(0,fr.Z)(E.current).body).getBoundingClientRect();return{top:t.top+_o(t,i.vertical),left:t.left+Po(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),x=t.useCallback((e=>({vertical:_o(e,q.vertical),horizontal:Po(e,q.horizontal)})),[q.horizontal,q.vertical]),w=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=x(t);if("none"===s)return{top:null,left:null,transformOrigin:Ao(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=(0,pr.Z)(To(a)),d=u.innerHeight-p,f=u.innerWidth-p;if(o<p){const e=o-p;o-=e,n.vertical+=e}else if(l>d){const e=l-d;o-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(c>f){const e=c-f;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Ao(n)}}),[a,s,R,x,p]),[L,N]=t.useState(m),_=t.useCallback((()=>{const e=E.current;if(!e)return;const t=w(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[w]);t.useEffect((()=>{m&&_()})),t.useImperativeHandle(o,(()=>m?{updatePosition:()=>{_()}}:null),[m,_]),t.useEffect((()=>{if(!m)return;const e=(0,dr.Z)((()=>{_()})),t=(0,pr.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,_]);let P=y;"auto"!==y||g.muiSupportAuto||(P=void 0);const A=d||(a?(0,fr.Z)(To(a)).body:void 0);return(0,de.jsx)(Do,(0,Ae.Z)({BackdropProps:{invisible:!0},className:(0,pt.Z)(I.root,u),container:A,open:m,ref:n,ownerState:O},C,{children:(0,de.jsx)(g,(0,Ae.Z)({appear:!0,in:m,onEntering:(e,t)=>{v&&v(e,t),_()},onExited:()=>{N(!1)},timeout:P},b,{children:(0,de.jsx)(ko,(0,Ae.Z)({elevation:f},h,{ref:S,className:(0,pt.Z)(I.paper,h.className)},L?void 0:{style:(0,Ae.Z)({},h.style,{opacity:0})},{ownerState:O,children:c}))}))}))})),Fo=Mo;var Bo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},jo=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}}(),Go=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 zo=function(e){function t(){var e,n,r;Bo(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Go(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},Go(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),jo(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},!(e.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),Vo=["S","XS"],Zo=e=>e.reduce(((e,t)=>e.concat(t)));async function Uo({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 $o=e=>!(e.metaKey||e.ctrlKey);const Wo=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Ho=e=>an(Wo(e)),Ko=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===Ko.ARROW_UP||e===Ko.ARROW_DOWN||e===Ko.ARROW_LEFT||e===Ko.ARROW_RIGHT}),Xo=Ko;const Yo={row:"RowColumn-row",rowBorderBottom:"RowColumn-rowBorderBottom",column:"RowColumn-column",fieldRoot:"RowColumn-fieldRoot",cell:"RowColumn-cell",labelText:"RowColumn-labelText",labelDense:"RowColumn-labelDense",highlighted:"RowColumn-highlighted",checkboxLabel:"RowColumn-checkboxLabel",icon:"RowColumn-icon",S:"RowColumn-S",XS:"RowColumn-XS",A:"RowColumn-A",X:"RowColumn-X",frequencyCount:"RowColumn-frequencyCount",barContainer:"RowColumn-barContainer",bar:"RowColumn-bar",barSelected:"RowColumn-barSelected",barWithCheckbox:"RowColumn-barWithCheckbox",barSelectedWithCheckbox:"RowColumn-barSelectedWithCheckbox",excludedTextWithCheckbox:"RowColumn-excludedTextWithCheckbox"},Qo=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Jo=e=>e?"A"===e.qState:null,ea=({cell:e,checkboxes:t})=>(Jo(e)||Qo(e))&&t,ta=e=>e.filter((e=>!!e)).join(" ").trim(),na=e=>e||"-",ra=({theme:e})=>({background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder}`,outline:"none"},"& $cell":{paddingRight:0}}),oa={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},aa=(0,Et.ZP)("div",{shouldForwardProp:e=>!["flexBasisProp","isGridMode","isGridCol","dense","frequencyWidth","showIcon","checkboxes"].includes(e)})((({theme:e,flexBasisProp:t,isGridMode:n,isGridCol:r,dense:o,frequencyWidth:a,showIcon:i,checkboxes:l})=>({"&: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"}},[`& .${Yo.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Yo.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Yo.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Yo.cell}`]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:0},[`& .${Yo.labelText}`]:{flexBasis:t,lineHeight:"16px",userSelect:"none",paddingRight:i||l?"1px":"24px",...oa,whiteSpace:"pre",fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Yo.labelDense}`]:{fontSize:12},[`& .${Yo.highlighted}`]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},[`& .${Yo.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...oa,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Yo.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Yo.S}`]:{...ra({theme:e}),border:n?"none":void 0},[`& .${Yo.XS}`]:{...ra({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Yo.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Yo.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Yo.frequencyCount}`]:{justifyContent:"flex-end",...oa,flex:`0 1 ${a+(i||l?0:24)}px`,textAlign:"right",paddingLeft:"2px"},[`&.${Yo.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Yo.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%"}},[`& .${Yo.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Yo.barWithCheckbox}`]:{left:29,width:"calc(100% - 33px)"},[`& .${Yo.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Yo.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}))),ia=t.memo(aa),la=t.createContext(void 0);function sa(){return t.useContext(la)}function ca(e){return(0,je.Z)("MuiFormControlLabel",e)}const ua=(0,Be.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);function da({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 fa=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],pa=(0,Et.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ua.label}`]:t.label},t.root,t[`labelPlacement${(0,cn.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ua.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},{[`& .${ua.label}`]:{[`&.${ua.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),ma=t.forwardRef((function(e,n){var r;const o=(0,St.Z)({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:l,disabled:s,disableTypography:c,label:u,labelPlacement:d="end",slotProps:f={}}=o,p=(0,Te.Z)(o,fa),m=sa();let h=s;void 0===h&&void 0!==l.props.disabled&&(h=l.props.disabled),void 0===h&&m&&(h=m.disabled);const q={disabled:h};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(q[e]=o[e])}));const g=da({props:o,muiFormControl:m,states:["error"]}),y=(0,Ae.Z)({},o,{disabled:h,labelPlacement:d,error:g.error}),v=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,cn.Z)(r)}`,o&&"error"],label:["label",n&&"disabled"]};return(0,Ct.Z)(a,ca,t)})(y),b=null!=(r=f.typography)?r:i.typography;let C=u;return null==C||C.type===qn||c||(C=(0,de.jsx)(qn,(0,Ae.Z)({component:"span"},b,{className:(0,pt.Z)(v.label,null==b?void 0:b.className),children:C}))),(0,de.jsxs)(pa,(0,Ae.Z)({className:(0,pt.Z)(v.root,a),ownerState:y,ref:n},p,{children:[t.cloneElement(l,q),C]}))})),ha=ma;var qa=o(66055);function ga(e){return(0,je.Z)("PrivateSwitchBase",e)}(0,Be.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ya=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],va=(0,Et.ZP)(rr)((({ownerState:e})=>(0,Ae.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),ba=(0,Et.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ca=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:m,onBlur:h,onChange:q,onFocus:g,readOnly:y,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,Te.Z)(e,ya),[O,I]=(0,qa.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=sa();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===C||"radio"===C,L=(0,Ae.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),N=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,cn.Z)(o)}`],input:["input"]};return(0,Ct.Z)(a,ga,t)})(L);return(0,de.jsxs)(va,(0,Ae.Z)({component:"span",className:(0,pt.Z)(N.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=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:L,ref:t},S,{children:[(0,de.jsx)(ba,(0,Ae.Z)({autoFocus:n,checked:r,defaultChecked:i,className:N.input,disabled:x,id:w?d:void 0,name:m,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]}))})),Ea=Ca;var Sa=o(79143);const Oa=(0,Sa.Z)((0,de.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"),Ia=(0,Sa.Z)((0,de.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"),Ra=(0,Sa.Z)((0,de.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 xa(e){return(0,je.Z)("MuiCheckbox",e)}const wa=(0,Be.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),La=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Na=(0,Et.ZP)(Ea,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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&&{[`&.${wa.checked}, &.${wa.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${wa.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),_a=(0,de.jsx)(Ia,{}),Pa=(0,de.jsx)(Oa,{}),Aa=(0,de.jsx)(Ra,{}),Ta=t.forwardRef((function(e,n){var r,o;const a=(0,St.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=_a,color:l="primary",icon:s=Pa,indeterminate:c=!1,indeterminateIcon:u=Aa,inputProps:d,size:f="medium",className:p}=a,m=(0,Te.Z)(a,La),h=c?u:s,q=c?u:i,g=(0,Ae.Z)({},a,{color:l,indeterminate:c,size:f}),y=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,cn.Z)(r)}`]},a=(0,Ct.Z)(o,xa,t);return(0,Ae.Z)({},t,a)})(g);return(0,de.jsx)(Na,(0,Ae.Z)({type:"checkbox",inputProps:(0,Ae.Z)({"data-indeterminate":c},d),icon:t.cloneElement(h,{fontSize:null!=(r=h.props.fontSize)?r:f}),checkedIcon:t.cloneElement(q,{fontSize:null!=(o=q.props.fontSize)?o:f}),ownerState:g,ref:n,className:(0,pt.Z)(y.root,p)},m,{classes:y}))})),Da=Ta,ka={cbIcon:"ListBoxCheckbox-cbIcon",cbIconChecked:"ListBoxCheckbox-cbIconChecked",cbIconExcluded:"ListBoxCheckbox-cbIconExcluded",cbIconAlternative:"ListBoxCheckbox-cbIconAlternative",checkbox:"ListBoxCheckbox-checkbox",dense:"ListBoxCheckbox-dense"},Ma=(0,Et.ZP)(Da)((({theme:e})=>({[`& .${ka.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"},[`& .${ka.cbIconChecked}`]:{borderRadius:3,backgroundColor:e.palette.selected.main,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:'""'}},[`& .${ka.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${ka.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${ka.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${ka.dense}`]:{padding:"4px 8px"}}))),Fa=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Ba({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Ma,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[ka.checkbox,o&&ka.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:Fa(ka,i,a),checkedIcon:t.createElement("span",{className:ka.cbIconChecked})})}const ja=(0,Sa.Z)((0,de.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"),Ga=(0,Sa.Z)((0,de.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"),za=(0,Et.ZP)("span")({position:"relative",display:"flex"}),Va=(0,Et.ZP)(ja)({transform:"scale(1)"}),Za=(0,Et.ZP)(Ga)((({theme:e,ownerState:t})=>(0,Ae.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})}))),Ua=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,Ae.Z)({},e,{checked:t});return(0,de.jsxs)(za,{className:n.root,ownerState:o,children:[(0,de.jsx)(Va,{fontSize:r,className:n.background,ownerState:o}),(0,de.jsx)(Za,{fontSize:r,className:n.dot,ownerState:o})]})};var $a=o(80062);const Wa=t.createContext(void 0);function Ha(e){return(0,je.Z)("MuiRadio",e)}const Ka=(0,Be.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Xa=["checked","checkedIcon","color","icon","name","onChange","size","className"],Ya=(0,Et.ZP)(Ea,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,cn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,Ae.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,gn.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&&{[`&.${Ka.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Ka.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Qa=(0,de.jsx)(Ua,{checked:!0}),Ja=(0,de.jsx)(Ua,{}),ei=t.forwardRef((function(e,n){var r,o;const a=(0,St.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=Qa,color:s="primary",icon:c=Ja,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,Te.Z)(a,Xa),h=(0,Ae.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,cn.Z)(n)}`]};return(0,Ae.Z)({},t,(0,Ct.Z)(r,Ha,t))})(h),g=t.useContext(Wa);let y=i;const v=(0,$a.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,de.jsx)(Ya,(0,Ae.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=Ja.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=Qa.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:y,onChange:v,ref:n,className:(0,pt.Z)(q.root,p)},m))})),ti=ei,ni="ListBoxRadioButton-radioButton",ri=(0,Et.ZP)(ti)((({theme:e,checked:t})=>({[`&.${ni}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function oi({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ri,{checked:n,onChange:e,value:r,name:r,className:ni,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const ai=function({label:e,color:n,highlighted:r=!1,dense:o,showGray:a=!0,checkboxes:i,cell:l,valueTextAlign:s}){return t.createElement(qn,{component:"span",variant:"body2",className:ta([Yo.labelText,r&&Yo.highlighted,o&&Yo.labelDense,a&&ea({cell:l,checkboxes:i})&&Yo.excludedTextWithCheckbox]),color:n,align:s},t.createElement("span",{dir:"auto",style:{whiteSpace:"pre"}},e))},ii=function({label:e,color:n,highlighted:r,dense:o,showGray:a,checkboxes:i,cell:l,valueTextAlign:s}){return"string"==typeof e?t.createElement(ai,{label:e,color:n,highlighted:r,dense:o,showGray:a,checkboxes:i,cell:l,valueTextAlign:s}):e},li=function({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}){const m=t.createElement(Ba,{onChange:e,label:n,checked:a,dense:i,excluded:Qo(l),isGridCol:s,showGray:c,dataN:o}),h=t.createElement(oi,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(ha,{color:r,control:u?h:m,className:Yo.checkboxLabel,label:t.createElement(ii,{label:n,color:r,highlighted:d,dense:i,showGray:c,checkboxes:f,cell:l,valueTextAlign:p}),key:o})};function si({labels:e,dense:n,showGray:r,checkboxes:o}){return t.createElement(t.Fragment,null,e.map((([e,a],i)=>{const l=`${i}`;return t.createElement(ai,{label:e,key:l,highlighted:a,dense:n,showGray:r,checkboxes:o})})))}const ci=function({onChange:e,labels:n,checkboxes:r,dense:o,showGray:a,color:i,qElemNumber:l,isSelected:s,cell:c,isGridCol:u,isSingleSelect:d,valueTextAlign:f}){const p=t.createElement(si,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(li,{onChange:e,label:p,color:i,qElemNumber:l,isSelected:s,dense:o,cell:c,isGridCol:u,showGray:a,isSingleSelect:d,checkboxes:r,valueTextAlign:f}):p};function ui({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}){return f?t.createElement(li,{onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,highlighted:d,checkboxes:f,valueTextAlign:p}):t.createElement(ai,{label:n,color:r,highlighted:!1,dense:i,showGray:!0,checkboxes:f,cell:l,valueTextAlign:p})}const di=t.memo(ui);function fi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=fi(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const pi=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=fi(e))&&(r&&(r+=" "),r+=t);return r};var mi=o(4709),hi=o(19782);const qi=["className","component"];var gi=o(93958);const yi=function(e={}){const{defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,a=(0,mi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(hi.Z);return t.forwardRef((function(e,t){const i=(0,oe.Z)(n),l=bt(e),{className:s,component:c="div"}=l,u=(0,qt.Z)(l,qi);return(0,de.jsx)(a,(0,ht.Z)({as:c,ref:t,className:pi(s,o?o(r):r),theme:i},u))}))}({defaultTheme:(0,Pe.Z)(),defaultClassName:"MuiBox-root",generateClassName:gi.Z.generate}),vi=yi,bi=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===na(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(vi,{className:ta([Yo.bar,r&&Yo.barWithCheckbox,o&&(r?Yo.barSelectedWithCheckbox:Yo.barSelected)])},t.createElement(vi,{className:"bar-filled",width:i}))},Ci=function({cell:e,checkboxes:n,dense:r,showGray:o}){return t.createElement(Tt,{item:!0,style:{display:"flex",alignItems:"center"},className:Yo.frequencyCount},t.createElement(qn,{noWrap:!0,color:"inherit",variant:"body2",className:ta([r&&Yo.labelDense,Yo.labelText,o&&ea({cell:e,checkboxes:n})&&Yo.excludedTextWithCheckbox])},na(e?.qFrequency)))};function Ei({dataLayout:e,layoutOrder:t,itemPadding:n}){if("singleColumn"===e)return{height:"100%",width:"100%"};switch(t){case"row":case"column":return{height:`calc(100% - ${n}px)`,width:`calc(100% - ${2*n}px)`,position:"absolute",left:4};default:return{}}}const Si=(0,Et.ZP)(Tt,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","checkboxes"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,checkboxes:r})=>({[`&.${Yo.fieldRoot}`]:{...Ei({dataLayout:e,layoutOrder:t,itemPadding:n}),paddingRight:r?"8px":void 0}}))),Oi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,pages:d,isLocked:f,column:p=!1,checkboxes:m=!1,textAlign:h,direction:q,layoutOptions:g={},freqIsAllowed:y,isSingleSelect:v,actions:b,frequencyMax:C="",histogram:E=!1,keyboard:S,showGray:O=!0,showTick:I=!0,columnCount:R=1,rowCount:x=1,dataOffset:w,focusListItems:L,listCount:N,itemPadding:_,frequencyWidth:P}=a,{dense:A=!1,dataLayout:T="singleColumn",layoutOrder:D}=g;let k,M;const F={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===D?(k=n*R+r,F.max=x,F.currentIndex=n):(k=r*x+n,F.max=R,F.currentIndex=r);const e=0;M={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else k=e,F.max=N,F.currentIndex=e,M={...o};k+=w;const B=(0,t.useRef)(null);(0,t.useEffect)((()=>{null!==B.current&&(0===F.currentIndex&&L.first&&(B.current.focus(),L.setFirst(!1)),F.currentIndex===F.max-1&&L.last&&(B.current.focus(),L.setLast(!1)))}),[B.current]);const j=(0,t.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i}){const l=(e,t=!1)=>{const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let s=!1;const c=e=>{s=e};return u=>{let d;const{keyCode:f,shiftKey:p=!1,ctrlKey:m=!1,metaKey:h=!1}=u.nativeEvent;switch(f){case Xo.SHIFT:c(!0);break;case Xo.SPACE:e([+u.currentTarget.getAttribute("data-n")]);break;case Xo.ARROW_DOWN:case Xo.ARROW_RIGHT:d=l(u.currentTarget,!0),p&&d&&(s&&(e([+u.currentTarget.getAttribute("data-n")],!0),c(!1)),e([+d.getAttribute("data-n")],!0));break;case Xo.ARROW_UP:case Xo.ARROW_LEFT:d=l(u.currentTarget,!1),p&&d&&(s&&(e([+u.currentTarget.getAttribute("data-n")],!0),c(!1)),e([+d.getAttribute("data-n")],!0));break;case Xo.ENTER:r();break;case Xo.ESCAPE:return void o();case Xo.HOME:if(i.setFirst(!0),m){a?.("overflowStart");break}a?.("start");break;case Xo.END:if(i.setLast(!0),m){a?.("overflowEnd");break}a?.("end");break;case Xo.A:if(m||h){t();break}return;case Xo.F:if(m||h){n();break}return;default:return}d&&d.focus(),u.preventDefault(),u.stopPropagation()}}({...b,focusListItems:L}),[b]),G=(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:d,cellIndex:k})),[d,k]),z="S"===G?.qState||"XS"===G?.qState||"L"===G?.qState||"XL"===G?.qState,V=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Yo.column:Yo.row];return t||a.push(Yo.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Yo.XS:Yo.S):"S"===r.qState||"L"===r.qState?a.push(Yo.S):o&&Jo(r)?a.push(Yo.A):o&&Qo(r)&&a.push(Yo.X)),a):[]})({column:p,histogram:E,checkboxes:m,cell:G,showGray:O})),[G?.qState,E,A,m]),Z=(0,t.useCallback)((e=>{e.preventDefault()}),[m]);if(!G)return null;const U=!["NaN",void 0].includes(G?.qNum);let $;$=!h||h.auto?U?"rtl"===q?"left":"right":{rtl:"right",ltr:"left"}[q]:h?.align||"left";const W="grid"===T&&"column"===D,H=G?.qText??"";let K;G.qHighlightRanges?.qRanges?.length&&(K=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}(H,G.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const X={alignItems:"center",display:"flex",fontSize:"8px"},Y={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"rtl"===q?8:m?0:void 0,paddingRight:m?0:"rtl"===q?8:0,justifyContent:$},Q=0===e,J=m?"auto":"max-content",ee=z&&f,te=!m&&z&&!f&&I,ne=!m&&(te||ee);return t.createElement(ia,{className:Yo.barContainer,flexBasisProp:J,style:M,showIcon:ne,checkboxes:m,isGridCol:W,isGridMode:"grid"===T,dense:A,frequencyWidth:P},t.createElement(Si,{ref:B,container:!0,dataLayout:T,checkboxes:m,layoutOrder:D,itemPadding:_,gap:0,className:ta(["value",...V]),classes:{root:Yo.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:j,onContextMenu:Z,role:p?"column":"row",tabIndex:!Q||S.enabled&&!S.active?-1:0,"data-n":G?.qElemNumber},G?.qFrequency&&t.createElement(bi,{qFrequency:G?.qFrequency,histogram:E,checkboxes:m,isSelected:z,frequencyMax:C}),t.createElement(Tt,{item:!0,style:Y,className:ta([Yo.cell,Yo.selectedCell]),title:`${H}`},K?t.createElement(ci,{onChange:i,labels:K,checkboxes:m,dense:A,showGray:O,color:"inherit",qElemNumber:G.qElemNumber,isSelected:z,cell:G,isGridCol:W,isSingleSelect:v,valueTextAlign:$}):t.createElement(di,{onChange:i,label:H,color:"inherit",qElemNumber:G.qElemNumber,isSelected:z,dense:A,cell:G,isGridCol:W,showGray:O,isSingleSelect:v,checkboxes:m,valueTextAlign:$})),y&&t.createElement(Ci,{cell:G,checkboxes:m,dense:A,showGray:O}),ne&&t.createElement(Tt,{item:!0,className:Yo.icon},ee&&t.createElement(sn,{style:X,size:"small"}),te&&t.createElement(Ho,{style:X,size:"small"}))))};var Ii=o(49241),Ri=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function xi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Ri(r)&&Ri(o)))return!1;var r,o;return!0}const wi=function(e,t){var n;void 0===t&&(t=xi);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 Li="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Ni(e){cancelAnimationFrame(e.id)}function _i(e,t){var n=Li(),r={id:requestAnimationFrame((function o(){Li()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Pi=-1;function Ai(e){if(void 0===e&&(e=!1),-1===Pi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Pi=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Pi}var Ti=null;function Di(e){if(void 0===e&&(e=!1),null===Ti||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?Ti="positive-descending":(t.scrollLeft=1,Ti=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Ti}return Ti}var ki=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Mi(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,m=e.getRowStopIndexForStartIndex,h=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=h(n.props,Sn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:Sn(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=wi((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=wi((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 m=r(n.props,t,n._instanceProps),h="rtl"===s;u[p]=o={position:"absolute",left:h?void 0:m,right:h?m: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=wi((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(Di()){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&&Ni(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=_i(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}In(n,e),n.getDerivedStateFromProps=function(e,t){return Fi(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,m=this.state,h=m.scrollLeft,q=m.scrollTop,g=Ai();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,h,this._instanceProps,b):h,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(Di()){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&&Ni(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,m=void 0===p?ki:p,h=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 N=S;N<=O;N++)w.push((0,t.createElement)(n,{columnIndex:N,data:f,isScrolling:v?C:void 0,key:m({columnIndex:N,data:f,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,N)}));var _=l(this.props,this._instanceProps),P=s(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:En({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:_,pointerEvents:C?"none":void 0,width:P}}))},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],m=u[3];this._callOnItemsRendered(i,l,d,f,s,c,p,m)}if("function"==typeof r){var h=this.state,q=h.horizontalScrollDirection,g=h.scrollLeft,y=h.scrollTop,v=h.scrollUpdateWasRequested,b=h.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),m=a(this.props,p,d,this._instanceProps),h=u&&"backward"!==c?1:Math.max(1,f),q=u&&"forward"!==c?1:Math.max(1,f);return[Math.max(0,p-h),Math.max(0,Math.min(t-1,m+q)),p,m]},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=m(this.props,d,c,this._instanceProps),h=l&&"backward"!==s?1:Math.max(1,u),q=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-h),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 Fi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Bi=function(e,t){return e};function ji(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,Sn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Sn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=wi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=wi((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,m="rtl"===i,h=p?d:0;c[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:p?0:d,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=wi((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(Di()){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<o?"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&&Ni(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=_i(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}In(n,e),n.getDerivedStateFromProps=function(e,t){return Gi(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?Ai():0:s.scrollHeight>s.clientHeight?Ai():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(Di()){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&&Ni(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?Bi:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,g=e.style,y=e.useIsScrolling,v=e.width,b=this.state.isScrolling,C="horizontal"===a||"horizontal"===m,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)(h||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:En({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 Gi=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},zi=Mi({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}}),Vi=ji({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),m=Math.min(p,t*c),h=Math.max(0,t*c-f+c+a);switch("smart"===n&&(n=r>=h-f&&r<=m+f?"auto":"center"),n){case"start":return m;case"end":return h;case"center":var q=Math.round(h+(m-h)/2);return q<Math.ceil(f/2)?0:q>p+Math.floor(f/2)?p:q;default:return r>=h&&r<=m?r:r<h?h:m}},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 Zi="ListBox-styledScrollbars";function Ui({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=((e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex)(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=((e,t,n,r)=>e===t*n+r+n)(i,c,s?o:r,l),p=!!l&&((e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex)(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function $i(){return $i=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},$i.apply(this,arguments)}const{StyledFixedSizeList:Wi,StyledFixedSizeGrid:Hi}=function(){const e=e=>({scrollbarColor:"#BBB #f1f1f1",overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#BBB",borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Ii.Z)(Vi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Zi}`]:e(t)}))),StyledFixedSizeGrid:(0,Ii.Z)(zi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${Zi}`]:e(t)})))}}();const Ki=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")})();return n.font=t,Array.isArray(e)?Math.max(...e.map((e=>n.measureText(e).width))):n.measureText(e).width})(n.text,n.font||"14px Source Sans Pro")),[n.text,n.font])};function Xi(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}const[Yi,Qi]=tt({});function Ji(e){const t=`${e.id}`,[n]=Yi();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 tl(e){return e instanceof el(e).Element||e instanceof Element}function nl(e){return e instanceof el(e).HTMLElement||e instanceof HTMLElement}function rl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof el(e).ShadowRoot||e instanceof ShadowRoot)}var ol=Math.max,al=Math.min,il=Math.round;function ll(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function sl(){return!/^((?!chrome|android).)*safari/i.test(ll())}function cl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&nl(e)&&(o=e.offsetWidth>0&&il(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&il(r.height)/e.offsetHeight||1);var i=(tl(e)?el(e):window).visualViewport,l=!sl()&&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 ul(e){var t=el(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dl(e){return e?(e.nodeName||"").toLowerCase():null}function fl(e){return((tl(e)?e.ownerDocument:e.document)||window.document).documentElement}function pl(e){return cl(fl(e)).left+ul(e).scrollLeft}function ml(e){return el(e).getComputedStyle(e)}function hl(e){var t=ml(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ql(e,t,n){void 0===n&&(n=!1);var r,o,a=nl(t),i=nl(t)&&function(e){var t=e.getBoundingClientRect(),n=il(t.width)/e.offsetWidth||1,r=il(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=fl(t),s=cl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==dl(t)||hl(l))&&(c=(r=t)!==el(r)&&nl(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ul(r)),nl(t)?((u=cl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=pl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function gl(e){var t=cl(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 yl(e){return"html"===dl(e)?e:e.assignedSlot||e.parentNode||(rl(e)?e.host:null)||fl(e)}function vl(e){return["html","body","#document"].indexOf(dl(e))>=0?e.ownerDocument.body:nl(e)&&hl(e)?e:vl(yl(e))}function bl(e,t){var n;void 0===t&&(t=[]);var r=vl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=el(r),i=o?[a].concat(a.visualViewport||[],hl(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(bl(yl(i)))}function Cl(e){return["table","td","th"].indexOf(dl(e))>=0}function El(e){return nl(e)&&"fixed"!==ml(e).position?e.offsetParent:null}function Sl(e){for(var t=el(e),n=El(e);n&&Cl(n)&&"static"===ml(n).position;)n=El(n);return n&&("html"===dl(n)||"body"===dl(n)&&"static"===ml(n).position)?t:n||function(e){var t=/firefox/i.test(ll());if(/Trident/i.test(ll())&&nl(e)&&"fixed"===ml(e).position)return null;var n=yl(e);for(rl(n)&&(n=n.host);nl(n)&&["html","body"].indexOf(dl(n))<0;){var r=ml(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 Ol="top",Il="bottom",Rl="right",xl="left",wl="auto",Ll=[Ol,Il,Rl,xl],Nl="start",_l="end",Pl="viewport",Al="popper",Tl=Ll.reduce((function(e,t){return e.concat([t+"-"+Nl,t+"-"+_l])}),[]),Dl=[].concat(Ll,[wl]).reduce((function(e,t){return e.concat([t,t+"-"+Nl,t+"-"+_l])}),[]),kl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ml(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 Fl={placement:"bottom",modifiers:[],strategy:"absolute"};function Bl(){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 jl(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Fl:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Fl,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:tl(e)?bl(e):e.contextElement?bl(e.contextElement):[],popper:bl(t)};var i,c,f=function(e){var t=Ml(e);return kl.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(Bl(t,n)){l.rects={reference:ql(t,Sl(n),"fixed"===l.options.strategy),popper:gl(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(!Bl(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 Gl={passive:!0};function zl(e){return e.split("-")[0]}function Vl(e){return e.split("-")[1]}function Zl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ul(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?zl(o):null,i=o?Vl(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Ol:t={x:l,y:n.y-r.height};break;case Il:t={x:l,y:n.y+n.height};break;case Rl:t={x:n.x+n.width,y:s};break;case xl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Zl(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Nl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case _l:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var $l={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wl(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,m=i.y,h=void 0===m?0:m,q="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=q.x,h=q.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=xl,b=Ol,C=window;if(c){var E=Sl(n),S="clientHeight",O="clientWidth";E===el(n)&&"static"!==ml(E=fl(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Ol||(o===xl||o===Rl)&&a===_l)&&(b=Il,h-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,h*=s?1:-1),o!==xl&&(o!==Ol&&o!==Il||a!==_l)||(v=Rl,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&&$l),x=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:il(t*r)/r||0,y:il(n*r)/r||0}}({x:p,y:h}):{x:p,y:h};return p=x.x,h=x.y,s?Object.assign({},R,((I={})[b]=y?"0":"",I[v]=g?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",I)):Object.assign({},R,((t={})[b]=y?h+"px":"",t[v]=g?p+"px":"",t.transform="",t))}var Hl={left:"right",right:"left",bottom:"top",top:"bottom"};function Kl(e){return e.replace(/left|right|bottom|top/g,(function(e){return Hl[e]}))}var Xl={start:"end",end:"start"};function Yl(e){return e.replace(/start|end/g,(function(e){return Xl[e]}))}function Ql(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Jl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function es(e,t,n){return t===Pl?Jl(function(e,t){var n=el(e),r=fl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=sl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+pl(e),y:s}}(e,n)):tl(t)?function(e,t){var n=cl(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):Jl(function(e){var t,n=fl(e),r=ul(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=ol(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ol(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+pl(e),s=-r.scrollTop;return"rtl"===ml(o||n).direction&&(l+=ol(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(fl(e)))}function ts(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ns(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?Pl:c,d=n.elementContext,f=void 0===d?Al:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,g=ts("number"!=typeof q?q:ns(q,Ll)),y=f===Al?"reference":Al,v=e.rects.popper,b=e.elements[m?y:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=bl(yl(e)),n=["absolute","fixed"].indexOf(ml(e).position)>=0&&nl(e)?Sl(e):e;return tl(n)?t.filter((function(e){return tl(e)&&Ql(e,n)&&"body"!==dl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=es(e,n,r);return t.top=ol(o.top,t.top),t.right=al(o.right,t.right),t.bottom=al(o.bottom,t.bottom),t.left=ol(o.left,t.left),t}),es(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}(tl(b)?b:b.contextElement||fl(e.elements.popper),s,u,i),E=cl(e.elements.reference),S=Ul({reference:E,element:v,strategy:"absolute",placement:o}),O=Jl(Object.assign({},v,S)),I=f===Al?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===Al&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Rl,Il].indexOf(e)>=0?1:-1,n=[Ol,Il].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function os(e,t,n){return ol(e,al(t,n))}function as(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 is(e){return[Ol,Rl,Il,xl].some((function(t){return e[t]>=0}))}var ls=jl({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,Gl)})),l&&s.addEventListener("resize",n.update,Gl),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Gl)})),l&&s.removeEventListener("resize",n.update,Gl)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ul({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:zl(t.placement),variation:Vl(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,Wl(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,Wl(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:{}},{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];nl(o)&&dl(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}),{});nl(r)&&dl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{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=Dl.reduce((function(e,n){return e[n]=function(e,t,n){var r=zl(e),o=[xl,Ol].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,[xl,Rl].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,m=void 0===p||p,h=n.allowedAutoPlacements,q=t.options.placement,g=zl(q),y=s||(g!==q&&m?function(e){if(zl(e)===wl)return[];var t=Kl(e);return[Yl(e),t,Yl(t)]}(q):[Kl(q)]),v=[q].concat(y).reduce((function(e,n){return e.concat(zl(n)===wl?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?Dl:s,u=Vl(r),d=u?l?Tl:Tl.filter((function(e){return Vl(e)===u})):Ll,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})[zl(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:m,allowedAutoPlacements:h}):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=zl(R),w=Vl(R)===Nl,L=[Ol,Il].indexOf(x)>=0,N=L?"width":"height",_=rs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),P=L?w?Rl:xl:w?Il:Ol;b[N]>C[N]&&(P=Kl(P));var A=Kl(P),T=[];if(a&&T.push(_[x]<=0),l&&T.push(_[P]<=0,_[A]<=0),T.every((function(e){return e}))){O=R,S=!1;break}E.set(R,T)}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=m?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,m=n.tetherOffset,h=void 0===m?0:m,q=rs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=zl(t.placement),y=Vl(t.placement),v=!y,b=Zl(g),C="x"===b?"y":"x",E=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,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,N="y"===b?Ol:xl,_="y"===b?Il:Rl,P="y"===b?"height":"width",A=E[b],T=A+q[N],D=A-q[_],k=p?-O[P]/2:0,M=y===Nl?S[P]:O[P],F=y===Nl?-O[P]:-S[P],B=t.elements.arrow,j=p&&B?gl(B):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=G[N],V=G[_],Z=os(0,S[P],j[P]),U=v?S[P]/2-k-Z-z-R.mainAxis:M-Z-z-R.mainAxis,$=v?-S[P]/2+k+Z+V+R.mainAxis:F+Z+V+R.mainAxis,W=t.elements.arrow&&Sl(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=A+$-K,Y=os(p?al(T,A+U-K-H):T,A,p?ol(D,X):D);E[b]=Y,w[b]=Y-A}if(l){var Q,J="x"===b?Ol:xl,ee="x"===b?Il:Rl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Ol,xl].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=os(e,t,n);return r>n?n:r}(le,te,se):os(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=zl(n.placement),s=Zl(l),c=[xl,Rl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return ts("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ns(e,Ll))}(o.padding,n),d=gl(a),f="y"===s?Ol:xl,p="y"===s?Il:Rl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Sl(a),g=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,y=m/2-h/2,v=u[f],b=g-d[c]-u[p],C=g/2-d[c]/2+y,E=os(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)))&&Ql(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=as(i,r),c=as(l,o,a),u=is(s),d=is(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 ss(e){return(0,je.Z)("MuiPopper",e)}(0,Be.Z)("MuiPopper",["root"]);const cs=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],us=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ds(e){return"function"==typeof e?e():e}const fs={},ps=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,component:i,direction:l,disablePortal:s,modifiers:c,open:u,ownerState:d,placement:f,popperOptions:p,popperRef:m,slotProps:h={},slots:q={},TransitionProps:g}=e,y=_r(e,cs),v=t.useRef(null),b=(0,Pr.Z)(v,n),C=t.useRef(null),E=(0,Pr.Z)(C,m),S=t.useRef(E);(0,kr.Z)((()=>{S.current=E}),[E]),t.useImperativeHandle(m,(()=>C.current),[]);const O=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}}(f,l),[I,R]=t.useState(O),[x,w]=t.useState(ds(o));t.useEffect((()=>{C.current&&C.current.forceUpdate()})),t.useEffect((()=>{o&&w(ds(o))}),[o]),(0,kr.Z)((()=>{if(!x||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{R(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=ls(x,v.current,Nr({placement:O},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[x,s,c,u,p,O]);const L={placement:I};null!==g&&(L.TransitionProps=g);const N=(0,Ct.Z)({root:["root"]},ss,{}),_=null!=(r=null!=i?i:q.root)?r:"div",P=ro({elementType:_,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:b},ownerState:Nr({},e,d),className:N.root});return(0,de.jsx)(_,Nr({},P,{children:"function"==typeof a?a(L):a}))})),ms=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=fs,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:g={}}=e,y=_r(e,us),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let C;if(a)C=a;else if(r){const e=ds(r);C=e&&void 0!==e.nodeType?(0,Ar.Z)(e).body:(0,Ar.Z)(null).body}const E=u||!s||h&&!v?void 0:"none",S=h?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,de.jsx)(Fr,{disablePortal:l,container:C,children:(0,de.jsx)(ps,Nr({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:h?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:g},y,{style:Nr({position:"fixed",top:0,left:0,display:E},m),TransitionProps:S,children:o}))})}));var hs=o(11330);const qs=["components","componentsProps","slots","slotProps"],gs=(0,Et.ZP)(ms,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ys=t.forwardRef((function(e,t){var n;const r=(0,hs.Z)(),o=(0,St.Z)({props:e,name:"MuiPopper"}),{components:a,componentsProps:i,slots:l,slotProps:s}=o,c=(0,Te.Z)(o,qs),u=null!=(n=null==l?void 0:l.root)?n:null==a?void 0:a.Root;return(0,de.jsx)(gs,(0,Ae.Z)({direction:null==r?void 0:r.direction,slots:{root:u},slotProps:null!=s?s:i},c,{ref:t}))}));var vs=o(13212);function bs(e){return(0,je.Z)("MuiTooltip",e)}const Cs=(0,Be.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Es=["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"],Ss=(0,Et.ZP)(ys,{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,Ae.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Cs.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Cs.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Cs.arrow}`]:(0,Ae.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"] .${Cs.arrow}`]:(0,Ae.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Os=(0,Et.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,cn.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,gn.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},{[`.${Cs.popper}[data-popper-placement*="left"] &`]:(0,Ae.Z)({transformOrigin:"right center"},t.isRtl?(0,Ae.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,Ae.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Cs.popper}[data-popper-placement*="right"] &`]:(0,Ae.Z)({transformOrigin:"left center"},t.isRtl?(0,Ae.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,Ae.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Cs.popper}[data-popper-placement*="top"] &`]:(0,Ae.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Cs.popper}[data-popper-placement*="bottom"] &`]:(0,Ae.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Is=(0,Et.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,gn.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Rs=!1,xs=null,ws={x:0,y:0};function Ls(e,t){return n=>{t&&t(n),e(n)}}const Ns=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,g,y,v,b,C;const E=(0,St.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:L=!1,disableInteractive:N=!1,disableTouchListener:_=!1,enterDelay:P=100,enterNextDelay:A=0,enterTouchDelay:T=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:G,placement:z="bottom",PopperComponent:V,PopperProps:Z={},slotProps:U={},slots:$={},title:W,TransitionComponent:H=Lr,TransitionProps:K}=E,X=(0,Te.Z)(E,Es),Y=ie(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=N||D,ae=t.useRef(),le=t.useRef(),se=t.useRef(),ce=t.useRef(),[ue,fe]=(0,qa.Z)({controlled:G,default:!1,name:"Tooltip",state:"open"});let pe=ue;const me=(0,vs.Z)(k),he=t.useRef(),qe=t.useCallback((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),clearTimeout(ce.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(le.current),clearTimeout(se.current),qe()}),[qe]);const ge=e=>{clearTimeout(xs),Rs=!0,fe(!0),j&&!pe&&j(e)},ye=(0,vn.Z)((e=>{clearTimeout(xs),xs=setTimeout((()=>{Rs=!1}),800+M),fe(!1),B&&pe&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),ve=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(le.current),clearTimeout(se.current),P||Rs&&A?le.current=setTimeout((()=>{ge(e)}),Rs?A:P):ge(e))},be=e=>{clearTimeout(le.current),clearTimeout(se.current),se.current=setTimeout((()=>{ye(e)}),M)},{isFocusVisibleRef:Ce,onBlur:Ee,onFocus:Se,ref:Oe}=(0,bn.Z)(),[,Ie]=t.useState(!1),Re=e=>{Ee(e),!1===Ce.current&&(Ie(!1),be(e))},xe=e=>{J||ee(e.currentTarget),Se(e),!0===Ce.current&&(Ie(!0),ve(e))},we=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},Le=ve,Ne=be;t.useEffect((()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ye(e)}}),[ye,pe]);const _e=(0,yn.Z)(O.ref,Oe,ee,n);W||0===W||(pe=!1);const Pe=t.useRef(),De={},ke="string"==typeof W;x?(De.title=pe||!ke||L?null:W,De["aria-describedby"]=pe?me:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=pe&&!ke?me:null);const Me=(0,Ae.Z)({},De,X,O.props,{className:(0,pt.Z)(X.className,O.props.className),onTouchStart:we,ref:_e},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),ws={x:e.clientX,y:e.clientY},Pe.current&&Pe.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{we(e),clearTimeout(se.current),clearTimeout(ae.current),qe(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.current=setTimeout((()=>{document.body.style.WebkitUserSelect=he.current,ve(e)}),T)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),qe(),clearTimeout(se.current),se.current=setTimeout((()=>{ye(e)}),F)}),L||(Me.onMouseOver=Ls(Le,Me.onMouseOver),Me.onMouseLeave=Ls(Ne,Me.onMouseLeave),oe||(Fe.onMouseOver=Le,Fe.onMouseLeave=Ne)),w||(Me.onFocus=Ls(xe,Me.onFocus),Me.onBlur=Ls(Re,Me.onBlur),oe||(Fe.onFocus=xe,Fe.onBlur=Re));const Be=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=Z.popperOptions)&&e.modifiers&&(t=t.concat(Z.popperOptions.modifiers)),(0,Ae.Z)({},Z.popperOptions,{modifiers:t})}),[te,Z]),je=(0,Ae.Z)({},E,{isRtl:Q,arrow:S,disableInteractive:oe,placement:z,PopperComponentProp:V,touch:re.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,cn.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,Ct.Z)(i,bs,t)})(je),ze=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Ss,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Lr,Ze=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Os,Ue=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:Is,$e=Yr(ze,(0,Ae.Z)({},Z,null!=(f=U.popper)?f:R.popper,{className:(0,pt.Z)(Ge.popper,null==Z?void 0:Z.className,null==(p=null!=(m=U.popper)?m:R.popper)?void 0:p.className)}),je),We=Yr(Ve,(0,Ae.Z)({},K,null!=(h=U.transition)?h:R.transition),je),He=Yr(Ze,(0,Ae.Z)({},null!=(q=U.tooltip)?q:R.tooltip,{className:(0,pt.Z)(Ge.tooltip,null==(g=null!=(y=U.tooltip)?y:R.tooltip)?void 0:g.className)}),je),Ke=Yr(Ue,(0,Ae.Z)({},null!=(v=U.arrow)?v:R.arrow,{className:(0,pt.Z)(Ge.arrow,null==(b=null!=(C=U.arrow)?C:R.arrow)?void 0:b.className)}),je);return(0,de.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,de.jsx)(ze,(0,Ae.Z)({as:null!=V?V:ys,placement:z,anchorEl:D?{getBoundingClientRect:()=>({top:ws.y,left:ws.x,right:ws.x,bottom:ws.y,width:0,height:0})}:J,popperRef:Pe,open:!!J&&pe,id:me,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,de.jsx)(Ve,(0,Ae.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,de.jsxs)(Ze,(0,Ae.Z)({},He,{children:[W,S?(0,de.jsx)(Ue,(0,Ae.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),_s=Ns;function Ps({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(et),i=(0,Et.ZP)(qn)((()=>({minWidth:`${e}px`,textAlign:"center",fontSize:r?"12px":"14px",...r&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));return t.createElement(_s,{title:o?a.get(n):""},t.createElement(i,{component:"div",variant:"body1",py:"12px"},a.get(n)))}var As=o(79246);const Ts=(0,Et.ZP)(xo)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),Ds=(0,Et.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),ks=(0,Et.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Ms=(0,Et.ZP)(As.Z)((()=>({fontSize:"14px"})));function Fs({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(Ts,{left:l,style:{maxWidth:i}},t.createElement(Ds,null,t.createElement(Ps,{text:e,dense:r,width:s,tooltip:c})),t.createElement(ks,{dense:r},a&&t.createElement(cr,{"aria-label":"close",onClick:()=>n()},t.createElement(Ms,null))))}function Bs({itemWidth:e,layout:t,frequencyMode:n}){const r=e>80,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["none",void 0].includes(n);return!(!r||!a&&!o)}const js=e=>{const t=(e=>e?`${e.replace(/\]/g,"]]")}`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`};function Gs({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:m,calculatePagesHeight:h=!1,keyboard:q={},showGray:g=!0,scrollState:y,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:C={set:()=>{}},renderedCallback:E,onCtrlF:S}){const[O,I]=(0,t.useState)(!1),R=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:x=s,histogram:w}=o??{},L=(0,t.useRef)(null),N=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),_=(0,t.useRef)({pages:[]}),{frequencyMax:P,awaitingFrequencyMax:A}=((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=js(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}})(n,o),{isLoadingData:T,...D}=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:N,loaderRef:L,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:m,listData:_}),{setStoreValue:k}=Ji(e),M=(0,t.useCallback)(D.loadMoreItems,[o]),[F,B]=(0,t.useState)({show:!1,dismissed:!1}),[j,G]=(0,t.useState)([]);D?.pages&&(i.update({setPages:G,pages:D.pages,isSingleSelect:R,selectDisabled:v,layout:o}),D.pages.length&&!A&&E());const z=(0,t.useCallback)((e=>{if(!j?.length||!N.current.validPages)return!1;N.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=j.filter((e=>t(e)))[0];return n&&t(n)}),[o,j]),{interactionEvents:V,select:Z}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document}){const a=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1}),i=()=>(e.setSelectableValuesUpdating(),Uo({selections:n,elemNumbers:a.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:a.current.toggle})),l=t=>{const{startElemNumber:n}=a.current;if(n===t)return;const r=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)}([a.current.startElemNumber,t],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return Zo(t)}(e.enginePages));e.updateItems(r,!0,a.current.elemNumbers)},s=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&$o(t.nativeEvent);a.current.elemNumbers=[n],a.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),a.current.active=!1,i()}),[]),c=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&$o(t);a.current.isRange=!1,a.current.startElemNumber=n,a.current.elemNumbers=[n],a.current.toggle=r,a.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(a.current.active=!1,i()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),u=(0,t.useCallback)((e=>{if(0===e.button&&a.current.active){if(a.current.active=!1,a.current.isRange){const t=+e.currentTarget.getAttribute("data-n");l(t)}i()}}),[]),d=(0,t.useCallback)((e=>{0===e.button&&a.current.active&&(a.current.active=!1,i())}),[]),f=(0,t.useCallback)((t=>{if(!a.current.active)return;a.current.isRange||(a.current.isRange=!0,e.isSelected(a.current.startElemNumber)||(e.updateItem(a.current.startElemNumber,!0),a.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");l(n)}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",d),()=>{o.removeEventListener("mouseup",d)})),[d]),(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 p={};return r?Object.assign(p,{onChange:s}):Object.assign(p,{onMouseUp:u,onMouseDown:c,onMouseEnter:f}),{interactionEvents:p,select:(t=[],r=!1)=>{const o=[];return e.updateItems(t,r,o),e.setSelectableValuesUpdating(),Uo({selections:n,elemNumbers:r?o:t,isSingleSelect:e.isSingleSelect,toggle:!e.isSingleSelect})}}}({selectionState:i,selections:a,checkboxes:x,doc:document}),{layoutOptions:U={}}=o||{};let $=!0;U.dataLayout&&($="singleColumn"===U.dataLayout||"row"===U?.layoutOrder);const W="grid"===U?.dataLayout,H=e=>{const t={...$?{rowIndex:e}:{columnIndex:e}},n=W?t:e;L.current._listRef.scrollToItem(n)},K=()=>{if(N.current.queue=[],N.current.validPages=!1,L.current){L.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());N.current.dataOffset=0,H(0)}};f&&f.call(null,K),(0,t.useEffect)((()=>{y&&!O&&L.current&&(L.current._listRef.scrollToItem(y.initScrollPos),I(!0))}),[L.current]),(0,t.useEffect)((()=>{K()}),[o,N.current.dataOffset]);const X=Ki({text:Xi(o),font:"14px Source sans pro"});let Y=100;const Q="grid"!==U.dataLayout,J=o?.qListObject.qSize?.qcy,ee=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){const o=e?.length&&r?(({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})({pages:e,minimumBatchSize:t,count:n}):n;return o||0}({pages:j,minimumBatchSize:Y,count:J,calculatePagesHeight:h,layoutOptions:U,model:e});let te=Bs({itemWidth:u,layout:o,frequencyMode:d});const ne=function({layout:e,width:t,height:n,listCount:r,count:o,textWidth:a,freqIsAllowed:i,checkboxes:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,m=i?40:0,h=l?20:0,q=56+m+h,g=Math.max(Math.min(150,a+18+m+h),q);let y,v,b,C;const E="grid"===p;let S=f?20:E?32:29;E&&(S+=4);const O=n??8*S;if(c){let e=t;"row"===c?(y={overflowX:"hidden"},e+=8,({rowCount:C,columnWidth:b,columnCount:v}=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.ceil(i/Math.max(o,r)));l=!1!==e?.auto?s:Math.min(t,a,s);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:g,itemMinWidth:q}))):(y={overflowY:"hidden"},({rowCount:C,columnWidth:b,columnCount:v}=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);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:S,listCount:r,listHeight:O,columnAutoWidth:g,containerWidth:e,itemMinWidth:q})))}v=("singleColumn"===p?1:v)||1,C=("singleColumn"===p?o:C)||r;const I=s.dense?838e3:577e3;C=Math.min(C,I);const R=Math.floor(3355e4/b);v=Math.min(v,R)||1;const x=C*v;return{columnCount:v,columnWidth:b,rowCount:C,overflowStyling:y,itemHeight:S,listHeight:O,scrollBarWidth:10,count:o,listCount:Math.min(r,x),maxCount:{row:I,column:R},itemPadding:4,frequencyWidth:40}}({layout:o,width:u,height:c,listCount:ee,count:J,textWidth:X,freqIsAllowed:te,checkboxes:x});ne.columnWidth&&(te=Bs({itemWidth:ne.columnWidth,layout:o,frequencyMode:d}));const{listCount:re}=ne;k("listCount",re);const oe=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=((e,t)=>e.qListObject.qDimensionInfo.qCardinal-t)(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:$,sizes:ne,layout:o,offset:N.current.dataOffset});N.current.dataOffset=n,r&&i.triggerStateChanged(),H(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?H(C.state.start-e.up):e.down?H(C.state.stop+e.down):e.scrollPosition&&oe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:ae}=o?.qListObject.qDimensionInfo||{},[ie,le]=(0,t.useState)({first:!1,last:!1}),{List:se,Grid:ce}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,frequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:m,textAlign:h,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}){const{layoutOptions:N={}}=e||{},{columnWidth:_,itemPadding:P,listHeight:A,itemHeight:T,rowCount:D,columnCount:k,frequencyWidth:M}=C||{},F=("grid"===N.dataLayout?_:n)>80,B={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:Zi},j=e?.qListObject.qDimensionInfo.qLocked,G={isLocked:j,column:!a,pages:i,...j||l()?{}:s,checkboxes:r,layoutOptions:N,frequencyMode:c,freqIsAllowed:L,isSingleSelect:d,textAlign:h,itemPadding:P,frequencyWidth:M,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:m},frequencyMax:w,histogram:u,keyboard:g,showGray:y,showTick:F,dataOffset:o.current.dataOffset,focusListItems:I,direction:b};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(Wi,$i({},B,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:A,width:n,itemCount:E,itemData:{...G,listCount:E},itemSize:T,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),Ui({renderProps:t,layoutOptions:N,maxCount:C.maxCount,columnCount:k,rowCount:D,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Oi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=N||{},c=Math.min(A,D*T+l);return o.current.listRef=a,t.createElement(Hi,$i({},B,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:k,columnWidth:_,rowCount:D,rowHeight:T,style:{...i},itemData:{...G,column:void 0,columnCount:k,rowCount:D},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,m;return n&&n.setScrollPos(u),"column"===r?(d=s*o,f=i,p=c*o,m=l):(d=s,f=i*a,p=c,m=l*a),{visibleStartIndex:d+f,visibleStopIndex:p+m}}({renderProps:t,scrollState:v,layoutOrder:s,rowCount:D,columnCount:k});Ui({renderProps:t,layoutOptions:N,maxCount:C.maxCount,columnCount:k,rowCount:D,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Oi)}}}({direction:l,layout:o,height:c,width:u,checkboxes:x,frequencyMode:d,histogram:w,keyboard:q,showGray:g,interactionEvents:V,select:Z,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:ae,isVertical:Q,pages:j,selectDisabled:v,isSingleSelect:R,selections:a,scrollState:y,local:N,sizes:ne,listCount:re,overflowDisclaimer:{state:F,set:e=>B((t=>({...t,show:e})))},setScrollPosition:oe,focusListItems:{first:ie.first,setFirst:e=>le((t=>({...t,first:e}))),last:ie.last,setLast:e=>le((t=>({...t,last:e})))},setCurrentScrollIndex:C.set,constraints:r,frequencyMax:P,freqIsAllowed:te}),{columnWidth:ue,listHeight:de,itemHeight:fe}=ne||{};return Q||(Y=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:ue,listHeight:de,itemHeight:fe})),t.createElement(t.Fragment,null,!re&&t.createElement(Ps,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(zo,{isItemLoaded:z,itemCount:re||1,loadMoreItems:M.with({minimumBatchSize:Y}),threshold:0,minimumBatchSize:Y,ref:L},Q?se:ce),F.show&&!F.dismissed&&t.createElement(Fs,{text:"Listbox.ItemsOverflow",dismiss:()=>B((e=>({...e,dismissed:!0}))),parentWidth:L?.current?._listRef?.props?.width,dense:U?.dense}))}const zs=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"}}]}),Vs=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"}}]}),Zs=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"}}]}),Us=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"}}]}),$s=({layout:e,model:t,translator:n,selectionState:r})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:zs,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:Zs,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:Vs,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:Us,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}];function Ws(e){return(0,je.Z)("MuiDivider",e)}const Hs=(0,Be.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ks=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Xs=(0,Et.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,Ae.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,gn.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"})),(({theme:e,ownerState:t})=>(0,Ae.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>(0,Ae.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>(0,Ae.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%"}}))),Ys=(0,Et.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,Ae.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)`}))),Qs=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,Ks),m=(0,Ae.Z)({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:f}),h=(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,Ws,r)})(m);return(0,de.jsx)(Xs,(0,Ae.Z)({as:i,className:(0,pt.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,de.jsx)(Ys,{className:h.wrapper,ownerState:m,children:o}):null}))})),Js=Qs,ec=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 tc(e){const t=ie(),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 nc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=ie(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=tc(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return t.createElement(cr,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:d,disabled:l,style:s,className:"njs-cell-action",size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList"},c&&an(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),rc=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"}}]}),oc=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"}}]}),ac=e=>an(oc(e)),ic=t.createContext({});var lc=o(18974);function sc(e){return(0,je.Z)("MuiListItemIcon",e)}const cc=(0,Be.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),uc=(0,Be.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function dc(e){return(0,je.Z)("MuiMenuItem",e)}const fc=(0,Be.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),pc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],mc=(0,Et.ZP)(rr,{shouldForwardProp:e=>(0,Et.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,Ae.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"}},[`&.${fc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${fc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${fc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,gn.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,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${fc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${fc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Hs.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Hs.inset}`]:{marginLeft:52},[`& .${uc.root}`]:{marginTop:0,marginBottom:0},[`& .${uc.inset}`]:{paddingLeft:36},[`& .${cc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,Ae.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${cc.root} svg`]:{fontSize:"1.25rem"}})))),hc=t.forwardRef((function(e,n){const r=(0,St.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,Te.Z)(r,pc),m=t.useContext(ic),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,lc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const g=(0,Ae.Z)({},r,{dense:h.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,dc,i);return(0,Ae.Z)({},i,s)})(r),v=(0,yn.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,de.jsx)(ic.Provider,{value:h,children:(0,de.jsx)(mc,(0,Ae.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,pt.Z)(y.focusVisible,c),className:(0,pt.Z)(y.root,f)},p,{ownerState:g,classes:y}))})})),qc=hc,gc=["className"],yc=(0,Et.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,Ae.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),vc=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,Te.Z)(r,gc),i=t.useContext(ic),l=(0,Ae.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,sc,n)})(l);return(0,de.jsx)(yc,(0,Ae.Z)({className:(0,pt.Z)(s.root,o),ownerState:l,ref:n},a))})),bc=vc;function Cc(e){return(0,je.Z)("MuiList",e)}o(96506),(0,Be.Z)("MuiList",["root","padding","dense","subheader"]);const Ec=["children","className","component","dense","disablePadding","subheader"],Sc=(0,Et.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,Ae.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Oc=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,Te.Z)(r,Ec),d=t.useMemo((()=>({dense:l})),[l]),f=(0,Ae.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,Cc,t)})(f);return(0,de.jsx)(ic.Provider,{value:d,children:(0,de.jsxs)(Sc,(0,Ae.Z)({as:i,className:(0,pt.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Ic=Oc,Rc=jr,xc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function wc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Lc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Nc(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 _c(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")&&Nc(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Pc=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,Te.Z)(e,xc),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,lc.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=`${Rc((0,fr.Z)(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=(0,yn.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)))}));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,de.jsx)(Ic,(0,Ae.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,fr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),_c(t,r,c,s,wc);else if("ArrowUp"===n)e.preventDefault(),_c(t,r,c,s,Lc);else if("Home"===n)e.preventDefault(),_c(t,null,c,s,wc);else if("End"===n)e.preventDefault(),_c(t,null,c,s,Lc);else if(1===n.length){const o=m.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&&Nc(r,o);o.previousKeyMatched&&(l||_c(t,r,!1,s,wc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:g}))}));function Ac(){return Ac=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},Ac.apply(this,arguments)}const Tc="More-icon",Dc=(0,Et.ZP)(Fo)((({theme:e})=>({pointerEvents:"none",[`& .${Tc}`]:{color:e.palette.text.primary}})));function kc({item:e,onActionClick:n=(()=>{})}){const{hidden:r,disabled:o,hasSvgIconShape:a}=tc(e);return r?null:t.createElement(qc,{title:e.label,onClick:()=>{e.action(),n()},disabled:o,tabindex:"0"},a&&t.createElement(bc,{className:Tc},an(e.getSvgIconShape())),t.createElement(qn,{noWrap:!0},e.label))}const Mc=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>e.length>0&&t.createElement(Dc,Ac({},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"}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{pointerEvents:"auto",maxWidth:"250px",...a}}}),t.createElement(Pc,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(kc,{key:n,item:e,onActionClick:i}))))))),Fc="ActionsToolbar-item",Bc="ActionsToolbar-itemSpacing",jc="ActionsToolbar-firstItemSpacing",Gc="ActionsToolbar-lastItemSpacing",zc=(0,Et.ZP)(Fo)((({theme:e})=>({[`& .${Bc}`]:{padding:e.spacing(0,.5)},[`& .${jc}`]:{padding:e.spacing(0,.5,0,0)},[`& .${Gc}`]:{padding:e.spacing(0,0,0,.5)}}))),Vc=t.forwardRef((({ariaExpanded:e=!1,actions:n=[],first:r=!1,last:o=!1,addAnchor:a=!1,isRtl:i=!1},l)=>n.length>0?t.createElement(Tt,{item:!0,container:!0,gap:0,flexDirection:i?"row-reverse":"row",wrap:"nowrap"},n.map(((i,s)=>{let c=[];const u=r&&0===s,d=o&&n.length-1===s;return u&&!d&&(c=[jc,Fc]),d&&!u&&(c=[...c,Gc,Fc]),u||d||0!==c.length||(c=[Bc,Fc]),t.createElement(Tt,{item:!0,key:i.key,className:c.join(" ").trim()},t.createElement(nc,{ariaExpanded:e,key:i.key,item:i,ref:0===s?l:null,addAnchor:a}))}))):null)),Zc={pointerEvents:"none"},Uc={vertical:"top",horizontal:"right"},$c={vertical:"bottom",horizontal:"right"},Wc=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"}){const u=function({api:e,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}){const{translator:a}=(0,t.useContext)(et);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:oc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:t=>{o(t),r(),e.cancel()},getSvgIconShape:rc},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:t=>{o(t),n(),e.confirm()},getSvgIconShape:Wo}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(et),[p,m]=(0,t.useState)(!1),h=(0,t.useRef)(),q=(0,t.useRef)(),g=ie(),y=(0,t.useMemo)((()=>({margin:g.spacing(.5,0)}))),v=e=>{const t=q.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};(0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=v(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=v(!0);e&&e.focus()})))}),[]);let b=a.enabled,C=a.actions;const E=a.alignTo||h,S=n.filter((e=>!e.hidden));if(S.length>r){const e=S.splice(-(S.length-r)-1);b=!0,C=[...e,...a.actions]}if(!o.show&&0===S.length)return null;const O={key:"more",label:d.get("Menu.More"),getSvgIconShape:ec,hidden:!1,active:p,enabled:()=>b,action:()=>m(!p)},I=f&&l&&l.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&v(!1)===e.target||!e.shiftKey&&v(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,R=S.length>0,x=C.length>0,w=R&&o.show||x&&o.show,L="rtl"===c,N=t.createElement(Tt,{ref:q,onKeyDown:I,container:!0,gap:0,wrap:"nowrap",sx:{flexDirection:L?"row-reverse":"row"}},R&&t.createElement(Vc,{actions:S,first:!0,last:!x&&!o.show}),x&&t.createElement(Vc,{ref:h,ariaExpanded:p,actions:[O],first:!R,last:!o.show,addAnchor:!0}),w&&t.createElement(Tt,{item:!0,className:Bc,style:y},t.createElement(Js,{orientation:"vertical"})),o.show&&t.createElement(Vc,{actions:u,first:!R&&!x,last:!0,isRtl:L}),p&&t.createElement(Mc,{show:p,actions:C,alignTo:E,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(zc,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:Uc,transformOrigin:$c,hideBackdrop:!0,style:Zc,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.8)}}},N):e&&N};function Hc(e){return(0,je.Z)("MuiInputAdornment",e)}const Kc=(0,Be.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Xc;const Yc=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Qc=(0,Et.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,cn.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,Ae.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Kc.positionStart}&:not(.${Kc.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Jc=t.forwardRef((function(e,n){const r=(0,St.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,Te.Z)(r,Yc),f=sa()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const m=(0,Ae.Z)({},r,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:l,position:c,variant:p}),h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e,l={root:["root",n&&"disablePointerEvents",o&&`position${(0,cn.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,cn.Z)(a)}`]};return(0,Ct.Z)(l,Hc,t)})(m);return(0,de.jsx)(la.Provider,{value:null,children:(0,de.jsx)(Qc,(0,Ae.Z)({as:i,ownerState:m,className:(0,pt.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,de.jsxs)(t.Fragment,{children:["start"===c?Xc||(Xc=(0,de.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,de.jsx)(qn,{color:"text.secondary",children:o})}))})})),eu=Jc;var tu;const nu=["children","classes","className","label","notched"],ru=(0,Et.ZP)("fieldset")({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%"}),ou=(0,Et.ZP)("legend")((({ownerState:e,theme:t})=>(0,Ae.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,Ae.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 au(e){return(0,je.Z)("MuiInputBase",e)}const iu=(0,Be.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,je.Z)("MuiOutlinedInput",e)}const su=(0,Ae.Z)({},iu,(0,Be.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var cu=o(56918),uu=o(89128);const du=["onChange","maxRows","minRows","style","value"];function fu(e){return parseInt(e,10)||0}const pu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function mu(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const hu=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=_r(e,du),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,Pr.Z)(n,u),f=t.useRef(null),p=t.useRef(0),[m,h]=t.useState({outerHeightStyle:0}),q=t.useCallback((()=>{const t=u.current,n=(0,Br.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=fu(n.paddingBottom)+fu(n.paddingTop),s=fu(n.borderBottomWidth)+fu(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();mu(e)||h((t=>g(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,uu.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();mu(e)||ft.flushSync((()=>{h((t=>g(t,e)))}))})()}));let t;const n=u.current,r=(0,Br.Z)(n);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(n)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,kr.Z)((()=>{y()})),t.useEffect((()=>{p.current=0}),[l]),(0,de.jsxs)(t.Fragment,{children:[(0,de.jsx)("textarea",Nr({value:l,onChange:e=>{p.current=0,c||y(),r&&r(e)},ref:d,rows:a,style:Nr({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,de.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:Nr({},pu,i,{padding:0})})]})}));function qu(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,de.jsx)(Dn,{styles:r})}const gu=function(e){return(0,de.jsx)(qu,(0,Ae.Z)({},e,{defaultTheme:ae.Z}))};function yu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const vu=["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"],bu=(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,cn.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Cu=(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]},Eu=(0,Et.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:bu})((({theme:e,ownerState:t})=>(0,Ae.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",[`&.${iu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,Ae.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Su=(0,Et.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Cu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,Ae.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,Ae.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] + .${iu.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},[`&.${iu.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"})})),Ou=(0,de.jsx)(gu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Iu=t.forwardRef((function(e,n){var r;const o=(0,St.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:m,fullWidth:h=!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:N,readOnly:_,renderSuffix:P,rows:A,slotProps:T={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,Te.Z)(o,vu),j=null!=y.value?y.value:F,{current:G}=t.useRef(null!=j),z=t.useRef(),V=t.useCallback((e=>{}),[]),Z=(0,yn.Z)(z,v,y.ref,V),[U,$]=t.useState(!1),W=sa(),H=da({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:U,t.useEffect((()=>{!W&&f&&U&&($(!1),O&&O())}),[W,f,U,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(yu(e.value)&&""!==e.value||t&&yu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,lc.Z)((()=>{G&&Y({value:j})}),[j,Y,G]),t.useEffect((()=>{Y(z.current)}),[]);let Q=g,J=y;E&&"input"===Q&&(J=A?(0,Ae.Z)({type:void 0,minRows:A,maxRows:A},J):(0,Ae.Z)({type:void 0,maxRows:b,minRows:C},J),Q=hu),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,Ae.Z)({},o,{color:H.color||"primary",disabled:H.disabled,endAdornment:m,error:H.error,focused:H.focused,formControl:W,fullWidth:h,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:m}=e,h={root:["root",`color${(0,cn.Z)(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===f&&"sizeSmall",u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,Ct.Z)(h,au,t)})(ee),ne=D.root||c.Root||Eu,re=T.root||u.root||{},oe=D.input||c.Input||Su;return J=(0,Ae.Z)({},J,null!=(r=T.input)?r:u.input),(0,de.jsxs)(t.Fragment,{children:[!p&&Ou,(0,de.jsxs)(ne,(0,Ae.Z)({},re,!Xr(ne)&&{ownerState:(0,Ae.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{z.current&&e.currentTarget===e.target&&z.current.focus(),R&&R(e)}},B,{className:(0,pt.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,de.jsx)(la.Provider,{value:null,children:(0,de.jsx)(oe,(0,Ae.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?z.current:{value:"x"})},name:S,placeholder:N,readOnly:_,required:H.required,rows:A,value:j,onKeyDown:w,onKeyUp:L,type:M},J,!Xr(oe)&&{as:Q,ownerState:(0,Ae.Z)({},ee,J.ownerState)},{ref:Z,className:(0,pt.Z)(te.input,J.className,_&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),y.onBlur&&y.onBlur(e),W&&W.onBlur?W.onBlur(e):$(!1)},onChange:(e,...t)=>{if(!G){const t=e.target||z.current;if(null==t)throw new Error((0,cu.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):$(!0))}}))}),m,P?P((0,Ae.Z)({},H,{startAdornment:k})):null]}))]})})),Ru=Iu,xu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],wu=(0,Et.ZP)(Eu,{shouldForwardProp:e=>(0,Et.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:bu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Ae.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${su.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${su.focused} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${su.error} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${su.disabled} .${su.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,Ae.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Lu=(0,Et.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,Te.Z)(e,nu),a=null!=n&&""!==n,i=(0,Ae.Z)({},e,{notched:r,withLabel:a});return(0,de.jsx)(ru,(0,Ae.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,de.jsx)(ou,{ownerState:i,children:a?(0,de.jsx)("span",{children:n}):tu||(tu=(0,de.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}})),Nu=(0,Et.ZP)(Su,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Cu})((({theme:e,ownerState:t})=>(0,Ae.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}))),_u=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,St.Z)({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:m,slots:h={},type:q="text"}=s,g=(0,Te.Z)(s,xu),y=(e=>{const{classes:t}=e,n=(0,Ct.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},lu,t);return(0,Ae.Z)({},t,n)})(s),v=sa(),b=da({props:s,muiFormControl:v,states:["required"]}),C=(0,Ae.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=h.root)?o:c.Root)?r:wu,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:Nu;return(0,de.jsx)(Ru,(0,Ae.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,de.jsx)(Lu,{ownerState:C,className:y.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,de.jsxs)(t.Fragment,{children:[f," ","*"]})):f,notched:void 0!==m?m:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:d,multiline:p,ref:n,type:q},g,{classes:(0,Ae.Z)({},y,{notchedOutline:null})}))}));_u.muiName="Input";const Pu=_u,Au=e=>an((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)),Tu="/qListObjectDef",Du=(0,Et.ZP)(eu)((({theme:e})=>({color:e.listBox?.content?.color}))),ku=(0,Et.ZP)(Pu)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function Mu({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}){const{translator:f}=(0,t.useContext)(et),[p,m]=(0,t.useState)(""),[h,q]=(0,t.useState)(!1),g=(0,t.useRef)(),y=ie(),{getStoreValue:v}=Ji(r),b="rtl"===u,C=b?"right":"left",E=async()=>{if(e.isModal())try{await r.abortListObjectSearch(Tu)}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(h&&g.current){const e=p.length-1;g.current.setSelectionRange(e,e),q(!1)}}),[h,g.current]);return i&&!1!==c?t.createElement(ku,{startAdornment:t.createElement(Du,{position:"start"},t.createElement(Au,{size:a?"small":"normal"})),className:"search",sx:[{border:"none",fontSize:14,borderRadius:0,backgroundColor:"transparent","& fieldset":{border:`1px solid ${y.palette.divider}`,borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"},paddingLeft:"9px"},a&&{fontSize:12,paddingLeft:y.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:b?"row-reverse":"row"}],inputRef:g,size:"small",fullWidth:!0,placeholder:f.get("Listbox.Search"),value:p,onFocus:()=>{s&&(m("**"),q(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(Tu,e.target.value):E()),onKeyDown:async t=>{let o;switch(t.key){case"Enter":o=await(async()=>{let t;return await r.searchListObjectFor(Tu,p)&&p.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(Tu,!0),e.selectionsMade=!0,n.clearItemStates(!1),m("")),t})();break;case"Escape":o=e.isActive()&&e.cancel(),t.preventDefault(),t.stopPropagation();break;case"f":case"F":(t.ctrlKey||t.metaKey)&&(d&&d(),t.preventDefault(),t.stopPropagation())}return o},autoFocus:l,inputProps:{tabIndex:!o||o.enabled&&!o.active?-1:0,style:{textAlign:`${C}`}}}):null}function Fu(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const Bu=({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(n,e,!0))},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(n),goModal:e=>t.begin(n,e,!1),noModal:(e=!1)=>t.end(e)};return Fu(i),i};function ju(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=ut(e),[l]=en(n),s=n?n.id:null,[c]=ot(),[u]=it(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=Bu({appSelections:i,appModal:d,model:n}),u.set(s,f),u.dispatch(!0))}),[i,n]),(0,t.useEffect)((()=>{if(!f)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=(({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?.()}}})({elements:a,objectSelections:f,options:o});return f.addListener("activated",e),f.addListener("deactivated",t),()=>{f.removeListener("activated",e),f.removeListener("deactivated",t)}}),[f]),(0,t.useEffect)((()=>{f&&f.setLayout(l)}),[f,l]),[f]}function Gu(){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,!!Vo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return Zo(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 zu=(e,t,n)=>e?.[t]??n;function Vu({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}){const u=Boolean(l?.qLibraryId),d=o&&Boolean(e.current),[f,p]=(0,t.useState)(0),m=ie(),h=(0,t.useRef)(),[q]=Kt({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:u?void 0:[l]},qLibraryId:u?l.qLibraryId:void 0}},i,l,s),g=(0,t.useCallback)((()=>{q.lock("/qListObjectDef")}),[q]),y=(0,t.useCallback)((()=>{q.unlock("/qListObjectDef")}),[q]),{translator:v}=(0,t.useContext)(et),b=(0,t.useRef)(),C=(0,t.useRef)(),[E]=ju(i,q,C),[S]=en(q),[O]=(0,t.useState)((()=>Gu()));if((0,t.useEffect)((()=>{E&&d&&(E.isModal(q)||E.goModal("/qListObjectDef"))}),[E,d]),!q||!S||!v)return null;const I=!0===S.qListObject.qDimensionInfo.qLocked,R=(e,t)=>{const n="escapeKeyDown"!==t;E.noModal(n),a()},x=$s({layout:S,model:q,translator:v,selectionState:O}),w=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return zu(t,"qSelected",0)+zu(t,"qSelectedExcluded",0)+zu(t,"qLocked",0)+zu(t,"qLockedExcluded",0)>0}(S);return t.createElement(Fo,{open:d,onClose:R,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Tt,{container:!0,direction:"column",gap:0,ref:C},t.createElement(Tt,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Tt,{item:!0},I?t.createElement(cr,{onClick:y,disabled:!I,size:"large"},t.createElement(sn,{title:v.get("Listbox.Unlock")})):t.createElement(cr,{onClick:g,disabled:!w,size:"large"},t.createElement(ur,{title:v.get("Listbox.Lock")}))),t.createElement(Tt,{item:!0,xs:!0}),t.createElement(Tt,{item:!0},t.createElement(Wc,{more:{enabled:!I,actions:x,alignTo:b,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:E,onConfirm:R,onCancel:()=>R(0,"escapeKeyDown")}}))),t.createElement(Tt,{item:!0,xs:!0},t.createElement("div",{ref:b}),t.createElement(Tt,{item:!0,ref:h},t.createElement(Mu,{visible:!0,model:q,listCount:f,selections:E,selectionState:O,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(Gs,{model:q,app:i,layout:S,selections:E,selectionState:O,direction:"ltr",onSetListCount:e=>p(e),onCtrlF:()=>{h.current.querySelector("input")?.focus()}}))))}function Zu({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(et),s=a||(0,t.useRef)(),c=ie(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const m=p.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},h=(m.qSelected+m.qLocked)/p.qTotal,q=m.qAlternative/p.qTotal,g=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/p.qTotal,y=m.qSelected+m.qSelectedExcluded+m.qLocked+m.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:h},{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(Tt,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(sn,null))):p.qOneAndOnlyOne||(S=t.createElement(Tt,{item:!0},t.createElement(cr,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(ln,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(Tt,{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(Vu,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(Vu,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const Uu=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function $u(e){return(0,je.Z)("MuiBadge",e)}const Wu=(0,Be.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"]),Hu=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Ku=(0,Et.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Xu=(0,Et.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,cn.Z)(n.anchorOrigin.vertical)}${(0,cn.Z)(n.anchorOrigin.horizontal)}${(0,cn.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,Ae.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.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%",[`&.${Wu.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Yu=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,St.Z)({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:f={},componentsProps:p={},children:m,overlap:h="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,Te.Z)(s,Hu),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=Uu({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=Uu({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),N=R||null==I&&"dot"!==S,{color:_=q,overlap:P=h,anchorOrigin:A=c,variant:T=S}=N?L:s,D="dot"!==T?w:void 0,k=(0,Ae.Z)({},s,{badgeContent:I,invisible:N,max:x,displayValue:D,showZero:E,anchorOrigin:A,color:_,overlap:P,variant:T}),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,cn.Z)(n.vertical)}${(0,cn.Z)(n.horizontal)}`,`anchorOrigin${(0,cn.Z)(n.vertical)}${(0,cn.Z)(n.horizontal)}${(0,cn.Z)(o)}`,`overlap${(0,cn.Z)(o)}`,"default"!==t&&`color${(0,cn.Z)(t)}`]};return(0,Ct.Z)(l,$u,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:Ku,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:Xu,j=null!=(i=null==C?void 0:C.root)?i:p.root,G=null!=(l=null==C?void 0:C.badge)?l:p.badge,z=ro({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,pt.Z)(null==j?void 0:j.className,M.root,u)}),V=ro({elementType:B,externalSlotProps:G,ownerState:k,className:(0,pt.Z)(M.badge,null==G?void 0:G.className)});return(0,de.jsxs)(F,(0,Ae.Z)({},z,{children:[m,(0,de.jsx)(B,(0,Ae.Z)({},V,{children:D}))]}))})),Qu=Yu;var Ju=o(33498);function ed(e){return(0,je.Z)("MuiListItem",e)}const td=(0,Be.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),nd=(0,Be.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function rd(e){return(0,je.Z)("MuiListItemSecondaryAction",e)}(0,Be.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const od=["className"],ad=(0,Et.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,Ae.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),id=t.forwardRef((function(e,n){const r=(0,St.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,Te.Z)(r,od),i=t.useContext(ic),l=(0,Ae.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,Ct.Z)(r,rd,n)})(l);return(0,de.jsx)(ad,(0,Ae.Z)({className:(0,pt.Z)(s.root,o),ownerState:l,ref:n},a))}));id.muiName="ListItemSecondaryAction";const ld=id,sd=["className"],cd=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],ud=(0,Et.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,Ae.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,Ae.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${nd.root}`]:{paddingRight:48}},{[`&.${td.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${td.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${td.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${td.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"}},[`&.${td.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,gn.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,gn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),dd=(0,Et.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),fd=t.forwardRef((function(e,n){const r=(0,St.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:m=!1,disabled:h=!1,disableGutters:q=!1,disablePadding:g=!1,divider:y=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,Te.Z)(r.ContainerProps,sd),I=(0,Te.Z)(r,cd),R=t.useContext(ic),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),w=t.useRef(null);(0,lc.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const L=t.Children.toArray(l),N=L.length&&(0,Ju.Z)(L[L.length-1],["ListItemSecondaryAction"]),_=(0,Ae.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:h,disableGutters:q,disablePadding:g,divider:y,hasSecondaryAction:N,selected:C}),P=(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,ed,r)})(_),A=(0,yn.Z)(w,n),T=S.root||u.Root||ud,D=E.root||d.root||{},k=(0,Ae.Z)({className:(0,pt.Z)(P.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,pt.Z)(td.focusVisible,v),M=rr),N?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,de.jsx)(ic.Provider,{value:x,children:(0,de.jsxs)(dd,(0,Ae.Z)({as:f,className:(0,pt.Z)(P.container,p),ref:A,ownerState:_},O,{children:[(0,de.jsx)(T,(0,Ae.Z)({},D,!Xr(T)&&{as:M,ownerState:(0,Ae.Z)({},_,D.ownerState)},k,{children:L})),L.pop()]}))})):(0,de.jsx)(ic.Provider,{value:x,children:(0,de.jsxs)(T,(0,Ae.Z)({},D,{as:M,ref:A},!Xr(T)&&{ownerState:(0,Ae.Z)({},_,D.ownerState)},k,{children:[L,b&&(0,de.jsx)(ld,{children:b})]}))})})),pd=fd;var md=o(67605);const hd=t.createContext({}),qd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],gd=e=>(0,Ae.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}}),yd=(0,Et.ZP)(rr,{shouldForwardProp:e=>(0,Et.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,cn.Z)(n.color)}`],t[`size${(0,cn.Z)(n.size)}`],t[`${n.variant}Size${(0,cn.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return(0,Ae.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,Ae.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,gn.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,gn.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,gn.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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,Ae.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ze.focusVisible}`]:(0,Ae.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ze.disabled}`]:(0,Ae.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,gn.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).palette.grey[300],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"},[`&.${ze.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ze.disabled}`]:{boxShadow:"none"}})),vd=(0,Et.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,cn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,Ae.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},gd(e)))),bd=(0,Et.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,cn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,Ae.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},gd(e)))),Cd=t.forwardRef((function(e,n){const r=t.useContext(hd),o=(0,md.Z)(r,e),a=(0,St.Z)({props:o,name:"MuiButton"}),{children:i,color:l="primary",component:s="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:m,fullWidth:h=!1,size:q="medium",startIcon:g,type:y,variant:v="text"}=a,b=(0,Te.Z)(a,qd),C=(0,Ae.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:y,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,cn.Z)(t)}`,`size${(0,cn.Z)(o)}`,`${a}Size${(0,cn.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,cn.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,cn.Z)(o)}`]},s=(0,Ct.Z)(l,Ge,i);return(0,Ae.Z)({},i,s)})(C),S=g&&(0,de.jsx)(vd,{className:E.startIcon,ownerState:C,children:g}),O=p&&(0,de.jsx)(bd,{className:E.endIcon,ownerState:C,children:p});return(0,de.jsxs)(yd,(0,Ae.Z)({ownerState:C,className:(0,pt.Z)(r.className,E.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,pt.Z)(E.focusVisible,m),ref:n,type:y},b,{classes:E,children:[S,i,O]}))})),Ed=Cd,Sd=e=>an((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)),Od="MultiState-item",Id=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${Od}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Rd({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)(et),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Tt,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(Qu,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(qn,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Tt,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(Sd,null)))));const q=t.createElement(Ic,{dense:!0},t.createElement(pd,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Ed,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(pd,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(vi,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(Zu,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),g=t.createElement(Fo,{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(Id,{container:!0,gap:0,className:Od,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&g,l>-1&&t.createElement(Vu,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}));return r&&l>-1?t.createElement(Vu,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):y}const xd="More-item",wd="More-badge",Ld=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${xd}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${wd}`]:{padding:e.spacing(0,1)}})));function Nd({items:e=[],api:n}){const r=ie(),[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(Rd,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(Zu,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Ld,{container:!0,gap:0,className:xd,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Tt,{item:!0},t.createElement(vi,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(qn,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Tt,{item:!0},t.createElement(cr,{size:"large"},t.createElement(Sd,null))),o&&t.createElement(Fo,{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(Ic,{dense:!0},e.map(((e,r)=>t.createElement(pd,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(vi,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Rd,{field:e,api:n}):t.createElement(Zu,{field:e,api:n}))))))),f)}function _d(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 Pd({api:e,app:n}){const r=ie(),[o]=Yt(n),[a]=en(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=st(),[c,u]=nn(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&_d(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>_d(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 e=s.get(n.id);return e&&"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(Tt,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Tt,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:"120px",background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Rd,{field:n,api:e}):t.createElement(Zu,{field:n,api:e})))),i.more.length>0&&t.createElement(Tt,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"72px",background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Nd,{items:i.more,api:e})))}const Ad=e=>an((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)),Td=e=>an((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));function Dd({api:e,app:n}){const{translator:r}=(0,t.useContext)(et),[o]=function(e){const[n]=Yt(e),[r]=en(n),[o]=tn(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&((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)})(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(Tt,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Tt,{item:!0},t.createElement(cr,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(Ad,null))),t.createElement(Tt,{item:!0},t.createElement(cr,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(Td,null))),t.createElement(Tt,{item:!0},t.createElement(cr,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(ac,null))))}const kd=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function Md([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function Fd(){return kd.map(Md).join("")}function Bd({app:e}){const n=ie(),[r]=ut(e);return r?t.createElement(Tt,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Tt,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(Dd,{api:r,app:e})),t.createElement(Tt,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(Pd,{api:r,app:e}))):null}var jd=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gd=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}}(),zd=Object.assign||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},Vd=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},Zd=void 0;Zd="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;var Ud=null,$d=null,Wd=Zd.clearTimeout,Hd=Zd.setTimeout,Kd=Zd.cancelAnimationFrame||Zd.mozCancelAnimationFrame||Zd.webkitCancelAnimationFrame,Xd=Zd.requestAnimationFrame||Zd.mozRequestAnimationFrame||Zd.webkitRequestAnimationFrame;null==Kd||null==Xd?(Ud=Wd,$d=function(e){return Hd(e,20)}):(Ud=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,2),n=t[0],r=t[1];Kd(n),Wd(r)},$d=function(e){var t=Xd((function(){Wd(n),e()})),n=Hd((function(){Kd(t),e()}),20);return[t,n]});var Yd=function(e){function n(){var e,t,r;jd(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=r=Vd(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,f=a-u-d,p=i-s-c;(!t&&r.state.height!==f||!n&&r.state.width!==p)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},Vd(r,t)}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)}(n,e),Gd(n,[{key:"componentDidMount",value:function(){var e=this.props.nonce;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,this._detectElementResize=function(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var 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)){var t=this;i(this),this.__resizeRAF__&&Ud(this.__resizeRAF__),this.__resizeRAF__=$d((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var m=0;m<d.length;m++)if(void 0!==p.style[d[m]+"AnimationName"]){u="-"+d[m].toLowerCase()+"-",r=f[m],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=Zd.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var 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)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var f=u.createElement("div");f.className="expand-trigger",f.appendChild(u.createElement("div"));var p=u.createElement("div");p.className="contract-trigger",a.__resizeTriggers__.appendChild(f),a.__resizeTriggers__.appendChild(p),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())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,n=e.children,r=e.className,o=e.disableHeight,a=e.disableWidth,i=e.style,l=this.state,s=l.height,c=l.width,u={overflow:"visible"},d={},f=!1;return o||(0===s&&(f=!0),u.height=0,d.height=s),a||(0===c&&(f=!0),u.width=0,d.width=c),(0,t.createElement)("div",{className:r,ref:this._setRef,style:zd({},u,i)},!f&&n(d))}}]),n}(t.PureComponent);Yd.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const Qd=Yd,Jd=e=>an((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 ef(){return ef=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},ef.apply(this,arguments)}const tf="ListBoxInline-listBoxHeader",nf="ListBoxInline-screenReaderOnly",rf="ListBoxInline-listboxWrapper",of=(0,Et.ZP)(Tt,{shouldForwardProp:e=>!["containerPadding"].includes(e)})((({theme:e,containerPadding:t})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${tf}`]:{alignSelf:"center",display:"flex",width:"calc(100% - 28px)"},[`& .${nf}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${rf}`]:{padding:t},"&:focus:not(:hover)":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus-visible":{outline:"none"}}))),af=(0,Et.ZP)(qn)((({theme:e})=>({color:e.listBox?.title?.main?.color,fontSize:e.listBox?.title?.main?.fontSize,fontFamily:e.listBox?.title?.main?.fontFamily,fontWeight:e.listBox?.title?.main?.fontWeight||"bold"})));function lf({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:m=(()=>!1),postProcessPages:h,calculatePagesHeight:q,showGray:g=!0,scrollState:y,renderedCallback:v}=e;let{toolbar:b=!0}=e;const C=ie(),E=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:S,keyboardNavigation:O,themeApi:I,constraints:R}=(0,t.useContext)(et);C.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(I);const x=(0,t.useRef)(),[w,L]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[N,_]=(0,t.useState)(!1),[P,A]=(0,t.useState)(!1),[T,D]=(0,t.useState)(!1),[k,M]=(0,t.useState)(!1),[F,B]=(0,t.useState)({down:0,up:0,scrollPosition:""}),[j,G]=(0,t.useState)({start:0,stop:0}),[z]=ut(r),V=(0,t.useRef)(null),[Z]=(0,t.useState)((()=>Gu())),{handleKeyDown:U,handleOnMouseEnter:$,handleOnMouseLeave:W}=function({setKeyboardActive:e,hovering:t,setHovering:n,updateKeyScroll:r,containerRef:o,currentScrollIndex:a,app:i,appSelections:l,constraints:s}){const c=e=>{t&&r(e)};return{handleKeyDown:t=>{const{keyCode:n,ctrlKey:r=!1,shiftKey:o=!1}=t.nativeEvent;switch(n){case Xo.ENTER:case Xo.SPACE:if(!t.target.classList.contains("listbox-container"))return;(t=>{const n=t.querySelector(".search input, .value.selector, .value, .ActionsToolbar-item button");e(!0),n&&n.focus()})(t.currentTarget);break;case Xo.ESCAPE:(t=>{t.target?.classList.contains("listbox-container")?e(!1):(t.target?.setAttribute("tabIndex","-1"),t.target?.blur(),t.currentTarget?.setAttribute("tabIndex","0"),t.currentTarget?.focus())})(t);break;case Xo.ARROW_UP:c({up:1});break;case Xo.ARROW_DOWN:c({down:1});break;case Xo.ARROW_LEFT:case Xo.ARROW_RIGHT:return;case Xo.PAGE_UP:c({up:a.stop-a.start});break;case Xo.PAGE_DOWN:c({down:a.stop-a.start});break;case Xo.HOME:c({scrollPosition:r&&o?"overflowStart":"start"});break;case Xo.END:c({scrollPosition:r&&o?"overflowEnd":"end"});break;default:return}t.preventDefault()},handleOnMouseEnter:()=>{(()=>{const e=s?.select||s?.active,t=i.isInModalSelection?.()??l.isInModal();return e||t})()||(n(!0),o?.current?.focus?.())},handleOnMouseLeave:()=>{t&&(n(!1),o?.current?.blur?.())}}}({setKeyboardActive:D,hovering:k,setHovering:M,updateKeyScroll:e=>B((t=>({...t,...e}))),containerRef:x,currentScrollIndex:j,app:r,appSelections:z,constraints:R}),H={enabled:O,active:T};void 0!==n?.toolbar&&(b=n.toolbar);const K=b&&""===n?.title;if(b=b&&""!==n?.title,(0,t.useEffect)((()=>{const e=()=>{_(!0),"toggle"===l&&!1===b&&A(!0)},t=()=>{_(!1),"toggle"===l&&A(!1)};return d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),_(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,b]),(0,t.useEffect)((()=>{if(w&&w.current&&(l&&s||"toggle"===l&&P)){const e=w.current.querySelector("input");e&&e.focus()}}),[w&&w.current,P,l,s]),!u||!n||!S)return null;const X=!0===n.qListObject.qDimensionInfo.qLocked,Y="rtl"===o,Q="H"===n.qListObject.qDimensionInfo.qGrouping,J=$s({layout:n,model:u,translator:S,selectionState:Z}),{wildCardSearch:ee,searchEnabled:te,layoutOptions:ne={}}=n,re=(!0===l||"toggle"===l&&P)&&!m()&&!1!==te,oe=ne.dense??!1,ae=b?49+(re?oe?27:40:0)+(oe?39:49):0,le=()=>{A(!P)},se=()=>{"toggle"===l?le():w.current.querySelector("input")?.focus()},ce=e=>function({isPopover:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a}){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:()=>{},onCancel:()=>{}}}}({isPopover:e,showToolbar:N,containerRef:x,isLocked:X,listboxSelectionToolbarItems:J,selections:d}),ue=re&&"toggle"===l,de=!1!==te&&"toggle"===l&&!R?.active,fe=X||de,pe=fe||Q,me=(fe?28:0)+(Q?19:0),he=9-(fe?7:0),qe=Y?9-(pe?7:0):0;let ge;return"grid"===ne?.dataLayout&&(ge="row"===ne.layoutOrder?"2px 4px":"2px 6px 2px 4px"),t.createElement(t.Fragment,null,K&&t.createElement(Wc,ef({direction:o},ce(!0))),t.createElement(of,{className:"listbox-container",container:!0,tabIndex:H.enabled&&!H.active?0:-1,direction:"column",gap:0,containerPadding:ge,style:{height:"100%",minHeight:`${ae}px`,flexFlow:"column nowrap"},onKeyDown:U,onMouseEnter:$,onMouseLeave:W,ref:x},b&&t.createElement(Tt,{item:!0,container:!0,style:{padding:C.spacing(1),paddingLeft:`${he}px`,paddingRight:`${qe}px`},sx:{flexDirection:Y?"row-reverse":"row"},wrap:"nowrap"},t.createElement(Tt,{item:!0,container:!0,height:32,sx:{flexDirection:Y?"row-reverse":"row"},wrap:"nowrap"},pe&&t.createElement(Tt,{item:!0,sx:{display:"flex",alignItems:"center",width:me}},X?t.createElement(cr,{title:S.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:E,disabled:m(),size:"large"},t.createElement(sn,{disableRipple:!0,style:{fontSize:"12px"}})):de&&t.createElement(cr,{onClick:le,tabIndex:-1,title:S.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(Au,{style:{fontSize:"12px"}})),Q&&t.createElement(Jd,{tabIndex:-1,title:S.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Tt,{item:!0,sx:{justifyContent:Y?"flex-end":"flex-start"},className:tf},t.createElement(af,{variant:"h6",noWrap:!0,ref:V,title:n.title},n.title))),t.createElement(Tt,{item:!0,xs:!0}),t.createElement(Tt,{item:!0},t.createElement(Wc,ef({direction:o},ce(function({containerRef:e,titleRef:t,iconsWidth:n}){return!!((e?.current?.clientWidth??0)<(t?.current?.clientWidth??0)+n+16+128|t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRef:x,titleRef:V,iconsWidth:me})))))),t.createElement(Tt,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":S.get("Listbox.ResultFilterLabel")},t.createElement(Tt,{item:!0,ref:L},t.createElement("div",{className:nf},S.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(Mu,{selections:d,selectionState:Z,model:u,dense:oe,keyboard:H,visible:re,search:l,autoFocus:ue,wildCardSearch:ee,searchEnabled:te,direction:o,hide:de&&le})),t.createElement(Tt,{item:!0,xs:!0,className:rf},t.createElement("div",{className:nf},S.get("Listbox.ScreenReaderInstructions")),t.createElement(Qd,null,(({height:e,width:l})=>t.createElement(Gs,{model:u,app:r,constraints:R,layout:n,selections:d,selectionState:Z,direction:o,frequencyMode:a,rangeSelect:c,checkboxes:i,height:e,width:l,update:f,fetchStart:p,postProcessPages:h,calculatePagesHeight:q,selectDisabled:m,keyboard:H,showGray:g,scrollState:y,keyScroll:{state:F,reset:()=>B({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:j,set:G},renderedCallback:v,onCtrlF:se})))))))}const sf=t.memo(lf),cf=function({options:e={}}){const{model:n}=e,[r]=en(n);return t.createElement(sf,{options:e,layout:r})},uf=(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 df({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}),[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]=Wt(),{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;(0,t.useEffect)((()=>{const t=o.histogram||"N"!==o.frequencyMode;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:m,checkboxes:h,listLayout:q,properties:g={}}=o;let{frequencyMode:y,histogram:v=!1}=o;switch(a&&a.failedToFetchFieldDef&&(v=!1,y="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(y):y="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(y):y="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(y):y="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(y):y="R";break;default:y="N"}const b={dense:m};"horizontal"===q&&(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=Fd());const E={qInfo:{qType:"njsListbox",qId:C.current},qListObjectDef:{qStateName:r,qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:v&&"N"===y?"V":y,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:v,checkboxes:h,layoutOptions:b,title:p};let S;if(V()(!0,E,g),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==y&&v)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:js(e)}}const[O]=Kt(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),m=c?i.selectionsApi:ju(e,f,[p,".njs-action-toolbar-more",".njs-action-toolbar-popover"],i)[0],h=(0,t.useMemo)((()=>({...i,selections:m,model:f,app:e,renderedCallback:l})),[i,m,f,e]);return m&&f?t.createElement(cf,{options:h}):null}const ff={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function pf({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(Vu,{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})}function mf(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function hf(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 qf=(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},gf=(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]},yf=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},vf=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},bf=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},Cf=2**53-1;function Ef(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function Sf(e,t){const n=V()(!0,{},t,e);return qf(n,"qOtherTotalSpec.qOtherCounted")||gf(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),qf(n,"qOtherTotalSpec.qOtherLimit")||gf(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function Of(e,t){return V()(!0,{},t,e)}function If(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const Rf={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===qf(e,t)&&gf(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:Ef,importCommonProperties:function(e,t,n){const r="masterobject"===qf(t,"properties.qInfo.qType")?"masterobject":qf(n,"qInfo.qType");gf(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:Sf,createDefaultMeasure:Of,resolveValue:If,getHypercubePath:function(e){const t=qf(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?(vf(t.qInterColumnSortOrder,o),++o):(--o,bf(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=V()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?gf(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||Ef(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=V()(!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=If(o.max,n.dimensions.length,Cf),i=If(o.min,n.dimensions.length,0);return{maxDimensions:If(r.max,a,Cf),minDimensions:If(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(Sf(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(Sf(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(Sf(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(Of(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(Of(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(Of(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=qf(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=qf(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},xf={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=qf(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();yf(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&&(Rf.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&(l=r.qLayoutExclude.quarantine,!(0===Object.keys(l).length&&l.constructor===Object))||delete r.qLayoutExclude,n;var l}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=Rf.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=qf(t,o||"").qHyperCubeDef,s=qf(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=Rf.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=Rf.getDefaultDimension(),defaultMeasure:m=Rf.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,Rf.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&Rf.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),Rf.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),Rf.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),Rf.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),Rf.copyPropertyIfExist("qMaxStackedCells",l,s),Rf.copyPropertyIfExist("qNoOfLeftDims",l,s),Rf.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),Rf.copyPropertyOrSetDefault("qMode",l,s,"S"),Rf.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),Rf.copyPropertyOrSetDefault("qSortbyYValue",l,s),Rf.copyPropertyOrSetDefault("qIndentMode",l,s),Rf.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),Rf.importCommonProperties(i,e,t),Rf.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),Rf.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},wf=e=>qf(e,"data.targets.0.propertyPath"),Lf={hypercube:xf};function Nf(e){return(0,je.Z)("MuiIcon",e)}(0,Be.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _f=["baseClassName","className","color","component","fontSize"],Pf=(0,Et.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,cn.Z)(n.color)}`],t[`fontSize${(0,cn.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]}))),Af=t.forwardRef((function(e,t){const n=(0,St.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,Te.Z)(n,_f),c=(0,Ae.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,cn.Z)(t)}`,`fontSize${(0,cn.Z)(n)}`]};return(0,Ct.Z)(o,Nf,r)})(c);return(0,de.jsx)(Pf,(0,Ae.Z)({as:i,className:(0,pt.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));Af.muiName="Icon";const Tf=Af,Df=e=>an((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 kf({d:e}){const n=ie();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(qn,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(Tf,null,e.missing||e.error?t.createElement(Df,{style:a}):t.createElement(Ho,{style:a})));return t.createElement(Tt,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Tt,{item:!0},i),t.createElement(Tt,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(qn,{noWrap:!0,component:"p"},t.createElement(qn,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(qn,{component:"span"}," "),t.createElement(qn,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function Mf({data:e}){const n=ie();return t.createElement(Tt,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(kf,{d:e,key:n})));return o.length>0&&t.createElement(Tt,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(qn,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function Ff({title:e="Error",message:n="",data:r=[]}){return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Tt,{item:!0},t.createElement(Df,{style:{fontSize:"38px"}})),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(Mf,{data:r}))}function Bf(e){return(0,je.Z)("MuiCircularProgress",e)}(0,Be.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const jf=["className","color","disableShrink","size","style","thickness","value","variant"];let Gf,zf,Vf,Zf,Uf=e=>e;const $f=Mn(Gf||(Gf=Uf`
76
76
  0% {
77
77
  transform: rotate(0deg);
78
78
  }
@@ -99,4 +99,4 @@
99
99
  animation: ${0} 1.4s linear infinite;
100
100
  `),$f))),Kf=(0,Et.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Xf=(0,Et.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,cn.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,Ae.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&&kn(Zf||(Zf=Uf`
101
101
  animation: ${0} 1.4s ease-in-out infinite;
102
- `),Wf))),Yf=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,jf),f=(0,Ae.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,cn.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,cn.Z)(n)}`,o&&"circleDisableShrink"]};return(0,Ct.Z)(a,Bf,t)})(f),m={},h={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);m.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,h.transform="rotate(-90deg)"}return(0,de.jsx)(Hf,(0,Ae.Z)({className:(0,pt.Z)(p.root,r),style:(0,Ae.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,de.jsx)(Kf,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,de.jsx)(Xf,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),Qf=Yf;function Jf(){return Jf=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},Jf.apply(this,arguments)}const ep="Progress-root",tp="Progress-front",np="Progress-back",rp=(0,Et.ZP)("div")((({theme:e})=>({[`&.${ep}`]:{position:"relative",display:"inline-block"},[`& .${tp}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${np}`]:{color:e.palette.divider}}))),op={small:16,medium:32,large:64,xlarge:128};function ap({size:e="medium",...n}){const r=op[e];return t.createElement(rp,{className:ep},t.createElement(Qf,Jf({variant:"determinate",value:100,className:np,size:r,thickness:3},n)),t.createElement(Qf,Jf({variant:"indeterminate",disableShrink:!0,className:tp,size:r,thickness:3},n)))}function ip(){return ip=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},ip.apply(this,arguments)}const lp={stripes:"LongRunningQuery-stripes"},sp=(0,Et.ZP)(Tt)((()=>({[`& .${lp.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 cp({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(sp,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Tt,{item:!0},t.createElement(ap,null)),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Tt,ip({item:!0},r),t.createElement(Ed,{variant:"contained",onClick:e},n.get("Cancel"))))}function up({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Tt,{item:!0},t.createElement(Df,{style:{fontSize:"38px"}})),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Tt,{item:!0},t.createElement(Ed,ip({variant:"contained",onClick:e},r),n.get("Retry"))))}function dp({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(et);return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:lp.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(cp,{cancel:r.cancel,translator:o,className:lp.cancel}),n&&t.createElement(up,{retry:r.retry,translator:o,className:lp.retry}))}function fp(){return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(ap,{size:"large"}))}const pp="Header-containerStyle",mp="Header-containerTitleStyle",hp=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${pp}`]:{flexGrow:0},[`&.${mp}`]:{paddingBottom:e.spacing(1)}}))),qp=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a}){const i=e.showTitles&&!!e.title,l=e.showTitles&&!!e.subtitle,s=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[c,u]=(0,t.useState)([]),[d,f]=nn(),[p,m]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!f)return;const{width:e}=f;m(e<221)}),[f]);const h=i||l,q=[pp,...h?[mp]:[]],g=(o||s)&&(p||!h),y=h&&!g&&!p,v=t.createElement(Wc,{show:y,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(hp,{ref:d,item:!0,container:!0,wrap:"nowrap",className:q.join(" ")},t.createElement(Tt,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Tt,{container:!0,wrap:"nowrap",direction:"column"},i&&t.createElement(qn,{variant:"h6",noWrap:!0,className:"njs-cell-title"},e.title),l&&t.createElement(qn,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},e.subtitle))),t.createElement(Tt,{item:!0},v))},gp="Footer-itemStyle",yp=(0,Et.ZP)(Tt)((({theme:e})=>({[`& .${gp}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),vp=function({layout:e}){return e&&e.showTitles&&e.footnote?t.createElement(yp,{container:!0},t.createElement(Tt,{item:!0,className:gp},t.createElement(qn,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},e.footnote))):null};class bp{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 Cp=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,keyboardNavigation:d}=(0,t.useContext)(et),[f]=(0,t.useState)((()=>new bp)),[p,m]=(0,t.useState)(!1),[h,q]=(0,t.useState)(0),[g,y,v]=nn(),[b,C]=(0,t.useState)(null),E=(0,t.useCallback)((e=>{e&&C(e)}),[]);return(0,t.useEffect)((()=>{if(b)return l.created({options:n}),l.mounted(b),m(!0),()=>{f.stop(),l.willUnmount()}}),[b,l]),(0,t.useEffect)((()=>{p&&b&&y&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||f.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),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,theme:i.public.theme,appLayout:a,keyboardNavigation:d,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===h&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),q(h+1))}))})))}),[y,n,r,b,v,o,a,s,c,u,p,d]),t.createElement("div",{ref:g,"data-render-count":h,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:E,style:{position:"absolute",width:"100%",height:"100%"}}))},Ep={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},Sp={"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"};const Op=(e,t)=>{const n=e?.bgImage;if(n){let r="";"media"!==n.mode&&"media"!==e.useImage||(r=n?.mediaUrl?.qStaticContentUrl?.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,r=function(e,t){return t?function(e){let t,n,r,o;if(e?.session?.config)return 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=Sp[e.bgImage.position]),t}(e),a=function(e){let t=Ep.originalSize;return e?.bgImage?.sizing&&(t=Ep[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}},Ip=(e,t)=>{const n=e?.bgColor;if(n&&t)return n.useExpression?t.validateColor(n.colorExpression):n.color&&"none"!==n.color.color?t.getColorPickerColor(n.color,!0):void 0},Rp=(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 xp({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(fp,null):null}const wp=e=>!e.qError||7005===e.qError.qErrorCode,Lp=(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}})),Np=e=>e&&(Array.isArray(e)?e:[e])||[],_p=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:Lp(o,Np(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:Lp(a,Np(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},Pp=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l},s)=>{const{app:c,types:u}=e,{nebbie:d}=e.public,{disableCellPadding:f=!1}=e.context||{},{theme:p,translator:m,language:h,keyboardNavigation:q}=(0,t.useContext)(et),g=ie(),[y,v,b]=nn(),[C,E]=(0,t.useReducer)(Rp,{loading:!1,loaded:!1,longRunningQuery:!1,error:(S=a)?{title:S.message}:null,sn:null,visualization:null});var S;const[O,{validating:I,canCancel:R,canRetry:x},w]=en(n),[L]=tn(c),[N,_,P]=nn(),[A,T]=(0,t.useState)(r),[D,k]=(0,t.useState)(o),M=`njs-cell-${l}`,[F]=ju(c,n,[`#${M}`,".njs-action-toolbar-popover"]),[B,j]=(0,t.useState)(!1),G=(0,t.useRef)({enter:null,leave:null}),[z,V]=(0,t.useState)(void 0),[Z,U]=(0,t.useState)(void 0),$=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{Fu($.current)}),[]),(0,t.useEffect)((()=>{const t=O?.components?O.components.find((e=>"general"===e.key)):null;V(Ip(t,e.public.theme)),U(Op(t,e.app))}),[O,e.public.theme,e.app,p]),$.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&P&&P.focus()},$.current.refocusContent=()=>{C.sn.component&&"function"==typeof C.sn.component.focus&&C.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!L||!O)return;if(C.visualization===O.visualization&&C.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),m=Np(p.qDimensionInfo||p.qItems).filter(wp),h=Np(p.qMeasureInfo).filter(wp);if(o+=d,a+=f,(m.length<d||h.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=_p(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]),m=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Measures",[m,i]),q=[{title:p,descriptions:[...c]},{title:h,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(m,O,e.generator.qae.data,n);E(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:C.sn,layout:O,model:n})})(C.sn);const e=u.getSupportedVersion(O.visualization,O.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const r=await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s})=>{try{const e=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r});return e.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s})}catch(t){e({type:"ERROR",error:{title:t.message}})}})({dispatch:E,types:u,visualization:e,version:t,model:n,app:c,selections:F,nebbie:d,focusHandler:$.current});r&&(E({type:"LOADED",sn:r,visualization:e}),i())})(O.visualization,e),()=>{};E({type:"ERROR",error:{title:`Could not find a version of '${O.visualization}' that supports current object version. Did you forget to register ${O.visualization}?`}})}),[u,C.sn,n,F,O,L,h]),(0,t.useEffect)((()=>{if(!I)return;const e=setTimeout((()=>E({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[I]),(0,t.useImperativeHandle)(s,(()=>({getQae:()=>C.sn.generator.qae,toggleFocus(e){"function"==typeof C.sn.component.focus&&(e?C.sn.component.focus():C.sn.component.blur())},setSnOptions:T,setSnPlugins:k,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(O));return"function"==typeof C.sn.component.setSnapshotData&&(n=await C.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:L,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)}})),[C.sn,_,v,O,g.name,L]);let W=null;return C.loading&&!C.longRunningQuery?W=t.createElement(xp,null):C.error?W=t.createElement(Ff,C.error):C.loaded&&(W=t.createElement(Cp,{key:O.visualization,sn:C.sn,halo:e,snOptions:A,snPlugins:D,layout:O,appLayout:L})),t.createElement(xo,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:z||"unset",backgroundImage:Z&&Z.url?`url(${Z.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:Z&&Z.size,backgroundPosition:Z&&Z.pos},elevation:0,square:!0,className:"njs-cell",ref:y,id:M,onMouseEnter:()=>{G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((()=>{j(!0),G.current.enter=null}),250))},onMouseLeave:()=>{G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((()=>{j(!1),G.current.leave=null}),750))}},t.createElement(Tt,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...f?{}:{padding:g.spacing(1)},...C.longRunningQuery?{opacity:"0.3"}:{}}},b&&O&&C.sn&&t.createElement(qp,{layout:O,sn:C.sn,anchorEl:b,hovering:B,focusHandler:$.current}," "),t.createElement(Tt,{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},W),t.createElement(vp,{layout:O})),C.longRunningQuery&&t.createElement(dp,{canCancel:R,canRetry:x,api:w}))}));function Ap(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Tp(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],(Ap(i)&&Ap(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(...Tp(`${e}${o}/`,t[o],n[o]))})),r}function Dp(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 kp=()=>{};function Mp({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=kp,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=kp},async convertTo(t,r=!0){const o=await(async({halo:e,model:t,cellRef:n,newType:r})=>{const o=await t.getFullPropertyTree(),a=n.current.getQae(),i=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return xf.exportProperties})(wf(e)))(a),l=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}),s=l.qae;return(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return xf.importProperties})(wf(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:Rf.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...qf(s,"properties.initial",{})},dataDefinition:qf(s,"data.targets.0.",{}),hypercubePath:Rf.getHypercubePath(s)})})({halo:n,model:e,cellRef:i,newType:t});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");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=Fd(),d=ft.createPortal(t.createElement(Pp,{ref:c,halo:e,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,u),f=()=>{s.remove(d),r.removeListener("closed",f)};return r.on("closed",f),s.add(d),s.addCell(u,c),[f,c]}({halo:n,element:o,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:r,onMount:s}),c},async applyProperties(t){const n=Tp("/",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=>{Dp(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e})(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return f}async function Fp(e,t,n,r,o=(async()=>{})){const a=Mp({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function Bp({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c,u={};try{const o=s.types.get({name:e,version:t});u=await o.initialProperties(r,l);const a=await o.supernova();n&&function({sn:e,properties:t,fields:n}){if(!n.length)return;const r=e.qae.data.targets[0];if(!r)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:o}=r,a=o.split("/");let i=t;for(let e=0;e<a.length;e++){const t=a[e];i=t?i[t]:i}const l=function({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?{qDef:{qFieldDefs:[n]}}:{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||Fd(),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),mf(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 hf(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?{qDef:{qDef:n}}:{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||Fd(),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),mf(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];hf(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}({dc:i,def:r,properties:t});n.forEach((e=>{const t=function(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"}(e);"measure"===t?l.addMeasure(e):l.addDimension(e)}))}({sn:a,properties:u,fields:n}),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},u)}catch(t){c=t,u={qInfo:{qType:e},visualization:e}}const d=await s.app.createSessionObject(u);Ht.set(d.id,d);const f=(e=>{const t=$t({type:"SET",value:e});return()=>{t(),Ht.clear(e.id)}})(d);return Fp(d,{options:o,plugins:a,element:i},s,c,(async()=>{await s.app.destroySessionObject(d.id),f()}))}const jp=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=en(e),{theme:c}=(0,t.useContext)(et),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[m,h]=(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,r=await Promise.all(e.map((async e=>{let r;const o=new Promise((e=>{r=e})),a=u.find((t=>t.id===e.name));if(a)return a.bounds=e.bounds,delete a.mountedPromise,a;const i=await async function({id:e,options:t,plugins:n,element:r},o){const a=`${e}`;let i=zt.get(a);i||(i=o.app.getObject(e),zt.set(a,i));const l=await i;return Ht.set(a,l),Fp(l,{options:t,plugins:n,element:r},o)}({id:e.name},n);return{model:i.model,id:e.name,bounds:e.bounds,cellRef:t.createRef(),currentId:Fd(),mounted:r,mountedPromise:o}})));r.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(r)};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(Pp,{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(Ip(e,n.public.theme)),h(Op(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:m&&m.url?`url(${m.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:m&&m.size,backgroundPosition:m&&m.pos}},y)},Gp=()=>{};async function zp({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=zt.get(i);l||(l=a.app.getObject(e),zt.set(i,l));const s=await l;return Ht.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=Gp,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=Gp},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");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=ft.createPortal(t.createElement(jp,{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=Tp("/",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=>{Dp(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):Fp(s,{options:n,plugins:r,element:o},a)}function Vp(e={}){return{isEnabled:t=>!0===e[t]}}const Zp=V().bind(null,!0),Up={},{isArray:$p}=Array;function Wp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Hp(e){return void 0===e}function Kp(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Xp(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]=Hp(e[r||t])?a:e[t],e=e[r||t]})),e}function Yp(e,t){let n=!0;if(Wp(e)&&Wp(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Yp(e[r],t[r])||(n=!1)})),n);if($p(e)&&$p(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Yp(e[n],t[n]))return!1;return!0}return e===t}Up.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Zp({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Yp(a,i)||Kp(t,o)||(Hp(i)?r.push({op:"add",path:l,value:a}):Wp(a)&&Wp(i)?r=r.concat(Up.generate(i,a,l)):$p(a)&&$p(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]&&Hp(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(Yp(t,o))return r;if(!Hp(t[0])&&Hp(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(Up.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=>{Hp(t[o])&&!Kp(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},Up.apply=function(e,t){t.forEach((t=>{let n=Xp(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($p(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if($p(o)&&$p(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Wp(o)&&Wp(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!Kp(i,e)&&delete i[e]})),Zp(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=Xp(e,t.from);$p(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&($p(n)?n.splice(+r,1):delete n[r]);var i}))},Up.clone=function(e){return Zp({},e)},Up.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},Up.updateObject=function(e,t){Object.keys(e).length?Up.apply(e,Up.generate(e,t)):Zp(e,t)};const Qp=Up;let Jp,em;function tm(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 nm(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 rm(e){am(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 om(e){if(e.__hooks.obsolete)return Promise.resolve();em=-1,Jp=e;let t=-1;Jp.__hooks.initiated&&(t=Jp.__hooks.list.length);try{Jp.fn.call(null)}catch(e){console.error(e)}Jp.__hooks.initiated=!0,t>-1&&t!==Jp.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=Jp.__hooks;return cm(Jp),em=void 0,Jp=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){am(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){am(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 am(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 lm(e,t,n){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function sm(e){return e.__hooks.imperativeHandle}function cm(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function um(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,cm(e))}function dm(e){if(void 0===Jp)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Jp.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function fm(e){return dm(++em),Jp.context[e]}function pm(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function mm(e){return{__hooked:!0,fn:e,initiate:nm,run:om,teardown:rm,runSnaps:im,runMenu:lm,focus:zm,blur:Vm,observeActions:um,getImperativeHandle:sm,updateRectOnNextRun:pm}}function hm(e){const t=dm(++em);if(!t.value){t.component=Jp;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,om(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function qm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=dm(++em);tm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Jp.__hooks.pendingEffects.indexOf(n)&&Jp.__hooks.pendingEffects.push(n))}function gm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=dm(++em);tm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Jp.__hooks.pendingLayoutEffects.push(n))}function ym(e,t){t||console.warn("useMemo called without dependencies.");const n=dm(++em);return tm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function vm(e,t){const[n,r]=hm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=dm(++em);return o.component||(o.component=Jp),gm((()=>{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 fm("element")}function Cm(){const e=bm(),t=Jp.__hooks.resizer,[n,r]=hm((()=>{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()),gm((()=>{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 Em(){return fm("layout")}function Sm(){const e=fm("layout"),[t]=hm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function Om(){return fm("appLayout")}function Im(){const e=fm("model");return e&&e.session?e:void 0}function Rm(){const e=fm("app");return e&&e.session?e:void 0}function xm(){const e=fm("global");return e&&e.session?e:void 0}function wm(){return fm("selections")}function Lm(){return fm("theme")}function Nm(){return fm("nebbie")}function _m(){return fm("translator")}function Pm(){return fm("deviceType")}function Am(){return fm("plugins")}function Tm(e,t){const[n]=hm({action(){n._config.action.call(null)}});return n.component||(n.component=Jp,Jp.__hooks.actions.list.push(n)),ym((()=>{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 Dm(){return fm("constraints")}function km(){return fm("options")}function Mm(e,t){const n=dm(++em);if(!n.imperative){if(Jp.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(tm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Jp.__hooks.imperativeHandle=r}}function Fm(e){const t=dm(++em);t.value||(t.value=1,Jp.__hooks.snaps.push(t)),t.fn=e}function Bm(e){const t=dm(++em);t.value||(t.value=1,Jp.__hooks.menus.push(t)),t.fn=e}function jm(){dm(++em);const e=Jp.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function Gm(){const e=fm("keyboardNavigation"),t=fm("focusHandler");if(!Jp.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Vm(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Jp);Jp.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),zm(this))}.bind(Jp);Jp.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Jp);Jp.__hooks.accessibility.focusSelectionFunction=r}const n=Jp.__hooks.accessibility.focusFunction,r=Jp.__hooks.accessibility.exitFunction,o=Jp.__hooks.accessibility.focusSelectionFunction,[a,i]=hm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Jp.__hooks.accessibility.setter=i,Jp.__hooks.accessibility.enabled=e,qm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function zm(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 Vm(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 Zm={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},Um=Object.keys(Zm);function $m(e,t){console.warn("Obsolete API - time to get hooked!");const n={...Zm};var r;r=n,Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r);const o={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==Um.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function({sn:e,component:t}){const n={},r=[],o=(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})(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:o}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}const Wm=()=>{};function Hm(e,t){return void 0===e?()=>t:()=>e}function Km(e){const t=e||{};return{min:"function"==typeof t.min?t.min:Hm(t.min,0),max:"function"==typeof t.max?t.max:Hm(t.max,1e3),added:t.added||t.add||Wm,description:t.description||Wm,moved:t.moved||t.move||Wm,removed:t.removed||t.remove||Wm,replaced:t.replaced||t.replace||Wm,isDefined:()=>!!e}}function Xm(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=>((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})(e,n,{}),dimensions:Km(e.dimensions),measures:Km(e.measures)}}function Ym(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(Xm)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Qm(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Ym(n.qae),component:n.component||{},create:e=>function(e,t,n){"function"==typeof e.component&&(e.component=mm(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==om&&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"],l={};t.model&&t.model.session||(l.select=!0);const s={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(s,{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})),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=s.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){return e.component.runMenu(this,t,n)},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(s.context[e])})),a.themeName=s.context.theme?s.context.theme.name():void 0,a.language=s.context.translator?s.context.translator.language():void 0,Object.assign(s,{selections:t.selections}),[s,null]}(e,t,n):$m(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=Qp.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));Qp.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=Qp.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)}}(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var Jm=o(82103);const eh={};function th(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)||(0,Jm.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!eh[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);eh[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 eh[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Qm(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?(V()(!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 nh={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},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()))}},rh=(e={},t={})=>({...e,...t}),oh=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),ah=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.0.0-alpha.2"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),re.createRoot(i).render(t.createElement(dt,{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,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=ne();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),(5e3,l={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(l)),5e3)})))]);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},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:Vp(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]=th(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>n[e]?n[e].getMatchingVersionFromProperties(t):null,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(eh).forEach((t=>{t.split("__")[0]===e&&(eh[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),m=null,h=null;const q={render:async e=>(await p,e.id?zp(e,u):Bp(e,u)),context:async e=>{let t;["theme","language","constraints","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},u.context=r,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(m||(m={mount(n){h?console.error("Already mounted"):(h=function({element:e,app:n}){return ft.createPortal(t.createElement(Bd,{app:n}),e,Fd())}({element:n,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),m),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,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`);this._instance=function({element:e,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={}}){return ft.createPortal(t.createElement(df,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i}),e,Fd())}({element:i,app:e,fieldIdentifier:n,qId:r,options:uf({onSelectionActivated:()=>a.emit("selectionActivated"),onSelectionDeactivated:()=>a.emit("selectionDeactivated"),...s}),stateName:s.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return Fu(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={...ff};return V()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(pf,{element:n,key:Fd(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,Fu(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:rh(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:oh(e.types,t.types),themes:oh(e.themes,t.themes),flags:rh(e.flags,t.flags),anything:rh(e.anything,t.anything)}))(o,t)),i.config=o,i}(nh),ih=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},lh=globalThis.crypto||{getRandomValues:()=>123456},sh=function(){return e=>{const t=V()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^lh.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=V()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId,...t})}},ch=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,uh=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=ch(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},dh=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function fh(e){return!dh.includes(e)}function ph(e){const t=ch(e.getLayout);return t.qInfo&&t.qInfo.qId}function mh(e,t){let n=ph(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:ch(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:uh(n,{async:fh(t),delay:r})})),{}),genericType:e.type}}}function hh(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!ph(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const qh=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(hh);const n=function(e,t){return e.reduce(((e,n)=>({...e,...mh(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},gh=function(){return()=>Promise.resolve({id:"app-layout"})},yh={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new ih,r=new sh,o=new qh(e,t),a=new gh,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},vh=yh,bh={generator:Qm,hook:mm,theme:ne,locale:n};var Ch=o(9196),Eh=o.n(Ch);const Sh=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}],"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":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"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":{}}}],"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":{}}}],"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"}]},"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},"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":{}}},{"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":[]}},"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}],"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_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_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_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_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_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},"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},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"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},"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}},"version":"12.936.0"}');var Oh=o(78173),Ih=o.n(Oh);class Rh 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 xh extends Rh{}var wh=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(wh||{});class Lh extends Rh{}var Nh=(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))(Nh||{}),_h=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(_h||{});const Ph=(e,t)=>{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)},Ah=e=>{let t="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let r=0;r<e;r+=1)t+=n.charAt(Math.floor(Math.random()*n.length));return t},Th="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var Dh=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}},kh=class extends Dh{},Mh=class extends Dh{},Fh=class extends Dh{},Bh=class extends Dh{},jh=class extends Dh{},Gh=(e,t)=>{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 zh(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Vh,Zh,Uh=Object.create,$h=Object.defineProperty,Wh=Object.getOwnPropertyDescriptor,Hh=Object.getOwnPropertyNames,Kh=Object.getPrototypeOf,Xh=Object.prototype.hasOwnProperty,Yh=(Vh={"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,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)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=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 l(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},i(e)}function l(e,t,n){return(l=s()?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&&c(o,n.prototype),o}).apply(null,arguments)}function s(){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 c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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&&c(e,t)}(i,e);var t,n,r,o=(t=i,n=s(),function(){var e,r=u(t);if(n){var o=u(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return a(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=o.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return r=i,Object.defineProperty(r,"prototype",{writable:!1}),r}(i(Error));function f(e,t,n){return new d(t,e,n)}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 m(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){h(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 h(e,t,n){return 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,r.key,r)}}var g=0,y=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),g+=1,n.id=g,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(f(-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=m(m({},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 v(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)}}var b=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 f(-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={}}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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,r.key,r)}}function E(e){return(E="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 S=Object.prototype.hasOwnProperty;function O(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function I(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];if(1===r.length&&"object"===E(r[0])&&!Array.isArray(r[0])){var a=Object.keys(r[0]).every((function(e){return S.call(t,e)}));a&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]})))}return e.apply(this,r)}var R=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 b,this.types=new b}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 f(-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=O(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 f(-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 f(-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=O(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 I.apply(this,[o,a].concat(t))}}))}}],n&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function x(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)}}var w=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)}}])&&x(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(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)}}var N=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,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t&&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(f(-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(f(-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.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 w(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=f(-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&&L(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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,r.key,r)}}var P=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(f(-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&&_(t.prototype,n),r&&_(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function T(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=f(-2,"Object not found");return e.config.Promise.reject(r)}return n}var D=Object.prototype.hasOwnProperty,k=Object.prototype.toString,M=Object.defineProperty,F=Object.getOwnPropertyDescriptor,B=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===k.call(e)},j=function(e){if(!e||"[object Object]"!==k.call(e))return!1;var t,n=D.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&D.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||D.call(e,t)},G=function(e,t){M&&"__proto__"===t.name?M(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},z=function(e,t){if("__proto__"===t){if(!D.call(e,t))return;if(F)return F(e,t).value}return e[t]};function V(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 Z(e){return(Z="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 U=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=z(l,n),l!==(o=z(t,n))&&(u&&o&&(j(o)||(a=B(o)))?(a?(a=!1,i=r&&B(r)?r:[]):i=r&&j(r)?r:{},G(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&G(l,{name:n,newValue:o}));return l}.bind(null,!0),$={},W=Array.isArray;function H(e){return null!=e&&!Array.isArray(e)&&"object"===Z(e)}function K(e){return void 0===e}function X(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Y(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]=K(e[n||t])?a:e[t],e=e[n||t]}})),e}function Q(e,t){var n=!0;if(H(e)&&H(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){Q(e[r],t[r])||(n=!1)})),n);if(W(e)&&W(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!Q(e[r],t[r]))return!1;return!0}return e===t}function J(e){return(J="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)}$.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?U({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);Q(a,i)||X(t,o)||(K(i)?r.push({op:"add",path:l,value:a}):H(a)&&H(i)?r=r.concat($.generate(i,a,l)):W(a)&&W(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&K(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(Q(t,o))return r;if(!K(t[0])&&K(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($.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){K(t[o])&&!X(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},$.apply=function(e,t){t.forEach((function(t){var n,r,o=Y(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(W(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(W(i)&&W(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 V(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 V(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)?V(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(H(i)&&H(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!X(n,e)&&delete n[e]})),U(i,t.value);else{if(!o)throw f(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var d=Y(e,t.from);W(o)?o.splice(+a,0,d.splice(+l,1)[0]):(o[a]=d[l],delete d[l])}else"remove"===t.op&&(W(o)?o.splice(+a,1):delete o[a])}))},$.clone=function(e){return U({},e)},$.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},$.updateObject=function(e,t){Object.keys(e).length?$.apply(e,$.generate(e,t)):U(e,t)};var ee={};function te(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw f(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ee[e.id]){var t={};ee[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 ee[e.id]}))}}(e);var n=ee[e.id];return n[t]||(n[t]=new b),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==J(r[0].value)?a=r[0].value:$.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 ne(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}te.sessions=ee;function re(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n.qReturn.qGenericId=n.qSessionAppId||n.qReturn.qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n.qReturn,hasOwnProperty.call(n,"qReturn")?n.qReturn:-1!==t.outKey?n[t.outKey]:n}function oe(e,t,n){return n.result}function ae(e){return function(e){if(Array.isArray(e))return ie(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 ie(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)?ie(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 ie(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 le(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)}}var se=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:A}].concat(ae(this.request||[])),this.response=[{onFulfilled:ne},{onFulfilled:te},{onFulfilled:oe},{onFulfilled:re}].concat(ae(this.response||[]),[{onFulfilled:T}])}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)}}])&&le(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ce(e){return(ce="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 ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(){return fe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=pe(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},fe.apply(this,arguments)}function pe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qe(e)););return e}function me(e,t){return(me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function he(e,t){if(t&&("object"===ce(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)}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=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&&me(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=qe(r);if(o){var n=qe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return he(this,e)});function i(){return ue(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return fe(qe(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 fe(qe(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}))}}])&&de(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(b);function ye(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(){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 ge,l=new se({apis:i,Promise:n,request:r,response:o}),s=new N({createSocket:t,Promise:n,url:a}),c=new P({apis:i,Promise:n,rpc:s});return new y({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw f(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw f(-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 R(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&ye(t.prototype,null),n&&ye(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 Zh||(0,Vh[Hh(Vh)[0]])((Zh={exports:{}}).exports,Zh),Zh.exports}),Qh=((e,t,n)=>(n=null!=e?Uh(Kh(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Hh(t))Xh.call(e,n)||undefined===n||$h(e,n,{get:()=>t[n],enumerable:!(r=Wh(t,n))||r.enumerable});return e})(e&&e.__esModule?n:$h(n,"default",{value:e,enumerable:!0}),e)))(Yh()),Jh=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}},eq=class extends Jh{},tq=class extends Jh{},nq=class extends Jh{},rq=class extends Jh{},oq=class extends Jh{},aq=class extends Jh{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},iq=(e,t)=>{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)},lq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function sq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var cq=WebSocket;function uq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const dq=new Lh("Only supported for AuthType.WebIntegration");class fq{constructor(e){if(!e.host)throw new Lh("Empty host in config");let t,n,r;try{const r=Ph(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new Lh("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new Lh("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==_h.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===_h.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 Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new Lh(Nh.EMPTY_HOST);if(!(e.authType in _h))throw new Lh(`${Nh.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[_h.WebIntegration]:["webIntegrationId"],[_h.APIKey]:["apiKey"],[_h.JWTAuth]:["fetchToken","webIntegrationId"],[_h.OAuth2]:["clientId"],[_h.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 Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[_h.APIKey]:["isSecure"],[_h.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[_h.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[_h.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 Lh(`${Nh.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===_h.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:zh},response:{handlers:[],use:zh}},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=Gh(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=Gh(`${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;const r=n?.method??"get";t||"GET"===r.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 ${Buffer.from(`${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.19.1",...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 Mh({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,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new Bh({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new kh({error:"Failed to authenticate host using api-key",...f}):new kh({error:"Unauthenticated",...f});if(404===u.status)throw new jh({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Fh({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 Fh({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:uq},response:{handlers:[],use:uq}},this.sessions={},this.eventListeners={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:sq},response:{handlers:[],use:sq}},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=iq(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=iq(`${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;const r=n?.method??"get";t||"GET"===r.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 ${Buffer.from(`${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.19.1",...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 tq({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,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new rq({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new eq({error:"Failed to authenticate host using api-key",...f}):new eq({error:"Unauthenticated",...f});if(404===u.status)throw new oq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new nq({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 nq({error:"Missing fetch function"})}}(e).restClientInstance}async rpc(e){const{url:t,createSocket:n}=await this.buildUrlAndCreateSocket(e);return this.sessions[t.toString()]=this.sessions[t.toString()]||(()=>{const e=Qh.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:t,createSocket:n,protocol:{delta:!1}});return e.intercept.response=this.interceptors.response.handlers,e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{t?.code&&t.code>=4e3&&e.onRpcError(new aq(t.code,t.reason))})),e})(),this.sessions[t.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((e=>{e(t)})),this.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((e=>{e(t)}))),"change"in t&&t.change.forEach((e=>{this.eventListeners[e]?.changed?.forEach((e=>e(t)))})),"close"in t&&t.close.forEach((e=>{this.eventListeners[e]?.closed?.forEach((e=>e(t)))}))})),this.sessions[t.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||lq,a=iq(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 nq(`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&&!lq?e=>new cq(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new cq(e),{url:t,createSocket:n}}}(this.config),this.rpc=e=>this.rpcClient.rpc(e),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),Object.assign(this.rpc,{eventListeners:this.rpcClient.eventListeners}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||Th,a=Ph(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===_h.APIKey||n.authType===_h.OAuth2&&!o)return i;if([_h.WebIntegration,_h.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===_h.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 Lh(`${Nh.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!==_h.WebIntegration)throw dq;const e=Ph(`${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!==_h.WebIntegration)throw dq;const e=Ph(`${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(Ph(`${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 xh(wh.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 Lh({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(Th&&(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!==_h.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new Lh("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=Ah(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||Ah(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:Ph(`${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,Th&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const pq=()=>{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},mq=(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}},hq=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=pq();if(n.engine_url?t={...t,...mq(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}})),qq=new Map,gq=[],yq=gq.map,vq=gq.some,bq=gq.hasOwnProperty,Cq=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,Eq=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,Sq=/(?:\.[^/]*|\/)$/;class Oq extends Error{constructor(e){super(e)}}function Iq(e){const t=Cq.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function Rq(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(gq.pop()(o(e)))}catch(e){n(new Oq("invalid module"))}r.remove()},r.onerror=()=>{n(new Oq("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=Nq,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(yq.call(arguments,n)).then(xq):n(e)}return a.alias=function(t){return Rq(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function xq(e){const t={};for(const n of e)for(const e in n)bq.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:wq(n,e)}):t[e]=n[e]);return t}function wq(e,t){return()=>e[t]}function Lq(e){return"exports"==(e+="")||"module"===e}function Nq(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),gq.push(vq.call(t,Lq)?e=>{const r={},o={exports:r};return Promise.all(yq.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(yq.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}Oq.prototype.name=Oq.name,Rq(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=qq.get(n);return r||qq.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new Oq("unable to load package.json");return e.redirected&&!qq.has(e.url)&&qq.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 Oq("illegal name");const a=Iq(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(Iq(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!Sq.test(a.path)&&(a.path+=".js"),a.path&&a.version&&Eq.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)),Sq.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),Nq.amd={};const _q=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return Rq((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},Pq={};function Aq(e){const t=()=>{_q(e.supernova.name,e.supernova.url).then((t=>{var n;window[e.supernova.name]=t,n=e.supernova.name,Pq[n]&&Pq[n].forEach((e=>e()))})),e.types&&e.types.forEach((e=>{_q(e.name,e.url).then((t=>{window[e.name]=t}))}))};e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t()}window.onHotChange=(e,t)=>(Pq[e]||(Pq[e]=[]),Pq[e].push(t),window[e]&&t(),()=>{const n=Pq[e].indexOf(t);Pq[e].splice(n,1)});const Tq=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const Dq=async e=>{const t=document.querySelector("#chart-container"),n=await hq(),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}=await async function({params:e,fixture:t,serverInfo:n}){const r=V()(!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()=>_q(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language}}}))(e));return r.genericObjects=r.genericObjects||[Tq({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}),c=await vh.fromGenericObjects(i),u=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i);ah(c,{types:[{name:o,load:a}],...l}).render({type:o,element:t,id:u,...s})};async function kq(){const e=await hq();Aq(e),e.enigma.appId||(location.href=location.origin);const t=pq(),n=await(async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await hq();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new fq({webIntegrationId:e,autoRedirect:!0,authType:_h.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=Ih().buildUrl(r);return(await Eh().create({schema:Sh,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}})(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>ah.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=pq();e.fixture?Dq(e):e.snapshot?async function(){const e=await hq(),{themes:t,supernova:n}=e;Aq(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=ah.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=pq();!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})}))}():kq()}))})()})();
102
+ `),Wf))),Yf=t.forwardRef((function(e,t){const n=(0,St.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,Te.Z)(n,jf),f=(0,Ae.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,cn.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,cn.Z)(n)}`,o&&"circleDisableShrink"]};return(0,Ct.Z)(a,Bf,t)})(f),m={},h={},q={};if("determinate"===u){const e=2*Math.PI*((44-s)/2);m.strokeDasharray=e.toFixed(3),q["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,h.transform="rotate(-90deg)"}return(0,de.jsx)(Hf,(0,Ae.Z)({className:(0,pt.Z)(p.root,r),style:(0,Ae.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,de.jsx)(Kf,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,de.jsx)(Xf,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),Qf=Yf;function Jf(){return Jf=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},Jf.apply(this,arguments)}const ep="Progress-root",tp="Progress-front",np="Progress-back",rp=(0,Et.ZP)("div")((({theme:e})=>({[`&.${ep}`]:{position:"relative",display:"inline-block"},[`& .${tp}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${np}`]:{color:e.palette.divider}}))),op={small:16,medium:32,large:64,xlarge:128};function ap({size:e="medium",...n}){const r=op[e];return t.createElement(rp,{className:ep},t.createElement(Qf,Jf({variant:"determinate",value:100,className:np,size:r,thickness:3},n)),t.createElement(Qf,Jf({variant:"indeterminate",disableShrink:!0,className:tp,size:r,thickness:3},n)))}function ip(){return ip=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},ip.apply(this,arguments)}const lp={stripes:"LongRunningQuery-stripes"},sp=(0,Et.ZP)(Tt)((()=>({[`& .${lp.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 cp({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(sp,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Tt,{item:!0},t.createElement(ap,null)),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Tt,ip({item:!0},r),t.createElement(Ed,{variant:"contained",onClick:e},n.get("Cancel"))))}function up({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Tt,{item:!0},t.createElement(Df,{style:{fontSize:"38px"}})),t.createElement(Tt,{item:!0},t.createElement(qn,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Tt,{item:!0},t.createElement(Ed,ip({variant:"contained",onClick:e},r),n.get("Retry"))))}function dp({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(et);return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:lp.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(cp,{cancel:r.cancel,translator:o,className:lp.cancel}),n&&t.createElement(up,{retry:r.retry,translator:o,className:lp.retry}))}function fp(){return t.createElement(Tt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(ap,{size:"large"}))}const pp="Header-containerStyle",mp="Header-containerTitleStyle",hp=(0,Et.ZP)(Tt)((({theme:e})=>({[`&.${pp}`]:{flexGrow:0},[`&.${mp}`]:{paddingBottom:e.spacing(1)}}))),qp=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a}){const i=e.showTitles&&!!e.title,l=e.showTitles&&!!e.subtitle,s=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[c,u]=(0,t.useState)([]),[d,f]=nn(),[p,m]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!f)return;const{width:e}=f;m(e<221)}),[f]);const h=i||l,q=[pp,...h?[mp]:[]],g=(o||s)&&(p||!h),y=h&&!g&&!p,v=t.createElement(Wc,{show:y,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(hp,{ref:d,item:!0,container:!0,wrap:"nowrap",className:q.join(" ")},t.createElement(Tt,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Tt,{container:!0,wrap:"nowrap",direction:"column"},i&&t.createElement(qn,{variant:"h6",noWrap:!0,className:"njs-cell-title"},e.title),l&&t.createElement(qn,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},e.subtitle))),t.createElement(Tt,{item:!0},v))},gp="Footer-itemStyle",yp=(0,Et.ZP)(Tt)((({theme:e})=>({[`& .${gp}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),vp=function({layout:e}){return e&&e.showTitles&&e.footnote?t.createElement(yp,{container:!0},t.createElement(Tt,{item:!0,className:gp},t.createElement(qn,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},e.footnote))):null};class bp{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 Cp=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,keyboardNavigation:d}=(0,t.useContext)(et),[f]=(0,t.useState)((()=>new bp)),[p,m]=(0,t.useState)(!1),[h,q]=(0,t.useState)(0),[g,y,v]=nn(),[b,C]=(0,t.useState)(null),E=(0,t.useCallback)((e=>{e&&C(e)}),[]);return(0,t.useEffect)((()=>{if(b)return l.created({options:n}),l.mounted(b),m(!0),()=>{f.stop(),l.willUnmount()}}),[b,l]),(0,t.useEffect)((()=>{p&&b&&y&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||f.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),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,theme:i.public.theme,appLayout:a,keyboardNavigation:d,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===h&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),q(h+1))}))})))}),[y,n,r,b,v,o,a,s,c,u,p,d]),t.createElement("div",{ref:g,"data-render-count":h,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:E,style:{position:"absolute",width:"100%",height:"100%"}}))},Ep={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},Sp={"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"};const Op=(e,t)=>{const n=e?.bgImage;if(n){let r="";"media"!==n.mode&&"media"!==e.useImage||(r=n?.mediaUrl?.qStaticContentUrl?.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,r=function(e,t){return t?function(e){let t,n,r,o;if(e?.session?.config)return 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=Sp[e.bgImage.position]),t}(e),a=function(e){let t=Ep.originalSize;return e?.bgImage?.sizing&&(t=Ep[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}},Ip=(e,t)=>{const n=e?.bgColor;if(n&&t)return n.useExpression?t.validateColor(n.colorExpression):n.color&&"none"!==n.color.color?t.getColorPickerColor(n.color,!0):void 0},Rp=(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 xp({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(fp,null):null}const wp=e=>!e.qError||7005===e.qError.qErrorCode,Lp=(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}})),Np=e=>e&&(Array.isArray(e)?e:[e])||[],_p=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:Lp(o,Np(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:Lp(a,Np(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},Pp=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l},s)=>{const{app:c,types:u}=e,{nebbie:d}=e.public,{disableCellPadding:f=!1}=e.context||{},{theme:p,translator:m,language:h,keyboardNavigation:q}=(0,t.useContext)(et),g=ie(),[y,v,b]=nn(),[C,E]=(0,t.useReducer)(Rp,{loading:!1,loaded:!1,longRunningQuery:!1,error:(S=a)?{title:S.message}:null,sn:null,visualization:null});var S;const[O,{validating:I,canCancel:R,canRetry:x},w]=en(n),[L]=tn(c),[N,_,P]=nn(),[A,T]=(0,t.useState)(r),[D,k]=(0,t.useState)(o),M=`njs-cell-${l}`,[F]=ju(c,n,[`#${M}`,".njs-action-toolbar-popover"]),[B,j]=(0,t.useState)(!1),G=(0,t.useRef)({enter:null,leave:null}),[z,V]=(0,t.useState)(void 0),[Z,U]=(0,t.useState)(void 0),$=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{Fu($.current)}),[]),(0,t.useEffect)((()=>{const t=O?.components?O.components.find((e=>"general"===e.key)):null;V(Ip(t,e.public.theme)),U(Op(t,e.app))}),[O,e.public.theme,e.app,p]),$.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&P&&P.focus()},$.current.refocusContent=()=>{C.sn.component&&"function"==typeof C.sn.component.focus&&C.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!L||!O)return;if(C.visualization===O.visualization&&C.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),m=Np(p.qDimensionInfo||p.qItems).filter(wp),h=Np(p.qMeasureInfo).filter(wp);if(o+=d,a+=f,(m.length<d||h.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=_p(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]),m=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Measures",[m,i]),q=[{title:p,descriptions:[...c]},{title:h,descriptions:[...u]}],g=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:g}]})(m,O,e.generator.qae.data,n);E(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:C.sn,layout:O,model:n})})(C.sn);const e=u.getSupportedVersion(O.visualization,O.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const r=await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s})=>{try{const e=await(async({types:e,name:t,version:n})=>await e.get({name:t,version:n}).supernova())({types:t,name:n,version:r});return e.create({model:o,app:a,selections:i,nebbie:l,focusHandler:s})}catch(t){e({type:"ERROR",error:{title:t.message}})}})({dispatch:E,types:u,visualization:e,version:t,model:n,app:c,selections:F,nebbie:d,focusHandler:$.current});r&&(E({type:"LOADED",sn:r,visualization:e}),i())})(O.visualization,e),()=>{};E({type:"ERROR",error:{title:`Could not find a version of '${O.visualization}' that supports current object version. Did you forget to register ${O.visualization}?`}})}),[u,C.sn,n,F,O,L,h]),(0,t.useEffect)((()=>{if(!I)return;const e=setTimeout((()=>E({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[I]),(0,t.useImperativeHandle)(s,(()=>({getQae:()=>C.sn.generator.qae,toggleFocus(e){"function"==typeof C.sn.component.focus&&(e?C.sn.component.focus():C.sn.component.blur())},setSnOptions:T,setSnPlugins:k,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(O));return"function"==typeof C.sn.component.setSnapshotData&&(n=await C.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:L,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)}})),[C.sn,_,v,O,g.name,L]);let W=null;return C.loading&&!C.longRunningQuery?W=t.createElement(xp,null):C.error?W=t.createElement(Ff,C.error):C.loaded&&(W=t.createElement(Cp,{key:O.visualization,sn:C.sn,halo:e,snOptions:A,snPlugins:D,layout:O,appLayout:L})),t.createElement(xo,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:z||"unset",backgroundImage:Z&&Z.url?`url(${Z.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:Z&&Z.size,backgroundPosition:Z&&Z.pos},elevation:0,square:!0,className:"njs-cell",ref:y,id:M,onMouseEnter:()=>{G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((()=>{j(!0),G.current.enter=null}),250))},onMouseLeave:()=>{G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((()=>{j(!1),G.current.leave=null}),750))}},t.createElement(Tt,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...f?{}:{padding:g.spacing(1)},...C.longRunningQuery?{opacity:"0.3"}:{}}},b&&O&&C.sn&&t.createElement(qp,{layout:O,sn:C.sn,anchorEl:b,hovering:B,focusHandler:$.current}," "),t.createElement(Tt,{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},W),t.createElement(vp,{layout:O})),C.longRunningQuery&&t.createElement(dp,{canCancel:R,canRetry:x,api:w}))}));function Ap(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Tp(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],(Ap(i)&&Ap(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(...Tp(`${e}${o}/`,t[o],n[o]))})),r}function Dp(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 kp=()=>{};function Mp({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=kp,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=kp},async convertTo(t,r=!0){const o=await(async({halo:e,model:t,cellRef:n,newType:r})=>{const o=await t.getFullPropertyTree(),a=n.current.getQae(),i=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return xf.exportProperties})(wf(e)))(a),l=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}),s=l.qae;return(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return xf.importProperties})(wf(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:Rf.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...qf(s,"properties.initial",{})},dataDefinition:qf(s,"data.targets.0.",{}),hypercubePath:Rf.getHypercubePath(s)})})({halo:n,model:e,cellRef:i,newType:t});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");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=Fd(),d=ft.createPortal(t.createElement(Pp,{ref:c,halo:e,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,u),f=()=>{s.remove(d),r.removeListener("closed",f)};return r.on("closed",f),s.add(d),s.addCell(u,c),[f,c]}({halo:n,element:o,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:r,onMount:s}),c},async applyProperties(t){const n=Tp("/",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=>{Dp(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e})(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return f}async function Fp(e,t,n,r,o=(async()=>{})){const a=Mp({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function Bp({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c,u={};try{const o=s.types.get({name:e,version:t});u=await o.initialProperties(r,l);const a=await o.supernova();n&&function({sn:e,properties:t,fields:n}){if(!n.length)return;const r=e.qae.data.targets[0];if(!r)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:o}=r,a=o.split("/");let i=t;for(let e=0;e<a.length;e++){const t=a[e];i=t?i[t]:i}const l=function({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?{qDef:{qFieldDefs:[n]}}:{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||Fd(),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),mf(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 hf(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?{qDef:{qDef:n}}:{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||Fd(),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),mf(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];hf(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}({dc:i,def:r,properties:t});n.forEach((e=>{const t=function(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"}(e);"measure"===t?l.addMeasure(e):l.addDimension(e)}))}({sn:a,properties:u,fields:n}),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},u)}catch(t){c=t,u={qInfo:{qType:e},visualization:e}}const d=await s.app.createSessionObject(u);Ht.set(d.id,d);const f=(e=>{const t=$t({type:"SET",value:e});return()=>{t(),Ht.clear(e.id)}})(d);return Fp(d,{options:o,plugins:a,element:i},s,c,(async()=>{await s.app.destroySessionObject(d.id),f()}))}const jp=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=en(e),{theme:c}=(0,t.useContext)(et),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[m,h]=(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,r=await Promise.all(e.map((async e=>{let r;const o=new Promise((e=>{r=e})),a=u.find((t=>t.id===e.name));if(a)return a.bounds=e.bounds,delete a.mountedPromise,a;const i=await async function({id:e,options:t,plugins:n,element:r},o){const a=`${e}`;let i=zt.get(a);i||(i=o.app.getObject(e),zt.set(a,i));const l=await i;return Ht.set(a,l),Fp(l,{options:t,plugins:n,element:r},o)}({id:e.name},n);return{model:i.model,id:e.name,bounds:e.bounds,cellRef:t.createRef(),currentId:Fd(),mounted:r,mountedPromise:o}})));r.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(r)};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(Pp,{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(Ip(e,n.public.theme)),h(Op(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:m&&m.url?`url(${m.url})`:void 0,backgroundRepeat:"no-repeat",backgroundSize:m&&m.size,backgroundPosition:m&&m.pos}},y)},Gp=()=>{};async function zp({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=zt.get(i);l||(l=a.app.getObject(e),zt.set(i,l));const s=await l;return Ht.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=Gp,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=Gp},__DO_NOT_USE__:{mount(o){if(l)throw new Error("Already mounted");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=ft.createPortal(t.createElement(jp,{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=Tp("/",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=>{Dp(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):Fp(s,{options:n,plugins:r,element:o},a)}function Vp(e={}){return{isEnabled:t=>!0===e[t]}}const Zp=V().bind(null,!0),Up={},{isArray:$p}=Array;function Wp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Hp(e){return void 0===e}function Kp(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Xp(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]=Hp(e[r||t])?a:e[t],e=e[r||t]})),e}function Yp(e,t){let n=!0;if(Wp(e)&&Wp(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Yp(e[r],t[r])||(n=!1)})),n);if($p(e)&&$p(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Yp(e[n],t[n]))return!1;return!0}return e===t}Up.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Zp({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Yp(a,i)||Kp(t,o)||(Hp(i)?r.push({op:"add",path:l,value:a}):Wp(a)&&Wp(i)?r=r.concat(Up.generate(i,a,l)):$p(a)&&$p(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]&&Hp(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(Yp(t,o))return r;if(!Hp(t[0])&&Hp(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(Up.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=>{Hp(t[o])&&!Kp(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},Up.apply=function(e,t){t.forEach((t=>{let n=Xp(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($p(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if($p(o)&&$p(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Wp(o)&&Wp(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!Kp(i,e)&&delete i[e]})),Zp(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=Xp(e,t.from);$p(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&($p(n)?n.splice(+r,1):delete n[r]);var i}))},Up.clone=function(e){return Zp({},e)},Up.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},Up.updateObject=function(e,t){Object.keys(e).length?Up.apply(e,Up.generate(e,t)):Zp(e,t)};const Qp=Up;let Jp,em;function tm(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 nm(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 rm(e){am(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 om(e){if(e.__hooks.obsolete)return Promise.resolve();em=-1,Jp=e;let t=-1;Jp.__hooks.initiated&&(t=Jp.__hooks.list.length);try{Jp.fn.call(null)}catch(e){console.error(e)}Jp.__hooks.initiated=!0,t>-1&&t!==Jp.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=Jp.__hooks;return cm(Jp),em=void 0,Jp=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){am(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){am(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 am(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 lm(e,t,n){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function sm(e){return e.__hooks.imperativeHandle}function cm(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function um(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,cm(e))}function dm(e){if(void 0===Jp)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Jp.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function fm(e){return dm(++em),Jp.context[e]}function pm(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function mm(e){return{__hooked:!0,fn:e,initiate:nm,run:om,teardown:rm,runSnaps:im,runMenu:lm,focus:zm,blur:Vm,observeActions:um,getImperativeHandle:sm,updateRectOnNextRun:pm}}function hm(e){const t=dm(++em);if(!t.value){t.component=Jp;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,om(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function qm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=dm(++em);tm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Jp.__hooks.pendingEffects.indexOf(n)&&Jp.__hooks.pendingEffects.push(n))}function gm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=dm(++em);tm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Jp.__hooks.pendingLayoutEffects.push(n))}function ym(e,t){t||console.warn("useMemo called without dependencies.");const n=dm(++em);return tm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function vm(e,t){const[n,r]=hm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=dm(++em);return o.component||(o.component=Jp),gm((()=>{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 fm("element")}function Cm(){const e=bm(),t=Jp.__hooks.resizer,[n,r]=hm((()=>{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()),gm((()=>{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 Em(){return fm("layout")}function Sm(){const e=fm("layout"),[t]=hm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function Om(){return fm("appLayout")}function Im(){const e=fm("model");return e&&e.session?e:void 0}function Rm(){const e=fm("app");return e&&e.session?e:void 0}function xm(){const e=fm("global");return e&&e.session?e:void 0}function wm(){return fm("selections")}function Lm(){return fm("theme")}function Nm(){return fm("nebbie")}function _m(){return fm("translator")}function Pm(){return fm("deviceType")}function Am(){return fm("plugins")}function Tm(e,t){const[n]=hm({action(){n._config.action.call(null)}});return n.component||(n.component=Jp,Jp.__hooks.actions.list.push(n)),ym((()=>{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 Dm(){return fm("constraints")}function km(){return fm("options")}function Mm(e,t){const n=dm(++em);if(!n.imperative){if(Jp.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(tm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Jp.__hooks.imperativeHandle=r}}function Fm(e){const t=dm(++em);t.value||(t.value=1,Jp.__hooks.snaps.push(t)),t.fn=e}function Bm(e){const t=dm(++em);t.value||(t.value=1,Jp.__hooks.menus.push(t)),t.fn=e}function jm(){dm(++em);const e=Jp.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function Gm(){const e=fm("keyboardNavigation"),t=fm("focusHandler");if(!Jp.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Vm(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Jp);Jp.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),zm(this))}.bind(Jp);Jp.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Jp);Jp.__hooks.accessibility.focusSelectionFunction=r}const n=Jp.__hooks.accessibility.focusFunction,r=Jp.__hooks.accessibility.exitFunction,o=Jp.__hooks.accessibility.focusSelectionFunction,[a,i]=hm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Jp.__hooks.accessibility.setter=i,Jp.__hooks.accessibility.enabled=e,qm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function zm(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 Vm(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 Zm={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},Um=Object.keys(Zm);function $m(e,t){console.warn("Obsolete API - time to get hooked!");const n={...Zm};var r;r=n,Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r);const o={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==Um.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function({sn:e,component:t}){const n={},r=[],o=(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})(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:o}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}const Wm=()=>{};function Hm(e,t){return void 0===e?()=>t:()=>e}function Km(e){const t=e||{};return{min:"function"==typeof t.min?t.min:Hm(t.min,0),max:"function"==typeof t.max?t.max:Hm(t.max,1e3),added:t.added||t.add||Wm,description:t.description||Wm,moved:t.moved||t.move||Wm,removed:t.removed||t.remove||Wm,replaced:t.replaced||t.replace||Wm,isDefined:()=>!!e}}function Xm(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=>((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})(e,n,{}),dimensions:Km(e.dimensions),measures:Km(e.measures)}}function Ym(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(Xm)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Qm(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Ym(n.qae),component:n.component||{},create:e=>function(e,t,n){"function"==typeof e.component&&(e.component=mm(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==om&&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"],l={};t.model&&t.model.session||(l.select=!0);const s={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(s,{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})),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=s.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){return e.component.runMenu(this,t,n)},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(s.context[e])})),a.themeName=s.context.theme?s.context.theme.name():void 0,a.language=s.context.translator?s.context.translator.language():void 0,Object.assign(s,{selections:t.selections}),[s,null]}(e,t,n):$m(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=Qp.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));Qp.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=Qp.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)}}(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var Jm=o(82103);const eh={};function th(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)||(0,Jm.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!eh[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);eh[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 eh[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Qm(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?(V()(!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 nh={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},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()))}},rh=(e={},t={})=>({...e,...t}),oh=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),ah=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.0.0-alpha.3"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),re.createRoot(i).render(t.createElement(dt,{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,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=ne();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),(5e3,l={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(l)),5e3)})))]);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},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:Vp(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]=th(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>n[e]?n[e].getMatchingVersionFromProperties(t):null,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(eh).forEach((t=>{t.split("__")[0]===e&&(eh[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),m=null,h=null;const q={render:async e=>(await p,e.id?zp(e,u):Bp(e,u)),context:async e=>{let t;["theme","language","constraints","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},u.context=r,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(m||(m={mount(n){h?console.error("Already mounted"):(h=function({element:e,app:n}){return ft.createPortal(t.createElement(Bd,{app:n}),e,Fd())}({element:n,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),m),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 ft.createPortal(t.createElement(df,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,Fd())}({element:i,app:e,fieldIdentifier:n,qId:r,options:uf({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 Fu(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={...ff};return V()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(pf,{element:n,key:Fd(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,Fu(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:rh(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:oh(e.types,t.types),themes:oh(e.themes,t.themes),flags:rh(e.flags,t.flags),anything:rh(e.anything,t.anything)}))(o,t)),i.config=o,i}(nh),ih=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},lh=globalThis.crypto||{getRandomValues:()=>123456},sh=function(){return e=>{const t=V()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^lh.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=V()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId,...t})}},ch=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,uh=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=ch(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},dh=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function fh(e){return!dh.includes(e)}function ph(e){const t=ch(e.getLayout);return t.qInfo&&t.qInfo.qId}function mh(e,t){let n=ph(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:ch(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:uh(n,{async:fh(t),delay:r})})),{}),genericType:e.type}}}function hh(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!ph(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const qh=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(hh);const n=function(e,t){return e.reduce(((e,n)=>({...e,...mh(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},gh=function(){return()=>Promise.resolve({id:"app-layout"})},yh={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new ih,r=new sh,o=new qh(e,t),a=new gh,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},vh=yh,bh={generator:Qm,hook:mm,theme:ne,locale:n};var Ch=o(9196),Eh=o.n(Ch);const Sh=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}],"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":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"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":{}}}],"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":{}}}],"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"}]},"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},"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":{}}},{"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":[]}},"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}],"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_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_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_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_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_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},"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},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"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},"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}},"version":"12.936.0"}');var Oh=o(78173),Ih=o.n(Oh);class Rh 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 xh extends Rh{}var wh=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(wh||{});class Lh extends Rh{}var Nh=(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))(Nh||{}),_h=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(_h||{});const Ph=(e,t)=>{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)},Ah=e=>{let t="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let r=0;r<e;r+=1)t+=n.charAt(Math.floor(Math.random()*n.length));return t},Th="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var Dh=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}},kh=class extends Dh{},Mh=class extends Dh{},Fh=class extends Dh{},Bh=class extends Dh{},jh=class extends Dh{},Gh=(e,t)=>{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 zh(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Vh,Zh,Uh=Object.create,$h=Object.defineProperty,Wh=Object.getOwnPropertyDescriptor,Hh=Object.getOwnPropertyNames,Kh=Object.getPrototypeOf,Xh=Object.prototype.hasOwnProperty,Yh=(Vh={"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,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)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=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 l(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},i(e)}function l(e,t,n){return(l=s()?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&&c(o,n.prototype),o}).apply(null,arguments)}function s(){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 c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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&&c(e,t)}(i,e);var t,n,r,o=(t=i,n=s(),function(){var e,r=u(t);if(n){var o=u(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return a(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=o.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return r=i,Object.defineProperty(r,"prototype",{writable:!1}),r}(i(Error));function f(e,t,n){return new d(t,e,n)}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 m(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){h(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 h(e,t,n){return 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,r.key,r)}}var g=0,y=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),g+=1,n.id=g,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(f(-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=m(m({},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 v(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)}}var b=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 f(-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={}}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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,r.key,r)}}function E(e){return(E="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 S=Object.prototype.hasOwnProperty;function O(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function I(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];if(1===r.length&&"object"===E(r[0])&&!Array.isArray(r[0])){var a=Object.keys(r[0]).every((function(e){return S.call(t,e)}));a&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]})))}return e.apply(this,r)}var R=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 b,this.types=new b}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 f(-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=O(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 f(-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 f(-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=O(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 I.apply(this,[o,a].concat(t))}}))}}],n&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function x(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)}}var w=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)}}])&&x(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(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)}}var N=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,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t&&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(f(-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(f(-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.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 w(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=f(-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&&L(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),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,r.key,r)}}var P=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(f(-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&&_(t.prototype,n),r&&_(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function T(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=f(-2,"Object not found");return e.config.Promise.reject(r)}return n}var D=Object.prototype.hasOwnProperty,k=Object.prototype.toString,M=Object.defineProperty,F=Object.getOwnPropertyDescriptor,B=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===k.call(e)},j=function(e){if(!e||"[object Object]"!==k.call(e))return!1;var t,n=D.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&D.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||D.call(e,t)},G=function(e,t){M&&"__proto__"===t.name?M(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},z=function(e,t){if("__proto__"===t){if(!D.call(e,t))return;if(F)return F(e,t).value}return e[t]};function V(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 Z(e){return(Z="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 U=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=z(l,n),l!==(o=z(t,n))&&(u&&o&&(j(o)||(a=B(o)))?(a?(a=!1,i=r&&B(r)?r:[]):i=r&&j(r)?r:{},G(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&G(l,{name:n,newValue:o}));return l}.bind(null,!0),$={},W=Array.isArray;function H(e){return null!=e&&!Array.isArray(e)&&"object"===Z(e)}function K(e){return void 0===e}function X(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Y(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]=K(e[n||t])?a:e[t],e=e[n||t]}})),e}function Q(e,t){var n=!0;if(H(e)&&H(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){Q(e[r],t[r])||(n=!1)})),n);if(W(e)&&W(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!Q(e[r],t[r]))return!1;return!0}return e===t}function J(e){return(J="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)}$.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?U({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);Q(a,i)||X(t,o)||(K(i)?r.push({op:"add",path:l,value:a}):H(a)&&H(i)?r=r.concat($.generate(i,a,l)):W(a)&&W(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&K(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(Q(t,o))return r;if(!K(t[0])&&K(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($.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){K(t[o])&&!X(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},$.apply=function(e,t){t.forEach((function(t){var n,r,o=Y(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(W(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(W(i)&&W(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 V(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 V(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)?V(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(H(i)&&H(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!X(n,e)&&delete n[e]})),U(i,t.value);else{if(!o)throw f(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var d=Y(e,t.from);W(o)?o.splice(+a,0,d.splice(+l,1)[0]):(o[a]=d[l],delete d[l])}else"remove"===t.op&&(W(o)?o.splice(+a,1):delete o[a])}))},$.clone=function(e){return U({},e)},$.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},$.updateObject=function(e,t){Object.keys(e).length?$.apply(e,$.generate(e,t)):U(e,t)};var ee={};function te(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw f(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ee[e.id]){var t={};ee[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 ee[e.id]}))}}(e);var n=ee[e.id];return n[t]||(n[t]=new b),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==J(r[0].value)?a=r[0].value:$.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 ne(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}te.sessions=ee;function re(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n.qReturn.qGenericId=n.qSessionAppId||n.qReturn.qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n.qReturn,hasOwnProperty.call(n,"qReturn")?n.qReturn:-1!==t.outKey?n[t.outKey]:n}function oe(e,t,n){return n.result}function ae(e){return function(e){if(Array.isArray(e))return ie(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 ie(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)?ie(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 ie(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 le(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)}}var se=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:A}].concat(ae(this.request||[])),this.response=[{onFulfilled:ne},{onFulfilled:te},{onFulfilled:oe},{onFulfilled:re}].concat(ae(this.response||[]),[{onFulfilled:T}])}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)}}])&&le(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ce(e){return(ce="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 ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(){return fe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=pe(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},fe.apply(this,arguments)}function pe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qe(e)););return e}function me(e,t){return(me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function he(e,t){if(t&&("object"===ce(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)}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=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&&me(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=qe(r);if(o){var n=qe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return he(this,e)});function i(){return ue(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return fe(qe(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 fe(qe(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}))}}])&&de(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(b);function ye(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(){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 ge,l=new se({apis:i,Promise:n,request:r,response:o}),s=new N({createSocket:t,Promise:n,url:a}),c=new P({apis:i,Promise:n,rpc:s});return new y({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw f(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw f(-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 R(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&ye(t.prototype,null),n&&ye(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 Zh||(0,Vh[Hh(Vh)[0]])((Zh={exports:{}}).exports,Zh),Zh.exports}),Qh=((e,t,n)=>(n=null!=e?Uh(Kh(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Hh(t))Xh.call(e,n)||undefined===n||$h(e,n,{get:()=>t[n],enumerable:!(r=Wh(t,n))||r.enumerable});return e})(e&&e.__esModule?n:$h(n,"default",{value:e,enumerable:!0}),e)))(Yh()),Jh=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}},eq=class extends Jh{},tq=class extends Jh{},nq=class extends Jh{},rq=class extends Jh{},oq=class extends Jh{},aq=class extends Jh{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},iq=(e,t)=>{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)},lq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function sq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var cq=WebSocket;function uq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const dq=new Lh("Only supported for AuthType.WebIntegration");class fq{constructor(e){if(!e.host)throw new Lh("Empty host in config");let t,n,r;try{const r=Ph(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new Lh("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new Lh("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==_h.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===_h.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 Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new Lh(Nh.EMPTY_HOST);if(!(e.authType in _h))throw new Lh(`${Nh.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[_h.WebIntegration]:["webIntegrationId"],[_h.APIKey]:["apiKey"],[_h.JWTAuth]:["fetchToken","webIntegrationId"],[_h.OAuth2]:["clientId"],[_h.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 Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[_h.APIKey]:["isSecure"],[_h.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[_h.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[_h.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 Lh(`${Nh.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===_h.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new Lh(`${Nh.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:zh},response:{handlers:[],use:zh}},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=Gh(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=Gh(`${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;const r=n?.method??"get";t||"GET"===r.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 ${Buffer.from(`${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.19.1",...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 Mh({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,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new Bh({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new kh({error:"Failed to authenticate host using api-key",...f}):new kh({error:"Unauthenticated",...f});if(404===u.status)throw new jh({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Fh({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 Fh({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:uq},response:{handlers:[],use:uq}},this.sessions={},this.eventListeners={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:sq},response:{handlers:[],use:sq}},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=iq(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=iq(`${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;const r=n?.method??"get";t||"GET"===r.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 ${Buffer.from(`${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.19.1",...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 tq({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,...d||{}};if(401===u.status)throw"OAuth2"===e.authType?new rq({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new eq({error:"Failed to authenticate host using api-key",...f}):new eq({error:"Unauthenticated",...f});if(404===u.status)throw new oq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new nq({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 nq({error:"Missing fetch function"})}}(e).restClientInstance}async rpc(e){const{url:t,createSocket:n}=await this.buildUrlAndCreateSocket(e);return this.sessions[t.toString()]=this.sessions[t.toString()]||(()=>{const e=Qh.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:t,createSocket:n,protocol:{delta:!1}});return e.intercept.response=this.interceptors.response.handlers,e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{t?.code&&t.code>=4e3&&e.onRpcError(new aq(t.code,t.reason))})),e})(),this.sessions[t.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((e=>{e(t)})),this.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((e=>{e(t)}))),"change"in t&&t.change.forEach((e=>{this.eventListeners[e]?.changed?.forEach((e=>e(t)))})),"close"in t&&t.close.forEach((e=>{this.eventListeners[e]?.closed?.forEach((e=>e(t)))}))})),this.sessions[t.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||lq,a=iq(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 nq(`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&&!lq?e=>new cq(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new cq(e),{url:t,createSocket:n}}}(this.config),this.rpc=e=>this.rpcClient.rpc(e),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),Object.assign(this.rpc,{eventListeners:this.rpcClient.eventListeners}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||Th,a=Ph(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===_h.APIKey||n.authType===_h.OAuth2&&!o)return i;if([_h.WebIntegration,_h.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===_h.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 Lh(`${Nh.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!==_h.WebIntegration)throw dq;const e=Ph(`${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!==_h.WebIntegration)throw dq;const e=Ph(`${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(Ph(`${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 xh(wh.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 Lh({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(Th&&(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!==_h.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new Lh("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=Ah(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||Ah(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:Ph(`${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,Th&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const pq=()=>{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},mq=(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}},hq=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=pq();if(n.engine_url?t={...t,...mq(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}})),qq=new Map,gq=[],yq=gq.map,vq=gq.some,bq=gq.hasOwnProperty,Cq=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,Eq=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,Sq=/(?:\.[^/]*|\/)$/;class Oq extends Error{constructor(e){super(e)}}function Iq(e){const t=Cq.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function Rq(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(gq.pop()(o(e)))}catch(e){n(new Oq("invalid module"))}r.remove()},r.onerror=()=>{n(new Oq("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=Nq,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(yq.call(arguments,n)).then(xq):n(e)}return a.alias=function(t){return Rq(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function xq(e){const t={};for(const n of e)for(const e in n)bq.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:wq(n,e)}):t[e]=n[e]);return t}function wq(e,t){return()=>e[t]}function Lq(e){return"exports"==(e+="")||"module"===e}function Nq(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),gq.push(vq.call(t,Lq)?e=>{const r={},o={exports:r};return Promise.all(yq.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(yq.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}Oq.prototype.name=Oq.name,Rq(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=qq.get(n);return r||qq.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new Oq("unable to load package.json");return e.redirected&&!qq.has(e.url)&&qq.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 Oq("illegal name");const a=Iq(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(Iq(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!Sq.test(a.path)&&(a.path+=".js"),a.path&&a.version&&Eq.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)),Sq.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),Nq.amd={};const _q=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return Rq((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},Pq={};function Aq(e){const t=()=>{_q(e.supernova.name,e.supernova.url).then((t=>{var n;window[e.supernova.name]=t,n=e.supernova.name,Pq[n]&&Pq[n].forEach((e=>e()))})),e.types&&e.types.forEach((e=>{_q(e.name,e.url).then((t=>{window[e.name]=t}))}))};e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t()}window.onHotChange=(e,t)=>(Pq[e]||(Pq[e]=[]),Pq[e].push(t),window[e]&&t(),()=>{const n=Pq[e].indexOf(t);Pq[e].splice(n,1)});const Tq=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const Dq=async e=>{const t=document.querySelector("#chart-container"),n=await hq(),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=V()(!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()=>_q(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language}}}))(e));return r.genericObjects=r.genericObjects||[Tq({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 vh.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i);ah(u,{types:[{name:o,load:a}],...l}).render({type:o,element:t,id:d,...s})};async function kq(){const e=await hq();Aq(e),e.enigma.appId||(location.href=location.origin);const t=pq(),n=await(async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await hq();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new fq({webIntegrationId:e,autoRedirect:!0,authType:_h.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=Ih().buildUrl(r);return(await Eh().create({schema:Sh,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}})(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>ah.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=pq();e.fixture?Dq(e):e.snapshot?async function(){const e=await hq(),{themes:t,supernova:n}=e;Aq(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=ah.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=pq();!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})}))}():kq()}))})()})();