@nebula.js/cli-serve 4.2.2 → 4.2.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
- `),Pn.rippleVisible,jn,550,(({theme:e})=>e.transitions.easing.easeInOut),Pn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Pn.child,Pn.childLeaving,zn,550,(({theme:e})=>e.transitions.easing.easeInOut),Pn.childPulsate,Gn,(({theme:e})=>e.transitions.easing.easeInOut)),Zn=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,An),[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,he.jsx)(Un,{classes:{ripple:(0,st.Z)(a.ripple,Pn.ripple),rippleVisible:(0,st.Z)(a.rippleVisible,Pn.rippleVisible),ripplePulsate:(0,st.Z)(a.ripplePulsate,Pn.ripplePulsate),child:(0,st.Z)(a.child,Pn.child),childLeaving:(0,st.Z)(a.childLeaving,Pn.childLeaving),childPulsate:(0,st.Z)(a.childPulsate,Pn.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},u.current)])),u.current+=1,d.current=i}),[a]),y=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]),g=t.useCallback((()=>{y({},{pulsate:!0})}),[y]),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:g,start:y,stop:v})),[g,y,v]),(0,he.jsx)(Vn,(0,ce.Z)({className:(0,st.Z)(Pn.root,a.root,i),ref:h},l,{children:(0,he.jsx)(Rn,{component:null,exit:!0,children:s})}))})),$n=Zn;function Wn(e){return(0,Pe.Z)("MuiButtonBase",e)}const Hn=(0,Te.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Kn=["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"],Xn=(0,qt.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"},[`&.${Hn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Yn=t.forwardRef((function(e,n){const r=(0,yt.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:y,onFocus:g,onFocusVisible:v,onKeyDown:b,onKeyUp:C,onMouseDown:E,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:L=0,TouchRippleProps:w,touchRippleRef:N,type:_}=r,T=(0,ue.Z)(r,Kn),P=t.useRef(null),A=t.useRef(null),D=(0,fn.Z)(A,N),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,mn.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),P.current.focus()}})),[]);const[G,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const U=G&&!u&&!c;function Z(e,t,n=d){return(0,pn.Z)((r=>(t&&t(r),!n&&A.current&&A.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&A.current.pulsate()}),[u,f,j,G]);const $=Z("start",E),W=Z("stop",q),H=Z("stop",y),K=Z("stop",O),X=Z("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=Z("start",x),Q=Z("stop",I),J=Z("stop",R),ee=Z("stop",(e=>{F(e),!1===k.current&&z(!1),m&&m(e)}),!1),te=(0,pn.Z)((e=>{P.current||(P.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),g&&g(e)})),ne=()=>{const e=P.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,pn.Z)((e=>{f&&!re.current&&j&&A.current&&" "===e.key&&(re.current=!0,A.current.stop(e,(()=>{A.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,pn.Z)((e=>{f&&" "===e.key&&A.current&&j&&!e.defaultPrevented&&(re.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),C&&C(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ie=s;"button"===ie&&(T.href||T.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===_?"button":_,le.disabled=c):(T.href||T.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,fn.Z)(n,B,P),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:L,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,ht.Z)(a,Wn,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,he.jsxs)(Xn,(0,ce.Z)({as:ie,className:(0,st.Z)(fe.root,l),ownerState:de,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:L,type:_},le,T,{children:[i,U?(0,he.jsx)($n,(0,ce.Z)({ref:D,center:a},w)):null]}))})),Qn=Yn;function Jn(e){return(0,Pe.Z)("MuiIconButton",e)}const er=(0,Te.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),tr=["edge","children","className","color","disabled","disableFocusRipple","size"],nr=(0,qt.ZP)(Qn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],n.edge&&t[`edge${(0,nn.Z)(n.edge)}`],t[`size${(0,nn.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,ce.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,ce.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,ce.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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)},{[`&.${er.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),rr=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=(0,ue.Z)(n,tr),d=(0,ce.Z)({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,i={root:["root",n&&"disabled","default"!==r&&`color${(0,nn.Z)(r)}`,o&&`edge${(0,nn.Z)(o)}`,`size${(0,nn.Z)(a)}`]};return(0,ht.Z)(i,Jn,t)})(d);return(0,he.jsx)(nr,(0,ce.Z)({className:(0,st.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),or=rr,ar=e=>Jt((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));function ir(){return ir=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},ir.apply(this,arguments)}function lr(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 sr=o(81518);function cr(e){return"string"==typeof e}function ur(e,t,n){return void 0===e||cr(e)?t:ir({},t,{ownerState:ir({},t.ownerState,n)})}function dr(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 fr(e,t){return"function"==typeof e?e(t):e}const pr=["elementType","externalSlotProps","ownerState"];function mr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=lr(e,pr),i=fr(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=(0,st.Z)(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=ir({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=ir({},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}(ir({},o,r)),l=dr(r),s=dr(o),c=t(i),u=(0,st.Z)(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=ir({},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=ir({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(ir({},a,{externalSlotProps:i}));return ur(n,ir({},l,{ref:(0,sr.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}var hr=o(78101),qr=o(60617),yr=o(19514);var gr="unmounted",vr="exited",br="entering",Cr="entered",Er="exiting",Sr=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=vr,r.appearStatus=br):o=Cr:o=t.unmountOnExit||t.mountOnEnter?gr:vr,r.state={status:o},r.nextCallback=null,r}vn(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===gr?{status:vr}: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!==br&&n!==Cr&&(t=br):n!==br&&n!==Cr||(t=Er)}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===br){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:lt.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vr&&this.setState({status:gr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[lt.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:br},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:Cr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:Cr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:lt.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Er},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:vr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:vr},(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:lt.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===gr)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,hn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(bn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Or(){}Sr.contextType=bn,Sr.propTypes={},Sr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Or,onEntering:Or,onEntered:Or,onExit:Or,onExiting:Or,onExited:Or},Sr.UNMOUNTED=gr,Sr.EXITED=vr,Sr.ENTERING=br,Sr.ENTERED=Cr,Sr.EXITING=Er;const Ir=Sr,Rr=e=>e.scrollTop;function xr(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 Lr=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function wr(e){return`scale(${e}, ${e**2})`}const Nr={entering:{opacity:1,transform:wr(1)},entered:{opacity:1,transform:"none"}},_r="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Tr=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=Ir}=e,y=(0,ue.Z)(e,Lr),g=t.useRef(),v=t.useRef(),b=se(),C=t.useRef(null),E=(0,fn.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)=>{Rr(e);const{duration:n,delay:r,easing:o}=xr({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:_r?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),L=S((e=>{const{duration:t,delay:n,easing:r}=xr({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:_r?o:.666*o,delay:_r?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=wr(.75),d&&d(e)})),w=S(f);return t.useEffect((()=>()=>{clearTimeout(g.current)}),[]),(0,he.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:L,onExited:w,onExiting:x,addEndListener:e=>{"auto"===h&&(g.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===h?null:h},y,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:wr(.75),visibility:"exited"!==e||l?void 0:"hidden"},Nr[e],m,a.props.style),ref:E},n))}))}));Tr.muiSupportAuto=!0;const Pr=Tr;var Ar=o(80776),Dr=o(67603),kr=o(74603),Mr=o(35615),Fr=o(513);const Br=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,sr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,Mr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,Mr.Z)((()=>{if(i&&!a)return(0,Fr.Z)(n,i),()=>{(0,Fr.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,he.jsx)(t.Fragment,{children:r})}return(0,he.jsx)(t.Fragment,{children:i?lt.createPortal(r,i):i})}));var jr=o(98912);function zr(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 Vr(e){return parseInt((0,jr.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Ur(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 $r=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Wr(e){const t=[],n=[];return Array.from(e.querySelectorAll($r)).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 Hr(){return!0}const Kr=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=Wr,isEnabled:l=Hr,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,sr.Z)(n.ref,h),y=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=y.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=y.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=>{y.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 g=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,he.jsxs)(t.Fragment,{children:[(0,he.jsx)("div",{tabIndex:s?0:-1,onFocus:g,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,he.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})};function Xr(e){return(0,Pe.Z)("MuiModal",e)}(0,Te.Z)("MuiModal",["root","hidden","backdrop"]);const Yr={disableDefaultClasses:!1},Qr=t.createContext(Yr);function Jr(e){const{disableDefaultClasses:n}=t.useContext(Qr);return t=>n?"":e(t)}const eo=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],to=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);Ur(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,jr.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=zr((0,Ar.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Vr(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=`${Vr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ar.Z)(r).body;else{const t=r.parentElement,n=(0,jr.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),Ur(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}},no=t.forwardRef((function(e,n){var r,o;const{children:a,closeAfterTransition:i=!1,container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:f=!1,disableScrollLock:p=!1,hideBackdrop:m=!1,keepMounted:h=!1,manager:q=to,onBackdropClick:y,onClose:g,onKeyDown:v,open:b,onTransitionEnter:C,onTransitionExited:E,slotProps:S={},slots:O={}}=e,I=lr(e,eo),R=q,[x,L]=t.useState(!b),w=t.useRef({}),N=t.useRef(null),_=t.useRef(null),T=(0,sr.Z)(_,n),P=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),A=null==(r=e["aria-hidden"])||r,D=()=>(w.current.modalRef=_.current,w.current.mountNode=N.current,w.current),k=()=>{R.mount(D(),{disableScrollLock:p}),_.current&&(_.current.scrollTop=0)},M=(0,Dr.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(l)||(0,Ar.Z)(N.current).body;R.add(D(),e),_.current&&k()})),F=t.useCallback((()=>R.isTopModal(D())),[R]),B=(0,Dr.Z)((e=>{N.current=e,e&&_.current&&(b&&F()?k():Gr(_.current,A))})),j=t.useCallback((()=>{R.remove(D(),A)}),[R,A]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{b?M():P&&i||j()}),[b,j,P,i,M]);const z=ir({},e,{closeAfterTransition:i,disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:f,disableScrollLock:p,exited:x,hideBackdrop:m,keepMounted:h}),G=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,ht.Z)(r,Jr(Xr))})(z),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),P&&(V.onEnter=(0,kr.Z)((()=>{L(!1),C&&C()}),a.props.onEnter),V.onExited=(0,kr.Z)((()=>{L(!0),E&&E(),i&&j()}),a.props.onExited));const U=null!=(o=O.root)?o:"div",Z=mr({elementType:U,externalSlotProps:S.root,externalForwardedProps:I,additionalProps:{ref:T,role:"presentation",onKeyDown:e=>{v&&v(e),"Escape"===e.key&&F()&&(u||(e.stopPropagation(),g&&g(e,"escapeKeyDown")))}},className:G.root,ownerState:z}),$=O.backdrop,W=mr({elementType:$,externalSlotProps:S.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(y&&y(e),g&&g(e,"backdropClick"))},open:b},className:G.backdrop,ownerState:z});return h||b||P&&!x?(0,he.jsx)(Br,{ref:B,container:l,disablePortal:d,children:(0,he.jsxs)(U,ir({},Z,{children:[!m&&$?(0,he.jsx)($,ir({},W)):null,(0,he.jsx)(Kr,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:f,isEnabled:F,open:b,children:t.cloneElement(a,V)})]}))}):null})),ro=no,oo=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ao={entering:{opacity:1},entered:{opacity:1}},io=t.forwardRef((function(e,n){const r=se(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,style:q,timeout:y=o,TransitionComponent:g=Ir}=e,v=(0,ue.Z)(e,oo),b=t.useRef(null),C=(0,fn.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)=>{Rr(e);const n=xr({style:q,timeout:y,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=xr({style:q,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),L=E(m);return(0,he.jsx)(g,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:L,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:y},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},ao[e],q,l.props.style),ref:C},n))}))}));function lo(e){return(0,Pe.Z)("MuiBackdrop",e)}(0,Te.Z)("MuiBackdrop",["root","invisible"]);const so=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],co=(0,qt.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,ce.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),uo=t.forwardRef((function(e,t){var n,r,o;const a=(0,yt.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=io,transitionDuration:q}=a,y=(0,ue.Z)(a,so),g=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,ht.Z)(r,lo,t)})(g),b=null!=(n=p.root)?n:u.root;return(0,he.jsx)(h,(0,ce.Z)({in:f,timeout:q},y,{children:(0,he.jsx)(co,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,st.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,ce.Z)({},g,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),fo=uo,po=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],mo=(0,qt.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,ce.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),ho=(0,qt.ZP)(fo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),qo=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,yt.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=ho,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:q,component:y,components:g={},componentsProps:v={},disableAutoFocus:b=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:I=!1,hideBackdrop:R=!1,keepMounted:x=!1,onBackdropClick:L,onClose:w,open:N,slotProps:_,slots:T,theme:P}=c,A=(0,ue.Z)(c,po),[D,k]=t.useState(!0),M={container:q,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:C,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:R,keepMounted:x,onBackdropClick:L,onClose:w,open:N},F=(0,ce.Z)({},c,M,{exited:D}),B=null!=(r=null!=(o=null==T?void 0:T.root)?o:g.Root)?r:mo,j=null!=(a=null!=(i=null==T?void 0:T.backdrop)?i:g.Backdrop)?a:u,z=null!=(l=null==_?void 0:_.root)?l:v.root,G=null!=(s=null==_?void 0:_.backdrop)?s:v.backdrop;return(0,he.jsx)(ro,(0,ce.Z)({slots:{root:B,backdrop:j},slotProps:{root:()=>(0,ce.Z)({},fr(z,F),!cr(B)&&{as:y,theme:P},{className:(0,st.Z)(p,null==z?void 0:z.className,null==f?void 0:f.root,!F.open&&F.exited&&(null==f?void 0:f.hidden))}),backdrop:()=>(0,ce.Z)({},d,fr(G,F),{className:(0,st.Z)(null==G?void 0:G.className,null==d?void 0:d.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>k(!1),onTransitionExited:()=>k(!0),ref:n},A,M,{children:h}))})),yo=qo,go=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function vo(e){return(0,Pe.Z)("MuiPaper",e)}(0,Te.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const bo=["className","component","elevation","square","variant"],Co=(0,qt.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,ce.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,ce.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,dn.Fq)("#fff",go(t.elevation))}, ${(0,dn.Fq)("#fff",go(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Eo=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,ue.Z)(n,bo),c=(0,ce.Z)({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,ht.Z)(a,vo,o)})(c);return(0,he.jsx)(Co,(0,ce.Z)({as:o,ownerState:c,className:(0,st.Z)(u.root,r),ref:t},s))})),So=Eo;function Oo(e){return(0,Pe.Z)("MuiPopover",e)}(0,Te.Z)("MuiPopover",["root","paper"]);const Io=["onEntering"],Ro=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],xo=["slotProps"];function Lo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function wo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function No(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function _o(e){return"function"==typeof e?e():e}const To=(0,qt.ZP)(yo,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Po=(0,qt.ZP)(So,{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}),Ao=t.forwardRef((function(e,n){var r,o,a;const i=(0,yt.Z)({props:e,name:"MuiPopover"}),{action:l,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:p,container:m,elevation:h=8,marginThreshold:q=16,open:y,PaperProps:g={},slots:v,slotProps:b,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:E=Pr,transitionDuration:S="auto",TransitionProps:{onEntering:O}={}}=i,I=(0,ue.Z)(i.TransitionProps,Io),R=(0,ue.Z)(i,Ro),x=null!=(r=null==b?void 0:b.paper)?r:g,L=t.useRef(),w=(0,fn.Z)(L,x.ref),N=(0,ce.Z)({},i,{anchorOrigin:c,anchorReference:d,elevation:h,marginThreshold:q,externalPaperSlotProps:x,transformOrigin:C,TransitionComponent:E,transitionDuration:S,TransitionProps:I}),_=(e=>{const{classes:t}=e;return(0,ht.Z)({root:["root"],paper:["paper"]},Oo,t)})(N),T=t.useCallback((()=>{if("anchorPosition"===d)return u;const e=_o(s),t=(e&&1===e.nodeType?e:(0,qr.Z)(L.current).body).getBoundingClientRect();return{top:t.top+Lo(t,c.vertical),left:t.left+wo(t,c.horizontal)}}),[s,c.horizontal,c.vertical,u,d]),P=t.useCallback((e=>({vertical:Lo(e,C.vertical),horizontal:wo(e,C.horizontal)})),[C.horizontal,C.vertical]),A=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===d)return{top:null,left:null,transformOrigin:No(n)};const r=T();let o=r.top-n.vertical,a=r.left-n.horizontal;const i=o+t.height,l=a+t.width,c=(0,yr.Z)(_o(s)),u=c.innerHeight-q,f=c.innerWidth-q;if(o<q){const e=o-q;o-=e,n.vertical+=e}else if(i>u){const e=i-u;o-=e,n.vertical+=e}if(a<q){const e=a-q;a-=e,n.horizontal+=e}else if(l>f){const e=l-f;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:No(n)}}),[s,d,T,P,q]),[D,k]=t.useState(y),M=t.useCallback((()=>{const e=L.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,k(!0)}),[A]);t.useEffect((()=>{y&&M()})),t.useImperativeHandle(l,(()=>y?{updatePosition:()=>{M()}}:null),[y,M]),t.useEffect((()=>{if(!y)return;const e=(0,hr.Z)((()=>{M()})),t=(0,yr.Z)(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,y,M]);let F=S;"auto"!==S||E.muiSupportAuto||(F=void 0);const B=m||(s?(0,qr.Z)(_o(s)).body:void 0),j=null!=(o=null==v?void 0:v.root)?o:To,z=null!=(a=null==v?void 0:v.paper)?a:Po,G=mr({elementType:z,externalSlotProps:(0,ce.Z)({},x,{style:D?x.style:(0,ce.Z)({},x.style,{opacity:0})}),additionalProps:{elevation:h,ref:w},ownerState:N,className:(0,st.Z)(_.paper,null==x?void 0:x.className)}),V=mr({elementType:j,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:R,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:B,open:y},ownerState:N,className:(0,st.Z)(_.root,p)}),{slotProps:U}=V,Z=(0,ue.Z)(V,xo);return(0,he.jsx)(j,(0,ce.Z)({},Z,!cr(j)&&{slotProps:U},{children:(0,he.jsx)(E,(0,ce.Z)({appear:!0,in:y,onEntering:(e,t)=>{O&&O(e,t),M()},onExited:()=>{k(!1)},timeout:F},I,{children:(0,he.jsx)(z,(0,ce.Z)({},G,{children:f}))}))}))})),Do=Ao;var ko=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}}(),Mo=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 Fo=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Mo(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},Mo(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),ko(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(t.PureComponent),Bo=["S","XS"],jo=e=>e.reduce(((e,t)=>e.concat(t)));async function zo({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 Go="RowColumn",Vo={row:`${Go}-row`,rowBorderBottom:`${Go}-rowBorderBottom`,column:`${Go}-column`,fieldRoot:`${Go}-fieldRoot`,cell:`${Go}-cell`,labelText:`${Go}-labelText`,labelDense:`${Go}-labelDense`,highlighted:`${Go}-highlighted`,checkboxLabel:`${Go}-checkboxLabel`,icon:`${Go}-icon`,S:`${Go}-S`,XS:`${Go}-XS`,A:`${Go}-A`,X:`${Go}-X`,frequencyCount:`${Go}-frequencyCount`,barContainer:`${Go}-barContainer`,bar:`${Go}-bar`,barSelected:`${Go}-barSelected`,barWithCheckbox:`${Go}-barWithCheckbox`,barSelectedWithCheckbox:`${Go}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Go}-excludedTextWithCheckbox`},Uo=`.${Vo.fieldRoot}`,Zo=e=>!(e?.metaKey||e?.ctrlKey);const $o=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Wo=e=>Jt($o(e)),Ho=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Ko=e=>e?"A"===e.qState:null,Xo=({cell:e,checkboxes:t})=>(Ko(e)||Ho(e))&&t,Yo=9,Qo=80,Jo=e=>e.filter((e=>!!e)).join(" ").trim(),ea=e=>e||"-",ta=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",na=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,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,qt.ZP)("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s})=>({"&: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"}},[`& .${Vo.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Vo.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Vo.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Vo.cell}`]:{display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:`${Yo}px`,paddingRight:0},[`& .${Vo.labelText}`]:{lineHeight:"16px",userSelect:"none",paddingRight:"1px",...oa,fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Vo.labelDense}`]:{fontSize:12},[`& .${Vo.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Vo.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"}},[`& .${Vo.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Vo.S}`]:{...ra({theme:e}),border:n?"none":void 0},[`& .${Vo.XS}`]:{...ra({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Vo.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Vo.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Vo.frequencyCount}`]:{justifyContent:"flex-end",...oa,flex:`0 0 ${ta({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:na({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${Vo.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Vo.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%"}},[`& .${Vo.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Vo.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${Vo.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Vo.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,Pe.Z)("MuiFormControlLabel",e)}const ua=(0,Te.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);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","required","slotProps","value"],pa=(0,qt.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ua.label}`]:t.label},t.root,t[`labelPlacement${(0,nn.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${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=(0,qt.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${ua.error}`]:{color:(e.vars||e).palette.error.main}}))),ha=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:l={},control:s,disabled:c,disableTypography:u,label:d,labelPlacement:f="end",required:p,slotProps:m={}}=a,h=(0,ue.Z)(a,fa),q=sa(),y=null!=(r=null!=c?c:s.props.disabled)?r:null==q?void 0:q.disabled,g=null!=p?p:s.props.required,v={disabled:y,required:g};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==a[e]&&(v[e]=a[e])}));const b=da({props:a,muiFormControl:q,states:["error"]}),C=(0,ce.Z)({},a,{disabled:y,labelPlacement:f,required:g,error:b.error}),E=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,nn.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,ht.Z)(i,ca,t)})(C),S=null!=(o=m.typography)?o:l.typography;let O=d;return null==O||O.type===un||u||(O=(0,he.jsx)(un,(0,ce.Z)({component:"span"},S,{className:(0,st.Z)(E.label,null==S?void 0:S.className),children:O}))),(0,he.jsxs)(pa,(0,ce.Z)({className:(0,st.Z)(E.root,i),ownerState:C,ref:n},h,{children:[t.cloneElement(s,v),O,g&&(0,he.jsxs)(ma,{ownerState:C,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}))})),qa=ha;var ya=o(2894);function ga(e){return(0,Pe.Z)("PrivateSwitchBase",e)}(0,Te.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const va=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],ba=(0,qt.ZP)(Qn)((({ownerState:e})=>(0,ce.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Ca=(0,qt.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ea=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:y,readOnly:g,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,ue.Z)(e,va),[O,I]=(0,ya.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=sa();let x=l;R&&void 0===x&&(x=R.disabled);const L="checkbox"===C||"radio"===C,w=(0,ce.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,nn.Z)(o)}`],input:["input"]};return(0,ht.Z)(a,ga,t)})(w);return(0,he.jsxs)(ba,(0,ce.Z)({component:"span",className:(0,st.Z)(N.root,a),centerRipple:!0,focusRipple:!s,disabled:x,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:w,ref:t},S,{children:[(0,he.jsx)(Ca,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:N.input,disabled:x,id:L?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:g,ref:p,required:v,ownerState:w,tabIndex:b,type:C},"checkbox"===C&&void 0===E?{}:{value:E},f)),O?o:u]}))})),Sa=Ea;var Oa=o(50968);const Ia=(0,Oa.Z)((0,he.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"),Ra=(0,Oa.Z)((0,he.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"),xa=(0,Oa.Z)((0,he.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 La(e){return(0,Pe.Z)("MuiCheckbox",e)}const wa=(0,Te.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Na=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],_a=(0,qt.ZP)(Sa,{shouldForwardProp:e=>(0,qt.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,nn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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}}))),Ta=(0,he.jsx)(Ra,{}),Pa=(0,he.jsx)(Ia,{}),Aa=(0,he.jsx)(xa,{}),Da=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Ta,color:l="primary",icon:s=Pa,indeterminate:c=!1,indeterminateIcon:u=Aa,inputProps:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Na),h=c?u:s,q=c?u:i,y=(0,ce.Z)({},a,{color:l,indeterminate:c,size:f}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,nn.Z)(r)}`]},a=(0,ht.Z)(o,La,t);return(0,ce.Z)({},t,a)})(y);return(0,he.jsx)(_a,(0,ce.Z)({type:"checkbox",inputProps:(0,ce.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:y,ref:n,className:(0,st.Z)(g.root,p)},m,{classes:g}))})),ka=Da,Ma="ListBoxCheckbox",Fa={cbIcon:`${Ma}-cbIcon`,cbIconChecked:`${Ma}-cbIconChecked`,cbIconExcluded:`${Ma}-cbIconExcluded`,cbIconAlternative:`${Ma}-cbIconAlternative`,checkbox:`${Ma}-checkbox`,dense:`${Ma}-dense`},Ba=(0,qt.ZP)(ka)((({theme:e})=>({[`& .${Fa.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"},[`& .${Fa.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:'""'}},[`& .${Fa.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${Fa.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${Fa.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Fa.dense}`]:{padding:"4px 8px"}}))),ja=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function za({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Ba,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Fa.checkbox,o&&Fa.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:ja(Fa,i,a),checkedIcon:t.createElement("span",{className:Fa.cbIconChecked})})}const Ga=(0,Oa.Z)((0,he.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"),Va=(0,Oa.Z)((0,he.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"),Ua=(0,qt.ZP)("span")({position:"relative",display:"flex"}),Za=(0,qt.ZP)(Ga)({transform:"scale(1)"}),$a=(0,qt.ZP)(Va)((({theme:e,ownerState:t})=>(0,ce.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Wa=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,he.jsxs)(Ua,{className:n.root,ownerState:o,children:[(0,he.jsx)(Za,{fontSize:r,className:n.background,ownerState:o}),(0,he.jsx)($a,{fontSize:r,className:n.dot,ownerState:o})]})};var Ha=o(91882);const Ka=t.createContext(void 0);function Xa(e){return(0,Pe.Z)("MuiRadio",e)}const Ya=(0,Te.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Qa=["checked","checkedIcon","color","icon","name","onChange","size","className"],Ja=(0,qt.ZP)(Sa,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,nn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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&&{[`&.${Ya.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Ya.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ei=(0,he.jsx)(Wa,{checked:!0}),ti=(0,he.jsx)(Wa,{}),ni=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ei,color:s="primary",icon:c=ti,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Qa),h=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,nn.Z)(n)}`]};return(0,ce.Z)({},t,(0,ht.Z)(r,Xa,t))})(h),y=t.useContext(Ka);let g=i;const v=(0,Ha.Z)(d,y&&y.onChange);let b=u;var C,E;return y&&(void 0===g&&(C=y.value,g="object"==typeof(E=a.value)&&null!==E?C===E:String(C)===String(E)),void 0===b&&(b=y.name)),(0,he.jsx)(Ja,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=ti.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ei.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:g,onChange:v,ref:n,className:(0,st.Z)(q.root,p)},m))})),ri=ni,oi="ListBoxRadioButton",ai={denseRadioButton:`${oi}-denseRadioButton`,radioButton:`${oi}-radioButton`},ii=(0,qt.ZP)(ri)((({theme:e,checked:t})=>({[`&.${ai.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function li({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ii,{checked:n,onChange:e,value:r,name:r,className:ai.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const si=function({label:e,color:n,dense:r,showGray:o=!0,checkboxes:a,cell:i,valueTextAlign:l}){return t.createElement(un,{component:"span",variant:"body2",className:Jo([Vo.labelText,r&&Vo.labelDense,o&&Xo({cell:i,checkboxes:a})&&Vo.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},t.createElement("span",null,e))},ci=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(si,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ui=function({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}){const p=t.createElement(za,{onChange:e,label:n,checked:a,dense:i,excluded:Ho(l),isGridCol:s,showGray:c,dataN:o}),m=t.createElement(li,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(qa,{color:r,control:u?m:p,className:Vo.checkboxLabel,label:t.createElement(ci,{label:n,color:r,dense:i,showGray:c,checkboxes:d,cell:l,valueTextAlign:f}),key:o})};function di({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?Vo.highlighted:""},e)));return t.createElement(si,{label:a,dense:n,showGray:r,checkboxes:o})}const fi=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(di,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(ui,{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 pi({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}){return d?t.createElement(ui,{onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}):t.createElement(si,{label:n,color:r,dense:i,showGray:!0,checkboxes:d,cell:l,valueTextAlign:f})}const mi=t.memo(pi);var hi=o(69741),qi=o(95882);const yi=["className","component"];var gi=o(51388);const vi=(0,xe.Z)(),bi=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,hi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(qi.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=mt(e),{className:c,component:u="div"}=s,d=(0,ut.Z)(s,yi);return(0,he.jsx)(i,(0,de.Z)({as:u,ref:t,className:(0,st.Z)(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:vi,defaultClassName:"MuiBox-root",generateClassName:gi.Z.generate}),Ci=bi,Ei=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===ea(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(Ci,{className:Jo([Vo.bar,r&&Vo.barWithCheckbox,o&&(r?Vo.barSelectedWithCheckbox:Vo.barSelected)])},t.createElement(Ci,{className:"bar-filled",width:i}))},Si=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=ea(e?.qFrequency);return t.createElement(Lt,{item:!0,style:{display:"flex",alignItems:"center"},className:Vo.frequencyCount,"aria-label":a,title:a},t.createElement(un,{noWrap:!0,color:"inherit",variant:"body2",className:Jo([r&&Vo.labelDense,Vo.labelText,o&&Xo({cell:e,checkboxes:n})&&Vo.excludedTextWithCheckbox])},a))};function Oi({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 Ii=(0,qt.ZP)(Lt,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o})=>{const a="padding"+("rtl"===o?"Left":"Right");return{[`&.${Vo.fieldRoot}`]:{...Oi({dataLayout:e,layoutOrder:t,itemPadding:n}),[a]:r?"8px":void 0}}})),Ri={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function xi({layout:e}){const{translator:n}=(0,t.useContext)(We),{qStateCounts:r={}}=e?.qListObject?.qDimensionInfo||{},o=r.qSelected+r.qSelectedExcluded+r.qLocked+r.qLockedExcluded;let a;switch(o){case 0:a="ScreenReader.ZeroSelected";break;case 1:a="ScreenReader.OneSelected";break;default:a="ScreenReader.ManySelected"}const i=n.get(a,[o]);return t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},i)}const Li=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===Li.ARROW_UP||e===Li.ARROW_DOWN||e===Li.ARROW_LEFT||e===Li.ARROW_RIGHT}),wi=Li,Ni=e=>+e.getAttribute("data-n"),_i=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Ti=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Pi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:f,pages:p,isLocked:m,column:h=!1,checkboxes:q=!1,textAlign:y,direction:g,layoutOptions:v={},freqIsAllowed:b,isSingleSelect:C,actions:E,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:L=1,rowCount:w=1,dataOffset:N,deducedFrequencyMode:_,focusListItems:T,listCount:P,sizes:A,translator:D,showSearch:k,isModal:M}=a,{dense:F=!1,dataLayout:B="singleColumn",layoutOrder:j}=v,{itemPadding:z}=A;let G,V;const U={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===j?(G=n*L+r,U.max=w,U.currentIndex=n):(G=r*w+n,U.max=L,U.currentIndex=r);const e=0;V={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else G=e,U.max=P,U.currentIndex=e,V={...o};G+=N;const[Z,$]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==Z&&(0===U.currentIndex&&T.first&&(Z.focus(),T.setFirst(!1)),U.currentIndex===U.max-1&&T.last&&(Z.focus(),T.setLast(!1)))}),[Z,T.first,T.last]);const W=(0,t.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:f,layoutOrder:p}){const m=(e,t,n=!1)=>{if(e===wi.ARROW_LEFT||e===wi.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof f){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===wi.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:f,rowCount:c,columnCount:u,layoutOrder:p,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let h=!1;const q=e=>{h=e};return c=>{let u;const{currentTarget:d,nativeEvent:f}=c,{keyCode:p,shiftKey:y=!1,ctrlKey:g=!1,metaKey:v=!1}=f;switch(p){case wi.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),y){_i(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case wi.SHIFT:q(!0);break;case wi.SPACE:e([Ni(d)],!1,c);break;case wi.ARROW_DOWN:case wi.ARROW_RIGHT:u=m(p,d,!0),y&&u&&(h&&(e([Ni(d)],!0),q(!1)),e([Ni(u)],!0));break;case wi.ARROW_UP:case wi.ARROW_LEFT:u=m(p,d,!1),y&&u&&(h&&(e([Ni(d)],!0),q(!1)),e([Ni(u)],!0));break;case wi.ENTER:r();break;case wi.ESCAPE:if(!s())return;o();break;case wi.HOME:if(i.setFirst(!0),g){a?.("overflowStart");break}a?.("start");break;case wi.END:if(i.setLast(!0),g){a?.("overflowEnd");break}a?.("end");break;case wi.A:if(g||v){t();break}return;case wi.F:if(g||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...E,focusListItems:T,keyboard:I,isModal:M,rowCount:w,columnCount:L,rowIndex:n,columnIndex:r,layoutOrder:j}),[E,I?.innerTabStops,w,L,n,r,j]),H=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:G})),[p,G]),K="S"===H?.qState||"XS"===H?.qState||"L"===H?.qState||"XL"===H?.qState,X=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Vo.column:Vo.row];return t||a.push(Vo.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Vo.XS:Vo.S):"S"===r.qState||"L"===r.qState?a.push(Vo.S):o&&Ko(r)?a.push(Vo.A):o&&Ho(r)&&a.push(Vo.X)),a):[]})({column:h,histogram:O,checkboxes:q,cell:H,showGray:R})),[H?.qState,O,F,q]),Y=(0,t.useCallback)((e=>{e.preventDefault()}),[q]),Q=(0,t.useMemo)((()=>H&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:g,cell:H,textAlign:y})),[g,H,y]);if(!H)return null;const J="grid"===B&&"column"===j,ee=H?.qText??"";let te;H.qHighlightRanges?.qRanges?.length&&(te=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}(ee,H.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ne={alignItems:"center",display:"flex",fontSize:"8px"},re="rtl"===g,oe={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:re?8:q?0:void 0,paddingRight:q?0:re?8:0,justifyContent:Q},ae=0===e,ie=K&&m,le=!q&&K&&!m,se=!q&&x,ce=q||!x,ue=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ri[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:D,label:ee,qState:H.qState,currentIndex:U.currentIndex,maxIndex:U.max,showSearch:k}),de=!re&&"right"===Q||re&&"left"===Q;return t.createElement(ia,{className:Vo.barContainer,checkboxes:q,style:V,isGridCol:J,isGridMode:"grid"===B,dense:F,direction:g,sizes:A,frequencyMode:_,freqHitsValue:de,"data-testid":"listbox.item"},t.createElement(Ii,{role:"row","aria-label":ue,"aria-selected":K,"aria-setsize":U.max,"aria-rowindex":U.currentIndex,ref:$,container:!0,dataLayout:B,cellPaddingRight:ce,layoutOrder:j,itemPadding:z,gap:0,className:Jo(["value",...X]),classes:{root:Vo.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:W,onTouchStart:d,onTouchEnd:f,onContextMenu:Y,tabIndex:ae&&I.innerTabStops?0:-1,"data-n":H?.qElemNumber,direction:g},H?.qFrequency&&t.createElement(Ei,{qFrequency:H?.qFrequency,histogram:O,checkboxes:q,isSelected:K,frequencyMax:S}),t.createElement(Lt,{item:!0,style:oe,className:Jo([Vo.cell,Vo.selectedCell]),title:`${ee}`},te?t.createElement(fi,{onChange:i,labels:te,checkboxes:q,dense:F,showGray:R,color:"inherit",qElemNumber:H.qElemNumber,isSelected:K,cell:H,isGridCol:J,isSingleSelect:C,valueTextAlign:Q}):t.createElement(mi,{onChange:i,label:ee,color:"inherit",qElemNumber:H.qElemNumber,isSelected:K,dense:F,cell:H,isGridCol:J,showGray:R,isSingleSelect:C,checkboxes:q,valueTextAlign:Q})),b&&t.createElement(Si,{cell:H,checkboxes:q,dense:F,showGray:R}),se&&t.createElement(Lt,{item:!0,className:Vo.icon},ie&&t.createElement(tn,{style:ne,size:"small"}),le&&t.createElement(Wo,{style:ne,size:"small"}))))};var Ai=o(80411),Di=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ki(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Di(r)&&Di(o)))return!1;var r,o;return!0}const Mi=function(e,t){var n;void 0===t&&(t=ki);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 Fi="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Bi(e){cancelAnimationFrame(e.id)}function ji(e,t){var n=Fi(),r={id:requestAnimationFrame((function o(){Fi()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var zi=-1;function Gi(e){if(void 0===e&&(e=!1),-1===zi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),zi=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return zi}var Vi=null;function Ui(e){if(void 0===e&&(e=!1),null===Vi||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?Vi="positive-descending":(t.scrollLeft=1,Vi=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Vi}return Vi}var Zi=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function $i(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,y=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,yn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:yn(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=Mi((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=Mi((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=Mi((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(Ui()){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&&Bi(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=ji(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}vn(n,e),n.getDerivedStateFromProps=function(e,t){return Wi(e,t),y(e),null};var g=n.prototype;return g.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)},g.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,y=Gi();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 g=l(this.props,this._instanceProps),v=s(this.props,this._instanceProps)>p?y:0,b=g>d?y: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})},g.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()},g.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(Ui()){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()},g.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Bi(this._resetIsScrollingTimeoutId)},g.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?Zi:p,h=e.outerElementType,q=e.outerTagName,y=e.rowCount,g=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],L=[];if(o>0&&y)for(var w=R;w<=x;w++)for(var N=S;N<=O;N++)L.push((0,t.createElement)(n,{columnIndex:N,data:f,isScrolling:v?C:void 0,key:m({columnIndex:N,data:f,rowIndex:w}),rowIndex:w,style:this._getItemStyle(w,N)}));var _=l(this.props,this._instanceProps),T=s(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:qn({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(u||d||"div",{children:L,ref:c,style:{height:_,pointerEvents:C?"none":void 0,width:T}}))},g._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,y=h.scrollLeft,g=h.scrollTop,v=h.scrollUpdateWasRequested,b=h.verticalScrollDirection;this._callOnScroll(y,g,q,b,v)}},g._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]},g._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 Wi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Hi=function(e,t){return e};function Ki(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,yn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:yn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Mi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Mi((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=Mi((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(Ui()){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&&Bi(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=ji(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}vn(n,e),n.getDerivedStateFromProps=function(e,t){return Xi(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?Gi():0:s.scrollHeight>s.clientHeight?Gi():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(Ui()){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&&Bi(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?Hi:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,y=e.style,g=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:g?b:void 0,style:this._getItemStyle(x)}));var L=o(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:qn({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,t.createElement)(s||c||"div",{children:R,ref:l,style:{height:C?"100%":L,pointerEvents:b?"none":void 0,width:C?L:"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 Xi=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Yi=$i({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}}),Qi=Ki({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 Ji="#BBB",el="#f1f1f1",tl={styledScrollbars:"ListBox-styledScrollbars"},nl=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,rl=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,ol=(e,t,n,r)=>e===t*n+r+n;function al({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=nl(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=ol(i,c,s?o:r,l),p=!!l&&rl(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function il(){return il=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},il.apply(this,arguments)}const{StyledFixedSizeList:ll,StyledFixedSizeGrid:sl}=function(){const e=e=>({scrollbarColor:`${Ji} ${el}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:el},"&::-webkit-scrollbar-thumb":{backgroundColor:Ji,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Ai.Z)(Qi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${tl.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,Ai.Z)(Yi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${tl.styledScrollbars}`]:e(t)})))}}(),cl=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(n.text,n.font||"12px Source Sans Pro")),[n.text,n.font])};function ul(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}const dl=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,theme:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,{fontSize:m="12px",fontFamily:h="Source sans pro"}=l.listBox?.content||{},q=`${m} ${h}`,y=cl({text:ul(e),font:q}),g=cl({text:ul(5),font:q}),v=cl({text:ul(8),font:q}),b=a?g:0,C=i?20:0;let E=56+b+C;!i&&E>=Qo&&(E+=20);let S,O,I,R,x=y+18+b+C;!i&&x>=Qo&&(x+=20),x=Math.min(150,Math.max(x,E));const L="grid"===p;let w=f?20:L?32:29;L&&(w+=4);const N=n??8*w;if(c){let e=t;"row"===c?(S={overflowX:"hidden"},e+=8,({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:x,itemMinWidth:E}))):(S={overflowY:"hidden"},({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:N,columnAutoWidth:x,containerWidth:e,itemMinWidth:E})))}O=("singleColumn"===p?1:O)||1,R=("singleColumn"===p?o:R)||r;const _=s.dense?838e3:577e3;R=Math.min(R,_);const T=Math.floor(3355e4/I);O=Math.min(O,T)||1;const P=R*O;return{columnCount:O,columnWidth:I,rowCount:R,overflowStyling:S,itemHeight:w,listHeight:N,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,P),maxCount:{row:_,column:T},itemPadding:4,textWidth:y,freqMinWidth:g,freqMaxWidth:v}},fl=({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},[pl,ml]=He({});function hl(e){const t=`${e.id}`,[n]=pl();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function ql(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function yl(e){return e instanceof ql(e).Element||e instanceof Element}function gl(e){return e instanceof ql(e).HTMLElement||e instanceof HTMLElement}function vl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ql(e).ShadowRoot||e instanceof ShadowRoot)}var bl=Math.max,Cl=Math.min,El=Math.round;function Sl(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ol(){return!/^((?!chrome|android).)*safari/i.test(Sl())}function Il(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&gl(e)&&(o=e.offsetWidth>0&&El(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&El(r.height)/e.offsetHeight||1);var i=(yl(e)?ql(e):window).visualViewport,l=!Ol()&&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 Rl(e){var t=ql(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xl(e){return e?(e.nodeName||"").toLowerCase():null}function Ll(e){return((yl(e)?e.ownerDocument:e.document)||window.document).documentElement}function wl(e){return Il(Ll(e)).left+Rl(e).scrollLeft}function Nl(e){return ql(e).getComputedStyle(e)}function _l(e){var t=Nl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Tl(e,t,n){void 0===n&&(n=!1);var r,o,a=gl(t),i=gl(t)&&function(e){var t=e.getBoundingClientRect(),n=El(t.width)/e.offsetWidth||1,r=El(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Ll(t),s=Il(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==xl(t)||_l(l))&&(c=(r=t)!==ql(r)&&gl(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Rl(r)),gl(t)?((u=Il(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=wl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Pl(e){var t=Il(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 Al(e){return"html"===xl(e)?e:e.assignedSlot||e.parentNode||(vl(e)?e.host:null)||Ll(e)}function Dl(e){return["html","body","#document"].indexOf(xl(e))>=0?e.ownerDocument.body:gl(e)&&_l(e)?e:Dl(Al(e))}function kl(e,t){var n;void 0===t&&(t=[]);var r=Dl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=ql(r),i=o?[a].concat(a.visualViewport||[],_l(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(kl(Al(i)))}function Ml(e){return["table","td","th"].indexOf(xl(e))>=0}function Fl(e){return gl(e)&&"fixed"!==Nl(e).position?e.offsetParent:null}function Bl(e){for(var t=ql(e),n=Fl(e);n&&Ml(n)&&"static"===Nl(n).position;)n=Fl(n);return n&&("html"===xl(n)||"body"===xl(n)&&"static"===Nl(n).position)?t:n||function(e){var t=/firefox/i.test(Sl());if(/Trident/i.test(Sl())&&gl(e)&&"fixed"===Nl(e).position)return null;var n=Al(e);for(vl(n)&&(n=n.host);gl(n)&&["html","body"].indexOf(xl(n))<0;){var r=Nl(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 jl="top",zl="bottom",Gl="right",Vl="left",Ul="auto",Zl=[jl,zl,Gl,Vl],$l="start",Wl="end",Hl="viewport",Kl="popper",Xl=Zl.reduce((function(e,t){return e.concat([t+"-"+$l,t+"-"+Wl])}),[]),Yl=[].concat(Zl,[Ul]).reduce((function(e,t){return e.concat([t,t+"-"+$l,t+"-"+Wl])}),[]),Ql=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Jl(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 es={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){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 ns(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?es:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},es,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:yl(e)?kl(e):e.contextElement?kl(e.contextElement):[],popper:kl(t)};var i,c,f=function(e){var t=Jl(e);return Ql.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(ts(t,n)){l.rects={reference:Tl(t,Bl(n),"fixed"===l.options.strategy),popper:Pl(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(!ts(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 rs={passive:!0};function os(e){return e.split("-")[0]}function as(e){return e.split("-")[1]}function is(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ls(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?os(o):null,i=o?as(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case jl:t={x:l,y:n.y-r.height};break;case zl:t={x:l,y:n.y+n.height};break;case Gl:t={x:n.x+n.width,y:s};break;case Vl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?is(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case $l:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Wl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ss={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cs(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 y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=Vl,b=jl,C=window;if(c){var E=Bl(n),S="clientHeight",O="clientWidth";E===ql(n)&&"static"!==Nl(E=Ll(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===jl||(o===Vl||o===Gl)&&a===Wl)&&(b=zl,h-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,h*=s?1:-1),o!==Vl&&(o!==jl&&o!==zl||a!==Wl)||(v=Gl,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&&ss),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:El(n*o)/o||0,y:El(r*o)/o||0}}({x:p,y:h},ql(n)):{x:p,y:h};return p=x.x,h=x.y,s?Object.assign({},R,((I={})[b]=g?"0":"",I[v]=y?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",I)):Object.assign({},R,((t={})[b]=g?h+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var us={left:"right",right:"left",bottom:"top",top:"bottom"};function ds(e){return e.replace(/left|right|bottom|top/g,(function(e){return us[e]}))}var fs={start:"end",end:"start"};function ps(e){return e.replace(/start|end/g,(function(e){return fs[e]}))}function ms(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qs(e,t,n){return t===Hl?hs(function(e,t){var n=ql(e),r=Ll(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Ol();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+wl(e),y:s}}(e,n)):yl(t)?function(e,t){var n=Il(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):hs(function(e){var t,n=Ll(e),r=Rl(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=bl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=bl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+wl(e),s=-r.scrollTop;return"rtl"===Nl(o||n).direction&&(l+=bl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ll(e)))}function ys(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function gs(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function vs(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?Hl:c,d=n.elementContext,f=void 0===d?Kl:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,y=ys("number"!=typeof q?q:gs(q,Zl)),g=f===Kl?"reference":Kl,v=e.rects.popper,b=e.elements[m?g:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=kl(Al(e)),n=["absolute","fixed"].indexOf(Nl(e).position)>=0&&gl(e)?Bl(e):e;return yl(n)?t.filter((function(e){return yl(e)&&ms(e,n)&&"body"!==xl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=qs(e,n,r);return t.top=bl(o.top,t.top),t.right=Cl(o.right,t.right),t.bottom=Cl(o.bottom,t.bottom),t.left=bl(o.left,t.left),t}),qs(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}(yl(b)?b:b.contextElement||Ll(e.elements.popper),s,u,i),E=Il(e.elements.reference),S=ls({reference:E,element:v,strategy:"absolute",placement:o}),O=hs(Object.assign({},v,S)),I=f===Kl?O:E,R={top:C.top-I.top+y.top,bottom:I.bottom-C.bottom+y.bottom,left:C.left-I.left+y.left,right:I.right-C.right+y.right},x=e.modifiersData.offset;if(f===Kl&&x){var L=x[o];Object.keys(R).forEach((function(e){var t=[Gl,zl].indexOf(e)>=0?1:-1,n=[jl,zl].indexOf(e)>=0?"y":"x";R[e]+=L[n]*t}))}return R}function bs(e,t,n){return bl(e,Cl(t,n))}function Cs(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 Es(e){return[jl,Gl,zl,Vl].some((function(t){return e[t]>=0}))}var Ss=ns({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=ql(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,rs)})),l&&s.addEventListener("resize",n.update,rs),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rs)})),l&&s.removeEventListener("resize",n.update,rs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ls({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:os(t.placement),variation:as(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,cs(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,cs(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];gl(o)&&xl(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}),{});gl(r)&&xl(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=Yl.reduce((function(e,n){return e[n]=function(e,t,n){var r=os(e),o=[Vl,jl].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,[Vl,Gl].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,y=os(q),g=s||(y!==q&&m?function(e){if(os(e)===Ul)return[];var t=ds(e);return[ps(e),t,ps(t)]}(q):[ds(q)]),v=[q].concat(g).reduce((function(e,n){return e.concat(os(n)===Ul?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?Yl:s,u=as(r),d=u?l?Xl:Xl.filter((function(e){return as(e)===u})):Zl,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]=vs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[os(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=os(R),L=as(R)===$l,w=[jl,zl].indexOf(x)>=0,N=w?"width":"height",_=vs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=w?L?Gl:Vl:L?zl:jl;b[N]>C[N]&&(T=ds(T));var P=ds(T),A=[];if(a&&A.push(_[x]<=0),l&&A.push(_[T]<=0,_[P]<=0),A.every((function(e){return e}))){O=R,S=!1;break}E.set(R,A)}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=vs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),y=os(t.placement),g=as(t.placement),v=!g,b=is(y),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,L={x:0,y:0};if(E){if(a){var w,N="y"===b?jl:Vl,_="y"===b?zl:Gl,T="y"===b?"height":"width",P=E[b],A=P+q[N],D=P-q[_],k=p?-O[T]/2:0,M=g===$l?S[T]:O[T],F=g===$l?-O[T]:-S[T],B=t.elements.arrow,j=p&&B?Pl(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=z[N],V=z[_],U=bs(0,S[T],j[T]),Z=v?S[T]/2-k-U-G-R.mainAxis:M-U-G-R.mainAxis,$=v?-S[T]/2+k+U+V+R.mainAxis:F+U+V+R.mainAxis,W=t.elements.arrow&&Bl(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(w=null==x?void 0:x[b])?w:0,X=P+$-K,Y=bs(p?Cl(A,P+Z-K-H):A,P,p?bl(D,X):D);E[b]=Y,L[b]=Y-P}if(l){var Q,J="x"===b?jl:Vl,ee="x"===b?zl:Gl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[jl,Vl].indexOf(y),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=bs(e,t,n);return r>n?n:r}(le,te,se):bs(p?le:re,te,p?se:oe);E[C]=ce,L[C]=ce-te}t.modifiersData[r]=L}},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=os(n.placement),s=is(l),c=[Vl,Gl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return ys("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:gs(e,Zl))}(o.padding,n),d=Pl(a),f="y"===s?jl:Vl,p="y"===s?zl:Gl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Bl(a),y=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,g=m/2-h/2,v=u[f],b=y-d[c]-u[p],C=y/2-d[c]/2+g,E=bs(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)))&&ms(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=vs(t,{elementContext:"reference"}),l=vs(t,{altBoundary:!0}),s=Cs(i,r),c=Cs(l,o,a),u=Es(s),d=Es(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 Os(e){return(0,Pe.Z)("MuiPopper",e)}(0,Te.Z)("MuiPopper",["root"]);const Is=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Rs=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function xs(e){return"function"==typeof e?e():e}const Ls={},ws=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:p={},slots:m={},TransitionProps:h}=e,q=lr(e,Is),y=t.useRef(null),g=(0,sr.Z)(y,n),v=t.useRef(null),b=(0,sr.Z)(v,f),C=t.useRef(b);(0,Mr.Z)((()=>{C.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[S,O]=t.useState(E),[I,R]=t.useState(xs(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(xs(o))}),[o]),(0,Mr.Z)((()=>{if(!I||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Ss(I,y.current,ir({placement:E},d,{modifiers:e}));return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,l,s,c,d,E]);const x={placement:S};null!==h&&(x.TransitionProps=h);const L=(0,ht.Z)({root:["root"]},Jr(Os)),w=null!=(r=m.root)?r:"div",N=mr({elementType:w,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:L.root});return(0,he.jsx)(w,ir({},N,{children:"function"==typeof a?a(x):a}))})),Ns=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=Ls,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:y={}}=e,g=lr(e,Rs),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let C;if(a)C=a;else if(r){const e=xs(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,he.jsx)(Br,{disablePortal:l,container:C,children:(0,he.jsx)(ws,ir({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:h?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:y},g,{style:ir({position:"fixed",top:0,left:0,display:E},m),TransitionProps:S,children:o}))})})),_s=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ts=(0,qt.ZP)(Ns,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ps=t.forwardRef((function(e,t){var n;const r=(0,ge.Z)(),o=(0,yt.Z)({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:q,transition:y,slots:g,slotProps:v}=o,b=(0,ue.Z)(o,_s),C=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,E=(0,ce.Z)({anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:q,transition:y},b);return(0,he.jsx)(Ts,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:C},slotProps:null!=v?v:s},E,{ref:t}))}));var As=o(79673);function Ds(e){return(0,Pe.Z)("MuiTooltip",e)}const ks=(0,Te.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ms=["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"],Fs=(0,qt.ZP)(Ps,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,ce.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ks.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ks.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ks.arrow}`]:(0,ce.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${ks.arrow}`]:(0,ce.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Bs=(0,qt.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,nn.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,dn.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},{[`.${ks.popper}[data-popper-placement*="left"] &`]:(0,ce.Z)({transformOrigin:"right center"},t.isRtl?(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${ks.popper}[data-popper-placement*="right"] &`]:(0,ce.Z)({transformOrigin:"left center"},t.isRtl?(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${ks.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ks.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),js=(0,qt.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,dn.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let zs=!1,Gs=null,Vs={x:0,y:0};function Us(e,t){return n=>{t&&t(n),e(n)}}const Zs=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,y,g,v,b,C;const E=(0,yt.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:L=!1,disableHoverListener:w=!1,disableInteractive:N=!1,disableTouchListener:_=!1,enterDelay:T=100,enterNextDelay:P=0,enterTouchDelay:A=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:U={},slotProps:Z={},slots:$={},title:W,TransitionComponent:H=Pr,TransitionProps:K}=E,X=(0,ue.Z)(E,Ms),Y=se(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=N||D,ae=t.useRef(),ie=t.useRef(),le=t.useRef(),de=t.useRef(),[fe,pe]=(0,ya.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=fe;const qe=(0,As.Z)(k),ye=t.useRef(),ge=t.useCallback((()=>{void 0!==ye.current&&(document.body.style.WebkitUserSelect=ye.current,ye.current=void 0),clearTimeout(de.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(ie.current),clearTimeout(le.current),ge()}),[ge]);const ve=e=>{clearTimeout(Gs),zs=!0,pe(!0),j&&!me&&j(e)},be=(0,pn.Z)((e=>{clearTimeout(Gs),Gs=setTimeout((()=>{zs=!1}),800+M),pe(!1),B&&me&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),Ce=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(ie.current),clearTimeout(le.current),T||zs&&P?ie.current=setTimeout((()=>{ve(e)}),zs?P:T):ve(e))},Ee=e=>{clearTimeout(ie.current),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),M)},{isFocusVisibleRef:Se,onBlur:Oe,onFocus:Ie,ref:Re}=(0,mn.Z)(),[,xe]=t.useState(!1),Le=e=>{Oe(e),!1===Se.current&&(xe(!1),Ee(e))},we=e=>{J||ee(e.currentTarget),Ie(e),!0===Se.current&&(xe(!0),Ce(e))},Ne=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},_e=Ce,Te=Ee;t.useEffect((()=>{if(me)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||be(e)}}),[be,me]);const Pe=(0,fn.Z)(O.ref,Re,ee,n);W||0===W||(me=!1);const Ae=t.useRef(),De={},ke="string"==typeof W;x?(De.title=me||!ke||w?null:W,De["aria-describedby"]=me?qe:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=me&&!ke?qe:null);const Me=(0,ce.Z)({},De,X,O.props,{className:(0,st.Z)(X.className,O.props.className),onTouchStart:Ne,ref:Pe},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),Vs={x:e.clientX,y:e.clientY},Ae.current&&Ae.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{Ne(e),clearTimeout(le.current),clearTimeout(ae.current),ge(),ye.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",de.current=setTimeout((()=>{document.body.style.WebkitUserSelect=ye.current,Ce(e)}),A)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),ge(),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),F)}),w||(Me.onMouseOver=Us(_e,Me.onMouseOver),Me.onMouseLeave=Us(Te,Me.onMouseLeave),oe||(Fe.onMouseOver=_e,Fe.onMouseLeave=Te)),L||(Me.onFocus=Us(we,Me.onFocus),Me.onBlur=Us(Le,Me.onBlur),oe||(Fe.onFocus=we,Fe.onBlur=Le));const Be=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=U.popperOptions)&&e.modifiers&&(t=t.concat(U.popperOptions.modifiers)),(0,ce.Z)({},U.popperOptions,{modifiers:t})}),[te,U]),je=(0,ce.Z)({},E,{isRtl:Q,arrow:S,disableInteractive:oe,placement:G,PopperComponentProp:V,touch:re.current}),ze=(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,nn.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,ht.Z)(i,Ds,t)})(je),Ge=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Fs,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Pr,Ue=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Bs,Ze=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:js,$e=ur(Ge,(0,ce.Z)({},U,null!=(f=Z.popper)?f:R.popper,{className:(0,st.Z)(ze.popper,null==U?void 0:U.className,null==(p=null!=(m=Z.popper)?m:R.popper)?void 0:p.className)}),je),We=ur(Ve,(0,ce.Z)({},K,null!=(h=Z.transition)?h:R.transition),je),He=ur(Ue,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,st.Z)(ze.tooltip,null==(y=null!=(g=Z.tooltip)?g:R.tooltip)?void 0:y.className)}),je),Ke=ur(Ze,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,st.Z)(ze.arrow,null==(b=null!=(C=Z.arrow)?C:R.arrow)?void 0:b.className)}),je);return(0,he.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,he.jsx)(Ge,(0,ce.Z)({as:null!=V?V:Ps,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Vs.y,left:Vs.x,right:Vs.x,bottom:Vs.y,width:0,height:0})}:J,popperRef:Ae,open:!!J&&me,id:qe,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,he.jsx)(Ve,(0,ce.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,he.jsxs)(Ue,(0,ce.Z)({},He,{children:[W,S?(0,he.jsx)(Ze,(0,ce.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),$s=Zs,Ws=(0,qt.ZP)(un,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function Hs({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(We);return t.createElement($s,{title:o?a.get(n):""},t.createElement(Ws,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var Ks=o(50528);const Xs=(0,qt.ZP)(So)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),Ys=(0,qt.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),Qs=(0,qt.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Js=(0,qt.ZP)(Ks.Z)((()=>({fontSize:"14px"})));function ec({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(Xs,{left:l,style:{maxWidth:i}},t.createElement(Ys,null,t.createElement(Hs,{text:e,dense:r,width:s,tooltip:c})),t.createElement(Qs,{dense:r},a&&t.createElement(or,{"aria-label":"close",onClick:()=>n()},t.createElement(Js,null))))}const tc=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,nc=80;function rc({itemWidth:e,layout:t,frequencyMode:n}){const r=e>nc,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const oc=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`},ac=(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=oc(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},ic=100,lc=(0,qt.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function sc({model:e,app:n,constraints:r,theme:o,layout:a,selections:i,selectionState:l,direction:s,checkboxes:c,height:u,width:d,frequencyMode:f,update:p,fetchStart:m,postProcessPages:h,calculatePagesHeight:q=!1,keyboard:y={},showGray:g=!0,scrollState:v,selectDisabled:b=(()=>!1),keyScroll:C={state:{},reset:()=>{}},currentScrollIndex:E={set:()=>{}},renderedCallback:S,onCtrlF:O,showSearch:I,isModal:R}){const{translator:x}=(0,t.useContext)(We),[L,w]=(0,t.useState)(!1),N=!(!a||!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:_=c,histogram:T}=a??{},[P,A]=(0,t.useState)(""),D=(0,t.useRef)(null),k=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),M=(0,t.useRef)({pages:[]}),{frequencyMax:F,awaitingFrequencyMax:B}=ac(n,a),{isLoadingData:j,...z}=function({local:e,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)([]);let[f]=(0,t.useState)(0);const p=(t,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:t+u,stop:s+u});const p=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const n=e.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>f?n.start-f:0,qHeight:f,qLeft:0,qWidth:1},{qTop:n.start,qHeight:f,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),p?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(f=e),p)},pages:u,isLoading:s}}({local:k,loaderRef:D,model:e,fetchStart:m,scrollTimeout:0,postProcessPages:h,listData:M}),{getStoreValue:G,setStoreValue:V}=hl(e),U=(0,t.useCallback)(z.loadMoreItems,[a]),[Z,$]=(0,t.useState)({show:!1,dismissed:!1}),[W,H]=(0,t.useState)([]);z?.pages&&l.update({setPages:H,pages:z.pages,isSingleSelect:N,selectDisabled:b,layout:a});const K=a?.qListObject.qDimensionInfo.qCardinal;(z?.pages.length&&!B||0===K)&&S?.();const X=(0,t.useCallback)((e=>{if(!W?.length||!k.current.validPages)return!1;k.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=W.filter((e=>t(e)))[0];return n&&t(n)}),[a,W]),{interactionEvents:Y,select:Q}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document,loaderRef:a}){const i=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,t.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=()=>(e.setSelectableValuesUpdating(),zo({selections:n,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return jo(t)}(e.enginePages)),c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Zo(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Zo(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),f=(0,t.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),p=(0,t.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),m=(0,t.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),h=(0,t.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Uo)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Uo)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,t.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",p),()=>{o.removeEventListener("mouseup",p)})),[p]),(0,t.useEffect)((()=>{const t=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return n.on("clearItemStates",t),n.on("deactivated",t),n.on("cleared",r),()=>{n.removeListener("clearItemStates",t),n.removeListener("deactivated",t),n.removeListener("cleared",r)}}),[n]);const y={};return r?Object.assign(y,{onChange:u}):Object.assign(y,{onMouseUp:f,onMouseDown:d,onMouseEnter:m,onTouchStart:h,onTouchEnd:q}),{interactionEvents:y,select:(t=[],r=!1,o=void 0)=>{const a=!e.isSingleSelect&&Zo(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),zo({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:l,selections:i,checkboxes:_,doc:document,loaderRef:D}),{layoutOptions:J={}}=a||{};let ee=!0;J.dataLayout&&(ee="singleColumn"===J.dataLayout||"row"===J?.layoutOrder);const te="grid"===J?.dataLayout,ne=e=>{const t={...ee?{rowIndex:e}:{columnIndex:e}},n=te?t:e;D.current._listRef.scrollToItem(n)},re=()=>{if(k.current.queue=[],k.current.validPages=!1,D.current){D.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===C.state.scrollPosition;if(a&&a.qSelectionInfo.qInSelections||e)return void(e&&C.reset());k.current.dataOffset=0,ne(0)}};p&&p.call(null,re),(0,t.useEffect)((()=>{v&&!L&&D.current&&(D.current._listRef.scrollToItem(v.initScrollPos),w(!0))}),[D.current]),(0,t.useEffect)((()=>{re()}),[a,k.current.dataOffset]);let oe=ic;const ae="grid"!==J.dataLayout,ie=a?.qListObject.qSize?.qcy,le=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?fl({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:W,minimumBatchSize:oe,count:ie,calculatePagesHeight:q,layoutOptions:J,model:e});let se=rc({itemWidth:d,layout:a,frequencyMode:f});const ce=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(W),ue=dl({layout:a,width:d,height:u,listCount:le,count:ie,freqIsAllowed:se,checkboxes:_,theme:o});ue.columnWidth&&(se=rc({itemWidth:ue.columnWidth,layout:a,frequencyMode:f}));const{listCount:de}=ue;V("listCount",de);const fe=G("inputText");(0,t.useEffect)((()=>{if(fe){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(de),t=x.get(e,[de]);A(t)}}),[fe,de]);const pe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=tc(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:ee,sizes:ue,layout:a,offset:k.current.dataOffset});k.current.dataOffset=n,r&&l.triggerStateChanged(),ne(t)};(0,t.useEffect)((()=>{const e=C.state;e.up?ne(E.state.start-e.up):e.down?ne(E.state.stop+e.down):e.scrollPosition&&pe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&C.reset()}),[C.state.up,C.state.down,C.state.scrollPosition]);const{textAlign:me}=a?.qListObject.qDimensionInfo||{},[he,qe]=(0,t.useState)({first:!1,last:!1}),{List:ye,Grid:ge}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:m,textAlign:h,selections:q,keyboard:y,showGray:g,scrollState:v,direction:b,sizes:C,listCount:E,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:L,freqIsAllowed:w,translator:N,showSearch:_,isModal:T}){const{layoutOptions:P={}}=e||{},{columnWidth:A,listHeight:D,itemHeight:k,rowCount:M,columnCount:F}=C||{},B=("grid"===P.dataLayout?A:n)>Qo,j={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:tl.styledScrollbars},z=e?.qListObject.qDimensionInfo.qLocked,G={isLocked:z,column:!a,pages:i,...z||l()?{}:s,checkboxes:r,layoutOptions:P,deducedFrequencyMode:c,freqIsAllowed:w,isSingleSelect:d,textAlign:h,sizes:C,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:m},frequencyMax:L,histogram:u,keyboard:y,showGray:g,showTick:B,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:N,showSearch:_,isModal:T};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(ll,il({},j,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:D,width:n,itemCount:E,itemData:{...G,listCount:E},itemSize:k,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),al({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:F,rowCount:M,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Pi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=P||{},c=Math.min(D,M*k+l);return o.current.listRef=a,t.createElement(sl,il({},j,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:F,columnWidth:A,rowCount:M,rowHeight:k,style:{...i},itemData:{...G,column:void 0,columnCount:F,rowCount:M},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:M,columnCount:F});al({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:F,rowCount:M,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Pi)}}}({direction:s,layout:a,height:u,width:d,checkboxes:_,deducedFrequencyMode:ce,histogram:T,keyboard:y,showGray:g,interactionEvents:Y,select:Q,selectAll:()=>{l.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:O,textAlign:me,isVertical:ae,pages:W,selectDisabled:b,isSingleSelect:N,selections:i,scrollState:v,local:k,sizes:ue,listCount:de,overflowDisclaimer:{state:Z,set:e=>$((t=>({...t,show:e})))},setScrollPosition:pe,focusListItems:{first:he.first,setFirst:e=>qe((t=>({...t,first:e}))),last:he.last,setLast:e=>qe((t=>({...t,last:e})))},setCurrentScrollIndex:E.set,constraints:r,frequencyMax:F,freqIsAllowed:se,translator:x,showSearch:I,isModal:R}),{columnWidth:ve,listHeight:be,itemHeight:Ce}=ue||{};return ae||(oe=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:d,columnWidth:ve,listHeight:be,itemHeight:Ce})),t.createElement(lc,null,t.createElement(xi,{className:"screenReaderOnly",layout:a}),t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},P),!de&&K>0&&t.createElement(Hs,{width:d,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(Fo,{isItemLoaded:X,itemCount:de||1,loadMoreItems:U.with({minimumBatchSize:oe}),threshold:0,minimumBatchSize:oe,ref:D,role:"grid"},ae?ye:ge),Z.show&&!Z.dismissed&&t.createElement(ec,{text:"Listbox.ItemsOverflow",dismiss:()=>$((e=>({...e,dismissed:!0}))),parentWidth:D?.current?._listRef?.props?.width,dense:J?.dense}))}const cc=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"}}]}),uc=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"}}]}),dc=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"}}]}),fc=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"}}]}),pc=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:cc,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:dc,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:uc,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:fc,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function mc(e){return(0,Pe.Z)("MuiDivider",e)}const hc=(0,Te.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),qc=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],yc=(0,qt.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,ce.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,dn.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,ce.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,ce.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),gc=(0,qt.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),vc=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=(0,ue.Z)(n,qc),m=(0,ce.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,ht.Z)(c,mc,r)})(m);return(0,he.jsx)(yc,(0,ce.Z)({as:i,className:(0,st.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,he.jsx)(gc,{className:h.wrapper,ownerState:m,children:o}):null}))})),bc=vc,Cc=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 Ec(e){const t=se(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const Sc={className:"njs-cell-action"},Oc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=Ec(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction||n.action,f=d?e=>["Enter"].includes(e.key)&&d():null,p=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,m=`actions-toolbar-${n.key}`;return t.createElement(or,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[Sc.className,m].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":m},c&&Jt(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Ic=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"}}]}),Rc=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"}}]}),xc=e=>Jt(Rc(e)),Lc=t.createContext({});var wc=o(5429);function Nc(e){return(0,Pe.Z)("MuiListItemIcon",e)}const _c=(0,Te.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Tc=(0,Te.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Pc(e){return(0,Pe.Z)("MuiMenuItem",e)}const Ac=(0,Te.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Dc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],kc=(0,qt.ZP)(Qn,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ac.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ac.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ac.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dn.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,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ac.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ac.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${hc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${hc.inset}`]:{marginLeft:52},[`& .${Tc.root}`]:{marginTop:0,marginBottom:0},[`& .${Tc.inset}`]:{paddingLeft:36},[`& .${_c.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,ce.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${_c.root} svg`]:{fontSize:"1.25rem"}})))),Mc=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,p=(0,ue.Z)(r,Dc),m=t.useContext(Lc),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,wc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const y=(0,ce.Z)({},r,{dense:h.dense,divider:l,disableGutters:s}),g=(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,ht.Z)(l,Pc,i);return(0,ce.Z)({},i,s)})(r),v=(0,fn.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,he.jsx)(Lc.Provider,{value:h,children:(0,he.jsx)(kc,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,st.Z)(g.focusVisible,c),className:(0,st.Z)(g.root,f)},p,{ownerState:y,classes:g}))})})),Fc=Mc,Bc=["className"],jc=(0,qt.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,ce.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),zc=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Bc),i=t.useContext(Lc),l=(0,ce.Z)({},r,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,ht.Z)(r,Nc,n)})(l);return(0,he.jsx)(jc,(0,ce.Z)({className:(0,st.Z)(s.root,o),ownerState:l,ref:n},a))})),Gc=zc;function Vc(e){return(0,Pe.Z)("MuiList",e)}o(5356),(0,Te.Z)("MuiList",["root","padding","dense","subheader"]);const Uc=["children","className","component","dense","disablePadding","subheader"],Zc=(0,qt.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,ce.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),$c=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,ue.Z)(r,Uc),d=t.useMemo((()=>({dense:l})),[l]),f=(0,ce.Z)({},r,{component:i,dense:l,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,a={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,ht.Z)(a,Vc,t)})(f);return(0,he.jsx)(Lc.Provider,{value:d,children:(0,he.jsxs)(Zc,(0,ce.Z)({as:i,className:(0,st.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Wc=$c,Hc=zr,Kc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Xc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Yc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Qc(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 Jc(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")&&Qc(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const eu=t.forwardRef((function(e,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=e,f=(0,ue.Z)(e,Kc),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,wc.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=`${Hc((0,qr.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,fn.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===n&&(q+=1,q>=i.length&&(q=-1))}));const y=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,he.jsx)(Wc,(0,ce.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,qr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Jc(t,r,c,s,Xc);else if("ArrowUp"===n)e.preventDefault(),Jc(t,r,c,s,Yc);else if("Home"===n)e.preventDefault(),Jc(t,null,c,s,Xc);else if("End"===n)e.preventDefault(),Jc(t,null,c,s,Yc);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&&Qc(r,o);o.previousKeyMatched&&(l||Jc(t,r,!1,s,Xc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:y}))}));function tu(){return tu=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},tu.apply(this,arguments)}const nu="More-icon",ru=(0,qt.ZP)(Do)((({theme:e})=>({pointerEvents:"none",[`& .${nu}`]:{color:e.palette.text.primary}})));function ou({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=Ec(e);return o?null:t.createElement(Fc,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Gc,{className:nu},Jt(e.getSvgIconShape())),t.createElement(un,{noWrap:!0},e.label))}const au=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>{const s=e.length>0,c=e.findIndex((e=>!e.disabled));return s&&t.createElement(ru,tu({},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(eu,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(ou,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),iu="ActionsToolbar",lu={item:`${iu}-item`,itemSpacing:`${iu}-itemSpacing`},su=(0,qt.ZP)(Do)((({theme:e})=>({[`& .${lu.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),cu=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],addAnchor:o=!1,isRtl:a=!1},i)=>r.length>0?t.createElement(Lt,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,r)=>t.createElement(Lt,{item:!0,key:e.key,className:`${lu.itemSpacing} ${lu.item}`},t.createElement(Oc,{ariaExpanded:n,key:e.key,item:e,ref:0===r?i:null,addAnchor:o}))))):null)),uu={pointerEvents:"none"},du={vertical:"bottom",horizontal:"right"},fu=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)(We);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:Rc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Ic},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:$o}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(We),[p,m]=(0,t.useState)(!1),h={vertical:12,horizontal:(i.anchorEl?.clientWidth??0)-7},q=(0,t.useRef)(),y=(0,t.useRef)(),g=se(),v=(0,t.useMemo)((()=>({margin:g.spacing(.5,0)}))),b=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]},C=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case wi.ARROW_LEFT:case wi.ARROW_DOWN:case wi.ARROW_RIGHT:case wi.ARROW_UP:if(a.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(a);(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})([wi.ARROW_LEFT,wi.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case wi.SPACE:o.preventDefault();break;case wi.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case wi.ESCAPE:r&&(r.onCancel(),r.api.cancel(),o.preventDefault(),o.stopPropagation())}}}({keyboardNavigation:f,focusHandler:l,getEnabledButton:b,selections:o})),[f,l,b,o]);(0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=b(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=b(!0);e&&e.focus()})))}),[]);let E=a.enabled,S=a.actions;const O=a.alignTo||y,I=n.filter((e=>!e.hidden));if(I.length>r){const e=I.splice(-(I.length-r)-1);E=!0,S=[...e,...a.actions]}if(!o.show&&0===I.length)return null;const R={key:"more",label:d.get("Menu.More"),getSvgIconShape:Cc,hidden:!1,active:p,enabled:()=>E,action:()=>m(!p)},x=I.length>0,L=S.length>0,w=x&&o.show||L&&o.show,N="rtl"===c,_=t.createElement(Lt,{ref:q,onKeyDown:C,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:N?"row-reverse":"row"}},x&&t.createElement(cu,{actions:I}),L&&t.createElement(cu,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:p,actions:[R],addAnchor:!0}),w&&t.createElement(Lt,{item:!0,className:lu.itemSpacing,style:v},t.createElement(bc,{orientation:"vertical"})),o.show&&t.createElement(cu,{className:"actions-toolbar-default-actions",actions:u,isRtl:N}),p&&t.createElement(au,{show:p,actions:S,alignTo:O,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(su,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:h,transformOrigin:du,hideBackdrop:!0,style:uu,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.5,.25)}}},_):e&&_};function pu(e){return(0,Pe.Z)("MuiInputAdornment",e)}const mu=(0,Te.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var hu;const qu=["children","className","component","disablePointerEvents","disableTypography","position","variant"],yu=(0,qt.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,nn.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${mu.positionStart}&:not(.${mu.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),gu=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u}=r,d=(0,ue.Z)(r,qu),f=sa()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const m=(0,ce.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,nn.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,nn.Z)(a)}`]};return(0,ht.Z)(l,pu,t)})(m);return(0,he.jsx)(la.Provider,{value:null,children:(0,he.jsx)(yu,(0,ce.Z)({as:i,ownerState:m,className:(0,st.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,he.jsxs)(t.Fragment,{children:["start"===c?hu||(hu=(0,he.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,he.jsx)(un,{color:"text.secondary",children:o})}))})})),vu=gu;var bu;const Cu=["children","classes","className","label","notched"],Eu=(0,qt.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%"}),Su=(0,qt.ZP)("legend")((({ownerState:e,theme:t})=>(0,ce.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,ce.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Ou(e){return(0,Pe.Z)("MuiInputBase",e)}const Iu=(0,Te.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function Ru(e){return(0,Pe.Z)("MuiOutlinedInput",e)}const xu=(0,ce.Z)({},Iu,(0,Te.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Lu=o(89274),wu=o(59743);const Nu=["onChange","maxRows","minRows","style","value"];function _u(e){return parseInt(e,10)||0}const Tu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Pu(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Au=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=lr(e,Nu),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,sr.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,jr.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=_u(n.paddingBottom)+_u(n.paddingTop),s=_u(n.borderBottomWidth)+_u(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]),y=(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},g=t.useCallback((()=>{const e=q();Pu(e)||h((t=>y(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,wu.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();Pu(e)||lt.flushSync((()=>{h((t=>y(t,e)))}))})()}));let t;const n=u.current,r=(0,jr.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,Mr.Z)((()=>{g()})),t.useEffect((()=>{p.current=0}),[l]),(0,he.jsxs)(t.Fragment,{children:[(0,he.jsx)("textarea",ir({value:l,onChange:e=>{p.current=0,c||g(),r&&r(e)},ref:d,rows:a,style:ir({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,he.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:ir({},Tu,i,{padding:0})})]})}));function Du(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,he.jsx)(Nn,{styles:r})}const ku=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,he.jsx)(Du,{styles:o})},Mu=function(e){return(0,he.jsx)(ku,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function Fu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Bu=["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"],ju=(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,nn.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},zu=(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]},Gu=(0,qt.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ju})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Iu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,ce.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Vu=(0,qt.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:zu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,ce.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,ce.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${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"})})),Uu=(0,he.jsx)(Mu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Zu=t.forwardRef((function(e,n){var r;const o=(0,yt.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:y="input",inputProps:g={},inputRef:v,maxRows:b,minRows:C,multiline:E=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:L,onKeyUp:w,placeholder:N,readOnly:_,renderSuffix:T,rows:P,slotProps:A={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Bu),j=null!=g.value?g.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),U=(0,fn.Z)(G,v,g.ref,V),[Z,$]=t.useState(!1),W=sa(),H=da({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:Z,t.useEffect((()=>{!W&&f&&Z&&($(!1),O&&O())}),[W,f,Z,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(Fu(e.value)&&""!==e.value||t&&Fu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,wc.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=y,J=g;E&&"input"===Q&&(J=P?(0,ce.Z)({type:void 0,minRows:P,maxRows:P},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:C},J),Q=Au),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,ce.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,nn.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,ht.Z)(h,Ou,t)})(ee),ne=D.root||c.Root||Gu,re=A.root||u.root||{},oe=D.input||c.Input||Vu;return J=(0,ce.Z)({},J,null!=(r=A.input)?r:u.input),(0,he.jsxs)(t.Fragment,{children:[!p&&Uu,(0,he.jsxs)(ne,(0,ce.Z)({},re,!cr(ne)&&{ownerState:(0,ce.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),R&&!H.disabled&&R(e)}},B,{className:(0,st.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,he.jsx)(la.Provider,{value:null,children:(0,he.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:N,readOnly:_,required:H.required,rows:P,value:j,onKeyDown:L,onKeyUp:w,type:M},J,!cr(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:U,className:(0,st.Z)(te.input,J.className,_&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),g.onBlur&&g.onBlur(e),W&&W.onBlur?W.onBlur(e):$(!1)},onChange:(e,...t)=>{if(!z){const t=e.target||G.current;if(null==t)throw new Error((0,Lu.Z)(1));Y({value:t.value})}g.onChange&&g.onChange(e,...t),I&&I(e,...t)},onFocus:e=>{H.disabled?e.stopPropagation():(x&&x(e),g.onFocus&&g.onFocus(e),W&&W.onFocus?W.onFocus(e):$(!0))}}))}),m,T?T((0,ce.Z)({},H,{startAdornment:k})):null]}))]})})),$u=Zu,Wu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Hu=(0,qt.ZP)(Gu,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:ju})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,ce.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${xu.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${xu.focused} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${xu.error} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${xu.disabled} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,ce.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Ku=(0,qt.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Cu),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,he.jsx)(Eu,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,he.jsx)(Su,{ownerState:i,children:a?(0,he.jsx)("span",{children:n}):bu||(bu=(0,he.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}})),Xu=(0,qt.ZP)(Vu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:zu})((({theme:e,ownerState:t})=>(0,ce.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Yu=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,yt.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,y=(0,ue.Z)(s,Wu),g=(e=>{const{classes:t}=e,n=(0,ht.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ru,t);return(0,ce.Z)({},t,n)})(s),v=sa(),b=da({props:s,muiFormControl:v,states:["required"]}),C=(0,ce.Z)({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:q}),E=null!=(r=null!=(o=h.root)?o:c.Root)?r:Hu,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:Xu;return(0,he.jsx)($u,(0,ce.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,he.jsx)(Ku,{ownerState:C,className:g.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,he.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},y,{classes:(0,ce.Z)({},g,{notchedOutline:null})}))}));Yu.muiName="Input";const Qu=Yu,Ju=e=>Jt((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)),ed="/qListObjectDef",td="**",nd=(0,qt.ZP)(vu)((({theme:e})=>({color:e.listBox?.content?.color}))),rd=(0,qt.ZP)(Qu)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function od({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)(We),[p,m]=(0,t.useState)(""),[h,q]=(0,t.useState)(!1),y=(0,t.useRef)(),g=se(),{getStoreValue:v,setStoreValue:b}=hl(r),C="rtl"===u,E=C?"right":"left",S=async()=>{if(e.isModal())try{await r.abortListObjectSearch(ed)}finally{m("")}};(0,t.useEffect)((()=>{i||S()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",S),()=>{e.removeListener&&e.removeListener("deactivated",S)})),[]),(0,t.useEffect)((()=>{if(h&&y.current){const e=p.length-1;y.current.setSelectionRange(e,e),q(!1)}}),[h,y.current]),(0,t.useEffect)((()=>{b("inputText",p)}),[p]);function O(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(rd,{startAdornment:t.createElement(nd,{position:"start"},t.createElement(Ju,{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:`${Yo}px`},a&&{fontSize:12,paddingLeft:g.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:C?"row-reverse":"row"}],inputRef:y,size:"small",fullWidth:!0,placeholder:f.get("Listbox.Search"),value:p,onFocus:()=>{s&&(m(td),q(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(ed,e.target.value):S()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(ed,p)&&p.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(ed,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":O(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(O(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),O(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:`${E}`},"data-testid":"search-input-field","aria-label":f.get("ScreenReader.SearchFieldLabel")}}):null}function ad(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const id=({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 ad(i),i},ld=({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}};function sd(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=rt(e),[l]=Ht(n),s=n?n.id:null,[c]=Ye(),[u]=Je(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=id({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}=ld({elements:a,objectSelections:f,options:o});return f.addListener("activated",e),f.addListener("deactivated",t),()=>{f.isActive()&&f.confirm(),f.removeListener("activated",e),f.removeListener("deactivated",t)}}),[f]),(0,t.useEffect)((()=>{f&&f.setLayout(l)}),[f,l]),[f]}function cd(){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,!!Bo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return jo(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 ud=(e,t,n=void 0)=>e?.[t]??n;function dd({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=se(),h=(0,t.useRef)(),[q]=Vt({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),y=(0,t.useCallback)((()=>{q.lock("/qListObjectDef")}),[q]),g=(0,t.useCallback)((()=>{q.unlock("/qListObjectDef")}),[q]),{translator:v}=(0,t.useContext)(We),b=(0,t.useRef)(),C=(0,t.useRef)(),[E]=sd(i,q,C),[S]=Ht(q),[O]=(0,t.useState)((()=>cd()));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=pc({layout:S,model:q,translator:v,selectionState:O}),L=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return ud(t,"qSelected",0)+ud(t,"qSelectedExcluded",0)+ud(t,"qLocked",0)+ud(t,"qLockedExcluded",0)>0}(S);return t.createElement(Do,{open:d,onClose:R,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Lt,{container:!0,direction:"column",gap:0,ref:C},t.createElement(Lt,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Lt,{item:!0},I?t.createElement(or,{onClick:g,disabled:!I,size:"large"},t.createElement(tn,{title:v.get("Listbox.Unlock")})):t.createElement(or,{onClick:y,disabled:!L,size:"large"},t.createElement(ar,{title:v.get("Listbox.Lock")}))),t.createElement(Lt,{item:!0,xs:!0}),t.createElement(Lt,{item:!0},t.createElement(fu,{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(Lt,{item:!0,xs:!0},t.createElement("div",{ref:b}),t.createElement(Lt,{item:!0,ref:h},t.createElement(od,{visible:!0,model:q,listCount:f,selections:E,selectionState:O,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(sc,{model:q,app:i,layout:S,selections:E,selectionState:O,direction:"ltr",onSetListCount:e=>p(e),onCtrlF:()=>{const e=h.current.querySelector("input");e?.focus()}}))))}function fd({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(We),s=a||(0,t.useRef)(),c=se(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const 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,y=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/p.qTotal,g=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,v=0===g&&0===p.qTotal;let b="";p.qTotal===g&&p.qTotal>1?b=l.get("CurrentSelections.All"):g>1&&p.qTotal?b=l.get("CurrentSelections.Of",[g,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:y}];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(Lt,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(un,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(un,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(tn,null))):p.qOneAndOnlyOne||(S=t.createElement(Lt,{item:!0},t.createElement(or,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(en,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(Lt,{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(dd,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(dd,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const pd=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function md(e){return(0,Pe.Z)("MuiBadge",e)}const hd=(0,Te.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),qd=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],yd=(0,qt.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),gd=(0,qt.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,nn.Z)(n.anchorOrigin.vertical)}${(0,nn.Z)(n.anchorOrigin.horizontal)}${(0,nn.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),vd=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,yt.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:y=!1,max:g=99,badgeContent:v,slots:b,slotProps:C,showZero:E=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,qd),{badgeContent:I,invisible:R,max:x,displayValue:L}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=pd({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:g,invisible:y,badgeContent:v,showZero:E}),w=pd({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),N=R||null==I&&"dot"!==S,{color:_=q,overlap:T=h,anchorOrigin:P=c,variant:A=S}=N?w:s,D="dot"!==A?L:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:N,max:x,displayValue:D,showZero:E,anchorOrigin:P,color:_,overlap:T,variant:A}),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,nn.Z)(n.vertical)}${(0,nn.Z)(n.horizontal)}`,`anchorOrigin${(0,nn.Z)(n.vertical)}${(0,nn.Z)(n.horizontal)}${(0,nn.Z)(o)}`,`overlap${(0,nn.Z)(o)}`,"default"!==t&&`color${(0,nn.Z)(t)}`]};return(0,ht.Z)(l,md,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:yd,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:gd,j=null!=(i=null==C?void 0:C.root)?i:p.root,z=null!=(l=null==C?void 0:C.badge)?l:p.badge,G=mr({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,st.Z)(null==j?void 0:j.className,M.root,u)}),V=mr({elementType:B,externalSlotProps:z,ownerState:k,className:(0,st.Z)(M.badge,null==z?void 0:z.className)});return(0,he.jsxs)(F,(0,ce.Z)({},G,{children:[m,(0,he.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),bd=vd;var Cd=o(6842);function Ed(e){return(0,Pe.Z)("MuiListItem",e)}const Sd=(0,Te.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Od=(0,Te.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Id(e){return(0,Pe.Z)("MuiListItemSecondaryAction",e)}(0,Te.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const Rd=["className"],xd=(0,qt.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,ce.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ld=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,Rd),i=t.useContext(Lc),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,ht.Z)(r,Id,n)})(l);return(0,he.jsx)(xd,(0,ce.Z)({className:(0,st.Z)(s.root,o),ownerState:l,ref:n},a))}));Ld.muiName="ListItemSecondaryAction";const wd=Ld,Nd=["className"],_d=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Td=(0,qt.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,ce.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Od.root}`]:{paddingRight:48}},{[`&.${Sd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sd.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"}},[`&.${Sd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dn.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,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Pd=(0,qt.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ad=t.forwardRef((function(e,n){const r=(0,yt.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:y=!1,divider:g=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,Nd),I=(0,ue.Z)(r,_d),R=t.useContext(Lc),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),L=t.useRef(null);(0,wc.Z)((()=>{a&&L.current&&L.current.focus()}),[a]);const w=t.Children.toArray(l),N=w.length&&(0,Cd.Z)(w[w.length-1],["ListItemSecondaryAction"]),_=(0,ce.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:h,disableGutters:q,disablePadding:y,divider:g,hasSecondaryAction:N,selected:C}),T=(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,ht.Z)(d,Ed,r)})(_),P=(0,fn.Z)(L,n),A=S.root||u.Root||Td,D=E.root||d.root||{},k=(0,ce.Z)({className:(0,st.Z)(T.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,st.Z)(Sd.focusVisible,v),M=Qn),N?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,he.jsx)(Lc.Provider,{value:x,children:(0,he.jsxs)(Pd,(0,ce.Z)({as:f,className:(0,st.Z)(T.container,p),ref:P,ownerState:_},O,{children:[(0,he.jsx)(A,(0,ce.Z)({},D,!cr(A)&&{as:M,ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:w})),w.pop()]}))})):(0,he.jsx)(Lc.Provider,{value:x,children:(0,he.jsxs)(A,(0,ce.Z)({},D,{as:M,ref:P},!cr(A)&&{ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:[w,b&&(0,he.jsx)(wd,{children:b})]}))})})),Dd=Ad;var kd=o(13467);const Md=t.createContext({}),Fd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Bd=e=>(0,ce.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),jd=(0,qt.ZP)(Qn,{shouldForwardProp:e=>(0,qt.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,nn.Z)(n.color)}`],t[`size${(0,nn.Z)(n.size)}`],t[`${n.variant}Size${(0,nn.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,ce.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,ce.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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,dn.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,dn.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${De.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${De.disabled}`]:(0,ce.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,dn.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${De.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${De.disabled}`]:{boxShadow:"none"}})),zd=(0,qt.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,nn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Bd(e)))),Gd=(0,qt.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,nn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Bd(e)))),Vd=t.forwardRef((function(e,n){const r=t.useContext(Md),o=(0,kd.Z)(r,e),a=(0,yt.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:y,type:g,variant:v="text"}=a,b=(0,ue.Z)(a,Fd),C=(0,ce.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:g,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,nn.Z)(t)}`,`size${(0,nn.Z)(o)}`,`${a}Size${(0,nn.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,nn.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,nn.Z)(o)}`]},s=(0,ht.Z)(l,Ae,i);return(0,ce.Z)({},i,s)})(C),S=y&&(0,he.jsx)(zd,{className:E.startIcon,ownerState:C,children:y}),O=p&&(0,he.jsx)(Gd,{className:E.endIcon,ownerState:C,children:p});return(0,he.jsxs)(jd,(0,ce.Z)({ownerState:C,className:(0,st.Z)(r.className,E.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,st.Z)(E.focusVisible,m),ref:n,type:g},b,{classes:E,children:[S,i,O]}))})),Ud=Vd,Zd=e=>Jt((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)),$d={item:"MultiState-item"},Wd=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${$d.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Hd({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)(We),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Lt,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(bd,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(un,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Lt,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(Zd,null)))));const q=t.createElement(Wc,{dense:!0},t.createElement(Dd,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Ud,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(Dd,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(Ci,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(fd,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),y=t.createElement(Do,{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),g=r?y:t.createElement(Wd,{container:!0,gap:0,className:$d.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&y,l>-1&&t.createElement(dd,{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(dd,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):g}const Kd="More",Xd={item:`${Kd}-item`,badge:`${Kd}-badge`},Yd=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${Xd.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${Xd.badge}`]:{padding:e.spacing(0,1)}})));function Qd({items:e=[],api:n}){const r=se(),[o,a]=(0,t.useState)(!1),[i,l]=(0,t.useState)(-1),[s,c]=(0,t.useState)(null),u=(0,t.useRef)(),d=()=>{l(-1)};let f=null;return i>-1&&(f=e[i].states.length>1?t.createElement(Hd,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(fd,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Yd,{container:!0,gap:0,className:Xd.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Lt,{item:!0},t.createElement(Ci,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(un,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(Zd,null))),o&&t.createElement(Do,{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(Wc,{dense:!0},e.map(((e,r)=>t.createElement(Dd,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(Ci,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Hd,{field:e,api:n}):t.createElement(fd,{field:e,api:n}))))))),f)}const Jd=120,ef=72;function tf(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 nf({api:e,app:n}){const r=se(),[o]=Zt(n),[a]=Ht(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=tt(),[c,u]=Xt(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-ef,n=Math.floor(t/Jd);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&tf(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>tf(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(Lt,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Lt,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${Jd}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Hd,{field:n,api:e}):t.createElement(fd,{field:n,api:e})))),i.more.length>0&&t.createElement(Lt,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${ef}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Qd,{items:i.more,api:e})))}const rf=e=>Jt((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)),of=e=>Jt((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)),af=(e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)};function lf({api:e,app:n}){const{translator:r}=(0,t.useContext)(We),[o]=function(e){const[n]=Zt(e),[r]=Ht(n),[o]=Kt(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&af(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(Lt,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Lt,{item:!0},t.createElement(or,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(rf,null))),t.createElement(Lt,{item:!0},t.createElement(or,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(of,null))),t.createElement(Lt,{item:!0},t.createElement(or,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(xc,null))))}const sf=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function cf([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function uf(){return sf.map(cf).join("")}function df({app:e}){const n=se(),[r]=rt(e);return r?t.createElement(Lt,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Lt,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(lf,{api:r,app:e})),t.createElement(Lt,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(nf,{api:r,app:e}))):null}let ff;ff="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;let pf=null,mf=null;const hf=ff.clearTimeout,qf=ff.setTimeout,yf=ff.cancelAnimationFrame||ff.mozCancelAnimationFrame||ff.webkitCancelAnimationFrame,gf=ff.requestAnimationFrame||ff.mozRequestAnimationFrame||ff.webkitRequestAnimationFrame;null==yf||null==gf?(pf=hf,mf=function(e){return qf(e,20)}):(pf=function([e,t]){yf(e),hf(t)},mf=function(e){const t=gf((function(){hf(n),e()})),n=qf((function(){yf(t),e()}),20);return[t,n]});class vf extends t.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(a=l.paddingTop)&&void 0!==a?a:"0"),d=parseFloat(null!==(i=l.paddingBottom)&&void 0!==i?i:"0"),f=this._parentNode.getBoundingClientRect(),p=f.height-u-d,m=f.width-s-c,h=this._parentNode.offsetHeight-u-d,q=this._parentNode.offsetWidth-s-c;(e||this.state.height===h&&this.state.scaledHeight===p)&&(t||this.state.width===q&&this.state.scaledWidth===m)||(this.setState({height:h,width:q,scaledHeight:p,scaledWidth:m}),"function"==typeof n&&n({height:h,scaledHeight:p,scaledWidth:m,width:q}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&pf(this.__resizeRAF__),this.__resizeRAF__=mf((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=ff.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o=!1,disableWidth:a=!1,nonce:i,onResize:l,style:s={},tagName:c="div",...u}=this.props,{height:d,scaledHeight:f,scaledWidth:p,width:m}=this.state,h={overflow:"visible"},q={};let y=!1;return o||(0===d&&(y=!0),h.height=0,q.height=d,q.scaledHeight=f),a||(0===m&&(y=!0),h.width=0,q.width=m,q.scaledWidth=p),(0,t.createElement)(c,{ref:this._setRef,style:{...h,...s},...u},!y&&e(q))}}const bf=e=>Jt((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 Cf(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function Ef(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function Sf({keyboard:e,hovering:t,updateKeyScroll:n,containerRef:r,currentScrollIndex:o,isModal:a,constraints:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:o=!1}=t.nativeEvent,i=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=a();switch(n){case wi.TAB:if(s)o?Ti(l)||_i(l):_i(l)||Ti(l);else{if(!o)break;e.blur(!0)}i();break;case wi.ENTER:case wi.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case wi.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=Ef(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{Cf(r.current),n.classList.add("last-focused"),e.blur();const t=n.closest(".listbox-container");t.setAttribute("tabIndex",-1),t?.focus()}})(t)}},handleOnMouseEnter:()=>{(()=>{const e=i?.select||i?.active,t=a();return e||t})()||(t.current=!0)},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current)return;const{keyCode:r,ctrlKey:a=!1,shiftKey:i=!1}=e;switch(r){case wi.ARROW_UP:n({up:1});break;case wi.ARROW_DOWN:n({down:1});break;case wi.PAGE_UP:n({up:o.stop-o.start});break;case wi.PAGE_DOWN:n({down:o.stop-o.start});break;case wi.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case wi.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const Of=(0,qt.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function If({text:e}){const{translator:n}=(0,t.useContext)(We);return t.createElement(Of,null,n.get(e))}function Rf(){return Rf=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},Rf.apply(this,arguments)}const xf="ListBoxInline",Lf={listBoxHeader:`${xf}-listBoxHeader`,screenReaderOnly:`${xf}-screenReaderOnly`,listboxWrapper:`${xf}-listboxWrapper`},wf=(0,qt.ZP)(Lt,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${Lf.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Lf.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Lf.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}))),Nf=(0,qt.ZP)(un)((({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 _f({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:y=!0,scrollState:g,renderedCallback:v,toolbar:b=!0,isPopover:C=!1}=e,E=se(),S=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:O,keyboardNavigation:I,themeApi:R,constraints:x}=(0,t.useContext)(We);E.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")}}})(R);const L=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),w=(0,t.useRef)(),[N,_]=Xt(),[T,P]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[A,D]=(0,t.useState)(!1),[k,M]=(0,t.useState)(!1),F=(0,t.useRef)(!1),[B,j]=(0,t.useState)({down:0,up:0,scrollPosition:""}),z=e=>j((t=>({...t,...e}))),[G,V]=(0,t.useState)({start:0,stop:0}),[U]=rt(r),Z=(0,t.useRef)(null),[$]=(0,t.useState)((()=>cd())),W=function({containerRef:e,enabled:n}){const[r,o]=(0,t.useState)(!1);return{enabled:n,active:r,innerTabStops:!n||r,blur(t){if(!n)return;o(!1);const r=Ef(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Cf(e.current),t&&r&&(r.setAttribute("tabIndex",0),r.focus())},focus(){if(!n)return;o(!0);const t=e.current,r=t?.querySelector(".search input"),a=t?.querySelector(".value.last-focused"),i=t?.querySelector(".value.selector, .value"),l=t?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||a||i||l;s?.setAttribute("tabIndex",0),s?.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");e?.setAttribute("tabIndex",0),e?.focus()}}}({containerRef:w,enabled:I}),H=(0,t.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:r,appSelections:U})),[r,U]),K=n?.qListObject.qDimensionInfo.qError,X=K&&x.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[Y,Q]=(0,t.useState)(!1),{handleKeyDown:J,handleOnMouseEnter:ee,handleOnMouseLeave:te,globalKeyDown:ne}=(0,t.useMemo)((()=>Sf({keyboard:W,hovering:F,updateKeyScroll:z,containerRef:w,currentScrollIndex:G,app:r,appSelections:U,constraints:x,isModal:H})),[W,F,z,w,G,r,U,x,H]),re=b&&(""===n?.title||!1===n?.showTitle)&&!C,oe=b&&""!==n?.title&&!1!==n?.showTitle||C;(0,t.useEffect)((()=>(document.addEventListener("keydown",ne),()=>{document.removeEventListener("keydown",ne)})),[ne]),(0,t.useEffect)((()=>{const e=()=>{D(!0)},t=()=>{D(!1),"toggle"===l&&M(!1)};return C&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),D(C)),d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),D(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,C]),(0,t.useEffect)((()=>{if(T&&T.current&&(l&&s||"toggle"===l&&k)){const e=T.current.querySelector("input");e&&e.focus()}}),[T&&T.current,k,l,s]);const{wildCardSearch:ae,searchEnabled:ie,layoutOptions:le={}}=n??{},ce=!1!==ie&&"toggle"===l,ue=!0===n?.qListObject?.qDimensionInfo?.qLocked,de=ue||ce,fe="H"===n?.qListObject?.qDimensionInfo?.qGrouping,pe=de||fe,me=(de?28:0)+(fe?19:0),he="rtl"===o,qe=Yo-(de?7:0),ye=he?Yo-(pe?7:0):4;if((0,t.useEffect)((()=>{if(!Z.current||!_)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,headerPaddingLeft:r,headerPaddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:_,titleRef:Z,iconsWidth:me,headerPaddingLeft:qe,headerPaddingRight:ye});Q(e)}),[Z.current,_]),!u||!n||!O)return null;const ge=pc({layout:n,model:u,translator:O,selectionState:$,isDirectQuery:L}),ve=(!0===l||"toggle"===l&&k)&&!m()&&!1!==ie,be=le.dense??!1,Ce=oe?49+(ve?be?27:40:0)+(be?39:49):0,Ee=()=>{M(!k)},Se=()=>{if("toggle"===l)Ee();else{const e=T.current.querySelector("input");e?.focus()}},Oe=e=>function({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a,keyboard:i}){return{show:t&&!e,popover:{show:t&&e,anchorEl:n.current},more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:t,api:a,onConfirm:()=>{i?.focus()},onCancel:()=>{i?.focus()}}}}({isDetached:!C&&e,showToolbar:A,containerRef:w,isLocked:ue,listboxSelectionToolbarItems:ge,selections:d,keyboard:W}),Ie=ve&&"toggle"===l,Re="grid"===le?.dataLayout;let xe;Re&&(xe="row"===le.layoutOrder?"2px 4px":"2px 6px 2px 4px");const Le=x?.active?t.createElement(Ju,{title:O.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(or,{onClick:Ee,tabIndex:-1,title:O.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(Ju,{style:{fontSize:"12px"}})),we=m()?t.createElement(tn,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(or,{title:O.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:S,size:"large"},t.createElement(tn,{disableRipple:!0,style:{fontSize:"12px"}}));return K&&v?.(),t.createElement(t.Fragment,null,re&&t.createElement(fu,Rf({direction:o},Oe(!0))),t.createElement(wf,{className:"listbox-container",container:!0,tabIndex:W.enabled?-1:void 0,direction:"column",gap:0,containerPadding:xe,style:{height:"100%",minHeight:`${Ce}px`,flexFlow:"column nowrap"},onKeyDown:J,onMouseEnter:ee,onMouseLeave:te,ref:e=>{w.current=e,N(e)},isGridMode:Re},oe&&t.createElement(Lt,{item:!0,container:!0,minHeight:32,flexDirection:he?"row-reverse":"row",marginY:1,paddingLeft:`${qe}px`,paddingRight:`${ye}px`,wrap:"nowrap"},pe&&t.createElement(Lt,{item:!0,container:!0,alignItems:"center",width:me},ue?we:ce&&Le,fe&&t.createElement(bf,{tabIndex:-1,title:O.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Lt,{item:!0,xs:!0,minWidth:0,justifyContent:he?"flex-end":"flex-start",className:Lf.listBoxHeader},t.createElement(Nf,{variant:"h6",noWrap:!0,ref:Z,title:n.title},n.title)),t.createElement(Lt,{item:!0},t.createElement(fu,Rf({direction:o},Oe(Y))))),t.createElement(Lt,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":O.get("Listbox.ResultFilterLabel")},t.createElement(Lt,{item:!0,ref:P},t.createElement("div",{className:Lf.screenReaderOnly},O.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(od,{selections:d,selectionState:$,model:u,dense:be,keyboard:W,visible:ve,search:l,autoFocus:Ie,wildCardSearch:ae,searchEnabled:ie,direction:o,hide:ce&&Ee})),t.createElement(Lt,{item:!0,xs:!0,className:Lf.listboxWrapper},t.createElement("div",{className:Lf.screenReaderOnly},O.get("Listbox.ScreenReaderInstructions")),K?t.createElement(If,{text:X}):t.createElement(vf,null,(({height:e,width:l})=>t.createElement(sc,{model:u,app:r,theme:E,constraints:x,layout:n,selections:d,selectionState:$,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:y,scrollState:g,keyScroll:{state:B,reset:()=>j({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:G,set:V},renderedCallback:v,onCtrlF:Se,isModal:H})))))))}const Tf=t.memo(_f),Pf=function({options:e={}}){const{model:n}=e,[r]=Ht(n);return t.createElement(Tf,{options:e,layout:r})},Af={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function Df(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const kf=(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 Mf({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i});s||Object.assign(i,{frequencyMode:Df(i.frequencyMode)});const[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=zt(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;let{histogram:m=!1,frequencyMode:h="N"}=o;a&&a.failedToFetchFieldDef&&(m=!1,h="N"),(0,t.useEffect)((()=>{const t=m||"N"!==h;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:q,checkboxes:y,listLayout:g,properties:v={}}=o,b={dense:q};"horizontal"===g&&(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=uf());const E=G()(!0,{},Af,{qInfo:{qId:C.current},qListObjectDef:{qStateName:r,qFrequencyMode:m&&"N"===h?"V":h},histogram:m,checkboxes:y,layoutOptions:b,title:p});let S;if(G()(!0,E,v),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==h&&m)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:oc(e)}}const[O]=Vt(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:sd(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(Pf,{options:h}):null}const Ff={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Bf({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(dd,{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 jf(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function zf(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 Gf=e=>({qDef:{qFieldDefs:[e]}}),Vf=e=>({qDef:{qDef:e}});function Uf({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?Gf(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||uf(),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),jf(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 zf(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Vf(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||uf(),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),jf(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];zf(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}const Zf=e=>({qDef:{qFieldDefs:[e]}});function $f({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?Zf(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||uf(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Wf=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Af,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Af,e):G()(!0,{},Af,{qListObjectDef:e}),t};function Hf({children:e,halo:t}){return{async addDimension(n){const r=Wf(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||uf(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}}}function Kf(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Xf({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?$f:e.match("/qChildListDef")?Hf:Uf}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===Kf(t)?await u.addMeasure(t):await u.addDimension(t)}}const Yf=(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},Qf=(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]},Jf=e=>0===Object.keys(e).length&&e.constructor===Object,ep=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},tp=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},np=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},rp=2**53-1;function op(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function ap(e,t){const n=G()(!0,{},t,e);return Yf(n,"qOtherTotalSpec.qOtherCounted")||Qf(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Yf(n,"qOtherTotalSpec.qOtherLimit")||Qf(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function ip(e,t){return G()(!0,{},t,e)}function lp(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const sp={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Yf(e,t)&&Qf(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:op,importCommonProperties:function(e,t,n){const r="masterobject"===Yf(t,"properties.qInfo.qType")?"masterobject":Yf(n,"qInfo.qType");Qf(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:ap,createDefaultMeasure:ip,resolveValue:lp,getHypercubePath:function(e){const t=Yf(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?(tp(t.qInterColumnSortOrder,o),++o):(--o,np(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=G()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?Qf(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||op(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=G()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=lp(o.max,n.dimensions.length,rp),i=lp(o.min,n.dimensions.length,0);return{maxDimensions:lp(r.max,a,rp),minDimensions:lp(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(ap(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(ap(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(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(ip(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(ip(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Yf(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=Yf(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},cp={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=Yf(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();ep(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&&(sp.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Jf(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=sp.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Yf(t,o||"").qHyperCubeDef,s=Yf(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=sp.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=sp.getDefaultDimension(),defaultMeasure:m=sp.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,sp.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&sp.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),sp.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),sp.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),sp.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),sp.copyPropertyIfExist("qMaxStackedCells",l,s),sp.copyPropertyIfExist("qNoOfLeftDims",l,s),sp.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),sp.copyPropertyOrSetDefault("qMode",l,s,"S"),sp.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),sp.copyPropertyOrSetDefault("qSortbyYValue",l,s),sp.copyPropertyOrSetDefault("qIndentMode",l,s),sp.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),sp.importCommonProperties(i,e,t),sp.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),sp.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},up=e=>Yf(e,"data.targets.0.propertyPath"),dp=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 cp.exportProperties})(up(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 cp.importProperties})(up(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:sp.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...Yf(s,"properties.initial",{})},dataDefinition:Yf(s,"data.targets.0.",{}),hypercubePath:sp.getHypercubePath(s)})},fp={hypercube:cp};function pp(e){return(0,Pe.Z)("MuiIcon",e)}(0,Te.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mp=["baseClassName","className","color","component","fontSize"],hp=(0,qt.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],t[`fontSize${(0,nn.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]}))),qp=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,ue.Z)(n,mp),c=(0,ce.Z)({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,nn.Z)(t)}`,`fontSize${(0,nn.Z)(n)}`]};return(0,ht.Z)(o,pp,r)})(c);return(0,he.jsx)(hp,(0,ce.Z)({as:i,className:(0,st.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));qp.muiName="Icon";const yp=qp,gp=e=>Jt((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 vp({d:e}){const n=se();let r="inherit",o=n.palette.success.main;e.missing?o=n.palette.warning.main:e.error&&(r="error",o=n.palette.error.main);const a={color:o},i=t.createElement(un,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(yp,null,e.missing||e.error?t.createElement(gp,{style:a}):t.createElement(Wo,{style:a})));return t.createElement(Lt,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Lt,{item:!0},i),t.createElement(Lt,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(un,{noWrap:!0,component:"p"},t.createElement(un,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(un,{component:"span"}," "),t.createElement(un,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function bp({data:e}){const n=se();return t.createElement(Lt,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(vp,{d:e,key:n})));return o.length>0&&t.createElement(Lt,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(un,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function Cp({title:e="Error",message:n="",data:r=[]}){return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Lt,{item:!0},t.createElement(gp,{style:{fontSize:"38px"}})),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(bp,{data:r}))}function Ep(e){return(0,Pe.Z)("MuiCircularProgress",e)}(0,Te.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Sp=["className","color","disableShrink","size","style","thickness","value","variant"];let Op,Ip,Rp,xp,Lp=e=>e;const wp=Tn(Op||(Op=Lp`
75
+ `),Pn.rippleVisible,jn,550,(({theme:e})=>e.transitions.easing.easeInOut),Pn.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Pn.child,Pn.childLeaving,zn,550,(({theme:e})=>e.transitions.easing.easeInOut),Pn.childPulsate,Gn,(({theme:e})=>e.transitions.easing.easeInOut)),Zn=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,An),[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,he.jsx)(Un,{classes:{ripple:(0,st.Z)(a.ripple,Pn.ripple),rippleVisible:(0,st.Z)(a.rippleVisible,Pn.rippleVisible),ripplePulsate:(0,st.Z)(a.ripplePulsate,Pn.ripplePulsate),child:(0,st.Z)(a.child,Pn.child),childLeaving:(0,st.Z)(a.childLeaving,Pn.childLeaving),childPulsate:(0,st.Z)(a.childPulsate,Pn.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},u.current)])),u.current+=1,d.current=i}),[a]),y=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]),g=t.useCallback((()=>{y({},{pulsate:!0})}),[y]),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:g,start:y,stop:v})),[g,y,v]),(0,he.jsx)(Vn,(0,ce.Z)({className:(0,st.Z)(Pn.root,a.root,i),ref:h},l,{children:(0,he.jsx)(Rn,{component:null,exit:!0,children:s})}))})),$n=Zn;function Wn(e){return(0,Pe.Z)("MuiButtonBase",e)}const Hn=(0,Te.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Kn=["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"],Xn=(0,qt.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"},[`&.${Hn.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Yn=t.forwardRef((function(e,n){const r=(0,yt.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:y,onFocus:g,onFocusVisible:v,onKeyDown:b,onKeyUp:C,onMouseDown:E,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:L=0,TouchRippleProps:w,touchRippleRef:N,type:_}=r,T=(0,ue.Z)(r,Kn),P=t.useRef(null),A=t.useRef(null),D=(0,fn.Z)(A,N),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,mn.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),P.current.focus()}})),[]);const[G,V]=t.useState(!1);t.useEffect((()=>{V(!0)}),[]);const U=G&&!u&&!c;function Z(e,t,n=d){return(0,pn.Z)((r=>(t&&t(r),!n&&A.current&&A.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&A.current.pulsate()}),[u,f,j,G]);const $=Z("start",E),W=Z("stop",q),H=Z("stop",y),K=Z("stop",O),X=Z("stop",(e=>{j&&e.preventDefault(),S&&S(e)})),Y=Z("start",x),Q=Z("stop",I),J=Z("stop",R),ee=Z("stop",(e=>{F(e),!1===k.current&&z(!1),m&&m(e)}),!1),te=(0,pn.Z)((e=>{P.current||(P.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),g&&g(e)})),ne=()=>{const e=P.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,pn.Z)((e=>{f&&!re.current&&j&&A.current&&" "===e.key&&(re.current=!0,A.current.stop(e,(()=>{A.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,pn.Z)((e=>{f&&" "===e.key&&A.current&&j&&!e.defaultPrevented&&(re.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),C&&C(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ie=s;"button"===ie&&(T.href||T.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===_?"button":_,le.disabled=c):(T.href||T.to||(le.role="button"),c&&(le["aria-disabled"]=c));const se=(0,fn.Z)(n,B,P),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:L,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,ht.Z)(a,Wn,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,he.jsxs)(Xn,(0,ce.Z)({as:ie,className:(0,st.Z)(fe.root,l),ownerState:de,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:L,type:_},le,T,{children:[i,U?(0,he.jsx)($n,(0,ce.Z)({ref:D,center:a},w)):null]}))})),Qn=Yn;function Jn(e){return(0,Pe.Z)("MuiIconButton",e)}const er=(0,Te.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),tr=["edge","children","className","color","disabled","disableFocusRipple","size"],nr=(0,qt.ZP)(Qn,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],n.edge&&t[`edge${(0,nn.Z)(n.edge)}`],t[`size${(0,nn.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,ce.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,ce.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,ce.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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)},{[`&.${er.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),rr=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=(0,ue.Z)(n,tr),d=(0,ce.Z)({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e,i={root:["root",n&&"disabled","default"!==r&&`color${(0,nn.Z)(r)}`,o&&`edge${(0,nn.Z)(o)}`,`size${(0,nn.Z)(a)}`]};return(0,ht.Z)(i,Jn,t)})(d);return(0,he.jsx)(nr,(0,ce.Z)({className:(0,st.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),or=rr,ar=e=>Jt((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));function ir(){return ir=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},ir.apply(this,arguments)}function lr(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 sr=o(81518);function cr(e){return"string"==typeof e}function ur(e,t,n){return void 0===e||cr(e)?t:ir({},t,{ownerState:ir({},t.ownerState,n)})}function dr(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 fr(e,t){return"function"==typeof e?e(t):e}const pr=["elementType","externalSlotProps","ownerState"];function mr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=lr(e,pr),i=fr(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=(0,st.Z)(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=ir({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=ir({},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}(ir({},o,r)),l=dr(r),s=dr(o),c=t(i),u=(0,st.Z)(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=ir({},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=ir({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(ir({},a,{externalSlotProps:i}));return ur(n,ir({},l,{ref:(0,sr.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}var hr=o(78101),qr=o(60617),yr=o(19514);var gr="unmounted",vr="exited",br="entering",Cr="entered",Er="exiting",Sr=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=vr,r.appearStatus=br):o=Cr:o=t.unmountOnExit||t.mountOnEnter?gr:vr,r.state={status:o},r.nextCallback=null,r}vn(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===gr?{status:vr}: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!==br&&n!==Cr&&(t=br):n!==br&&n!==Cr||(t=Er)}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===br){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:lt.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vr&&this.setState({status:gr})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[lt.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:br},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:Cr},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:Cr},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:lt.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Er},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:vr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:vr},(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:lt.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===gr)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,hn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(bn.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function Or(){}Sr.contextType=bn,Sr.propTypes={},Sr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Or,onEntering:Or,onEntered:Or,onExit:Or,onExiting:Or,onExited:Or},Sr.UNMOUNTED=gr,Sr.EXITED=vr,Sr.ENTERING=br,Sr.ENTERED=Cr,Sr.EXITING=Er;const Ir=Sr,Rr=e=>e.scrollTop;function xr(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 Lr=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function wr(e){return`scale(${e}, ${e**2})`}const Nr={entering:{opacity:1,transform:wr(1)},entered:{opacity:1,transform:"none"}},_r="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Tr=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=Ir}=e,y=(0,ue.Z)(e,Lr),g=t.useRef(),v=t.useRef(),b=se(),C=t.useRef(null),E=(0,fn.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)=>{Rr(e);const{duration:n,delay:r,easing:o}=xr({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:_r?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),L=S((e=>{const{duration:t,delay:n,easing:r}=xr({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:_r?o:.666*o,delay:_r?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=wr(.75),d&&d(e)})),w=S(f);return t.useEffect((()=>()=>{clearTimeout(g.current)}),[]),(0,he.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:R,onEntering:O,onExit:L,onExited:w,onExiting:x,addEndListener:e=>{"auto"===h&&(g.current=setTimeout(e,v.current||0)),r&&r(C.current,e)},timeout:"auto"===h?null:h},y,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:wr(.75),visibility:"exited"!==e||l?void 0:"hidden"},Nr[e],m,a.props.style),ref:E},n))}))}));Tr.muiSupportAuto=!0;const Pr=Tr;var Ar=o(80776),Dr=o(67603),kr=o(74603),Mr=o(35615),Fr=o(513);const Br=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,sr.Z)(t.isValidElement(r)?r.ref:null,n);if((0,Mr.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,Mr.Z)((()=>{if(i&&!a)return(0,Fr.Z)(n,i),()=>{(0,Fr.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,he.jsx)(t.Fragment,{children:r})}return(0,he.jsx)(t.Fragment,{children:i?lt.createPortal(r,i):i})}));var jr=o(98912);function zr(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 Vr(e){return parseInt((0,jr.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Ur(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 $r=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Wr(e){const t=[],n=[];return Array.from(e.querySelectorAll($r)).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 Hr(){return!0}const Kr=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=Wr,isEnabled:l=Hr,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,sr.Z)(n.ref,h),y=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=y.current)?void 0:r.shiftKey)&&"Tab"===(null==(a=y.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=>{y.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 g=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,he.jsxs)(t.Fragment,{children:[(0,he.jsx)("div",{tabIndex:s?0:-1,onFocus:g,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,he.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})};function Xr(e){return(0,Pe.Z)("MuiModal",e)}(0,Te.Z)("MuiModal",["root","hidden","backdrop"]);const Yr={disableDefaultClasses:!1},Qr=t.createContext(Yr);function Jr(e){const{disableDefaultClasses:n}=t.useContext(Qr);return t=>n?"":e(t)}const eo=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],to=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);Ur(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,jr.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=zr((0,Ar.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Vr(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=`${Vr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ar.Z)(r).body;else{const t=r.parentElement,n=(0,jr.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),Ur(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}},no=t.forwardRef((function(e,n){var r,o;const{children:a,closeAfterTransition:i=!1,container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:f=!1,disableScrollLock:p=!1,hideBackdrop:m=!1,keepMounted:h=!1,manager:q=to,onBackdropClick:y,onClose:g,onKeyDown:v,open:b,onTransitionEnter:C,onTransitionExited:E,slotProps:S={},slots:O={}}=e,I=lr(e,eo),R=q,[x,L]=t.useState(!b),w=t.useRef({}),N=t.useRef(null),_=t.useRef(null),T=(0,sr.Z)(_,n),P=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),A=null==(r=e["aria-hidden"])||r,D=()=>(w.current.modalRef=_.current,w.current.mountNode=N.current,w.current),k=()=>{R.mount(D(),{disableScrollLock:p}),_.current&&(_.current.scrollTop=0)},M=(0,Dr.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(l)||(0,Ar.Z)(N.current).body;R.add(D(),e),_.current&&k()})),F=t.useCallback((()=>R.isTopModal(D())),[R]),B=(0,Dr.Z)((e=>{N.current=e,e&&_.current&&(b&&F()?k():Gr(_.current,A))})),j=t.useCallback((()=>{R.remove(D(),A)}),[R,A]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{b?M():P&&i||j()}),[b,j,P,i,M]);const z=ir({},e,{closeAfterTransition:i,disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:f,disableScrollLock:p,exited:x,hideBackdrop:m,keepMounted:h}),G=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,ht.Z)(r,Jr(Xr))})(z),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),P&&(V.onEnter=(0,kr.Z)((()=>{L(!1),C&&C()}),a.props.onEnter),V.onExited=(0,kr.Z)((()=>{L(!0),E&&E(),i&&j()}),a.props.onExited));const U=null!=(o=O.root)?o:"div",Z=mr({elementType:U,externalSlotProps:S.root,externalForwardedProps:I,additionalProps:{ref:T,role:"presentation",onKeyDown:e=>{v&&v(e),"Escape"===e.key&&F()&&(u||(e.stopPropagation(),g&&g(e,"escapeKeyDown")))}},className:G.root,ownerState:z}),$=O.backdrop,W=mr({elementType:$,externalSlotProps:S.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(y&&y(e),g&&g(e,"backdropClick"))},open:b},className:G.backdrop,ownerState:z});return h||b||P&&!x?(0,he.jsx)(Br,{ref:B,container:l,disablePortal:d,children:(0,he.jsxs)(U,ir({},Z,{children:[!m&&$?(0,he.jsx)($,ir({},W)):null,(0,he.jsx)(Kr,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:f,isEnabled:F,open:b,children:t.cloneElement(a,V)})]}))}):null})),ro=no,oo=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ao={entering:{opacity:1},entered:{opacity:1}},io=t.forwardRef((function(e,n){const r=se(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,style:q,timeout:y=o,TransitionComponent:g=Ir}=e,v=(0,ue.Z)(e,oo),b=t.useRef(null),C=(0,fn.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)=>{Rr(e);const n=xr({style:q,timeout:y,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=xr({style:q,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),L=E(m);return(0,he.jsx)(g,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:L,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:y},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},ao[e],q,l.props.style),ref:C},n))}))}));function lo(e){return(0,Pe.Z)("MuiBackdrop",e)}(0,Te.Z)("MuiBackdrop",["root","invisible"]);const so=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],co=(0,qt.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,ce.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),uo=t.forwardRef((function(e,t){var n,r,o;const a=(0,yt.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=io,transitionDuration:q}=a,y=(0,ue.Z)(a,so),g=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,ht.Z)(r,lo,t)})(g),b=null!=(n=p.root)?n:u.root;return(0,he.jsx)(h,(0,ce.Z)({in:f,timeout:q},y,{children:(0,he.jsx)(co,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,st.Z)(v.root,l,null==b?void 0:b.className),ownerState:(0,ce.Z)({},g,null==b?void 0:b.ownerState),classes:v,ref:t,children:i}))}))})),fo=uo,po=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],mo=(0,qt.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,ce.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),ho=(0,qt.ZP)(fo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),qo=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,yt.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=ho,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:q,component:y,components:g={},componentsProps:v={},disableAutoFocus:b=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:I=!1,hideBackdrop:R=!1,keepMounted:x=!1,onBackdropClick:L,onClose:w,open:N,slotProps:_,slots:T,theme:P}=c,A=(0,ue.Z)(c,po),[D,k]=t.useState(!0),M={container:q,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:C,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:R,keepMounted:x,onBackdropClick:L,onClose:w,open:N},F=(0,ce.Z)({},c,M,{exited:D}),B=null!=(r=null!=(o=null==T?void 0:T.root)?o:g.Root)?r:mo,j=null!=(a=null!=(i=null==T?void 0:T.backdrop)?i:g.Backdrop)?a:u,z=null!=(l=null==_?void 0:_.root)?l:v.root,G=null!=(s=null==_?void 0:_.backdrop)?s:v.backdrop;return(0,he.jsx)(ro,(0,ce.Z)({slots:{root:B,backdrop:j},slotProps:{root:()=>(0,ce.Z)({},fr(z,F),!cr(B)&&{as:y,theme:P},{className:(0,st.Z)(p,null==z?void 0:z.className,null==f?void 0:f.root,!F.open&&F.exited&&(null==f?void 0:f.hidden))}),backdrop:()=>(0,ce.Z)({},d,fr(G,F),{className:(0,st.Z)(null==G?void 0:G.className,null==d?void 0:d.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>k(!1),onTransitionExited:()=>k(!0),ref:n},A,M,{children:h}))})),yo=qo,go=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function vo(e){return(0,Pe.Z)("MuiPaper",e)}(0,Te.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const bo=["className","component","elevation","square","variant"],Co=(0,qt.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,ce.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,ce.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,dn.Fq)("#fff",go(t.elevation))}, ${(0,dn.Fq)("#fff",go(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Eo=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=(0,ue.Z)(n,bo),c=(0,ce.Z)({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,ht.Z)(a,vo,o)})(c);return(0,he.jsx)(Co,(0,ce.Z)({as:o,ownerState:c,className:(0,st.Z)(u.root,r),ref:t},s))})),So=Eo;function Oo(e){return(0,Pe.Z)("MuiPopover",e)}(0,Te.Z)("MuiPopover",["root","paper"]);const Io=["onEntering"],Ro=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],xo=["slotProps"];function Lo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function wo(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function No(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function _o(e){return"function"==typeof e?e():e}const To=(0,qt.ZP)(yo,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Po=(0,qt.ZP)(So,{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}),Ao=t.forwardRef((function(e,n){var r,o,a;const i=(0,yt.Z)({props:e,name:"MuiPopover"}),{action:l,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:f,className:p,container:m,elevation:h=8,marginThreshold:q=16,open:y,PaperProps:g={},slots:v,slotProps:b,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:E=Pr,transitionDuration:S="auto",TransitionProps:{onEntering:O}={}}=i,I=(0,ue.Z)(i.TransitionProps,Io),R=(0,ue.Z)(i,Ro),x=null!=(r=null==b?void 0:b.paper)?r:g,L=t.useRef(),w=(0,fn.Z)(L,x.ref),N=(0,ce.Z)({},i,{anchorOrigin:c,anchorReference:d,elevation:h,marginThreshold:q,externalPaperSlotProps:x,transformOrigin:C,TransitionComponent:E,transitionDuration:S,TransitionProps:I}),_=(e=>{const{classes:t}=e;return(0,ht.Z)({root:["root"],paper:["paper"]},Oo,t)})(N),T=t.useCallback((()=>{if("anchorPosition"===d)return u;const e=_o(s),t=(e&&1===e.nodeType?e:(0,qr.Z)(L.current).body).getBoundingClientRect();return{top:t.top+Lo(t,c.vertical),left:t.left+wo(t,c.horizontal)}}),[s,c.horizontal,c.vertical,u,d]),P=t.useCallback((e=>({vertical:Lo(e,C.vertical),horizontal:wo(e,C.horizontal)})),[C.horizontal,C.vertical]),A=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===d)return{top:null,left:null,transformOrigin:No(n)};const r=T();let o=r.top-n.vertical,a=r.left-n.horizontal;const i=o+t.height,l=a+t.width,c=(0,yr.Z)(_o(s)),u=c.innerHeight-q,f=c.innerWidth-q;if(o<q){const e=o-q;o-=e,n.vertical+=e}else if(i>u){const e=i-u;o-=e,n.vertical+=e}if(a<q){const e=a-q;a-=e,n.horizontal+=e}else if(l>f){const e=l-f;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:No(n)}}),[s,d,T,P,q]),[D,k]=t.useState(y),M=t.useCallback((()=>{const e=L.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,k(!0)}),[A]);t.useEffect((()=>{y&&M()})),t.useImperativeHandle(l,(()=>y?{updatePosition:()=>{M()}}:null),[y,M]),t.useEffect((()=>{if(!y)return;const e=(0,hr.Z)((()=>{M()})),t=(0,yr.Z)(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,y,M]);let F=S;"auto"!==S||E.muiSupportAuto||(F=void 0);const B=m||(s?(0,qr.Z)(_o(s)).body:void 0),j=null!=(o=null==v?void 0:v.root)?o:To,z=null!=(a=null==v?void 0:v.paper)?a:Po,G=mr({elementType:z,externalSlotProps:(0,ce.Z)({},x,{style:D?x.style:(0,ce.Z)({},x.style,{opacity:0})}),additionalProps:{elevation:h,ref:w},ownerState:N,className:(0,st.Z)(_.paper,null==x?void 0:x.className)}),V=mr({elementType:j,externalSlotProps:(null==b?void 0:b.root)||{},externalForwardedProps:R,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:B,open:y},ownerState:N,className:(0,st.Z)(_.root,p)}),{slotProps:U}=V,Z=(0,ue.Z)(V,xo);return(0,he.jsx)(j,(0,ce.Z)({},Z,!cr(j)&&{slotProps:U},{children:(0,he.jsx)(E,(0,ce.Z)({appear:!0,in:y,onEntering:(e,t)=>{O&&O(e,t),M()},onExited:()=>{k(!1)},timeout:F},I,{children:(0,he.jsx)(z,(0,ce.Z)({},G,{children:f}))}))}))})),Do=Ao;var ko=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}}(),Mo=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 Fo=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Mo(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},Mo(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),ko(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,a=[],i=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(a.push(i,l),i=l=null):(l=s,null===i&&(i=s));if(null!==l){for(var c=Math.min(Math.max(l,i+r-1),n-1),u=l+1;u<=c&&!t(u);u++)l=u;a.push(i,l)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(!((e={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a}).startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}var e}))},o=0;o<e.length;o+=2)r(o)}}]),t}(t.PureComponent),Bo=["S","XS"],jo=e=>e.reduce(((e,t)=>e.concat(t)));async function zo({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 Go="RowColumn",Vo={row:`${Go}-row`,rowBorderBottom:`${Go}-rowBorderBottom`,column:`${Go}-column`,fieldRoot:`${Go}-fieldRoot`,cell:`${Go}-cell`,labelText:`${Go}-labelText`,labelDense:`${Go}-labelDense`,highlighted:`${Go}-highlighted`,checkboxLabel:`${Go}-checkboxLabel`,icon:`${Go}-icon`,S:`${Go}-S`,XS:`${Go}-XS`,A:`${Go}-A`,X:`${Go}-X`,frequencyCount:`${Go}-frequencyCount`,barContainer:`${Go}-barContainer`,bar:`${Go}-bar`,barSelected:`${Go}-barSelected`,barWithCheckbox:`${Go}-barWithCheckbox`,barSelectedWithCheckbox:`${Go}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Go}-excludedTextWithCheckbox`},Uo=`.${Vo.fieldRoot}`,Zo=e=>!(e?.metaKey||e?.ctrlKey);const $o=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Wo=e=>Jt($o(e)),Ho=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Ko=e=>e?"A"===e.qState:null,Xo=({cell:e,checkboxes:t})=>(Ko(e)||Ho(e))&&t,Yo=9,Qo=80,Jo=e=>e.filter((e=>!!e)).join(" ").trim(),ea=e=>e||"-",ta=({sizes:e,frequencyMode:t,isGridMode:n,freqHitsValue:r})=>"P"===t?`${e.freqMinWidth}px`:n&&!r?"max-content":"25%",na=({sizes:e,frequencyMode:t,isGridMode:n})=>n?"max-content":"P"===t?e.freqMinWidth:e.freqMaxWidth,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,qt.ZP)("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue"].includes(e)})((({theme:e,checkboxes:t,isGridMode:n,isGridCol:r,dense:o,direction:a,sizes:i,frequencyMode:l,freqHitsValue:s})=>({"&: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"}},[`& .${Vo.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Vo.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Vo.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Vo.cell}`]:{display:"flex",alignItems:"center",flexGrow:1,minWidth:t?"52px":"26px",flexBasis:t?"auto":"max-content",paddingLeft:`${Yo}px`,paddingRight:0},[`& .${Vo.labelText}`]:{lineHeight:"16px",userSelect:"none",paddingRight:"1px",...oa,fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Vo.labelDense}`]:{fontSize:12},[`& .${Vo.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Vo.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"}},[`& .${Vo.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Vo.S}`]:{...ra({theme:e}),border:n?"none":void 0},[`& .${Vo.XS}`]:{...ra({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Vo.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Vo.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Vo.frequencyCount}`]:{justifyContent:"flex-end",...oa,flex:`0 0 ${ta({sizes:i,frequencyMode:l,isGridMode:n,freqHitsValue:s})}`,minWidth:!n&&"P"!==l&&s?i.freqMinWidth:"max-content",maxWidth:na({sizes:i,frequencyMode:l,isGridMode:n}),textAlign:"rtl"===a?"left":"right",paddingLeft:"rtl"!==a?"8px":0},[`&.${Vo.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Vo.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%"}},[`& .${Vo.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Vo.barWithCheckbox}`]:{left:"rtl"===a?4:29,width:"calc(100% - 33px)"},[`& .${Vo.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Vo.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,Pe.Z)("MuiFormControlLabel",e)}const ua=(0,Te.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);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","required","slotProps","value"],pa=(0,qt.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ua.label}`]:t.label},t.root,t[`labelPlacement${(0,nn.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${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=(0,qt.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${ua.error}`]:{color:(e.vars||e).palette.error.main}}))),ha=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:l={},control:s,disabled:c,disableTypography:u,label:d,labelPlacement:f="end",required:p,slotProps:m={}}=a,h=(0,ue.Z)(a,fa),q=sa(),y=null!=(r=null!=c?c:s.props.disabled)?r:null==q?void 0:q.disabled,g=null!=p?p:s.props.required,v={disabled:y,required:g};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==a[e]&&(v[e]=a[e])}));const b=da({props:a,muiFormControl:q,states:["error"]}),C=(0,ce.Z)({},a,{disabled:y,labelPlacement:f,required:g,error:b.error}),E=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,nn.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,ht.Z)(i,ca,t)})(C),S=null!=(o=m.typography)?o:l.typography;let O=d;return null==O||O.type===un||u||(O=(0,he.jsx)(un,(0,ce.Z)({component:"span"},S,{className:(0,st.Z)(E.label,null==S?void 0:S.className),children:O}))),(0,he.jsxs)(pa,(0,ce.Z)({className:(0,st.Z)(E.root,i),ownerState:C,ref:n},h,{children:[t.cloneElement(s,v),O,g&&(0,he.jsxs)(ma,{ownerState:C,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}))})),qa=ha;var ya=o(2894);function ga(e){return(0,Pe.Z)("PrivateSwitchBase",e)}(0,Te.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const va=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],ba=(0,qt.ZP)(Qn)((({ownerState:e})=>(0,ce.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Ca=(0,qt.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ea=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:y,readOnly:g,required:v=!1,tabIndex:b,type:C,value:E}=e,S=(0,ue.Z)(e,va),[O,I]=(0,ya.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=sa();let x=l;R&&void 0===x&&(x=R.disabled);const L="checkbox"===C||"radio"===C,w=(0,ce.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,nn.Z)(o)}`],input:["input"]};return(0,ht.Z)(a,ga,t)})(w);return(0,he.jsxs)(ba,(0,ce.Z)({component:"span",className:(0,st.Z)(N.root,a),centerRipple:!0,focusRipple:!s,disabled:x,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:w,ref:t},S,{children:[(0,he.jsx)(Ca,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:N.input,disabled:x,id:L?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:g,ref:p,required:v,ownerState:w,tabIndex:b,type:C},"checkbox"===C&&void 0===E?{}:{value:E},f)),O?o:u]}))})),Sa=Ea;var Oa=o(50968);const Ia=(0,Oa.Z)((0,he.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"),Ra=(0,Oa.Z)((0,he.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"),xa=(0,Oa.Z)((0,he.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 La(e){return(0,Pe.Z)("MuiCheckbox",e)}const wa=(0,Te.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Na=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],_a=(0,qt.ZP)(Sa,{shouldForwardProp:e=>(0,qt.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,nn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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}}))),Ta=(0,he.jsx)(Ra,{}),Pa=(0,he.jsx)(Ia,{}),Aa=(0,he.jsx)(xa,{}),Da=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Ta,color:l="primary",icon:s=Pa,indeterminate:c=!1,indeterminateIcon:u=Aa,inputProps:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Na),h=c?u:s,q=c?u:i,y=(0,ce.Z)({},a,{color:l,indeterminate:c,size:f}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,nn.Z)(r)}`]},a=(0,ht.Z)(o,La,t);return(0,ce.Z)({},t,a)})(y);return(0,he.jsx)(_a,(0,ce.Z)({type:"checkbox",inputProps:(0,ce.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:y,ref:n,className:(0,st.Z)(g.root,p)},m,{classes:g}))})),ka=Da,Ma="ListBoxCheckbox",Fa={cbIcon:`${Ma}-cbIcon`,cbIconChecked:`${Ma}-cbIconChecked`,cbIconExcluded:`${Ma}-cbIconExcluded`,cbIconAlternative:`${Ma}-cbIconAlternative`,checkbox:`${Ma}-checkbox`,dense:`${Ma}-dense`},Ba=(0,qt.ZP)(ka)((({theme:e})=>({[`& .${Fa.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"},[`& .${Fa.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:'""'}},[`& .${Fa.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${Fa.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${Fa.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Fa.dense}`]:{padding:"4px 8px"}}))),ja=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function za({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Ba,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Fa.checkbox,o&&Fa.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:ja(Fa,i,a),checkedIcon:t.createElement("span",{className:Fa.cbIconChecked})})}const Ga=(0,Oa.Z)((0,he.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"),Va=(0,Oa.Z)((0,he.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"),Ua=(0,qt.ZP)("span")({position:"relative",display:"flex"}),Za=(0,qt.ZP)(Ga)({transform:"scale(1)"}),$a=(0,qt.ZP)(Va)((({theme:e,ownerState:t})=>(0,ce.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Wa=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,he.jsxs)(Ua,{className:n.root,ownerState:o,children:[(0,he.jsx)(Za,{fontSize:r,className:n.background,ownerState:o}),(0,he.jsx)($a,{fontSize:r,className:n.dot,ownerState:o})]})};var Ha=o(91882);const Ka=t.createContext(void 0);function Xa(e){return(0,Pe.Z)("MuiRadio",e)}const Ya=(0,Te.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),Qa=["checked","checkedIcon","color","icon","name","onChange","size","className"],Ja=(0,qt.ZP)(Sa,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,nn.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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&&{[`&.${Ya.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Ya.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ei=(0,he.jsx)(Wa,{checked:!0}),ti=(0,he.jsx)(Wa,{}),ni=t.forwardRef((function(e,n){var r,o;const a=(0,yt.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ei,color:s="primary",icon:c=ti,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Qa),h=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,nn.Z)(n)}`]};return(0,ce.Z)({},t,(0,ht.Z)(r,Xa,t))})(h),y=t.useContext(Ka);let g=i;const v=(0,Ha.Z)(d,y&&y.onChange);let b=u;var C,E;return y&&(void 0===g&&(C=y.value,g="object"==typeof(E=a.value)&&null!==E?C===E:String(C)===String(E)),void 0===b&&(b=y.name)),(0,he.jsx)(Ja,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=ti.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ei.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:g,onChange:v,ref:n,className:(0,st.Z)(q.root,p)},m))})),ri=ni,oi="ListBoxRadioButton",ai={denseRadioButton:`${oi}-denseRadioButton`,radioButton:`${oi}-radioButton`},ii=(0,qt.ZP)(ri)((({theme:e,checked:t})=>({[`&.${ai.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function li({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ii,{checked:n,onChange:e,value:r,name:r,className:ai.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const si=function({label:e,color:n,dense:r,showGray:o=!0,checkboxes:a,cell:i,valueTextAlign:l}){return t.createElement(un,{component:"span",variant:"body2",className:Jo([Vo.labelText,r&&Vo.labelDense,o&&Xo({cell:i,checkboxes:a})&&Vo.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},t.createElement("span",null,e))},ci=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(si,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ui=function({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}){const p=t.createElement(za,{onChange:e,label:n,checked:a,dense:i,excluded:Ho(l),isGridCol:s,showGray:c,dataN:o}),m=t.createElement(li,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(qa,{color:r,control:u?m:p,className:Vo.checkboxLabel,label:t.createElement(ci,{label:n,color:r,dense:i,showGray:c,checkboxes:d,cell:l,valueTextAlign:f}),key:o})};function di({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?Vo.highlighted:""},e)));return t.createElement(si,{label:a,dense:n,showGray:r,checkboxes:o})}const fi=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(di,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(ui,{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 pi({onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}){return d?t.createElement(ui,{onChange:e,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:f}):t.createElement(si,{label:n,color:r,dense:i,showGray:!0,checkboxes:d,cell:l,valueTextAlign:f})}const mi=t.memo(pi);var hi=o(69741),qi=o(95882);const yi=["className","component"];var gi=o(51388);const vi=(0,xe.Z)(),bi=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,hi.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(qi.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=mt(e),{className:c,component:u="div"}=s,d=(0,ut.Z)(s,yi);return(0,he.jsx)(i,(0,de.Z)({as:u,ref:t,className:(0,st.Z)(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:vi,defaultClassName:"MuiBox-root",generateClassName:gi.Z.generate}),Ci=bi,Ei=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===ea(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(Ci,{className:Jo([Vo.bar,r&&Vo.barWithCheckbox,o&&(r?Vo.barSelectedWithCheckbox:Vo.barSelected)])},t.createElement(Ci,{className:"bar-filled",width:i}))},Si=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=ea(e?.qFrequency);return t.createElement(Lt,{item:!0,style:{display:"flex",alignItems:"center"},className:Vo.frequencyCount,"aria-label":a,title:a},t.createElement(un,{noWrap:!0,color:"inherit",variant:"body2",className:Jo([r&&Vo.labelDense,Vo.labelText,o&&Xo({cell:e,checkboxes:n})&&Vo.excludedTextWithCheckbox])},a))};function Oi({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 Ii=(0,qt.ZP)(Lt,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction"].includes(e)})((({dataLayout:e,layoutOrder:t,itemPadding:n,cellPaddingRight:r,direction:o})=>{const a="padding"+("rtl"===o?"Left":"Right");return{[`&.${Vo.fieldRoot}`]:{...Oi({dataLayout:e,layoutOrder:t,itemPadding:n}),[a]:r?"8px":void 0}}})),Ri={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function xi({layout:e}){const{translator:n}=(0,t.useContext)(We),{qStateCounts:r={}}=e?.qListObject?.qDimensionInfo||{},o=r.qSelected+r.qSelectedExcluded+r.qLocked+r.qLockedExcluded;let a;switch(o){case 0:a="ScreenReader.ZeroSelected";break;case 1:a="ScreenReader.OneSelected";break;default:a="ScreenReader.ManySelected"}const i=n.get(a,[o]);return t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},i)}const Li=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===Li.ARROW_UP||e===Li.ARROW_DOWN||e===Li.ARROW_LEFT||e===Li.ARROW_RIGHT}),wi=Li,Ni=e=>+e.getAttribute("data-n"),_i=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Ti=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Pi=function({index:e,rowIndex:n,columnIndex:r,style:o,data:a}){const{onChange:i,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onTouchStart:d,onTouchEnd:f,pages:p,isLocked:m,column:h=!1,checkboxes:q=!1,textAlign:y,direction:g,layoutOptions:v={},freqIsAllowed:b,isSingleSelect:C,actions:E,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:L=1,rowCount:w=1,dataOffset:N,deducedFrequencyMode:_,focusListItems:T,listCount:P,sizes:A,translator:D,showSearch:k,isModal:M}=a,{dense:F=!1,dataLayout:B="singleColumn",layoutOrder:j}=v,{itemPadding:z}=A;let G,V;const U={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===j?(G=n*L+r,U.max=w,U.currentIndex=n):(G=r*w+n,U.max=L,U.currentIndex=r);const e=0;V={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else G=e,U.max=P,U.currentIndex=e,V={...o};G+=N;const[Z,$]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==Z&&(0===U.currentIndex&&T.first&&(Z.focus(),T.setFirst(!1)),U.currentIndex===U.max-1&&T.last&&(Z.focus(),T.setLast(!1)))}),[Z,T.first,T.last]);const W=(0,t.useCallback)(function({select:e,selectAll:t,onCtrlF:n,confirm:r,cancel:o,setScrollPosition:a,focusListItems:i,keyboard:l,isModal:s,rowCount:c,columnCount:u,rowIndex:d,columnIndex:f,layoutOrder:p}){const m=(e,t,n=!1)=>{if(e===wi.ARROW_LEFT||e===wi.ARROW_RIGHT||"number"!=typeof d||"number"!=typeof f){const e=t?.parentElement[n?"nextElementSibling":"previousElementSibling"];return e?.querySelector("[role]")}const r=t?.parentElement.parentElement,o=r?.childElementCount;if(o){const n=(({rowIndex:e,columnIndex:t,rowCount:n,columnCount:r,layoutOrder:o,keyCode:a,numCells:i})=>{const l=e=>{let t;return"row"===o?(t=i%r,e<t?n:n-1):(t=i%n,e<r-1?n:t)};let s=e,c=t;if(a===wi.ARROW_DOWN)if(e>=l(t)-1){if(t===r-1)return-1;s=0,c=t+1}else s=e+1;else if(0===e){if(0===t)return-1;s=l(t-1)-1,c=t-1}else s=e-1;if("row"===o)return s*r+c;const u=i%n;return 0===u||s<u?s*r+c:(s-u)*(r-1)+c+u*r})({rowIndex:d,columnIndex:f,rowCount:c,columnCount:u,layoutOrder:p,keyCode:e,numCells:o}),r=t?.parentElement.parentElement.children[n];return r?.querySelector("[role]")}};let h=!1;const q=e=>{h=e};return c=>{let u;const{currentTarget:d,nativeEvent:f}=c,{keyCode:p,shiftKey:y=!1,ctrlKey:g=!1,metaKey:v=!1}=f;switch(p){case wi.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),y){_i(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case wi.SHIFT:q(!0);break;case wi.SPACE:e([Ni(d)],!1,c);break;case wi.ARROW_DOWN:case wi.ARROW_RIGHT:u=m(p,d,!0),y&&u&&(h&&(e([Ni(d)],!0),q(!1)),e([Ni(u)],!0));break;case wi.ARROW_UP:case wi.ARROW_LEFT:u=m(p,d,!1),y&&u&&(h&&(e([Ni(d)],!0),q(!1)),e([Ni(u)],!0));break;case wi.ENTER:r();break;case wi.ESCAPE:if(!s())return;o();break;case wi.HOME:if(i.setFirst(!0),g){a?.("overflowStart");break}a?.("start");break;case wi.END:if(i.setLast(!0),g){a?.("overflowEnd");break}a?.("end");break;case wi.A:if(g||v){t();break}return;case wi.F:if(g||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...E,focusListItems:T,keyboard:I,isModal:M,rowCount:w,columnCount:L,rowIndex:n,columnIndex:r,layoutOrder:j}),[E,I?.innerTabStops,w,L,n,r,j]),H=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:G})),[p,G]),K="S"===H?.qState||"XS"===H?.qState||"L"===H?.qState||"XL"===H?.qState,X=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Vo.column:Vo.row];return t||a.push(Vo.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Vo.XS:Vo.S):"S"===r.qState||"L"===r.qState?a.push(Vo.S):o&&Ko(r)?a.push(Vo.A):o&&Ho(r)&&a.push(Vo.X)),a):[]})({column:h,histogram:O,checkboxes:q,cell:H,showGray:R})),[H?.qState,O,F,q]),Y=(0,t.useCallback)((e=>{e.preventDefault()}),[q]),Q=(0,t.useMemo)((()=>H&&function({direction:e,cell:t,textAlign:n}){const r=!["NaN",void 0].includes(t?.qNum);let o;return o=!n||n.auto?r?"rtl"===e?"left":"right":{rtl:"right",ltr:"left"}[e]:n?.align||"left",["left","center","right"].includes(o)?o:"left"}({direction:g,cell:H,textAlign:y})),[g,H,y]);if(!H)return null;const J="grid"===B&&"column"===j,ee=H?.qText??"";let te;H.qHighlightRanges?.qRanges?.length&&(te=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}(ee,H.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ne={alignItems:"center",display:"flex",fontSize:"8px"},re="rtl"===g,oe={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:re?8:q?0:void 0,paddingRight:q?0:re?8:0,justifyContent:Q},ae=0===e,ie=K&&m,le=!q&&K&&!m,se=!q&&x,ce=q||!x,ue=function({translator:e,label:t,qState:n,isSelected:r,currentIndex:o,maxIndex:a,showSearch:i}){const l=Ri[n],s=e.get(l),c=[];if(r){const t=i?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=e.get(t);c.push(n)}const u=`${t} ${s}`,d=e.get("CurrentSelections.Of",[o+1,a+1]);return c.unshift(u,d),c.join(". ").trim()}({translator:D,label:ee,qState:H.qState,currentIndex:U.currentIndex,maxIndex:U.max,showSearch:k}),de=!re&&"right"===Q||re&&"left"===Q;return t.createElement(ia,{className:Vo.barContainer,checkboxes:q,style:V,isGridCol:J,isGridMode:"grid"===B,dense:F,direction:g,sizes:A,frequencyMode:_,freqHitsValue:de,"data-testid":"listbox.item"},t.createElement(Ii,{role:"row","aria-label":ue,"aria-selected":K,"aria-setsize":U.max,"aria-rowindex":U.currentIndex,ref:$,container:!0,dataLayout:B,cellPaddingRight:ce,layoutOrder:j,itemPadding:z,gap:0,className:Jo(["value",...X]),classes:{root:Vo.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:W,onTouchStart:d,onTouchEnd:f,onContextMenu:Y,tabIndex:ae&&I.innerTabStops?0:-1,"data-n":H?.qElemNumber,direction:g},H?.qFrequency&&t.createElement(Ei,{qFrequency:H?.qFrequency,histogram:O,checkboxes:q,isSelected:K,frequencyMax:S}),t.createElement(Lt,{item:!0,style:oe,className:Jo([Vo.cell,Vo.selectedCell]),title:`${ee}`},te?t.createElement(fi,{onChange:i,labels:te,checkboxes:q,dense:F,showGray:R,color:"inherit",qElemNumber:H.qElemNumber,isSelected:K,cell:H,isGridCol:J,isSingleSelect:C,valueTextAlign:Q}):t.createElement(mi,{onChange:i,label:ee,color:"inherit",qElemNumber:H.qElemNumber,isSelected:K,dense:F,cell:H,isGridCol:J,showGray:R,isSingleSelect:C,checkboxes:q,valueTextAlign:Q})),b&&t.createElement(Si,{cell:H,checkboxes:q,dense:F,showGray:R}),se&&t.createElement(Lt,{item:!0,className:Vo.icon},ie&&t.createElement(tn,{style:ne,size:"small"}),le&&t.createElement(Wo,{style:ne,size:"small"}))))};var Ai=o(80411),Di=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ki(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Di(r)&&Di(o)))return!1;var r,o;return!0}const Mi=function(e,t){var n;void 0===t&&(t=ki);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 Fi="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Bi(e){cancelAnimationFrame(e.id)}function ji(e,t){var n=Fi(),r={id:requestAnimationFrame((function o(){Fi()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var zi=-1;function Gi(e){if(void 0===e&&(e=!1),-1===zi||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),zi=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return zi}var Vi=null;function Ui(e){if(void 0===e&&(e=!1),null===Vi||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?Vi="positive-descending":(t.scrollLeft=1,Vi=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Vi}return Vi}var Zi=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function $i(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,y=e.validateProps;return n=function(e){function n(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,yn(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:yn(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=Mi((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=Mi((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=Mi((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(Ui()){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&&Bi(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=ji(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}vn(n,e),n.getDerivedStateFromProps=function(e,t){return Wi(e,t),y(e),null};var g=n.prototype;return g.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)},g.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,y=Gi();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 g=l(this.props,this._instanceProps),v=s(this.props,this._instanceProps)>p?y:0,b=g>d?y: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})},g.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()},g.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(Ui()){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()},g.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Bi(this._resetIsScrollingTimeoutId)},g.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?Zi:p,h=e.outerElementType,q=e.outerTagName,y=e.rowCount,g=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],L=[];if(o>0&&y)for(var w=R;w<=x;w++)for(var N=S;N<=O;N++)L.push((0,t.createElement)(n,{columnIndex:N,data:f,isScrolling:v?C:void 0,key:m({columnIndex:N,data:f,rowIndex:w}),rowIndex:w,style:this._getItemStyle(w,N)}));var _=l(this.props,this._instanceProps),T=s(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:qn({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(u||d||"div",{children:L,ref:c,style:{height:_,pointerEvents:C?"none":void 0,width:T}}))},g._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,y=h.scrollLeft,g=h.scrollTop,v=h.scrollUpdateWasRequested,b=h.verticalScrollDirection;this._callOnScroll(y,g,q,b,v)}},g._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]},g._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 Wi=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},Hi=function(e,t){return e};function Ki(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,yn(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:yn(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Mi((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Mi((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=Mi((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(Ui()){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&&Bi(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=ji(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}vn(n,e),n.getDerivedStateFromProps=function(e,t){return Xi(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?Gi():0:s.scrollHeight>s.clientHeight?Gi():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(Ui()){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&&Bi(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?Hi:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,y=e.style,g=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:g?b:void 0,style:this._getItemStyle(x)}));var L=o(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:E,ref:this._outerRefSetter,style:qn({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,t.createElement)(s||c||"div",{children:R,ref:l,style:{height:C?"100%":L,pointerEvents:b?"none":void 0,width:C?L:"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 Xi=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Yi=$i({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}}),Qi=Ki({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 Ji="#BBB",el="#f1f1f1",tl={styledScrollbars:"ListBox-styledScrollbars"},nl=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,rl=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,ol=(e,t,n,r)=>e===t*n+r+n;function al({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=nl(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=ol(i,c,s?o:r,l),p=!!l&&rl(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function il(){return il=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},il.apply(this,arguments)}const{StyledFixedSizeList:ll,StyledFixedSizeGrid:sl}=function(){const e=e=>({scrollbarColor:`${Ji} ${el}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:el},"&::-webkit-scrollbar-thumb":{backgroundColor:Ji,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,Ai.Z)(Qi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${tl.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,Ai.Z)(Yi,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${tl.styledScrollbars}`]:e(t)})))}}(),cl=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)})(n.text,n.font||"12px Source Sans Pro")),[n.text,n.font])};function ul(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}const dl=function({layout:e,width:t,height:n,listCount:r,count:o,freqIsAllowed:a,checkboxes:i,theme:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,{fontSize:m="12px",fontFamily:h="Source sans pro"}=l?.listBox?.content||{},q=`${m} ${h}`,y=cl({text:ul(e),font:q}),g=cl({text:ul(5),font:q}),v=cl({text:ul(8),font:q}),b=a?g:0,C=i?20:0;let E=56+b+C;!i&&E>=Qo&&(E+=20);let S,O,I,R,x=y+18+b+C;!i&&x>=Qo&&(x+=20),x=Math.min(150,Math.max(x,E));const L="grid"===p;let w=f?20:L?32:29;L&&(w+=4);const N=n??8*w;if(c){let e=t;"row"===c?(S={overflowX:"hidden"},e+=8,({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-10;let l;const s=Math.min(t,Math.max(1,Math.round(i/Math.max(o,r))));l=!1!==e?.auto?s:Math.min(t,a,s);const c=i/l;return{rowCount:Math.ceil(t/l),columnWidth:c,columnCount:l}}({maxVisibleColumns:d,listCount:r,containerWidth:e,columnAutoWidth:x,itemMinWidth:E}))):(S={overflowY:"hidden"},({rowCount:R,columnWidth:I,columnCount:O}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:w,listCount:r,listHeight:N,columnAutoWidth:x,containerWidth:e,itemMinWidth:E})))}O=("singleColumn"===p?1:O)||1,R=("singleColumn"===p?o:R)||r;const _=s.dense?838e3:577e3;R=Math.min(R,_);const T=Math.floor(3355e4/I);O=Math.min(O,T)||1;const P=R*O;return{columnCount:O,columnWidth:I,rowCount:R,overflowStyling:S,itemHeight:w,listHeight:N,listWidth:t,scrollBarWidth:10,count:o,listCount:Math.min(r,P),maxCount:{row:_,column:T},itemPadding:4,textWidth:y,freqMinWidth:g,freqMaxWidth:v}},fl=({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},[pl,ml]=He({});function hl(e){const t=`${e.id}`,[n]=pl();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function ql(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function yl(e){return e instanceof ql(e).Element||e instanceof Element}function gl(e){return e instanceof ql(e).HTMLElement||e instanceof HTMLElement}function vl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ql(e).ShadowRoot||e instanceof ShadowRoot)}var bl=Math.max,Cl=Math.min,El=Math.round;function Sl(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ol(){return!/^((?!chrome|android).)*safari/i.test(Sl())}function Il(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&gl(e)&&(o=e.offsetWidth>0&&El(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&El(r.height)/e.offsetHeight||1);var i=(yl(e)?ql(e):window).visualViewport,l=!Ol()&&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 Rl(e){var t=ql(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xl(e){return e?(e.nodeName||"").toLowerCase():null}function Ll(e){return((yl(e)?e.ownerDocument:e.document)||window.document).documentElement}function wl(e){return Il(Ll(e)).left+Rl(e).scrollLeft}function Nl(e){return ql(e).getComputedStyle(e)}function _l(e){var t=Nl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Tl(e,t,n){void 0===n&&(n=!1);var r,o,a=gl(t),i=gl(t)&&function(e){var t=e.getBoundingClientRect(),n=El(t.width)/e.offsetWidth||1,r=El(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Ll(t),s=Il(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==xl(t)||_l(l))&&(c=(r=t)!==ql(r)&&gl(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Rl(r)),gl(t)?((u=Il(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=wl(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Pl(e){var t=Il(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 Al(e){return"html"===xl(e)?e:e.assignedSlot||e.parentNode||(vl(e)?e.host:null)||Ll(e)}function Dl(e){return["html","body","#document"].indexOf(xl(e))>=0?e.ownerDocument.body:gl(e)&&_l(e)?e:Dl(Al(e))}function kl(e,t){var n;void 0===t&&(t=[]);var r=Dl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=ql(r),i=o?[a].concat(a.visualViewport||[],_l(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(kl(Al(i)))}function Ml(e){return["table","td","th"].indexOf(xl(e))>=0}function Fl(e){return gl(e)&&"fixed"!==Nl(e).position?e.offsetParent:null}function Bl(e){for(var t=ql(e),n=Fl(e);n&&Ml(n)&&"static"===Nl(n).position;)n=Fl(n);return n&&("html"===xl(n)||"body"===xl(n)&&"static"===Nl(n).position)?t:n||function(e){var t=/firefox/i.test(Sl());if(/Trident/i.test(Sl())&&gl(e)&&"fixed"===Nl(e).position)return null;var n=Al(e);for(vl(n)&&(n=n.host);gl(n)&&["html","body"].indexOf(xl(n))<0;){var r=Nl(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 jl="top",zl="bottom",Gl="right",Vl="left",Ul="auto",Zl=[jl,zl,Gl,Vl],$l="start",Wl="end",Hl="viewport",Kl="popper",Xl=Zl.reduce((function(e,t){return e.concat([t+"-"+$l,t+"-"+Wl])}),[]),Yl=[].concat(Zl,[Ul]).reduce((function(e,t){return e.concat([t,t+"-"+$l,t+"-"+Wl])}),[]),Ql=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Jl(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 es={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){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 ns(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?es:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},es,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:yl(e)?kl(e):e.contextElement?kl(e.contextElement):[],popper:kl(t)};var i,c,f=function(e){var t=Jl(e);return Ql.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(ts(t,n)){l.rects={reference:Tl(t,Bl(n),"fixed"===l.options.strategy),popper:Pl(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(!ts(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 rs={passive:!0};function os(e){return e.split("-")[0]}function as(e){return e.split("-")[1]}function is(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ls(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?os(o):null,i=o?as(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case jl:t={x:l,y:n.y-r.height};break;case zl:t={x:l,y:n.y+n.height};break;case Gl:t={x:n.x+n.width,y:s};break;case Vl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?is(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case $l:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Wl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ss={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cs(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 y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=Vl,b=jl,C=window;if(c){var E=Bl(n),S="clientHeight",O="clientWidth";E===ql(n)&&"static"!==Nl(E=Ll(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===jl||(o===Vl||o===Gl)&&a===Wl)&&(b=zl,h-=(d&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-r.height,h*=s?1:-1),o!==Vl&&(o!==jl&&o!==zl||a!==Wl)||(v=Gl,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&&ss),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:El(n*o)/o||0,y:El(r*o)/o||0}}({x:p,y:h},ql(n)):{x:p,y:h};return p=x.x,h=x.y,s?Object.assign({},R,((I={})[b]=g?"0":"",I[v]=y?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",I)):Object.assign({},R,((t={})[b]=g?h+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var us={left:"right",right:"left",bottom:"top",top:"bottom"};function ds(e){return e.replace(/left|right|bottom|top/g,(function(e){return us[e]}))}var fs={start:"end",end:"start"};function ps(e){return e.replace(/start|end/g,(function(e){return fs[e]}))}function ms(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qs(e,t,n){return t===Hl?hs(function(e,t){var n=ql(e),r=Ll(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Ol();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+wl(e),y:s}}(e,n)):yl(t)?function(e,t){var n=Il(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):hs(function(e){var t,n=Ll(e),r=Rl(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=bl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=bl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+wl(e),s=-r.scrollTop;return"rtl"===Nl(o||n).direction&&(l+=bl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ll(e)))}function ys(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function gs(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function vs(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?Hl:c,d=n.elementContext,f=void 0===d?Kl:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,y=ys("number"!=typeof q?q:gs(q,Zl)),g=f===Kl?"reference":Kl,v=e.rects.popper,b=e.elements[m?g:f],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=kl(Al(e)),n=["absolute","fixed"].indexOf(Nl(e).position)>=0&&gl(e)?Bl(e):e;return yl(n)?t.filter((function(e){return yl(e)&&ms(e,n)&&"body"!==xl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=qs(e,n,r);return t.top=bl(o.top,t.top),t.right=Cl(o.right,t.right),t.bottom=Cl(o.bottom,t.bottom),t.left=bl(o.left,t.left),t}),qs(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}(yl(b)?b:b.contextElement||Ll(e.elements.popper),s,u,i),E=Il(e.elements.reference),S=ls({reference:E,element:v,strategy:"absolute",placement:o}),O=hs(Object.assign({},v,S)),I=f===Kl?O:E,R={top:C.top-I.top+y.top,bottom:I.bottom-C.bottom+y.bottom,left:C.left-I.left+y.left,right:I.right-C.right+y.right},x=e.modifiersData.offset;if(f===Kl&&x){var L=x[o];Object.keys(R).forEach((function(e){var t=[Gl,zl].indexOf(e)>=0?1:-1,n=[jl,zl].indexOf(e)>=0?"y":"x";R[e]+=L[n]*t}))}return R}function bs(e,t,n){return bl(e,Cl(t,n))}function Cs(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 Es(e){return[jl,Gl,zl,Vl].some((function(t){return e[t]>=0}))}var Ss=ns({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=ql(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,rs)})),l&&s.addEventListener("resize",n.update,rs),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rs)})),l&&s.removeEventListener("resize",n.update,rs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ls({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:os(t.placement),variation:as(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,cs(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,cs(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];gl(o)&&xl(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}),{});gl(r)&&xl(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=Yl.reduce((function(e,n){return e[n]=function(e,t,n){var r=os(e),o=[Vl,jl].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,[Vl,Gl].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,y=os(q),g=s||(y!==q&&m?function(e){if(os(e)===Ul)return[];var t=ds(e);return[ps(e),t,ps(t)]}(q):[ds(q)]),v=[q].concat(g).reduce((function(e,n){return e.concat(os(n)===Ul?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?Yl:s,u=as(r),d=u?l?Xl:Xl.filter((function(e){return as(e)===u})):Zl,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]=vs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[os(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=os(R),L=as(R)===$l,w=[jl,zl].indexOf(x)>=0,N=w?"width":"height",_=vs(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=w?L?Gl:Vl:L?zl:jl;b[N]>C[N]&&(T=ds(T));var P=ds(T),A=[];if(a&&A.push(_[x]<=0),l&&A.push(_[T]<=0,_[P]<=0),A.every((function(e){return e}))){O=R,S=!1;break}E.set(R,A)}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=vs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),y=os(t.placement),g=as(t.placement),v=!g,b=is(y),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,L={x:0,y:0};if(E){if(a){var w,N="y"===b?jl:Vl,_="y"===b?zl:Gl,T="y"===b?"height":"width",P=E[b],A=P+q[N],D=P-q[_],k=p?-O[T]/2:0,M=g===$l?S[T]:O[T],F=g===$l?-O[T]:-S[T],B=t.elements.arrow,j=p&&B?Pl(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=z[N],V=z[_],U=bs(0,S[T],j[T]),Z=v?S[T]/2-k-U-G-R.mainAxis:M-U-G-R.mainAxis,$=v?-S[T]/2+k+U+V+R.mainAxis:F+U+V+R.mainAxis,W=t.elements.arrow&&Bl(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(w=null==x?void 0:x[b])?w:0,X=P+$-K,Y=bs(p?Cl(A,P+Z-K-H):A,P,p?bl(D,X):D);E[b]=Y,L[b]=Y-P}if(l){var Q,J="x"===b?jl:Vl,ee="x"===b?zl:Gl,te=E[C],ne="y"===C?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[jl,Vl].indexOf(y),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=bs(e,t,n);return r>n?n:r}(le,te,se):bs(p?le:re,te,p?se:oe);E[C]=ce,L[C]=ce-te}t.modifiersData[r]=L}},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=os(n.placement),s=is(l),c=[Vl,Gl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return ys("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:gs(e,Zl))}(o.padding,n),d=Pl(a),f="y"===s?jl:Vl,p="y"===s?zl:Gl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Bl(a),y=q?"y"===s?q.clientHeight||0:q.clientWidth||0:0,g=m/2-h/2,v=u[f],b=y-d[c]-u[p],C=y/2-d[c]/2+g,E=bs(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)))&&ms(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=vs(t,{elementContext:"reference"}),l=vs(t,{altBoundary:!0}),s=Cs(i,r),c=Cs(l,o,a),u=Es(s),d=Es(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 Os(e){return(0,Pe.Z)("MuiPopper",e)}(0,Te.Z)("MuiPopper",["root"]);const Is=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Rs=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function xs(e){return"function"==typeof e?e():e}const Ls={},ws=t.forwardRef((function(e,n){var r;const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:p={},slots:m={},TransitionProps:h}=e,q=lr(e,Is),y=t.useRef(null),g=(0,sr.Z)(y,n),v=t.useRef(null),b=(0,sr.Z)(v,f),C=t.useRef(b);(0,Mr.Z)((()=>{C.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[S,O]=t.useState(E),[I,R]=t.useState(xs(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(xs(o))}),[o]),(0,Mr.Z)((()=>{if(!I||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Ss(I,y.current,ir({placement:E},d,{modifiers:e}));return C.current(t),()=>{t.destroy(),C.current(null)}}),[I,l,s,c,d,E]);const x={placement:S};null!==h&&(x.TransitionProps=h);const L=(0,ht.Z)({root:["root"]},Jr(Os)),w=null!=(r=m.root)?r:"div",N=mr({elementType:w,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:L.root});return(0,he.jsx)(w,ir({},N,{children:"function"==typeof a?a(x):a}))})),Ns=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=Ls,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:y={}}=e,g=lr(e,Rs),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let C;if(a)C=a;else if(r){const e=xs(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,he.jsx)(Br,{disablePortal:l,container:C,children:(0,he.jsx)(ws,ir({anchorEl:r,direction:i,disablePortal:l,modifiers:c,ref:n,open:h?!v:u,placement:d,popperOptions:f,popperRef:p,slotProps:q,slots:y},g,{style:ir({position:"fixed",top:0,left:0,display:E},m),TransitionProps:S,children:o}))})})),_s=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ts=(0,qt.ZP)(Ns,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ps=t.forwardRef((function(e,t){var n;const r=(0,ge.Z)(),o=(0,yt.Z)({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:q,transition:y,slots:g,slotProps:v}=o,b=(0,ue.Z)(o,_s),C=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,E=(0,ce.Z)({anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:h,popperRef:q,transition:y},b);return(0,he.jsx)(Ts,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:C},slotProps:null!=v?v:s},E,{ref:t}))}));var As=o(79673);function Ds(e){return(0,Pe.Z)("MuiTooltip",e)}const ks=(0,Te.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ms=["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"],Fs=(0,qt.ZP)(Ps,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,ce.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ks.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ks.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ks.arrow}`]:(0,ce.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${ks.arrow}`]:(0,ce.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Bs=(0,qt.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,nn.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,dn.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},{[`.${ks.popper}[data-popper-placement*="left"] &`]:(0,ce.Z)({transformOrigin:"right center"},t.isRtl?(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${ks.popper}[data-popper-placement*="right"] &`]:(0,ce.Z)({transformOrigin:"left center"},t.isRtl?(0,ce.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,ce.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${ks.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ks.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),js=(0,qt.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,dn.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let zs=!1,Gs=null,Vs={x:0,y:0};function Us(e,t){return n=>{t&&t(n),e(n)}}const Zs=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,y,g,v,b,C;const E=(0,yt.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:L=!1,disableHoverListener:w=!1,disableInteractive:N=!1,disableTouchListener:_=!1,enterDelay:T=100,enterNextDelay:P=0,enterTouchDelay:A=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:U={},slotProps:Z={},slots:$={},title:W,TransitionComponent:H=Pr,TransitionProps:K}=E,X=(0,ue.Z)(E,Ms),Y=se(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=N||D,ae=t.useRef(),ie=t.useRef(),le=t.useRef(),de=t.useRef(),[fe,pe]=(0,ya.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=fe;const qe=(0,As.Z)(k),ye=t.useRef(),ge=t.useCallback((()=>{void 0!==ye.current&&(document.body.style.WebkitUserSelect=ye.current,ye.current=void 0),clearTimeout(de.current)}),[]);t.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(ie.current),clearTimeout(le.current),ge()}),[ge]);const ve=e=>{clearTimeout(Gs),zs=!0,pe(!0),j&&!me&&j(e)},be=(0,pn.Z)((e=>{clearTimeout(Gs),Gs=setTimeout((()=>{zs=!1}),800+M),pe(!1),B&&me&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),Ce=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(ie.current),clearTimeout(le.current),T||zs&&P?ie.current=setTimeout((()=>{ve(e)}),zs?P:T):ve(e))},Ee=e=>{clearTimeout(ie.current),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),M)},{isFocusVisibleRef:Se,onBlur:Oe,onFocus:Ie,ref:Re}=(0,mn.Z)(),[,xe]=t.useState(!1),Le=e=>{Oe(e),!1===Se.current&&(xe(!1),Ee(e))},we=e=>{J||ee(e.currentTarget),Ie(e),!0===Se.current&&(xe(!0),Ce(e))},Ne=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},_e=Ce,Te=Ee;t.useEffect((()=>{if(me)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||be(e)}}),[be,me]);const Pe=(0,fn.Z)(O.ref,Re,ee,n);W||0===W||(me=!1);const Ae=t.useRef(),De={},ke="string"==typeof W;x?(De.title=me||!ke||w?null:W,De["aria-describedby"]=me?qe:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=me&&!ke?qe:null);const Me=(0,ce.Z)({},De,X,O.props,{className:(0,st.Z)(X.className,O.props.className),onTouchStart:Ne,ref:Pe},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),Vs={x:e.clientX,y:e.clientY},Ae.current&&Ae.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{Ne(e),clearTimeout(le.current),clearTimeout(ae.current),ge(),ye.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",de.current=setTimeout((()=>{document.body.style.WebkitUserSelect=ye.current,Ce(e)}),A)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),ge(),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),F)}),w||(Me.onMouseOver=Us(_e,Me.onMouseOver),Me.onMouseLeave=Us(Te,Me.onMouseLeave),oe||(Fe.onMouseOver=_e,Fe.onMouseLeave=Te)),L||(Me.onFocus=Us(we,Me.onFocus),Me.onBlur=Us(Le,Me.onBlur),oe||(Fe.onFocus=we,Fe.onBlur=Le));const Be=t.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=U.popperOptions)&&e.modifiers&&(t=t.concat(U.popperOptions.modifiers)),(0,ce.Z)({},U.popperOptions,{modifiers:t})}),[te,U]),je=(0,ce.Z)({},E,{isRtl:Q,arrow:S,disableInteractive:oe,placement:G,PopperComponentProp:V,touch:re.current}),ze=(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,nn.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,ht.Z)(i,Ds,t)})(je),Ge=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Fs,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Pr,Ue=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Bs,Ze=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:js,$e=ur(Ge,(0,ce.Z)({},U,null!=(f=Z.popper)?f:R.popper,{className:(0,st.Z)(ze.popper,null==U?void 0:U.className,null==(p=null!=(m=Z.popper)?m:R.popper)?void 0:p.className)}),je),We=ur(Ve,(0,ce.Z)({},K,null!=(h=Z.transition)?h:R.transition),je),He=ur(Ue,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,st.Z)(ze.tooltip,null==(y=null!=(g=Z.tooltip)?g:R.tooltip)?void 0:y.className)}),je),Ke=ur(Ze,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,st.Z)(ze.arrow,null==(b=null!=(C=Z.arrow)?C:R.arrow)?void 0:b.className)}),je);return(0,he.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,he.jsx)(Ge,(0,ce.Z)({as:null!=V?V:Ps,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Vs.y,left:Vs.x,right:Vs.x,bottom:Vs.y,width:0,height:0})}:J,popperRef:Ae,open:!!J&&me,id:qe,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,he.jsx)(Ve,(0,ce.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,he.jsxs)(Ue,(0,ce.Z)({},He,{children:[W,S?(0,he.jsx)(Ze,(0,ce.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),$s=Zs,Ws=(0,qt.ZP)(un,{shouldForwardProp:e=>!["width","dense"].includes(e)})((({width:e,dense:t})=>({minWidth:`${e}px`,textAlign:"center",fontSize:t?"12px":"14px",...t&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:e}})));function Hs({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(We);return t.createElement($s,{title:o?a.get(n):""},t.createElement(Ws,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var Ks=o(50528);const Xs=(0,qt.ZP)(So)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),Ys=(0,qt.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),Qs=(0,qt.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),Js=(0,qt.ZP)(Ks.Z)((()=>({fontSize:"14px"})));function ec({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(Xs,{left:l,style:{maxWidth:i}},t.createElement(Ys,null,t.createElement(Hs,{text:e,dense:r,width:s,tooltip:c})),t.createElement(Qs,{dense:r},a&&t.createElement(or,{"aria-label":"close",onClick:()=>n()},t.createElement(Js,null))))}const tc=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,nc=80;function rc({itemWidth:e,layout:t,frequencyMode:n}){const r=e>nc,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["N",void 0].includes(n);return!(!r||!a&&!o)}const oc=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:`[${e.replace(/\]/g,"]]")}]`:e)(e);return`Max(AGGR(Count(${t}), ${t}))`},ac=(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=oc(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},ic=100,lc=(0,qt.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function sc({model:e,app:n,constraints:r,theme:o,layout:a,selections:i,selectionState:l,direction:s,checkboxes:c,height:u,width:d,frequencyMode:f,update:p,fetchStart:m,postProcessPages:h,calculatePagesHeight:q=!1,keyboard:y={},showGray:g=!0,scrollState:v,selectDisabled:b=(()=>!1),keyScroll:C={state:{},reset:()=>{}},currentScrollIndex:E={set:()=>{}},renderedCallback:S,onCtrlF:O,showSearch:I,isModal:R}){const{translator:x}=(0,t.useContext)(We),[L,w]=(0,t.useState)(!1),N=!(!a||!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:_=c,histogram:T}=a??{},[P,A]=(0,t.useState)(""),D=(0,t.useRef)(null),k=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),M=(0,t.useRef)({pages:[]}),{frequencyMax:F,awaitingFrequencyMax:B}=ac(n,a),{isLoadingData:j,...z}=function({local:e,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}){const[s,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)([]);let[f]=(0,t.useState)(0);const p=(t,s)=>{const u=e.current.dataOffset;e.current.queue.push({start:t+u,stop:s+u});const p=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return e.current.queue.length>10&&e.current.queue.shift(),clearTimeout(e.current.timeout),c(!0),new Promise((t=>{e.current.timeout=setTimeout((()=>{const n=e.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>f?n.start-f:0,qHeight:f,qLeft:0,qWidth:1},{qTop:n.start,qHeight:f,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;e.current.validPages=!0,l.current.pages=r,d(r),c(!1),t()}));o&&o(a)}),p?a:0)}))};return{loadMoreItems:{with:({minimumBatchSize:e})=>(e&&(f=e),p)},pages:u,isLoading:s}}({local:k,loaderRef:D,model:e,fetchStart:m,scrollTimeout:0,postProcessPages:h,listData:M}),{getStoreValue:G,setStoreValue:V}=hl(e),U=(0,t.useCallback)(z.loadMoreItems,[a]),[Z,$]=(0,t.useState)({show:!1,dismissed:!1}),[W,H]=(0,t.useState)([]);z?.pages&&l.update({setPages:H,pages:z.pages,isSingleSelect:N,selectDisabled:b,layout:a});const K=a?.qListObject.qDimensionInfo.qCardinal;(z?.pages.length&&!B||0===K)&&S?.();const X=(0,t.useCallback)((e=>{if(!W?.length||!k.current.validPages)return!1;k.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=W.filter((e=>t(e)))[0];return n&&t(n)}),[a,W]),{interactionEvents:Y,select:Q}=function({selectionState:e,selections:n,checkboxes:r=!1,doc:o=document,loaderRef:a}){const i=(0,t.useRef)({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});(0,t.useEffect)((()=>{if(!a.current?._listRef?._outerRef)return;const e=e=>e.preventDefault(),t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=a.current._listRef._outerRef;return r.addEventListener("gesturestart",e),r.addEventListener("gesturechange",t),r.addEventListener("gestureend",n),()=>{r.removeEventListener("gesturestart",e),r.removeEventListener("gesturechange",t),r.removeEventListener("gestureend",n)}}),[a.current?._listRef?._outerRef]);const l=()=>(e.setSelectableValuesUpdating(),zo({selections:n,elemNumbers:i.current.elemNumbers,isSingleSelect:e.isSingleSelect,toggle:i.current.toggle})),s=(t,n)=>function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([t,n],function(e){if(!e||!e.length)return[];const t=e.map((e=>e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}))));return jo(t)}(e.enginePages)),c=t=>{const{startElemNumber:n}=i.current;if(n===t)return;const r=s(i.current.startElemNumber,t);e.updateItems(r,!0,i.current.elemNumbers)},u=(0,t.useCallback)((t=>{if(e.selectDisabled())return;const n=+t.target.getAttribute("data-n"),r=!e.isSingleSelect&&Zo(t.nativeEvent);i.current.elemNumbers=[n],i.current.toggle=r,r||e.clearItemStates(!0),e.updateItem(n),i.current.active=!1,l()}),[]),d=(0,t.useCallback)((t=>{if(0!==t.button||e.selectDisabled())return;const n=+t.currentTarget.getAttribute("data-n"),r=!e.isSingleSelect&&Zo(t);i.current.isRange=!1,i.current.startElemNumber=n,i.current.elemNumbers=[n],i.current.toggle=r,i.current.active=!0,r||e.clearItemStates(!0),e.updateItem(n),e.isSingleSelect&&(i.current.active=!1,l()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(t,t.currentTarget)}),[]),f=(0,t.useCallback)((e=>{if(0===e.button&&i.current.active){if(i.current.active=!1,i.current.isRange){const t=+e.currentTarget.getAttribute("data-n");c(t)}l()}}),[]),p=(0,t.useCallback)((e=>{0===e.button&&i.current.active&&(i.current.active=!1,l())}),[]),m=(0,t.useCallback)((t=>{if(!i.current.active)return;i.current.isRange||(i.current.isRange=!0,e.isSelected(i.current.startElemNumber)||(e.updateItem(i.current.startElemNumber,!0),i.current.elemNumbers=[]));const n=+t.currentTarget.getAttribute("data-n");c(n)}),[]),h=(0,t.useCallback)((t=>{if(i.current.active||i.current.isRange||e.isSingleSelect||t.touches.length<=1)return;if(t.touches.length>2)return void l();const n=Number(t.touches[0].target?.closest(Uo)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Uo)?.getAttribute("data-n"));Number.isNaN(n)||Number.isNaN(n)?l():(i.current.active=!0,s(n,r).length<7&&(i.current.touchRangeSmall=!0),i.current.elemNumbers=[],i.current.touchElemNumbers=[n,r])}),[]),q=(0,t.useCallback)((()=>{if(2!==i.current.touchElemNumbers.length)return;if(i.current.touchRangeSmall)return i.current.touchRangeSmall=!1,i.current.touchElemNumbers=[],void(i.current.active=!1);const[e,t]=i.current.touchElemNumbers;i.current.startElemNumber=e,c(t),i.current.touchElemNumbers=[],i.current.active=!1,i.current.toggle=!0,l()}),[]);(0,t.useEffect)((()=>(o.addEventListener("mouseup",p),()=>{o.removeEventListener("mouseup",p)})),[p]),(0,t.useEffect)((()=>{const t=()=>{e.clearItemStates(!1)},r=()=>{e.clearItemStates(!0),e.triggerStateChanged()};return n.on("clearItemStates",t),n.on("deactivated",t),n.on("cleared",r),()=>{n.removeListener("clearItemStates",t),n.removeListener("deactivated",t),n.removeListener("cleared",r)}}),[n]);const y={};return r?Object.assign(y,{onChange:u}):Object.assign(y,{onMouseUp:f,onMouseDown:d,onMouseEnter:m,onTouchStart:h,onTouchEnd:q}),{interactionEvents:y,select:(t=[],r=!1,o=void 0)=>{const a=!e.isSingleSelect&&Zo(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),zo({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:l,selections:i,checkboxes:_,doc:document,loaderRef:D}),{layoutOptions:J={}}=a||{};let ee=!0;J.dataLayout&&(ee="singleColumn"===J.dataLayout||"row"===J?.layoutOrder);const te="grid"===J?.dataLayout,ne=e=>{const t={...ee?{rowIndex:e}:{columnIndex:e}},n=te?t:e;D.current._listRef.scrollToItem(n)},re=()=>{if(k.current.queue=[],k.current.validPages=!1,D.current){D.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===C.state.scrollPosition;if(a&&a.qSelectionInfo.qInSelections||e)return void(e&&C.reset());k.current.dataOffset=0,ne(0)}};p&&p.call(null,re),(0,t.useEffect)((()=>{v&&!L&&D.current&&(D.current._listRef.scrollToItem(v.initScrollPos),w(!0))}),[D.current]),(0,t.useEffect)((()=>{re()}),[a,k.current.dataOffset]);let oe=ic;const ae="grid"!==J.dataLayout,ie=a?.qListObject.qSize?.qcy,le=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?fl({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:W,minimumBatchSize:oe,count:ie,calculatePagesHeight:q,layoutOptions:J,model:e});let se=rc({itemWidth:d,layout:a,frequencyMode:f});const ce=function(e){return e.some((({qMatrix:e})=>e.some((([e])=>!!e.qFrequency?.match("%")))))?"P":"-"}(W),ue=dl({layout:a,width:d,height:u,listCount:le,count:ie,freqIsAllowed:se,checkboxes:_,theme:o});ue.columnWidth&&(se=rc({itemWidth:ue.columnWidth,layout:a,frequencyMode:f}));const{listCount:de}=ue;V("listCount",de);const fe=G("inputText");(0,t.useEffect)((()=>{if(fe){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(de),t=x.get(e,[de]);A(t)}}),[fe,de]);const pe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function({position:e,isRow:t,sizes:n,layout:r,offset:o}){let a,i=!1,l=o??0;switch(e){case"start":a=0;break;case"end":a=t?n.rowCount:n.columnCount;break;case"overflowStart":l=0,a=0,i=!0;break;case"overflowEnd":l=tc(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:ee,sizes:ue,layout:a,offset:k.current.dataOffset});k.current.dataOffset=n,r&&l.triggerStateChanged(),ne(t)};(0,t.useEffect)((()=>{const e=C.state;e.up?ne(E.state.start-e.up):e.down?ne(E.state.stop+e.down):e.scrollPosition&&pe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&C.reset()}),[C.state.up,C.state.down,C.state.scrollPosition]);const{textAlign:me}=a?.qListObject.qDimensionInfo||{},[he,qe]=(0,t.useState)({first:!1,last:!1}),{List:ye,Grid:ge}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,deducedFrequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:m,textAlign:h,selections:q,keyboard:y,showGray:g,scrollState:v,direction:b,sizes:C,listCount:E,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:L,freqIsAllowed:w,translator:N,showSearch:_,isModal:T}){const{layoutOptions:P={}}=e||{},{columnWidth:A,listHeight:D,itemHeight:k,rowCount:M,columnCount:F}=C||{},B=("grid"===P.dataLayout?A:n)>Qo,j={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:tl.styledScrollbars},z=e?.qListObject.qDimensionInfo.qLocked,G={isLocked:z,column:!a,pages:i,...z||l()?{}:s,checkboxes:r,layoutOptions:P,deducedFrequencyMode:c,freqIsAllowed:w,isSingleSelect:d,textAlign:h,sizes:C,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:m},frequencyMax:L,histogram:u,keyboard:y,showGray:g,showTick:B,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:N,showSearch:_,isModal:T};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(ll,il({},j,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:D,width:n,itemCount:E,itemData:{...G,listCount:E},itemSize:k,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),al({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:F,rowCount:M,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Pi)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=C,{layoutOrder:s}=P||{},c=Math.min(D,M*k+l);return o.current.listRef=a,t.createElement(sl,il({},j,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:F,columnWidth:A,rowCount:M,rowHeight:k,style:{...i},itemData:{...G,column:void 0,columnCount:F,rowCount:M},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:M,columnCount:F});al({renderProps:t,layoutOptions:P,maxCount:C.maxCount,columnCount:F,rowCount:M,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Pi)}}}({direction:s,layout:a,height:u,width:d,checkboxes:_,deducedFrequencyMode:ce,histogram:T,keyboard:y,showGray:g,interactionEvents:Y,select:Q,selectAll:()=>{l.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:O,textAlign:me,isVertical:ae,pages:W,selectDisabled:b,isSingleSelect:N,selections:i,scrollState:v,local:k,sizes:ue,listCount:de,overflowDisclaimer:{state:Z,set:e=>$((t=>({...t,show:e})))},setScrollPosition:pe,focusListItems:{first:he.first,setFirst:e=>qe((t=>({...t,first:e}))),last:he.last,setLast:e=>qe((t=>({...t,last:e})))},setCurrentScrollIndex:E.set,constraints:r,frequencyMax:F,freqIsAllowed:se,translator:x,showSearch:I,isModal:R}),{columnWidth:ve,listHeight:be,itemHeight:Ce}=ue||{};return ae||(oe=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:d,columnWidth:ve,listHeight:be,itemHeight:Ce})),t.createElement(lc,null,t.createElement(xi,{className:"screenReaderOnly",layout:a}),t.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},P),!de&&K>0&&t.createElement(Hs,{width:d,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(Fo,{isItemLoaded:X,itemCount:de||1,loadMoreItems:U.with({minimumBatchSize:oe}),threshold:0,minimumBatchSize:oe,ref:D,role:"grid"},ae?ye:ge),Z.show&&!Z.dismissed&&t.createElement(ec,{text:"Listbox.ItemsOverflow",dismiss:()=>$((e=>({...e,dismissed:!0}))),parentWidth:D?.current?._listRef?.props?.width,dense:J?.dense}))}const cc=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"}}]}),uc=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"}}]}),dc=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"}}]}),fc=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"}}]}),pc=({layout:e,model:t,translator:n,selectionState:r,isDirectQuery:o=!1})=>e.qListObject.qDimensionInfo.qIsOneAndOnlyOne?[]:[{key:"selectAll",type:"menu-icon-button",label:n.get("Selection.SelectAll"),getSvgIconShape:cc,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:dc,enabled:()=>["qOption"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectPossible("/qListObjectDef")}},!o&&{key:"selectAlternative",type:"menu-icon-button",label:n.get("Selection.SelectAlternative"),getSvgIconShape:uc,enabled:()=>["qAlternative"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectAlternative("/qListObjectDef")}},!o&&{key:"selectExcluded",type:"menu-icon-button",label:n.get("Selection.SelectExcluded"),getSvgIconShape:fc,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function mc(e){return(0,Pe.Z)("MuiDivider",e)}const hc=(0,Te.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),qc=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],yc=(0,qt.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,ce.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,dn.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,ce.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,ce.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,ce.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),gc=(0,qt.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),vc=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=(0,ue.Z)(n,qc),m=(0,ce.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,ht.Z)(c,mc,r)})(m);return(0,he.jsx)(yc,(0,ce.Z)({as:i,className:(0,st.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,he.jsx)(gc,{className:h.wrapper,ownerState:m,children:o}):null}))})),bc=vc,Cc=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 Ec(e){const t=se(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const Sc={className:"njs-cell-action"},Oc=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=Ec(n);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=n.keyboardAction||n.action,f=d?e=>["Enter"].includes(e.key)&&d():null,p=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,m=`actions-toolbar-${n.key}`;return t.createElement(or,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[Sc.className,m].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":m},c&&Jt(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Ic=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"}}]}),Rc=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"}}]}),xc=e=>Jt(Rc(e)),Lc=t.createContext({});var wc=o(5429);function Nc(e){return(0,Pe.Z)("MuiListItemIcon",e)}const _c=(0,Te.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Tc=(0,Te.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Pc(e){return(0,Pe.Z)("MuiMenuItem",e)}const Ac=(0,Te.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Dc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],kc=(0,qt.ZP)(Qn,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ac.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ac.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ac.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dn.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,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ac.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ac.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${hc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${hc.inset}`]:{marginLeft:52},[`& .${Tc.root}`]:{marginTop:0,marginBottom:0},[`& .${Tc.inset}`]:{paddingLeft:36},[`& .${_c.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,ce.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${_c.root} svg`]:{fontSize:"1.25rem"}})))),Mc=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:l=!1,disableGutters:s=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f}=r,p=(0,ue.Z)(r,Dc),m=t.useContext(Lc),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,wc.Z)((()=>{o&&q.current&&q.current.focus()}),[o]);const y=(0,ce.Z)({},r,{dense:h.dense,divider:l,disableGutters:s}),g=(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,ht.Z)(l,Pc,i);return(0,ce.Z)({},i,s)})(r),v=(0,fn.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,he.jsx)(Lc.Provider,{value:h,children:(0,he.jsx)(kc,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,st.Z)(g.focusVisible,c),className:(0,st.Z)(g.root,f)},p,{ownerState:y,classes:g}))})})),Fc=Mc,Bc=["className"],jc=(0,qt.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,ce.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),zc=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Bc),i=t.useContext(Lc),l=(0,ce.Z)({},r,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,ht.Z)(r,Nc,n)})(l);return(0,he.jsx)(jc,(0,ce.Z)({className:(0,st.Z)(s.root,o),ownerState:l,ref:n},a))})),Gc=zc;function Vc(e){return(0,Pe.Z)("MuiList",e)}o(5356),(0,Te.Z)("MuiList",["root","padding","dense","subheader"]);const Uc=["children","className","component","dense","disablePadding","subheader"],Zc=(0,qt.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,ce.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),$c=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:c}=r,u=(0,ue.Z)(r,Uc),d=t.useMemo((()=>({dense:l})),[l]),f=(0,ce.Z)({},r,{component:i,dense:l,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,a={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,ht.Z)(a,Vc,t)})(f);return(0,he.jsx)(Lc.Provider,{value:d,children:(0,he.jsxs)(Zc,(0,ce.Z)({as:i,className:(0,st.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Wc=$c,Hc=zr,Kc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Xc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Yc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Qc(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 Jc(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")&&Qc(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const eu=t.forwardRef((function(e,n){const{actions:r,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=e,f=(0,ue.Z)(e,Kc),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,wc.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=`${Hc((0,qr.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,fn.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1))):q===n&&(q+=1,q>=i.length&&(q=-1))}));const y=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,he.jsx)(Wc,(0,ce.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,qr.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Jc(t,r,c,s,Xc);else if("ArrowUp"===n)e.preventDefault(),Jc(t,r,c,s,Yc);else if("Home"===n)e.preventDefault(),Jc(t,null,c,s,Xc);else if("End"===n)e.preventDefault(),Jc(t,null,c,s,Yc);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&&Qc(r,o);o.previousKeyMatched&&(l||Jc(t,r,!1,s,Xc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:y}))}));function tu(){return tu=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},tu.apply(this,arguments)}const nu="More-icon",ru=(0,qt.ZP)(Do)((({theme:e})=>({pointerEvents:"none",[`& .${nu}`]:{color:e.palette.text.primary}})));function ou({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=Ec(e);return o?null:t.createElement(Fc,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Gc,{className:nu},Jt(e.getSvgIconShape())),t.createElement(un,{noWrap:!0},e.label))}const au=t.forwardRef((({actions:e=[],show:n=!0,alignTo:r,popoverProps:o={},popoverPaperStyle:a={},onCloseOrActionClick:i=(()=>{})},l)=>{const s=e.length>0,c=e.findIndex((e=>!e.disabled));return s&&t.createElement(ru,tu({},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(eu,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(ou,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),iu="ActionsToolbar",lu={item:`${iu}-item`,itemSpacing:`${iu}-itemSpacing`},su=(0,qt.ZP)(Do)((({theme:e})=>({[`& .${lu.itemSpacing}`]:{padding:e.spacing(0,.25)}}))),cu=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],addAnchor:o=!1,isRtl:a=!1},i)=>r.length>0?t.createElement(Lt,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,r)=>t.createElement(Lt,{item:!0,key:e.key,className:`${lu.itemSpacing} ${lu.item}`},t.createElement(Oc,{ariaExpanded:n,key:e.key,item:e,ref:0===r?i:null,addAnchor:o}))))):null)),uu={pointerEvents:"none"},du={vertical:"bottom",horizontal:"right"},fu=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)(We);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:Rc},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Ic},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:$o}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(We),[p,m]=(0,t.useState)(!1),h={vertical:12,horizontal:(i.anchorEl?.clientWidth??0)-7},q=(0,t.useRef)(),y=(0,t.useRef)(),g=se(),v=(0,t.useMemo)((()=>({margin:g.spacing(.5,0)}))),b=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]},C=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case wi.ARROW_LEFT:case wi.ARROW_DOWN:case wi.ARROW_RIGHT:case wi.ARROW_UP:if(a.classList.contains("njs-cell-action")){const e=(e=>{const t=e.closest("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)})(a);(e=>{const t=document.querySelector("#actions-toolbar"),n=t?.querySelectorAll(".njs-cell-action");n.length&&n[Math.min(Math.max(0,e),n.length-1)].focus()})([wi.ARROW_LEFT,wi.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case wi.SPACE:o.preventDefault();break;case wi.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case wi.ESCAPE:r&&(r.onCancel(),r.api.cancel(),o.preventDefault(),o.stopPropagation())}}}({keyboardNavigation:f,focusHandler:l,getEnabledButton:b,selections:o})),[f,l,b,o]);(0,t.useEffect)((()=>()=>{m(!1)}),[i.show,e,o.show]),(0,t.useEffect)((()=>{l&&(l.on("focus_toolbar_first",(()=>{const e=b(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=b(!0);e&&e.focus()})))}),[]);let E=a.enabled,S=a.actions;const O=a.alignTo||y,I=n.filter((e=>!e.hidden));if(I.length>r){const e=I.splice(-(I.length-r)-1);E=!0,S=[...e,...a.actions]}if(!o.show&&0===I.length)return null;const R={key:"more",label:d.get("Menu.More"),getSvgIconShape:Cc,hidden:!1,active:p,enabled:()=>E,action:()=>m(!p)},x=I.length>0,L=S.length>0,w=x&&o.show||L&&o.show,N="rtl"===c,_=t.createElement(Lt,{ref:q,onKeyDown:C,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:N?"row-reverse":"row"}},x&&t.createElement(cu,{actions:I}),L&&t.createElement(cu,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:p,actions:[R],addAnchor:!0}),w&&t.createElement(Lt,{item:!0,className:lu.itemSpacing,style:v},t.createElement(bc,{orientation:"vertical"})),o.show&&t.createElement(cu,{className:"actions-toolbar-default-actions",actions:u,isRtl:N}),p&&t.createElement(au,{show:p,actions:S,alignTo:O,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(su,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:h,transformOrigin:du,hideBackdrop:!0,style:uu,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.5,.25)}}},_):e&&_};function pu(e){return(0,Pe.Z)("MuiInputAdornment",e)}const mu=(0,Te.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var hu;const qu=["children","className","component","disablePointerEvents","disableTypography","position","variant"],yu=(0,qt.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,nn.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${mu.positionStart}&:not(.${mu.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),gu=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:l=!1,disableTypography:s=!1,position:c,variant:u}=r,d=(0,ue.Z)(r,qu),f=sa()||{};let p=u;u&&f.variant,f&&!p&&(p=f.variant);const m=(0,ce.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,nn.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,nn.Z)(a)}`]};return(0,ht.Z)(l,pu,t)})(m);return(0,he.jsx)(la.Provider,{value:null,children:(0,he.jsx)(yu,(0,ce.Z)({as:i,ownerState:m,className:(0,st.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,he.jsxs)(t.Fragment,{children:["start"===c?hu||(hu=(0,he.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,he.jsx)(un,{color:"text.secondary",children:o})}))})})),vu=gu;var bu;const Cu=["children","classes","className","label","notched"],Eu=(0,qt.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%"}),Su=(0,qt.ZP)("legend")((({ownerState:e,theme:t})=>(0,ce.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,ce.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Ou(e){return(0,Pe.Z)("MuiInputBase",e)}const Iu=(0,Te.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function Ru(e){return(0,Pe.Z)("MuiOutlinedInput",e)}const xu=(0,ce.Z)({},Iu,(0,Te.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Lu=o(89274),wu=o(59743);const Nu=["onChange","maxRows","minRows","style","value"];function _u(e){return parseInt(e,10)||0}const Tu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Pu(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Au=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=lr(e,Nu),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,sr.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,jr.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=_u(n.paddingBottom)+_u(n.paddingTop),s=_u(n.borderBottomWidth)+_u(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]),y=(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},g=t.useCallback((()=>{const e=q();Pu(e)||h((t=>y(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,wu.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();Pu(e)||lt.flushSync((()=>{h((t=>y(t,e)))}))})()}));let t;const n=u.current,r=(0,jr.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,Mr.Z)((()=>{g()})),t.useEffect((()=>{p.current=0}),[l]),(0,he.jsxs)(t.Fragment,{children:[(0,he.jsx)("textarea",ir({value:l,onChange:e=>{p.current=0,c||g(),r&&r(e)},ref:d,rows:a,style:ir({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,he.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:ir({},Tu,i,{padding:0})})]})}));function Du(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,he.jsx)(Nn,{styles:r})}const ku=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,he.jsx)(Du,{styles:o})},Mu=function(e){return(0,he.jsx)(ku,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function Fu(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Bu=["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"],ju=(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,nn.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},zu=(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]},Gu=(0,qt.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ju})((({theme:e,ownerState:t})=>(0,ce.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Iu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,ce.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Vu=(0,qt.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:zu})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,ce.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,ce.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${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"})})),Uu=(0,he.jsx)(Mu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Zu=t.forwardRef((function(e,n){var r;const o=(0,yt.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:y="input",inputProps:g={},inputRef:v,maxRows:b,minRows:C,multiline:E=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:L,onKeyUp:w,placeholder:N,readOnly:_,renderSuffix:T,rows:P,slotProps:A={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Bu),j=null!=g.value?g.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),U=(0,fn.Z)(G,v,g.ref,V),[Z,$]=t.useState(!1),W=sa(),H=da({props:o,muiFormControl:W,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=W?W.focused:Z,t.useEffect((()=>{!W&&f&&Z&&($(!1),O&&O())}),[W,f,Z,O]);const K=W&&W.onFilled,X=W&&W.onEmpty,Y=t.useCallback((e=>{!function(e,t=!1){return e&&(Fu(e.value)&&""!==e.value||t&&Fu(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,wc.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=y,J=g;E&&"input"===Q&&(J=P?(0,ce.Z)({type:void 0,minRows:P,maxRows:P},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:C},J),Q=Au),t.useEffect((()=>{W&&W.setAdornedStart(Boolean(k))}),[W,k]);const ee=(0,ce.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,nn.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,ht.Z)(h,Ou,t)})(ee),ne=D.root||c.Root||Gu,re=A.root||u.root||{},oe=D.input||c.Input||Vu;return J=(0,ce.Z)({},J,null!=(r=A.input)?r:u.input),(0,he.jsxs)(t.Fragment,{children:[!p&&Uu,(0,he.jsxs)(ne,(0,ce.Z)({},re,!cr(ne)&&{ownerState:(0,ce.Z)({},ee,re.ownerState)},{ref:n,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),R&&!H.disabled&&R(e)}},B,{className:(0,st.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,he.jsx)(la.Provider,{value:null,children:(0,he.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:N,readOnly:_,required:H.required,rows:P,value:j,onKeyDown:L,onKeyUp:w,type:M},J,!cr(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:U,className:(0,st.Z)(te.input,J.className,_&&"MuiInputBase-readOnly"),onBlur:e=>{O&&O(e),g.onBlur&&g.onBlur(e),W&&W.onBlur?W.onBlur(e):$(!1)},onChange:(e,...t)=>{if(!z){const t=e.target||G.current;if(null==t)throw new Error((0,Lu.Z)(1));Y({value:t.value})}g.onChange&&g.onChange(e,...t),I&&I(e,...t)},onFocus:e=>{H.disabled?e.stopPropagation():(x&&x(e),g.onFocus&&g.onFocus(e),W&&W.onFocus?W.onFocus(e):$(!0))}}))}),m,T?T((0,ce.Z)({},H,{startAdornment:k})):null]}))]})})),$u=Zu,Wu=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Hu=(0,qt.ZP)(Gu,{shouldForwardProp:e=>(0,qt.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:ju})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,ce.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${xu.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${xu.focused} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${xu.error} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${xu.disabled} .${xu.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,ce.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Ku=(0,qt.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Cu),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,he.jsx)(Eu,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,he.jsx)(Su,{ownerState:i,children:a?(0,he.jsx)("span",{children:n}):bu||(bu=(0,he.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}})),Xu=(0,qt.ZP)(Vu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:zu})((({theme:e,ownerState:t})=>(0,ce.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Yu=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,yt.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,y=(0,ue.Z)(s,Wu),g=(e=>{const{classes:t}=e,n=(0,ht.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ru,t);return(0,ce.Z)({},t,n)})(s),v=sa(),b=da({props:s,muiFormControl:v,states:["required"]}),C=(0,ce.Z)({},s,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:q}),E=null!=(r=null!=(o=h.root)?o:c.Root)?r:Hu,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:Xu;return(0,he.jsx)($u,(0,ce.Z)({slots:{root:E,input:S},renderSuffix:e=>(0,he.jsx)(Ku,{ownerState:C,className:g.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,he.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},y,{classes:(0,ce.Z)({},g,{notchedOutline:null})}))}));Yu.muiName="Input";const Qu=Yu,Ju=e=>Jt((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)),ed="/qListObjectDef",td="**",nd=(0,qt.ZP)(vu)((({theme:e})=>({color:e.listBox?.content?.color}))),rd=(0,qt.ZP)(Qu)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function od({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)(We),[p,m]=(0,t.useState)(""),[h,q]=(0,t.useState)(!1),y=(0,t.useRef)(),g=se(),{getStoreValue:v,setStoreValue:b}=hl(r),C="rtl"===u,E=C?"right":"left",S=async()=>{if(e.isModal())try{await r.abortListObjectSearch(ed)}finally{m("")}};(0,t.useEffect)((()=>{i||S()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",S),()=>{e.removeListener&&e.removeListener("deactivated",S)})),[]),(0,t.useEffect)((()=>{if(h&&y.current){const e=p.length-1;y.current.setSelectionRange(e,e),q(!1)}}),[h,y.current]),(0,t.useEffect)((()=>{b("inputText",p)}),[p]);function O(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(rd,{startAdornment:t.createElement(nd,{position:"start"},t.createElement(Ju,{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:`${Yo}px`},a&&{fontSize:12,paddingLeft:g.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:C?"row-reverse":"row"}],inputRef:y,size:"small",fullWidth:!0,placeholder:f.get("Listbox.Search"),value:p,onFocus:()=>{s&&(m(td),q(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(ed,e.target.value):S()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(ed,p)&&p.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(ed,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":O(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(O(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),O(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:`${E}`},"data-testid":"search-input-field","aria-label":f.get("ScreenReader.SearchFieldLabel")}}):null}function ad(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const id=({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 ad(i),i},ld=({elements:e,objectSelections:t,options:n={}})=>{const r=function({elements:e,handleClickOutside:t}){return n=>{if(!document.contains(n.target))return;const r=e.map((e=>"string"==typeof e?document.querySelector(e):e?.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((e=>e.contains(n.target)))&&t(n)}}({elements:e,handleClickOutside:()=>t.confirm.call(t)});return{activateClickOut(){document.addEventListener("mousedown",r),n?.onSelectionActivated?.()},deactivateClickOut(){document.removeEventListener("mousedown",r),n?.onSelectionDeactivated?.()}}};function sd(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=rt(e),[l]=Ht(n),s=n?n.id:null,[c]=Ye(),[u]=Je(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=id({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}=ld({elements:a,objectSelections:f,options:o});return f.addListener("activated",e),f.addListener("deactivated",t),()=>{f.isActive()&&f.confirm(),f.removeListener("activated",e),f.removeListener("deactivated",t)}}),[f]),(0,t.useEffect)((()=>{f&&f.setLayout(l)}),[f,l]),[f]}function cd(){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,!!Bo.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return jo(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 ud=(e,t,n=void 0)=>e?.[t]??n;function dd({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=se(),h=(0,t.useRef)(),[q]=Vt({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),y=(0,t.useCallback)((()=>{q.lock("/qListObjectDef")}),[q]),g=(0,t.useCallback)((()=>{q.unlock("/qListObjectDef")}),[q]),{translator:v}=(0,t.useContext)(We),b=(0,t.useRef)(),C=(0,t.useRef)(),[E]=sd(i,q,C),[S]=Ht(q),[O]=(0,t.useState)((()=>cd()));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=pc({layout:S,model:q,translator:v,selectionState:O}),L=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return ud(t,"qSelected",0)+ud(t,"qSelectedExcluded",0)+ud(t,"qLocked",0)+ud(t,"qLockedExcluded",0)>0}(S);return t.createElement(Do,{open:d,onClose:R,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Lt,{container:!0,direction:"column",gap:0,ref:C},t.createElement(Lt,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Lt,{item:!0},I?t.createElement(or,{onClick:g,disabled:!I,size:"large"},t.createElement(tn,{title:v.get("Listbox.Unlock")})):t.createElement(or,{onClick:y,disabled:!L,size:"large"},t.createElement(ar,{title:v.get("Listbox.Lock")}))),t.createElement(Lt,{item:!0,xs:!0}),t.createElement(Lt,{item:!0},t.createElement(fu,{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(Lt,{item:!0,xs:!0},t.createElement("div",{ref:b}),t.createElement(Lt,{item:!0,ref:h},t.createElement(od,{visible:!0,model:q,listCount:f,selections:E,selectionState:O,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(sc,{model:q,app:i,layout:S,selections:E,selectionState:O,direction:"ltr",onSetListCount:e=>p(e),onCtrlF:()=>{const e=h.current.querySelector("input");e?.focus()},theme:m}))))}function fd({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(We),s=a||(0,t.useRef)(),c=se(),[u,d]=(0,t.useState)(!1),f=()=>{d(!1),i()},p=e.selections[r];void 0===p.qTotal&&(p.qTotal=0);const 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,y=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/p.qTotal,g=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,v=0===g&&0===p.qTotal;let b="";p.qTotal===g&&p.qTotal>1?b=l.get("CurrentSelections.All"):g>1&&p.qTotal?b=l.get("CurrentSelections.Of",[g,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:y}];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(Lt,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(un,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(un,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(tn,null))):p.qOneAndOnlyOne||(S=t.createElement(Lt,{item:!0},t.createElement(or,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(en,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(Lt,{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(dd,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(dd,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const pd=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function md(e){return(0,Pe.Z)("MuiBadge",e)}const hd=(0,Te.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),qd=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],yd=(0,qt.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),gd=(0,qt.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,nn.Z)(n.anchorOrigin.vertical)}${(0,nn.Z)(n.anchorOrigin.horizontal)}${(0,nn.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.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%",[`&.${hd.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),vd=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,yt.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:y=!1,max:g=99,badgeContent:v,slots:b,slotProps:C,showZero:E=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,qd),{badgeContent:I,invisible:R,max:x,displayValue:L}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=pd({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:g,invisible:y,badgeContent:v,showZero:E}),w=pd({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),N=R||null==I&&"dot"!==S,{color:_=q,overlap:T=h,anchorOrigin:P=c,variant:A=S}=N?w:s,D="dot"!==A?L:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:N,max:x,displayValue:D,showZero:E,anchorOrigin:P,color:_,overlap:T,variant:A}),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,nn.Z)(n.vertical)}${(0,nn.Z)(n.horizontal)}`,`anchorOrigin${(0,nn.Z)(n.vertical)}${(0,nn.Z)(n.horizontal)}${(0,nn.Z)(o)}`,`overlap${(0,nn.Z)(o)}`,"default"!==t&&`color${(0,nn.Z)(t)}`]};return(0,ht.Z)(l,md,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:yd,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:gd,j=null!=(i=null==C?void 0:C.root)?i:p.root,z=null!=(l=null==C?void 0:C.badge)?l:p.badge,G=mr({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,st.Z)(null==j?void 0:j.className,M.root,u)}),V=mr({elementType:B,externalSlotProps:z,ownerState:k,className:(0,st.Z)(M.badge,null==z?void 0:z.className)});return(0,he.jsxs)(F,(0,ce.Z)({},G,{children:[m,(0,he.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),bd=vd;var Cd=o(6842);function Ed(e){return(0,Pe.Z)("MuiListItem",e)}const Sd=(0,Te.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Od=(0,Te.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Id(e){return(0,Pe.Z)("MuiListItemSecondaryAction",e)}(0,Te.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const Rd=["className"],xd=(0,qt.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,ce.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ld=t.forwardRef((function(e,n){const r=(0,yt.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,Rd),i=t.useContext(Lc),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,ht.Z)(r,Id,n)})(l);return(0,he.jsx)(xd,(0,ce.Z)({className:(0,st.Z)(s.root,o),ownerState:l,ref:n},a))}));Ld.muiName="ListItemSecondaryAction";const wd=Ld,Nd=["className"],_d=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Td=(0,qt.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,ce.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,ce.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Od.root}`]:{paddingRight:48}},{[`&.${Sd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sd.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"}},[`&.${Sd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dn.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,dn.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Pd=(0,qt.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ad=t.forwardRef((function(e,n){const r=(0,yt.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:y=!1,divider:g=!1,focusVisibleClassName:v,secondaryAction:b,selected:C=!1,slotProps:E={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,Nd),I=(0,ue.Z)(r,_d),R=t.useContext(Lc),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),L=t.useRef(null);(0,wc.Z)((()=>{a&&L.current&&L.current.focus()}),[a]);const w=t.Children.toArray(l),N=w.length&&(0,Cd.Z)(w[w.length-1],["ListItemSecondaryAction"]),_=(0,ce.Z)({},r,{alignItems:o,autoFocus:a,button:i,dense:x.dense,disabled:h,disableGutters:q,disablePadding:y,divider:g,hasSecondaryAction:N,selected:C}),T=(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,ht.Z)(d,Ed,r)})(_),P=(0,fn.Z)(L,n),A=S.root||u.Root||Td,D=E.root||d.root||{},k=(0,ce.Z)({className:(0,st.Z)(T.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,st.Z)(Sd.focusVisible,v),M=Qn),N?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,he.jsx)(Lc.Provider,{value:x,children:(0,he.jsxs)(Pd,(0,ce.Z)({as:f,className:(0,st.Z)(T.container,p),ref:P,ownerState:_},O,{children:[(0,he.jsx)(A,(0,ce.Z)({},D,!cr(A)&&{as:M,ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:w})),w.pop()]}))})):(0,he.jsx)(Lc.Provider,{value:x,children:(0,he.jsxs)(A,(0,ce.Z)({},D,{as:M,ref:P},!cr(A)&&{ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:[w,b&&(0,he.jsx)(wd,{children:b})]}))})})),Dd=Ad;var kd=o(13467);const Md=t.createContext({}),Fd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Bd=e=>(0,ce.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),jd=(0,qt.ZP)(Qn,{shouldForwardProp:e=>(0,qt.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,nn.Z)(n.color)}`],t[`size${(0,nn.Z)(n.size)}`],t[`${n.variant}Size${(0,nn.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,ce.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,ce.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,dn.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,dn.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,dn.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${De.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${De.disabled}`]:(0,ce.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,dn.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${De.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${De.disabled}`]:{boxShadow:"none"}})),zd=(0,qt.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,nn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Bd(e)))),Gd=(0,qt.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,nn.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Bd(e)))),Vd=t.forwardRef((function(e,n){const r=t.useContext(Md),o=(0,kd.Z)(r,e),a=(0,yt.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:y,type:g,variant:v="text"}=a,b=(0,ue.Z)(a,Fd),C=(0,ce.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:g,variant:v}),E=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,nn.Z)(t)}`,`size${(0,nn.Z)(o)}`,`${a}Size${(0,nn.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,nn.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,nn.Z)(o)}`]},s=(0,ht.Z)(l,Ae,i);return(0,ce.Z)({},i,s)})(C),S=y&&(0,he.jsx)(zd,{className:E.startIcon,ownerState:C,children:y}),O=p&&(0,he.jsx)(Gd,{className:E.endIcon,ownerState:C,children:p});return(0,he.jsxs)(jd,(0,ce.Z)({ownerState:C,className:(0,st.Z)(r.className,E.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,st.Z)(E.focusVisible,m),ref:n,type:g},b,{classes:E,children:[S,i,O]}))})),Ud=Vd,Zd=e=>Jt((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)),$d={item:"MultiState-item"},Wd=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${$d.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function Hd({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)(We),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Lt,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(bd,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(un,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Lt,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(Zd,null)))));const q=t.createElement(Wc,{dense:!0},t.createElement(Dd,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Ud,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(Dd,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(Ci,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(fd,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),y=t.createElement(Do,{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),g=r?y:t.createElement(Wd,{container:!0,gap:0,className:$d.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&y,l>-1&&t.createElement(dd,{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(dd,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):g}const Kd="More",Xd={item:`${Kd}-item`,badge:`${Kd}-badge`},Yd=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${Xd.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${Xd.badge}`]:{padding:e.spacing(0,1)}})));function Qd({items:e=[],api:n}){const r=se(),[o,a]=(0,t.useState)(!1),[i,l]=(0,t.useState)(-1),[s,c]=(0,t.useState)(null),u=(0,t.useRef)(),d=()=>{l(-1)};let f=null;return i>-1&&(f=e[i].states.length>1?t.createElement(Hd,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(fd,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(Yd,{container:!0,gap:0,className:Xd.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Lt,{item:!0},t.createElement(Ci,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(un,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Lt,{item:!0},t.createElement(or,{size:"large"},t.createElement(Zd,null))),o&&t.createElement(Do,{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(Wc,{dense:!0},e.map(((e,r)=>t.createElement(Dd,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(Ci,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(Hd,{field:e,api:n}):t.createElement(fd,{field:e,api:n}))))))),f)}const Jd=120,ef=72;function tf(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 nf({api:e,app:n}){const r=se(),[o]=Zt(n),[a]=Ht(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=tt(),[c,u]=Xt(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-ef,n=Math.floor(t/Jd);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&tf(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>tf(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(Lt,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Lt,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${Jd}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(Hd,{field:n,api:e}):t.createElement(fd,{field:n,api:e})))),i.more.length>0&&t.createElement(Lt,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${ef}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(Qd,{items:i.more,api:e})))}const rf=e=>Jt((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)),of=e=>Jt((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)),af=(e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)};function lf({api:e,app:n}){const{translator:r}=(0,t.useContext)(We),[o]=function(e){const[n]=Zt(e),[r]=Ht(n),[o]=Kt(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&af(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(Lt,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Lt,{item:!0},t.createElement(or,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(rf,null))),t.createElement(Lt,{item:!0},t.createElement(or,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(of,null))),t.createElement(Lt,{item:!0},t.createElement(or,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(xc,null))))}const sf=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function cf([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function uf(){return sf.map(cf).join("")}function df({app:e}){const n=se(),[r]=rt(e);return r?t.createElement(Lt,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Lt,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(lf,{api:r,app:e})),t.createElement(Lt,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(nf,{api:r,app:e}))):null}let ff;ff="undefined"!=typeof window?window:"undefined"!=typeof self?self:o.g;let pf=null,mf=null;const hf=ff.clearTimeout,qf=ff.setTimeout,yf=ff.cancelAnimationFrame||ff.mozCancelAnimationFrame||ff.webkitCancelAnimationFrame,gf=ff.requestAnimationFrame||ff.mozRequestAnimationFrame||ff.webkitRequestAnimationFrame;null==yf||null==gf?(pf=hf,mf=function(e){return qf(e,20)}):(pf=function([e,t]){yf(e),hf(t)},mf=function(e){const t=gf((function(){hf(n),e()})),n=qf((function(){yf(t),e()}),20);return[t,n]});class vf extends t.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(a=l.paddingTop)&&void 0!==a?a:"0"),d=parseFloat(null!==(i=l.paddingBottom)&&void 0!==i?i:"0"),f=this._parentNode.getBoundingClientRect(),p=f.height-u-d,m=f.width-s-c,h=this._parentNode.offsetHeight-u-d,q=this._parentNode.offsetWidth-s-c;(e||this.state.height===h&&this.state.scaledHeight===p)&&(t||this.state.width===q&&this.state.scaledWidth===m)||(this.setState({height:h,width:q,scaledHeight:p,scaledWidth:m}),"function"==typeof n&&n({height:h,scaledHeight:p,scaledWidth:m,width:q}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=function(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&pf(this.__resizeRAF__),this.__resizeRAF__=mf((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=ff.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o=!1,disableWidth:a=!1,nonce:i,onResize:l,style:s={},tagName:c="div",...u}=this.props,{height:d,scaledHeight:f,scaledWidth:p,width:m}=this.state,h={overflow:"visible"},q={};let y=!1;return o||(0===d&&(y=!0),h.height=0,q.height=d,q.scaledHeight=f),a||(0===m&&(y=!0),h.width=0,q.width=m,q.scaledWidth=p),(0,t.createElement)(c,{ref:this._setRef,style:{...h,...s},...u},!y&&e(q))}}const bf=e=>Jt((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 Cf(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function Ef(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function Sf({keyboard:e,hovering:t,updateKeyScroll:n,containerRef:r,currentScrollIndex:o,isModal:a,constraints:i}){return{handleKeyDown:t=>{const{keyCode:n,shiftKey:o=!1}=t.nativeEvent,i=()=>{t.stopPropagation(),t.preventDefault()};if(!e.enabled)return;const l=t.currentTarget.closest(".listbox-container"),s=a();switch(n){case wi.TAB:if(s)o?Ti(l)||_i(l):_i(l)||Ti(l);else{if(!o)break;e.blur(!0)}i();break;case wi.ENTER:case wi.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case wi.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=Ef(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{Cf(r.current),n.classList.add("last-focused"),e.blur();const t=n.closest(".listbox-container");t.setAttribute("tabIndex",-1),t?.focus()}})(t)}},handleOnMouseEnter:()=>{(()=>{const e=i?.select||i?.active,t=a();return e||t})()||(t.current=!0)},handleOnMouseLeave:()=>{t.current&&(t.current=!1)},globalKeyDown:e=>{if(!t.current)return;const{keyCode:r,ctrlKey:a=!1,shiftKey:i=!1}=e;switch(r){case wi.ARROW_UP:n({up:1});break;case wi.ARROW_DOWN:n({down:1});break;case wi.PAGE_UP:n({up:o.stop-o.start});break;case wi.PAGE_DOWN:n({down:o.stop-o.start});break;case wi.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case wi.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const Of=(0,qt.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function If({text:e}){const{translator:n}=(0,t.useContext)(We);return t.createElement(Of,null,n.get(e))}function Rf(){return Rf=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},Rf.apply(this,arguments)}const xf="ListBoxInline",Lf={listBoxHeader:`${xf}-listBoxHeader`,screenReaderOnly:`${xf}-screenReaderOnly`,listboxWrapper:`${xf}-listboxWrapper`},wf=(0,qt.ZP)(Lt,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${Lf.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Lf.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Lf.listboxWrapper}`]:{padding:t},"&:focus":{boxShadow:`inset 0 0 0 2px ${e.palette.custom.focusBorder} !important`},"&:focus ::-webkit-scrollbar-track":{boxShadow:n?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}))),Nf=(0,qt.ZP)(un)((({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 _f({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:y=!0,scrollState:g,renderedCallback:v,toolbar:b=!0,isPopover:C=!1}=e,E=se(),S=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:O,keyboardNavigation:I,themeApi:R,constraints:x}=(0,t.useContext)(We);E.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")}}})(R);const L=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),w=(0,t.useRef)(),[N,_]=Xt(),[T,P]=(()=>{const[e,n]=(0,t.useState)({});return[e,(0,t.useCallback)((e=>{n({current:e})}),[n])]})(),[A,D]=(0,t.useState)(!1),[k,M]=(0,t.useState)(!1),F=(0,t.useRef)(!1),[B,j]=(0,t.useState)({down:0,up:0,scrollPosition:""}),z=e=>j((t=>({...t,...e}))),[G,V]=(0,t.useState)({start:0,stop:0}),[U]=rt(r),Z=(0,t.useRef)(null),[$]=(0,t.useState)((()=>cd())),W=function({containerRef:e,enabled:n}){const[r,o]=(0,t.useState)(!1);return{enabled:n,active:r,innerTabStops:!n||r,blur(t){if(!n)return;o(!1);const r=Ef(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Cf(e.current),t&&r&&(r.setAttribute("tabIndex",0),r.focus())},focus(){if(!n)return;o(!0);const t=e.current,r=t?.querySelector(".search input"),a=t?.querySelector(".value.last-focused"),i=t?.querySelector(".value.selector, .value"),l=t?.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||a||i||l;s?.setAttribute("tabIndex",0),s?.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");e?.setAttribute("tabIndex",0),e?.focus()}}}({containerRef:w,enabled:I}),H=(0,t.useCallback)((()=>(({app:e,appSelections:t})=>e.isInModalSelection?.()??t.isInModal())({app:r,appSelections:U})),[r,U]),K=n?.qListObject.qDimensionInfo.qError,X=K&&x.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[Y,Q]=(0,t.useState)(!1),{handleKeyDown:J,handleOnMouseEnter:ee,handleOnMouseLeave:te,globalKeyDown:ne}=(0,t.useMemo)((()=>Sf({keyboard:W,hovering:F,updateKeyScroll:z,containerRef:w,currentScrollIndex:G,app:r,appSelections:U,constraints:x,isModal:H})),[W,F,z,w,G,r,U,x,H]),re=b&&(""===n?.title||!1===n?.showTitle)&&!C,oe=b&&""!==n?.title&&!1!==n?.showTitle||C;(0,t.useEffect)((()=>(document.addEventListener("keydown",ne),()=>{document.removeEventListener("keydown",ne)})),[ne]),(0,t.useEffect)((()=>{const e=()=>{D(!0)},t=()=>{D(!1),"toggle"===l&&M(!1)};return C&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),D(C)),d&&(d.isModal()||(d.on("activated",e),d.on("deactivated",t)),D(d.isActive())),()=>{d&&d.removeListener&&(d.removeListener("activated",e),d.removeListener("deactivated",t))}}),[d,C]),(0,t.useEffect)((()=>{if(T&&T.current&&(l&&s||"toggle"===l&&k)){const e=T.current.querySelector("input");e&&e.focus()}}),[T&&T.current,k,l,s]);const{wildCardSearch:ae,searchEnabled:ie,layoutOptions:le={}}=n??{},ce=!1!==ie&&"toggle"===l,ue=!0===n?.qListObject?.qDimensionInfo?.qLocked,de=ue||ce,fe="H"===n?.qListObject?.qDimensionInfo?.qGrouping,pe=de||fe,me=(de?28:0)+(fe?19:0),he="rtl"===o,qe=Yo-(de?7:0),ye=he?Yo-(pe?7:0):4;if((0,t.useEffect)((()=>{if(!Z.current||!_)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n,headerPaddingLeft:r,headerPaddingRight:o}){const a=r+o;return!!(e.width<(t?.current?.clientWidth??0)+n+a+2+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:_,titleRef:Z,iconsWidth:me,headerPaddingLeft:qe,headerPaddingRight:ye});Q(e)}),[Z.current,_]),!u||!n||!O)return null;const ge=pc({layout:n,model:u,translator:O,selectionState:$,isDirectQuery:L}),ve=(!0===l||"toggle"===l&&k)&&!m()&&!1!==ie,be=le.dense??!1,Ce=oe?49+(ve?be?27:40:0)+(be?39:49):0,Ee=()=>{M(!k)},Se=()=>{if("toggle"===l)Ee();else{const e=T.current.querySelector("input");e?.focus()}},Oe=e=>function({isDetached:e,showToolbar:t,containerRef:n,isLocked:r,listboxSelectionToolbarItems:o,selections:a,keyboard:i}){return{show:t&&!e,popover:{show:t&&e,anchorEl:n.current},more:{enabled:!r,actions:o,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:t,api:a,onConfirm:()=>{i?.focus()},onCancel:()=>{i?.focus()}}}}({isDetached:!C&&e,showToolbar:A,containerRef:w,isLocked:ue,listboxSelectionToolbarItems:ge,selections:d,keyboard:W}),Ie=ve&&"toggle"===l,Re="grid"===le?.dataLayout;let xe;Re&&(xe="row"===le.layoutOrder?"2px 4px":"2px 6px 2px 4px");const Le=x?.active?t.createElement(Ju,{title:O.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(or,{onClick:Ee,tabIndex:-1,title:O.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(Ju,{style:{fontSize:"12px"}})),we=m()?t.createElement(tn,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(or,{title:O.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:S,size:"large"},t.createElement(tn,{disableRipple:!0,style:{fontSize:"12px"}}));return K&&v?.(),t.createElement(t.Fragment,null,re&&t.createElement(fu,Rf({direction:o},Oe(!0))),t.createElement(wf,{className:"listbox-container",container:!0,tabIndex:W.enabled?-1:void 0,direction:"column",gap:0,containerPadding:xe,style:{height:"100%",minHeight:`${Ce}px`,flexFlow:"column nowrap"},onKeyDown:J,onMouseEnter:ee,onMouseLeave:te,ref:e=>{w.current=e,N(e)},isGridMode:Re},oe&&t.createElement(Lt,{item:!0,container:!0,minHeight:32,flexDirection:he?"row-reverse":"row",marginY:1,paddingLeft:`${qe}px`,paddingRight:`${ye}px`,wrap:"nowrap"},pe&&t.createElement(Lt,{item:!0,container:!0,alignItems:"center",width:me},ue?we:ce&&Le,fe&&t.createElement(bf,{tabIndex:-1,title:O.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Lt,{item:!0,xs:!0,minWidth:0,justifyContent:he?"flex-end":"flex-start",className:Lf.listBoxHeader},t.createElement(Nf,{variant:"h6",noWrap:!0,ref:Z,title:n.title},n.title)),t.createElement(Lt,{item:!0},t.createElement(fu,Rf({direction:o},Oe(Y))))),t.createElement(Lt,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":O.get("Listbox.ResultFilterLabel")},t.createElement(Lt,{item:!0,ref:P},t.createElement("div",{className:Lf.screenReaderOnly},O.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(od,{selections:d,selectionState:$,model:u,dense:be,keyboard:W,visible:ve,search:l,autoFocus:Ie,wildCardSearch:ae,searchEnabled:ie,direction:o,hide:ce&&Ee})),t.createElement(Lt,{item:!0,xs:!0,className:Lf.listboxWrapper},t.createElement("div",{className:Lf.screenReaderOnly},O.get("Listbox.ScreenReaderInstructions")),K?t.createElement(If,{text:X}):t.createElement(vf,null,(({height:e,width:l})=>t.createElement(sc,{model:u,app:r,theme:E,constraints:x,layout:n,selections:d,selectionState:$,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:y,scrollState:g,keyScroll:{state:B,reset:()=>j({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:G,set:V},renderedCallback:v,onCtrlF:Se,isModal:H})))))))}const Tf=t.memo(_f),Pf=function({options:e={}}){const{model:n}=e,[r]=Ht(n);return t.createElement(Tf,{options:e,layout:r})},Af={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function Df(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const kf=(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 Mf({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i});s||Object.assign(i,{frequencyMode:Df(i.frequencyMode)});const[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=zt(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;let{histogram:m=!1,frequencyMode:h="N"}=o;a&&a.failedToFetchFieldDef&&(m=!1,h="N"),(0,t.useEffect)((()=>{const t=m||"N"!==h;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:q,checkboxes:y,listLayout:g,properties:v={}}=o,b={dense:q};"horizontal"===g&&(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=uf());const E=G()(!0,{},Af,{qInfo:{qId:C.current},qListObjectDef:{qStateName:r,qFrequencyMode:m&&"N"===h?"V":h},histogram:m,checkboxes:y,layoutOptions:b,title:p});let S;if(G()(!0,E,v),n.qLibraryId?(E.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==h&&m)if(a?.multiFieldDim)E.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;E.frequencyMax={qValueExpression:oc(e)}}const[O]=Vt(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:sd(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(Pf,{options:h}):null}const Ff={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Bf({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(dd,{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 jf(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function zf(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 Gf=e=>({qDef:{qFieldDefs:[e]}}),Vf=e=>({qDef:{qDef:e}});function Uf({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?Gf(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||uf(),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),jf(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 zf(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Vf(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||uf(),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),jf(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];zf(e.qInterColumnSortOrder,e.qDimensions.length+n),t.measures.removed(o,r,n)},maxDimensions:()=>t.dimensions.max(e.qMeasures.length),maxMeasures:()=>t.measures.max(e.qDimensions.length),canAddDimension:()=>e.qDimensions.length<o.maxDimensions(),canAddMeasure:()=>e.qMeasures.length<o.maxMeasures()};return o}const Zf=e=>({qDef:{qFieldDefs:[e]}});function $f({dc:e,def:t,properties:n}){e.qInitialDataFetch=e.qInitialDataFetch||[];const r=n,o={dimensions:()=>e.qLibraryId||e.qDef&&e.qDef.qFieldDefs&&0!==e.qDef.qFieldDefs.length?[e]:[],measures:()=>[],addDimension(n){const o="string"==typeof n?Zf(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||uf(),o.qDef.qSortCriterias=e.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(o).forEach((t=>{e[t]=o[t]})),t.dimensions.added(o,r),o},removeDimension(n){const o=e;return delete e.qDef,delete e.qLibraryId,t.dimensions.removed(o,r,n),o},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===o.dimensions().length,canAddMeasure:()=>!1};return o}const Wf=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Af,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Af,e):G()(!0,{},Af,{qListObjectDef:e}),t};function Hf({children:e,halo:t}){return{async addDimension(n){const r=Wf(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||uf(),!r.title)if(o.qLibraryId){const e=await t.app.getDimension(o.qLibraryId),n=await e.getProperties();n.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:n.qDim.qLabelExpression}}:r.title=n.qDim.title}else r.title=o.qDef.title||o.qDef.qFieldLabels?.[0]||o.qDef.qFieldDefs?.[0];e.push({qProperty:r,qChildren:[]})},addMeasure(){}}}function Kf(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}async function Xf({sn:e,properties:t,fields:n,children:r},o){if(!n.length)return;const a=e.qae.data.targets[0];if(!a)return void console.warn("Attempting to add fields to an object without a specified data target");const{propertyPath:i}=a,l=i.split("/");let s=t;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){return e.match("/qListObjectDef")?$f:e.match("/qChildListDef")?Hf:Uf}(i),u=c({dc:s,def:a,properties:t,children:r,halo:o});for(let e=0;e<n.length;++e){const t=n[e];"measure"===Kf(t)?await u.addMeasure(t):await u.addDimension(t)}}const Yf=(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},Qf=(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]},Jf=e=>0===Object.keys(e).length&&e.constructor===Object,ep=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},tp=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},np=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},rp=2**53-1;function op(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function ap(e,t){const n=G()(!0,{},t,e);return Yf(n,"qOtherTotalSpec.qOtherCounted")||Qf(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Yf(n,"qOtherTotalSpec.qOtherLimit")||Qf(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function ip(e,t){return G()(!0,{},t,e)}function lp(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const sp={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===Yf(e,t)&&Qf(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:op,importCommonProperties:function(e,t,n){const r="masterobject"===Yf(t,"properties.qInfo.qType")?"masterobject":Yf(n,"qInfo.qType");Qf(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:ap,createDefaultMeasure:ip,resolveValue:lp,getHypercubePath:function(e){const t=Yf(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?(tp(t.qInterColumnSortOrder,o),++o):(--o,np(t.qInterColumnSortOrder,o))},createNewProperties:function({exportFormat:e,initialProperties:t,hypercubePath:n}){let r={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(e.properties).forEach((o=>{"qLayoutExclude"===o?e.properties[o].quarantine&&(r.qLayoutExclude.quarantine=G()(!0,{},e.properties[o].quarantine)):"qHyperCubeDef"===o&&n?Qf(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||op(o)?r[o]=e.properties[o]:r.qLayoutExclude.disabled[o]=e.properties[o]})),r=G()(!0,{},t,r),null===r.components&&(r.components=[]),r},getMaxMinDimensionMeasure:function({exportFormat:e,dataDefinition:t={}}){const n=e.data[0],r=t.dimensions||{max:0},o=t.measures||{max:0},a=lp(o.max,n.dimensions.length,rp),i=lp(o.min,n.dimensions.length,0);return{maxDimensions:lp(r.max,a,rp),minDimensions:lp(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(ap(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(ap(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(ap(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(ip(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(ip(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(ip(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=Yf(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=Yf(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},cp={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=Yf(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();ep(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&&(sp.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!Jf(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude,n}(e),importProperties:e=>function({exportFormat:e,initialProperties:t={},dataDefinition:n={},defaultPropertyValues:r={},hypercubePath:o}){const a={qChildren:[]},i=sp.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=Yf(t,o||"").qHyperCubeDef,s=Yf(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=sp.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=sp.getDefaultDimension(),defaultMeasure:m=sp.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,sp.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&sp.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),sp.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),sp.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),sp.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),sp.copyPropertyIfExist("qMaxStackedCells",l,s),sp.copyPropertyIfExist("qNoOfLeftDims",l,s),sp.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),sp.copyPropertyOrSetDefault("qMode",l,s,"S"),sp.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),sp.copyPropertyOrSetDefault("qSortbyYValue",l,s),sp.copyPropertyOrSetDefault("qIndentMode",l,s),sp.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),sp.importCommonProperties(i,e,t),sp.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),sp.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},up=e=>Yf(e,"data.targets.0.propertyPath"),dp=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 cp.exportProperties})(up(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 cp.importProperties})(up(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:sp.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...Yf(s,"properties.initial",{})},dataDefinition:Yf(s,"data.targets.0.",{}),hypercubePath:sp.getHypercubePath(s)})},fp={hypercube:cp};function pp(e){return(0,Pe.Z)("MuiIcon",e)}(0,Te.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mp=["baseClassName","className","color","component","fontSize"],hp=(0,qt.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,nn.Z)(n.color)}`],t[`fontSize${(0,nn.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]}))),qp=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=(0,ue.Z)(n,mp),c=(0,ce.Z)({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,nn.Z)(t)}`,`fontSize${(0,nn.Z)(n)}`]};return(0,ht.Z)(o,pp,r)})(c);return(0,he.jsx)(hp,(0,ce.Z)({as:i,className:(0,st.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));qp.muiName="Icon";const yp=qp,gp=e=>Jt((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 vp({d:e}){const n=se();let r="inherit",o=n.palette.success.main;e.missing?o=n.palette.warning.main:e.error&&(r="error",o=n.palette.error.main);const a={color:o},i=t.createElement(un,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(yp,null,e.missing||e.error?t.createElement(gp,{style:a}):t.createElement(Wo,{style:a})));return t.createElement(Lt,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Lt,{item:!0},i),t.createElement(Lt,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(un,{noWrap:!0,component:"p"},t.createElement(un,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(un,{component:"span"}," "),t.createElement(un,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function bp({data:e}){const n=se();return t.createElement(Lt,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(vp,{d:e,key:n})));return o.length>0&&t.createElement(Lt,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(un,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function Cp({title:e="Error",message:n="",data:r=[]}){return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Lt,{item:!0},t.createElement(gp,{style:{fontSize:"38px"}})),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(bp,{data:r}))}function Ep(e){return(0,Pe.Z)("MuiCircularProgress",e)}(0,Te.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Sp=["className","color","disableShrink","size","style","thickness","value","variant"];let Op,Ip,Rp,xp,Lp=e=>e;const wp=Tn(Op||(Op=Lp`
76
76
  0% {
77
77
  transform: rotate(0deg);
78
78
  }
@@ -99,4 +99,4 @@
99
99
  animation: ${0} 1.4s linear infinite;
100
100
  `),wp))),Tp=(0,qt.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Pp=(0,qt.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,nn.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,ce.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&_n(xp||(xp=Lp`
101
101
  animation: ${0} 1.4s ease-in-out infinite;
102
- `),Np))),Ap=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=(0,ue.Z)(n,Sp),f=(0,ce.Z)({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),p=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,a={root:["root",n,`color${(0,nn.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,nn.Z)(n)}`,o&&"circleDisableShrink"]};return(0,ht.Z)(a,Ep,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,he.jsx)(_p,(0,ce.Z)({className:(0,st.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,he.jsx)(Tp,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,he.jsx)(Pp,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),Dp=Ap;function kp(){return kp=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},kp.apply(this,arguments)}const Mp="Progress",Fp={root:`${Mp}-root`,front:`${Mp}-front`,back:`${Mp}-back`},Bp=(0,qt.ZP)("div")((({theme:e})=>({[`&.${Fp.root}`]:{position:"relative",display:"inline-block"},[`& .${Fp.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${Fp.back}`]:{color:e.palette.divider}}))),jp={small:16,medium:32,large:64,xlarge:128};function zp({size:e="medium",...n}){const r=jp[e];return t.createElement(Bp,{className:Fp.root},t.createElement(Dp,kp({variant:"determinate",value:100,className:Fp.back,size:r,thickness:3},n)),t.createElement(Dp,kp({variant:"indeterminate",disableShrink:!0,className:Fp.front,size:r,thickness:3},n)))}function Gp(){return Gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gp.apply(this,arguments)}const Vp={stripes:"LongRunningQuery-stripes"},Up=(0,qt.ZP)(Lt)((()=>({[`& .${Vp.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 Zp({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Up,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Lt,{item:!0},t.createElement(zp,null)),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Lt,Gp({item:!0},r),t.createElement(Ud,{variant:"contained",onClick:e},n.get("Cancel"))))}function $p({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Lt,{item:!0},t.createElement(gp,{style:{fontSize:"38px"}})),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Lt,{item:!0},t.createElement(Ud,Gp({variant:"contained",onClick:e},r),n.get("Retry"))))}function Wp({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(We);return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Vp.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Zp,{cancel:r.cancel,translator:o,className:Vp.cancel}),n&&t.createElement($p,{retry:r.retry,translator:o,className:Vp.retry}))}function Hp(){return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(zp,{size:"large"}))}const Kp="Header",Xp={containerStyle:`${Kp}-containerStyle`,containerTitleStyle:`${Kp}-containerTitleStyle`},Yp=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${Xp.containerStyle}`]:{flexGrow:0},[`&.${Xp.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),Qp=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a,titleStyles:i={}}){const l=e.showTitles&&!!e.title,s=e.showTitles&&!!e.subtitle,c=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[u,d]=(0,t.useState)([]),[f,p]=Xt(),[m,h]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!p)return;const{width:e}=p;h(e<221)}),[p]);const q=l||s,y=[Xp.containerStyle,...q?[Xp.containerTitleStyle]:[]],g=(o||c)&&(m||!q),v=q&&!g&&!m,b=t.createElement(fu,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(Yp,{ref:f,item:!0,container:!0,wrap:"nowrap",className:y.join(" ")},t.createElement(Lt,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Lt,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(un,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(un,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Lt,{item:!0},b))},Jp="Footer-itemStyle",em=(0,qt.ZP)(Lt)((({theme:e})=>({[`& .${Jp}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),tm=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(em,{container:!0},t.createElement(Lt,{item:!0,className:Jp},t.createElement(un,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class nm{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 rm=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,interactions:d,keyboardNavigation:f}=(0,t.useContext)(We),[p]=(0,t.useState)((()=>new nm)),[m,h]=(0,t.useState)(!1),[q,y]=(0,t.useState)(0),[g,v,b]=Xt(),[C,E]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&E(e)}),[]);return(0,t.useEffect)((()=>{if(C)return l.created({options:n}),l.mounted(C),h(!0),()=>{p.stop(),l.willUnmount()}}),[C,l]),(0,t.useEffect)((()=>{m&&C&&v&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),u.edit||t.push("edit"),i.app&&i.app.session&&t.push("fetch"),Promise.resolve(l.render({layout:o,options:n,plugins:r,embed:i.public.nebbie,context:{constraints:u,interactions:d,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===q&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),y(q+1))}))})))}),[v,n,r,C,b,o,a,s,c,u,d,m,f]),t.createElement("div",{ref:g,"data-render-count":q,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:S,style:{position:"absolute",width:"100%",height:"100%"}}))},om={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},am={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function im(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;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,r)),"expression"===n.mode&&(r=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const o=function(e){let t="center center";return e?.bgImage?.position&&(t=am[e.bgImage.position]),t}(e),a=function(e){let t=om.originalSize;return e?.bgImage?.sizing&&(t=om[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function lm(e,t,n){const r=e?.bgColor;return r&&t?r.useExpression?t.validateColor(r.colorExpression):r.color&&"none"!==r.color.color?t.getColorPickerColor(r.color,!0):void 0:t&&n?t.getStyle(`object.${n}`,"","backgroundColor"):t?t.getStyle("","","backgroundColor"):void 0}function sm(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color,!0):n.getStyle(`object.${r}`,t,"color"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const cm=(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 um({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(Hp,null):null}const dm=e=>!e.qError||7005===e.qError.qErrorCode,fm=(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}})),pm=e=>e&&(Array.isArray(e)?e:[e])||[],mm=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:fm(o,pm(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:fm(a,pm(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},hm=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s},c)=>{const{app:u,types:d}=e,{nebbie:f}=e.public,{theme:p,translator:m,language:h,keyboardNavigation:q,disableCellPadding:y=!1}=(0,t.useContext)(We),g=se(),[v,b,C]=Xt(),[E,S]=(0,t.useReducer)(cm,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,{validating:R,canCancel:x,canRetry:L},w]=Ht(n),[N]=Kt(u),[_,T,P]=Xt(),[A,D]=(0,t.useState)(r),[k,M]=(0,t.useState)(o),F=`njs-cell-${l}`,[B]=sd(u,n,[`#${F}`,".njs-action-toolbar-popover"]),[j,z]=(0,t.useState)(!1),G=(0,t.useRef)({enter:null,leave:null}),[V,U]=(0,t.useState)(void 0),[Z,$]=(0,t.useState)(void 0),[W,H]=(0,t.useState)(void 0),K=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{ad(K.current)}),[]),(0,t.useEffect)((()=>{if(I&&e.public.theme){const t=I.components?I.components.find((e=>"general"===e.key)):null;H({main:sm(t,"main",e.public.theme,I.visualization),footer:sm(t,"footer",e.public.theme,I.visualization),subTitle:sm(t,"subTitle",e.public.theme,I.visualization)}),U(lm(t,e.public.theme,I.visualization)),$(im(t,e.app))}}),[I,e.public.theme,e.app,p]),K.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&P&&P.focus()},K.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!N||!I)return;if(E.visualization===I.visualization&&E.sn)return void(async e=>{const[t,r]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),m=pm(p.qDimensionInfo||p.qItems).filter(dm),h=pm(p.qMeasureInfo).filter(dm);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=mm(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]}],y=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:y}]})(m,I,e.generator.qae.data,n);S(t?{type:"ERROR",error:r}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:E.sn,layout:I,model:n})})(E.sn);const e=d.getSupportedVersion(I.visualization,I.version);return(async(e,t)=>{S({type:"LOADING"});const r=await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c})=>{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,emitter:c})}catch(t){e(r?{type:"ERROR",error:{title:t.message}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}})}})({dispatch:S,types:d,visualization:e,version:t,model:n,app:u,selections:B,nebbie:f,focusHandler:K.current,emitter:s});r&&(S({type:"LOADED",sn:r,visualization:e}),i())})(I.visualization,e),()=>{}}),[d,E.sn,n,B,I,N,h]),(0,t.useEffect)((()=>{if(!R)return;const e=setTimeout((()=>S({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[R]),(0,t.useImperativeHandle)(c,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:D,setSnPlugins:M,getImperativeHandle:()=>E.sn?.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{},async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(I));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:N,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[E.sn,T,b,I,g.name,N]);let X=null;return E.loading&&!E.longRunningQuery?X=t.createElement(um,null):E.error?X=t.createElement(Cp,E.error):E.loaded&&(X=t.createElement(rm,{key:I.visualization,sn:E.sn,halo:e,snOptions:A,snPlugins:k,layout:I,appLayout:N})),t.createElement(So,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:V||"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:v,id:F,onMouseEnter:()=>{G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((()=>{z(!0),G.current.enter=null}),250))},onMouseLeave:()=>{G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((()=>{z(!1),G.current.leave=null}),750))}},t.createElement(Lt,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...y?{}:{padding:g.spacing(1)},...E.longRunningQuery?{opacity:"0.3"}:{}}},C&&I&&E.sn&&t.createElement(Qp,{layout:I,sn:E.sn,anchorEl:C,hovering:j,focusHandler:K.current,titleStyles:W}," "),t.createElement(Lt,{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:_},X),C&&I&&E.sn&&t.createElement(tm,{layout:I,titleStyles:W})),E.longRunningQuery&&t.createElement(Wp,{canCancel:x,canRetry:L,api:w}))}));function qm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function ym(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],(qm(i)&&qm(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(...ym(`${e}${o}/`,t[o],n[o]))})),r}function gm(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 vm=()=>{};async function bm(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=vm,l=null,s=null,c=null,u=null;const d=new Promise((e=>{c=e})),f=new Promise((e=>{u=e})),p=e=>()=>{e&&e(),u()};let m={},h=[];const q=new(i()),y={id:e.id,model:e,async destroy(){await o(),a(),a=vm},async convertTo(t,r=!0){const o=await dp({halo:n,model:e,cellRef:l,newType:t});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},addListener(e,t){q.addListener(e,t)},removeListener(e,t){q.removeListener(e,t)},getImperativeHandle:async()=>(await f,l.current.getImperativeHandle()),__DO_NOT_USE__:{mount(o){if(s)throw new Error("Already mounted");return s=o,[a,l]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s}){const{root:c}=e,u=t.createRef(),d=uf(),f=lt.createPortal(t.createElement(hm,{ref:u,halo:e,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l}),n,d),p=()=>{c.remove(f),r.removeListener("closed",p)};return r.on("closed",p),c.add(f),c.addCell(d,u),[p,u]}({halo:n,element:o,model:e,initialSnOptions:m,initialSnPlugins:h,initialError:r,onMount:c,emitter:q}),d},async applyProperties(t){const n=ym("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;s?(async()=>{await d,l.current.setSnOptions({...m,...e,onInitialRender:p(t)})})():m={...m,...e,onInitialRender:p(t)}})(e)},plugins(e){(async e=>{gm(e),s?(async()=>{await d,l.current.setSnPlugins(e)})():h=e})(e)},exportImage:()=>l.current.exportImage(),takeSnapshot:()=>l.current.takeSnapshot(),getModel:()=>e}};return y}({model:e,halo:r,initialError:o,onDestroy:a});return n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),n.element&&await l.__DO_NOT_USE__.mount(n.element),l}async function Cm({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i){let l={};const s=[];try{const i=a.types.get({name:e,version:t});l=await i.initialProperties(r,o);const c=await i.supernova();n&&await Xf({sn:c,properties:l,fields:n,children:s},a),r&&c&&c.qae.properties.onChange&&c.qae.properties.onChange.call({},l)}catch(t){l=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(l);return s.length>0&&await e.setFullPropertyTree({qProperty:l,qChildren:s}),Gt.set(e.id,e),e}return l}const Em=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Ht(e),{theme:c}=(0,t.useContext)(We),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[m,h]=(0,t.useState)(void 0),[q,y]=(0,t.useState)("");(0,t.useEffect)((()=>{if(s){const e=JSON.stringify(s.cells);if(e===q)return;y(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=kt.get(a);i||(i=o.app.getObject(e),kt.set(a,i));const l=await i;return Gt.set(a,l),bm(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:uf(),mounted:r,mountedPromise:o}})));r.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(r)};r()}}),[s]);const g=(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(hm,{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(lm(e,n.public.theme)),h(im(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}},g)},Sm=()=>{};async function Om({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=kt.get(i);l||(l=a.app.getObject(e),kt.set(i,l));const s=await l;return Gt.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=Sm,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=Sm},__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=lt.createPortal(t.createElement(Em,{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=ym("/",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=>{gm(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):bm(s,{options:n,plugins:r,element:o},a)}function Im(e={}){return{isEnabled:t=>!0===e[t]}}const Rm=G().bind(null,!0),xm={},{isArray:Lm}=Array;function wm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Nm(e){return void 0===e}function _m(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Tm(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]=Nm(e[r||t])?a:e[t],e=e[r||t]})),e}function Pm(e,t){let n=!0;if(wm(e)&&wm(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Pm(e[r],t[r])||(n=!1)})),n);if(Lm(e)&&Lm(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Pm(e[n],t[n]))return!1;return!0}return e===t}xm.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Rm({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Pm(a,i)||_m(t,o)||(Nm(i)?r.push({op:"add",path:l,value:a}):wm(a)&&wm(i)?r=r.concat(xm.generate(i,a,l)):Lm(a)&&Lm(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]&&Nm(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(Pm(t,o))return r;if(!Nm(t[0])&&Nm(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(xm.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=>{Nm(t[o])&&!_m(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},xm.apply=function(e,t){t.forEach((t=>{let n=Tm(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(Lm(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Lm(o)&&Lm(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(wm(o)&&wm(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!_m(i,e)&&delete i[e]})),Rm(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=Tm(e,t.from);Lm(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Lm(n)?n.splice(+r,1):delete n[r]);var i}))},xm.clone=function(e){return Rm({},e)},xm.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},xm.updateObject=function(e,t){Object.keys(e).length?xm.apply(e,xm.generate(e,t)):Rm(e,t)};const Am=xm,Dm=e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r),r);var r;return n};let km,Mm;function Fm(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 Bm(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 jm(e){Gm(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 zm(e){if(e.__hooks.obsolete)return Promise.resolve();Mm=-1,km=e;let t=-1;km.__hooks.initiated&&(t=km.__hooks.list.length);try{km.fn.call(null)}catch(e){console.error(e)}km.__hooks.initiated=!0,t>-1&&t!==km.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=km.__hooks;return $m(km),Mm=void 0,km=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Gm(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Gm(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 Gm(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 Vm(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 Um(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 Zm(e){return e.__hooks.imperativeHandle}function $m(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Wm(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,$m(e))}function Hm(e){if(void 0===km)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=km.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function Km(e){return Hm(++Mm),km.context[e]}function Xm(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Ym(e){return{__hooked:!0,fn:e,initiate:Bm,run:zm,teardown:jm,runSnaps:Vm,runMenu:Um,focus:xh,blur:Lh,observeActions:Wm,getImperativeHandle:Zm,updateRectOnNextRun:Xm}}function Qm(e){const t=Hm(++Mm);if(!t.value){t.component=km;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,zm(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Jm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=Hm(++Mm);Fm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===km.__hooks.pendingEffects.indexOf(n)&&km.__hooks.pendingEffects.push(n))}function eh(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=Hm(++Mm);Fm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],km.__hooks.pendingLayoutEffects.push(n))}function th(e,t){t||console.warn("useMemo called without dependencies.");const n=Hm(++Mm);return Fm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function nh(e,t){const[n,r]=Qm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=Hm(++Mm);return o.component||(o.component=km),eh((()=>{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 rh(){return Km("element")}function oh(){const e=rh(),t=km.__hooks.resizer,[n,r]=Qm((()=>{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()),eh((()=>{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 ah(){return Km("layout")}function ih(){const e=Km("layout"),[t]=Qm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function lh(){return Km("appLayout")}function sh(){const e=Km("model");return e&&e.session?e:void 0}function ch(){const e=Km("app");return e&&e.session?e:void 0}function uh(){const e=Km("global");return e&&e.session?e:void 0}function dh(){return Km("selections")}function fh(){return Km("theme")}function ph(){return Km("nebbie")}function mh(){return Km("translator")}function hh(){return Km("deviceType")}function qh(){return Km("plugins")}function yh(e,t){const[n]=Qm({action(){n._config.action.call(null)}});return n.component||(n.component=km,km.__hooks.actions.list.push(n)),th((()=>{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 gh(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),Km("constraints")}function vh(){return Km("interactions")}function bh(){return Km("options")}function Ch(e,t){const n=Hm(++Mm);if(!n.imperative){if(km.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(Fm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],km.__hooks.imperativeHandle=r}}function Eh(e){const t=Hm(++Mm);t.value||(t.value=1,km.__hooks.snaps.push(t)),t.fn=e}function Sh(e){const t=Hm(++Mm);t.value||(t.value=1,km.__hooks.menus.push(t)),t.fn=e}function Oh(){Hm(++Mm);const e=km.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function Ih(){return Km("emitter")}function Rh(){const e=Km("keyboardNavigation"),t=Km("focusHandler");if(!km.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Lh(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(km);km.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),xh(this))}.bind(km);km.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(km);km.__hooks.accessibility.focusSelectionFunction=r}const n=km.__hooks.accessibility.focusFunction,r=km.__hooks.accessibility.exitFunction,o=km.__hooks.accessibility.focusSelectionFunction,[a,i]=Qm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return km.__hooks.accessibility.setter=i,km.__hooks.accessibility.enabled=e,Jm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function xh(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 Lh(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 wh={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},Nh=Object.keys(wh),_h=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function Th(e,t,n){"function"==typeof e.component&&(e.component=Ym(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==zm&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n){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(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):function(e,t){console.warn("Obsolete API - time to get hooked!");const n={...wh};_h(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==Nh.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function({sn:e,component:t}){const n={},r=[],o=Dm(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:r}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:a,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){return e.qae.properties.onChange.call({model:t.model},...n),t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=Am.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));Am.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=Am.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const Ph=()=>{};function Ah(e,t){return void 0===e?()=>t:()=>e}function Dh(e){const t=e||{};return{min:"function"==typeof t.min?t.min:Ah(t.min,0),max:"function"==typeof t.max?t.max:Ah(t.max,1e3),added:t.added||t.add||Ph,description:t.description||Ph,moved:t.moved||t.move||Ph,removed:t.removed||t.remove||Ph,replaced:t.replaced||t.replace||Ph,isDefined:()=>!!e}}const kh=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function Mh(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=>kh(e,n,{}),dimensions:Dh(e.dimensions),measures:Dh(e.measures)}}function Fh(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(Mh)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Bh(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Fh(n.qae),component:n.component||{},create:e=>Th(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var jh=o(27891);const zh={};function Gh(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,jh.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!zh[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);zh[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 zh[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Bh(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(G()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{var t;r||(t=Object.keys(n),r=[...t.filter((e=>"undefined"===e)),...t.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]);for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const Vh={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1}),load:()=>{},types:[],themes:[],anything:{},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}},Uh=(e={},t={})=>({...e,...t}),Zh=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),$h=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.2.2"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&at(n),oe.createRoot(i).render(t.createElement(it,{ref:a,app:e,initialContext:n,renderCallback:r}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),a.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),a.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&at(e),a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}({app:e,context:r}),s=function({themes:e=[],loadTheme:t,root:n}={}){const r=re();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),(l=5e3,s={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(s)),l)})))]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i);var l,s},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:Im(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]=Gh(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(zh).forEach((t=>{t.split("__")[0]===e&&(zh[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?Om(e,u):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c={};const u=[];let d;try{const o=s.types.get({name:e,version:t});c=await o.initialProperties(r,l);const a=await o.supernova();n&&await Xf({sn:a,properties:c,fields:n,children:u},s),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},c)}catch(t){d=t,c={qInfo:{qType:e},visualization:e}}const f=await s.app.createSessionObject(c);u.length>0&&await f.setFullPropertyTree({qProperty:c,qChildren:u}),Gt.set(f.id,f);const p=(e=>{const t=jt({type:"SET",value:e});return()=>{t(),Gt.clear(e.id)}})(f);return bm(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>Cm(e,u,!1),generateProperties:async e=>Cm(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==r[n]&&(t||(t={}),t[n]=e[n])})),t&&(r={...r,...t,translator:a.translator},t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(m||(m={mount(n){h?console.error("Already mounted"):(h=function({element:e,app:n}){return lt.createPortal(t.createElement(df,{app:n}),e,uf())}({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 lt.createPortal(t.createElement(Mf,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,uf())}({element:i,app:e,fieldIdentifier:n,qId:r,options:kf({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 ad(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 G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Bf,{element:n,key:uf(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,ad(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:Uh(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Zh(e.types,t.types),themes:Zh(e.themes,t.themes),flags:Uh(e.flags,t.flags),anything:Uh(e.anything,t.anything)}))(o,t)),i.config=o,i}(Vh),Wh=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},Hh=globalThis.crypto||{getRandomValues:()=>123456},Kh=function(){return e=>{const t=G()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^Hh.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=G()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId,...t})}},Xh=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,Yh=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=Xh(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},Qh=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function Jh(e){return!Qh.includes(e)}function eq(e){const t=Xh(e.getLayout);return t.qInfo&&t.qInfo.qId}function tq(e,t){let n=eq(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:Xh(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:Yh(n,{async:Jh(t),delay:r})})),{}),genericType:e.type}}}function nq(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!eq(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const rq=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(nq);const n=function(e,t){return e.reduce(((e,n)=>({...e,...tq(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},oq=function(){return()=>Promise.resolve({id:"app-layout"})},aq={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Wh,r=new Kh,o=new rq(e,t),a=new oq,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},iq=aq,lq={generator:Bh,hook:Ym,theme:re,locale:n};var sq=o(74972),cq=o.n(sq);const uq=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":""},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var dq=o(14492),fq=o.n(dq);class pq 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 mq extends pq{}var hq=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(hq||{});class qq extends pq{}var yq=(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))(yq||{}),gq=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(gq||{});const vq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},bq=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},Cq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var Eq=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}},Sq=class extends Eq{},Oq=class extends Eq{},Iq=class extends Eq{},Rq=class extends Eq{},xq=class extends Eq{},Lq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function wq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Nq,_q,Tq=Object.create,Pq=Object.defineProperty,Aq=Object.getOwnPropertyDescriptor,Dq=Object.getOwnPropertyNames,kq=Object.getPrototypeOf,Mq=Object.prototype.hasOwnProperty,Fq=(Nq={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},a(e)}function i(e,t,n){return(i=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,a=(n=i,r=l(),function(){var e,t=c(n);if(r){var a=c(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=a.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(a(Error));function d(e,t,n){return new u(t,e,n)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function 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=y(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,y(r.key),r)}}function y(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}var g=0,v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),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(d(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=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 b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===b(o)?o:String(o)),r)}var o}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw d(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===O(o)?o:String(o)),r)}var o}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=Object.prototype.hasOwnProperty;function R(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function x(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var L=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new E,this.types=new E}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw d(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=R(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw d(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw d(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=R(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function w(e){return(w="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 N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==w(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===w(o)?o:String(o)),r)}var o}var _=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)}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==T(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===T(o)?o:String(o)),r)}var o}var A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(d(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(d(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new _(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=d(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&P(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===D(o)?o:String(o)),r)}var o}var M=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(d(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&k(t.prototype,n),r&&k(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function F(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function B(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=d(-2,"Object not found");return e.config.Promise.reject(r)}return n}var j=Object.prototype.hasOwnProperty,z=Object.prototype.toString,G=Object.defineProperty,V=Object.getOwnPropertyDescriptor,U=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===z.call(e)},Z=function(e){if(!e||"[object Object]"!==z.call(e))return!1;var t,n=j.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&j.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||j.call(e,t)},$=function(e,t){G&&"__proto__"===t.name?G(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},W=function(e,t){if("__proto__"===t){if(!j.call(e,t))return;if(V)return V(e,t).value}return e[t]};function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var X=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=W(l,n),l!==(o=W(t,n))&&(u&&o&&(Z(o)||(a=U(o)))?(a?(a=!1,i=r&&U(r)?r:[]):i=r&&Z(r)?r:{},$(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&$(l,{name:n,newValue:o}));return l}.bind(null,!0),Y={},Q=Array.isArray;function J(e){return null!=e&&!Array.isArray(e)&&"object"===K(e)}function ee(e){return void 0===e}function te(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ne(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=ee(e[n||t])?a:e[t],e=e[n||t]}})),e}function re(e,t){var n=!0;if(J(e)&&J(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){re(e[r],t[r])||(n=!1)})),n);if(Q(e)&&Q(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!re(e[r],t[r]))return!1;return!0}return e===t}function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Y.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?X({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);re(a,i)||te(t,o)||(ee(i)?r.push({op:"add",path:l,value:a}):J(a)&&J(i)?r=r.concat(Y.generate(i,a,l)):Q(a)&&Q(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&ee(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(re(t,o))return r;if(!ee(t[0])&&ee(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(Y.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){ee(t[o])&&!te(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Y.apply=function(e,t){t.forEach((function(t){var n,r,o=ne(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(Q(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(Q(i)&&Q(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,u=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return H(e)}(r=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else if(J(i)&&J(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!te(n,e)&&delete n[e]})),X(i,t.value);else{if(!o)throw d(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var f=ne(e,t.from);Q(o)?o.splice(+a,0,f.splice(+l,1)[0]):(o[a]=f[l],delete f[l])}else"remove"===t.op&&(Q(o)?o.splice(+a,1):delete o[a])}))},Y.clone=function(e){return X({},e)},Y.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},Y.updateObject=function(e,t){Object.keys(e).length?Y.apply(e,Y.generate(e,t)):X(e,t)};var ae={};function ie(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw d(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ae[e.id]){var t={};ae[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete ae[e.id]}))}}(e);var n=ae[e.id];return n[t]||(n[t]=new E),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==oe(r[0].value)?a=r[0].value:Y.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function le(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ie.sessions=ae;var se="qReturn";function ce(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[se].qGenericId=n.qSessionAppId||n[se].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[se],hasOwnProperty.call(n,se)?n[se]:-1!==t.outKey?n[t.outKey]:n}function ue(e,t,n){return n.result}function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fe(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===de(o)?o:String(o)),r)}var o}var he=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:F}].concat(fe(this.request||[])),this.response=[{onFulfilled:le},{onFulfilled:ie},{onFulfilled:ue},{onFulfilled:ce}].concat(fe(this.response||[]),[{onFulfilled:B}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&me(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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,(void 0,o=function(e,t){if("object"!==qe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===qe(o)?o:String(o)),r)}var o}function ge(){return ge="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=be(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ge.apply(this,arguments)}function ve(e,t){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(i,e);var t,n,r,o,a=(r=i,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=be(r);if(o){var n=be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return ge(be(i.prototype),"add",this).call(this,e.toString(),r),t.on("closed",(function(){return n.remove(e)})),r}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return ge(be(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ye(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(E);function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==Ee(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Ee(o)?o:String(o)),r)}var o}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Ce,l=new he({apis:i,Promise:n,request:r,response:o}),s=new A({createSocket:t,Promise:n,url:a}),c=new M({apis:i,Promise:n,rpc:s});return new v({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new L(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Se(t.prototype,null),n&&Se(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&o.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return _q||(0,Nq[Dq(Nq)[0]])((_q={exports:{}}).exports,_q),_q.exports}),Bq=((e,t,n)=>(n=null!=e?Tq(kq(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Dq(t))Mq.call(e,n)||undefined===n||Pq(e,n,{get:()=>t[n],enumerable:!(r=Aq(t,n))||r.enumerable});return e})(e&&e.__esModule?n:Pq(n,"default",{value:e,enumerable:!0}),e)))(Fq()),jq=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}},zq=class extends jq{},Gq=class extends jq{},Vq=class extends jq{},Uq=class extends jq{},Zq=class extends jq{},$q=class extends jq{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Wq=class extends jq{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},Hq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},Kq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function Xq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var Yq=WebSocket;function Qq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const Jq=new qq("Only supported for AuthType.WebIntegration");class ey{constructor(e){if(!e.host)throw new qq("Empty host in config");let t,n,r;try{const r=vq(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new qq("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new qq("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==gq.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===gq.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 qq(`${yq.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new qq(yq.EMPTY_HOST);if(!(e.authType in gq))throw new qq(`${yq.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[gq.WebIntegration]:["webIntegrationId"],[gq.APIKey]:["apiKey"],[gq.JWTAuth]:["fetchToken","webIntegrationId"],[gq.OAuth2]:["clientId"],[gq.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 qq(`${yq.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[gq.APIKey]:["isSecure"],[gq.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[gq.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[gq.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 qq(`${yq.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===gq.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new qq(`${yq.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:wq},response:{handlers:[],use:wq}},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=Lq(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=Lq(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.22.0",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Oq({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 Sq({error:"Failed to authenticate host using api-key",...f}):new Sq({error:"Unauthenticated",...f});if(404===u.status)throw new xq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Iq({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 Iq({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:Qq},response:{handlers:[],use:Qq}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Xq},response:{handlers:[],use:Xq}},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=Hq(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=Hq(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.22.0",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Gq({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 Uq({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new zq({error:"Failed to authenticate host using api-key",...f}):new zq({error:"Unauthenticated",...f});if(404===u.status)throw new Zq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Vq({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 Vq({error:"Missing fetch function"})}}(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new Wq(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new Zq({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=Bq.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new $q(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||Kq,a=Hq(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 Vq(`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&&!Kq?e=>new Yq(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new Yq(e),{url:t,createSocket:n}}}(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||Cq,a=vq(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===gq.APIKey||n.authType===gq.OAuth2&&!o)return i;if([gq.WebIntegration,gq.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===gq.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 qq(`${yq.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!==gq.WebIntegration)throw Jq;const e=vq(`${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!==gq.WebIntegration)throw Jq;const e=vq(`${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(vq(`${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 mq(hq.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 qq({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(Cq&&(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!==gq.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new qq("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=bq(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||bq(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:vq(`${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,Cq&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const ty=()=>{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},ny=(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}},ry=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=ty();if(n.engine_url?t={...t,...ny(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}})),oy=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await ry();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new ey({webIntegrationId:e,autoRedirect:!0,authType:gq.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=fq().buildUrl(r);return(await cq().create({schema:uq,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},ay=new Map,iy=[],ly=iy.map,sy=iy.some,cy=iy.hasOwnProperty,uy=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,dy=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,fy=/(?:\.[^/]*|\/)$/;class py extends Error{constructor(e){super(e)}}function my(e){const t=uy.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function hy(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(iy.pop()(o(e)))}catch(e){n(new py("invalid module"))}r.remove()},r.onerror=()=>{n(new py("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=vy,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(ly.call(arguments,n)).then(qy):n(e)}return a.alias=function(t){return hy(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function qy(e){const t={};for(const n of e)for(const e in n)cy.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:yy(n,e)}):t[e]=n[e]);return t}function yy(e,t){return()=>e[t]}function gy(e){return"exports"==(e+="")||"module"===e}function vy(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),iy.push(sy.call(t,gy)?e=>{const r={},o={exports:r};return Promise.all(ly.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(ly.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}py.prototype.name=py.name,hy(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=ay.get(n);return r||ay.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new py("unable to load package.json");return e.redirected&&!ay.has(e.url)&&ay.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 py("illegal name");const a=my(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(my(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!fy.test(a.path)&&(a.path+=".js"),a.path&&a.version&&dy.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)),fy.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),vy.amd={};const by=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return hy((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},Cy={},Ey=e=>{Cy[e]&&Cy[e].forEach((e=>e()))};function Sy(e){const t=()=>{by(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,Ey(e.supernova.name)}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>by(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(Cy[e]||(Cy[e]=[]),Cy[e].push(t),window[e]&&t(),()=>{const n=Cy[e].indexOf(t);Cy[e].splice(n,1)});const Oy=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const Iy=async e=>{const t=document.querySelector("#chart-container"),n=await ry(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=G()(!0,{},(({themes:e=[],supernova:t={},flags:n})=>{const r={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n}};return t.name&&(r.type=t.name),(t.name||t.url)&&(r.load=async()=>by(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[Oy({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 iq.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=n&&n.types||[],p=$h(u,{types:[{name:o,load:a},...f.map((e=>({name:e.name,load:async()=>by(e.name,e.url)})))],...l}),m=await p.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{m.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function Ry(){const e=await ry();await Sy(e),e.enigma.appId||(location.href=location.origin);const t=ty(),n=await oy(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>$h.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=ty();e.fixture?Iy(e):e.snapshot?async function(){const e=await ry(),{themes:t,supernova:n}=e;await Sy(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=$h.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=ty();!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})}))}():Ry()}))})()})();
102
+ `),Np))),Ap=t.forwardRef((function(e,t){const n=(0,yt.Z)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=(0,ue.Z)(n,Sp),f=(0,ce.Z)({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),p=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,a={root:["root",n,`color${(0,nn.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,nn.Z)(n)}`,o&&"circleDisableShrink"]};return(0,ht.Z)(a,Ep,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,he.jsx)(_p,(0,ce.Z)({className:(0,st.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,he.jsx)(Tp,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,he.jsx)(Pp,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),Dp=Ap;function kp(){return kp=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},kp.apply(this,arguments)}const Mp="Progress",Fp={root:`${Mp}-root`,front:`${Mp}-front`,back:`${Mp}-back`},Bp=(0,qt.ZP)("div")((({theme:e})=>({[`&.${Fp.root}`]:{position:"relative",display:"inline-block"},[`& .${Fp.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${Fp.back}`]:{color:e.palette.divider}}))),jp={small:16,medium:32,large:64,xlarge:128};function zp({size:e="medium",...n}){const r=jp[e];return t.createElement(Bp,{className:Fp.root},t.createElement(Dp,kp({variant:"determinate",value:100,className:Fp.back,size:r,thickness:3},n)),t.createElement(Dp,kp({variant:"indeterminate",disableShrink:!0,className:Fp.front,size:r,thickness:3},n)))}function Gp(){return Gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gp.apply(this,arguments)}const Vp={stripes:"LongRunningQuery-stripes"},Up=(0,qt.ZP)(Lt)((()=>({[`& .${Vp.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 Zp({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Up,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Lt,{item:!0},t.createElement(zp,null)),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Lt,Gp({item:!0},r),t.createElement(Ud,{variant:"contained",onClick:e},n.get("Cancel"))))}function $p({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Lt,{item:!0},t.createElement(gp,{style:{fontSize:"38px"}})),t.createElement(Lt,{item:!0},t.createElement(un,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Lt,{item:!0},t.createElement(Ud,Gp({variant:"contained",onClick:e},r),n.get("Retry"))))}function Wp({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(We);return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Vp.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Zp,{cancel:r.cancel,translator:o,className:Vp.cancel}),n&&t.createElement($p,{retry:r.retry,translator:o,className:Vp.retry}))}function Hp(){return t.createElement(Lt,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(zp,{size:"large"}))}const Kp="Header",Xp={containerStyle:`${Kp}-containerStyle`,containerTitleStyle:`${Kp}-containerTitleStyle`},Yp=(0,qt.ZP)(Lt)((({theme:e})=>({[`&.${Xp.containerStyle}`]:{flexGrow:0},[`&.${Xp.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),Qp=function({layout:e,sn:n,anchorEl:r,hovering:o,focusHandler:a,titleStyles:i={}}){const l=e.showTitles&&!!e.title,s=e.showTitles&&!!e.subtitle,c=e.qSelectionInfo&&e.qSelectionInfo.qInSelections,[u,d]=(0,t.useState)([]),[f,p]=Xt(),[m,h]=(0,t.useState)(!1);(0,t.useEffect)((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),(0,t.useEffect)((()=>{if(!p)return;const{width:e}=p;h(e<221)}),[p]);const q=l||s,y=[Xp.containerStyle,...q?[Xp.containerTitleStyle]:[]],g=(o||c)&&(m||!q),v=q&&!g&&!m,b=t.createElement(fu,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(Yp,{ref:f,item:!0,container:!0,wrap:"nowrap",className:y.join(" ")},t.createElement(Lt,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Lt,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(un,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(un,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Lt,{item:!0},b))},Jp="Footer-itemStyle",em=(0,qt.ZP)(Lt)((({theme:e})=>({[`& .${Jp}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),tm=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(em,{container:!0},t.createElement(Lt,{item:!0,className:Jp},t.createElement(un,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class nm{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 rm=function({sn:e,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}){const{component:l}=e,{theme:s,language:c,constraints:u,interactions:d,keyboardNavigation:f}=(0,t.useContext)(We),[p]=(0,t.useState)((()=>new nm)),[m,h]=(0,t.useState)(!1),[q,y]=(0,t.useState)(0),[g,v,b]=Xt(),[C,E]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&E(e)}),[]);return(0,t.useEffect)((()=>{if(C)return l.created({options:n}),l.mounted(C),h(!0),()=>{p.stop(),l.willUnmount()}}),[C,l]),(0,t.useEffect)((()=>{m&&C&&v&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule((()=>{const t=[];return u.passive||t.push("passive"),u.active||t.push("interact"),u.select||t.push("select"),u.edit||t.push("edit"),i.app&&i.app.session&&t.push("fetch"),Promise.resolve(l.render({layout:o,options:n,plugins:r,embed:i.public.nebbie,context:{constraints:u,interactions:d,theme:i.public.theme,appLayout:a,keyboardNavigation:f,...l.isHooked?{}:{logicalSize:e.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:t}}})).then((e=>{!1!==e&&(0===q&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),y(q+1))}))})))}),[v,n,r,C,b,o,a,s,c,u,d,m,f]),t.createElement("div",{ref:g,"data-render-count":q,style:{position:"relative",height:"100%"},className:"njs-viz"},t.createElement("div",{ref:S,style:{position:"absolute",width:"100%",height:"100%"}}))},om={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},am={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function im(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;return e?.session?.config?(t=e.session.config,n=new URL(t.url),o="wss:"===n.protocol,r=o?"https://":"http://",r+n.host):""}(e)+t:void 0}(t,r)),"expression"===n.mode&&(r=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const o=function(e){let t="center center";return e?.bgImage?.position&&(t=am[e.bgImage.position]),t}(e),a=function(e){let t=om.originalSize;return e?.bgImage?.sizing&&(t=om[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function lm(e,t,n){const r=e?.bgColor;return r&&t?r.useExpression?t.validateColor(r.colorExpression):r.color&&"none"!==r.color.color?t.getColorPickerColor(r.color,!0):void 0:t&&n?t.getStyle(`object.${n}`,"","backgroundColor"):t?t.getStyle("","","backgroundColor"):void 0}function sm(e,t,n,r){const o=e?.title?.[t]||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(o.fontStyle,t);return{fontFamily:o.fontFamily||n.getStyle(`object.${r}`,`title.${t}`,"fontFamily"),color:o.color&&"none"!==o.color.color?n.getColorPickerColor(o.color,!0):n.getStyle(`object.${r}`,t,"color"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const cm=(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 um({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(Hp,null):null}const dm=e=>!e.qError||7005===e.qError.qErrorCode,fm=(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}})),pm=e=>e&&(Array.isArray(e)?e:[e])||[],mm=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:fm(o,pm(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:fm(a,pm(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},hm=(0,t.forwardRef)((({halo:e,model:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i,currentId:l,emitter:s},c)=>{const{app:u,types:d}=e,{nebbie:f}=e.public,{theme:p,translator:m,language:h,keyboardNavigation:q,disableCellPadding:y=!1}=(0,t.useContext)(We),g=se(),[v,b,C]=Xt(),[E,S]=(0,t.useReducer)(cm,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,{validating:R,canCancel:x,canRetry:L},w]=Ht(n),[N]=Kt(u),[_,T,P]=Xt(),[A,D]=(0,t.useState)(r),[k,M]=(0,t.useState)(o),F=`njs-cell-${l}`,[B]=sd(u,n,[`#${F}`,".njs-action-toolbar-popover"]),[j,z]=(0,t.useState)(!1),G=(0,t.useRef)({enter:null,leave:null}),[V,U]=(0,t.useState)(void 0),[Z,$]=(0,t.useState)(void 0),[W,H]=(0,t.useState)(void 0),K=(0,t.useRef)({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});(0,t.useEffect)((()=>{ad(K.current)}),[]),(0,t.useEffect)((()=>{if(I&&e.public.theme){const t=I.components?I.components.find((e=>"general"===e.key)):null;H({main:sm(t,"main",e.public.theme,I.visualization),footer:sm(t,"footer",e.public.theme,I.visualization),subTitle:sm(t,"subTitle",e.public.theme,I.visualization)}),U(lm(t,e.public.theme,I.visualization)),$(im(t,e.app))}}),[I,e.public.theme,e.app,p]),K.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&P&&P.focus()},K.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!N||!I)return;if(E.visualization===I.visualization&&E.sn)return void(async e=>{const[t,r]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),m=pm(p.qDimensionInfo||p.qItems).filter(dm),h=pm(p.qMeasureInfo).filter(dm);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=mm(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]}],y=l?s:q;return[l||o,{title:l?s[0].title:e.get("Visualization.Incomplete"),data:y}]})(m,I,e.generator.qae.data,n);S(t?{type:"ERROR",error:r}:{type:"RENDER"}),(({sn:e,layout:t,model:n})=>{const r=e&&e.component&&e.component.selections;if(r&&r.id&&n.id&&r.id===n.id){if(t&&t.qSelectionInfo&&t.qSelectionInfo.qInSelections&&!r.isModal()){const{targets:t}=e.generator.qae.data,n=t[0].propertyPath;r.goModal(n)}t.qSelectionInfo&&t.qSelectionInfo.qInSelections||r.isModal()&&r.noModal()}})({sn:E.sn,layout:I,model:n})})(E.sn);const e=d.getSupportedVersion(I.visualization,I.version);return(async(e,t)=>{S({type:"LOADING"});const r=await(async({dispatch:e,types:t,visualization:n,version:r,model:o,app:a,selections:i,nebbie:l,focusHandler:s,emitter:c})=>{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,emitter:c})}catch(t){e(r?{type:"ERROR",error:{title:t.message}}:{type:"ERROR",error:{title:`Could not find a version of '${n}' that supports current object version. Did you forget to register ${n}?`}})}})({dispatch:S,types:d,visualization:e,version:t,model:n,app:u,selections:B,nebbie:f,focusHandler:K.current,emitter:s});r&&(S({type:"LOADED",sn:r,visualization:e}),i())})(I.visualization,e),()=>{}}),[d,E.sn,n,B,I,N,h]),(0,t.useEffect)((()=>{if(!R)return;const e=setTimeout((()=>S({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[R]),(0,t.useImperativeHandle)(c,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:D,setSnPlugins:M,getImperativeHandle:()=>E.sn?.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{},async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(I));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:N,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[E.sn,T,b,I,g.name,N]);let X=null;return E.loading&&!E.longRunningQuery?X=t.createElement(um,null):E.error?X=t.createElement(Cp,E.error):E.loaded&&(X=t.createElement(rm,{key:I.visualization,sn:E.sn,halo:e,snOptions:A,snPlugins:k,layout:I,appLayout:N})),t.createElement(So,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:V||"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:v,id:F,onMouseEnter:()=>{G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((()=>{z(!0),G.current.enter=null}),250))},onMouseLeave:()=>{G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((()=>{z(!1),G.current.leave=null}),750))}},t.createElement(Lt,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...y?{}:{padding:g.spacing(1)},...E.longRunningQuery?{opacity:"0.3"}:{}}},C&&I&&E.sn&&t.createElement(Qp,{layout:I,sn:E.sn,anchorEl:C,hovering:j,focusHandler:K.current,titleStyles:W}," "),t.createElement(Lt,{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:_},X),C&&I&&E.sn&&t.createElement(tm,{layout:I,titleStyles:W})),E.longRunningQuery&&t.createElement(Wp,{canCancel:x,canRetry:L,api:w}))}));function qm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function ym(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],(qm(i)&&qm(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(...ym(`${e}${o}/`,t[o],n[o]))})),r}function gm(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 vm=()=>{};async function bm(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=vm,l=null,s=null,c=null,u=null;const d=new Promise((e=>{c=e})),f=new Promise((e=>{u=e})),p=e=>()=>{e&&e(),u()};let m={},h=[];const q=new(i()),y={id:e.id,model:e,async destroy(){await o(),a(),a=vm},async convertTo(t,r=!0){const o=await dp({halo:n,model:e,cellRef:l,newType:t});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},addListener(e,t){q.addListener(e,t)},removeListener(e,t){q.removeListener(e,t)},getImperativeHandle:async()=>(await f,l.current.getImperativeHandle()),__DO_NOT_USE__:{mount(o){if(s)throw new Error("Already mounted");return s=o,[a,l]=function({halo:e,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s}){const{root:c}=e,u=t.createRef(),d=uf(),f=lt.createPortal(t.createElement(hm,{ref:u,halo:e,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l}),n,d),p=()=>{c.remove(f),r.removeListener("closed",p)};return r.on("closed",p),c.add(f),c.addCell(d,u),[p,u]}({halo:n,element:o,model:e,initialSnOptions:m,initialSnPlugins:h,initialError:r,onMount:c,emitter:q}),d},async applyProperties(t){const n=ym("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;s?(async()=>{await d,l.current.setSnOptions({...m,...e,onInitialRender:p(t)})})():m={...m,...e,onInitialRender:p(t)}})(e)},plugins(e){(async e=>{gm(e),s?(async()=>{await d,l.current.setSnPlugins(e)})():h=e})(e)},exportImage:()=>l.current.exportImage(),takeSnapshot:()=>l.current.takeSnapshot(),getModel:()=>e}};return y}({model:e,halo:r,initialError:o,onDestroy:a});return n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),n.element&&await l.__DO_NOT_USE__.mount(n.element),l}async function Cm({type:e,version:t,fields:n,properties:r,extendProperties:o},a,i){let l={};const s=[];try{const i=a.types.get({name:e,version:t});l=await i.initialProperties(r,o);const c=await i.supernova();n&&await Xf({sn:c,properties:l,fields:n,children:s},a),r&&c&&c.qae.properties.onChange&&c.qae.properties.onChange.call({},l)}catch(t){l=i?null:{qInfo:{qType:e},visualization:e}}if(!i){const e=await a.app.createObject(l);return s.length>0&&await e.setFullPropertyTree({qProperty:l,qChildren:s}),Gt.set(e.id,e),e}return l}const Em=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Ht(e),{theme:c}=(0,t.useContext)(We),[u,d]=(0,t.useState)([]),[f,p]=(0,t.useState)(void 0),[m,h]=(0,t.useState)(void 0),[q,y]=(0,t.useState)("");(0,t.useEffect)((()=>{if(s){const e=JSON.stringify(s.cells);if(e===q)return;y(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=kt.get(a);i||(i=o.app.getObject(e),kt.set(a,i));const l=await i;return Gt.set(a,l),bm(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:uf(),mounted:r,mountedPromise:o}})));r.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(r)};r()}}),[s]);const g=(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(hm,{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(lm(e,n.public.theme)),h(im(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}},g)},Sm=()=>{};async function Om({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=kt.get(i);l||(l=a.app.getObject(e),kt.set(i,l));const s=await l;return Gt.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=Sm,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=Sm},__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=lt.createPortal(t.createElement(Em,{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=ym("/",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=>{gm(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):bm(s,{options:n,plugins:r,element:o},a)}function Im(e={}){return{isEnabled:t=>!0===e[t]}}const Rm=G().bind(null,!0),xm={},{isArray:Lm}=Array;function wm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Nm(e){return void 0===e}function _m(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Tm(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]=Nm(e[r||t])?a:e[t],e=e[r||t]})),e}function Pm(e,t){let n=!0;if(wm(e)&&wm(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Pm(e[r],t[r])||(n=!1)})),n);if(Lm(e)&&Lm(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Pm(e[n],t[n]))return!1;return!0}return e===t}xm.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Rm({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Pm(a,i)||_m(t,o)||(Nm(i)?r.push({op:"add",path:l,value:a}):wm(a)&&wm(i)?r=r.concat(xm.generate(i,a,l)):Lm(a)&&Lm(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]&&Nm(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(Pm(t,o))return r;if(!Nm(t[0])&&Nm(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(xm.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=>{Nm(t[o])&&!_m(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},xm.apply=function(e,t){t.forEach((t=>{let n=Tm(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(Lm(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Lm(o)&&Lm(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(wm(o)&&wm(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!_m(i,e)&&delete i[e]})),Rm(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=Tm(e,t.from);Lm(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Lm(n)?n.splice(+r,1):delete n[r]);var i}))},xm.clone=function(e){return Rm({},e)},xm.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},xm.updateObject=function(e,t){Object.keys(e).length?xm.apply(e,xm.generate(e,t)):Rm(e,t)};const Am=xm,Dm=e=>t=>{const n=(r={...t,action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0},Object.keys(i().prototype).forEach((e=>{r[e]=i().prototype[e]})),i().init(r),r);var r;return n};let km,Mm;function Fm(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 Bm(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 jm(e){Gm(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 zm(e){if(e.__hooks.obsolete)return Promise.resolve();Mm=-1,km=e;let t=-1;km.__hooks.initiated&&(t=km.__hooks.list.length);try{km.fn.call(null)}catch(e){console.error(e)}km.__hooks.initiated=!0,t>-1&&t!==km.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=km.__hooks;return $m(km),Mm=void 0,km=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Gm(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Gm(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 Gm(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 Vm(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 Um(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 Zm(e){return e.__hooks.imperativeHandle}function $m(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Wm(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,$m(e))}function Hm(e){if(void 0===km)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=km.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function Km(e){return Hm(++Mm),km.context[e]}function Xm(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Ym(e){return{__hooked:!0,fn:e,initiate:Bm,run:zm,teardown:jm,runSnaps:Vm,runMenu:Um,focus:xh,blur:Lh,observeActions:Wm,getImperativeHandle:Zm,updateRectOnNextRun:Xm}}function Qm(e){const t=Hm(++Mm);if(!t.value){t.component=km;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,zm(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Jm(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=Hm(++Mm);Fm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===km.__hooks.pendingEffects.indexOf(n)&&km.__hooks.pendingEffects.push(n))}function eh(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=Hm(++Mm);Fm(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],km.__hooks.pendingLayoutEffects.push(n))}function th(e,t){t||console.warn("useMemo called without dependencies.");const n=Hm(++Mm);return Fm(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function nh(e,t){const[n,r]=Qm((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=Hm(++Mm);return o.component||(o.component=km),eh((()=>{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 rh(){return Km("element")}function oh(){const e=rh(),t=km.__hooks.resizer,[n,r]=Qm((()=>{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()),eh((()=>{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 ah(){return Km("layout")}function ih(){const e=Km("layout"),[t]=Qm({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function lh(){return Km("appLayout")}function sh(){const e=Km("model");return e&&e.session?e:void 0}function ch(){const e=Km("app");return e&&e.session?e:void 0}function uh(){const e=Km("global");return e&&e.session?e:void 0}function dh(){return Km("selections")}function fh(){return Km("theme")}function ph(){return Km("nebbie")}function mh(){return Km("translator")}function hh(){return Km("deviceType")}function qh(){return Km("plugins")}function yh(e,t){const[n]=Qm({action(){n._config.action.call(null)}});return n.component||(n.component=km,km.__hooks.actions.list.push(n)),th((()=>{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 gh(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),Km("constraints")}function vh(){return Km("interactions")}function bh(){return Km("options")}function Ch(e,t){const n=Hm(++Mm);if(!n.imperative){if(km.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(Fm(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],km.__hooks.imperativeHandle=r}}function Eh(e){const t=Hm(++Mm);t.value||(t.value=1,km.__hooks.snaps.push(t)),t.fn=e}function Sh(e){const t=Hm(++Mm);t.value||(t.value=1,km.__hooks.menus.push(t)),t.fn=e}function Oh(){Hm(++Mm);const e=km.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function Ih(){return Km("emitter")}function Rh(){const e=Km("keyboardNavigation"),t=Km("focusHandler");if(!km.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Lh(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(km);km.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),xh(this))}.bind(km);km.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(km);km.__hooks.accessibility.focusSelectionFunction=r}const n=km.__hooks.accessibility.focusFunction,r=km.__hooks.accessibility.exitFunction,o=km.__hooks.accessibility.focusSelectionFunction,[a,i]=Qm({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return km.__hooks.accessibility.setter=i,km.__hooks.accessibility.enabled=e,Jm((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function xh(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 Lh(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 wh={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},Nh=Object.keys(wh),_h=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function Th(e,t,n){"function"==typeof e.component&&(e.component=Ym(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==zm&&console.warn("Detected multiple supernova modules, this might cause problems.");const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints","interactions"],l={},s={};t.model&&t.model.session||(l.select=!0,l.edit=!0,s.select=!1,s.edit=!1);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,interactions:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify({...r[e],...l})),"interactions"===e&&(t=JSON.stringify({...r[e],...s})),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n){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(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):function(e,t){console.warn("Obsolete API - time to get hooked!");const n={...wh};_h(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==Nh.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function({sn:e,component:t}){const n={},r=[],o=Dm(t);return((e.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=o(e);n[e.key]=t,r.push(t)})),(e.definition.actions||[]).forEach((e=>{const t=o(e);n[e.key]=t})),{actions:n,selectionToolbarItems:r,destroy(){r.length=0}}}({sn:e,component:r}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:a,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(...n){return e.qae.properties.onChange.call({model:t.model},...n),t.model.__snInterceptor.setProperties.call(this,...n)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=Am.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));Am.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=Am.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const Ph=()=>{};function Ah(e,t){return void 0===e?()=>t:()=>e}function Dh(e){const t=e||{};return{min:"function"==typeof t.min?t.min:Ah(t.min,0),max:"function"==typeof t.max?t.max:Ah(t.max,1e3),added:t.added||t.add||Ph,description:t.description||Ph,moved:t.moved||t.move||Ph,removed:t.removed||t.remove||Ph,replaced:t.replaced||t.replace||Ph,isDefined:()=>!!e}}const kh=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function Mh(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=>kh(e,n,{}),dimensions:Dh(e.dimensions),measures:Dh(e.measures)}}function Fh(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(Mh)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Bh(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Fh(n.qae),component:n.component||{},create:e=>Th(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var jh=o(27891);const zh={};function Gh(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,jh.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!zh[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);zh[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 zh[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Bh(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r))),initialProperties(e,t=!1){return this.supernova().then((()=>{const n={qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0,...JSON.parse(o)};return t?(G()(!0,n,e),n):{...n,...e}}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{var t;r||(t=Object.keys(n),r=[...t.filter((e=>"undefined"===e)),...t.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]);for(let t=r.length-1;t>=0;t--)if(n[r[t]].supportsPropertiesVersion(e))return r[t];return null},versions:n}}const Vh={context:({},{theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1}),load:()=>{},types:[],themes:[],anything:{},snapshot:{get:async e=>{const t=await fetch(`/njs/snapshot/${e}`);if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))}},Uh=(e={},t={})=>({...e,...t}),Zh=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),$h=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.2.3"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&at(n),oe.createRoot(i).render(t.createElement(it,{ref:a,app:e,initialContext:n,renderCallback:r}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),a.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),a.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&at(e),a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}({app:e,context:r}),s=function({themes:e=[],loadTheme:t,root:n}={}){const r=re();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),(l=5e3,s={__timedOut:!0},new Promise((e=>{setTimeout((()=>e(s)),l)})))]);e.__timedOut?console.warn(`Timeout when loading theme '${o}'`):(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){console.error(e)}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i);var l,s},externalAPI:r.externalAPI}}({themes:o.themes,loadTheme:o.loadTheme,root:l});r.themeApi=s.externalAPI;const c={galaxy:{translator:a.translator,flags:Im(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]=Gh(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>{if(n[e])return n[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(zh).forEach((t=>{t.split("__")[0]===e&&(zh[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?Om(e,u):async function({type:e,version:t,fields:n,properties:r,options:o,plugins:a,element:i,extendProperties:l},s){let c={};const u=[];let d;try{const o=s.types.get({name:e,version:t});c=await o.initialProperties(r,l);const a=await o.supernova();n&&await Xf({sn:a,properties:c,fields:n,children:u},s),r&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},c)}catch(t){d=t,c={qInfo:{qType:e},visualization:e}}const f=await s.app.createSessionObject(c);u.length>0&&await f.setFullPropertyTree({qProperty:c,qChildren:u}),Gt.set(f.id,f);const p=(e=>{const t=jt({type:"SET",value:e});return()=>{t(),Gt.clear(e.id)}})(f);return bm(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>Cm(e,u,!1),generateProperties:async e=>Cm(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==r[n]&&(t||(t={}),t[n]=e[n])})),t&&(r={...r,...t,translator:a.translator},t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(r))},selections:async()=>(m||(m={mount(n){h?console.error("Already mounted"):(h=function({element:e,app:n}){return lt.createPortal(t.createElement(df,{app:n}),e,uf())}({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 lt.createPortal(t.createElement(Mf,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,uf())}({element:i,app:e,fieldIdentifier:n,qId:r,options:kf({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 ad(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 G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Bf,{element:n,key:uf(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,ad(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:Uh(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Zh(e.types,t.types),themes:Zh(e.themes,t.themes),flags:Uh(e.flags,t.flags),anything:Uh(e.anything,t.anything)}))(o,t)),i.config=o,i}(Vh),Wh=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},Hh=globalThis.crypto||{getRandomValues:()=>123456},Kh=function(){return e=>{const t=G()({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||`mock-${([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^Hh.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}`;const n=t._mock;let r=t;return n&&(delete t._mock,r=G()({},t,n)),Promise.resolve({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId,...t})}},Xh=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,Yh=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=Xh(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},Qh=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function Jh(e){return!Qh.includes(e)}function eq(e){const t=Xh(e.getLayout);return t.qInfo&&t.qInfo.qId}function tq(e,t){let n=eq(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:Xh(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:Yh(n,{async:Jh(t),delay:r})})),{}),genericType:e.type}}}function nq(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!eq(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const rq=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(nq);const n=function(e,t){return e.reduce(((e,n)=>({...e,...tq(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},oq=function(){return()=>Promise.resolve({id:"app-layout"})},aq={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Wh,r=new Kh,o=new rq(e,t),a=new oq,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},iq=aq,lq={generator:Bh,hook:Ym,theme:re,locale:n};var sq=o(74972),cq=o.n(sq);const uq=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"SheetObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomDropDown":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GraphBasics":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Graph":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StraightTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"PivotTableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CurrentSelection":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"InputBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"SearchObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Container":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"ListBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"MultiBox":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Button":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TextObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"CustomObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"BookmarkObject":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"Slider":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"LineArrow":{"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"TableBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"StatisticsBox":{"GetRowCount":{"In":[],"Out":[]},"GetColumnCount":{"In":[],"Out":[]},"GetCells":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qCells"}]},"GetTableInfo":{"In":[],"Out":[{"Name":"qTableInfo"}]},"SetFrameDef":{"In":[{"Name":"qFrame","DefaultValue":{"qBorderWidth":0,"qBorderEffect":0,"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qCaptionFont":{"qFontName":"","qPointSize1000":0,"qUnderline":false,"qBold":false,"qItalic":false,"qDropShadow":false,"qAntiAlias_OBSOLETE":0},"qName":{"qv":""},"qInternalCtlNo":0,"qRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qBmp_OBSOLETE":[0],"qBmpMode_OBSOLETE":0,"qMinimizedRect":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qShowMode":0,"qDetached":false,"qAllowMinimize":false,"qAutoMinimize":false,"qAllowMaximize":false,"qAllowInfo":false,"qPrintIcon":false,"qCopyIcon":false,"qXLIcon":false,"qSearchIcon":false,"qSelectPossibleIcon":false,"qSelectExcludedIcon":false,"qSelectAllIcon":false,"qClearIcon":false,"qClearOtherIcon":false,"qLockIcon":false,"qHelpText":{"qv":""},"qObjectId":"","qZedLevel":0,"qShrinkFrameToData":false,"qShowCaption":false,"qMultiLine":0,"qActiveBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qBgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qActiveFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFgColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qFixCorner":false,"qFixCornerSize":0,"qRelCornerSize":0,"qPower":0,"qRoundedShape":false,"qEnableTopLeftRounded":false,"qEnableTopRightRounded":false,"qEnableBottomLeftRounded":false,"qEnableBottomRightRounded":false,"qLight":0,"qDark":0,"qRainbow":false,"qTextAdjustHorizontal":0,"qTextAdjustVertical":0,"qShow":{"qAlways":false,"qExpression":{"qv":""}},"qOnActivateMacro_OBSOLETE":"","qOnDeactivateMacro_OBSOLETE":"","qAllowMoveSize":false,"qAllowCopyClone":false,"qdummy":[false],"qCustomObjectGuid":[0],"qCustomObjectProperties":[0],"qScrollBkgColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollButtonColor":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qScrollStyle":0,"qScrollWidth":0,"qIconColor_OBSOLETE":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qIconStyle_OBSOLETE":0,"qAllowModify":false,"qCopyImageIcon":false,"qPreserveScrollPosition":false,"qShadowIntensity":0,"qOnActivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qOnDeactivateActionItems":[{"qType":0,"qParameters":[{"qv":""}],"qStateName":{"qv":""}}],"qExtension":"","qBackground":{"qColor":{"qMode":0,"qLuminosity":0,"qFillDirection":0,"qFillPattern":0,"qPrimaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qSecondaryCol":{"qCol":{"qRed":0,"qGreen":0,"qBlue":0,"qAlpha":0},"qIsCalculated":false,"qColorExpr":{"qv":""}},"qAlpha":0},"qImageBlob":[0],"qImageLayout":{"qStretchMode":0,"qHorizontalAdjust":0,"qVerticalAdjust":0,"qAlpha":0},"qUseColor":false,"qUseImage":false},"qMenuIcon":false,"qExtendedProperties":[{"qName":"","qValue":""}],"qExtendedValues":[{"qName":"","qValue":{"qv":""}}],"qStateName":""}}],"Out":[]},"GetExtendedBookmarkLayoutData":{"In":[{"Name":"qIn","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}}}}],"Out":[{"Name":"qData"}]},"SetExtendedBookmarkLayoutData":{"In":[{"Name":"qData","DefaultValue":{"qId":"","qActive":false,"qShowMode":0,"qScrollPos":{"qUsePosition":false,"qPos":{"qx":0,"qy":0}},"qExpansionInfo":[{"qExcludeList":false,"qPos":{"qDimName":"","qElemNo":[0],"qElemValues":[[0]]}}],"qLeftCollapsed":false,"qTopCollapsed":false,"qSortData":[{"qName":"","qReversed":false}],"qDimensionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qExpressionGroupPos":[{"qGroupName":"","qCurrentItemName":""}],"qUseGraphMode":false,"qGraphMode":0,"qActiveContainerChildObjectId":"","qExtendedPivotState":{"qExpressionPosition":0,"qNumberOfLeftDimensions":0,"qDimensionNames":[""],"qEnableConditions":[""]}}}],"Out":[]},"GetCellsDataForExport":{"In":[{"Name":"qRect","DefaultValue":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}}],"Out":[{"Name":"qData"}]},"GetCellsLayoutForExport":{"In":[],"Out":[{"Name":"qLayout"}]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true},{"Name":"qServeOnce","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"StoreData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qLibRef","DefaultValue":""},{"Name":"qExportState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetParent":{"In":[],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerify":{"In":[],"Out":[{"Name":"qResult"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]},"GetRawContent":{"In":[],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetSheetObject":{"In":[{"Name":"qObjectId","DefaultValue":""}],"Out":[]},"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false},{"Name":"qIncludeProfiling","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""},"qHasSectionAccess":false}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{},"qStateName":""}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{},"qIncludePatches":false}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":"","qNumFormat":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""}},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"AddSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""},{"Name":"qSourceStateName","DefaultValue":"","Optional":true}],"Out":[]},"RemoveSessionAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ApplyAndVerifyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false,"qReloadId":""},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0,"qServeOnce":false},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"GetSetAnalysis":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true},{"Name":"qBookmarkId","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSetExpression"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetFieldAndColumnSamples":{"In":[{"Name":"qFieldsOrColumnsWithWildcards","DefaultValue":[{"qFieldName":"","qTableName":""}]},{"Name":"qMaxNumberOfValues","DefaultValue":0},{"Name":"qRandSeed","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]},"GetVariables":{"In":[{"Name":"qListDef","DefaultValue":{"qType":"","qShowReserved":false,"qShowConfig":false,"qData":{},"qShowSession":false}}],"Out":[{"Name":"qList"}]},"ExpandExpression":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qExpandedExpression"}]},"DestroySessionVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroySessionVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"SetAppObjectSortingRank":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qRank","DefaultValue":0}],"Out":[]},"GetActiveSheetId":{"In":[],"Out":[{"Name":"qId"}]},"GetLayoutProperties":{"In":[],"Out":[{"Name":"qLayoutProp"}]},"CreateBookmarkEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qIncludeVariables":false,"qDistinctValues":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]},"StoreTempSelectionState":{"In":[{"Name":"qTTLOfTempState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qId"}]},"RestoreTempSelectionState":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ChangeSessionAppOwner":{"In":[{"Name":"qNewOwnerId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"ChangeSessionAppSpace":{"In":[{"Name":"qSpaceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetTableProfileData":{"In":[{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qProfiling"}]},"GetMeasureWithLabel":{"In":[{"Name":"qLabel","DefaultValue":""}],"Out":[]},"SearchValues":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0}}],"Out":[{"Name":"qResult"}]},"GetFieldsFromExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qFieldNames"}]},"GetFieldsResourceIds":{"In":[{"Name":"qFieldNames","DefaultValue":[""]}],"Out":[{"Name":"qFields"}]},"UploadTable":{"In":[{"Name":"qDomain","DefaultValue":0},{"Name":"qDatasetId","DefaultValue":""},{"Name":"qTableName","DefaultValue":""},{"Name":"qFieldNames","DefaultValue":[""],"Optional":true}],"Out":[]},"GetExpressionBNF":{"In":[],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetExpressionBNFHash":{"In":[],"Out":[{"Name":"qBnfHash"}]},"SetProhibitBinaryLoad":{"In":[{"Name":"qProhibit","DefaultValue":false}],"Out":[]},"TransformApp":{"In":[{"Name":"qDstParameters","DefaultValue":{"qName":"","qSpaceId":"","qScriptParameterPrefix":""}}],"Out":[{"Name":"qResult"}]},"CreateTemporaryBookmark":{"In":[{"Name":"qOptions","DefaultValue":{"qIncludeVariables":false,"qIncludeAllPatches":false}},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qId"}]},"ApplyTemporaryBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetScriptMeta":{"In":[],"Out":[{"Name":"qMeta"}]},"ReplaceBookmark":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qIgnorePatches","DefaultValue":false,"Optional":true},{"Name":"qObjectIdsToPatch","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qInfo"}]},"CommitScript":{"In":[{"Name":"qCommitMessage","DefaultValue":"","Optional":true}],"Out":[]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true},{"Name":"qLocale","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]},"SaveAs":{"In":[{"Name":"qNewAppName","DefaultValue":""}],"Out":[{"Name":"qNewAppId"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29,"LOCMSG_SCRIPTEDITOR_ACCESS_DENIED_AFTER_RELOAD":30,"LOCMSG_SCRIPTEDITOR_MERGED_UPDATES":31,"LOCMSG_SCRIPTEDITOR_MERGED_INSERTS":32,"LOCMSG_SCRIPTEDITOR_MERGED_DELETES":33},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_GENERIC_NOT_IMPLEMENTED":20,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_423":423,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_APP_SIZE_EXCEEDED":1015,"LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED":1016,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTION_MISSING_CREDENTIALS":2005,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_SERVER_NO_TOKEN":5009,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_MOVE_FAILED":9010,"LOCERR_PERSISTENCE_OBJECT_LOCKED":9011,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD":11047,"LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT":11048,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_BDI_STATUS_OK":24000,"LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED":24001,"LOCERR_TRENDLINE_INVALID_DEF":25000,"LOCERR_TRENDLINE_INVALID_MATH_ERROR":25001,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034,"LOCERR_SETEXPRESSION_TOO_LARGE":30100,"LOCERR_RELOAD_MERGE_LOAD_ERROR":30101,"LOCERR_WIN_FTP_DROPPED":30200,"LOCERR_WIN_FTP_NO_PASSIVE_MODE":30201,"LOCERR_WIN_HTTP_DOWNLEVEL_SERVER":30210,"LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE":30211,"LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION":30212,"LOCERR_WIN_INTERNET_FORCE_RETRY":30220,"LOCERR_WIN_INTERNET_CANNOT_CONNECT":30221,"LOCERR_WIN_INTERNET_CONNECTION_ABORTED":30222,"LOCERR_WIN_INTERNET_CONNECTION_RESET":30223,"LOCERR_WIN_INTERNET_DISCONNECTED":30224,"LOCERR_WIN_INTERNET_INCORRECT_FORMAT":30225,"LOCERR_WIN_INTERNET_INVALID_CA":30226,"LOCERR_WIN_INTERNET_INVALID_OPERATION":30227,"LOCERR_WIN_INTERNET_INVALID_URL":30228,"LOCERR_WIN_INTERNET_ITEM_NOT_FOUND":30229,"LOCERR_WIN_INTERNET_LOGIN_FAILURE":30230,"LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED":30231,"LOCERR_WIN_INTERNET_NEED_UI":30232,"LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID":30233,"LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID":30234,"LOCERR_WIN_INTERNET_SEC_CERT_ERRORS":30235,"LOCERR_WIN_INTERNET_SEC_INVALID_CERT":30236,"LOCERR_WIN_INTERNET_SERVER_UNREACHABLE":30237},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000,"LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED":3000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2,"EXPORT_PARQUET":3},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"Feature":{"FEATURE_BINNING_DATA":0,"FEATURE_BOOKMARKS":1,"FEATURE_CALCULATED_FIELDS":2,"FEATURE_CONTINUOUS_DATA":3,"FEATURE_INVERTED_SELECTIONS":4,"FEATURE_RANGE_SELECTIONS":5,"FEATURE_REDUCING_DATA":6,"FEATURE_SEARCH":7,"FEATURE_SELECTION_COUNT":8,"FEATURE_SELECTION_INSIGHTS":9,"FEATURE_TABLE_MINI_CHART":10,"FEATURE_TRENDLINES":11,"FEATURE_CALCULATED_DIMENSIONS":12,"FEATURE_INCLUDE_ZERO_VALUES":13,"FEATURE_INCLUDE_NULL_VALUES":14,"FEATURE_FILTER_PANE_PAGING":15,"FEATURE_FILTER_PANE_CUSTOM_SORTING":16,"FEATURE_SHOW_FREQUENCY":17,"FEATURE_LIMITATION":18,"FEATURE_TOTALS":19},"LTrendlineType":{"Average":0,"Linear":1,"Polynomial2":2,"Polynomial3":3,"Polynomial4":4,"Exponential":5,"Power":6,"Logarithmic":7},"ContinuousMode":{"CONTINUOUS_NEVER":0,"CONTINUOUS_IF_POSSIBLE":1,"CONTINUOUS_IF_TIME":2},"TrendlineMode":{"TRENDLINE_MULTILINE":0,"TRENDLINE_SUM":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3,"DATA_MODE_DYNAMIC":4},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3,"SESSION_ERROR_LIMIT_EXCEEDED":4,"SESSION_ERROR_SECURITY_HEADER_CHANGED":5,"SESSION_ACCESS_CONTROL_SETUP_FAILURE":6,"SESSION_ERROR_APP_ACCESS_DENIED":7,"SESSION_ERROR_APP_FAILURE":8},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"OpenApiVersion":{"V2":0,"V3":1},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}}}');var dq=o(14492),fq=o.n(dq);class pq 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 mq extends pq{}var hq=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(hq||{});class qq extends pq{}var yq=(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))(yq||{}),gq=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(gq||{});const vq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},bq=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},Cq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var Eq=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}},Sq=class extends Eq{},Oq=class extends Eq{},Iq=class extends Eq{},Rq=class extends Eq{},xq=class extends Eq{},Lq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)};function wq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var Nq,_q,Tq=Object.create,Pq=Object.defineProperty,Aq=Object.getOwnPropertyDescriptor,Dq=Object.getOwnPropertyNames,kq=Object.getPrototypeOf,Mq=Object.prototype.hasOwnProperty,Fq=(Nq={"node_modules/enigma.js/enigma.js"(e,t){var n,r;n=e,r=function(){var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,a,i,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];r.apply(this,a)}else if(e.isObject(r)){for(o=arguments.length,a=new Array(o-1),i=1;i<o;i++)a[i-1]=arguments[i];for(o=(l=r.slice()).length,i=0;i<o;i++)l[i].apply(this,a)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,a,i;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(i=a;i-- >0;)if(r[i]===n||r[i].listener&&r[i].listener===n){o=i;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},a(e)}function i(e,t,n){return(i=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(i,e);var t,n,r,a=(n=i,r=l(),function(){var e,t=c(n);if(r){var a=c(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=a.call(this,e)).code=t,r.enigmaError=!0,r.original=n,r}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(a(Error));function d(e,t,n){return new u(t,e,n)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function 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=y(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,y(r.key),r)}}function y(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}var g=0,v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),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(d(-11,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=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 b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==b(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===b(o)?o:String(o)),r)}var o}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entries={}}var t,n;return t=e,(n=[{key:"add",value:function(e,t){if(e+="",void 0!==this.entries[e])throw d(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){e+="",this.entries[e]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===O(o)?o:String(o)),r)}var o}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=Object.prototype.hasOwnProperty;function R(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function x(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return 1!==r.length||"object"!==O(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return I.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var L=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new E,this.types=new E}var t,n;return t=e,n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,o=e.extend,a=e.override,i=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var l={extend:o,override:a,init:i};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(l):t.mixins.add(e,[l])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw d(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),function(t,o,a,i){var l=this,s=Object.create(n);r(s),Object.defineProperties(s,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:o,writable:!0},id:{enumerable:!0,value:a},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:i}});var c=this.mixins.get(e)||[];return i!==e&&(this.mixinType(i,s),c=c.concat(this.mixins.get(i)||[])),c.forEach((function(e){"function"==typeof e.init&&e.init({config:l.config,api:s})})),s}.bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,o=1===r.length?r[0].Name:-1,a=R(n);e[a]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:o})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,o=void 0===r?{}:r,a=n.override,i=void 0===a?{}:a;Object.keys(i).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof i[n])throw d(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return i[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(o).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof o[n])throw d(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=o[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=R(n),o=e[r],a=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(this,[o,a].concat(t))}}))}}],n&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function w(e){return(w="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 N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==w(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===w(o)?o:String(o)),r)}var o}var _=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)}}])&&N(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==T(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===T(o)?o:String(o)),r)}var o}var A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0,this.closeEvent=void 0}var t,n;return t=e,n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(e){return this.Promise.reject(e)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.closeEvent=e,this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(d(-1,"Socket closed",e))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.socket&&(this.socket.close(e,t),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(d(-1,"Socket error",e))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data),n=this.resolvers[t.id]||{};this.emit("traffic","received",t,n.handle),void 0!==t.id&&this.resolvers[t.id]?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var o=this,a=new _(e,t,n,r);this.resolvers[e]=a,a.on("resolved",(function(e){return o.unregisterResolver(e)})),a.on("rejected",(function(e){return o.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=d(-1,"Not connected",this.closeEvent);return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}],n&&P(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===D(o)?o:String(o)),r)}var o}var M=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}var t,n,r;return t=e,n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(d(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(o){if(o.error)return e.push(r.api),n.Promise.resolve();var a=o.result.qReturn.qHandle;return r.api.handle=a,t.push(r.api),n.Promise.resolve(r.api)})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var o=this,a=[],i=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(i.forEach((function(i){var l=e.buildGetMethodName(i.type);if(l){var s=o.rpc.send({method:l,handle:t.handle,params:[i.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(i):(i.handle=e.result.qReturn.qHandle,r.push(i))}));a.push(s)}else n.push(i)})),this.Promise.all(a)):(i.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,o=!1,a=new this.Promise((function(e){n=e})),i=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),o=!0)};return this.rpc.on("notification",i),this.rpc.open(!0).then((function(){return o||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),a})).then((function(e){return r.rpc.removeListener("notification",i),e})).catch((function(e){return r.rpc.removeListener("notification",i),r.Promise.reject(e)}))}}],r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],n&&k(t.prototype,n),r&&k(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function F(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function B(e,t,n){if(n&&n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(n&&null===n.qHandle&&null===n.qType){var r=d(-2,"Object not found");return e.config.Promise.reject(r)}return n}var j=Object.prototype.hasOwnProperty,z=Object.prototype.toString,G=Object.defineProperty,V=Object.getOwnPropertyDescriptor,U=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===z.call(e)},Z=function(e){if(!e||"[object Object]"!==z.call(e))return!1;var t,n=j.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&j.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||j.call(e,t)},$=function(e,t){G&&"__proto__"===t.name?G(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},W=function(e,t){if("__proto__"===t){if(!j.call(e,t))return;if(V)return V(e,t).value}return e[t]};function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var X=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=W(l,n),l!==(o=W(t,n))&&(u&&o&&(Z(o)||(a=U(o)))?(a?(a=!1,i=r&&U(r)?r:[]):i=r&&Z(r)?r:{},$(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&$(l,{name:n,newValue:o}));return l}.bind(null,!0),Y={},Q=Array.isArray;function J(e){return null!=e&&!Array.isArray(e)&&"object"===K(e)}function ee(e){return void 0===e}function te(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function ne(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var a=isNaN(n)?{}:[];e[n||t]=ee(e[n||t])?a:e[t],e=e[n||t]}})),e}function re(e,t){var n=!0;if(J(e)&&J(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){re(e[r],t[r])||(n=!1)})),n);if(Q(e)&&Q(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!re(e[r],t[r]))return!1;return!0}return e===t}function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Y.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?X({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);re(a,i)||te(t,o)||(ee(i)?r.push({op:"add",path:l,value:a}):J(a)&&J(i)?r=r.concat(Y.generate(i,a,l)):Q(a)&&Q(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&ee(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(re(t,o))return r;if(!ee(t[0])&&ee(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(a=i(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(Y.generate(o[l],t[a],"".concat(n,"/").concat(l)));for(var s=0,c=t.length;s<c;s+=1)-1===(a=i(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):a!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(a)}),o.splice(s,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((function(o){ee(t[o])&&!te(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Y.apply=function(e,t){t.forEach((function(t){var n,r,o=ne(e,t.path),a=t.path.split("/").splice(-1)[0],i=a&&isNaN(+a)?o[a]:o[+a]||o,l=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,i=e),"add"===t.op||"replace"===t.op)if(Q(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(Q(i)&&Q(t.value)){i.length=0;for(var s=0;s<t.value.length;s+=1e3){var c,u=t.value.slice(s,s+1e3);(c=i).push.apply(c,function(e){if(Array.isArray(e))return H(e)}(r=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else if(J(i)&&J(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!te(n,e)&&delete n[e]})),X(i,t.value);else{if(!o)throw d(-4,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var f=ne(e,t.from);Q(o)?o.splice(+a,0,f.splice(+l,1)[0]):(o[a]=f[l],delete f[l])}else"remove"===t.op&&(Q(o)?o.splice(+a,1):delete o[a])}))},Y.clone=function(e){return X({},e)},Y.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},Y.updateObject=function(e,t){Object.keys(e).length?Y.apply(e,Y.generate(e,t)):X(e,t)};var ae={};function ie(e,t,n){var r=n.delta,o=n.result;return r?(Object.keys(o).forEach((function(n){if(!Array.isArray(o[n]))throw d(-3,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ae[e.id]){var t={};ae[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete ae[e.id]}))}}(e);var n=ae[e.id];return n[t]||(n[t]=new E),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==oe(r[0].value)?a=r[0].value:Y.apply(a,r),o.set(n,a)),a}(e,t.handle,"".concat(t.method,"-").concat(n),o[n])})),JSON.parse(JSON.stringify(n))):n}function le(e,t,n){if(void 0!==n.error){var r=n.error,o=new Error(r.message);return o.code=r.code,o.parameter=r.parameter,e.config.Promise.reject(o)}return n}ie.sessions=ae;var se="qReturn";function ce(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[se].qGenericId=n.qSessionAppId||n[se].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[se],hasOwnProperty.call(n,se)?n[se]:-1!==t.outKey?n[t.outKey]:n}function ue(e,t,n){return n.result}function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fe(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===de(o)?o:String(o)),r)}var o}var he=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,t),this.request=[{onFulfilled:F}].concat(fe(this.request||[])),this.response=[{onFulfilled:le},{onFulfilled:ie},{onFulfilled:ue},{onFulfilled:ce}].concat(fe(this.response||[]),[{onFulfilled:B}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&me(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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,(void 0,o=function(e,t){if("object"!==qe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===qe(o)?o:String(o)),r)}var o}function ge(){return ge="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=be(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ge.apply(this,arguments)}function ve(e,t){return(ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ve(e,t)}(i,e);var t,n,r,o,a=(r=i,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=be(r);if(o){var n=be(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===qe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.apply(this,arguments)}return t=i,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return ge(be(i.prototype),"add",this).call(this,e.toString(),r),t.on("closed",(function(){return n.remove(e)})),r}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return ge(be(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ye(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(E);function Ee(e){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==Ee(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Ee(o)?o:String(o)),r)}var o}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,o=e.responseInterceptors,a=e.url,i=new Ce,l=new he({apis:i,Promise:n,request:r,response:o}),s=new A({createSocket:t,Promise:n,url:a}),c=new M({apis:i,Promise:n,rpc:s});return new v({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new L(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Se(t.prototype,null),n&&Se(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"object"==typeof e&&void 0!==t?t.exports=r():"function"==typeof define&&o.amdO?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).enigma=r()}},function(){return _q||(0,Nq[Dq(Nq)[0]])((_q={exports:{}}).exports,_q),_q.exports}),Bq=((e,t,n)=>(n=null!=e?Tq(kq(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Dq(t))Mq.call(e,n)||undefined===n||Pq(e,n,{get:()=>t[n],enumerable:!(r=Aq(t,n))||r.enumerable});return e})(e&&e.__esModule?n:Pq(n,"default",{value:e,enumerable:!0}),e)))(Fq()),jq=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}},zq=class extends jq{},Gq=class extends jq{},Vq=class extends jq{},Uq=class extends jq{},Zq=class extends jq{},$q=class extends jq{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Wq=class extends jq{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},Hq=(e,t=void 0)=>{let n,r;try{const t=new URL(e);n=t.host+t.pathname,r="https:"===t.protocol.toLowerCase()}catch(o){n=e,r=t??!0}const o=`${r?"https:":"http:"}//${n}`.replace(/([^:])(\/\/+)/g,"$1/");return new URL(o)},Kq="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function Xq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var Yq=WebSocket;function Qq(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const Jq=new qq("Only supported for AuthType.WebIntegration");class ey{constructor(e){if(!e.host)throw new qq("Empty host in config");let t,n,r;try{const r=vq(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new qq("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new qq("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==gq.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===gq.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 qq(`${yq.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new qq(yq.EMPTY_HOST);if(!(e.authType in gq))throw new qq(`${yq.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[gq.WebIntegration]:["webIntegrationId"],[gq.APIKey]:["apiKey"],[gq.JWTAuth]:["fetchToken","webIntegrationId"],[gq.OAuth2]:["clientId"],[gq.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 qq(`${yq.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[gq.APIKey]:["isSecure"],[gq.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[gq.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[gq.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 qq(`${yq.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===gq.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new qq(`${yq.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:wq},response:{handlers:[],use:wq}},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=Lq(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=Lq(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.22.0",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Oq({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 Sq({error:"Failed to authenticate host using api-key",...f}):new Sq({error:"Unauthenticated",...f});if(404===u.status)throw new xq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Iq({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 Iq({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:Qq},response:{handlers:[],use:Qq}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Xq},response:{handlers:[],use:Xq}},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=Hq(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=Hq(`${e.host}${r}`,e?.isSecure).href}let i=n?.headers||{};if("APIKey"===e.authType)i={Authorization:`Bearer ${e.apiKey}`,...i};else if("WebIntegration"===e.authType||"JWTAuth"===e.authType||"None"===e.authType){let{csrfToken:t}=e;t||"GET"===(n?.method??"get").toUpperCase()||(t=(await this.restClientInstance("/csrf-token")).headers["qlik-csrf-token"]),i={"qlik-web-integration-id":e.webIntegrationId,...i},t&&(i["qlik-csrf-token"]=t)}else"OAuth2"===e.authType&&(e.clientSecret&&"/oauth/token"===r?i={...i,Authorization:`Basic ${btoa(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.22.0",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Gq({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 Uq({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new zq({error:"Failed to authenticate host using api-key",...f}):new zq({error:"Unauthenticated",...f});if(404===u.status)throw new Zq({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Vq({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 Vq({error:"Missing fetch function"})}}(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new Wq(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e,t={delta:!0}){const n={onFulfilled:(e,t,n)=>{const r=n?.result?.qReturn;if(r&&r.qHandle&&r.qType&&(n.result.qReturn.id=r.qGenericId,n.result.qReturn.handle=r.qHandle,n.result.qReturn.type=r.qType,n.result.qReturn.genericType=r.qGenericType),r&&null===r.qHandle&&null===r.qType)throw new Zq({error:"Object not found",code:-2});return n}},{url:r,createSocket:o}=await this.buildUrlAndCreateSocket(e);return this.sessions[r.toString()]=this.sessions[r.toString()]||(()=>{const e=Bq.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:r,createSocket:o,protocol:{delta:t.delta}});return this.interceptors.response.use(e.intercept.response[1]),this.interceptors.response.use(n),e.intercept.response=this.interceptors.response.handlers,this.interceptors.request.use(e.intercept.request[0]),e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{this.sessions[e.config?.url]?.eventListeners&&Object.values(this.sessions[e.config?.url]?.eventListeners)?.forEach((e=>{e?.closed?.forEach((e=>{e(t)}))})),t?.code&&t.code>=4e3&&e.onRpcError(new $q(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[r.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[r.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[r.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[r.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[r.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||Kq,a=Hq(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 Vq(`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&&!Kq?e=>new Yq(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new Yq(e),{url:t,createSocket:n}}}(this.config),this.rpc=(e,t={delta:!0})=>this.rpcClient.rpc(e,t),Object.assign(this.rpc,{interceptors:this.rpcClient.interceptors}),this.rest=o.restClientInstance,this.generateWebsocketUrl=(e,t)=>(async(e,t,n,r=null)=>{const o=r||Cq,a=vq(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===gq.APIKey||n.authType===gq.OAuth2&&!o)return i;if([gq.WebIntegration,gq.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===gq.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 qq(`${yq.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!==gq.WebIntegration)throw Jq;const e=vq(`${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!==gq.WebIntegration)throw Jq;const e=vq(`${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(vq(`${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 mq(hq.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 qq({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(Cq&&(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!==gq.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new qq("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=bq(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||bq(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:vq(`${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,Cq&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const ty=()=>{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},ny=(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}},ry=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=ty();if(n.engine_url?t={...t,...ny(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}})),oy=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await ry();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new ey({webIntegrationId:e,autoRedirect:!0,authType:gq.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=fq().buildUrl(r);return(await cq().create({schema:uq,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},ay=new Map,iy=[],ly=iy.map,sy=iy.some,cy=iy.hasOwnProperty,uy=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,dy=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,fy=/(?:\.[^/]*|\/)$/;class py extends Error{constructor(e){super(e)}}function my(e){const t=uy.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function hy(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(iy.pop()(o(e)))}catch(e){n(new py("invalid module"))}r.remove()},r.onerror=()=>{n(new py("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=vy,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(ly.call(arguments,n)).then(qy):n(e)}return a.alias=function(t){return hy(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function qy(e){const t={};for(const n of e)for(const e in n)cy.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:yy(n,e)}):t[e]=n[e]);return t}function yy(e,t){return()=>e[t]}function gy(e){return"exports"==(e+="")||"module"===e}function vy(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),iy.push(sy.call(t,gy)?e=>{const r={},o={exports:r};return Promise.all(ly.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(ly.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}py.prototype.name=py.name,hy(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=ay.get(n);return r||ay.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new py("unable to load package.json");return e.redirected&&!ay.has(e.url)&&ay.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 py("illegal name");const a=my(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(my(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!fy.test(a.path)&&(a.path+=".js"),a.path&&a.version&&dy.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)),fy.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),vy.amd={};const by=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return hy((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},Cy={},Ey=e=>{Cy[e]&&Cy[e].forEach((e=>e()))};function Sy(e){const t=()=>{by(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,Ey(e.supernova.name)}))};if(e.sock.port&&(new WebSocket(`ws://localhost:${e.sock.port}`).onmessage=()=>{t()}),t(),e.types){const t=e.types.map((e=>by(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(Cy[e]||(Cy[e]=[]),Cy[e].push(t),window[e]&&t(),()=>{const n=Cy[e].indexOf(t);Cy[e].splice(n,1)});const Oy=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const Iy=async e=>{const t=document.querySelector("#chart-container"),n=await ry(),r=await async function(e){const t=window.serveFixtures.get(e);if(!t)throw new Error(`Unable to load fixture ${e}`);const n=t();return function({genericObjects:e}={}){if(!e||0===e.length)return;if(!e[0]||!e[0].getLayout)throw new Error("Invalid getLayout of generic object");const{getLayout:t}=e[0],n="function"==typeof t?t():t;if(!n.visualization)throw new Error('No "visualization" specified on generic object on path "getLayout"');if(!n.qInfo||!n.qInfo.qId)throw new Error('No "qId" specified on generic object on path "getLayout.qInfo')}(n),n}(e.fixture),{type:o,load:a,genericObjects:i,instanceConfig:l,snConfig:s,enigmaMockerOptions:c}=await async function({params:e,fixture:t,serverInfo:n}){const r=G()(!0,{},(({themes:e=[],supernova:t={},flags:n})=>{const r={instanceConfig:{themes:e.map((e=>({id:e,load:async()=>(await fetch(`/theme/${e}`)).json()}))),context:{constraints:{}},flags:n}};return t.name&&(r.type=t.name),(t.name||t.url)&&(r.load=async()=>by(t.name,t.url)),r})(n),t,(e=>({instanceConfig:{context:{theme:e.theme,language:e.language,keyboardNavigation:e.keyboardNavigation}}}))(e));return r.genericObjects=r.genericObjects||[Oy({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 iq.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=n&&n.types||[],p=$h(u,{types:[{name:o,load:a},...f.map((e=>({name:e.name,load:async()=>by(e.name,e.url)})))],...l}),m=await p.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{m.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function Ry(){const e=await ry();await Sy(e),e.enigma.appId||(location.href=location.origin);const t=ty(),n=await oy(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>$h.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=ty();e.fixture?Iy(e):e.snapshot?async function(){const e=await ry(),{themes:t,supernova:n}=e;await Sy(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=$h.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=ty();!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})}))}():Ry()}))})()})();